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
Norman Jäckel
6f24b7c169
Refactored state access level by renaming state field to restriction.
2019-04-08 14:56:14 +02:00
Maximilian Krambach
6f62e5c7e4
Merge pull request #4537 from MaximilianKrambach/assignments
...
assignment detail and list views
2019-04-08 10:25:56 +02:00
Maximilian Krambach
464fb89b53
include per-poll values, some travis fix
2019-04-08 10:16:47 +02:00
Norman Jäckel
e6daf32924
Added check for double serializer class registering.
...
Removed AssignmentShortPollSerializer.
2019-04-08 10:16:47 +02:00
Maximilian Krambach
52193e9fb2
Assignments
2019-04-08 10:16:46 +02:00
Gernot Schulz
58a0da7945
Fix typo in SESSION_REDIS configuration
2019-04-08 09:52:04 +02:00
Emanuel Schütze
3fd5d19daa
Merge pull request #4531 from ostcar/fix_config_key_to_id
...
Fixes problems with config.key_to_id
2019-04-08 09:02:52 +02:00
Sean Engelhardt
bd33c59ddf
Add permissions to ListViews
...
Adds the AuthGuard to certain routes
Adds an error-component
Also hides certain other elements where
permissions should apply
2019-04-06 21:13:17 +02:00
Oskar Hahn
41aed15426
Make the projector-system explicit async.
...
Also lock config.build_key_to_id
2019-04-06 06:40:15 +02:00
Norman Jäckel
aa9af9db8c
Merge pull request #4557 from FinnStutzenstein/removeUnnecessaryView
...
Remove unnecessary view (fixed #4549 )
2019-04-05 12:44:36 +02:00
Emanuel Schütze
6364a04d22
Merge pull request #4562 from FinnStutzenstein/redisSessionTimeout
...
Set a longer socket timeout for redis session
2019-04-03 22:13:52 +02:00
Emanuel Schütze
ab0e83ff0b
Merge pull request #4563 from FinnStutzenstein/catchEmailExceptions
...
Catch more email exceptiopns
2019-04-03 21:22:21 +02:00
Emanuel Schütze
58e0e4155e
Merge pull request #4556 from FinnStutzenstein/postgresAuthGroupSequence
...
Restart the AuthGroup id sequence on postgres
2019-04-03 21:16:42 +02:00
FinnStutzenstein
b058bda4f6
Catch more email exceptiopns
2019-04-02 16:08:52 +02:00
FinnStutzenstein
231cb60f5a
Set a longer socket timeout for redis session
...
Related to #4555
2019-04-02 14:24:39 +02:00
Finn Stutzenstein
29762ad89e
Merge pull request #4541 from FinnStutzenstein/projectionDefaults2
...
Projectiondefaults, width slider direct save
2019-04-02 12:30:20 +02:00
Finn Stutzenstein
2f10fad375
Merge pull request #4553 from FinnStutzenstein/removeMotionLogs
...
Remove motion logs
2019-04-02 12:12:31 +02:00
FinnStutzenstein
d3e98ac158
Remove unnecessary view ( fixed #4549 )
2019-04-02 12:11:26 +02:00
Emanuel Schütze
ff41aa8061
Merge pull request #4551 from normanjaeckel/MotionReasonRequired
...
Fixed bug that motion reason is required if respective config value i…
2019-04-02 11:08:44 +02:00
FinnStutzenstein
018df697fa
Restart the AuthGroup id sequence on postgres
2019-04-02 07:51:13 +02:00
FinnStutzenstein
4308de3164
Remove motion logs
2019-04-01 09:04:22 +02:00
FinnStutzenstein
cee6d55b82
Projectiondefaults, width slider direct save
2019-04-01 08:48:52 +02:00
Norman Jäckel
861dc1c02e
Fixed bug that motion reason is required if respective config value is set.
2019-03-30 15:00:54 +01:00
Oskar Hahn
206eb9bcba
decode only the needed data when calculating the required users
2019-03-29 22:38:12 +01:00
Oskar Hahn
77a1975369
Use redis connection pool
2019-03-27 22:51:33 +01:00
Emanuel Schütze
fbbd5fa135
Merge pull request #4516 from normanjaeckel/FixCommands
...
Fixed commands.
2019-03-20 13:19:09 +01:00
Emanuel Schütze
a3ed1ae00c
Merge pull request #4518 from normanjaeckel/NewPermInternalMotions
...
Added new permission to see motions in internal state (so called auth…
2019-03-20 13:03:48 +01:00
Norman Jäckel
16cde2cd96
Added new permission to see motions in internal state (so called authorized users).
2019-03-20 12:47:26 +01:00
Norman Jäckel
35198f6e64
Fixed commands.
2019-03-20 08:50:57 +01:00
Norman Jäckel
94080df663
Merge pull request #4517 from emanuelschuetze/fixComments
...
Fixed permission check for manage comments
2019-03-20 08:47:11 +01:00
Emanuel Schütze
a20803401f
Fixed permission check for manage comments
2019-03-19 21:26:28 +01:00
GabrielMeyer
76d760bd41
Replaces the old angular2tree
with a custom drag&drop tree
...
Calculates the direction of the moving.
Finishes the moving of nodes in same level
Adds some style
Sets the padding dynamically
Adds placeholder depends on the horizontal movement
Set the placeholder at the correct place, so the user can see, where he will drop the moved node
Finishes moving of nodes
- Old parents change their option to expand.
- New parents change their option to expand.
- If the user moves a node between nodes with a higher level, the node will be moved to the next index with same or lower level.
Fixes the visibility of moved node
- If the new parent is not visible, the moved node will not be seen.
If the user moves an expanded node, the new parent should expanded, too, if it's not already.
Sending successfully data to the server
- Sorting the items
Handles moving nodes between parent and children
- If the user moves a node between a parent and its children, the children will be relinked to the moved node as their new parent.
Replaces the old `sorting-tree` to a new one
- The new `sorted-tree` replaces the old `sorting-tree`.
- The old package `angular-tree-component` was removed.
- The user will only see the buttons to save or cancel his changes, if he made changes.
- The buttons, that do not work currently, were removed.
Adds a guard to check if the user made changes.
- If the user made changes but he has not saved them, then there is a dialog that will prompt to ask for confirmation.
Before cancelling the changes the user has to confirm this.
2019-03-19 13:19:35 +01:00
Emanuel Schütze
4950ca084f
Merge pull request #4507 from normanjaeckel/ManyToManyMigrationsFix
...
Hotfix for #4501 : Skipped many to many related objects autoupdate sig…
2019-03-14 11:34:48 +01:00
Norman Jäckel
baacda2b8e
Hotfix for #4501 : Skipped many to many related objects autoupdate signal during migrations.
2019-03-13 10:58:01 +01:00
Norman Jäckel
8f50caf481
Hotfix for #4491 : Autoupdate for motion when change recommendation changes.
2019-03-13 09:40:04 +01:00
FinnStutzenstein
eb4537c1bf
rework login system (again)
2019-03-11 13:45:17 +01:00
Emanuel Schütze
0419ea629f
Merge pull request #4487 from CatoTH/OS3-Bugfix-Amendment-Status-Handling
...
Bugfix: Amendment statuses
2019-03-09 23:14:29 +01:00
Tobias Hößl
6b685924d9
Bugfix: Amendment statuses
2019-03-09 22:48:21 +01:00
Emanuel Schütze
2e2bf9bf54
Merge pull request #4482 from FinnStutzenstein/sortAgendaOnProjector
...
Fallback to id when sorting the agenda
2019-03-09 21:40:51 +01:00
Oskar Hahn
8409378e00
Fix a race condition when creating config.key_to_id
2019-03-09 18:55:58 +01:00
Emanuel Schütze
07c723a7dc
Merge pull request #4475 from FinnStutzenstein/addTextDecorationToHtmlWhitelist
...
Add text-decoration to bleach whitelist
2019-03-08 16:19:32 +01:00
FinnStutzenstein
66ebdc4f8a
Add text-decoration to bleach whitelist, fix tinymce toolbar
2019-03-08 15:11:55 +01:00
Emanuel Schütze
3490ff3ca4
Merge pull request #4477 from FinnStutzenstein/projectorScroll
...
projector scroll and contdown offset
2019-03-08 14:32:42 +01:00
FinnStutzenstein
5fff7d24ec
projector scroll and contdown offset
2019-03-08 13:17:43 +01:00
Emanuel Schütze
40e5ea0a1d
Merge pull request #4473 from FinnStutzenstein/themeInLoginData
...
Added theme to login data
2019-03-08 12:01:32 +01:00
FinnStutzenstein
887c1a3516
Fallback to id when sorting the agenda
2019-03-08 11:59:07 +01:00
FinnStutzenstein
138a52d278
Fix blanks for amendments
2019-03-08 11:05:42 +01:00
FinnStutzenstein
a1018e62e2
Added theme to login data
2019-03-08 09:19:05 +01:00
FinnStutzenstein
ed4b1c80f1
Replace recommendation on client and server for motion slide
2019-03-07 08:52:33 +01:00
FinnStutzenstein
ecdfdf4b87
Resort python import for isort 4.3.11 ( fixes #4467 )
...
One dot imports are again behind two dot imports since this new isort
release.
2019-03-06 14:54:03 +01:00
Norman Jäckel
d9369ab9c1
Merge pull request #4201 from normanjaeckel/ManyToManyFix
...
Fixed autoupdate for m2m relation.
2019-03-06 09:31:18 +01:00
Norman Jäckel
01a61ab292
Fixed autoupdate for m2m relation. Fixed #4055 .
2019-03-06 08:58:52 +01:00
FinnStutzenstein
b0d4851651
Fix inSomeGroups for the superadmin, delete empty comments
2019-03-06 08:35:00 +01:00
FinnStutzenstein
20e2639323
set allow_null for integerfields, when they are not required
2019-03-05 14:23:01 +01:00
Oskar Hahn
dd4754d045
Disable the future-lock when updating the restircted data cache
...
Before this commit, there where two different locks when updating the restricted
data cache. A future lock, what is faster but only works in the same thread. The
other lock is in redis, it is not so fast, but also works in many threads.
The future lock was buggy, because on a second call of update_restricted_data
the same future was reused. So on the second run, the future was already done.
I don't see any way to delete. The last client would have to delete it, but there
is no way to find out which client the last one is.
2019-03-04 21:37:00 +01:00
Emanuel Schütze
4174f70d2b
Merge pull request #4448 from normanjaeckel/SetStateView
...
Set state view
2019-03-04 11:17:33 +01:00
Norman Jäckel
e22274653d
Added identifier to saved fields on multiple state management.
2019-03-01 21:11:27 +01:00
Norman Jäckel
c21d8be108
Revert "fix identifier setting on mass setstate"
...
This reverts commit e870ed495a
.
2019-03-01 21:09:01 +01:00
Norman Jäckel
9eec2404dd
Fixed on_delete field attr. Fixed #4405
2019-03-01 20:53:01 +01:00
FinnStutzenstein
d0e6681aad
One global clos reference. More projector buttons for the clos view
2019-03-01 13:17:26 +01:00
FinnStutzenstein
ab0955d890
Fixed countdown model
2019-03-01 12:10:49 +01:00
Maximilian Krambach
44d16eb244
countdown: new title field, description optional
2019-03-01 11:22:09 +01:00
FinnStutzenstein
3f77cc7b24
Add item number to topic title, hide clos slide for one projector
2019-03-01 10:26:52 +01:00
FinnStutzenstein
85903dbb44
Hotfix for #4408
2019-02-28 09:09:32 +01:00
Emanuel Schütze
e59327efd5
Merge pull request #4421 from MaximilianKrambach/setMultiStateFix
...
fix identifier setting on mass setstate
2019-02-27 22:31:18 +01:00
Emanuel Schütze
367df3b095
Merge pull request #4409 from FinnStutzenstein/motionBlockSlide
...
Add referenced motions by the server (fixes #4383 )
2019-02-27 22:22:11 +01:00
Norman Jäckel
197ff7264c
Fixed deletion of motions with change recommendations. Fixed #4415 .
2019-02-27 20:16:51 +01:00
Maximilian Krambach
e870ed495a
fix identifier setting on mass setstate
2019-02-27 18:14:25 +01:00
FinnStutzenstein
4cde0431ab
Add referenced motions by the server ( fixes #4383 )
2019-02-27 07:35:52 +01:00
FinnStutzenstein
f039293c09
current speaker chyron
2019-02-26 21:56:59 +01:00
Emanuel Schütze
4d62d99099
Fixes
...
- use always color black on projector, also in dark mode
- show border for projector preview
- Fix projector logo margin by using img instead of os-logo
- Use also 'username' in invitation email subject
2019-02-25 18:26:27 +01:00
Emanuel Schütze
889aad48ed
Merge pull request #4395 from FinnStutzenstein/fixAgendaItemDeletion
...
Fixed deletion of agenda items.
2019-02-25 11:54:21 +01:00
FinnStutzenstein
70d7f49afe
Fixed deletion of agenda items.
...
Introduced by #4352
2019-02-25 11:29:01 +01:00
Jochen Saalfeld
f546cd9e27
increasing default upload size
2019-02-25 09:28:32 +01:00
FinnStutzenstein
63f1802d7a
(Current) list of speaker slide
2019-02-22 10:40:28 +01:00
FinnStutzenstein
3f58538afb
Agenda item list slide
2019-02-21 21:56:40 +01:00
Emanuel Schütze
80a061db38
Motion block slide template
2019-02-21 15:06:14 +01:00
FinnStutzenstein
2abe71313c
Motion block slide
2019-02-21 14:01:02 +01:00
Emanuel Schütze
650054dfc9
Merge pull request #4373 from normanjaeckel/HistoryPermission
...
Added new permission to see the history.
2019-02-21 13:07:07 +01:00
FinnStutzenstein
7ef36e93c6
List of speakers slide
2019-02-21 12:34:41 +01:00
Norman Jäckel
d06a4a5c6d
Added new permission to see the history.
2019-02-21 11:45:40 +01:00
Norman Jäckel
4b6ce77d36
Reset logo configs if logo is deleted.
2019-02-19 21:45:41 +01:00
Emanuel Schütze
c1a818a368
Merge pull request #4370 from normanjaeckel/FixAgendaHidden
...
Fixed permission check for hidden and internal items.
2019-02-19 19:55:33 +01:00
Emanuel Schütze
8ab66418ac
Merge pull request #4369 from normanjaeckel/HistoryForMotionChangeRecommendations
...
Added history information for motion change recommendations.
2019-02-19 17:26:31 +01:00
Norman Jäckel
6585c072ae
Fixed permission check for hidden and internal items.
2019-02-19 14:04:49 +01:00
Norman Jäckel
085d2f58cb
Added history information for motion change recommendations.
2019-02-19 13:41:31 +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
Emanuel Schütze
c9c4566c08
several fixes and improvements
...
- Add projector logo/headerimage
- Fixed opening multiselect action menu for users.
- Used defined toolbar color for multiselect mode.
- (server) Added check for 'request.data._mutable = True' to edit user
profile as normal user.
2019-02-18 16:40:46 +01:00
Tobias Hößl
7b2e116f51
Change reco default value, Slide test cases
2019-02-15 15:15:58 +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
FinnStutzenstein
d1508161d2
Basic mediafile slide
2019-02-15 14:41:56 +01:00
Maximilian Krambach
edd22eeef6
Merge pull request #4348 from MaximilianKrambach/fixStatute
...
fix statute paragraph creation for delegates
2019-02-15 12:38:47 +01:00
Finn Stutzenstein
9e794c4669
Merge pull request #4344 from FinnStutzenstein/countdowns
...
Countdown slide and controls
2019-02-15 12:37:23 +01:00
FinnStutzenstein
2801e28704
Countdown slide and controls
2019-02-15 12:21:23 +01:00
Maximilian Krambach
3262dd0da8
fix statute paragraph creation for delegates
2019-02-15 12:11:54 +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
Maximilian Krambach
59ed906a36
user sorting by config
2019-02-14 10:53:13 +01:00
Emanuel Schütze
c77075f807
Topic slide
2019-02-14 08:14:50 +01:00
FinnStutzenstein
06147affe5
Separate motion state access level migration
2019-02-12 10:10:40 +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
Oskar Hahn
7e25a858d4
Fix projector error message
2019-02-10 10:50:18 +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
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
FinnStutzenstein
3ba8636acf
Allow motions to go a state back
2019-02-08 11:58:11 +01:00
FinnStutzenstein
d0991936d6
ViewModelStore, register repositories, improve view model relations
2019-02-08 11:02:56 +01:00
Emanuel Schütze
7956d9f7a2
Merge pull request #4271 from MaximilianKrambach/4065
...
fix #4065
2019-02-07 13:08:33 +01:00
FinnStutzenstein
35056f5ccc
seperate motion version migration operations
2019-02-07 09:28:12 +01:00
Maximilian Krambach
2fbd11dc00
fix #4065
2019-02-06 16:53:26 +01:00
Emanuel Schütze
722a40779d
Fixed login problem for non admin users.
2019-02-05 21:03:13 +01:00
Jochen Saalfeld
114c8bfa3c
Merge pull request #4184 from ostcar/fix_gunicorn
...
Opens the websocket connection before closing it
2019-02-05 08:34:52 +01:00
Oskar Hahn
fae270a1d6
Make sure the cache is ensured before manipulating it
2019-02-04 17:41:18 +01:00
Emanuel Schütze
ac96ba8d3a
Updated translations
2019-02-03 22:12:26 +01:00
Norman Jäckel
286c81e007
Allow set state for submitters in some states.
2019-02-01 16:10:51 +01:00
Norman Jäckel
c355326466
Added new flag to motion state to control access for different users.
2019-02-01 15:42:02 +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
Emanuel Schütze
fa8e0687bf
Merge pull request #4237 from ostcar/fix_restricted_data_cache
...
fix restricted_data_cache for elements that exists, but a user is not allowed to see them
2019-02-01 10:13:53 +01:00
Emanuel Schütze
617eccb85f
New config to set reason field required.
2019-02-01 09:53:38 +01:00
FinnStutzenstein
582d4d7c4a
Projector reference for CLOS
2019-02-01 09:47:59 +01:00
Oskar Hahn
1111a8074e
fix restricted_data_cache for elements that exists, but a user is not allowed to see them
2019-02-01 08:26:34 +01:00
Norman Jäckel
7b4ea753c1
Merge pull request #4234 from emanuelschuetze/https
...
Set use_https to true
2019-01-31 23:43:20 +01:00
Emanuel Schütze
b480266dad
Set use_https to true
...
used for password reset urls in emails by django
2019-01-31 22:41:08 +01:00
FinnStutzenstein
b921b771d6
projector cleanup
2019-01-31 12:41:04 +01:00
GabrielMeyer
30535dd21f
OpenSlides theming ( Fixes #4205 )
...
using 3 built-in themes (default, dark, green)
2019-01-31 12:04:35 +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
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
Oskar Hahn
1a709a59a9
Projector V
...
* Changed wording: element is one element on the projector. A slide is a functoin to render one element
* Use AllData as first argument all the time
* Render username on server
* Add exceptions for erros on projector
* Fix motion recommendation
* Only show state extension, if it is allowed by the state
* Add motion_change_recommendations to motion full_data
2019-01-28 23:18:27 +01:00
Norman Jäckel
39244a0ec9
Reenable black.
2019-01-28 20:54:42 +01:00
Norman Jäckel
746dbf744b
Fixed reset password views.
2019-01-28 20:51:06 +01:00
Maximilian Krambach
4a2cad5801
add a validation error for false template invitation email properties
2019-01-25 17:01:33 +01:00
Oskar Hahn
014b145b0f
Opens the websocket connection before closing it
...
Fixes #4009
2019-01-25 16:33:45 +01:00
Finn Stutzenstein
1b3c0b4cee
Merge pull request #4152 from ostcar/new_projector_iv_motion_slide
...
New projector IV
2019-01-24 11:28:53 +01:00
Emanuel Schütze
cf29f39b9f
Added missing projector migration.
2019-01-22 12:59:33 +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
Emanuel Schütze
6b66a208c5
Updated translation strings and German translation.
2019-01-21 22:50:10 +01:00
Oskar Hahn
cca28a990a
New projector IV
...
* Motion Slide
2019-01-20 13:35:50 +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
402fc37b99
Merge pull request #4155 from ostcar/activate_start_command
...
activate start command
2019-01-20 11:36:06 +01:00
Oskar Hahn
6b73c5bf1a
activate start command
2019-01-20 11:24:42 +01:00
Emanuel Schütze
c704b90ecb
Fix history migration.
2019-01-20 11:05: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
33d9468e6b
Merge pull request #4153 from normanjaeckel/RecExtension
...
Fixed following recommendations with extensions.
2019-01-20 10:21:56 +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