Commit Graph

462 Commits

Author SHA1 Message Date
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
Maximilian Krambach
7f68fef7ad search History 2019-01-22 11:33:35 +01:00
Sean
20bb92466b
Merge pull request #4161 from MaximilianKrambach/passwordRestrictions
reset password permission check in menu
2019-01-22 11:26:59 +01:00
Maximilian Krambach
30f97935e0 reset password permission check in menu 2019-01-22 10:19:50 +01:00
Maximilian Krambach
23298a03b3 Shortening motion titles 2019-01-22 10:10:42 +01:00
Emanuel Schütze
c67aef68d9
Merge pull request #4163 from emanuelschuetze/translations
Updated translation strings and German translation.
2019-01-22 09:19:26 +01:00
Emanuel Schütze
6b66a208c5 Updated translation strings and German translation. 2019-01-21 22:50:10 +01:00
Emanuel Schütze
2c5ea299e3 Show username if full_name or last_name is empty.
important for create-example_data
2019-01-21 16:01:16 +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
Emanuel Schütze
251cc4acc1
Merge pull request #4147 from emanuelschuetze/history-table
Improved history table.
2019-01-20 10:35:23 +01:00
Emanuel Schütze
2c5d8ea29e Improved history table. 2019-01-20 09:46:41 +01:00
Emanuel Schütze
23f7dce6a2 Fixes for using pypi package
- Fix static path for manifest and login logo.
- Use insecure=True (required to serve static files via development
  server with DEBUG=False).
2019-01-20 09:37:42 +01:00
Emanuel Schütze
034a4d2a67
Merge pull request #4144 from MaximilianKrambach/dateSort
sort by date in motion
2019-01-19 22:43:29 +01:00
Emanuel Schütze
ec769a82a4
Merge pull request #4151 from emanuelschuetze/rest
Revert rest fix for proxy.conf.json
2019-01-19 22:41:19 +01:00
Emanuel Schütze
16ee9414dc Revert rest fix for proxy.conf.json
see commit c703ba9e5f
2019-01-19 21:59:32 +01:00
Maximilian Krambach
f47ec28977 speaker remove/ open+close list functionality 2019-01-19 21:50:22 +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
Emanuel Schütze
12c6554064
Merge pull request #4146 from MaximilianKrambach/configReset
config reset
2019-01-19 21:12:52 +01:00
Emanuel Schütze
c26daad07d
Merge pull request #4149 from MaximilianKrambach/fixMotionPermission
fix motion change permission
2019-01-19 21:09:00 +01:00
Emanuel Schütze
e6db2c97fc
Merge pull request #4142 from boehlke/fix_mediafiles_add
Extra check for type in updateValues
2019-01-19 21:05:12 +01:00
Maximilian Krambach
30d8812719 fix motion change permission 2019-01-19 19:01:44 +01:00
Maximilian Krambach
e8de30b23e config reset 2019-01-19 18:19:57 +01:00
André Böhlke
5d458e01d4 Extra check for type in updateValues 2019-01-19 16:26:18 +01:00
Maximilian Krambach
fb51b54d5c check permissions for motions 2019-01-19 14:42:54 +01:00
Emanuel Schütze
2d40072f44
Merge pull request #4133 from MaximilianKrambach/sortEmpties
move empty/undefined sortings always to the alphabet's end
2019-01-19 11:55:10 +01:00
Maximilian Krambach
91dec2370b move empty/undefined sortings always to the alphabet's end 2019-01-19 11:41:17 +01:00
Emanuel Schütze
62c88280b6
Merge pull request #4137 from tsiegleauq/viewport-tablet-fixes
Fix naviagion hiding
2019-01-19 11:37:51 +01:00
Emanuel Schütze
36b72d573c
Merge pull request #4138 from tsiegleauq/enable-rest-for-ngsw
Allow navigating to /rest/ for the new ngsw setup
2019-01-19 11:37:33 +01:00
Sean Engelhardt
9d3410af1c Fix naviagion hiding
Fixes an issue where the navigation panel was always hiding during
every navigation.

Also changes the backdrop of the navigation
2019-01-19 11:07:37 +01:00
Maximilian Krambach
6cd250a36d client part of setMultiState 2019-01-19 10:56:19 +01:00
Sean Engelhardt
c703ba9e5f Allow navigating to /rest/ for the new ngsw setup 2019-01-19 10:49:40 +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
Maximilian Krambach
53a8392e33 motion detail imrovements 2019-01-18 20:58:35 +01:00
Sean
24cf01b03f
Merge pull request #4122 from tsiegleauq/os3-pdfmake
Add motion to pdf converter
2019-01-18 20:45:16 +01:00
Sean
f7bc087c32
Merge pull request #4126 from MaximilianKrambach/follow_motionblock
simplify followRecommendation for motionBlock
2019-01-18 20:39:42 +01:00
Sean
5a74c7d662
Merge pull request #4121 from MaximilianKrambach/speechcount
warn/show speaker-call amount
2019-01-18 20:31:14 +01:00
Sean Engelhardt
9b61603dae Add motion to pdf converter
Adds the converstion from motion to PDF.
Uses pdfmake as the old openslides does
2019-01-18 20:25:06 +01:00
Maximilian Krambach
758abde410 simplify followRecommendation for motionBlock 2019-01-18 19:17:48 +01:00
Finn Stutzenstein
8bd24d690d
Merge pull request #4118 from FinnStutzenstein/notify
Make OS3 notify ready
2019-01-18 17:55:24 +01:00
FinnStutzenstein
728f3f84c4 Some teamwork improvements 2019-01-18 17:44:26 +01:00
Maximilian Krambach
3b5876009c warn/show speaker-call amount 2019-01-18 17:19:56 +01:00
FinnStutzenstein
47a09e4bce Make OS3 notify ready 2019-01-18 17:03:09 +01:00
Maximilian Krambach
c52fdaae6c csv-import for user and agenda(topics) 2019-01-18 13:15:54 +01:00
Maximilian Krambach
82a1ad8709 sortSearch improvements (#4098)
- "no workflows set" removed
-  motion block filter hides if there is no motion block
- inserted the group filter
- fixed display of agenda filter menu
- show plural if multiple filters are selected, show filtered amount
- recommendation, done/not done status filter
- active filter count and clearing option
- number of current items to the left
2019-01-18 12:51:04 +01:00