Commit Graph

1611 Commits

Author SHA1 Message Date
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
Emanuel Schütze 889786d82b Disable Google translate on entire page. 2019-09-06 12:06:40 +02:00
Sean Engelhardt f7da089332 Add more permission checks to file manager
Adds permission checks for "can manage logos and fonts" to file manger
Fixes a bug where the change detection ignored changes in menus
2019-09-06 10:44:43 +02:00
Emanuel Schütze 975f8dc169
Merge pull request #4971 from FinnStutzenstein/anonymousImprovements
Improves the sidebar for anonymous users and routing
2019-09-05 15:40:19 +02:00
Emanuel Schütze 4665c5be32
Merge pull request #4984 from tsiegleauq/motion-list-menu-order
Reorder motion list menu
2019-09-05 15:33:10 +02:00
Emanuel Schütze be77723b55
Merge pull request #4983 from tsiegleauq/mobile-edit-button
Adds the correct icon to the mobile action button
2019-09-05 15:12:39 +02:00
Sean Engelhardt ff2b520013 Reorder motion list menu
Changes the order of the motion list menu
2019-09-05 14:59:22 +02:00
Sean Engelhardt 466c72bee8 Adds the correct icon to the mobile action button
Fixes an error where the name of an icon was shown instead of the icons
Adds the projector to agenda detail
2019-09-05 14:48:04 +02:00
Emanuel Schütze 20f1f982ae
Merge pull request #4976 from GabrielInTheWorld/improvingSuperSearch
Improves the global search to find IDs
2019-09-05 14:17:27 +02:00
Emanuel Schütze 5c83eb824a
Merge pull request #4974 from tsiegleauq/amendment-sort-by-line
Add sort service for amendments
2019-09-05 14:14:11 +02:00
Emanuel Schütze dd22d98c25
Merge pull request #4978 from GabrielInTheWorld/permissionsMotionBlock
Fixes permissions for motion-blocks
2019-09-05 14:11:06 +02:00
Sean Engelhardt 91329a8338 Add sort service for amendments
Adds the posibility to sort amendments by the parents identifier
and line number.

Patches the amendment model by their diff lines in runtime
2019-09-05 13:49:27 +02:00
FinnStutzenstein b3ba3dac95 Improves the sidebar for anonymous users and routing 2019-09-05 09:52:31 +02:00
FinnStutzenstein b9674baa6c Fixed lost cofig values from editor fields 2019-09-05 08:49:40 +02:00
GabrielMeyer bd9d93061d Fixes permissions for motion-blocks
- Only users with permission `motions.can_manage` can remove motions from motion-block.
2019-09-04 12:04:33 +02:00
GabrielMeyer 1d5b1b4fed Improves the global search to find IDs
- Considers the 'id' of objects for search.
2019-09-04 11:31:03 +02:00
GabrielMeyer 9b9f256cfd Fixes the expansion panel layout 2019-09-04 10:53:23 +02:00
Emanuel Schütze 82d9f280ed Added new Russian language. Updated Czech translations. 2019-09-04 09:34:55 +02:00
Emanuel Schütze 367c06bb02
Merge pull request #4949 from GabrielInTheWorld/lostDeep
Cleans up the stylesheets a little bit
2019-09-03 22:04:02 +02:00
FinnStutzenstein 9323bdef20 Added config for more verbose errors on reset password
- Added settings.py docs
- Fixed left-overs from #4920
- Reworked all server messages to a new argument formet, so that the
client can translate server messages
2019-09-03 14:47:45 +02:00
Emanuel Schütze a193cc1e3f
Merge pull request #4973 from GabrielInTheWorld/fixSpinner
Improves the spinner
2019-09-03 13:33:44 +02:00
GabrielMeyer d354461784 Cleans up the stylesheets a little bit
- Removes all `::ng-deep`
- Merges some re-used styles to one stylesheet
- The icon to open the global search will always be seen in the headbar
2019-09-02 17:33:42 +02:00
GabrielMeyer 32bfd4599a Improves the spinner
- The spinner shouldn't appear, if the user is logged in.
2019-09-02 17:01:01 +02:00
Emanuel Schütze 5ed8032c6b
Merge pull request #4972 from GabrielInTheWorld/agendaPDFExport
Removes the item-number from items in PDF
2019-09-02 16:11:13 +02:00
GabrielMeyer cc456fdb5a Removes the item-number from items in PDF
- ...for exporting the agenda-list.
- Fixes #4965
2019-09-02 15:57:43 +02:00
FinnStutzenstein 9518d1dab6 Small changes 2019-09-02 15:02:31 +02:00
GabrielMeyer 79e879cb6e Adds config to see a max number of next speakers
- Also updates the 'list of speakers' on the `overlay-slide`.
2019-09-02 14:03:34 +02:00
Emanuel Schütze 216c279d48 Fixed motion submitter check. 2019-09-02 11:23:10 +02:00
Emanuel Schütze ecd107bf73
Merge pull request #4960 from GabrielInTheWorld/someUI
Improves some user-interfaces for motion-detail
2019-09-02 10:20:21 +02:00
Emanuel Schütze a450646008
Merge pull request #4963 from tsiegleauq/angular-8.2
Update to angular 8.2
2019-09-02 10:13:34 +02:00
Emanuel Schütze d7105d91c9 Updated translations 2019-08-30 11:26:29 +02:00
GabrielMeyer ef8508d2d2 Improves some user-interfaces for motion-detail 2019-08-30 11:16:14 +02:00
Sean Engelhardt 62825f41b0 Update to angular 8.2
Increase the version of angular and our components
2019-08-30 10:57:28 +02:00
Sean 53dbcca85a
Merge pull request #4950 from GabrielInTheWorld/config-datetimepicker
Adds a picker for date and time in config
2019-08-29 11:43:50 +02:00
Emanuel Schütze 9b7a863515
Merge pull request #4958 from tsiegleauq/mediafiles-navbar-spam
Add scrollable folderbar to mediafile
2019-08-28 15:35:36 +02:00
Emanuel Schütze 5b11b672a2
Merge pull request #4951 from tsiegleauq/better-amendments-list
Enhance amendment list and routing logic
2019-08-28 14:57:48 +02:00
Sean Engelhardt 3af30bf7a1 Add scrollable folderbar to mediafile
- Cleansup the horrizontal scroller code
- make the folder bar scrollable
- Cleanup the way folder permissions are shown
2019-08-28 14:53:05 +02:00
Sean Engelhardt 985aeb095b Enhance amendment list and routing logic
Enhances routing logic and amendment list
2019-08-28 14:30:41 +02:00
Emanuel Schütze 4400d805f5
Merge pull request #4956 from GabrielInTheWorld/projectorUI
Improves the layout of the projector
2019-08-28 12:18:36 +02:00
GabrielMeyer 453e639d2f Improves the layout of the projector
- Adds a grid-layout to have a flexible view for different devices
2019-08-28 11:59:56 +02:00
GabrielMeyer c38142dc40 Hotfix for preview on firefox 2019-08-28 11:53:23 +02:00
Emanuel Schütze 899eedf403
Merge pull request #4955 from GabrielInTheWorld/hotfixSuperSearch
Hotfix for global search
2019-08-28 09:23:07 +02:00
GabrielMeyer cf2b933a70 Hotfix for global search 2019-08-27 16:50:06 +02:00
Emanuel Schütze d336f0fea0 Updated translations 2019-08-27 15:29:11 +02:00
Joshua Sangmeister 90dd843d43 added a datetimepicker to the config, including localisation.
also changed from NativeDateAdapter to MomentDateAdapter.
2019-08-27 14:36:04 +02:00
Sean a9720b2211
Merge pull request #4944 from GabrielInTheWorld/fixMetaTextBlock
Checks, if content is too large and hide it in 'meta-text-block'
2019-08-27 10:35:28 +02:00
Sean a36cf7b0c5
Merge pull request #4947 from tsiegleauq/terminate-web-worker
Add termination to pdf webworker
2019-08-27 10:16:14 +02:00
GabrielMeyer c49ea53ab1 Checks, if content is too large and hide it in 'meta-text-block'
- Also updates the library 'css-element-queries'.
- Builds a directive to check, if the scroll-height of an element
has changed.
2019-08-27 10:00:04 +02:00
Sean Engelhardt 64c6327720 Add termination to pdf webworker
Allows to cancel the PDF generation by clicking a cancel-button
2019-08-27 09:58:30 +02:00
GabrielMeyer 9a6efc0403 Adds a handler for 'sorting-tree's
- Also fixes drag-handling for mobile-devices.
2019-08-27 09:36:48 +02:00
Emanuel Schütze a05a81b1b2
Merge pull request #4948 from GabrielInTheWorld/replaceSpinner
Replaces the new spinner with the old one
2019-08-27 09:12:59 +02:00
GabrielMeyer 421feb8e72 Replaces the new spinner with the old one
- The spinner from Angular/Material in `global-spinner.component` is replaced by the old, custom one.
2019-08-26 18:07:18 +02:00
Sean 13e18c82e3 Prevent wrong bulk-change-state operations
Prevents to change the state of multiple motions, if given motions are
in different workflows
2019-08-26 17:11:40 +02:00
Sean e3a7cbf935
Merge pull request #4890 from GabrielInTheWorld/freshSearch
Implements the 'global search' and moves the 'global spinner' to 'site.component'
2019-08-26 16:53:38 +02:00
Emanuel Schütze 900ba55a06
Merge pull request #4942 from tsiegleauq/tinymce-mobile-save
Add usage hints to tinymce mobile
2019-08-26 15:28:04 +02:00
Sean Engelhardt af8b49450b Enhance amendment wizard
- close button instead of back-button
- "are you sure" prompt if chances to the wizard were made
- edit and save events, like every other view
- enhanced next, previous, create logic that follows validation

also:
- fixed a bug with custom cancel events in the head-bar
- mobile button has the correct icon again
2019-08-26 13:51:25 +02:00
GabrielMeyer 5f29732e26 Implements the global 'super-search.component'
- Moves the 'spinner.component' to 'site.component'
- Replaces also the 'spinner.service' with an 'overlay.service', that handles all request to
show an element on an overlay.
2019-08-26 11:30:20 +02:00
Emanuel Schütze b1c02133ee
Merge pull request #4941 from tsiegleauq/firefox-amendment-list
Add manual change detection in amendment list
2019-08-23 08:37:16 +02:00
Emanuel Schütze afb804b7a2
Merge pull request #4939 from tsiegleauq/filter-has-speaker
Add speakers-filter to motion list
2019-08-23 08:35:47 +02:00
Sean Engelhardt 49ea32f495 Add usage hints to tinymce mobile
shows "dont forget to save" and "touch the book to edit" messages if the tinymce
mobile editor was called from motion comments and personal notes
2019-08-22 17:47:31 +02:00
Sean Engelhardt 04c51949be Add manual change detection in amendment list
Again a firefox issue.
Cycleing change detection crashed the browser
2019-08-22 16:07:54 +02:00
Sean Engelhardt dee41593c4 Add speakers-filter to motion list
The motion list (and the amendment list) now have an option to filter if speakers are present on the corresponding LOS-object to the displayed motions
2019-08-22 15:39:18 +02:00
Emanuel Schütze 74c2d58e70
Merge pull request #4938 from tsiegleauq/projector-cd
Add change signals for the listview
2019-08-22 15:12:14 +02:00
Emanuel Schütze 216f34c51b
Merge pull request #4937 from tsiegleauq/pdf-empty-page
Fix empty PDF TOC page
2019-08-22 15:09:54 +02:00
Emanuel Schütze 1900ecb1ea
Merge pull request #4928 from GabrielInTheWorld/fixIE
Adds compiling to ES5 for IE11
2019-08-22 15:00:15 +02:00
Emanuel Schütze 4c2f7828bc Exclude urls /rest and /apps from service worker caching. 2019-08-22 14:23:12 +02:00
Sean Engelhardt 0f606b5a7e Add change signals for the listview
The projector-button now emits a signal if changed
List-of-speaker-button is now able to detect it's own updates
2019-08-22 14:01:17 +02:00
Sean Engelhardt 0939df17c9 Fix empty PDF TOC page
Fixed a bug that occured, when the pdf TOC had no motions without a category.
In this case, an empty page, that was reserved for motions without category
was printed
2019-08-22 10:47:37 +02:00
GabrielMeyer c42a9b4a13 Adds compiling to ES5 for IE11 2019-08-21 17:34:05 +02:00
Emanuel Schütze b80ac3ac68
Merge pull request #4936 from emanuelschuetze/translation-20190821
Updated translations
2019-08-21 15:26:01 +02:00
Emanuel Schütze 8f8c359874
Merge pull request #4935 from tsiegleauq/storage-key
Readd filter store keys
2019-08-21 15:23:29 +02:00
Emanuel Schütze c0aaa2d53c Updated translations 2019-08-21 15:11:57 +02:00
Sean Engelhardt 5a7b32e3cd Readd filter store keys
Adds custom storage keys to the filter list again
prevents a problem that appears on minified code
2019-08-21 14:53:07 +02:00
Emanuel Schütze ae110b9db1
Merge pull request #4934 from tsiegleauq/firefox-exporter-comment-bug
Fix firefox comment export
2019-08-21 14:43:30 +02:00
Emanuel Schütze 7447052a1d
Merge pull request #4932 from emanuelschuetze/motionSlideRework
New config to hide referring motions in slide and detail view
2019-08-21 14:41:11 +02:00
Sean Engelhardt 323a0604a1 Fix firefox comment export
Fixes an issue where motion comments where breaking the
motion export dialog in firefox
2019-08-21 14:15:49 +02:00
Emanuel Schütze ffa16b2190
Merge pull request #4929 from tsiegleauq/earlier-pdf-progress-spinner
Earlier PDF progress bar
2019-08-21 14:04:23 +02:00
Emanuel Schütze 862d8cdee9 New config to hide referring motions in slide and detail view
Rework motion slide:
- move referring motions to h2 subtitle
- move identifier to h1 main title
- reduce subtitle line
2019-08-21 14:00:17 +02:00
Emanuel Schütze d3c56efdc5
Merge pull request #4920 from emanuelschuetze/configDefaults
Rework config defaults.
2019-08-21 13:48:55 +02:00
Sean Engelhardt 1d566feab6 Earlier PDF progress bar
Shows an indeterminate spinner before the actual PDF creation
2019-08-21 13:35:17 +02:00
Emanuel Schütze f981106524 Rework config defaults.
- move motion setttings from settings.py to config that user can change
  it while runtime
- show help text for config fields as tooltip
2019-08-21 13:19:44 +02:00
Emanuel Schütze af0c00c89a
Merge pull request #4931 from GabrielInTheWorld/offlineForTheWin
Replaces the snackbar for offline-mode with a banner.
2019-08-21 13:15:09 +02:00
Sean 180aad853b
Merge pull request #4933 from GabrielInTheWorld/fixAttachments
Fixes directories as attachments
2019-08-21 11:34:09 +02:00
GabrielMeyer 4dd79296e8 Fixes directories as attachments
- Directories are not available anymore.
2019-08-21 10:57:22 +02:00
GabrielMeyer c5f90b0972 Replaces the snackbar for offline-mode with a banner. 2019-08-20 16:56:53 +02:00
Sean df429a7d8a
Merge pull request #4930 from GabrielInTheWorld/showNumberOrLetIt
Sets the default value for sequential numbers in export dialog
2019-08-20 14:48:33 +02:00
Sean 1d1ddbd6e4
Merge pull request #4927 from tsiegleauq/better-motion-detail-ui
Overwork motion detail UI
2019-08-20 13:52:44 +02:00
Sean Engelhardt d739b982bb Overwork motion detail UI
set Default action to "create amendment" (if permitted)
put edit in the menu
put next and prev motion in the menu (mobile)
resort motion menu
move "show enitre motion text" under the motion-preview
change "show entire motion text" from button to checkbox
create a custom tooltip for the main action in os-head-bar
create a custom "cancel edit" function in os-head-bar
overwork location.back logic
2019-08-20 12:42:50 +02:00
GabrielMeyer 3b9491224f Sets the default value for sequential numbers in export dialog 2019-08-20 12:37:42 +02:00
Emanuel Schütze 14d7269959
Merge pull request #4926 from tsiegleauq/hide-amendments-from-motion-list
Add option to hide amendments
2019-08-20 12:00:25 +02:00
Sean Engelhardt e7357a5b64 Add option to hide amendments
Enables to hide amendments from the motion list
Allows to search through amendment paragraphs in the list view of amendments
2019-08-19 16:25:35 +02:00
FinnStutzenstein 78d2766a2c Added missing error handling 2019-08-19 12:12:22 +02:00
Sean Engelhardt 13e1c01bb6 Add amendment list
Adds a new ListView to show all amendments.
The list view can be acessed from both the motion list and the motion detail list
2019-08-16 09:27:41 +02:00
Emanuel Schütze bfccf4cd2b
Merge pull request #4923 from tsiegleauq/motion-block-detail-layout
Unify motion block detail
2019-08-15 14:57:45 +02:00
Sean Engelhardt 1fc0ec02a9 Unify motion block detail
Changes motion block list to look and feel like all the other lists
2019-08-15 14:40:10 +02:00
Finn Stutzenstein c641a5ba3e
Merge pull request #4917 from FinnStutzenstein/relationFix
Fixed two little issues with relations and reverse mapping
2019-08-15 13:29:02 +02:00
FinnStutzenstein 1d718dcb74 Fixed two little issues with relations and reverse mapping
- Reverse setup for normal autoupdates (no initial loading)
- reverse "set null" to be reflected to the mapping

Also fixed a bug with redis
2019-08-15 12:51:59 +02:00
Sean 7fa94ab942
Merge pull request #4919 from emanuelschuetze/fixes
Enhance meta-text-block layout and wording
2019-08-15 12:50:10 +02:00
Sean Engelhardt 1ecd5d663b Update NGrid and fix build errors
Set NGrid fix to alpha 26, since travis has issues with 27
Uses high memory to build, since a JavaScript heap out of memory exception will now be thrown
2019-08-15 12:01:09 +02:00
Emanuel Schütze 8e38fbbccf Fixes
- fix filter and wording for new personal notes tile
- break long words in comment and personal note boxes
- remove h4 headings for comment and personal note boxes
2019-08-14 20:24:35 +02:00
Sean 1c7b910a4a
Merge pull request #4909 from GabrielInTheWorld/layoutMotionBlock
Improves the layout of motion-block-list
2019-08-14 11:51:47 +02:00
GabrielMeyer 5106b9dc71 Improves the layout of motion-block-list
- Full size
- Adds the `sort-filter-bar.component`.
- `sort-filter-bar.component` displays the current and total count of filtered items by default, now.
2019-08-14 11:36:30 +02:00
Emanuel Schütze 4988b758ba
Merge pull request #4916 from GabrielInTheWorld/fixUserIcons
Changes the icon of 'is gremium' and 'is active'
2019-08-13 16:32:22 +02:00
GabrielMeyer dfa4cffe8c Changes the icon of 'is gremium' and 'is active' 2019-08-13 16:16:32 +02:00
Sean bcf495e49f
Merge pull request #4889 from jsangmeister/categories-vscroll
Implemented Virtual Scrolling for Categories
2019-08-13 16:05:23 +02:00
jsangmeister d65751c5da Add virtual scrolling for categories
StorageService is now required in BaseListView.
Adds a dialog to create categories
2019-08-13 15:43:54 +02:00
Emanuel Schütze 8555516a53
Merge pull request #4913 from tsiegleauq/smarter-motion-tiles
Add Smarter motion tiles and filters
2019-08-13 15:03:07 +02:00
Emanuel Schütze 385e5bc7ab
Merge pull request #4910 from emanuelschuetze/translation-typo
Fixed German translation typo.
2019-08-13 14:02:27 +02:00
Sean Engelhardt a39d9b5843 Add Smarter motion tiles and filters
Removes motion tiles for subcategories
Sort motion-special tiles always behind category tiles
Add new logic to build tiles
Filter subcateories with their parent
2019-08-13 13:54:29 +02:00
Sean 7f600d4369
Merge pull request #4908 from GabrielInTheWorld/topicSearch
Adds the option to filter a list by function-values
2019-08-13 12:03:51 +02:00
GabrielMeyer 6e059cf82e Adds the option to filter a list by function-values
- In `agenda-list.component` the user can search through the name of the topic.
2019-08-12 14:43:01 +02:00
FinnStutzenstein 0e4090c901 Reverse relations 2019-08-12 14:12:55 +02:00
Emanuel Schütze ce3d320201 Fixed German translation typo. 2019-08-12 14:05:00 +02:00
Finn Stutzenstein ed99fc8c91
Merge pull request #4898 from FinnStutzenstein/cascadeCategories
Cascade categories on delete
2019-08-12 07:49:13 +02:00
Sean c593d852ef
Merge pull request #4903 from tsiegleauq/multiselect-media-files
Multiselect in mediafiles
2019-08-09 10:32:27 +02:00
Sean Engelhardt a97ca18c36 Multiselect in mediafiles
Allows multiselect on mediafiles using the new folder structure
Add bulk delete on server
Add movement logic and path view
2019-08-09 10:08:45 +02:00
Emanuel Schütze b206a5b5d4
Merge pull request #4877 from tsiegleauq/translations-2019-07
Updated translations
2019-08-08 16:49:55 +02:00
Sean Engelhardt 490672472a Updated translations 2019-08-08 16:34:59 +02:00
Sean Engelhardt 291a3b35e8 Show subcategory in detail for every permission
Shows subcat. withoug manage rights
Hide empty recommendation field if the user cannot manage it
2019-08-08 16:22:33 +02:00
FinnStutzenstein 5aef823807 Major cache rewrite:
- Removed the restricted data cache (it wasn't used since OS 3.0)
- unify functions for restricted and full data: Just one function, which
  accteps an optional user_id: If it is None, full data is returned, and
  with a user id given, the restricted data
- More atomic access to redis, especially for:
- Check for data-existance in redis and do an auto-ensure-cache.
- Speedup through hashing of scripts and redis' script cache.
- Save schema version into the redis cache and rebuild, if the version
  changed

Client changes:
- Simplified the ConstantsService
- Fixed bug, when receiving an autoupdate with all_data=True from the
  Server
2019-08-08 08:35:02 +02:00
Sean f25a8aefb2
Merge pull request #4888 from jsangmeister/dialogs-everywhere
Replaced multiple inline forms with dialogs
2019-08-06 15:53:35 +02:00
Finn Stutzenstein a804f26162
Merge pull request #4755 from FinnStutzenstein/clientErrorHandling
Client error handling
2019-08-06 15:22:16 +02:00
Joshua Sangmeister ad432dddc0 w 2019-08-06 11:57:23 +02:00
Joshua Sangmeister ce50ce2eb9 w 2019-08-06 10:56:37 +02:00
Joshua Sangmeister b7c9b3f2ae w 2019-08-06 09:56:38 +02:00
Joshua Sangmeister 30c93f3990 w 2019-08-06 09:26:11 +02:00
jsangmeister 1bd93f0e98 added dialogs for creating and editing tags, statute paragraphs, motion comments and motion blocks 2019-08-06 08:03:59 +02:00
FinnStutzenstein d182c2c36f Cascade categories on delete 2019-08-05 13:12:10 +02:00
FinnStutzenstein bdb206624b Fix user loading in ViewSpeaker 2019-08-05 12:08:43 +02:00
Sean Engelhardt 357b55ae43 Adjust compodoc to the new location of tsconfig 2019-08-02 12:23:17 +02:00
Sean 1f57bcfa91
Merge pull request #4894 from tsiegleauq/deeply-unsatisfactory-meme-resolved
Change the size of search-filter-bar
2019-08-02 10:43:24 +02:00
Sean Engelhardt 9adf3f7647 Change the size of search-filter-bar
Looks less random and more homogeneous now
2019-08-02 10:02:30 +02:00
Sean Engelhardt 0ce5ab1eec Visualize closed lists of speakers
Hints if a list of speakers is closed or not
2019-08-01 15:49:59 +02:00
Sean bc99750869
Merge pull request #4891 from FinnStutzenstein/fixProjectorScroll
Correct projector scroll reset
2019-08-01 14:03:45 +02:00
Sean Engelhardt 6123216afc Add pdf webworker and progress bar
Generate PDF in the background using webworker
Shows a progress bar to estimate the PDF generation progress
2019-08-01 13:23:56 +02:00
FinnStutzenstein 4d4b9ac997 Include current configs in old history snapshots 2019-08-01 12:45:09 +02:00
Finn Stutzenstein 0383f824d7
Merge pull request #4874 from FinnStutzenstein/history
Improve history
2019-08-01 11:19:57 +02:00
FinnStutzenstein 35e88b8386 Correct projector scroll reset
Fixes the "everytime reset" with #4887
2019-08-01 08:03:34 +02:00
Sean 62c55094bb
Merge pull request #4887 from GabrielInTheWorld/saveTheProjector
Updates the projector
2019-07-31 15:26:46 +02:00
Sean 36833c6206
Merge pull request #4886 from GabrielInTheWorld/saveTheMemberWithStars
Adds icons to display status 'inactive', 'is present' and 'is committee'
2019-07-31 15:08:14 +02:00
GabrielMeyer bd03300ee0 Exports the settings for the dialogs to a separate file.
- Includes a constant for small, medium and large dialogs.
2019-07-30 15:59:15 +02:00
GabrielMeyer 6fdd2de3c0 Updates the projector
- The height is resetting by changing the slide.
- The user does not see a 'moving'-cursor by hovering over the projector-icon in the queue.
2019-07-30 14:24:50 +02:00
GabrielMeyer e487b8fec8 Adds icons to display status 'inactive', 'is present' and 'is committee'
- In `user-list.component` and in `user-detail.component`
- Also removes the method `getUserTooltip()` from `base-list-view.ts`
2019-07-30 13:44:15 +02:00
Finn Stutzenstein 29e06bf7ea
Merge pull request #4884 from FinnStutzenstein/superadminDirective
Added IsSuperAdmin directive
2019-07-30 13:27:05 +02:00
GabrielMeyer 2a1a44ee5a Saves the value of the local search in 'list-view-table'
- Builds a new component 'rounded-input' to have a input-field with rounded borders.
- Saves the input on every change in the local storage.
- In the `OnInit`-function this value is restored.
2019-07-30 10:57:55 +02:00
FinnStutzenstein a0501ccf74 Improve history 2019-07-30 10:40:36 +02:00
FinnStutzenstein f876d1c1fa Added IsSuperAdmin directive 2019-07-30 10:12:21 +02:00
FinnStutzenstein 51a3fbdf3e New linting rules and ordering of imports 2019-07-30 09:53:14 +02:00
FinnStutzenstein dd66244d84 Generic relations for the repos 2019-07-30 09:07:51 +02:00
Sean 13e8bbb168
Merge pull request #4873 from GabrielInTheWorld/uiFixes
Fixes some UI issues
2019-07-26 12:04:56 +02:00
GabrielMeyer b5b3e60e81 Fixes some UI issues corresponding to the theme
- Fixes white page at 'legalnotice' and 'privacypolicy'
- Fixes the button to collapse the sidenav
- Fixes a too long text in the headbar
- Reworked the login data service:
    * make order of operations clear
    * prevent setting invalid data into the storage
2019-07-26 11:47:04 +02:00
Sean Engelhardt db30831d3e Add better change detection to MediaFiles
There was a chance that the file browser did not update after creating or renaming a folder.
2019-07-26 10:41:46 +02:00
Sean ec853e5aba
Merge pull request #4868 from FinnStutzenstein/userBulkViews
Group add/remove bulk view
2019-07-25 11:27:28 +02:00
Sean 85fa114fa0
Merge pull request #4860 from GabrielInTheWorld/fixSorting
Implements a custom sorting for categories
2019-07-25 10:28:57 +02:00
Sean ff7978b8ae
Merge pull request #4843 from GabrielInTheWorld/uiImprovements
Fixes dynamic growing cells in workflows
2019-07-25 10:26:20 +02:00
Sean 1d89bc6b30
Merge pull request #4875 from tsiegleauq/table-no-data
Add various UI refinement
2019-07-25 09:52:31 +02:00
Sean d330a4ca97
Merge pull request #4876 from tsiegleauq/refactor-PDF-TOC
Fix PDF TOC header
2019-07-25 09:42:42 +02:00
Sean Engelhardt 31ab7d387c Fix PDF TOC header
Fixes an error where the PDF TOC header could not be repeated.
PDFmake seems to ignore soft references to objects. It will print them exactly once and then ignore them.

Also Adds the name of a parent category in a TOC-Table
2019-07-24 16:56:22 +02:00
Sean Engelhardt 0c9732ec7d Add various UI refinement
- "no data" in VScroll tables
- "no data" in File manager
- VScroll to angular theme (dark mode, etc)
- Prettier history table
2019-07-23 15:59:24 +02:00
GabrielMeyer ac9bcf8539 Implements a custom sorting for categories
- If the motion-list is sorted by categories, the category is internal sorted by the `category_weight` of the motion
- Adds a slot to pass a custom sorting function to the `sort-filter-bar.component`
2019-07-23 15:27:21 +02:00
GabrielMeyer bb55110245 Fixes dynamic growing cells in workflows
- The cells in the table of a workflow are dynamically growing
- The colors of the states get new labels
- If multiple selection in motion-list is active, the button to change the view won't be seen
2019-07-23 15:01:35 +02:00
FinnStutzenstein a60719bcc4 Added error message for connection refused errors sending emails 2019-07-23 14:12:05 +02:00
Sean Engelhardt 2d908c9ee6 Hotfix mediafiles fore firefox
firefox requires special treatment. Again.
2019-07-23 13:08:29 +02:00
FinnStutzenstein bbb8a84f5c Group add/remove bulk view 2019-07-23 12:06:26 +02:00
Sean e28f0f6685
Merge pull request #4867 from tsiegleauq/file-manager-permissions
Add permissions to media files
2019-07-23 11:19:48 +02:00
Sean Engelhardt 2071cbe4c4 Add permissions to media files
Adds a set of permissions to the new file manager
2019-07-23 10:42:06 +02:00
FinnStutzenstein 1e177917d0 Bulk views for users: state, password and delete 2019-07-23 08:41:39 +02:00
Finn Stutzenstein 61002a6bad
Merge pull request #4865 from FinnStutzenstein/MotionCommentSectionSorting
sorting of motion comment sections
2019-07-22 16:03:13 +02:00
Sean Engelhardt ce57f88adb Add motion comment section sort view 2019-07-22 15:46:26 +02:00
Sean 5c660a373f
Merge pull request #4863 from tsiegleauq/ngrid-real-search-filter
Implement NGrids filter function
2019-07-22 12:19:04 +02:00
Sean e3f3108f8c
Merge pull request #4841 from GabrielInTheWorld/globalSearch
Refactores the 'global search'
2019-07-19 15:24:54 +02:00
FinnStutzenstein 74647dc75d sorting of motion comment sections 2019-07-19 14:37:59 +02:00
Sean Engelhardt 2372408e4c Implement NGrids filter function
- Implements NGrids new "filteredData" function, to restore old filter behavior.
Export a quick-filtered list is now possible.

- More controll about List-View-Table UI

- Use NGrid target-events for better mutli-select behavior

- Changes the behavior of hidden headers to ignore paddings-changes

- filters are more resistant to errors and storage loss
2019-07-19 14:35:24 +02:00
FinnStutzenstein 23c704b5da Projector improvements
- Moved projector configs to group "General"
- Removed unused projector config related to CLOS
- debounce projector data requests for many projectors
- add (foreground) color
- custom, modifiable CSS classes per projector to cascade dynamic styles into slides
2019-07-19 12:43:45 +02:00
Sean ee559500fb
Merge pull request #4792 from GabrielInTheWorld/formValidationForTheWin
Form validation
2019-07-19 12:32:31 +02:00
GabrielMeyer 5e922f66d2 Refactores the 'global search' 2019-07-17 15:11:36 +02:00
GabrielMeyer 4e0e641002 Form validations
The system validates the input of the users.
In most cases, if a form is invalid, the user has no chance to save his changes.
2019-07-17 15:09:38 +02:00
Sean 450819c035
Merge pull request #4858 from FinnStutzenstein/littleFixes
Little fixes
2019-07-17 13:54:54 +02:00
Sean ee9909308f
Merge pull request #4856 from GabrielInTheWorld/util-fixes
Fixes some autocompleted inputs
2019-07-17 13:38:48 +02:00
FinnStutzenstein 88162dd1e9 Little fixes
- Fixed bug for deleted candidates
- Prevent deleting group 1 and 2
- Creation of topics
2019-07-17 13:16:36 +02:00
GabrielMeyer f23b901622 Fixes some autocompleted inputs 2019-07-17 08:32:46 +02:00
Sean 51130da791
Merge pull request #4844 from MaximilianKrambach/sortList
fixing multiselect sort in sorting lists
2019-07-16 11:38:03 +02:00
Sean bb7b702e05
Merge pull request #4846 from tsiegleauq/subcat-filter-and-ui
Enhance subcategories
2019-07-16 11:29:33 +02:00
Sean 4de1c526e9
Merge pull request #4842 from GabrielInTheWorld/headbar
Removes the second row for the headbar
2019-07-16 11:26:46 +02:00
Sean b9cf1ef93a
Merge pull request #4850 from GabrielInTheWorld/csvCommentsExportTwo
Exporting comments in CSV
2019-07-16 11:06:21 +02:00
GabrielMeyer 457fc570a0 Removes the second row for the headbar
- Instead of the second row there is a toggle-button at the bottom of the side-nav
2019-07-16 10:52:21 +02:00
Sean Engelhardt 530dcf490a Enhance subcategories
- show parents over children in motion list, motion detail and PDF
- indent children of categories in the filter list
2019-07-16 10:48:48 +02:00
GabrielMeyer 8337f8928c Exporting comments in CSV 2019-07-16 10:39:53 +02:00
Sean Engelhardt d036fe6046 Add file manager patches for firefox
Lowers the change detection attempts to fix the file manager
for firefox
2019-07-15 17:49:30 +02:00
Emanuel Schütze 1c3d60fe39
Merge pull request #4853 from emanuelschuetze/comments-fix
Fixed XLSX export for empty comments.
2019-07-14 21:15:03 +02:00
Emanuel Schütze 1347c1fb64 Fixed XLSX export for empty comments. 2019-07-14 20:54:38 +02:00
Tobias Hößl e5a27205d3
Bugfix: missing text in PDF-exported diff view 2019-07-14 08:43:19 +02:00
Emanuel Schütze cf3879957b Updated translations 2019-07-13 14:55:55 +02:00
Emanuel Schütze 19f47e1bef
Merge pull request #4847 from GabrielInTheWorld/csvCommentsExport
Exporting comments for XLSX
2019-07-13 13:28:12 +02:00
GabrielMeyer 07fb4e2167 Exporting comments for XLSX 2019-07-12 16:50:59 +02:00
Emanuel Schütze 4e6eddef98 Motion PDF improvements
- show motion export dialog for all users
- print recommendation in table of content lines in italic
- only print categories of filtered motions in table of content
- add page break after each (sub)category
- reduce font size for footer date
2019-07-12 14:30:24 +02:00
Emanuel Schütze 3fd519e0d4
Merge pull request #4821 from FinnStutzenstein/directories
Directories and access permissions for mediafiles
2019-07-12 13:34:46 +02:00
Emanuel Schütze 437d10f693
Merge pull request #4838 from FinnStutzenstein/configMigrationVersion
Recover-strategy to detect an updated server without a reload
2019-07-12 13:30:14 +02:00
Sean Engelhardt e2adc8911f Add NGrid UI for MediaFiles 2019-07-12 13:09:07 +02:00
FinnStutzenstein 56c1da352e Directories and access permissions for mediafiles 2019-07-12 13:08:07 +02:00
Maximilian Krambach e199926451 fixing multiselect sort in sorting lists 2019-07-12 12:51:54 +02:00
FinnStutzenstein 77dee0d977 Recover-strategy to detect an updated server without a reload 2019-07-11 19:23:25 +02:00
FinnStutzenstein 0d5e795f50 Requires agenda.can_manage for settings ageda item information on content object creation 2019-07-11 19:10:55 +02:00
Sean af538436e3
Merge pull request #4832 from emanuelschuetze/supporters-in-pdf
Show supporters in motion pdf
2019-07-11 11:45:02 +02:00
Emanuel Schütze 3fe18bad7b
Merge pull request #4839 from tsiegleauq/motion-detail-jumping-prevention
Prevent motion-detail jumps
2019-07-10 23:10:11 +02:00
Emanuel Schütze 9a08ba59b0 Show supporters in motion pdf 2019-07-10 21:58:43 +02:00
Sean Engelhardt f2e9c558e1 Downgrade exceljs to 1.10.0
Upstream bugs exceljs prevent the writebuffer from working
2019-07-10 20:44:29 +02:00
Sean Engelhardt e5621ad1ab Prevent motion-detail jumps
- Fixes an error where the extension label could open automatically due to state changes by others.
- Changes the quick-navigation div to a host-listener
- Changes the quick-navigation keys to meta+alt+arrow to shift+alt+arrow, since Firefox does not recognize meta
- Removed the ID from all os-sort-lists and moves it into the extra controls of category-motion-sort-list
2019-07-10 19:25:06 +02:00
Emanuel Schütze 6e8aa75162
Merge pull request #4833 from tsiegleauq/add-extension-to-label
Enhance motion extension field
2019-07-10 11:03:57 +02:00
Emanuel Schütze 49049562eb
Merge pull request #4834 from FinnStutzenstein/sortGlobalSearchResults
Sort global search results
2019-07-10 09:09:59 +02:00
Sean Engelhardt 719f1f8031 Enhance motion extension field
Enhances the motion extension field to make it even more easily
accessible.

Also allows to quickly jump between motions using:
Meta + Alt(left) + ArrowKeyLeft/Right
2019-07-10 09:07:35 +02:00
FinnStutzenstein fa22d651dd Sort global search results 2019-07-10 07:51:23 +02:00
Sean Engelhardt 78f6e06dd8 Prevent double mobile back buttons
Fixes an error where a close and a back button
could be shown in mobile mode
2019-07-09 23:22:58 +02:00
Emanuel Schütze 3f6fe28f35
Merge pull request #4831 from emanuelschuetze/translationfix
Translation typo
2019-07-08 21:40:57 +02:00
Emanuel Schütze 58033422c1 Translation typo 2019-07-08 20:16:30 +02:00
Emanuel Schütze a8ae878cd2 Run production build (ng build --prod) without --aot
aot is already set in angular.json.
2019-07-08 19:57:06 +02:00
Sean Engelhardt f9cab8162d Use ID in search value and sort view
Allows the search value selector to search IDs as well.
Show the ID in the Os-Sort-Tree
2019-07-08 18:14:52 +02:00
Sean 596b9516e6
Merge pull request #4725 from GabrielInTheWorld/form-control
Separates the attachment field to a custom component
2019-07-08 13:50:02 +02:00
Sean Engelhardt 6c4ff4fb52 Increase build budget to prevent warning 2019-07-08 12:56:04 +02:00
Emanuel Schütze f301e9c5af
Merge pull request #4827 from tsiegleauq/extension-hotfix
Hotfix clearing of extensions on navigation
2019-07-08 12:13:42 +02:00
Sean Engelhardt 5817c45e01 Hotfix clearing of extensions on navigation 2019-07-08 11:34:14 +02:00
GabrielMeyer dfa80e9cd0 Separates the attachment field to a custom component
- Refactores also the 'search-value-selector.component'
2019-07-08 10:45:11 +02:00
Emanuel Schütze 1cdfea666b Updated translations 2019-07-08 10:22:19 +02:00
Emanuel Schütze 1a31fc9068
Merge pull request #4825 from GabrielInTheWorld/fixPermissions
Corrects the permission-handling
2019-07-08 09:52:33 +02:00
GabrielMeyer 7e9190ea84 Corrects the permission-handling
- Projector-controls aren't seen, if no permission 'can_manage'
- The 'more options'-menu is removed
- New config option: Hide amount of speakers in list of speakers slide subtitle.
2019-07-08 09:27:45 +02:00
GabrielMeyer 0d52aaaa45 Separates the field of state and recommendation
- New component for similar situations
- Prevents overwriting and discarding of changes, if an 'autoupdate' is triggered
2019-07-08 09:10:05 +02:00
Sean Engelhardt f79aa763c2 Add more option to motion export
Add optional TOC, date and page numbers to the motion export dialog.
Save and restore the last selected entries in the dialog
2019-07-05 11:57:05 +02:00
Tobias Hößl 2592862384 Change recommendations for titles
- Title changes in PDF, Diff-view and slides
2019-07-05 11:17:42 +02:00
Sean b06f879602
Merge pull request #4819 from tsiegleauq/angular-8.0.6
Update to Angular 8.0.6
2019-07-04 14:51:51 +02:00
Sean Engelhardt bc0fea3310 Update to Angular 8.0.6
Updates to angular 8 and updates all used components

- removed wrapper class for ngx/pwa LocalStorrace
- removed database lock service due to bugs
- tried to work around a cycle of dependancies
- changed some structure to be more close to default angular
- removed legacy angular packages
- removed date-picker since it was not currently used and
  is not compatible anymore
- upgrade tinyMCE
2019-07-04 14:20:57 +02:00
FinnStutzenstein 2ae7776392 Show from recommendation referencing motions 2019-07-04 07:12:31 +02:00
Tobias Hößl 6b70e8a4ab Bugfix: Amendment with multiple changed paragraphs shows motion text multiple times when context is shown 2019-07-03 12:20:44 +02:00
Sean Engelhardt cfc09d8cad Add motion PDF TOC subcategories
Adjust the motion catalog PDF TOC to indicate Subcategories
2019-07-03 10:38:20 +02:00
Emanuel Schütze bf4f93c502
Merge pull request #4815 from tsiegleauq/multiselect-stack-calls
Enhance Choice service.
2019-07-02 13:08:53 +02:00
Sean ec9760216a
Merge pull request #4790 from FinnStutzenstein/cleanup
Cleanup
2019-06-28 12:02:07 +02:00
Sean Engelhardt 1e7a5b33d7 Enhance Choice service.
- Enhance the behavior on small screens and resolutions
- Only scroll content
- fixes an issue where choices could not be made if no content option where available
2019-06-28 11:44:16 +02:00
FinnStutzenstein e604da3240 Quicklink to history (closes #4777) 2019-06-28 08:32:21 +02:00
FinnStutzenstein b8d3fa2614 Cleanup 2019-06-28 07:58:36 +02:00
Emanuel Schütze 5d3bb1fd4a Updated translations 2019-06-27 23:20:49 +02:00
Emanuel Schütze 964712c77d
Merge pull request #4774 from GabrielInTheWorld/pdf-checkbox
Implements checkboxes
2019-06-27 22:44:49 +02:00
Emanuel Schütze a63891e98c
Merge pull request #4813 from tsiegleauq/remove-restriction-for-filter
Remove restrictions for filters
2019-06-27 22:38:28 +02:00
Emanuel Schütze cc0e8f0829
Merge pull request #4807 from emanuelschuetze/text-encode
Use npm package text-encoding to fix IE11/Edge login.
2019-06-27 22:24:27 +02:00
GabrielMeyer e5b25d7695 Implements checkboxes
In every motion the user has the option to follow the recommendation or not.
2019-06-27 22:20:43 +02:00
Emanuel Schütze bd4365eb30
Merge pull request #4812 from tsiegleauq/show-active-filter
Add detailed filter information
2019-06-27 20:51:57 +02:00
Sean Engelhardt b4cbf5646f Add detailed filter information
Adds detailed filter information into the table custom head bar.
Filters are scroll-able horizontally
2019-06-27 16:38:21 +02:00
Sean Engelhardt db672f1405 Remove restrictions for filters
Removes the restictions for filters
2019-06-27 16:20:31 +02:00
Emanuel Schütze b7d35d1fa1
Merge pull request #4789 from tsiegleauq/user-list-sort
Fix sorting with empty strings
2019-06-27 15:21:38 +02:00
Sean Engelhardt 1aa41945c5 Fix sorting with empty strings
Empty strings can now be sorted using the base filter service
2019-06-27 14:32:14 +02:00
Emanuel Schütze 2657401a65 Redefine colors for PWA. Fetch fonts for offline usage. 2019-06-26 09:55:05 +02:00
FinnStutzenstein b7e98a565a Fix restriction without restricted data cache 2019-06-25 16:57:29 +02:00
Emanuel Schütze 611d0f4610 Use npm package text-encoding to fix IE11/Edge login.
IE11/Edge does not support TextDecoder/TextEncoder.
Solved by using the npm package 'text-encoding'.
2019-06-25 14:59:04 +02:00
Sean Engelhardt 9d37989ec7 Makes navigation from Legal notice and pp always possible.
Tracks the last history and evaluates if the last visited URL is safe to navigate to

also increases the version of djangorestframework.

fixes #4705
2019-06-25 10:45:24 +02:00
Sean Engelhardt 2758441552 Adds custom filter predicates for native object data
Supports properties like motion submitter and more.

Does at the moment "not" support tunneled properties, i.e filters
that need to go over a repository
(i.w workflow-state-label)

Fixes some small issues
2019-06-24 16:30:27 +02:00
Sean Engelhardt a5620624e2 Enhance surrounding motion detection
Uses the new sort and filter list in the motion
detail page to offer the same sorting of surrounding
motions from the list view
2019-06-24 15:54:52 +02:00
Emanuel Schütze 3d573441ca
Merge pull request #4759 from FinnStutzenstein/optionalAgendaItem
Optional agenda items
2019-06-24 12:37:29 +02:00
Sean Engelhardt 582db8bf2c Remove unnecessary fs package
Remove a dev package and update the readme accordingly.
2019-06-24 11:45:35 +02:00
Sean Engelhardt f5fdc37e8e Fixes not rendered in personal note
Use sanitize HTML in personal note component
2019-06-19 16:49:14 +02:00
Emanuel Schütze db3bf4de66
Merge pull request #4798 from FinnStutzenstein/fixClos
Fixed clos
2019-06-19 12:04:09 +02:00
Sean Engelhardt afda3e03ec Add Filter predicate for ID
All List View Tables can get custom filter predicates.
Per default, they now filter their primitive content
as well as their ID
2019-06-19 11:38:14 +02:00
FinnStutzenstein 4ac5d1dbc2 Fixed clos 2019-06-19 09:15:07 +02:00
FinnStutzenstein c2f14397f2 Fixed updates for self references in BaseRepository (closes #4796) 2019-06-19 09:05:09 +02:00
Emanuel Schütze c7088a4b73
Merge pull request #4786 from GabrielInTheWorld/FinnStutzenstein/categoryNameWithParents
Labelling of subcategories
2019-06-19 08:15:47 +02:00
Emanuel Schütze c67ad7f41d
Merge pull request #4795 from tsiegleauq/vlist-refinements
Refine Virtual Scrolling Tables
2019-06-19 08:10:56 +02:00
Sean Engelhardt 6cc8c8b531 Refine Virtual Scrolling Tables
- Enabled Word Wrapping
- Fixed an error where the projection dialog did not apear in the agenda
- Better promise handling to decide between motion table and tiles
- Fixed a projector permission bug
- disabled mat-row stagger animation
- Exchanged ngrid-grey theme with OpenSlides mat-card background. Looks cleaner
2019-06-18 23:46:10 +02:00
Emanuel Schütze a39971c194
Merge pull request #4787 from GabrielInTheWorld/prepair-theming
Ensures theming of components
2019-06-18 19:47:27 +02:00
Emanuel Schütze 7dd59cc477
Merge pull request #4782 from GabrielInTheWorld/tab-title-more
Sets more tab title
2019-06-18 19:44:22 +02:00
Emanuel Schütze ae76a1991d
Merge pull request #4788 from GabrielInTheWorld/aNameForThisBranch
Fixes correct displaying for 'Active filters'
2019-06-18 19:38:45 +02:00
Emanuel Schütze 7cf604918f
Merge pull request #4784 from tsiegleauq/user-list-toggle
Add more user list options
2019-06-17 17:26:29 +02:00
Emanuel Schütze 578efe3345
Merge pull request #4791 from GabrielInTheWorld/tile-enhances
Sorts categories in tile-view by prefix
2019-06-17 17:17:38 +02:00
GabrielMeyer c136a1b691 Sorts categories in tile-view by prefix 2019-06-17 17:03:43 +02:00
GabrielMeyer 086571d7fe Fixes correct displaying for 'Active filters' 2019-06-17 14:57:26 +02:00
GabrielMeyer 4fc7731f1a Ensures theming of components
- If there is no theme applied, the default theme is loaded and applied.
2019-06-17 14:48:34 +02:00
GabrielMeyer f63838ff83 Adds extended label to pdf-export 2019-06-17 13:55:42 +02:00
GabrielMeyer 31161398c0 Sets more tab title
Sets the titles for the tab on more pages.
Fixes #4773.
2019-06-17 13:15:06 +02:00
FinnStutzenstein 295c69e3fb Changed category label for motion views 2019-06-17 13:06:06 +02:00
Sean Engelhardt bb443fd4af Add more user list options
- Adds an icon with tooltip if a user is inactive to the user list
- always show the 'present'-column, even though the user is not active
- add a info icon if the user has a "comment". The content of the content
  is displayed in the tooltip
2019-06-17 12:50:54 +02:00
FinnStutzenstein 8ff0f73477 Optional agenda items 2019-06-17 12:38:17 +02:00
Emanuel Schütze cab8dba016
Merge pull request #4781 from tsiegleauq/faster-animations
Speed up animations.
2019-06-17 12:25:59 +02:00
Sean Engelhardt 161873b68c Speeds up the animations.
Removed the on-transition-fade class
The current way to trigger animation seemed not reliable enough.
2019-06-14 15:19:52 +02:00
Emanuel Schütze 5247ced71f Updated translations 2019-06-14 14:27:14 +02:00
Emanuel Schütze ded7bac4f7
Merge pull request #4779 from MaximilianKrambach/sequentialNumber
config to show/hide motion sequential numbers
2019-06-14 14:21:27 +02:00
Emanuel Schütze e2e5fe07d0
Merge pull request #4766 from GabrielInTheWorld/pdf-make-enhancement
Implementation of exporting submitters and recommendation
2019-06-14 14:17:13 +02:00
Maximilian Krambach ac1703242e config to show/hide motion sequential numbers 2019-06-14 14:10:34 +02:00
GabrielMeyer 26cc6556a0 Implementation of exporting submitters and recommendation
The user can choose the option to export the informtion about submitters and the recommendation including the extension of motions to the 'table of contents'.
2019-06-14 13:59:19 +02:00
Emanuel Schütze 184bb17596
Merge pull request #4737 from tsiegleauq/virtual-scroll-components
Add virtual scrolling to tables
2019-06-14 11:31:09 +02:00
Sean Engelhardt 15e9ea898b Add virtual scrolling to tables
Replaces most mat-tables with tables using the NGrid library, supporting
extremly performant virtual scrolling.

The ListViewBaseComponent have been extremly simplified.
All list-view code is now mich shorter and way less repitative

The group list and the workflow list have not been altered.

**Works:**
- Fast virtual Scrolling without pagination
- Click Filter
- Search Filter
- Sorting
- Export filtered values (using click filters)
- Export sorted values in correct order
- Right-Click-new-tab
- Hiding/showing columns by permission and screen size
- Multi select
- Auto Updates in MultiSelectMode keep the correct items selected
- OsHeadBar shows the correct amount of data
- Restore scroll position after navigation
- Shared-Table Component
- Clean-Up base-list-view
- Motion List
- Motion Block List
- Motion Block Detail
- User List
- Agnnda List
- Assignment List
- MediaFile List
- Tag List

**TODO:**
- Formulate filter predicates
- LOS Badge autoupdate (change detection)
- Better ellipses in lists
- Horrizontal Scrolling, if the screen get's too small.
- Issues in the change detection
- Some Layouting

**BUG:**
- Using the seach filter prevents the sorting from working.
- NGrid currently has no way to get the filtered list
  using search filter. Thus, search-filtered list cannot
  be exported.
2019-06-14 11:18:54 +02:00
Emanuel Schütze 6fa458cc89
Merge pull request #4778 from emanuelschuetze/translations-20190613
Updated translations
2019-06-13 13:38:16 +02:00
Emanuel Schütze f66b0d1e98 Updated translations 2019-06-13 13:11:05 +02:00
Emanuel Schütze 3aa6b8048b
Merge pull request #4762 from GabrielInTheWorld/startpage
Fixes correct rendering of images and styles at startpage
2019-06-13 12:08:51 +02:00
Emanuel Schütze face97a2a2
Merge pull request #4767 from normanjaeckel/HistoryRebuild
Refactored OpenSlides history (HistoryInformation is not a root rest …
2019-06-13 11:50:14 +02:00
GabrielMeyer 165a920c8c Fixes correct rendering of images and styles at startpage 2019-06-13 11:45:41 +02:00
FinnStutzenstein ff98ee1b96 Refactured client 2019-06-13 10:09:08 +02:00
GabrielMeyer 5e3f710e4d Adds a new component for icons
- An icon followed by text (or something else) can replaced by this new component, to verify a unified size and layout.
- Replaces also existing components with this new one.
2019-06-13 08:23:44 +02:00
Emanuel Schütze 35c8dc97f5
Merge pull request #4756 from FinnStutzenstein/subcategories
Subcategories
2019-06-12 15:08:46 +02:00
FinnStutzenstein bf9973a4a7 Subcategories 2019-06-12 14:37:19 +02:00
FinnStutzenstein 6d027f0f75 Compression: Sending compressed messages 2019-06-12 08:25:25 +02:00