Commit Graph

1765 Commits

Author SHA1 Message Date
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
FinnStutzenstein
d9c88c02b3 Compression: Recieving compressed messages 2019-06-12 08:21:16 +02:00
FinnStutzenstein
213fc30800 Update prettier 2019-06-12 08:01:33 +02:00
FinnStutzenstein
4151797f60 Temporary fix for the agenda item number during updates.
The changes in the agenda reposiroty can be reverted with #4738
2019-06-06 10:03:34 +02:00
Emanuel Schütze
7fac04afa7 Updated Translations 2019-06-05 17:56:18 +02:00
Emanuel Schütze
6895b5db67
Merge pull request #4651 from MaximilianKrambach/assignmentBallots
Assignment ballots (and refactoring motion ballots)
2019-06-05 17:24:42 +02:00
Emanuel Schütze
b5287a4e57
Merge pull request #4656 from MaximilianKrambach/callListBulk
fixing bulk sort trees from list view
2019-06-05 16:35:41 +02:00
Emanuel Schütze
59e83736b6
Merge pull request #4761 from GabrielInTheWorld/utilities
Fixes the break of very long messages in 'mat-chip'
2019-06-05 16:34:18 +02:00
Emanuel Schütze
eb1f1c3b53
Merge pull request #4757 from GabrielInTheWorld/tile-layout
Enhances the tile view
2019-06-05 16:33:57 +02:00
Maximilian Krambach
79ef8e99c4 assignment poll ballot pdfs
- refactoring poll-pdf service
- adding ballots for AssignmentPolls
2019-06-05 16:30:54 +02:00
GabrielMeyer
9e4b90461d Enhances the tile view
- Adds subscriptions to the subscriptions-array from parent to clear them, after destroying the view
- Removes filter and sort service, if the selected view is the tile-view
Adds a second variable to hold the current selected view by user
- Increases the size of the badge
2019-06-05 15:45:18 +02:00
Emanuel Schütze
3338039627
Merge pull request #4765 from GabrielInTheWorld/hotfixAgendaList
Fixes error of 'listOfSpeakersUrl'
2019-06-05 15:02:37 +02:00
Emanuel Schütze
9651a058c3
Merge pull request #4763 from GabrielInTheWorld/tab-title
Sets the TabTitle
2019-06-05 14:49:02 +02:00
GabrielMeyer
403d82f781 Fixes the break of very long messages in 'mat-chip' 2019-06-05 14:46:42 +02:00
Emanuel Schütze
9dcc11f909
Merge pull request #4752 from GabrielInTheWorld/quick-dialog
Adds dialogs to create/edit
2019-06-05 12:53:21 +02:00
GabrielMeyer
23fe9f1a94 Sets the TabTitle
Motions, users and elections reset the title of a tab in their detail-view.
2019-06-05 12:19:18 +02:00
Maximilian Krambach
5f424aa7c1 tree sorting: fix sorting multiple items 2019-06-04 17:22:50 +02:00
Maximilian Krambach
37f0baf165 sorting tree view filters
- callList
 - refactored agendaSort
2019-06-04 17:21:38 +02:00
Emanuel Schütze
5e33c500c3
Merge pull request #4758 from GabrielInTheWorld/util-fixes
Hotfix for pagination in motion-list
2019-06-04 17:13:35 +02:00
Emanuel Schütze
3ea864c3f4
Merge pull request #4750 from MaximilianKrambach/multiMoveInCategory
Multi move motions in category
2019-06-04 17:10:52 +02:00
GabrielMeyer
b2a70f271b Fixes error of 'listOfSpeakersUrl' 2019-06-04 15:32:34 +02:00
Emanuel Schütze
eded9acc60
Merge pull request #4746 from GabrielInTheWorld/fix-hammer
Add amendments to Motion-PDF-Summary-Box
2019-06-04 15:14:31 +02:00
GabrielMeyer
514252a6ef Hotfix for pagination in motion-list 2019-06-03 16:22:53 +02:00
FinnStutzenstein
0dbba32d0e Client error handling 2019-06-03 11:12:09 +02:00
FinnStutzenstein
820bc214aa Little motion toolbar layout fix 2019-06-03 10:25:07 +02:00
Maximilian Krambach
6eeab5fc1e Multi move motions in category
- if there is a multiselection, a 'move to' button will be active
- TODO: better position/layout  for that button and dialogue
2019-06-03 09:29:29 +02:00
Emanuel Schütze
708de917e1 Updated translations 2019-05-31 11:09:31 +02:00
GabrielMeyer
744b92f5f3 Adds dialogs to create/edit
- user-groups
- mediafile-list
2019-05-29 17:53:26 +02:00
Sean Engelhardt
bbe966efa9 Add amendments to Motion-PDF-Summary-Box
Adds amendments to motion pdf summary box - only if the state of them accepts the merge into the parent motion.
Adds a new flatMap function to array.prototype (should be safe to use until
Array.flatMap made it into official JS. I expect it in ES 2019.

Refactors some PDF and ChangeReco / Amendment related code
2019-05-29 14:36:19 +02:00
FinnStutzenstein
658b1a360d Internal flag for motion blocks
- ServerSide
- Adds the 'internal'-flag to the edit view of motion blocks
2019-05-28 15:24:22 +02:00
Emanuel Schütze
a3b5f083d5
Merge pull request #4743 from GabrielInTheWorld/theming
Improves the SpinnerComponent
2019-05-28 12:52:01 +02:00
GabrielMeyer
6aa2508e39 Improves the SpinnerComponent
- The AppComponent listens to `stable`-state and `user` to determine whether the spinner should be hidden.
- Show the spinner only if the login data are correct.
- If the user is anonymous, the spinner will be hidden when the app is stable.
2019-05-28 12:05:57 +02:00
GabrielMeyer
0c0a3f302b Refactores sorting of assignment-list
- In case of the name the list is sorted by `title` instead of `assignment`
- For the case of 'creation date' the list will be sorted by `id`
2019-05-28 09:56:53 +02:00
Emanuel Schütze
8bf1dad10e
Merge pull request #4708 from GabrielInTheWorld/tile-layout
Adds a new view with tiles to the motion-list
2019-05-27 22:47:24 +02:00
Emanuel Schütze
484d9b23e0
Merge pull request #4742 from FinnStutzenstein/autonomicSlides
Partially scale and scroll the motion slide
2019-05-27 22:43:40 +02:00
Emanuel Schütze
39d77dac29
Merge pull request #4391 from boehlke/mediafiles-projector
Show PDF, PNG and JPEG files in projector
2019-05-27 22:38:16 +02:00
FinnStutzenstein
1f7ace6b4b Partially scale and scroll the motion slide 2019-05-27 22:28:18 +02:00
Emanuel Schütze
2cfff9e1b9 Template rework and fullscreen mode 2019-05-27 22:15:16 +02:00
Maximilian Krambach
bd27951648 drag/Drop multiselect 2019-05-27 17:07:12 +02:00
GabrielMeyer
39d891f851 Adds a new view with tiles to the motion-list
- New components 'Tile' and 'GridLayout'
- Adds a grid-layout to the view
- The grid-layout can have an optional title section
2019-05-27 16:17:23 +02:00
FinnStutzenstein
469084a1b6 Work on the presentation controls 2019-05-27 16:08:14 +02:00
Maximilian Krambach
efbce9b645 fixes 2019-05-27 16:08:13 +02:00
FinnStutzenstein
78d107e37c some controls, integrate the pdfviewer 2019-05-27 16:08:11 +02:00
André Böhlke
b3ff250d38 WIP: show PDF, PNG and JPEG files in projector 2019-05-27 16:08:10 +02:00
Emanuel Schütze
7e2045aa76
Merge pull request #4709 from GabrielInTheWorld/utilities
Implements the export of assignment-list as pdf
2019-05-27 14:42:58 +02:00
Emanuel Schütze
6f36094cde
Merge pull request #4730 from FinnStutzenstein/motionBlockSlideLayout
Improved motion block slide layout
2019-05-27 14:39:10 +02:00
Emanuel Schütze
441e10ed59
Merge pull request #4339 from MaximilianKrambach/finalVersion
editor for final modified version of a motion
2019-05-27 14:38:02 +02:00
FinnStutzenstein
7106e06ca1 Improved motion block slide layout 2019-05-27 14:25:30 +02:00
Maximilian Krambach
ea0a605018 modified final version edit 2019-05-27 12:59:44 +02:00
GabrielMeyer
8a1588dd33 Implements the export of assignment-list as pdf
- Exporting the whole list of assignments
- Exporting a selected list of assignments
2019-05-27 12:32:05 +02:00
Maximilian Krambach
16477a4e92 filter potential speakers
- filter by those already on list
- filter by present, if configured
2019-05-27 11:40:15 +02:00
Finn Stutzenstein
1599e91fa5
Merge pull request #4741 from FinnStutzenstein/noErrorPageOnLogout
Prevent error page flickering on logout
2019-05-27 09:30:52 +02:00
FinnStutzenstein
69903192a2 Prevent error page flickering on logout 2019-05-27 08:48:04 +02:00
FinnStutzenstein
d57c5bd132 Fixed updating user data after changing permissions with the new view 2019-05-24 18:22:39 +02:00
FinnStutzenstein
0aedc77fd4 Fix permissions for change-own-password-view and user-profile-view 2019-05-24 15:09:44 +02:00
FinnStutzenstein
9f12763f8b Split AgendaItem and ListOfSpeakers
Server:
- ListOfSpeakers (LOS) is now a speprate model, containing of an id,
speakers, closed and a content_object.
- Moved all speaker related views from ItemViewSet to the new
ListOfSpeakersViewSet.
- Make Mixins for content objects of items and lists of speakers.
- Migrations: Move the lists of speakers from items to the LOS model.

Client:
- Removed the speaker repo and moved functionality to the new
ListOfSpeakersRepositoryService.
- Splitted base classes for agenda item content objects to items and
LOS.
- CurrentAgendaItemService -> CurrentListOfSpeakersSerivce
- Cleaned up the list of speakers component.
2019-05-24 08:21:59 +02:00
Sean Engelhardt
10684cf1cf Allow stored filter without options
Fixes an issue where stored filters where considered to be wrong if
their set of options was empty
2019-05-23 10:13:53 +02:00
Emanuel Schütze
a403715736
Merge pull request #4734 from emanuelschuetze/motionMobileView
Fixed motion mobile view on iOS.
2019-05-22 23:17:01 +02:00
Emanuel Schütze
63daac7b65 Fixed motion mobile view on iOS. 2019-05-22 22:52:35 +02:00
Sean Engelhardt
c3c98f06e3 Fixes an issue where sorting was tried with undefined valued
Hot-Fixes agenda sorting
2019-05-22 18:35:58 +02:00
Sean Engelhardt
bd4da53255 Check if the loaded filter definition has the valid format
Fixes an issue where malformated or old filter-definition where considered
to be valid filters which could cause some issues
2019-05-22 12:33:05 +02:00
FinnStutzenstein
5c4d7af917 Readded default sorting for agenda
The default sorting was removed here: https://github.com/OpenSlides/OpenSlides/pull/4671/files#diff-c72ce8d0c2c339385819bf10c685c276L128
Readded it in the repository (instead of the filter-/sortingservices), so the agenda is always well sorted.
2019-05-21 17:27:29 +02:00
GabrielMeyer
cd4e73b6d3 Adds import of tags to csv import 2019-05-21 14:58:46 +02:00
Emanuel Schütze
e907599cef
Merge pull request #4726 from GabrielInTheWorld/pdf-make
Adds config-variable for pdf-export
2019-05-21 12:23:38 +02:00
GabrielMeyer
eb7b203b33 Adds config-variable for pdf-export
- Adds the page-size 'A5' for pdf-export
2019-05-21 11:58:59 +02:00
Emanuel Schütze
31274873f1
Merge pull request #4719 from FinnStutzenstein/chyronColor
Added custom color for the projector chyron and reset buttons for colors
2019-05-20 22:12:32 +02:00
FinnStutzenstein
e267279f60 Added custom color for the projector chyron and reset buttons for colors 2019-05-20 21:50:03 +02:00
Emanuel Schütze
0a99c2b0f5
Merge pull request #4722 from FinnStutzenstein/motionTextNotRequiredForParagraphAmendments
Do not require the motion text for paragraph based amendments
2019-05-20 21:46:15 +02:00
FinnStutzenstein
11fd8c5762 Do not require the motion text for paragraph based amendments 2019-05-20 20:47:28 +02:00
Finn Stutzenstein
e4dfd75ab9
Merge pull request #4721 from FinnStutzenstein/fixPermissionSorting
Fix sorting of permissions if plugins are available
2019-05-20 17:20:38 +02:00
Maximilian Krambach
014701442c refactor poll calculations 2019-05-20 11:31:27 +02:00
FinnStutzenstein
ba73d50886 Fix sorting of permissions if plugins are available 2019-05-20 10:32:40 +02:00
Sean
7ab040823d
Merge pull request #4671 from tsiegleauq/rework-sort-filter
Rework sort and filter
2019-05-20 10:02:12 +02:00
Sean Engelhardt
850fcbe243 Rework sort and filter
More observable based, more scaleable filtering
based on an old branch of @FinnStutzenstein.

cleans some functions and provides some differend features.
2019-05-17 13:03:48 +02:00
Emanuel Schütze
0f03eb1446
Merge pull request #4679 from tsiegleauq/assignment-ui
Rework Assignment UI
2019-05-16 22:17:20 +02:00
Sean Engelhardt
654c54e9ab Rework Assignment UI
Reworks the Assignment UI to fit to the current MockUps
2019-05-16 21:56:09 +02:00
Emanuel Schütze
fef386ddf8
Merge pull request #4713 from FinnStutzenstein/tooHighChangeIdHandling
Handles 'change id too high' and generic websocket error message format
2019-05-16 20:25:13 +02:00
Emanuel Schütze
65dbf37106
Merge pull request #4704 from FinnStutzenstein/setPermissionRequest
Request for settings a permission in a group (closes #4698)
2019-05-16 14:14:33 +02:00
Emanuel Schütze
93ef573e09
Merge pull request #4707 from FinnStutzenstein/fixTreeSorting
fix tree sorting
2019-05-16 14:10:14 +02:00
FinnStutzenstein
284e90961a Fixed getting states of amendments (closes #4677) 2019-05-15 15:21:11 +02:00
Emanuel Schütze
183f671fee
Merge pull request #4693 from tsiegleauq/no-notification-on-projector
Enhance update service
2019-05-15 14:58:59 +02:00
FinnStutzenstein
5ad94cb2f4 Handles 'change id too high' and generic websocket error message format 2019-05-15 14:25:54 +02:00
Norman Jäckel
cf29f97613 Added view for bulk category set and bulk motion block set.
Due to rebasing this PR, this are the appropriate authorships:
Server: @normanjaeckel and @FinnStutzenstein
Client: @MaximilianKrambach
2019-05-15 14:18:36 +02:00
FinnStutzenstein
10c329da8d fix tree sorting
Assigns the weight in the preorder traversal of the tree. Now one without every
object (e.g. missing motions/items) still have the correct sorting. Intorduces
the level attribute of items giving the amount of parents in the agenda. This
allows to reduce complexits in the client.
2019-05-15 14:14:32 +02:00
Finn Stutzenstein
b3c2b5f899
Merge pull request #4645 from FinnStutzenstein/renameManageRestriction
Rename the manage restriction field
2019-05-15 13:40:16 +02:00
Emanuel Schütze
7f5ec6a840
Merge pull request #4715 from CatoTH/OS3-final-version-in-csv
Support other text versions in CSV
2019-05-14 22:03:42 +02:00
Tobias Hößl
f8a56ed136
Support other text versions in CSV 2019-05-14 20:58:21 +02:00
Emanuel Schütze
2b163af5d7 Improved users PDF and CSV export
- PDF: use full_name (with structure_level and number) instead of short_name.
- CSV: add gender column
2019-05-14 20:20:21 +02:00
FinnStutzenstein
f9bac798aa Rename the manage restriction field
Renamed 'managers_only' to 'motions.can_maange' to adapt the (new) behavior of #4638. Closes #4643.
2019-05-14 16:02:59 +02:00
Maximilian Krambach
6b25e62cec
Merge pull request #4712 from MaximilianKrambach/fix4711
fix sorting tree condition #4711
2019-05-14 15:57:39 +02:00
Maximilian Krambach
71e2ef65fc fix sorting tree condition 2019-05-14 15:11:25 +02:00
GabrielMeyer
5ad70bd02d Hotfix: MediaUpload went wrong... 2019-05-14 14:10:58 +02:00
Finn Stutzenstein
ae107dc0d1
Merge pull request #4706 from FinnStutzenstein/hotfixAgendaList
Fixed false visible items in the agenda
2019-05-13 16:03:19 +02:00
Finn Stutzenstein
af717fe018
Merge pull request #4680 from FinnStutzenstein/unifyUrlsPrefixes
Added beginning slash to all request urls
2019-05-13 14:49:51 +02:00
FinnStutzenstein
c860f45041 Fixed false visible items in the agenda
The fix has to be reworked with #4671 and can be eliminated with #4639
2019-05-13 13:42:03 +02:00
FinnStutzenstein
5e13299ae3 Request for settings a permission in a group (closes #4698) 2019-05-13 10:17:24 +02:00
Emanuel Schütze
7792c47656 Fixed projector logo 2019-05-11 09:40:14 +02:00
Emanuel Schütze
ca70944d0c Fixed permission for reset password in routing module. 2019-05-10 16:09:35 +02:00
FinnStutzenstein
7c80aebe75 Added beginning slash to all request urls 2019-05-10 14:05:28 +02:00
Sean Engelhardt
1a02b845b8 Enhance update service
Updates will be observed from site component
(Makes pure projectors ignore updates, unless the user navigates manually)

Updates can now be delayed using the "noInterruption" route data.
If the "noInterruption" route data was set, updates notifications
will not be shown in this view.
The update notification will appear, after the user navigates
to a view without "noInterruption" flag.
2019-05-10 13:11:42 +02:00
FinnStutzenstein
c4402f733e Refresh projector data after *every* (re)connect (closes #4691) 2019-05-10 12:24:41 +02:00
Emanuel Schütze
643bab111c
Merge pull request #4688 from MaximilianKrambach/multiFilter
fix number array filter options
2019-05-10 11:32:28 +02:00
Maximilian Krambach
6648f3a17d fix number array filter options 2019-05-10 10:47:35 +02:00
Emanuel Schütze
6f7f25727c
Merge pull request #4684 from emanuelschuetze/fixUserList
Fix access for user meta info dialog in user list view.
2019-05-10 08:39:11 +02:00
Emanuel Schütze
91cb6c132c Fix access for user meta info dialog in user list view. 2019-05-10 07:17:09 +02:00
FinnStutzenstein
b445946f54 Fix self-referencing projectors with new dependency management 2019-05-10 06:45:49 +02:00
Emanuel Schütze
cef2e45b34
Merge pull request #4675 from tsiegleauq/personal-note-bug
Update personal note in motion
2019-05-08 20:55:37 +02:00
Emanuel Schütze
2c92ae9304
Merge pull request #4674 from emanuelschuetze/translation-20190507
Updated translations
2019-05-08 20:53:41 +02:00
Sean Engelhardt
7d49187123 Update personal note in motion
Fixes an issue where personal notes were not update
during a view motions update process
2019-05-08 20:07:04 +02:00
Emanuel Schütze
bbe0b16701 Updated translations 2019-05-08 19:56:31 +02:00
Emanuel Schütze
1faf088eca Added redesigned OpenSlides logo (svg only) 2019-05-07 22:01:16 +02:00
Emanuel Schütze
f22596a98b
Merge pull request #4672 from tsiegleauq/motion-block-new-tab
Add anchor tag to motion block
2019-05-07 21:16:30 +02:00
Emanuel Schütze
51b4b6aba6
Merge pull request #4578 from GabrielInTheWorld/theming
Implements a mechanism for a fallback theme
2019-05-07 21:13:55 +02:00
Sean Engelhardt
f0ffaef1e5 Add anchor tag to motion block
Adds `<a ...>` tags to motion block list and motion block detail
Allowing opening details in a new tab
2019-05-07 17:35:28 +02:00
GabrielMeyer
376f4e2a31 Implements a mechanism for a fallback theme
- If the previously selected theme is not available the default OpenSlides theme will be displayed.
- Before the current selected theme was loaded, no theme is displayed.
2019-05-07 17:32:28 +02:00
Emanuel Schütze
8bc7f8cb70
Merge pull request #4630 from MaximilianKrambach/assignment_globalno
include global abstain/no option
2019-05-07 17:30:43 +02:00
Emanuel Schütze
5d64ea1519
Merge pull request #4668 from GabrielInTheWorld/fixes-checkbox
Fixes state of the checkboxes in amendments
2019-05-07 17:25:09 +02:00
Emanuel Schütze
67b99c1baa
Merge pull request #4665 from GabrielInTheWorld/utilities
Fixes scrollbar in old firefox versions
2019-05-07 17:18:51 +02:00
Emanuel Schütze
38d572b34f
Merge pull request #4670 from FinnStutzenstein/fixMotionBlockSlide
Fix motion block slide
2019-05-07 17:14:01 +02:00
Finn Stutzenstein
82a2189b04
Merge pull request #4666 from FinnStutzenstein/operatorService
Proper updating of the viewUser in the OperatorService
2019-05-07 16:39:52 +02:00
FinnStutzenstein
72a7a6fde0 Fix motion block slide 2019-05-07 16:18:13 +02:00
GabrielMeyer
41e2fb2f93 Fixes scrollbar in old firefox versions 2019-05-07 16:04:18 +02:00
GabrielMeyer
e6c4e1d27b Fixes state of the checkboxes in amendments 2019-05-07 15:58:36 +02:00
FinnStutzenstein
afb28f0f72 Proper updating of the viewUser in the OperatorService 2019-05-07 15:54:14 +02:00
GabrielMeyer
3d5f79a76c Fields are only available if they are available
- The user can change information about motions
- The user can send an invitation email
2019-05-07 15:03:57 +02:00
Finn Stutzenstein
c560f511b5
Merge pull request #4607 from FinnStutzenstein/prioritizeClients
Prioritize clients and WS ping-pong-mechanism
2019-05-07 14:04:09 +02:00
Emanuel Schütze
17dbcca757
Merge pull request #4664 from emanuelschuetze/motionBlockPermission
Fixed motion block permission
2019-05-07 13:54:36 +02:00
FinnStutzenstein
febbe9bba2 Prioritize clients with the right operator and added ping-pong mechanism 2019-05-07 13:43:52 +02:00
Emanuel Schütze
41c30eb730 Fixed motion block permission 2019-05-07 13:27:42 +02:00
Emanuel Schütze
d218a86f69
Merge pull request #4662 from FinnStutzenstein/repoSpeed
Speedup DS and repo updates, DSUpdateSlots, lazyloading history objects
2019-05-07 13:26:21 +02:00
GabrielMeyer
11c565282f Fixes the listing of motions in a category
- Sorting by motion.category_weight
2019-05-07 12:26:25 +02:00
Emanuel Schütze
179ef39aca
Merge pull request #4661 from tsiegleauq/pdf-comment-paragraph
Fix Parsing for personal comments in bulk export
2019-05-06 16:59:49 +02:00
FinnStutzenstein
fe81ea6ff9 Speedup DS and repo updates, DSUpdateSlots, lazyloading history objects 2019-05-06 16:33:36 +02:00
Emanuel Schütze
801010a936
Merge pull request #4655 from MaximilianKrambach/weight
fix sorting in category-sort
2019-05-06 16:25:36 +02:00
Sean Engelhardt
0f7733a25d Fix Parsing for personal comments in bulk export
Fixes an error where HTML in motion comments was parsed
wrong during PDF bulk export
2019-05-06 16:22:35 +02:00
Sean Engelhardt
e4d3e119d3 Service Worker Updates
Introdcues a new update service.
Listens to service-worker updates and shows a snack-bar to inform about updates.
Provides a function to manually check for updates.

The service worker tries to be consistent in it's own version and
updates in the background.
Some manuall trigger will be required to update, which is either a
reload or the execution of the provded check function

with help from
@FinnStutzenstein
2019-05-06 13:13:09 +02:00
Maximilian Krambach
52c6e05aba fix sorting in category-sort 2019-05-02 11:45:49 +02:00
Maximilian Krambach
f00303d753 include global abstain/no option
election polls with 'one vote per candidate' should have a
 global no/abstain option
2019-05-02 10:51:00 +02:00
Emanuel Schütze
d7c6583b7e
Merge pull request #4647 from GabrielInTheWorld/extend-user-dialog
Adds the structure-level and participant-number to the user-list
2019-04-30 16:39:49 +02:00
Emanuel Schütze
9f5226c1d9
Merge pull request #4648 from FinnStutzenstein/motionBlockSlideTwoColumns
Dynamic a two column layout in motion block slides
2019-04-30 16:38:58 +02:00
GabrielMeyer
33044a6eaa Handles 'auto-update'
- New motions in a category are appended to the end of the list.
- Removed motions are extracted from the list of motions.
2019-04-30 15:48:22 +02:00
FinnStutzenstein
76880100f5 Sort motions in categories 2019-04-30 14:14:41 +02:00
Sean
83044acde5
Merge pull request #4650 from tsiegleauq/xlsx-addons
Add various extensions to the xlsx exporter
2019-04-30 10:55:46 +02:00
Sean Engelhardt
d05a30bccb Add various extensions to the xlsx exporter 2019-04-30 10:34:01 +02:00
Emanuel Schütze
4507840788
Merge pull request #4646 from FinnStutzenstein/resetClientCache
Added button to reset the clients cache
2019-04-30 10:24:19 +02:00
Emanuel Schütze
bccd9db076
Merge pull request #4649 from tsiegleauq/pdf-font-size-parsing
use ParseInt in PDF generation
2019-04-29 19:54:18 +02:00
Sean Engelhardt
945b2ce72a use ParseInt in PDF generation
Replace "+"(string) with parseInt(val, 10), since apparently some editors
copy `style="xy.zpt"` into a style tag
2019-04-29 12:43:22 +02:00
FinnStutzenstein
ec7a7aadae Added button to reset the clients cache 2019-04-29 11:27:35 +02:00
FinnStutzenstein
c234cfe698 Dynamic a two column layout in motion block slides 2019-04-29 11:20:12 +02:00
GabrielMeyer
8b489fcdc0 Adds the structure-level to the user-list
- The dialog shows the structure level of one user
- In the list-view the structure level and the participant number are displayed.
2019-04-29 10:35:24 +02:00
FinnStutzenstein
44b683e361 Add attachments to assignments 2019-04-29 10:31:28 +02:00
Emanuel Schütze
3584dd5646
Merge pull request #4627 from tsiegleauq/virtual-scroll-statute
Add virtual scrolling to statute list
2019-04-28 13:57:30 +02:00
Emanuel Schütze
483d759c88
Merge pull request #4641 from normanjaeckel/FixMotionStateCreation
Server should not require restriction field for motion state. Fixed #…
2019-04-28 13:46:21 +02:00
Emanuel Schütze
e20ff16755
Merge pull request #4642 from CatoTH/diff-bugfix-ins-beyond-paragraphs
Diff-Bugfix: Insertions/Deletions beyond paragraph boundaries
2019-04-28 13:44:43 +02:00
Tobias Hößl
bc8739f017
Diff-Bugfix: Insertions/Deletions beyond paragraph boundaries 2019-04-28 11:27:28 +02:00
Emanuel Schütze
652968add3
Merge pull request #4634 from MaximilianKrambach/lastEmailSent
last_email_sent display and resend email
2019-04-27 21:32:16 +02:00
Maximilian Krambach
d1eed23158 last_email_sent display and resend email 2019-04-27 21:16:28 +02:00
Norman Jäckel
3d6e87e1ef Server should not require restriction field for motion state. Fixed #4622. 2019-04-27 16:23:31 +02:00
Emanuel Schütze
0675bdcf46
Merge pull request #4635 from MaximilianKrambach/commentExport
make comment exportable if readable
2019-04-26 21:49:01 +02:00
Emanuel Schütze
23103362a5
Merge pull request #4617 from tsiegleauq/assignment-pdf
Create assignment PDF service
2019-04-26 21:46:04 +02:00
Emanuel Schütze
ea93c65c3f
Merge pull request #4637 from tsiegleauq/catch-pdf-creation-bugs
Show errors during PDF generation
2019-04-26 21:41:46 +02:00
Sean Engelhardt
e520dd99e0 Create assignment PDF service
Exports the assignment detail as PDF
2019-04-26 16:23:48 +02:00
Emanuel Schütze
729b7f151b
Merge pull request #4621 from tsiegleauq/workflow-state-creation
Temp Fix creation of Workflow States
2019-04-26 16:07:27 +02:00
Sean Engelhardt
680b6e04e4 Show errors during PDF generation
A lot of PDF-Erros are resolveable by the users themselves.
This helpes users to show them, which of their motions have
malformated HTML
2019-04-26 15:34:27 +02:00
Maximilian Krambach
395dfaf63f
Merge pull request #4628 from MaximilianKrambach/assignmentLayout
small assignment layout updates/fixes
2019-04-26 13:06:31 +02:00
Maximilian Krambach
f16884388e make comment exportable if readable
conditions for the export button:
- comment is present and  readable for user
- comment is not in 'edit' mode
2019-04-26 12:45:57 +02:00
Sean Engelhardt
afc6bb629e Fix layout of search value selector 2019-04-26 12:41:55 +02:00
Emanuel Schütze
7ed59a57b0
Merge pull request #4629 from tsiegleauq/export-order-adjustment
Adjust the export order and dialog order
2019-04-26 12:15:33 +02:00
Sean Engelhardt
fdc169f1e9 Adjust the export order and dialog order
The order of the motion export dialog now fits to the motionImportExportHeaderOrder.
It will update dynamically
2019-04-26 11:54:08 +02:00
Maximilian Krambach
ab6a53c2de small assignment layout updates/fixes 2019-04-26 10:11:30 +02:00
FinnStutzenstein
2a73c194dd Fixed requesting all data after a connection lost 2019-04-26 09:51:44 +02:00
Emanuel Schütze
8985d5c5e1 Updated translations 2019-04-25 23:35:57 +02:00
Emanuel Schütze
b7ae5fd8a8
Merge pull request #4631 from CatoTH/Bugfix-replacing-text-at-end-of-paragraph
Bugfix: inline diff for replaced text at end of paragraph
2019-04-25 22:26:38 +02:00
Tobias Hößl
e533fbad6d
Bugfix: inline diff for replaced text at end of paragraph 2019-04-25 22:08:21 +02:00
Emanuel Schütze
a61a655715 More slide style improvements 2019-04-25 22:02:36 +02:00
Maximilian Krambach
1b1499a660 Assignment slides 2019-04-25 17:12:21 +02:00
Emanuel Schütze
6800f99ef0
Merge pull request #4624 from tsiegleauq/angular-7.2.14
Migrate to Angular version 7.2.14
2019-04-25 16:44:53 +02:00
Sean Engelhardt
03d935d633 Migrate to Angular version 7.2.14
New version of TS-Lint
New version of ngx-file-drop with breaking changes
npm audits
Removed Terser, should work out of the box again
2019-04-25 13:15:24 +02:00
Sean Engelhardt
98dec23b2f Add virtual scroling to statute list
"experimental" Virtual scrolling on the list of statutes.
It should load and behave way faster on huge amounts of data.
2019-04-25 12:57:11 +02:00
Emanuel Schütze
45609fadc0
Merge pull request #4610 from MaximilianKrambach/assignmentMobile
Assignment mobile
2019-04-25 10:42:25 +02:00
Emanuel Schütze
e4f8346e49
Merge pull request #4626 from CatoTH/improve-inserted-lines
Bugfix: better detection for inserted paragraphs
2019-04-25 10:38:08 +02:00
Finn Stutzenstein
0c4076fbd7
Merge pull request #4616 from FinnStutzenstein/basicAssignmentSlide
Basic assignment slide
2019-04-25 10:11:23 +02:00
Maximilian Krambach
4b6e314e45 basic display for mobile view 2019-04-25 09:01:49 +02:00
Tobias Hößl
cbcc01d8e1
Bugfix: better detection for inserted paragraphs 2019-04-24 22:43:57 +02:00
Maximilian Krambach
847173cda3 fix assignment calculations 2019-04-24 16:49:54 +02:00
Maximilian Krambach
e77fdc6707 copy parent's tags to a new amendment 2019-04-24 16:00:17 +02:00
Emanuel Schütze
c04c59b666
Merge pull request #4614 from FinnStutzenstein/verboseErrorOnMissingConfigs
verbose error message on missing configs
2019-04-24 15:23:53 +02:00
Sean Engelhardt
8bd57321a9 Temp Fix creation of Workflow States
Offers an empty error during the creation of new workflow states
2019-04-24 15:20:53 +02:00
Sean
d4ac7441fa
Merge pull request #4606 from GabrielInTheWorld/motion-quick-dialog
Implements a dialog to edit meta information of one motion
2019-04-24 13:55:18 +02:00
GabrielMeyer
69b6aec288 Implements a dialog to edit meta information of one motion 2019-04-24 13:36:17 +02:00
Finn Stutzenstein
7a00f26537
Merge pull request #4618 from GabrielInTheWorld/tree-sort-agenda
Fixes showing the arrow to expand.
2019-04-24 10:38:51 +02:00
FinnStutzenstein
55dd2d1d6f Basic assignment and poll slide 2019-04-24 10:34:44 +02:00
Maximilian Krambach
18a3ea28b9 remove distracting empty mat-chip 2019-04-23 18:22:35 +02:00
GabrielMeyer
c87c41ac56 Fixes showing the arrow to expand. 2019-04-23 16:35:41 +02:00
FinnStutzenstein
624a56d546 verbose error message on missing configs 2019-04-23 14:23:49 +02:00
Finn Stutzenstein
d0c6fd1dd1
Merge pull request #4611 from tsiegleauq/error-page-redirect
Fix AuthGuard race conditions and false redirects
2019-04-23 13:44:59 +02:00
Sean Engelhardt
6a04d3ed0b Fix AuthGuard race conditions and false redirects
Fixes an error where the auth guard had race conditions
with the OpenSlides bootup routine (kinda hacky tbh)
Fixes false redirects in the Auth.Service

Also adjustes the file uploader to be a little more
usable.
2019-04-23 13:23:19 +02:00
Maximilian Krambach
9cdeaf9245 add tag display in several views
- call list sorting
- category sorting
- motion list
2019-04-18 12:46:07 +02:00
Maximilian Krambach
4472ba9690 personal note pdf only if personal note is present 2019-04-18 11:37:49 +02:00
Sean
16ea66e9ed
Merge pull request #4609 from MaximilianKrambach/exportImportOrder
sort import/export columns for motions
2019-04-18 11:01:01 +02:00
Maximilian Krambach
dc41c1ed78 sort import/export columns for motions
definitions are in motion-import-export-order.ts
2019-04-18 10:44:21 +02:00
Sean
bf525cf852
Merge pull request #4575 from GabrielInTheWorld/tree-sort-agenda
Implements filtering the `sorting-tree.component`
2019-04-17 13:14:57 +02:00
GabrielMeyer
cdc849de6d Implements filtering the sorting-tree.component
- Added filtering by visibility, like internal, public or hidden items
- Added option to collapse or expand all nodes
- Added also style for the dark theme
2019-04-17 12:41:16 +02:00
Sean
637c0fb78e
Merge pull request #4601 from MaximilianKrambach/callListPDF
call list improvements
2019-04-17 10:38:22 +02:00
Sean
d2260b02a7
Merge pull request #4598 from GabrielInTheWorld/package-crawler
Implements a crawler to find all directly used packages
2019-04-16 14:50:24 +02:00
Sean
b581c350c6
Merge pull request #4584 from GabrielInTheWorld/form-validation-new
Validates creating a new user
2019-04-16 14:49:51 +02:00
GabrielMeyer
6de79fc96a Implements a crawler to find all directly used packages
- Holds a 'default' `README.md` with the default content.
- Writes down all found packages with links to their repositories.
2019-04-16 14:20:59 +02:00
Sean
ebbb369124
Merge pull request #4605 from tsiegleauq/excel-frozen-rows
Enhance excel exporting
2019-04-16 13:25:29 +02:00
Sean Engelhardt
9b9bf244c1 Enhance excel exporting 2019-04-16 13:04:10 +02:00
Maximilian Krambach
217186f435 cleanup of outdated TODOS and stubs 2019-04-16 12:47:48 +02:00
Maximilian Krambach
5f35fe8460 call list improvements (WIP)
- add extended recommendation label
- remove motion blocks, use the column for 'notes'
- don't break up tables
2019-04-16 12:00:45 +02:00
Maximilian Krambach
9dfac94099 assignment improvements
- layouting
- fix one-vote polls
- filter candidate list
- candidate sorting
- fix adding/removing of candidates
- avoid ui jumping
- fix quorum calculations
2019-04-16 09:42:07 +02:00
Finn Stutzenstein
0f1df91915
Merge pull request #4602 from FinnStutzenstein/clearClientCacheOnMigrations
Refresh clients cache when the database was migrated
2019-04-15 16:30:33 +02:00
FinnStutzenstein
a715c0e432 Refresh clients cache when the database was migrated 2019-04-15 16:13:52 +02:00
Maximilian Krambach
72c3f27dba
Merge pull request #4600 from MaximilianKrambach/importfix
fix motion import oddity
2019-04-15 16:10:40 +02:00
Sean Engelhardt
8a40ee3cbc Fix exporting of selected motions
Fixes an issue where the export button has been put in the
wrong view
2019-04-15 15:28:03 +02:00
GabrielMeyer
b7799c2337 Validates creating a new user
- If a new user is created and neither the username, first name nor last name is set, a hint is displayed and the user is still in the creating mode.
- Also prevents that the client queries a user that does not exist.
2019-04-15 15:07:23 +02:00
Maximilian Krambach
7d9ea4e55a multiselect motion export 2019-04-15 13:24:43 +02:00
Maximilian Krambach
48593acc25 disable multiselect options if nothing selected 2019-04-15 13:24:42 +02:00
Maximilian Krambach
a670d85267 fix motion import ooddity
- lag due to undefined submitters
- additional text separator
2019-04-15 12:43:16 +02:00
Sean
2bd9172006
Merge pull request #4591 from MaximilianKrambach/tagFilter
Adds a 'tag' filter to motion lists
2019-04-15 12:30:07 +02:00
Sean
1bd9f09dd6
Merge pull request #4592 from MaximilianKrambach/manyStars
bulk set/unset favorite status
2019-04-15 12:24:46 +02:00
FinnStutzenstein
ce216204f1 Updates the cache on comment section updates. Implements missing client
code.
2019-04-15 10:54:34 +02:00
Maximilian Krambach
81c50f5b2f bulk set/unset favorite status 2019-04-15 10:52:18 +02:00
Finn Stutzenstein
259afa7f88
Merge pull request #4594 from FinnStutzenstein/modelStructureForAssignments
Background structure for assignments
2019-04-15 10:43:54 +02:00
FinnStutzenstein
9cfc0bbd42 Background structure for assignments
- moved some components
- added consistend namin scheme: (View)Assignment, (View)AssignmentPoll
(View)AssignmentPollOption and (View)AssignmentRelatedUser.
- Added precisionPipe, which needs to be added everywhere.
- Cleaned up converting deciml fields (as strings in the REST API) to
floats
- The repository creates the View* structure and enabled user updates.
2019-04-15 10:29:26 +02:00
Finn Stutzenstein
e7624c0d1e
Merge pull request #4585 from FinnStutzenstein/projectorListCleanup
Put projector cards in own components in the listview
2019-04-15 08:10:01 +02:00
Maximilian Krambach
b5a6669359 Adds a 'tag' filter to motion lists 2019-04-12 11:50:32 +02:00
FinnStutzenstein
f44590b519 Put projector cards in own components in the listview 2019-04-12 07:15:22 +02:00
Finn Stutzenstein
b05cd3af5a
Merge pull request #4580 from GabrielInTheWorld/form-validation
Fixes error from `mediafile-list.component` when logging out
2019-04-12 07:12:58 +02:00
Emanuel Schütze
9059191e91 Updated translations 2019-04-11 23:09:13 +02:00
Emanuel Schütze
58b5ec3f5e
Merge pull request #4573 from CatoTH/OS3-multi-paragraph-amendments
Creating multi-paragraph amendments
2019-04-11 21:18:16 +02:00
Tobias Hößl
5978868c37 Creating multi-paragraph amendments
- new config option to enable/disable multiple paragraphs
2019-04-11 17:00:25 +02:00
Maximilian Krambach
a2b75194a1 don't autoupdate detail forms during editing 2019-04-11 16:06:05 +02:00
Emanuel Schütze
c0564e0f5e
Merge pull request #4583 from FinnStutzenstein/fixProjectorSerializer
Protect element fields from the projector model. Fixes creation of
2019-04-09 21:19:26 +02:00
FinnStutzenstein
5a1f638f8d Protect element fields from the projector model. Fixes creation of
projectors.
2019-04-09 17:15:16 +02:00
FinnStutzenstein
dfaf8b552a Fixed handling of unregistered resources 2019-04-09 16:15:23 +02:00
GabrielMeyer
4994cc6ce8 Fixes error from mediafile-list.component when logging out
- If the user is seeing the mediafiles and wants to log out, an error occurred causing by querying an attribute from undefined object.
2019-04-09 15:30:49 +02:00
Finn Stutzenstein
fc5f6f4e54
Merge pull request #4521 from normanjaeckel/RefactorStateAccessLevel
Refactored state access level by renaming state field to restriction.
2019-04-08 15:28:21 +02:00
FinnStutzenstein
23264849c9 client and small changes in the serializer 2019-04-08 14:56:32 +02:00
Sean Engelhardt
054f76a5d4 Cleanups and enhancements
Cleans up and reviews some methods
2019-04-08 10:16:48 +02:00
Maximilian Krambach
464fb89b53 include per-poll values, some travis fix 2019-04-08 10:16:47 +02:00
Maximilian Krambach
52193e9fb2 Assignments 2019-04-08 10:16:46 +02:00
Sean Engelhardt
bd33c59ddf Add permissions to ListViews
Adds the AuthGuard to certain routes
Adds an error-component
Also hides certain other elements where
permissions should apply
2019-04-06 21:13:17 +02:00
Maximilian Krambach
028c358a7f
Merge pull request #4567 from MaximilianKrambach/csvExportLabeledRecommend
export recommendations with extra labels
2019-04-05 13:17:42 +02:00
Emanuel Schütze
4ca8fccbea
Merge pull request #4571 from tsiegleauq/motion-list-show-id
Show sequential number in motion list
2019-04-05 13:11:06 +02:00
Maximilian Krambach
e3c673b55e export recommendations with extra labels 2019-04-05 13:08:45 +02:00