Commit Graph

1188 Commits

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