Commit Graph

1765 Commits

Author SHA1 Message Date
Finn Stutzenstein 2c85bb28f1
Merge pull request #5504 from tsiegleauq/demo-mode
Add demo mode
2020-08-21 08:10:45 +02:00
Sean 2b55388870 Allow motion of non existing change recos
Allows to project any version of the motions, event if they do not yet
exist.
Gives the user more control about the content they want to project.
Currently, if a motion has no logical changed version, they would
always project the original version which does not automatically
update if a changed version exists. This behaviour would require the
user to update their current projection
2020-08-20 13:22:47 +02:00
Sean fbf424e570
Add demo mode
Adds a demo mode in the settings.py to prevent certain obvious
kinds of vandalism on public openslides testing instances
2020-08-17 07:25:53 +02:00
Sean b59c69e086 Update TinyMCE and TinyMCE angular
Updates TinyMCE and TinyMCE angular to the latest version
2020-08-13 12:27:14 +02:00
Emanuel Schütze 2b3766b758
Merge pull request #5502 from tsiegleauq/enter-animation-without-css
Replace meeting room keyframe animation
2020-08-12 18:43:50 +02:00
Sean c0f5c7b548 Replace meeting room keyframe animation
Replaces the meeting room keyframe css animation with anuglar
animations.
The css keyframe animation declaration was
"optimized away" on prod build
2020-08-12 18:18:04 +02:00
Emanuel Schütze c6abbb629e
Merge pull request #5505 from tsiegleauq/multiple-file-download
Download mutliple files as zip
2020-08-12 17:13:41 +02:00
Sean e75573e139 Download mutliple files as zip
Adds the possitibility to download folders
and multiple files as zip.
2020-08-12 15:24:37 +02:00
Emanuel Schütze 5f5f704057
Merge pull request #5498 from tsiegleauq/jitsi-meet-api-update
Update jitsi-meet external api
2020-08-12 15:05:29 +02:00
Emanuel Schütze b726801747
Merge pull request #5500 from tsiegleauq/crate-users-svc
Add "create user" to more search value selectors
2020-08-12 15:00:55 +02:00
Emanuel Schütze a48592af50
Merge pull request #5497 from tsiegleauq/fix-parent-motion-title-change-error
Cleaner pdf getUnifiedChanges solution
2020-08-12 14:49:33 +02:00
Finn Stutzenstein d682d0d134
Fixed poll required users and motion state extension selector 2020-08-11 13:21:51 +02:00
Sean bfe72497cd Add "create user" to more search value selectors
Adds the "create new user" function to more search value
selectors.
2020-08-11 12:15:47 +02:00
Sean 65ee468c21 Update jitsi-meet external api
Updates jitsi-meet external api the the current version
Hide "security" and "invite" in jitsi-iFrame
2020-08-10 15:37:14 +02:00
Sean 09a10c7e92 Cleaner pdf getUnifiedChanges solution
Fixes a bug where cercain amendments where causing an
"titleChange of undefined" error
2020-08-10 14:17:43 +02:00
Emanuel Schütze 23ae32a758
Merge pull request #5480 from tsiegleauq/amendment-without-parent-motion
Detect if the parent motion was deleted
2020-07-17 16:55:47 +02:00
Sean 2c17d7b7aa Add "motions_amendments_workflow" config
Adds a config for the default workflow for amendments and maked the
necessary changes to motion detail and amendment wizzard
2020-07-17 16:10:45 +02:00
Sean e268903536 Detect if the parent motion was deleted
Fixes an error where the motion detail page would not open if the parent
motion to an amendment was deleted.
Show a warning if the parent motion to an amendment is missing
2020-07-17 16:08:15 +02:00
Emanuel Schütze 9aefb122e6 Release 3.2 2020-07-15 16:16:00 +02:00
Emanuel Schütze 47113f14fc
Merge pull request #5470 from tsiegleauq/cannot-click-bg
Fix clicking behind conference bar
2020-07-15 12:43:10 +02:00
Sean 7d912d82de Fix clicking behind conference bar
Fixes an issue with the live stream.
Clicks in the background were falsely cought.
2020-07-14 15:10:01 +02:00
Emanuel Schütze ebf8325ded
Merge pull request #5468 from tsiegleauq/safari-list-views
Fix list views for safari
2020-07-14 14:28:08 +02:00
Emanuel Schütze 03acae26ff
Merge pull request #5465 from tsiegleauq/better-jitsi-icons
Add link to CLOS to meeting room indicator
2020-07-14 14:24:54 +02:00
Sean 109fea791d Fix list views for safari
Usually useless hight information fixes rendering issues on safari
browsers
2020-07-14 13:13:49 +02:00
Sean c2bd7c16a9 Fix PDF generation for motion with free amendments
Fixes an issue where motions which had free form amendments were not be
able to render as pdf
2020-07-14 12:34:05 +02:00
Sean 7ded2cd8a1 Add link to CLOS to meeting room indicator
Links the "cannot enter meeting room"-indicator to the CLOS.
Changes the minimize icon
2020-07-14 10:53:02 +02:00
Emanuel Schütze 74e3ea119e Updated translations (DE, CZ, RU) 2020-07-12 17:41:06 +02:00
Emanuel Schütze 9e55cb1480
Merge pull request #5462 from tsiegleauq/more-jitsi-improvements
Improve Jitsi UI
2020-07-12 17:22:32 +02:00
Sean 719d1d1cf1 Improve Jitsi UI
Some slight jitsi/stream look and feel improvements

The "closed door" now has a tooltip "add yourseld to los to enter
conference"
Use "keyboard_hide" to indicate minimize/hide
Hide the potentially obsolete quick controls when the full jitsi dialog
is open
Use the "voice_chat" icon to indicate showing the full jitsi dialog
Remove "hangup" "raise hand" and "help" from the jitsi iframe
Add hangup and leave to the jitsi dialog in replacement of hangup in the
iFrame
The "enter live conference" icon is now highlighted by a fade animation
2020-07-10 16:46:29 +02:00
Sean 2835e746e8 Add prefix to topic list of speaker slide
The topics prefix (number) was missing in the list of speakers slide
2020-07-09 12:56:58 +02:00
Emanuel Schütze a7703a5557
Merge pull request #5454 from tsiegleauq/whole-agenda-slide-misses-top
Add top to agenda projection
2020-07-09 09:25:36 +02:00
Sean 32775b0a2a Add top to agenda projection
Show the agenda title prefix in the whole agenda slide projection
2020-07-09 08:16:57 +02:00
Sean 011c23093f Use a-tag for external link
Allows to left-click, right-click and middle-click the "open external"
button. Left clicking will disconnect from the current jitsi connection
in OpenSlides. Useful for tests and power using, such as multiple jitsi
connections or easier copying the link.
2020-07-09 08:11:39 +02:00
Sean 656fcccee1 Improve Jitsi on mobile
Improves Jitsi and various other stuff for small to smallest devices.
The mobile main action button is a little higher and aligns with the
jitsi bar.
Some mat-cards have extra space to be more jitsi-bar-friendly.
Hides the list filter option on phones
2020-07-08 13:43:54 +02:00
Emanuel Schütze d76d74e225 Remove debug output 2020-07-08 11:43:39 +02:00
Emanuel Schütze ba3c5e07f7
Merge pull request #5449 from emanuelschuetze/translations-20200702
Updated translations
2020-07-02 22:05:25 +02:00
Emanuel Schütze 55f1d02fcc
Merge pull request #5429 from tsiegleauq/main-page-cleanup
Cleanup main routing page and ngrid lists
2020-07-02 22:04:53 +02:00
Emanuel Schütze 378d091dbd
Merge pull request #5448 from tsiegleauq/fix-duration-for-ff-headless
Fix duration service for non chrome browsers
2020-07-02 21:46:38 +02:00
Emanuel Schütze cb8f219163 Updated translations 2020-07-02 21:44:22 +02:00
Emanuel Schütze 66757b04ae
Merge pull request #5446 from tsiegleauq/login-ignore-warning
Add "login anyway" button
2020-07-02 21:38:35 +02:00
Sean 346413fbb0 Fix duration service for non chrome browsers
-0, 0 and other uses of negative values in the duration service hat a
change of producing undesired results.
Added tests and fixed the function
2020-07-02 15:52:31 +02:00
Finn Stutzenstein cb190331f3
Merge pull request #5447 from tsiegleauq/allow-negative-duration
Allow negative duration
2020-07-02 11:43:25 +02:00
Sean 23ee6a2951 Allow negative duration
Allow negative values for durationToString.
The use case is fairly constructed, but now logically correct
2020-07-01 17:44:33 +02:00
Sean f5654f3a8c Add "login anyway" button
Skip browser warning easier.
2020-07-01 12:22:37 +02:00
FinnStutzenstein 4a96aa31c1
Fixed import of the clos into the operator 2020-06-29 09:25:50 +02:00
Emanuel Schütze fab51091b1
Merge pull request #5443 from tsiegleauq/pdf-left-footer
Render left pdf footer image and page number
2020-06-27 12:59:55 +02:00
Sean 988ee0fe93 Render left pdf footer image and page number
Using the web worker, the PDF page number in combination with a left
footer image could not be rendered together.
2020-06-26 14:31:22 +02:00
Sean 3d252060c9 Always show the toolbar in jitsi iframe
Try to prevent that the toolbar hides itself
2020-06-26 10:35:26 +02:00
Sean c2a1b62c8b Replace jitsi mat dialog
Replace Jitsis Mat Dialog with an div container
Fixes an issue where observables in jitsi would register multiple times
Clear the IndexedDB on logout
2020-06-25 16:34:36 +02:00
Sean fde745530e Updates some npm deps, fixes travis
Another thing for travis
2020-06-23 12:12:01 +02:00
Emanuel Schütze 9a47cff7fa
Merge pull request #5435 from emanuelschuetze/translations20200619
Updated translations
2020-06-19 17:29:04 +02:00
Sean 22a374a150 Cleanup main routing page and ngrid lists
Sets the main container to absolute,
makes it easier to detect the pages height
ngrid lists can dynamically detect the page height using flexbox,
remove external class injection from list-views,
add "spacer-bottom-60" class for the jitsi-container,
add it everywhere where the jitsi container could hide the content.
2020-06-19 16:47:40 +02:00
Emanuel Schütze 435f555559 Updated translations 2020-06-19 16:29:52 +02:00
Sean 9cf602f0c1 Fix poll progress
Fixes a regression in the poll progress.
Poll progress war no longer working for assignments
2020-06-19 13:26:23 +02:00
Emanuel Schütze 2fd4e70b0c
Merge pull request #5433 from tsiegleauq/import-doubled-topics
Allow to import the same topic multiple times
2020-06-18 23:05:03 +02:00
Emanuel Schütze e20c93d445
Merge pull request #5430 from tsiegleauq/stream-jitsi-perms
separate stream permission from jitsi
2020-06-18 15:57:15 +02:00
Sean 55f65576f0 Allow to import the same topic multiple times
Remove checking for duplicated topic names.
Allows to import topics more than once, usefull if you have to import an
agenda over and over again.
2020-06-18 15:51:51 +02:00
Emanuel Schütze d558c293b2
Merge pull request #5424 from jsangmeister/delegate-view-fixes
Fix some delegate view bugs
2020-06-18 15:51:08 +02:00
Joshua Sangmeister 44f1d1e819 Fix some delegate view bugs 2020-06-18 15:26:50 +02:00
Sean 677595fe5b
Merge pull request #5431 from tsiegleauq/dark-theme-improvements
Improve dark themes
2020-06-18 13:35:17 +02:00
Sean 912a528f8a Improve dark themes
Add better contrast to dark themes on various instances
Add yellow as accent color for red themes
2020-06-18 13:11:45 +02:00
Sean 9feaa59ebb Seperate stream permission from jitsi
Allows jitsi conferences without stream permission,
allowing detailed speration from users who can jitsi streams and see
stream
2020-06-18 12:06:59 +02:00
Sean 00e644292d Use title for amendments if an id does not exist
Also some slight head-bar cleanups
2020-06-17 11:08:22 +02:00
Emanuel Schütze b43151fd59
Merge pull request #5425 from tsiegleauq/motion-csv-impexp
Export motion id latest
2020-06-16 22:17:04 +02:00
Sean fbbc4389fb Export motion id latest
Put the motion id to the end of all export used.
Solves the issue that users cannot re-import CSVs if they export them
with sequential numbers
2020-06-16 21:35:24 +02:00
Emanuel Schütze 68c77fe52c Rename and check "can see extra data" permission. 2020-06-16 21:00:37 +02:00
Sean b9fbf4209b Cleanup theming related code
Enhance color usage, add more default themes, add solarized theme
2020-06-16 12:56:08 +02:00
Emanuel Schütze ac4cb39105
Merge pull request #5419 from tsiegleauq/agenda-slide-distance
Add more distance for topics in agenda slide
2020-06-15 15:12:52 +02:00
Emanuel Schütze b5bc855dfe
Merge pull request #5417 from tsiegleauq/agenda-numbered-topics-pdf
Prevent double "TOP" in agenda PDF
2020-06-15 15:10:22 +02:00
Sean 1f876ec6dd Prevent double "TOP" in agenda pdf
Also: changes the definition of "getTitle" and "getAgendaTitle" to be more
consistent and easier to guess. getTitle will simply return the title, while getAgendaTitle
returns the title with the agenda-prefix
2020-06-12 16:18:57 +02:00
Emanuel Schütze c1605929e9
Merge pull request #5410 from tsiegleauq/better-login-page
Add better login page
2020-06-12 15:13:41 +02:00
Emanuel Schütze 2ea95937d7
Merge pull request #5420 from tsiegleauq/user-set-present-link-dup
Remove presence link in user multi select mode
2020-06-12 15:09:50 +02:00
Sean f06f2dee9f Remove presence link in user multi select mode
Removes the link to "users/presence" while in the user lists multi
selection view. The link was duplicated to be present in both multi
select and single selct view
2020-06-12 14:51:05 +02:00
Sean 33ba8c4628 Add more distance for topics in agenda slide
Makes the projection of the agenda looks cleaner and more relaxed
2020-06-12 14:43:40 +02:00
Sean 7d3280707d
Merge pull request #5414 from tsiegleauq/support-chrome-80
Lower chrome/chromium support version to version
2020-06-12 11:08:26 +02:00
Sean 13cbece9d9 Lower chrome/chromium support version to version
Lowers the supported version for chrome and chromium based browsers to
80. Keep in mind that you can always skip the checks!
2020-06-12 10:50:36 +02:00
Sean 5ed9c88ae4 Add better login page
Themes now cover the login page
more responsive on both large, small and smalest screens
the footer behaves like a footer
2020-06-12 10:23:10 +02:00
Emanuel Schütze ff4324117e Updated translations. 2020-06-11 17:23:42 +02:00
Emanuel Schütze f590994875
Merge pull request #5403 from tsiegleauq/blacklist-browsers
Catch unsupported browsers
2020-06-11 15:42:45 +02:00
Emanuel Schütze 2cdb3f4ef3
Merge pull request #5407 from tsiegleauq/assignment-pdf-reduce
Fix assignment pdf results
2020-06-11 15:10:36 +02:00
Sean 9387a3f394 Catch unsupported browsers
unspoorted browsers trying to access the login mask will be forwarded to
an info page.
The info page shows that the browser is not suppoted and hints the smallest
supported version of their current browser.
As it works best and might prevent some support calls, I added an hint
for chrome as the favored browser by OpenSlides (debateable)

To update/downgrade the supported versions, simply edit the enum in the
service.

If we cannot detect the browser, we assume it was supported.
2020-06-11 14:39:14 +02:00
Sean 56b47214bc Fix assignment pdf results
Filters out results unfitting to the current election method.
2020-06-11 14:12:10 +02:00
Sean 0d9738b72d Integrate streams
Integrate live streaming inside the jitsi/rtc components.
Live streaming works without jitsi, but is using the same components for
a fluid integration.
A streaming URL can be set in the settings page.
Users EITHER consume the live stream OR are presend in a jitsi live
conference.

To consume both the live stream and the jitsi conference, users may use
a dedicated jitsi tab in their session.

The jitsi users can be restricted to only allow thouse with the right
the manage speakers or being present on the "current list of speakers",
automatically simulating a virtual plenum
2020-06-11 11:20:00 +02:00
Emanuel Schütze acf499f6e1
Merge pull request #5378 from jsangmeister/monospace-countdown
Replaces the countdown font with a monospaced one
2020-06-09 23:15:06 +02:00
Joshua Sangmeister e653021eff Add a configurable monospace font for the countdown
use Roboto Condensed bold by default
2020-06-09 22:54:31 +02:00
Emanuel Schütze aeb893a8d9
Merge pull request #5399 from tsiegleauq/normal-amendments-in-list
Fix error for freely editable amendments
2020-06-09 21:48:13 +02:00
Emanuel Schütze ff9125fb9f
Merge pull request #5401 from tsiegleauq/assignment-poll-chart-abstain
Hide abstain bar in assignment polls chart
2020-06-09 21:20:54 +02:00
Sean d4f211e344 Fix error for freely editable amendments
Recent changes to amendment had various bugs.
This one regarded the amendment list, where amendments without amendmend
paragraphs returned several errors.
2020-06-09 21:16:04 +02:00
Emanuel Schütze 4673c741e9
Merge pull request #5402 from jsangmeister/fix-tiny-mce
Fix change detection for Tiny MCE
2020-06-09 20:56:29 +02:00
Joshua Sangmeister bf35c55956 Fix change detection for Tiny MCE 2020-06-09 13:14:05 +02:00
Sean 6efdc9a3dd Hide abstain bar in assignment polls chart
If the percent base does not include "abstain", the grey abstain bar
will not be shown in the assignment poll chart
2020-06-09 12:47:38 +02:00
Tobias Hößl cadef6d42e
Don't show amendment CR-diff-view if no CRs exist 2020-06-07 15:02:35 +02:00
Tobias Hößl bc3b8be78d
Increase recalculation performance by additional caching 2020-06-07 11:44:07 +02:00
Tobias Hößl 18bc495bd8
Bugfix: errors with non-paragraph-based amendments 2020-06-07 10:54:57 +02:00
Emanuel Schütze 5072e66a7e Updated translations 2020-06-04 17:06:08 +02:00
Emanuel Schütze 3109337004
Merge pull request #5394 from tsiegleauq/jitsi-iframe-dialog
Show Jitsi iFrame in Dialog
2020-06-04 16:37:01 +02:00
Sean 3ca4714812 Show Jitsi iFrame in Dialog
Replace the external link button with a (real) Dialog containing the
jitsi iFrame.
The dialog can be hidden but not entirly closed.
Replace all dialogService.closeAll() functions by closing the specific
dialog rather than all of them.
2020-06-04 16:29:35 +02:00
FinnStutzenstein c186a575f6
Fixed incomplete autoupdates
A conceptional issue in `get_data_since` leads to incomplete
autoupdates. The behaviour was long time in the code, but only with a
lot of autoupdates (high concurrency) and the autoupdate delay I noticed
the bug during testing. I'm sure, that this issue might have caused
incomplete autoupdates (which the user may experience as "lost
autoupdates") in previous productive instances. Instead of quering a
range (from_change_id to to_change_id) one now can only get data from a
change id up to the max change id in the element cache. The max change
id gets now returned by `get_data_since`.

I also added a get_all_data with the capability of returning the
max_change_id at this point of time.

As a usability-"fix" (more like a fix the result of a bug, not the bug
itself) a refresh button for a poll was added, that issues an autoupdate
for the poll and all options.
2020-06-04 15:16:05 +02:00
Emanuel Schütze c4f482b70c
Merge pull request #5391 from jsangmeister/update-poll-slide
Fixes motion poll slide icon size & rounding
2020-06-03 19:16:29 +02:00
Emanuel Schütze 0275df6ab2
Merge pull request #5392 from tsiegleauq/vote-await-server-answer
Wait for server while voting
2020-06-03 17:35:19 +02:00