FinnStutzenstein
ced40cab74
Initial work for supporting voting
2020-03-17 07:24:34 +01:00
FinnStutzenstein
a35fa105ed
Validate Config HTML
2020-01-04 16:58:11 +01:00
FinnStutzenstein
cf7a5ce714
Reworked config
...
- Move config meta data into REST
- seperate views for config groups
2019-10-21 13:45:06 +02:00
FinnStutzenstein
665426e954
Remove ChatMessage
2019-05-15 13:44:45 +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
b329115007
use f-string syntax for strings
2019-01-18 17:37:36 +01:00
Oskar Hahn
eddbd86d3a
Run black
2019-01-08 21:51:52 +01: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
Oskar Hahn
acceeff8f8
* Update python requirements
...
* drop python 3.4
2018-08-07 15:23:11 +02:00
Oskar Hahn
d7db714562
CollectionElement and Autoupdate cleanups
...
* change get_restricted_data and get_projector_data to always use a list
* Add typings to all get_restricted_data and get_projector_data methods
* Replace CollectionElementList with a real list
* Fixed arguments of inform_deleted_data
* Moved CollectionElementCache to cache.py and refactored it
* Run tests with cache enabled (using fakeredis)
2017-09-15 12:11:32 +02:00
Oskar Hahn
87b889fbf2
Rewrite config to have id field
2017-08-24 15:02:42 +02:00
Oskar Hahn
2daafa8db9
Created a function to convert anything possible to a user-collectoin-element or None
...
Changed user.has_perm(...) to has_perm(user, ...) at any place.
Removed old code
2017-01-26 18:57:10 +01:00
Oskar Hahn
728576d514
Performance improvements
...
* Add caching support to users/group
* Add a function has_perm that works with the cache.
* Removed our session backend so other session backends (without the database) can be used
2017-01-13 13:37:18 +01:00
FinnStutzenstein
f9f64b3e31
projector language ( closes #2653 )
2016-12-21 10:41:06 +01:00
Maximilian Krambach
32aaaf5b9e
Majority calculation for assignments.
...
Majorities when config YN(A) and simple voting method.
2016-12-01 14:35:35 +01:00
Norman Jäckel
676e783039
Merge pull request #2516 from FinnStutzenstein/Issue2502
...
Remove chat history
2016-10-17 21:48:34 +02:00
Emanuel Schütze
7ada65a628
Optimized template and translation for majority feature.
2016-10-17 17:03:42 +02:00
Norman Jäckel
639748bb3b
Added view to clear the chatbox.
2016-10-17 16:56:19 +02:00
Oskar Hahn
98bab9b358
Fix tests and remove old code.
2016-10-01 01:49:27 +02:00
Oskar Hahn
ac9c9f4ec3
More tests, development instructions and small changes.
2016-10-01 01:48:30 +02:00
Oskar Hahn
368873e738
Adds a cache system to the CollectionElement and add
...
a Collection class that can be used to call a collection
used this for the list and receive rest api.
2016-09-30 21:37:52 +02:00