Commit Graph

506 Commits

Author SHA1 Message Date
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
Emanuel Schütze
9c68155d9c
Merge pull request #4302 from tsiegleauq/delete-items-from-agenda
Delete agenda items over list
2019-02-11 18:24:10 +01:00
Emanuel Schütze
610ece2bb5
Merge pull request #4305 from FinnStutzenstein/fixUserDetailView
fix user detail view (fixes #4303)
2019-02-11 18:10:51 +01:00
FinnStutzenstein
d866b86df1 fix user detail view (fixes #4303) 2019-02-11 17:44:28 +01:00
Emanuel Schütze
12ca09e97e
Merge pull request #4300 from tsiegleauq/pdf-line-number-fixes
Add line-numbering fix
2019-02-11 17:42:44 +01:00
Sean Engelhardt
5e5fc4a499 Delete agenda items over list
Implements the deletion logic for agenda items from the agenda list view
2019-02-11 16:52:41 +01:00
Sean
4d9adc291c
Merge pull request #4295 from MaximilianKrambach/userSearchFix
search users in list search by full name
2019-02-11 16:18:15 +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
cda5e066de
Merge pull request #4291 from CatoTH/pdf-split-inline-elements-at-line-break
Provide a method to split inline elements at line breaks
2019-02-11 13:05:09 +01:00
Sean
fbcc80a3a0
Merge pull request #4286 from FinnStutzenstein/cleanup
Removed OpenSlidesComponent
2019-02-11 12:10:21 +01:00
Sean
8a6407068c
Merge pull request #4285 from FinnStutzenstein/translateModelsA
translate models
2019-02-11 12:08:21 +01:00
Maximilian Krambach
49aea04b9b search users in list search by full name 2019-02-11 11:13:50 +01:00
Emanuel Schütze
79aaa949ae
Merge pull request #4290 from CatoTH/diff-bugfix-rsquo
Bugfix: Don't detect ’-characters as changes
2019-02-11 07:46:45 +01:00
FinnStutzenstein
89995e01db fixed the operatorservice
Do not use the injector, because only in the operator needed members from the user repository were tree-shaked away by the --aot production build. Import it right away (not nice, but prevents tree shaking)
2019-02-10 20:18:36 +01:00
Emanuel Schütze
b5294cc5fd
Merge pull request #4289 from FinnStutzenstein/resetPassword
Rework the reset password component (fixes #4079)
2019-02-10 11:54:52 +01:00
FinnStutzenstein
6a33b68a41 Rework the reset password component (fixes #4079) 2019-02-10 11:36:01 +01:00
Tobias Hößl
ed62c172fb
Provide a method to split inline elements at line breaks 2019-02-09 19:33:12 +01:00
Tobias Hößl
4cbb6e44f7
Bugfix: Don't detect ’-characters as changes 2019-02-09 18:24:52 +01:00
FinnStutzenstein
090bf49d97 Removed OpenSlidesComponent 2019-02-08 18:31:46 +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
Sean
86ee11f9c7
Merge pull request #4284 from MaximilianKrambach/noEnd
fix display of end time
2019-02-08 14:51:44 +01:00
Maximilian Krambach
c487d688f6 sort categories in dropdowns 2019-02-08 14:37:58 +01:00
Sean
524d6d82a6
Merge pull request #4276 from MaximilianKrambach/csvExportImport
fixing csv export/import, add option for iso 8895-15
2019-02-08 14:37:23 +01:00
Sean Engelhardt
ce96c6d359 Add search selector for state extensions 2019-02-08 14:36:24 +01:00
Maximilian Krambach
382cf4ef96 fix display of end time 2019-02-08 14:33:55 +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
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
Sean
a52db89288
Merge pull request #4256 from emanuelschuetze/workflowid
Fixed bug in getting workflow_id from config service.
2019-02-05 13:17:36 +01:00
Emanuel Schütze
3884accffe Fixed bug in getting workflow_id from config service. 2019-02-05 12:07:34 +01:00
Jochen Saalfeld
90e6af9ef0
Merge pull request #4250 from jsaalfeld/pin_typescript_version
pinning typescript to <3.3 - fixes #4249
2019-02-05 08:37:35 +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
Jochen Saalfeld
f5ac1822bf
pinning typescript to <3.3 - fixes #4249 2019-02-04 11:55:58 +01:00
Emanuel Schütze
a4fcc43121 Hotfix: Downgrade terser to 3.14.1
see https://github.com/webpack-contrib/terser-webpack-plugin/issues/66
2019-02-03 22:26:47 +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
Sean
214b74e091
Merge pull request #4200 from emanuelschuetze/config-textarea-field
Use missing textarea field for config inputtype 'text'.
2019-01-29 10:57:40 +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
52d622b624 po2json-tempfix
run through sed after autotranslating po2json
2019-01-28 16:14:51 +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
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
Maximilian Krambach
c1c0611d86 filter mediafiles by hidden status, and by 'pdf/not pdf' 2019-01-24 14:47:15 +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
Emanuel Schütze
80f795c9d0 Updated PWA icons. 2019-01-23 08:33:07 +01:00
Emanuel Schütze
c48148fc01
Merge pull request #4169 from tsiegleauq/gender-client
Add gender field to users
2019-01-22 13:35:25 +01:00
Maximilian Krambach
caed18ef03 set/read state+recommendation extensions 2019-01-22 13:01:00 +01:00
Sean Engelhardt
07ca50441a Add gender field to users
Alters the user detail view and the list of speakers to
support the gender field.
Default selection of genders was set to "Female", "Male"
and "Diverse".
Adding genders to users is completely optional
2019-01-22 12:57:47 +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
Emanuel Schütze
e6e0ef7e61
Merge pull request #4160 from MaximilianKrambach/searchHistory
search History
2019-01-22 12:03:16 +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