Commit Graph

1406 Commits

Author SHA1 Message Date
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
Sean Engelhardt
96f88b54d5 Add the title too the amendments page
Adds an observable view model of the parent motion to the amendment list page to show the title
2019-09-10 12:28:37 +02:00
GabrielMeyer
c0ded6f32e Adds a variable to hide the motion-text on projector 2019-09-10 08:34:28 +02:00
GabrielMeyer
1ec5dfbb88 Implements the possibility to sort trees by a given property
- Separates the base sorting function to a lower service, called `base-sort.service`.
- Adds the `tree-sort.service`.
2019-09-09 15:44:08 +02:00
Emanuel Schütze
89375ae133 Updated translations 2019-09-09 11:01:35 +02:00
Emanuel Schütze
3b64ca0954
Merge pull request #4987 from emanuelschuetze/nogoogletranslate
Disable Google translate on entire page.
2019-09-06 12:27:45 +02:00