Commit Graph

2011 Commits

Author SHA1 Message Date
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
Sean
dced8fbcc7 Wait for server while voting
Blocks voting state changes and prevents the user from sending multiple
vote values while the server is not responding during voting
2020-06-03 14:53:31 +02:00
Joshua Sangmeister
f4907e6604 Fixes motion poll slide icon size & rounding 2020-06-02 22:41:23 +02:00
Emanuel Schütze
d7408b40f9
Merge pull request #5390 from jsangmeister/hide-amendments-when-deactivated
Hides amendments entry in menu if deactivated
2020-06-02 22:26:14 +02:00
Emanuel Schütze
7665634d42
Merge pull request #5375 from FinnStutzenstein/autoupdatePerformance
Autoupdate performance
2020-05-29 17:31:32 +02:00
FinnStutzenstein
0eee839736
Small improvements and first attempt to make to poll progress responsive
to massive autoupdates. The "optimization" didn't help, so this has to
be continued in another PR.
2020-05-29 15:46:19 +02:00
Joshua Sangmeister
a84bfccd07 Hides amendments entry in menu if deactivated 2020-05-28 15:26:56 +02:00
FinnStutzenstein
d8b21c5fb5
(WIP) Ordered and delayed autoupdates:
- Extracted autoupdate code from consumers
- collect autoupdates until a AUTOUPDATE_DELAY is reached (since the first autoupdate)
- Added the AUTOUPDATE_DELAY parameter in the settings.py
- moved some autoupdate code to utils/autoupdate
- moved core/websocket to utils/websocket_client_messages
- add the autoupdate in the response (there are some todos left)
- do not send autoupdates on error (4xx, 5xx)
- the client blindly injects the autoupdate in the response
- removed the unused autoupdate on/off feature
- the clients sends now the maxChangeId (instead of maxChangeId+1) on connection
- the server accepts this.
2020-05-27 16:05:27 +02:00
Raphael Topel
60621bf4d0 Fix tinymce version to 5.2.2 2020-05-22 22:19:45 +02:00
FinnStutzenstein
23842fd496
Synchronize autoupdate code in the client
If autoupdates are too fast, the first one may not be fully executed. Especially when the maxChangeId is not yet updated, the second Autoupdate will trigger a refresh, because for the client it "lay in the future". This can be prevented by synchronizing the autoupdate-handling code with a mutex.
2020-05-22 15:23:53 +02:00
Sean
4ac7b1eb4b
Merge pull request #5380 from FinnStutzenstein/closService
Fix the CLOS service to trigger on CLOS updates
2020-05-20 18:29:11 +02:00
FinnStutzenstein
17049cc0f3 Fix the CLOS service to trigger on CLOS updates
additionally fixed some naming issues
2020-05-20 18:09:50 +02:00
Emanuel Schütze
37c3ac5aff Updated translations 2020-05-14 19:52:18 +02:00
Sean
3820e09b89 Show assignment poll result table instad of chart
Replaces the assignment result chart with the result table from the
detail view and projector
2020-05-14 16:40:19 +02:00
Emanuel Schütze
1ca3196a75
Merge pull request #5370 from tsiegleauq/tags-for-agenda
Add tags for agenda items
2020-05-14 15:23:55 +02:00
Emanuel Schütze
ee6076f168
Merge pull request #5372 from tsiegleauq/unset-gender
Allow unset gender in user form
2020-05-14 15:18:00 +02:00
Sean
b6bb1fe767 Add tags for agenda items
Adds tags for agnda items, adds tag filter in agenda list view, server
changes, client relations, adjust agenda csv exporter
2020-05-14 15:07:59 +02:00
Sean
7609a0c3db Allow unset gender in user form
Fixes a bug that prevented the form from unsetting the gender value
2020-05-14 14:53:44 +02:00
Emanuel Schütze
b090e46b66
Merge pull request #5359 from tsiegleauq/clean-projector-permissions
Add permission as lookup object
2020-05-14 14:48:37 +02:00
Emanuel Schütze
ca039860f7
Merge pull request #5365 from jsangmeister/default-voting-type
Added config for default poll type
2020-05-14 13:02:51 +02:00
Sean
fca4154bb5 Add permission as lookup object
Adds a lookup object for a more solid approach to handling permissions.
Permissions are now an actual type rather than just a string.
2020-05-14 10:12:22 +02:00
Emanuel Schütze
621d0f4e1a
Merge pull request #5366 from tsiegleauq/motion-not-switching-state
Change motion cr mode view behavior
2020-05-14 08:25:01 +02:00
Emanuel Schütze
d1b6ed8d29
Merge pull request #5367 from tsiegleauq/hide-submitter-in-projector
Hide the submitter-box in motion slide if empty
2020-05-14 08:22:28 +02:00
Sean
853bc31e21 Change motion cr mode view behavior
if the default cr mode is 'original' nothing really happens
if the default cr mode is 'changed' you will stay in original view after
creating cr's. That's due to the autoupdate limitation. Changing this
would mean that you cannot change the view anymore
if the default cd mode is 'diff' you will switch to diff view after
creating a cr. It seems that the diff view has an automatic fallback to
the original view if no cr exists, perhaps Tobias knows more about that.
If the default cr mode if 'final' you will try to change to
mod-final-version if it exists. If there is no change-reco, you will
fall back to original version.
2020-05-14 07:42:25 +02:00
Joshua Sangmeister
fa63ef0307 added config for default poll type 2020-05-14 07:38:14 +02:00
Sean
fef3cf41bb Hide the submitter-box in motion slide if empty
Hides the "submitter" text and corresponding boxes if they are empty
2020-05-14 07:37:18 +02:00
FinnStutzenstein
34d85c996c Fix projector subtitles for items without agenda items 2020-05-14 07:32:44 +02:00
Emanuel Schütze
9938a68865 Updated translations 2020-05-11 15:33:58 +02:00
Sean
3e19840b08
Merge pull request #5352 from tsiegleauq/speaker-list-change-detection
Manual cd for list of speakers
2020-05-11 11:19:55 +02:00
Sean
7a31cff612
Merge pull request #5347 from GabrielInTheWorld/statistics
Create statistics of closed list of speakers
2020-05-11 11:07:53 +02:00
GabrielMeyer
e7de593b54 Create statistics of closed list of speakers 2020-05-11 07:56:50 +02:00
Sean
602d1c8e7b Manual cd for lost of speakers
Adds better cd for list of speakers
2020-05-08 12:20:15 +02:00
Tobias Hößl
25839ea709
Toggle to show all amendments in diff view 2020-05-06 20:28:19 +02:00
FinnStutzenstein
c643a233ae
fixed endless spinner on SAML login 2020-05-06 18:23:38 +02:00
Sean
fede11b59f Fix poll results under iOS
Fixes an issue on iOS devices regarding click-bindungs in structural
loops. iOS devices did not respond to touch inputs in the given view
2020-05-06 14:32:46 +02:00
Emanuel Schütze
77cf3e2785
Merge pull request #5321 from tsiegleauq/projector-indicator-on-agenda
Projector indicator list view tables
2020-05-05 17:50:27 +02:00
Sean
4e624384e7 Projector indicator list view tables
Shows a projector indicator in the list view tables.
Width is 24px, just as small as mat-icon needs.
Works in every list view that allows projector buttons (which should
cover everything where an indicator could be demanded)
2020-05-05 16:08:32 +02:00
Emanuel Schütze
f9cd3ebd89
Merge pull request #5304 from CatoTH/change-recommendations-for-amendments
Change recommendations for amendments
2020-05-05 15:46:00 +02:00
Sean
1a653c3fa7 Set tinymce urls to absolute
Potentially fixes a deeper TinyMCE issue that causes TinyMCE to remove
important parts of pasted URLs
2020-05-04 17:19:05 +02:00
Tobias Hößl
b51787129b
Change recommendations for amendments 2020-05-02 18:40:59 +02:00
Emanuel Schütze
f415fd0554 Updated translations 2020-04-30 17:43:48 +02:00
Emanuel Schütze
c6836ff6c5
Merge pull request #5294 from GabrielInTheWorld/sort-speakers
Changes workflow for sorting speakers
2020-04-30 16:42:52 +02:00
GabrielMeyer
4a24da12da Changes workflow for sorting speakers 2020-04-30 15:58:49 +02:00
Sean
38ee6bb2f1 Show first contribution hint in list of speaker
Shows a hint in the list of speakers if a speaker contributes for the
first time.
2020-04-30 14:06:37 +02:00
Emanuel Schütze
a47285c0ff
Merge pull request #5309 from tsiegleauq/integrate-jitsi-meet-client
Integrate jitsi-meet in OpenSlides
2020-04-30 13:05:12 +02:00
Sean
1439444b2e Integrate jitsi-meet in OpenSlides
- minimal jitsi client in the bottom right of the screen
- can be shown and hidden like a messenger
- allows to mute, unmute, call, stop call
- automatically connects to a conference
- shows a list of users connected to the room
- jitsi iframe is currently hidden
- "open in jitsi meet" link
- only one connection will be opened if using multiple tabs
- JITSI_DOMAIN and JITSI_ROOM_NAME must be present in the settings.py
- config variables in settings
2020-04-30 11:07:32 +02:00
FinnStutzenstein
aa1a2cec89
Removed vote weight from votes_cast 2020-04-30 08:10:39 +02:00
Emanuel Schütze
7a25a2496d Updated German translations. 2020-04-24 14:28:26 +02:00
FinnStutzenstein
152401a9a3
Duplicates single and multiple topics in the agenda 2020-04-24 12:34:22 +02:00
Emanuel Schütze
2057150076
Merge pull request #5322 from FinnStutzenstein/delete-all-speakers
delete all speakers of all lists of speakers
2020-04-24 12:25:49 +02:00
Emanuel Schütze
cb52347354
Merge pull request #5328 from FinnStutzenstein/projectorSubtitles
Subtitles for projected elements in the projector detail view
2020-04-24 12:12:22 +02:00
Emanuel Schütze
0c6da9799c
Merge pull request #5335 from GabrielInTheWorld/fixTopicPreview
Fixes preview of topics in global search
2020-04-24 09:13:36 +02:00
GabrielMeyer
41b9065807 Fixes preview of topics in global search 2020-04-23 23:36:10 +02:00
Emanuel Schütze
527f947143 Updated German translations 2020-04-23 20:35:59 +02:00
FinnStutzenstein
c8faa982ac Subtitles for projected elements in the projector detail view 2020-04-23 16:01:18 +02:00
FinnStutzenstein
38486463bc delete all speakers of all lists of speakers 2020-04-23 09:43:04 +02:00
Finn Stutzenstein
6a488eb78e
Merge pull request #5323 from tsiegleauq/linter-prettier-updates
Update linting rules
2020-04-22 17:32:42 +02:00
Sean
97c2299aec Implement vote weight in client
Implements vote weight in client
The user detail page has a new property
change deserialize to parse floats
change "yes"-voting to send "Y" and "0" instead of "1" and "0"
add vote weight to user list, filter, sort
add vote weight to single voting result
votesvalid and votescast respect the individual vote weight
fix parse-poll pipe and null in pdf
2020-04-22 16:54:50 +02:00
Sean
e702843f07 Update linting rules
Includes strickt(er) tslint line-length of 120, with an exception
for import statements (prettier does not like these)
2020-04-22 16:24:08 +02:00
Sean
91d4b3c7af Fixes an issue regarding self-set-present 2020-04-20 19:17:03 +02:00
Emanuel Schütze
d210496146
Merge pull request #5293 from GabrielInTheWorld/subline-comment
Adds a third line for comments
2020-04-20 18:09:52 +02:00
Emanuel Schütze
35ce596706
Merge pull request #5317 from tsiegleauq/set_presence_on_userlist
Allow set present on user list if config was set
2020-04-20 17:13:48 +02:00
Sean
70aadcdd28
Merge pull request #5307 from GabrielInTheWorld/no-found-button
Adds a 'not found'-button to search-value-selector
2020-04-20 14:52:46 +02:00
Sean
9ffbb39e95 Allow set present on user list if config was set
Depending on "selt self presence" config, allow users to set
themselves as present on the user list
2020-04-20 13:46:14 +02:00
GabrielMeyer
170aa1c8f0 Adds a third line for comments 2020-04-20 07:46:37 +02:00
Finn Stutzenstein
1570b5b806
Merge pull request #5313 from jsangmeister/fix-user-import
Fixed user import
2020-04-15 13:44:30 +02:00
Joshua Sangmeister
96ee1c0af3 fixed user import 2020-04-15 10:27:07 +02:00
Emanuel Schütze
0f8167e39c
Merge pull request #5311 from jsangmeister/fixPseudoanonymize
Fix pseudoanonymize on client
2020-04-15 09:54:21 +02:00
Joshua Sangmeister
9864ff3847 fixed pseudoanonymize on client 2020-04-15 09:42:22 +02:00
Sean
5b7bbfd0bb Sort motions in categories by inner weight (again)
Fixes sorting categories by inner weight
2020-04-14 15:01:42 +02:00
Sean
82c6929a8d Sort motion list by category weight
Sorts the motion list by the weight of the category
rather than by name
2020-04-08 22:22:02 +02:00
GabrielMeyer
35a67017a3 Adds a 'not found'-button to search-value-selector 2020-04-08 11:48:18 +02:00
Emanuel Schütze
53b4b1c1f9 Updated translations. 2020-04-07 07:56:51 +02:00
Joshua Sangmeister
b7b8620153 removed race condition & cleanup 2020-04-07 07:27:54 +02:00
FinnStutzenstein
7882ea1a25 Added vote weight and fixed named voting 2020-04-07 07:27:54 +02:00
Sean
820a47123a Fix malfunctions in Firefox ESR
Various cryptic issues that had no usefull debug output.

ngx-translates "translate" directive was causing Firefox ESR
to jump in the "drainMicroTaskQueue" infinite recursion when
using the directive in the same component as nGrid.

Therefore, I changed all uses of the translate directive
to the pipe (arround 700 or so, regex is my best friend now)

open todo: adjust the linter that we may never use the translate
directive again.

There was another cryptic issue with the current version
of exceljs which was also causing firefox to go crash
when loading a workbook object. It was sufficient to
have any Workbook() function declared in a module to cause
firefox to crash.
2020-04-06 20:36:24 +02:00
Sean
7b5f2648af Update translation extractor 2020-04-06 17:18:04 +02:00
Sean Engelhardt
e1acf6e9d6 Update to Anulgar 9
Updates Angular to version 9.1
Updates most-to-all npm components
Removes deprecated components and npm commands
Updates travis node version
Adjust the whole code base to angular 9 standard
Increase TypeScipt version to 3.8
2020-04-01 14:50:15 +02:00
Emanuel Schütze
baa1787189 Updated Translations 2020-03-30 10:57:10 +02:00
Emanuel Schütze
8119507b8a
Merge pull request #5283 from tsiegleauq/user-active-toggle
Add set present toggle in user menu
2020-03-30 10:14:27 +02:00
Sean
39ccfe3147 Add set present toggle in user menu
adds a "is present" toggle to the user menu
Refactor user menu into own component
Add a config variable to determine if the user is allowed
to set themselve as present
2020-03-30 09:57:57 +02:00
Emanuel Schütze
c257baa14b Updated translations. 2020-03-26 18:21:36 +01:00
Sean
d646691961 Define chart height
Bar chart height will be calculated by the number of labels to show
Circle chart height should scale with their container
2020-03-26 17:39:47 +01:00
Emanuel Schütze
aaea4ec2e9
Merge pull request #5284 from tsiegleauq/clickable-motion-charts
Remove tooltips for charts
2020-03-26 17:19:19 +01:00
Sean
5bdbe4778a Remove tooltips for charts
Removes all hover-tooltips for charts
Add detail link to motion poll chart
2020-03-26 17:04:17 +01:00
Sean
fbff4de431 Fix untranslateable motion comment section dialog
Missing translation tags in comment section dialog
2020-03-26 16:37:47 +01:00
Sean
af6c5faac8
Merge pull request #5281 from tsiegleauq/poll-list-filter
Filter only evoting polls, change filter options
2020-03-26 12:27:33 +01:00
Sean
14de67a09d Filter only evoting polls, change filter options
Pre filters all analog polls from poll list.
Creates a filter to find thouse with open polls for the user
2020-03-26 11:54:05 +01:00
Emanuel Schütze
6f7c6036c2
Merge pull request #5280 from tsiegleauq/workflow-manager-scrolling
Enhance workflow matrix for small screens
2020-03-25 15:26:18 +01:00
Emanuel Schütze
19af02a315
Merge pull request #5278 from tsiegleauq/tinymce-in-settings-page
Manual change detection for config list
2020-03-25 15:21:41 +01:00
Sean
73fc936306 Enhance workflow matrix for small screens
makes scrolling horizontally in the workflow manager easier.
The offline banner and the voting banner will lead to unwanted results.
2020-03-25 13:01:25 +01:00
Sean
c2406fcc03 Remove counting of IndexedDB and LocalStore
Mainly simplify the user counting component.

It seems that counting IndexedDB has no value anymore,
since even Firefox ESR uses IndexedDB just fine and the LS fallback
proves to be reliable enough
2020-03-25 12:18:57 +01:00
Sean
557824f5f1 Manual change detection for config list
Adds manual change detection to the config page.
Behaves better regarding "changed after checked" errors
2020-03-25 11:22:54 +01:00
Emanuel Schütze
91be76a263
Merge pull request #5276 from tsiegleauq/changeable-created-polls
Remove pseudo-disabled values in poll form
2020-03-24 16:01:17 +01:00
Emanuel Schütze
eadc09dc56
Merge pull request #5271 from tsiegleauq/reset-workflow-reco
Allow empty input values in recommendation
2020-03-24 15:58:43 +01:00
Sean
6fddddd9f4 Allow empty input values in recommendation
Allows the client to send empty values as workflow
recommendation label in the workflow detail view.
This is required to remove a recommendation from a
workflow
2020-03-24 15:44:46 +01:00
FinnStutzenstein
cf50295ca4 Remove Check update for others feature 2020-03-24 15:25:47 +01:00
Sean
7af2f70494 Remove pseudo-disabled values in poll form
Removed the previously disabled-looking poll options from the poll form
component.
I figguered that it would be more intuitive and closer to my
expectations if I could change the poll values even if the poll was
already created.
2020-03-24 14:22:59 +01:00
Sean
2fb372ead9
Merge pull request #5274 from tsiegleauq/untranslated-default-projector
Show translated values in projector preview
2020-03-23 17:57:09 +01:00
Sean
7d86f62e2d
Merge pull request #5273 from tsiegleauq/new-projector-reference
Create new projectors with clos reference
2020-03-23 17:31:13 +01:00
Sean
d92622410f Show translated values in projector preview
Shows the translated value of "default projector"
in projector preview component.
I reomved a observable that I suppose was outdated
2020-03-23 17:28:09 +01:00
Sean
99c3afb417 Create new projectors with clos reference
New projectors will be created on a reference to the current list of
of speakers
2020-03-23 16:57:29 +01:00
Sean
bf0eadebb7 Full width for LOS search user
Puts the List-Of-Speakers search user section to full width
2020-03-23 16:32:48 +01:00
Sean
5bf3dfadff Fix Shift-Enter to save poll
Fixes a bug which caused the event listener not to register
in BasePollDialog

Also hot fixes a bug in babel
2020-03-23 14:26:38 +01:00
Emanuel Schütze
5a6d2d2e42 Updated translations 2020-03-20 17:19:12 +01:00
Sean
072ec937a1 Rework assignment poll slide
Reworked assignment poll slide
and refactored the assignment poll detail table
into an own component
2020-03-20 16:53:31 +01:00
Emanuel Schütze
b873dc156b
Merge pull request #5264 from tsiegleauq/bar-chart-rework
Rework Chart component
2020-03-20 13:31:20 +01:00
Sean
f0e396b3a4 Rework Chart component
Cleans up the chart component
Speed up the rendering using async pipe instead of passing obserbables
Thiner bar-charts.
Fixes some bugs, some bugs are still present.
2020-03-20 10:28:59 +01:00
FinnStutzenstein
73eff81edd Catch error on invalid cache data 2020-03-19 14:00:56 +01:00
Emanuel Schütze
54dd97399e
Merge pull request #5260 from tsiegleauq/various-voting-issues
Various small fixes
2020-03-17 21:53:40 +01:00
Sean
ee07e8f0ce Various small fixes
- Fix an issue in motion PDF which affected motion result percent
  values
- Fix an issue where the voting result bar chart hat a chance to show
  "null"
- Change the available votes display to count down instead of up
- Add the correct button class to the global abstain button
- Add some translatable strings
2020-03-17 21:33:46 +01:00
Sean
0ab4532ac8 Refactor usage of PollService
prevents the direct use of the abstract
"PollService".
2020-03-17 18:21:13 +01:00
Sean
3c9f6ed278 Some overall improvements
Common:
	delete unused motion poll list

Poll Create form:
	Fix ugly multi line mat hints
	(workaround, see https://github.com/angular/components/issues/5227 )

Poll List:
	Fix too tiny column size
	user_has_voted_valid (ceck icon) was not shown

Motion Poll Card:
	Enhance subtitle layout (type + state)

Assignment Poll Card:
	Open warning after clicking the hint icon

Assignment Poll Chart:
	Show Absolute values and percents in chart label

Assignment Detail:
	Add new ballot button with plus icon instead of chart icon
2020-03-17 07:24:50 +01:00
FinnStutzenstein
64f2720b1a Last changes and cleanup some todos 2020-03-17 07:24:50 +01:00
Emanuel Schütze
d15c9892ed Updated translation strings and German translation. 2020-03-17 07:24:49 +01:00
Sean Engelhardt
ee4c6aa0bf Even more voting refinement
Various additional refinements for a more well rounded
voting experience
2020-03-17 07:24:49 +01:00
FinnStutzenstein
a05662a0f8 Show global votes in the single votes table 2020-03-17 07:24:49 +01:00
Sean Engelhardt
29a9a09bc6 Motion poll detail als slide
Refactor the code to use the motion poll detail als slide component
2020-03-17 07:24:49 +01:00
Sean Engelhardt
3c36441967 Add global no and abstain to form
Minur UI changes
Minor Chart enhancements
Server Changes
2020-03-17 07:24:48 +01:00
Sean Engelhardt
8fe5a0c9f4 Rework assignment voting
- Remove "assignments.can_manage_polls" permission
- Let the client handle some user errors
- Add a send button to manually submit polls
- Show a hint that the user already submitted a vote
  - will not (and should not) work for non-nominal voting
- submitting a vote cannot be changed anymore
  - user will have to confirm sending
- enable deselecting YNA-votings
- nomainal voting will behace the same as non nominal voting
- submitting empty votes should be possible

Perhaps server side adjustments might still be required
2020-03-17 07:24:48 +01:00
Sean Engelhardt
61b7731073 Enhance charts and tables for assignments
Also some various improvements
2020-03-17 07:24:48 +01:00
Sean Engelhardt
53b9ce73f2 Enhance table layouts
Enhance the result table layout for assignments
2020-03-17 07:24:47 +01:00
Joshua Sangmeister
9d7028ea5f now filters percent bases correctly 2020-03-17 07:24:47 +01:00
Joshua Sangmeister
72678770bb table update on pseudoanonymize, view base classes for votes and
options, renaming for assignment percent bases
2020-03-17 07:24:46 +01:00
Emanuel Schütze
2d13519c35 Updated voting strings for translation 2020-03-17 07:24:46 +01:00
Joshua Sangmeister
e72bcc1eaf removed default group from 'entitled to vote' selection 2020-03-17 07:24:46 +01:00
Sean Engelhardt
97a5bb4aa6 Cleanup Voting, enhance UI and UX
removed certain unnecesary fields
cleaned up a lot of code
redone some of the UI
some database and server adjustments
2020-03-17 07:24:45 +01:00
Joshua Sangmeister
7598fc5367 Fixed the numbering of assignment candidates for projector and PDF 2020-03-17 07:24:45 +01:00
Joshua Sangmeister
b48ca8c434 added chart projection for polls 2020-03-17 07:24:45 +01:00
Sean Engelhardt
6ba0d0c5e6 Client side changes 2020-03-17 07:24:44 +01:00
FinnStutzenstein
0b37c5a857 WIP: Partial requests 2020-03-17 07:24:44 +01:00
Joshua Sangmeister
d4599a435b added virtual scrolling for single votes tables 2020-03-17 07:24:44 +01:00
Sean Engelhardt
93dc78c7d6 Result PDF for Voting
- Add result PDF for Motion and Assignments
- Add "getPercentBase" for Assignment
2020-03-17 07:24:44 +01:00
Sean Engelhardt
6044c63c28 Enhance Assignment Voting
- repaired the PDF Service for ballots
- fixed some permission errors
- analog voting has no "started" option anymore
- more-link as button
- named voting has a progress bar
- Shows the poll type for eVoting
- Moves and declutters meta info
- Enhance the grid and the layout in detail view
- declutter and enhance the dot-menus
- some other layout changes
- remove breadcrumbs in assignment detail
- other cleanups refinements
- Voting in Assignment over instead of forms
(requires more server changes)
2020-03-17 07:24:43 +01:00
Sean
524a97cdcc Enhance voting
- cleaned up a lot of code
- removed required majotiry from forms
- renamed verbose "Majority method" to "Required majority"
- poll-progress-bar only counts present user
- enhanced motion poll tile chart layout
- removed PercentBase.Votes
- added pollPercentBase pipe
- Show the voting percent next to chart in motion detail
- change the head bar to "Voting is open"
  and "Ballot is open"
- merged the voting configs to their corresponding config-categories
- re-add ballot paper configs
- Add "more" button to motion polls
- Adjusted the motion results table
  - Hide entries without information
  - Show icons for Y N A
  - Show percentage next to Y N A
2020-03-17 07:24:43 +01:00
GabrielMeyer
6c1317e25f Fixes labelling for charts 2020-03-17 07:24:43 +01:00
GabrielMeyer
294b75c320 Replaces the mat-table with a classic table 2020-03-17 07:24:42 +01:00
GabrielMeyer
09b0d19de0 Fixes permissions for assignments
- There were some fields that user could see/click/handle, although the user has not the correct permission for the action
2020-03-17 07:24:42 +01:00
Joshua Sangmeister
df1047fc76 various improvements for polls 2020-03-17 07:24:42 +01:00
Joshua Sangmeister
bc54a6eb46 improved 'votes' pollmethod 2020-03-17 07:24:42 +01:00
Joshua Sangmeister
1de73d5701 improved shared poll list 2020-03-17 07:24:41 +01:00
GabrielMeyer
a0c3a28456 Adds a chart for assignment-poll-detail 2020-03-17 07:24:41 +01:00
GabrielMeyer
c46369c6a7 Reworks the banner showing if there are polls
- Makes it higher on mobilephones
- Changes title, if there is only one poll
2020-03-17 07:24:41 +01:00
Joshua Sangmeister
b16afaa285 number poll candidates depending on setting 2020-03-17 07:24:40 +01:00
FinnStutzenstein
e2585fb757 Projector for polls: Server, client structure and data modeling 2020-03-17 07:24:40 +01:00
Sean Engelhardt
84a39ccb62 More voting UI improvements
For Motion poll:
- Overworked how motion poll chart displays the legend
- Added the vote counter to the motion detail
- Added a progress bar to the vote counter
- Fixed some perm errors with the chart
- Show a "Singe Votes" link as button for published named polls
- Replace the edit-button with a dot-menu
  - Having project, Edit, PDF and Delete

For Motion Poll detail:
- enhance search panel
- Remove the breadcrumbs
- Remove the vote counter
- Enhanced the single-vote grid, table and filter bar
- Enhance how the poll state enum was checkend

For the Motion Poll Create/Update Form:
- Remove the selection of poll-methode (whenever possible)
- only show "publish imediately" during creation
2020-03-17 07:24:40 +01:00
Joshua Sangmeister
682db96b7c added vote per user table and progress for polls
added update for options after stopping a poll
2020-03-17 07:24:39 +01:00
Sean
604df9d48b Enhance voting ux 2020-03-17 07:24:39 +01:00
FinnStutzenstein
7ab5346198 disable caching for reverse relations 2020-03-17 07:24:39 +01:00
GabrielMeyer
fff1f15b6c Polls for motions and assignments
- Adds charts to assignments
- Creates base-classes for polls
2020-03-17 07:24:38 +01:00
GabrielMeyer
96aa3b0084 Adds the chart and dialog for analog voting 2020-03-17 07:24:38 +01:00
jsangmeister
90b04366b5 added option to number poll cadidates 2020-03-17 07:24:37 +01:00
GabrielMeyer
8d77c0495b Initial polling 2020-03-17 07:24:36 +01:00
FinnStutzenstein
1246dd54ad majorities in polls 2020-03-17 07:24:35 +01:00
FinnStutzenstein
ce171980e8 Relations in the client 2020-03-17 07:24:34 +01:00
FinnStutzenstein
ced40cab74 Initial work for supporting voting 2020-03-17 07:24:34 +01:00
Emanuel Schütze
4d4697eee0
Merge pull request #5246 from jsangmeister/motion-block-check
Added an indicator if all motions of a block are finished
2020-03-12 21:24:01 +01:00
Joshua Sangmeister
aa46922c8b added an indicator if all motions of a block are finished 2020-03-12 16:21:41 +01:00
Emanuel Schütze
ec17376e8e
Merge pull request #5245 from jsangmeister/amendment-navigation
Added navigation between amendments when not shown in main list
2020-03-12 15:39:26 +01:00
Joshua Sangmeister
7acf2157fa added navigation between amendments when not shown in main list 2020-03-12 11:53:29 +01:00
Joshua Sangmeister
70fc5a69ab fix the error when creating a final print template after a title change recommendation 2020-03-12 09:39:56 +01:00
GabrielMeyer
13de88c136 Updates dark-theme 2020-02-26 13:39:07 +01:00
Sean
98146a29c7
Merge pull request #5227 from FinnStutzenstein/projectorLoadChildrenCallback
Use LoadChildrenCallback instead of deprecated NgModuleFactoryLoader
2020-02-25 10:50:19 +01:00
FinnStutzenstein
7204d59d66 [WIP] External postgres as mediafile store 2020-02-17 14:38:32 +01:00
FinnStutzenstein
76bd184ff4 Use LoadChildrenCallback instead of deprecated NgModuleFactoryLoader 2020-02-17 14:38:02 +01:00
Sean Engelhardt
2236f63fe9 Hide print-template button
Hides the "create final print template" button if
a print template exists.
Should be more user friendly and less dangerous to use.
2020-01-30 13:13:52 +01:00
Emanuel Schütze
0267b0cb42 Updated German translation 2020-01-30 09:35:57 +01:00
Emanuel Schütze
2ac01a5ea3
Merge pull request #5193 from tsiegleauq/final-version-without-reco
Allow final versions without change reco
2020-01-30 09:31:36 +01:00
Sean
a51720e18b
Merge pull request #5191 from tsiegleauq/pdf-catalog-optional-page-breaks
Add option to export motions with pagebreaks
2020-01-29 16:33:37 +01:00
Sean Engelhardt
27e8301131 Allow final versions without change reco
Alters the creation process of final versions
in a way one can create them independantly
of change recomendations.
2020-01-29 16:28:36 +01:00
Sean Engelhardt
407a430419 Add option to export motions with pagebreaks
Adds an option to the PDF motion list exporter
that allows users to explicitly enforce or prevent
page breaks before a new motion was printed.

The option is enabled by default
2020-01-29 15:18:56 +01:00
Emanuel Schütze
a6bdaedff1
Merge pull request #5192 from tsiegleauq/reco-and-state-in-pdf-toc
Show final state in Motion PDF toc
2020-01-29 15:09:50 +01:00
Sean Engelhardt
a161bca028 Show final state in Motion PDF toc
Renamed the option
"Show submitters and recommendation in table of contents"
to
"Show submitters and recommendation/state in table of contents"
If the option is selected, the PDF-TOC for motions will print
the name of the current state (if final) rather than the
current recomendation
2020-01-29 14:28:56 +01:00
Sean Engelhardt
6f114d0072 Fix flat map
Fixes a bug which was breaking flatMap
2020-01-29 12:47:42 +01:00
Sean
8012bfbfc0
Merge pull request #5187 from tsiegleauq/ngrid-updates
Update ngrid, redefine prototypes of datatypes
2020-01-23 15:10:18 +01:00
Sean Engelhardt
faf8004280 Use amendmend wizzard for amendments
Allows paragraph based amendments for other paragraph based
amendments.
Amendments to amendments will be amended to the main motion,
but will contain all the changes to the amendments they were
refering to

solves #5171
2020-01-23 12:46:19 +01:00
Sean Engelhardt
c2ad39a2c5 Update ngrid, redefine prototypes of datatypes
Updates ngrid to the latest version
Use Object.defineProperty instead of
Number.prototype to safer extend native datatypes
2020-01-23 12:38:46 +01:00
Sean Engelhardt
ff271748d7 Reenable Service Worker
Fixes a regression that was preventing the service worker from loading
2019-12-17 10:00:57 +01:00
Emanuel Schütze
e45d3aa360
Merge pull request #5164 from emanuelschuetze/translation-20191213
Updated CS translations
2019-12-13 09:33:56 +01:00
Emanuel Schütze
3bf588c013 Updated CS translations 2019-12-13 09:17:58 +01:00
Sean Engelhardt
f64a855b50 Fix order of comments in motion detail
Fixes an error where the order of comment section in
the motion comment section component was wrong
2019-12-12 12:10:56 +01:00
Emanuel Schütze
bb41125bd1
Merge pull request #5162 from tsiegleauq/search-value-selector-for-states
Fix untranslated searchable values
2019-12-10 17:00:29 +01:00
Sean Engelhardt
1e45153c0a Fix untranslated searchable values
Fixes a bug where the search value selector was not always filtering
for translated values.
Uses getTitle() in SearchValue selector rather than toString,
to allow enhance compatibility with custom values
2019-12-10 16:46:59 +01:00
Sean Engelhardt
af9a62abbb Fix null values in recommencation label
Fixes an issue that was showing empty values when setting
a recommendation
2019-12-10 10:56:21 +01:00
Emanuel Schütze
1bababd8c1 Updated translations (DE, CS, RU) 2019-12-09 17:30:48 +01:00
Emanuel Schütze
9e81e6145f Rename config option to show meta box below title on projector. 2019-12-09 16:32:46 +01:00
Emanuel Schütze
53ebbabc9b
Merge pull request #5157 from tsiegleauq/no-amendment
Add more motion filter options
2019-12-09 15:44:07 +01:00
Sean Engelhardt
c9cf99d0e4 Add leftover changes for 3.1
Adds various changes for a more complete 3.1 release

- cleaner "current slide" description in projector detail (grid with ellipsis)
- show the previously projected slides as ordered lists under the accordion
- fix a bug where everyone could access the projection manage view (although it was unfunctional without the correct permissions)
- assignment list now uses the correct ellipsis
- fixes a bug where the lable "list of speakers" was not translated on the projector slide
- Show a lock on the "list of speaker"-slide if it has been closed
- enable dialog tests that have previously been disabled
2019-12-09 15:00:32 +01:00
Sean Engelhardt
d17ad04b6c Add more motion filter options
Adds a motion filter option for motions which have no
amendments and are no amendments
2019-12-09 14:24:05 +01:00
Sean
01b626d3e7 Scroll to previous offset rather than index
Changes some auto scrolling behavior in our virtual scrolling tables.
Save the scroll offset before any navigation attempt, rather than
saving the index on click.
Should work for every possible navigation action.
2019-12-06 13:50:14 +01:00
Sean Engelhardt
ae62fd69f5 Add event description to PDF
Fixes a bug where the event name was printed twice in the PDF header
2019-12-04 15:37:38 +01:00
Sean
93d9e6b169
Merge pull request #5151 from tsiegleauq/offline-spinner-issue
Consider offline during update checks
2019-12-02 17:06:26 +01:00
Emanuel Schütze
b506735cfe
Merge pull request #5148 from tsiegleauq/manual-cd-workflow-detail
Add manual cd for workflow detail
2019-12-02 17:05:49 +01:00
Sean Engelhardt
a6891ef8e1 Consider offline during update checks
Hides the spinner if the update checks fail cause the server is
unreachable

use new cleansup the code a little
2019-12-02 16:55:46 +01:00
Sean Engelhardt
dd272c823f Add manual cd for workflow detail 2019-12-02 16:35:51 +01:00
Emanuel Schütze
2c120dd67c
Merge pull request #5150 from tsiegleauq/no-export-inline-numbers
Remove option for inline line number PDF
2019-12-02 15:44:42 +01:00
Emanuel Schütze
ed8d666fce
Merge pull request #5120 from tsiegleauq/nav-from-motion-blocks
Add navigation flag to return to custom oriring
2019-12-02 15:35:01 +01:00
Sean Engelhardt
d962e55fee Remove option for inline line number PDF
- removes the option to export PDF as inline, since it's not working atm
- motions that would be exported with inline line number would be exported with outside line numbers
2019-12-02 12:54:27 +01:00
FinnStutzenstein
f392b479ba Fixed too early single-model updates in the BaseRepository 2019-11-27 15:28:12 +01:00
Sean Engelhardt
ce2f711a7c Add navigation flag to return to custom oriring
Adds the state "back: 'true'" to certain router navigations to set
a custom return point for using the OpenSlides back arrow.
Allows to return to category detail, motion block detail and
amendment detail from a motion detail view.
You will keep the navigation state for as long as you don't change
the view
2019-11-27 11:16:39 +01:00
Emanuel Schütze
b86054c4b9
Merge pull request #5144 from tsiegleauq/hide-long-amendment-preview-slide
Hide long amendment preview on motion slide
2019-11-26 15:34:00 +01:00
Emanuel Schütze
7d52f12770
Merge pull request #5138 from tsiegleauq/more-nested-pdf-lists
Add nested PDF lists with line numbering
2019-11-26 15:24:48 +01:00
Sean Engelhardt
4599091d57 Add nested PDF lists with line numbering
Adds support for nested PDF lists in motions with line numbering
Numbers and lines can be slightly of in extrem cases.

Lists are supposed to be relatively short lists and are not(!) a replacement
for paragraphs.
Chaning that would require me to create our own implementation of
PDFMake-Lists
2019-11-26 14:47:13 +01:00
Sean
475885d0a2
Merge pull request #5143 from tsiegleauq/more-permitted-mobile-list-dots
Hide mobile list-menus by permission
2019-11-26 14:05:57 +01:00
Sean Engelhardt
50a9a89910 Hide mobile list-menus by permission
Hides some mobile list menus if the permissions
are not sufficient.
Change the layout of the assignment mobile list
2019-11-26 13:19:37 +01:00
Sean Engelhardt
bb3a154ccc Hide preview on motion slide
Hides the grey amendment context
2019-11-26 13:07:34 +01:00
Emanuel Schütze
1b40cd74e0
Merge pull request #5141 from tsiegleauq/custom-projector-resolution
Custom aspect ratio for projector
2019-11-26 11:42:35 +01:00
FinnStutzenstein
e416117b11 Fixed mediafiles 2019-11-26 09:11:18 +01:00
Sean Engelhardt
ff90f9490c Add custom aspect ratio for the projector
Change the client to accept aspect ratios like:
4:3, 16:9, 16:10 or custom over a textfield

Change server to accept aspect ratios and dropped height
2019-11-22 16:41:28 +01:00
Sean Engelhardt
e97292afdd Export Modified Final Version over exporter
- Adjusts the motion exporter to prefer modified final versions
over "just" final versions
- enhance the change detection of motion detail a little
(editor and viewport changes)
2019-11-20 11:39:10 +01:00
Emanuel Schütze
4451fe979e
Merge pull request #5129 from tsiegleauq/assignment-order
Remove sorting poll option by weight
2019-11-13 14:48:03 +01:00
FinnStutzenstein
a3c97a2ccd Fix agenda item number 2019-11-13 14:00:53 +01:00
Sean
e3e50c1730
Merge pull request #5106 from emanuelschuetze/mobile-views
Improved mobile views (Agenda list, motion block list)
2019-11-11 14:06:02 +01:00
Emanuel Schütze
7aaad26b68 Improved mobile views (Agenda list, motion block list/detail) 2019-11-11 13:51:22 +01:00
Sean Engelhardt
3530b625d9 Remove sorting poll option weight
Fixes a bug where entered votes did not match to the order of poll options
fixes #5125
2019-11-11 12:36:54 +01:00
Finn Stutzenstein
d248f5fbc1
Merge pull request #5122 from tsiegleauq/fix-regression-in-assignments
Fix regression in assignments
2019-11-08 11:45:42 +01:00
Sean Engelhardt
b0695a25c1 Fix regression in assignments
Fixes a bug where assignment polls could not be saved
Cleaned up some code
2019-11-08 09:42:42 +01:00
Emanuel Schütze
d286378524
Merge pull request #5104 from jsangmeister/csv-import-fix
Fixed CSV import
2019-11-06 11:03:08 +01:00
jsangmeister
0922f0de3f fixed csv import 2019-11-06 10:43:56 +01:00
Sean Engelhardt
d482f205cd Fixes a bug where files are not known as files
This is a regression from model change.
The is_file method is missing. Replaces is_file with !is_directory
2019-11-06 10:12:15 +01:00
Sean
be2e8d9584
Merge pull request #5117 from FinnStutzenstein/fixGroupsMatrix
Fixed duplicate permissions in the group matrix (fixed #5112)
2019-11-05 14:55:12 +01:00
Sean
e15619806d
Merge pull request #5057 from GabrielInTheWorld/savingSearch
Shows all related items of one collection
2019-11-05 12:29:21 +01:00
FinnStutzenstein
fed9f3c19b Fixed duplicate permissions in the group matrix (fixed #5112) 2019-11-05 11:39:52 +01:00
jsangmeister
fa95859b61 change 'default' to 'reference' projector 2019-11-05 09:47:05 +01:00
Emanuel Schütze
66390fe92c
Merge pull request #5108 from emanuelschuetze/translations20191104
Updated translations
2019-11-04 16:39:42 +01:00
Emanuel Schütze
9e43d0f63e Updated German translations 2019-11-04 15:46:09 +01:00
Sean Engelhardt
24359450c7 Fix motion tiles filter
Fixes an error where motion tile filter could not be applied due
to changing category filter definition
2019-11-04 15:23:49 +01:00
Emanuel Schütze
b867b02e28
Merge pull request #5058 from tsiegleauq/rework-choice-service
Rework choice service and dialog
2019-11-04 13:48:44 +01:00
Sean Engelhardt
233961b466 Enhance projector list
- The projector list now scales to give a better overview
- selecting the projector for the CLOS reference is more intuitive
- editing and creating projectors now works over a dialog
- editing projectors is now possible from the detail page
- projector tiles look overall cleaner
- Editing the projector offers a preview
- no changes "on the fly"
- Dialog has apply button to allow saving without closing
- The slider has an input fild on the right side to allow the usage
  of specific values
2019-11-04 13:30:25 +01:00
jsangmeister
96ac370f61 added a view to change the reference projector in one api call 2019-11-01 10:56:59 +01:00
Finn Stutzenstein
0ab46ed955
Merge pull request #5099 from jsangmeister/email-error-fix
Fixed error output of http service to correctly display email validation error
2019-10-30 15:22:19 +01:00
jsangmeister
85a11c8b39 fixed error output to correctly display email validation error 2019-10-30 14:01:12 +01:00
Sean
113bdc76f3
Merge pull request #5088 from emanuelschuetze/motion-slide-box
Use horizontal meta box ('pdf style table') for motion slide
2019-10-30 13:34:41 +01:00
Emanuel Schütze
5305b52dba Use horizontal meta box ('pdf style table') for motion slide 2019-10-30 13:18:40 +01:00
Sean
6081df202c
Merge pull request #5089 from emanuelschuetze/layout-fixes
Minor layout fixes (chyron, list of speakers)
2019-10-30 12:33:44 +01:00
Emanuel Schütze
68dad5561e Minor layout fixes (chyron, list of speakers)
- use bold font for names on chyron
- Fix box height for list of speakers view (for normal users in Firefox)
2019-10-30 12:14:27 +01:00
Sean
9ae4472b0d
Merge pull request #5086 from GabrielInTheWorld/editStart
Adds the 'edit-mode' to start, legal-notice and privacy-policy
2019-10-30 12:04:51 +01:00
Sean
19f3fb579b
Merge pull request #5083 from GabrielInTheWorld/hintsForTheWin
Replaces the question-marks in config with hints
2019-10-30 11:57:55 +01:00
Sean
424c59d027
Merge pull request #5094 from GabrielInTheWorld/agendaSecondLine
Sets the subtitle as a second line in agenda
2019-10-30 11:38:50 +01:00
Sean
d12bf299cc
Merge pull request #5096 from jsangmeister/settings-safety-check
Added safety check before reset in config
2019-10-30 11:23:44 +01:00
Sean
985e54dcd5
Merge pull request #5087 from tsiegleauq/proxy-filter-issues
Repair motion filter for proxies
2019-10-30 11:22:32 +01:00
jsangmeister
66f397f189 added safety check before reset in config 2019-10-30 09:56:43 +01:00
GabrielMeyer
0c4bcd4bd8 Sets the subtitle as a second line in agenda 2019-10-29 16:22:56 +01:00
GabrielMeyer
efa8f37528 Fixes decoding caused by exceeding stack size 2019-10-29 14:02:14 +01:00
Finn Stutzenstein
8335662e9b
Merge pull request #5084 from GabrielInTheWorld/filterAgenda
Adds filtering by collection as a new filter for the agenda
2019-10-24 10:23:14 +02:00
GabrielMeyer
663d230561 Adds the 'edit-mode' to start, legal-notice and privacy-policy 2019-10-24 09:15:01 +02:00
GabrielMeyer
19347f89d0 Replaces the question-marks in config with hints 2019-10-24 09:02:15 +02:00
Sean Engelhardt
342b881af4 Repair motion filter for proxies
The View Model Proxies are currently breaking all filter operations.
This reparis the motion filters
2019-10-23 15:25:56 +02:00
Sean Engelhardt
62eba77925 Rework choice service and dialog
- cleans up the choice service and the choice dialogs to make them
simpler and more usable.
- adjusts search-value-selector to also accept lists
- the search value selector allows for better filtering of models in the choice dialog
- fixes an issue where deleting all tags required a selection
2019-10-23 10:41:58 +02:00
GabrielMeyer
b48c8ad1da Shows all related items of one collection 2019-10-22 17:18:04 +02:00
GabrielMeyer
df1b03698c Adds filtering by collection as a new filter for the agenda 2019-10-22 15:54:46 +02:00
Sean
d3efba9dd5 Replace encode and decode
Replaces encode and decode with manual functions
2019-10-21 17:25:16 +02:00
Finn Stutzenstein
62e5774c8d
Merge pull request #4878 from FinnStutzenstein/moveConfigData
Reworked config
2019-10-21 14:13:02 +02:00
FinnStutzenstein
cf7a5ce714 Reworked config
- Move config meta data into REST
- seperate views for config groups
2019-10-21 13:45:06 +02:00
FinnStutzenstein
4a77bf1a61 saml 2019-10-21 13:34:01 +02:00
Sean
9f25f2bc34
Merge pull request #5075 from jsangmeister/personal-comment-export
Added motion export option for personal note and fixed export error
2019-10-21 11:54:17 +02:00
jsangmeister
243949de43 added motion export option for personal note and fixed export error 2019-10-21 10:01:44 +02:00
jsangmeister
a328580a07 removed max-width on mat-menu-panel 2019-10-18 15:42:18 +02:00
GabrielMeyer
1354fc74ef Editing state and recommendation in motion-list
- In the info-dialog opening in the motion-list the user can update the current state and the recommendation for one motion.
2019-10-16 15:58:47 +02:00
Sean
595f9cd201
Merge pull request #5030 from tsiegleauq/date-pipe
Add custom date pipe
2019-10-16 09:23:01 +02:00
FinnStutzenstein
7af74fb07a Use Proxies for ViewModels
Also reworked creation of assignments, motions and users.
2019-10-16 09:11:02 +02:00
Finn Stutzenstein
7282c541dd
Merge pull request #5069 from jsangmeister/los-edit-mode
Edit mode for List of Speakers
2019-10-15 16:08:10 +03:00
jsangmeister
943e8f22d3 Adds sort mode, delete confirmation and re-add speaker button to list of
speakers
2019-10-15 14:58:04 +02:00
Sean Engelhardt
4ba701663b use manual cd in motion detail
Uses manual CD in motion detail
2019-10-15 13:48:56 +02:00
Sean Engelhardt
04656950cb Add custom date pipe
Adds a custom date pipe and use it on the projector
The date pipe accepts unix time, can automatically adjust date to the current language and supports custom formatting using "moment.js" formatting options

Also fixes a minor translate-tag error
2019-10-15 12:20:22 +02:00
Sean
f9cea53659
Merge pull request #5041 from GabrielInTheWorld/reworkMotionCommands
Separates the menu for multi-select of motions
2019-10-14 12:48:41 +02:00
Sean
a5a40e9e11
Merge pull request #5048 from tsiegleauq/new-travis-flags
Adjust ng test to be more serverfriendly
2019-10-14 11:54:15 +02:00
Emanuel Schütze
b397122694
Merge pull request #5070 from tsiegleauq/strange-pdf-line-number-issue
Fix format motions hidden change discrepancy
2019-10-11 14:35:01 +02:00
Sean Engelhardt
58541aedd3 Adjust ng test to be more serverfriendly
Uses Chrome Headless without sandboxing for running Angular karma tests
add new "test-silently" command run tests in a more discrete way,
Should enhance testspeed on servers and CI
2019-10-11 14:29:38 +02:00
Sean Engelhardt
6b1c72d526 Fix format motions hidden change discrepancy
Fixes an issue where the "formatMotion" function was working on the wrong
array.
This resulted in unexpected results of both PDF and CSV export

Fixes as issue in the diff services that deleted replaced lines rather than overwriting them
2019-10-11 14:11:45 +02:00
GabrielMeyer
a56d850f51 Separates the menu for multi-select of motions
- Adds a new component for the list.
- Adds the component to amendment-list and motion-list.
2019-10-09 16:10:44 +02:00
Sean Engelhardt
2d14fc2057 Fix flickering in tables
reduces the flickering during scroll events in list view tables
Adjusts some ellipsis
2019-10-09 14:59:43 +02:00
Emanuel Schütze
ef7bb01043 Set h4 font-size. Added tooltips for projector controls. 2019-10-05 10:11:03 +02:00
Emanuel Schütze
50bd31a9a6
Merge pull request #5064 from GabrielInTheWorld/doubleHitProjector
Enhances the autoupdate of projector by change-id
2019-10-02 17:00:25 +02:00
Emanuel Schütze
c2c1186da9
Merge pull request #5063 from GabrielInTheWorld/addsTitleToAgenda
Extends the title of the agenda-items
2019-10-02 16:57:11 +02:00
GabrielMeyer
c8d02788dc Enhances the autoupdate of projector by change-id 2019-10-02 16:30:30 +02:00
GabrielMeyer
6c98fbcb83 Extends the title of the agenda-items 2019-10-02 15:48:43 +02:00
Sean Engelhardt
d4090122ef Refresh DataSource filter and sort
Cleanup some List View Table code
Fixes a bug where the search-filter was not applied after navigation
Fixes a bug where the search-filter and the property-filter and property-sort could not be used together
2019-10-02 13:35:18 +02:00
GabrielInTheWorld
1dc96b0f2f
Merge pull request #5002 from GabrielInTheWorld/coolestAgenda
Build agenda with optional subtitle
2019-09-30 10:51:55 +02:00
Emanuel Schütze
4a595a8abc Added meta noindex tag. 2019-09-27 18:19:47 +02:00
Emanuel Schütze
a9f03b61f4
Merge pull request #5060 from FinnStutzenstein/ws
Improved WS connection failure handling
2019-09-27 09:59:07 +02:00
FinnStutzenstein
97cda14a04 Improved WS connection failure handling 2019-09-27 07:41:36 +02:00
Emanuel Schütze
3f76a19bfc Updated translations. 2019-09-26 14:17:28 +02:00
Emanuel Schütze
f0dd88ddb8
Merge pull request #5056 from tsiegleauq/amendment-filter-for-motion-list
Adds amendment filter types to motion list
2019-09-25 17:01:18 +02:00
Sean Engelhardt
82fe7eea4b Adds amendment filter types to motion list
Adds the possibility to filter if a motion has amendments or is an amendment
2019-09-25 15:51:15 +02:00
Emanuel Schütze
7f49ead439
Merge pull request #5055 from tsiegleauq/fix-projector
Fix flickering projector button in lists
2019-09-24 22:04:30 +02:00
Sean Engelhardt
dc60d1254b Fix flickering projector button in lists
...
2019-09-24 21:31:51 +02:00
Sean
c848472642
Merge pull request #5053 from GabrielInTheWorld/savingCountdown
Saves the settings for countdown-controls
2019-09-24 20:30:56 +02:00
Emanuel Schütze
205bfa05ef
Merge pull request #5054 from emanuelschuetze/fixTranslation
Fix translation in assignment poll.
2019-09-24 20:22:55 +02:00
Emanuel Schütze
683f87b3ff Fix translation in assignment poll. 2019-09-24 19:06:44 +02:00
GabrielMeyer
7462918e43 Saves the settings for countdown-controls 2019-09-24 18:55:30 +02:00
Emanuel Schütze
a82789d201
Merge pull request #5052 from tsiegleauq/show-motion-context
Fix showing content of amendments
2019-09-24 18:02:40 +02:00
Sean Engelhardt
48321fa2b7 Fix showing content of amendments
Fixes an error where the "Show entire motion text" was not giving expected results
2019-09-24 16:33:48 +02:00
Sean Engelhardt
a4dd0acd53 Render lists in amendment overview PDF
Fixes an issue that lists where not sown in the amendment overview PDF
2019-09-24 16:10:21 +02:00
GabrielMeyer
71fdc28413 Build agenda with optional subtitle
- Updates the `virtual-scroll`-package.
- Updates the `list-view-table.component` for variable row-height.
- Adds config to have optional a subtitle in the `agenda-list`.
2019-09-24 11:15:28 +02:00
GabrielInTheWorld
534f2d1835
Merge pull request #5037 from GabrielInTheWorld/alwaysTheSameTitle
Sets always the title 'Current LOS' if current LOS
2019-09-23 18:18:47 +02:00
GabrielMeyer
9e407006f6 Sets always the title 'Current LOS' if current LOS 2019-09-23 17:31:45 +02:00
GabrielMeyer
07481feba5 Updates karma to prevent cancelling tests because of timeout 2019-09-23 16:55:53 +02:00
GabrielInTheWorld
a688bd0ffe
Merge pull request #5035 from GabrielInTheWorld/sortingReferMotions
Quick sorting the reference of motions by their identifier
2019-09-23 10:25:43 +02:00
GabrielInTheWorld
8e8fb4f3b9
Merge pull request #5036 from GabrielInTheWorld/paddingAgenda
Adds some more space for the 'speaker-button'
2019-09-20 08:45:04 +02:00
Emanuel Schütze
9e0817d2e8
Merge pull request #5038 from tsiegleauq/dynamic-scale-tiles
Scale motion tiles by viewport size
2019-09-19 19:43:40 +02:00
Sean Engelhardt
faa1d9c658 Scale motion tiles by viewport size
Also puts the desktop, tablet and phone declarations into an
own scss file that can be used via mixin
2019-09-19 15:23:34 +02:00
GabrielMeyer
0cac6b1e8d Quick sorting the reference of motions by their identifier 2019-09-19 15:06:03 +02:00
Emanuel Schütze
ee50191da6
Merge pull request #5026 from tsiegleauq/remove-duplicate-trust-implementation
Add trust pipe and remove duplicated functions
2019-09-19 14:56:12 +02:00
GabrielMeyer
4deabb0648 Adds some more space for the 'speaker-button' 2019-09-19 12:02:05 +02:00
Emanuel Schütze
d8296f3e62
Merge pull request #5034 from GabrielInTheWorld/permsOfAgenda
Fixes seeing list of speakers in topic-detail
2019-09-17 19:10:59 +02:00
GabrielMeyer
9d181d9b14 Fixes seeing list of speakers in topic-detail 2019-09-17 18:46:39 +02:00
Emanuel Schütze
27bd053d90
Merge pull request #5033 from GabrielInTheWorld/fixProjector
Sets default display-type on 'projector-button'
2019-09-17 17:47:03 +02:00
Emanuel Schütze
2df154995a
Merge pull request #5029 from GabrielInTheWorld/ugglyMotionCard
Fixes uggly opening of motion-card
2019-09-17 17:13:27 +02:00
GabrielMeyer
d27532fa3a Sets default display-type on 'projector-button' 2019-09-17 17:09:51 +02:00
Sean Engelhardt
e4e239ea29 Fixes a path issue in the projector
Removes an unnecessary / in the mediafile-slide that prevented
files from being resolved correctly in some configurations
2019-09-17 16:17:17 +02:00
GabrielMeyer
c3e112e7c2 Fixes uggly opening of motion-card
- Moves the `display: grid` to `.os-card`, since it causes the behavior.
2019-09-17 09:49:45 +02:00
Emanuel Schütze
43c7797226
Merge pull request #5025 from tsiegleauq/set-dont-set-identifier
Adjust workflow state naming
2019-09-16 17:36:47 +02:00
Sean Engelhardt
4e0f1409db Add trust pipe and remove duplicated functions
Adds a new shared pipe to set trusted HTML directly
from HTML components.
Removes all duplicates of "bypassSecurityTrustHtml"
2019-09-16 16:24:40 +02:00
Sean Engelhardt
ca97d4472d Adjust workflow state naming
Changes "set identifier" to "do not set idnetifier"
requires an update of the translations
2019-09-16 14:33:42 +02:00
Sean
4a83aa736e
Merge pull request #5022 from GabrielInTheWorld/projectorCPU
Fixes high cpu usage on 'projector-detail'
2019-09-16 13:17:13 +02:00
Sean Engelhardt
1cf332b15c Catch and show line numbering errors
Makes line number and motion detail more robust
2019-09-16 11:46:29 +02:00
GabrielMeyer
fe55faa884 Fixes high cpu usage on 'projector-detail'
- Also improving showing the spinner to have a slightly better UX.
2019-09-16 09:14:58 +02:00
Emanuel Schütze
03ab36096f Use openslides.com 2019-09-13 13:58:09 +02:00
Emanuel Schütze
902855a6e7
Merge pull request #4982 from tsiegleauq/better-mobile-tables
More mobile friendly lists
2019-09-13 13:57:36 +02:00
Sean Engelhardt
bd83a74830 More mobile friendly lists
More mobile friendly lists using menus
2019-09-13 13:37:59 +02:00
Emanuel Schütze
483de8800a
Merge pull request #5019 from GabrielInTheWorld/calcPolls
Changes the calculation of majority-methods
2019-09-13 11:24:42 +02:00
Emanuel Schütze
8eb1e8f242
Merge pull request #5013 from emanuelschuetze/translation-20190912
Updated translations
2019-09-13 11:01:23 +02:00
GabrielMeyer
2a66a3233d Changes the calculation of majority-methods
- Only one method for calculation.
- Only in case of 'simple majority' a '1' will be added to the rounded result.
2019-09-13 10:55:52 +02:00
Emanuel Schütze
5af32999ab
Merge pull request #5017 from GabrielInTheWorld/fixElection
Fixes the elections and prepares for future changes
2019-09-13 10:25:05 +02:00
Emanuel Schütze
4876c44305 Updated translations 2019-09-13 10:22:00 +02:00
GabrielMeyer
ba2bfdbf04 Fixes the elections and prepares for future changes 2019-09-13 10:04:39 +02:00
Emanuel Schütze
1da7ba51fd
Merge pull request #4993 from GabrielInTheWorld/trafficLights
Implements 'traffic lights' to the countdown-time
2019-09-13 09:11:28 +02:00
GabrielMeyer
d99a9c92c1 Implements 'traffic lights' to the countdown-time 2019-09-13 08:41:39 +02:00
GabrielMeyer
8996bd952f Ensures breaking the label of 'election-state' 2019-09-13 08:35:04 +02:00
Emanuel Schütze
11521c4ff2
Merge pull request #5012 from GabrielInTheWorld/paragraphDeleted
Fixes saving amendments with deleted paragraphs
2019-09-12 17:36:18 +02:00
GabrielMeyer
ad10a2b0d7 Fixes can create amendments if having permissions 2019-09-12 17:07:11 +02:00
GabrielMeyer
7ad8a40764 Fixes saving amendments with deleted paragraphs 2019-09-12 17:06:49 +02:00
Emanuel Schütze
15b90579ae
Merge pull request #5011 from tsiegleauq/NoCdOnDestroy
Fix change detecting dead views
2019-09-12 16:27:08 +02:00
FinnStutzenstein
875fc3aae0 Fix wrong routing state on initial page load 2019-09-12 15:42:38 +02:00
Sean Engelhardt
80db56c2eb Fix change detecting dead views 2019-09-12 15:11:00 +02:00
GabrielMeyer
97d0f92430 Fixes loading of data and hiding spinner 2019-09-12 13:52:45 +02:00
Emanuel Schütze
0ef02c6e87
Merge pull request #5008 from GabrielInTheWorld/fixUserNoAnonymous
Fixes showing guest, if user is not yet loaded
2019-09-12 13:11:36 +02:00
GabrielMeyer
07d84759c3 Fixes showing guest, if user is not yet loaded 2019-09-12 12:45:08 +02:00
Emanuel Schütze
30502a95c6
Merge pull request #5004 from GabrielInTheWorld/buildForVerdi
Adds amount of waiting speakers for xlsx-export
2019-09-12 11:39:27 +02:00
Emanuel Schütze
5651862813
Merge pull request #5007 from CatoTH/styling-bugfix-motion-annotations
Fix location of change recommendation annotations
2019-09-12 11:36:44 +02:00
Tobias Hößl
3d23eb26d3
Fix location of change recommendation annotations 2019-09-12 10:47:57 +02:00
GabrielMeyer
cc3047a284 Adds amount of waiting speakers for xlsx-export 2019-09-12 10:45:24 +02:00
Tobias Hößl
6be23c8d9d
Don't include amendments into changed view 2019-09-12 10:36:54 +02:00
Sean Engelhardt
16f18c6b4a Add cyclic change detection for the projector list
The projector list went nuts if the projectors are too large,
since they were all triggering the CD too much
This saves a lot of processing power
2019-09-11 13:57:31 +02:00
Sean
11922c2a12
Merge pull request #4979 from GabrielInTheWorld/sortingCallList
Implements the possibility to sort trees by a given property
2019-09-11 11:29:09 +02:00
Emanuel Schütze
b4f1c7d0f4 Updated translations 2019-09-10 17:42:19 +02:00
Emanuel Schütze
b949761404
Merge pull request #4997 from GabrielInTheWorld/funWithState
Changes the order of states in filter
2019-09-10 17:31:13 +02:00
Emanuel Schütze
35bcfe39a5
Merge pull request #4996 from GabrielInTheWorld/preventLeavingChildsHere
Disables the animations
2019-09-10 17:31:03 +02:00
GabrielMeyer
028ce16bb9 Changes the order of states in filter
- 'Done' and 'undone' are moved up to top.
2019-09-10 17:08:34 +02:00
GabrielMeyer
8dc359dffb Disables the animations
- No animations prevent leaving some html-elements on the site, until the routing-event has finished.
2019-09-10 15:15:33 +02:00
Sean Engelhardt
c33fbc2198 Add amendment overview list as pdf
Adds an option to export the/a table of amendments as pdf
2019-09-10 15:08:55 +02:00
Emanuel Schütze
6c7db17641
Merge pull request #4992 from FinnStutzenstein/reworkPersonalNotes
Single create and update request for personal notes
2019-09-10 13:40:46 +02:00
Emanuel Schütze
44f16b6125
Merge pull request #4989 from tsiegleauq/amendment-list-title
Add the title too the amendments page
2019-09-10 13:26:49 +02:00
FinnStutzenstein
76ff4602a2 Single create and update request for personal notes 2019-09-10 12:34:26 +02:00