Commit Graph

264 Commits

Author SHA1 Message Date
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
d3c56efdc5
Merge pull request #4920 from emanuelschuetze/configDefaults
Rework config defaults.
2019-08-21 13:48:55 +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
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
Sean
7fa94ab942
Merge pull request #4919 from emanuelschuetze/fixes
Enhance meta-text-block layout and wording
2019-08-15 12:50:10 +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
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
FinnStutzenstein
0e4090c901 Reverse relations 2019-08-12 14:12:55 +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
a0501ccf74 Improve history 2019-07-30 10:40:36 +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
85fa114fa0
Merge pull request #4860 from GabrielInTheWorld/fixSorting
Implements a custom sorting for categories
2019-07-25 10:28:57 +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
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
Sean
bb7b702e05
Merge pull request #4846 from tsiegleauq/subcat-filter-and-ui
Enhance subcategories
2019-07-16 11:29:33 +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
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
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
FinnStutzenstein
56c1da352e Directories and access permissions for mediafiles 2019-07-12 13:08:07 +02:00
Emanuel Schütze
9a08ba59b0 Show supporters in motion pdf 2019-07-10 21:58:43 +02:00
Emanuel Schütze
1cdfea666b Updated translations 2019-07-08 10:22:19 +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
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
FinnStutzenstein
b8d3fa2614 Cleanup 2019-06-28 07:58:36 +02:00
Emanuel Schütze
964712c77d
Merge pull request #4774 from GabrielInTheWorld/pdf-checkbox
Implements checkboxes
2019-06-27 22:44:49 +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
Sean Engelhardt
db672f1405 Remove restrictions for filters
Removes the restictions for filters
2019-06-27 16:20:31 +02:00
Emanuel Schütze
3d573441ca
Merge pull request #4759 from FinnStutzenstein/optionalAgendaItem
Optional agenda items
2019-06-24 12:37:29 +02:00
GabrielMeyer
f63838ff83 Adds extended label to pdf-export 2019-06-17 13:55:42 +02:00
FinnStutzenstein
8ff0f73477 Optional agenda items 2019-06-17 12:38:17 +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
6895b5db67
Merge pull request #4651 from MaximilianKrambach/assignmentBallots
Assignment ballots (and refactoring motion ballots)
2019-06-05 17:24:42 +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
Maximilian Krambach
5f424aa7c1 tree sorting: fix sorting multiple items 2019-06-04 17:22:50 +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
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
GabrielMeyer
cd4e73b6d3 Adds import of tags to csv import 2019-05-21 14:58:46 +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
93ef573e09
Merge pull request #4707 from FinnStutzenstein/fixTreeSorting
fix tree sorting
2019-05-16 14:10:14 +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
Tobias Hößl
f8a56ed136
Support other text versions in CSV 2019-05-14 20:58:21 +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
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
d05a30bccb Add various extensions to the xlsx exporter 2019-04-30 10:34: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
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
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
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
637c0fb78e
Merge pull request #4601 from MaximilianKrambach/callListPDF
call list improvements
2019-04-17 10:38:22 +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
FinnStutzenstein
a715c0e432 Refresh clients cache when the database was migrated 2019-04-15 16:13:52 +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
Maximilian Krambach
81c50f5b2f bulk set/unset favorite status 2019-04-15 10:52:18 +02:00
Maximilian Krambach
b5a6669359 Adds a 'tag' filter to motion lists 2019-04-12 11:50:32 +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
Maximilian Krambach
52193e9fb2 Assignments 2019-04-08 10:16:46 +02:00
Maximilian Krambach
e3c673b55e export recommendations with extra labels 2019-04-05 13:08:45 +02:00
Sean Engelhardt
995fa7af32 Motion Amendments into PDF
Support Amendments of initial motions in PDF
2019-04-04 13:22:12 +02:00
Sean Engelhardt
a973ad1719 Export motions as excel document (.xlsx)
Adds exceljs library.
Extends the "motion export dialog" to support xlsx export with a specific set of rules similar
to CSV
2019-04-02 14:23:01 +02:00
Maximilian Krambach
9c67b1c773 sorting from inside base repositories
Authors: FinnStutzenstein, MaximilianKrambach, tsiegleauq
2019-03-15 08:12:50 +01:00
Emanuel Schütze
5139fe8365 Updated tranlstions 2019-03-11 12:28:34 +01:00
FinnStutzenstein
f198a21543 rework personal notes 2019-03-08 12:09:53 +01:00
Maximilian Krambach
0ddded4a86 csv example export refactor
- make csv example data respect config separators
- refactor at a more central place
2019-03-06 11:03:51 +01:00
FinnStutzenstein
20e2639323 set allow_null for integerfields, when they are not required 2019-03-05 14:23:01 +01:00
Maximilian Krambach
4e3948a24d fix unsetting some values
- Category prefix
- category in motion multiSelect
2019-02-28 19:06:32 +01:00
Maximilian Krambach
aa33bf37a8 fix assign url in motion- moveToItem 2019-02-27 17:10:27 +01:00
Maximilian Krambach
308b593763 check for invalid motions on import 2019-02-27 11:24:04 +01:00
Emanuel Schütze
f4f8b8422f
Merge pull request #4376 from tsiegleauq/pdf-list-fixes
Adds extra cases for PDF CR lists
2019-02-21 09:54:29 +01:00
Sean Engelhardt
7f86f3af64 Adds extra cases for PDF CR lists
Adds a new function to detect "Fake lists", in PDF documents
and treats them accordingly.
Enhances the Layout of PDFs with CR-Mode UL/OL lists.
2019-02-20 11:43:22 +01:00
Sean Engelhardt
f2a4be702a Add tags to motion pdf
Adds tags to motion pdf. Adjusts the export dialog to also support selecting and deselecting
tags. Increases the target with of the export dialog to 1100px so the tags also fit there.
Not too pretty, yet effective
2019-02-20 10:11:26 +01:00
Maximilian Krambach
4c8da7b04d minor improvements
- add a 'lock' symbol to hidden files
- default disable (and rename) hidden filter status
- limit display of workflow states for restricted users
- remove supporter sorting
- mark other strings for translation
- fix new workflow id for statute amendments
- remove csv file type check (on Windows file type is always empty)
2019-02-19 13:05:51 +01:00
FinnStutzenstein
35cd49e4fe read crmode from the projector element 2019-02-15 14:56:41 +01:00
Tobias Hößl
453fedbc3e Initial support for line numbering and change recommendations in Projector
Read projector settings from the config
Preamble, styling fixes
Styling fixes
Show amendments inside of the motion view
Amendment view
Projector and statute paragraphs
Bugfix: Imports
2019-02-15 14:56:40 +01:00
Sean Engelhardt
d22ec6f34d Add PDF for paragraph based amendments
Also add some more pdf fixes
2019-02-15 13:42:01 +01:00