Commit Graph

4312 Commits

Author SHA1 Message Date
Emanuel Schütze
a86b835c0b Fixed updating of amendments as normal user
for paragraph based amendments
2019-09-05 14:37:12 +02:00
FinnStutzenstein
9323bdef20 Added config for more verbose errors on reset password
- Added settings.py docs
- Fixed left-overs from #4920
- Reworked all server messages to a new argument formet, so that the
client can translate server messages
2019-09-03 14:47:45 +02:00
Emanuel Schütze
0eba52e10e
Merge pull request #4970 from FinnStutzenstein/noAutoupdateForForeignPersonalNotes
Skip autoupdates on foreign personal notes
2019-09-02 15:36:40 +02:00
FinnStutzenstein
9518d1dab6 Small changes 2019-09-02 15:02:31 +02:00
GabrielMeyer
79e879cb6e Adds config to see a max number of next speakers
- Also updates the 'list of speakers' on the `overlay-slide`.
2019-09-02 14:03:34 +02:00
FinnStutzenstein
5baae14156 Skip autoupdates on foreign personal notes 2019-09-02 13:57:12 +02:00
FinnStutzenstein
03ad7b8abc Remove deepcopy (closes #3893)
It's about 23% faster now (testet deepcopy vs. json with random data)
2019-09-02 11:31:55 +02:00
FinnStutzenstein
366777ebfd Fixed bug sending always all data to users, who get restricted data
Due to changes in an iterator, a RuntimeError was thrown but interpred al a too low change id. Fixed the bug and make a custom exception for this.
2019-09-02 09:05:29 +02:00
Finn Stutzenstein
93fae8ef3b
Merge pull request #4961 from FinnStutzenstein/loggingRedis
Logging prefix and handling redis connection errors
2019-09-02 08:28:12 +02:00
FinnStutzenstein
2aa0275dca Logging prefix and handling redis connection errors 2019-09-02 08:09:28 +02:00
FinnStutzenstein
c73b04c005 Just autoupdate changed models on sorting 2019-08-29 15:11:18 +02:00
Joshua Sangmeister
90dd843d43 added a datetimepicker to the config, including localisation.
also changed from NativeDateAdapter to MomentDateAdapter.
2019-08-27 14:36:04 +02:00
Emanuel Schütze
862d8cdee9 New config to hide referring motions in slide and detail view
Rework motion slide:
- move referring motions to h2 subtitle
- move identifier to h1 main title
- reduce subtitle line
2019-08-21 14:00:17 +02:00
Emanuel Schütze
d3c56efdc5
Merge pull request #4920 from emanuelschuetze/configDefaults
Rework config defaults.
2019-08-21 13:48:55 +02:00
Emanuel Schütze
f981106524 Rework config defaults.
- move motion setttings from settings.py to config that user can change
  it while runtime
- show help text for config fields as tooltip
2019-08-21 13:19:44 +02:00
FinnStutzenstein
d4dc13706f Ensures change id across multiple workers 2019-08-19 09:42:51 +02:00
FinnStutzenstein
1d718dcb74 Fixed two little issues with relations and reverse mapping
- Reverse setup for normal autoupdates (no initial loading)
- reverse "set null" to be reflected to the mapping

Also fixed a bug with redis
2019-08-15 12:51:59 +02:00
FinnStutzenstein
daabbaff28 Added missing ResetCache-handling 2019-08-12 15:01:57 +02:00
Finn Stutzenstein
ed99fc8c91
Merge pull request #4898 from FinnStutzenstein/cascadeCategories
Cascade categories on delete
2019-08-12 07:49:13 +02:00
Sean
c593d852ef
Merge pull request #4903 from tsiegleauq/multiselect-media-files
Multiselect in mediafiles
2019-08-09 10:32:27 +02:00
Sean Engelhardt
a97ca18c36 Multiselect in mediafiles
Allows multiselect on mediafiles using the new folder structure
Add bulk delete on server
Add movement logic and path view
2019-08-09 10:08:45 +02:00
FinnStutzenstein
5aef823807 Major cache rewrite:
- Removed the restricted data cache (it wasn't used since OS 3.0)
- unify functions for restricted and full data: Just one function, which
  accteps an optional user_id: If it is None, full data is returned, and
  with a user id given, the restricted data
- More atomic access to redis, especially for:
- Check for data-existance in redis and do an auto-ensure-cache.
- Speedup through hashing of scripts and redis' script cache.
- Save schema version into the redis cache and rebuild, if the version
  changed

Client changes:
- Simplified the ConstantsService
- Fixed bug, when receiving an autoupdate with all_data=True from the
  Server
2019-08-08 08:35:02 +02:00
FinnStutzenstein
d182c2c36f Cascade categories on delete 2019-08-05 13:12:10 +02:00
Sean
bc99750869
Merge pull request #4891 from FinnStutzenstein/fixProjectorScroll
Correct projector scroll reset
2019-08-01 14:03:45 +02:00
FinnStutzenstein
4d4b9ac997 Include current configs in old history snapshots 2019-08-01 12:45:09 +02:00
Finn Stutzenstein
0383f824d7
Merge pull request #4874 from FinnStutzenstein/history
Improve history
2019-08-01 11:19:57 +02:00
FinnStutzenstein
35e88b8386 Correct projector scroll reset
Fixes the "everytime reset" with #4887
2019-08-01 08:03:34 +02:00
GabrielMeyer
6fdd2de3c0 Updates the projector
- The height is resetting by changing the slide.
- The user does not see a 'moving'-cursor by hovering over the projector-icon in the queue.
2019-07-30 14:24:50 +02:00
Finn Stutzenstein
1ed9aab380
Merge pull request #4872 from FinnStutzenstein/postgresIdSequence
Restarting the id sequence for postgresql
2019-07-30 13:27:43 +02:00
FinnStutzenstein
408ef6d3f2 Restarting the id sequence for postgresql 2019-07-30 10:42:11 +02:00
FinnStutzenstein
a0501ccf74 Improve history 2019-07-30 10:40:36 +02:00
FinnStutzenstein
f876d1c1fa Added IsSuperAdmin directive 2019-07-30 10:12:21 +02:00
FinnStutzenstein
dd66244d84 Generic relations for the repos 2019-07-30 09:07:51 +02:00
Sean
13e8bbb168
Merge pull request #4873 from GabrielInTheWorld/uiFixes
Fixes some UI issues
2019-07-26 12:04:56 +02:00
GabrielMeyer
b5b3e60e81 Fixes some UI issues corresponding to the theme
- Fixes white page at 'legalnotice' and 'privacypolicy'
- Fixes the button to collapse the sidenav
- Fixes a too long text in the headbar
- Reworked the login data service:
    * make order of operations clear
    * prevent setting invalid data into the storage
2019-07-26 11:47:04 +02:00
Sean
ec853e5aba
Merge pull request #4868 from FinnStutzenstein/userBulkViews
Group add/remove bulk view
2019-07-25 11:27:28 +02:00
Sean
ff7978b8ae
Merge pull request #4843 from GabrielInTheWorld/uiImprovements
Fixes dynamic growing cells in workflows
2019-07-25 10:26:20 +02:00
Finn Stutzenstein
20cbe37d74
Merge pull request #4869 from FinnStutzenstein/emailConnectionRefusedError
Added error message for connection refused errors sending emails
2019-07-23 15:40:34 +02:00
GabrielMeyer
bb55110245 Fixes dynamic growing cells in workflows
- The cells in the table of a workflow are dynamically growing
- The colors of the states get new labels
- If multiple selection in motion-list is active, the button to change the view won't be seen
2019-07-23 15:01:35 +02:00
FinnStutzenstein
a60719bcc4 Added error message for connection refused errors sending emails 2019-07-23 14:12:05 +02:00
FinnStutzenstein
c2a73c5146 Cleanup unused permissions 2019-07-23 12:52:28 +02:00
FinnStutzenstein
bbb8a84f5c Group add/remove bulk view 2019-07-23 12:06:26 +02:00
FinnStutzenstein
1e177917d0 Bulk views for users: state, password and delete 2019-07-23 08:41:39 +02:00
Finn Stutzenstein
61002a6bad
Merge pull request #4865 from FinnStutzenstein/MotionCommentSectionSorting
sorting of motion comment sections
2019-07-22 16:03:13 +02:00
Sean
d5746f95cb
Merge pull request #4864 from FinnStutzenstein/LogoFontMigration
Added logo and font migrations
2019-07-22 11:44:45 +02:00
FinnStutzenstein
74647dc75d sorting of motion comment sections 2019-07-19 14:37:59 +02:00
FinnStutzenstein
e9ef293cf7 Added logo and font migrations 2019-07-19 13:45:39 +02:00
FinnStutzenstein
23c704b5da Projector improvements
- Moved projector configs to group "General"
- Removed unused projector config related to CLOS
- debounce projector data requests for many projectors
- add (foreground) color
- custom, modifiable CSS classes per projector to cascade dynamic styles into slides
2019-07-19 12:43:45 +02:00
FinnStutzenstein
88162dd1e9 Little fixes
- Fixed bug for deleted candidates
- Prevent deleting group 1 and 2
- Creation of topics
2019-07-17 13:16:36 +02:00
FinnStutzenstein
b4e9b28397 Fix mediafiles for non superadmins 2019-07-13 19:37:49 +02:00