Commit Graph

394 Commits

Author SHA1 Message Date
Maximilian Krambach
ee88dff41f Fixing csv export/import, add new config option for csv export encoding (utf-8 || iso-8895-15) 2019-02-08 12:37:02 +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
Sean
5ace768427
Merge pull request #4268 from GabrielInTheWorld/4262
Fixes the initial loading of motions and their states
2019-02-07 13:57:02 +01:00
Maximilian Krambach
056a20964c improve start time and duration display for finished speakers 2019-02-06 17:01:15 +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
Emanuel Schütze
7e95899353
Merge pull request #4261 from tsiegleauq/fix-empty-pdf-style
Fix PDF style interpretation
2019-02-05 16:11:03 +01:00
Sean Engelhardt
b200169de9 Fix pdf style interpretation
fix false style information during recursife pdf generateion
fix an error where styling items in a list resultid in unexpected
list definitions
2019-02-05 15:15:12 +01:00
Emanuel Schütze
4395b86b9c
Merge pull request #4216 from MaximilianKrambach/duration
Estimated duration, and datetimepicker in config
2019-02-05 14:49:58 +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
66a1ac1532 estimated duration, and datetimepicker in config 2019-02-05 13:49: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
Emanuel Schütze
a6043ba8d5
Merge pull request #4251 from tsiegleauq/login-redirect-issues
Allow reload on login children
2019-02-04 15:30:52 +01:00
Sean Engelhardt
06bfa314cb Allow reload on login children
Fixes a bug where the user was always redirected to
/login/ as unknown user, when they tried to
load children from login page from an external references.
2019-02-04 15:17:03 +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
768b97816f
Merge pull request #4211 from tsiegleauq/current-list-of-speakers
Add current list of speakers to agenda-list
2019-02-01 18:30:45 +01:00
Sean Engelhardt
0a7f905c21 Add current list of speakers to agenda-list
Adds a current-list-of-speakers button to the agenda list view
The user may select a projector which will return an agenda item
which will be used to determine the CLOS
2019-02-01 18:11:10 +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
e281b310a7
Merge pull request #4238 from MaximilianKrambach/historyNavigate
navigate to detail view after setting the history mode
2019-02-01 15:17:16 +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
ba6d3da8f0 navigate to detail view after setting the history mode
(if a detailView is existant)
2019-02-01 14:42:19 +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
dbe452f976
Merge pull request #4232 from emanuelschuetze/reason
New config to set reason field required.
2019-02-01 10:15:02 +01:00
Finn Stutzenstein
44bc03b300
Merge pull request #4231 from tsiegleauq/enter-custom-translations
Add custom translation settings
2019-02-01 10:11:00 +01:00
Emanuel Schütze
617eccb85f New config to set reason field required. 2019-02-01 09:53:38 +01:00
Sean Engelhardt
8016827242 Add custom translation settings 2019-02-01 09:51:18 +01:00
FinnStutzenstein
582d4d7c4a Projector reference for CLOS 2019-02-01 09:47:59 +01:00
Sean
c00b1a8325
Merge pull request #4221 from FinnStutzenstein/client-projector
projector cleanup
2019-01-31 19:03:13 +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
FinnStutzenstein
b921b771d6 projector cleanup 2019-01-31 12:41:04 +01:00
Emanuel Schütze
9c6a21469b
Merge pull request #4215 from GabrielInTheWorld/theming
OpenSlides Theming
2019-01-31 12:30:11 +01:00
Emanuel Schütze
df7fbfee67
Merge pull request #4225 from tsiegleauq/sort-group-matrix
Sort groups by power
2019-01-31 12:27:49 +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
Sean
8f4dddf495
Merge pull request #4223 from FinnStutzenstein/default-group-nav
Fixed operator respecting the default group
2019-01-31 12:07:56 +01:00
Maximilian Krambach
271d8cbfa4 only show motion workflow filter for config-enabled workflows 2019-01-31 12:05:50 +01:00
GabrielMeyer
30535dd21f OpenSlides theming (Fixes #4205)
using 3 built-in themes (default, dark, green)
2019-01-31 12:04:35 +01:00
Sean Engelhardt
9e477250b0 Sort groups by power 2019-01-31 12:03:59 +01:00
Emanuel Schütze
8cbcd6a5b5
Merge pull request #4220 from tsiegleauq/rec-giver-in-pdf
Add motion reco giver to motion PDF
2019-01-31 11:53:26 +01:00
Emanuel Schütze
b8fb95e878
Merge pull request #4000 from FinnStutzenstein/translations
use own translation service wrapper
2019-01-31 11:30:18 +01:00
FinnStutzenstein
a53e0f27e6 Fixed operator respecting the default group 2019-01-31 11:15:21 +01:00
FinnStutzenstein
d20f8d6f44 Use own translation service wrapper for using custom translations 2019-01-31 10:42:44 +01:00
Sean Engelhardt
92fab5102a Add loginNotice as div
Remove the snackbar, restructure the template code for login mask
and adds a div with the login notice
2019-01-31 10:33:37 +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
Sean
eb21ae0136
Merge pull request #4214 from tsiegleauq/angular722
Update to angular 7.2.2
2019-01-31 09:54:24 +01:00
Emanuel Schütze
9629c6d1fd Updated translations 2019-01-31 09:20:20 +01:00
Maximilian Krambach
167ef72bb6 agenda pdf export 2019-01-30 16:13:56 +01:00
Sean Engelhardt
b5ea837e0a Update to angular 7.2.2
- updates the dependancien in package.json
- Angular is now compatible with current typescript
- Jasmine/Karma supports LazyLoading again
2019-01-30 12:54:25 +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
Emanuel Schütze
625de1aeb4
Merge pull request #4207 from MaximilianKrambach/stringFilter
acknowledge string filter
2019-01-29 19:49:59 +01:00
Maximilian Krambach
6b0f129067 user pdf exports: participant lists, access data 2019-01-29 18:52:40 +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
Sean
aa58572709
Merge pull request #4209 from GabrielInTheWorld/fix-4116
Fixes #4116
2019-01-29 16:26:15 +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
Emanuel Schütze
c52b82e77d
Merge pull request #4188 from MaximilianKrambach/hierarchicAgenda
agenda hierarchies
2019-01-29 16:08:03 +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
064a3f7d3c agenda hierarchy tree 2019-01-29 15:00:18 +01:00
Maximilian Krambach
8796d728d9 category prefix is currently optional 2019-01-29 13:50:27 +01:00
Sean
c6bddd06f7
Merge pull request #4202 from emanuelschuetze/ui
UI improvements
2019-01-29 12:15:48 +01:00
Sean
c423f3a0a4
Merge pull request #4178 from GabrielInTheWorld/fix-autofocus-search
Fixes #4174
2019-01-29 12:14:28 +01:00
GabrielMeyer
b6295952ba Fixes #4174
Fixed the non-autofocus search-input-element on the search-page.
Added directive 'osAutofocus' to the input-element, so it will be autofocussed when the user enters the search-component.

Resolved answers of pull-request

- Added `osAutofocus` to the `os-sort-filter-bar`
2019-01-29 11:12:58 +01:00
Sean
2d0eab9b20
Merge pull request #4176 from GabrielInTheWorld/fix-close-sidenav
Fixes #4173
2019-01-29 11:04:01 +01:00
GabrielMeyer
d043133de1 Fixes #4173
Added the function to autoclose the sidenavigation when working on a mobile-device.
Removed unnecessary functions.

Resolved answers of pull-request

- Added myself to the AUTHORS-file
- Used square brackets for 'routerLink'
2019-01-29 10:37:21 +01:00
Emanuel Schütze
f3b96d4386 Use missing textarea field for config inputtype 'text'. 2019-01-28 21:55:42 +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
c406362da5
Merge pull request #4183 from MaximilianKrambach/presenceCheck
Set/unset presence
2019-01-28 10:57:41 +01:00
Maximilian Krambach
8e086df440 view for changing the user presence by oarticipant number 2019-01-28 10:40:41 +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
Sean
43e0f7943b
Merge pull request #4179 from MaximilianKrambach/mediafiles-filter
filter mediafiles by hidden status, and by 'pdf/not pdf'
2019-01-25 10:20:12 +01:00
Maximilian Krambach
461b29688e motion ballot pdf creation 2019-01-25 10:02:58 +01:00