Commit Graph

1287 Commits

Author SHA1 Message Date
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