Commit Graph

222 Commits

Author SHA1 Message Date
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
Emanuel Schütze
ff407468f0 Update translations 2019-02-14 22:17:52 +01:00
Maximilian Krambach
6b58541079 pdf export options
- export comments as own pdf
- export comments as  part of an advanced motion pdf export,
- change sequential number export options for pdf and csv
2019-02-14 18:22:25 +01:00
Sean Engelhardt
5069371f5e PDF UL OL with line numbers
Add UL LI PDF line numbers
2019-02-14 15:29:00 +01:00
Emanuel Schütze
2df284c82e
Merge pull request #4343 from FinnStutzenstein/fixSubmitterIds
Fixed submitter ids name clash
2019-02-14 15:27:23 +01:00
Emanuel Schütze
f09b6f73d6
Merge pull request #4341 from FinnStutzenstein/cleanup2
Fixed error when leaving the settings too early
2019-02-14 14:13:08 +01:00
FinnStutzenstein
f0e6afb533 Fixed submitter ids name clash 2019-02-14 13:45:52 +01:00
FinnStutzenstein
8904472d23 Fixed error when leaving the settings too early 2019-02-14 13:30:21 +01:00
FinnStutzenstein
d932d6e907 Fixes submitters 2019-02-14 10:24:39 +01:00
Emanuel Schütze
c5912f8515
Merge pull request #4322 from MaximilianKrambach/motionDelegates
direct pdf export and hidden menus for unprivileged users
2019-02-13 15:37:07 +01:00
Maximilian Krambach
c3c915e118 direct pdf export and hidden unusable options for delegates
also, several permission check fixes and minor layout improvements
2019-02-13 13:43:45 +01:00
Maximilian Krambach
55f967a14b call list subheaders 2019-02-13 13:18:57 +01:00
Sean Engelhardt
7897d823db Fix some production mode issues
Fixes some issues that occure in production mode only.
Also fixes a typo that prevented permission checks from
working
2019-02-12 11:04:32 +01:00
Emanuel Schütze
279d1323fa Updated translations 2019-02-11 21:39:14 +01:00
Sean Engelhardt
4ce8f2b38f Add line-numbering fix
Also enabled li-elements to be rendered in LineNumbering Mode
2019-02-11 15:45:23 +01:00
Maximilian Krambach
e1916534e0 bulk move motions in call list 2019-02-11 13:42:08 +01:00
Sean
76210e807f
Merge pull request #4275 from MaximilianKrambach/sortLists
sort categories (+ motions) in dropdowns etc.
2019-02-08 15:24:02 +01:00
Maximilian Krambach
c487d688f6 sort categories in dropdowns 2019-02-08 14:37:58 +01:00
Maximilian Krambach
799d11cd17 small fixes
- motion detail comments not always visible
- fix tag/recommendation multiselect
- fix display of prefixed categories in filter/dialogs
- confirm dialog on email invitation
- attempt at fixing history filter
2019-02-08 12:54:11 +01:00
Sean
392cb7fdaf
Merge pull request #4240 from FinnStutzenstein/viewModelStore
first work on moving some logic to view models
2019-02-08 11:52:39 +01:00
FinnStutzenstein
d0991936d6 ViewModelStore, register repositories, improve view model relations 2019-02-08 11:02:56 +01:00
Sean Engelhardt
4023ac82df Export statute amendments with diff
Exports motion statutes amendments with changes to PDF documents.
Fixes a small issue where navigating to statues amendments was throwing
errors
2019-02-08 10:39:06 +01:00
Maximilian Krambach
498de862c1 export poll results in motion pdfs 2019-02-07 15:27:12 +01:00
Maximilian Krambach
dc27a20842 export personal note pdf 2019-02-07 14:49:19 +01:00
Emanuel Schütze
ac96ba8d3a Updated translations 2019-02-03 22:12:26 +01:00
FinnStutzenstein
7ce1eb592f Count active users via notify (for admins only), absolute imports 2019-02-02 08:17:36 +01:00
Emanuel Schütze
f26f7f9c08
Merge pull request #4244 from MaximilianKrambach/callListPdf
call list pdf export
2019-02-01 18:04:48 +01:00
Maximilian Krambach
181d00ea94 call list pdf export 2019-02-01 17:48:29 +01:00
Emanuel Schütze
d4cc3c3720 Allow to set state as submitter in client. 2019-02-01 16:30:50 +01:00
Sean Engelhardt
01786f685c Add amendment info in motion details
Alters motion detail to show amendments and to a given motion
and original motions to a given amendment.
Changes the motion PDF to show amendments.

Fixes a bug with the projection indicator
2019-02-01 14:52:31 +01:00
Maximilian Krambach
da722dd518 explicitly set mimetype for csv export 2019-02-01 14:20:00 +01:00
FinnStutzenstein
84974d7687 A little bit of cleanup 2019-02-01 11:02:24 +01:00
FinnStutzenstein
97f60c1e6c Restructure the client, register Repositories and map to collection
strings.
2019-02-01 10:19:17 +01:00
Maximilian Krambach
15ce789617 wrong translation string 2019-01-31 17:16:30 +01:00
Maximilian Krambach
04cbfe383d import/export for statutes 2019-01-31 14:10:39 +01:00
Sean
9136b53d48
Merge pull request #4226 from MaximilianKrambach/workflowfilter
only show motion workflow filter for config-enabled workflows
2019-01-31 12:19:31 +01:00
Maximilian Krambach
271d8cbfa4 only show motion workflow filter for config-enabled workflows 2019-01-31 12:05:50 +01:00
Sean Engelhardt
f22b81d7ad Add motion reco giver to motion PDF
Adds the text from "motion recommendet by"
into the motion PDF for both normal
motions and "StatuteAmendments"
2019-01-31 10:15:45 +01:00
Emanuel Schütze
9629c6d1fd Updated translations 2019-01-31 09:20:20 +01:00
FinnStutzenstein
d6fcef79c0 modified final version 2019-01-29 18:15:48 +01:00
Maximilian Krambach
8796d728d9 category prefix is currently optional 2019-01-29 13:50:27 +01:00
Maximilian Krambach
93a9a8aef3 adding configured header and footer images to pdf exports 2019-01-28 12:49:42 +01:00
Sean Engelhardt
23fea51333 Add Motion Export dialog
Removes the "Export As CSV" and "Export As PDF" options from MotionList
view and adds an export dialog instead (just like OS 2.3)
The exprt Dialog dynamically changes it's content according to the possible
selections.

The current implementation of the CSV exporter is not able to export anything
but the original motion text. The exporter does consider this and disables
this option for now.

While the old exporter showed "state" and "recommendation" during CSV export,
but was in fact not exporting state nor recommendation, the new exporter
will disable these fields during CSV export.

PDF should work as expected
2019-01-25 17:03:06 +01:00