FinnStutzenstein
d57c5bd132
Fixed updating user data after changing permissions with the new view
2019-05-24 18:22:39 +02:00
FinnStutzenstein
9f12763f8b
Split AgendaItem and ListOfSpeakers
...
Server:
- ListOfSpeakers (LOS) is now a speprate model, containing of an id,
speakers, closed and a content_object.
- Moved all speaker related views from ItemViewSet to the new
ListOfSpeakersViewSet.
- Make Mixins for content objects of items and lists of speakers.
- Migrations: Move the lists of speakers from items to the LOS model.
Client:
- Removed the speaker repo and moved functionality to the new
ListOfSpeakersRepositoryService.
- Splitted base classes for agenda item content objects to items and
LOS.
- CurrentAgendaItemService -> CurrentListOfSpeakersSerivce
- Cleaned up the list of speakers component.
2019-05-24 08:21:59 +02:00
Emanuel Schütze
e907599cef
Merge pull request #4726 from GabrielInTheWorld/pdf-make
...
Adds config-variable for pdf-export
2019-05-21 12:23:38 +02:00
GabrielMeyer
eb7b203b33
Adds config-variable for pdf-export
...
- Adds the page-size 'A5' for pdf-export
2019-05-21 11:58:59 +02:00
FinnStutzenstein
e267279f60
Added custom color for the projector chyron and reset buttons for colors
2019-05-20 21:50:03 +02:00
FinnStutzenstein
5ad94cb2f4
Handles 'change id too high' and generic websocket error message format
2019-05-15 14:25:54 +02:00
FinnStutzenstein
665426e954
Remove ChatMessage
2019-05-15 13:44:45 +02:00
Norman Jäckel
dd66e7505d
Merge pull request #4644 from FinnStutzenstein/noProjectiondefaultChanges
...
prohibit changes in projectiondefaults
2019-05-08 09:28:08 +02:00
Emanuel Schütze
51b4b6aba6
Merge pull request #4578 from GabrielInTheWorld/theming
...
Implements a mechanism for a fallback theme
2019-05-07 21:13:55 +02:00
GabrielMeyer
376f4e2a31
Implements a mechanism for a fallback theme
...
- If the previously selected theme is not available the default OpenSlides theme will be displayed.
- Before the current selected theme was loaded, no theme is displayed.
2019-05-07 17:32:28 +02:00
FinnStutzenstein
02d82e20c1
websocket logging
2019-05-07 16:37:38 +02:00
FinnStutzenstein
febbe9bba2
Prioritize clients with the right operator and added ping-pong mechanism
2019-05-07 13:43:52 +02:00
Sean Engelhardt
e4d3e119d3
Service Worker Updates
...
Introdcues a new update service.
Listens to service-worker updates and shows a snack-bar to inform about updates.
Provides a function to manually check for updates.
The service worker tries to be consistent in it's own version and
updates in the background.
Some manuall trigger will be required to update, which is either a
reload or the execution of the provded check function
with help from
@FinnStutzenstein
2019-05-06 13:13:09 +02:00
FinnStutzenstein
1b15f6ea14
prohibit changes in projectiondefaults
...
resolves question in #4541
2019-04-29 08:25:49 +02:00
FinnStutzenstein
a715c0e432
Refresh clients cache when the database was migrated
2019-04-15 16:13:52 +02:00
GabrielMeyer
79cd8e9917
Adds a migration for projector changes
2019-04-15 11:02:39 +02:00
Norman Jäckel
8927982554
Fixed countdown on projector.
2019-04-10 08:48:57 +02:00
FinnStutzenstein
5a1f638f8d
Protect element fields from the projector model. Fixes creation of
...
projectors.
2019-04-09 17:15:16 +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
Finn Stutzenstein
29762ad89e
Merge pull request #4541 from FinnStutzenstein/projectionDefaults2
...
Projectiondefaults, width slider direct save
2019-04-02 12:30:20 +02:00
FinnStutzenstein
cee6d55b82
Projectiondefaults, width slider direct save
2019-04-01 08:48:52 +02:00
Oskar Hahn
206eb9bcba
decode only the needed data when calculating the required users
2019-03-29 22:38:12 +01:00
Norman Jäckel
35198f6e64
Fixed commands.
2019-03-20 08:50:57 +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
Oskar Hahn
8409378e00
Fix a race condition when creating config.key_to_id
2019-03-09 18:55:58 +01:00
FinnStutzenstein
5fff7d24ec
projector scroll and contdown offset
2019-03-08 13:17:43 +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
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
Oskar Hahn
b034839ac8
Remove old projector code
2018-10-29 13:10:15 +01:00
Oskar Hahn
0229bb923d
Move websocket protocoll in apps
2018-10-29 12:33:15 +01:00
Oskar Hahn
9eef4da21c
remove old client
2018-10-25 16:04:28 +02:00
Maximilian Krambach
126a16b553
Implement tags
2018-10-24 11:23:34 +02:00
Oskar Hahn
b1fa3ca263
Merge remote-tracking branch 'upstream/OpenSlides-3' into new-master
2018-10-13 07:38:09 +02:00
Oskar Hahn
9af6bf1606
ensures test on startup
2018-09-23 16:57:49 +02:00
FinnStutzenstein
180dedfc38
Moved the collection of config variables before the generation of angular constants
2018-09-18 07:50:33 +02:00
FinnStutzenstein
f1ddd16dc6
Motion rework
...
- remove motion version
- migrations for versions and change recommendations
- Redone motion comments. Wording changed from comment fields to comment
sections
- fixed test order, tests are not atomic
- introduce get_group_model. Just use OpenSlides Groups and not the
django's ones.
2018-09-10 09:00:55 +02:00
Jochen Saalfeld
b5366ea90f
fixing pytest version and continue if db not available
2018-09-07 10:39:16 +02:00
FinnStutzenstein
ea71d0a942
moved privacy policy to users, adapt client
2018-09-04 08:57:54 +02:00
Oskar Hahn
732de97ec2
Make Consumer real async again
2018-09-04 08:57:50 +02:00
FinnStutzenstein
8adaa6118a
Angular constants via WebSocket
...
- new format for constants on the server
- adaptions for the old client
2018-09-04 08:57:11 +02:00
Emanuel Schütze
6bae5cf87a
Fixed translation strings and permission check. Updated Changelog.
2018-08-30 15:05:08 +02:00
Oskar Hahn
401e7821ae
Merge remote-tracking branch 'upstream/master' into OpenSlides-3
2018-08-23 21:31:24 +02:00
Norman Jäckel
7dd7bb1b8d
Merge pull request #3807 from ostcar/websocket_protocol
...
Add a protocol for websocket
2018-08-23 21:15:48 +02:00
FinnStutzenstein
22f7d84cae
New websocket message format for both clients
2018-08-23 21:02:59 +02:00
Oskar Hahn
aac9dcabf5
drop python 3.5
2018-08-23 17:51:30 +02:00
Emanuel Schütze
96637e18c4
Merge pull request #3804 from normanjaeckel/ChangeCollectStatic
...
Fixed collectstattic command so that it does not write into openslide…
2018-08-23 17:38:26 +02:00
FinnStutzenstein
cece35b3a5
Layout changes for motion detail view and PDF
2018-08-23 16:38:12 +02:00
Norman Jäckel
3578d0e850
Fixed collectstattic command so that it does not write into openslides app dir.
2018-08-23 15:47:19 +02:00
Oskar Hahn
e5dd857e87
New url schema
2018-08-22 22:05:06 +02:00
Oskar Hahn
10b3bb6497
Update to channels 2
...
* geis does not work with channels2 and never will be (it has to be python now)
* pytest
* rewrote cache system
* use username instead of pk for admin user in tests
2018-08-22 06:30:11 +02:00
FinnStutzenstein
65ec9cbf73
Layout changes, config for enabling amendments in motions table
...
- fixed update form bug, explicit link to parent motion
- br space in pdf and motion-text (restrict to linenumbermode none)
2018-08-17 08:38:41 +02:00