Norman Jäckel
01a61ab292
Fixed autoupdate for m2m relation. Fixed #4055 .
2019-03-06 08:58:52 +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
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
f039293c09
current speaker chyron
2019-02-26 21:56:59 +01:00
FinnStutzenstein
63f1802d7a
(Current) list of speaker slide
2019-02-22 10:40:28 +01:00
Norman Jäckel
d06a4a5c6d
Added new permission to see the history.
2019-02-21 11:45:40 +01:00
FinnStutzenstein
2801e28704
Countdown slide and controls
2019-02-15 12:21:23 +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
Emanuel Schütze
722a40779d
Fixed login problem for non admin users.
2019-02-05 21:03:13 +01:00
FinnStutzenstein
582d4d7c4a
Projector reference for CLOS
2019-02-01 09:47:59 +01:00
GabrielMeyer
30535dd21f
OpenSlides theming ( Fixes #4205 )
...
using 3 built-in themes (default, dark, green)
2019-01-31 12:04:35 +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
Emanuel Schütze
cf29f39b9f
Added missing projector migration.
2019-01-22 12:59:33 +01:00
Sean Engelhardt
e680ca38da
Add PDF custom fonts
2019-01-22 11:59: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
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
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
FinnStutzenstein
74e0bea108
Wirst work for the projector system on the client
2019-01-19 21:26:05 +01:00
Oskar Hahn
df85e01b16
Merge pull request #4145 from ostcar/logged_in_users
...
logged in users
2019-01-19 18:00:47 +01:00
Oskar Hahn
5ca2012c44
logged in users
2019-01-19 17:50:18 +01:00
Norman Jäckel
9db12293a3
Added history information for some motion views.
2019-01-19 16:41:58 +01:00
Oskar Hahn
7df842f2e2
delete wrong file
2019-01-19 14:48:01 +01:00
Oskar Hahn
11ba7b9841
Autoupdate on element deletion
...
Make sure, that a related element gets an autoupdate, when the main object is deleted
2019-01-19 14:46:59 +01:00
Oskar Hahn
7a64fb83eb
Merge pull request #4135 from ostcar/projector_http_view
...
New projector III
2019-01-19 14:04:28 +01:00
Oskar Hahn
b4c3ffe01f
New projector III
...
* Add a new view `project` to set the projector elements-fields
2019-01-19 10:47:11 +01:00
Norman Jäckel
de7b531933
Used the same timestamp for multiple history objects.
2019-01-19 09:58:58 +01:00
Oskar Hahn
c37bf0fb4f
New Projector
...
* Change Projector model
* Remove old http requests
* Remove old config values
* Remove uuid from config field
* Remove projector broadcast
* Remove projector blank
* Fix serializer
2019-01-19 08:19:40 +01:00
Finn Stutzenstein
8bd24d690d
Merge pull request #4118 from FinnStutzenstein/notify
...
Make OS3 notify ready
2019-01-18 17:55:24 +01:00
Oskar Hahn
b329115007
use f-string syntax for strings
2019-01-18 17:37:36 +01:00
FinnStutzenstein
47a09e4bce
Make OS3 notify ready
2019-01-18 17:03:09 +01:00
Oskar Hahn
a0f554674b
New projector system. Add first slides
2019-01-12 21:21:43 +01:00
Oskar Hahn
eddbd86d3a
Run black
2019-01-08 21:51:52 +01:00
Oskar Hahn
8fd82434af
Fix example data generator
...
fix #4066
2019-01-04 16:15:45 +01:00
Oskar Hahn
9bb77817dd
Refactor assess_permission
...
* Remove access_permission.get_full_data()
* Remove access_permission.gcet_serializer_class()
* get serializer class from model
2018-12-16 09:10:52 +01:00
Norman Jäckel
060856628b
OpenSlides history mode.
...
Also containing auth check and viewpoint to clear history.
2018-11-30 09:51:10 +01:00
Sean
10714bbbe4
Merge pull request #4032 from FinnStutzenstein/new_configs
...
new configs for statute amendments; improved the majorityMethod confi…
2018-11-23 11:15:07 +01:00
FinnStutzenstein
3d4bd67980
new configs for statute amendments; improved the majorityMethod config variable
...
Removed none from os-search-value-selector; improved list of speakers
2018-11-22 17:34:00 +01:00
FinnStutzenstein
8e59170b76
Do not try to access the database during migrations
2018-11-22 17:20:17 +01:00
Jochen Saalfeld
87dbf90922
fixing #3987 - postgreSQL migration possible again
2018-11-06 12:47:47 +01:00
Oskar Hahn
eead4efe6a
Remove CollectionElement
...
* Use user_id: int instead of Optional[CollectionElment] in utils
* Rewrote autoupdate system without CollectionElement
2018-11-04 01:06:01 +01:00
Oskar Hahn
cd34d30866
Remove utils.collections.Collection class and other cleanups
...
* Activate restricted_data_cache on inmemory cache
* Use ElementCache in rest-api get requests
* Get requests on the restapi return 404 when the user has no permission
* Added async function for has_perm and in_some_groups
* changed Cachable.get_restricted_data to be an ansync function
* rewrote required_user_system
* changed default implementation of access_permission.check_permission to
check a given permission or check if anonymous is enabled
2018-11-03 20:48:19 +01:00