Commit Graph

274 Commits

Author SHA1 Message Date
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
Emanuel Schütze
34585fc4cb
Merge pull request #4324 from MaximilianKrambach/callListLandscape
call list subheaders
2019-02-13 13:39:19 +01:00
Maximilian Krambach
55f967a14b call list subheaders 2019-02-13 13:18:57 +01:00
Emanuel Schütze
fda5e08f9a fix submitter updating (2) 2019-02-13 12:59:25 +01:00
Maximilian Krambach
3a7e6da442 fix submitter updating 2019-02-13 11:49:37 +01:00
Emanuel Schütze
4f75639780
Merge pull request #4263 from MaximilianKrambach/categoryView
rework category list and sorting
2019-02-12 21:57:09 +01:00
Emanuel Schütze
a410930245
Merge pull request #4301 from MaximilianKrambach/moveStar
move favorite star to identifier
2019-02-12 21:27:26 +01:00
Emanuel Schütze
397ec0d579
Merge pull request #4323 from MaximilianKrambach/fixUpdates
fix wrong array handling
2019-02-12 21:26:17 +01:00
Maximilian Krambach
7725005770 move favorite star in front of title 2019-02-12 21:06:10 +01:00
Maximilian Krambach
924ec7580e fix wrong array handling in viewMotion updates 2019-02-12 18:17:08 +01:00
GabrielMeyer
63989b2b29 Adds a new IconFont-set
Fixes #3921
Added a new set of icons and removed the old one. The new one can used just like the old one.

Changed old improper icons to new ones

- The 'save_alt'-icons are replaced by 'cloud_upload'
- The icon in the navigation for assignments is replaced by 'how_to_vote'
- The drag&drop icon 'unfold_more' is replaced by 'drag_indicator'
2019-02-12 17:39:06 +01:00
Emanuel Schütze
2e80cc34a0
Merge pull request #4306 from tsiegleauq/show-state-extension-of-null
Fix some production mode issues
2019-02-12 11:16:38 +01:00
Emanuel Schütze
f7966df3ea
Merge pull request #4313 from FinnStutzenstein/fixCalllist
Fixed calllist by removing the attached data from the tree (fixes #4296)
2019-02-12 11:15:35 +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
FinnStutzenstein
17ce91f309 Fixed calllist by removing the attached data from the tree (fixes #4296) 2019-02-12 10:39:29 +01:00
Maximilian Krambach
66f9c81564 rework category list and sorting 2019-02-12 10:15:22 +01:00
FinnStutzenstein
cc4d5a5739 Fix issues with minification 2019-02-12 09:28:54 +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
8a6407068c
Merge pull request #4285 from FinnStutzenstein/translateModelsA
translate models
2019-02-11 12:08:21 +01:00
Tobias Hößl
3a0f02c929
Bugfix: pass line numbering mode to motion-detail-diff 2019-02-08 17:46:36 +01:00
FinnStutzenstein
424e7945be translate models 2019-02-08 17:28:23 +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
Emanuel Schütze
61d603f66a
Merge pull request #4283 from tsiegleauq/select-motions-from-extension
Add search selector for state extensions
2019-02-08 14:53:11 +01:00
Maximilian Krambach
c487d688f6 sort categories in dropdowns 2019-02-08 14:37:58 +01:00
Sean Engelhardt
ce96c6d359 Add search selector for state extensions 2019-02-08 14:36:24 +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
268403cc92
Merge pull request #4279 from FinnStutzenstein/previousState
Allow motions to go a state back
2019-02-08 12:23:08 +01:00
FinnStutzenstein
3ba8636acf Allow motions to go a state back 2019-02-08 11:58:11 +01:00
Sean
c2bde1197e
Merge pull request #4281 from tsiegleauq/motion-csv-with-state-info
Enable CSV export for state and reason
2019-02-08 11:57:53 +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
Sean Engelhardt
70af5e2054 Enable CSV export for state and reason
Adds and reorders what CSV is exporting using the
Export dialog
2019-02-08 11:31:11 +01:00
FinnStutzenstein
d0991936d6 ViewModelStore, register repositories, improve view model relations 2019-02-08 11:02:56 +01:00
Emanuel Schütze
1188a94e85
Merge pull request #4277 from tsiegleauq/pdf-for-motion-statutes
Export statute amendments with diff
2019-02-08 11:01:19 +01:00
Emanuel Schütze
fa8cc366e8
Merge pull request #4280 from tsiegleauq/prompt-in-workflow-detail
Add prompt before deleting workflow states
2019-02-08 10:39:25 +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
Sean Engelhardt
2220c22b24 Add prompt before deleting workflow states
Worked with promise.then, cause callbacks of
subscribe are sync
Also removes a console.log
2019-02-08 10:26:05 +01:00
FinnStutzenstein
2c7338a2bf removed old and not working code 2019-02-08 07:57:00 +01:00
Finn Stutzenstein
812168b00c
Merge pull request #4270 from GabrielInTheWorld/4116
Prevent dialogs to close easily
2019-02-08 07:19:28 +01:00
GabrielMeyer
2ef35d0b50 Prevent dialogs to close easily (Fixes #4116)
dialogs (created by MatDialog) should only close if the user explicit clicks 'x' or 'cancel' now
2019-02-07 16:58:43 +01:00
Sean
9664e52237
Merge pull request #4260 from tsiegleauq/workflow-creator
Add motion workflow creator
2019-02-07 16:52:48 +01:00
Sean Engelhardt
b82c2e78b0 Add motion workflow creator (WIP) 2019-02-07 16:36:33 +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
GabrielMeyer
da94a4f947 Fixes the initial loading of motions and their states
Fixes #4262
- If the workflow is changed, then the state of the motion will be updated, too
2019-02-06 12:12:32 +01:00
Sean
eab6e9bfd0
Merge pull request #4259 from GabrielInTheWorld/4258
Prevent mistakenly closing the window
2019-02-06 10:39:42 +01:00
GabrielMeyer
21f9715623 Fixes #4258
- Added a listener to the `onBeforeUnload`-event.
- This prevent reloading or closing the window including `F5, Shift+F5, Ctrl+R, Ctrl+Shift+R, Crtl+W, closing the tab by 'x'`

Added comment to the event-function.
2019-02-05 14:41:48 +01:00
Maximilian Krambach
0a06d05bdd sort 'previous/next motion' by identifier in detail view 2019-02-05 13:48:27 +01:00
Emanuel Schütze
3884accffe Fixed bug in getting workflow_id from config service. 2019-02-05 12:07:34 +01:00
Tobias Hößl
1bc17f2c6c Line highlighting 2019-02-04 13:17:24 +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
Sean Engelhardt
f992b77d99 Add Tags into motion details
Adds tags to motion repository,
view-motion and selectable for the motion detail view
2019-02-01 12:34:42 +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
Emanuel Schütze
617eccb85f New config to set reason field required. 2019-02-01 09:53:38 +01:00
Maximilian Krambach
15ce789617 wrong translation string 2019-01-31 17:16:30 +01:00
Emanuel Schütze
6e09a8819d
Merge pull request #4224 from MaximilianKrambach/statuteImportExport
import/export for statutes
2019-01-31 14:18:36 +01:00
Maximilian Krambach
04cbfe383d import/export for statutes 2019-01-31 14:10:39 +01:00
Emanuel Schütze
effd82eb75 UI improvements for motions 2019-01-31 12:49:00 +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
Maximilian Krambach
10d1209da8 Fix 'errors'
- two python comparisons error not passing flake8 anymore
- typescript not being able to recognize an object, sending it prechewed
2019-01-30 12:18:59 +01:00
Maximilian Krambach
6a969883ad acknowledge string filter
- display correct number of show entries
- all bulk actions should only apply to filtered data
- fix user group filter
2019-01-29 18:49:13 +01:00
FinnStutzenstein
d6fcef79c0 modified final version 2019-01-29 18:15:48 +01:00
Emanuel Schütze
a1dc92bf0a
Merge pull request #4187 from FinnStutzenstein/client-projector
more work on projector, countdowns, clos
2019-01-29 16:43:24 +01:00
Emanuel Schütze
42f8b74d8e Projector templates
- Projector base template
- Projection button
- projection dialog
- motion slide (template and motions/projector.py)
- user slide (template and users/projector.py)
- motion and user list view with projector column permission check.
2019-01-29 16:12:19 +01:00
FinnStutzenstein
965d23be50 more work on projector, countdowns, clos
- splitted clos-slide and clos-overlay.
- Synchronize to server, more little changes
2019-01-29 16:10:21 +01:00
GabrielMeyer
a1bc0290ed Fixes #4116
- Added config to prevent closing the dialog (except by clicking the
'cancel'-button of course)
- Changed property 'width' of the motion-detail-card, so the size will be
adjusted automatically.
2019-01-29 15:25:01 +01:00
Maximilian Krambach
8796d728d9 category prefix is currently optional 2019-01-29 13:50:27 +01:00
Emanuel Schütze
311b8abbea UI improvements
Max width for config view and content card in motion detail view.
Improved motion edit view in mobile mode.
2019-01-28 21:52:37 +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
Maximilian Krambach
461b29688e motion ballot pdf creation 2019-01-25 10:02:58 +01:00
FinnStutzenstein
22182463a9 cleanup, removed motion log from client 2019-01-25 08:39:50 +01:00
Sean
c9a9f8d809
Merge pull request #4182 from tsiegleauq/os3-pdf-motion-catalog
Export a list of motions
2019-01-24 14:55:05 +01:00
Sean Engelhardt
0e77ec79c2 Export a list of motions
Ports the "Motion Catalog Content Provider" to OpenSlides 3.
Categories and Prefixes are considered as before.
Updated to Code to ES6/Typescript.
Allows to export all motions from the motion list view.
2019-01-24 14:40:06 +01:00
Maximilian Krambach
b620e5edfa change tab order in import tabs 2019-01-24 14:30:46 +01:00
Maximilian Krambach
caed18ef03 set/read state+recommendation extensions 2019-01-22 13:01:00 +01:00
Emanuel Schütze
bde292b13e
Merge pull request #4162 from tsiegleauq/pdfmake-vfs
Add PDF custom fonts
2019-01-22 12:13:17 +01:00
Sean Engelhardt
e680ca38da Add PDF custom fonts 2019-01-22 11:59:16 +01:00
Sean
aa668b72d9
Merge pull request #4167 from MaximilianKrambach/shortenTitle
shortening motion titles
2019-01-22 11:37:37 +01:00
Maximilian Krambach
23298a03b3 Shortening motion titles 2019-01-22 10:10:42 +01:00
Emanuel Schütze
6b66a208c5 Updated translation strings and German translation. 2019-01-21 22:50:10 +01:00
Oskar Hahn
209105efc3
Merge pull request #4103 from FinnStutzenstein/client-projector-ui
Client projector ui (WIP)
2019-01-20 11:39:49 +01:00
FinnStutzenstein
74e0bea108 Wirst work for the projector system on the client 2019-01-19 21:26:05 +01:00
Maximilian Krambach
6d18d70845 sort by date in motion 2019-01-19 21:21:20 +01:00
Maximilian Krambach
30d8812719 fix motion change permission 2019-01-19 19:01:44 +01:00
Maximilian Krambach
fb51b54d5c check permissions for motions 2019-01-19 14:42:54 +01:00
Maximilian Krambach
6cd250a36d client part of setMultiState 2019-01-19 10:56:19 +01:00
Emanuel Schütze
8536f46d01 UI improvements
- better select field for category and block in motion detail
- improved motion block views
- chips for submitters
- motion detail template
2019-01-18 21:31:21 +01:00