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
018df697fa
Restart the AuthGroup id sequence on postgres
2019-04-02 07:51:13 +02:00
Oskar Hahn
206eb9bcba
decode only the needed data when calculating the required users
2019-03-29 22:38:12 +01:00
Emanuel Schütze
fbbd5fa135
Merge pull request #4516 from normanjaeckel/FixCommands
...
Fixed commands.
2019-03-20 13:19:09 +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
FinnStutzenstein
eb4537c1bf
rework login system (again)
2019-03-11 13:45:17 +01:00
FinnStutzenstein
a1018e62e2
Added theme to login data
2019-03-08 09:19:05 +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
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
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
FinnStutzenstein
63f1802d7a
(Current) list of speaker slide
2019-02-22 10:40:28 +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
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
Maximilian Krambach
59ed906a36
user sorting by config
2019-02-14 10:53:13 +01:00
FinnStutzenstein
6a33b68a41
Rework the reset password component ( fixes #4079 )
2019-02-10 11:36:01 +01:00
Emanuel Schütze
ac96ba8d3a
Updated translations
2019-02-03 22:12:26 +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
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
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
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
Norman Jäckel
4da87d520d
Added new permission to set password.
2019-01-19 10:35:13 +01:00
Emanuel Schütze
1cdeb3bcb8
Merge pull request #4124 from normanjaeckel/Gender
...
Added gender field for users.
2019-01-19 09:17:08 +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
Norman Jäckel
85d9629776
Added new permissions to create new amendments.
2019-01-18 22:06:15 +01:00
Norman Jäckel
168561bc55
Added gender field for users.
2019-01-18 19:47:00 +01:00
Oskar Hahn
b329115007
use f-string syntax for strings
2019-01-18 17:37:36 +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
e09c5f415a
fix keyerror introduced by #3985
2018-12-17 13:34:17 +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
FinnStutzenstein
598a726394
Fixed user migrations
2018-11-29 16:13:31 +01:00
Finn Stutzenstein
9692c2b92e
Merge pull request #3913 from normanjaeckel/NewMotionMetadataPerm
...
Added new permission to manage metadata
2018-11-08 10:21:52 +01:00
Finn Stutzenstein
cf533d1174
Merge pull request #3914 from normanjaeckel/PasswordResetEMail
...
Added PasswordResetView.
2018-11-08 08:53:59 +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
FinnStutzenstein
621b0471f2
Client: password reset view and reset password confirm view
2018-11-03 20:43:49 +01:00
Norman Jäckel
e03d715602
Added PasswordResetView.
2018-11-03 20:43:49 +01:00
Emanuel Schütze
2abf8e27ca
Added missing migration file. Added permission to admin and staff group.
2018-11-03 20:17:41 +01:00
Oskar Hahn
b034839ac8
Remove old projector code
2018-10-29 13:10:15 +01:00
Oskar Hahn
9eef4da21c
remove old client
2018-10-25 16:04:28 +02:00
FinnStutzenstein
1e4eacecfd
New superadmin group
2018-10-12 07:58:18 +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
3e0618063b
Routing for the privacy policy and legal notice.
...
Save those values in a new service, that will also watch for changes in
config variables. UI is not good; this can be done later
Share legal notice and privacy policy
Created some containers for them
2018-09-10 11:39:46 +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
FinnStutzenstein
ea71d0a942
moved privacy policy to users, adapt client
2018-09-04 08:57:54 +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
Oskar Hahn
401e7821ae
Merge remote-tracking branch 'upstream/master' into OpenSlides-3
2018-08-23 21:31:24 +02:00
Oskar Hahn
aac9dcabf5
drop python 3.5
2018-08-23 17:51:30 +02:00
Emanuel Schütze
2cd8262025
Fix sorting of states in workflow detail view.
2018-08-23 11:12:53 +02:00
Norman Jäckel
27e0564a23
Changed default agenda type for new topics.
2018-08-22 17:27:21 +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
1a17862d6b
New item type internal.
...
The old hidden type was used as internal, so everything is changed to
not be shown if the item is internal. hidden is "new", and actually
behaves as hidden now.
2018-08-16 15:28:30 +02:00
Oskar Hahn
acceeff8f8
* Update python requirements
...
* drop python 3.4
2018-08-07 15:23:11 +02:00
FinnStutzenstein
9e4cafd0f0
Custom workflows and states:
...
- Added new workflow list view
- Added state table for each workflow
- Added new StateViewSet to handle states of workflows
2018-07-13 10:29:06 +02:00
FinnStutzenstein
26d168110f
make the privacy policy available for non logged in users ( closes #3757 )
2018-06-25 17:28:24 +02:00
Emanuel Schütze
407b640f80
Merge pull request #3740 from FinnStutzenstein/voting-plugin
...
Changes for the voting plugin and usability improvements
2018-05-29 15:02:37 +02:00
FinnStutzenstein
5833393268
Messaging docstring and user callback
...
only hide votes for unpublished polls
2018-05-22 09:20:19 +02:00
Emanuel Schütze
8d7bcedd32
Merge pull request #3746 from FinnStutzenstein/pdfImageErrors
...
Throw errors, if the pds generation fails, if an image could not be l…
2018-05-16 17:24:52 +02:00
FinnStutzenstein
ecb76fd888
Throw errors if pdf generation fails, if an image could not be loaded ( fixes #3730 )
2018-05-16 17:06:42 +02:00
FinnStutzenstein
185055d604
Autoupdate with affected users on group delete ( fixes #3455 )
2018-05-16 13:03:37 +02:00
FinnStutzenstein
2989024cca
Delete restricted data cache on permission changes ( closes #3396 )
2018-05-16 10:59:00 +02:00
Emanuel Schütze
ef2a22fefe
Template improvements
...
- Show item duration and done for normal users correctly.
- Fixed CSS class for countdown warning time.
- Improved projector manage button layout.
- Updated fontawsome icons to 4.7.
- Fixed iframe width/height to show border correctly.
- Improved 'close list of speakers' button.
- Improved 'clear all filter' icons.
- Fixed election pdf if candidate was deleted.
- Moved ban icon for internal icons.
- Improved edit projector form. Show simple scaling steps instead of
width/height resolution.
- Consolidated both agenda item filters.
- Used better sort icon.
- Installed colordialog plugin for ckeditor to select more colors.
- Several css improvements.
2018-04-25 15:47:39 +02:00
Emanuel Schütze
b6ebc78e85
Merge pull request #3682 from FinnStutzenstein/voting-plugin
...
Changes for the voting plugin
2018-04-13 15:11:48 +02:00
Emanuel Schütze
a6537fb919
Merge pull request #3695 from FinnStutzenstein/fixRemarks
...
fixed remarks from #3525 (closes #3681 )
2018-04-13 15:07:05 +02:00
FinnStutzenstein
094fa4da84
Added pagination on top of lists ( Fixed #3667 ).
2018-04-13 09:51:14 +02:00
FinnStutzenstein
6463af4b10
fixed remarks from #3525 ( closes #3681 )
2018-04-11 10:56:49 +02:00
FinnStutzenstein
2256031184
Changes for the voting plugin
...
- new-style template hooks. See changes in the template hook documentation
- reordered user list view to get more space for extra things
- added template hooks.
2018-04-11 10:31:48 +02:00
Emanuel Schütze
7f0386138f
Template fixes ( fixed #3603 , fixed #3601 , fixed #3555 )
...
- Fixed agenda import preview (Fixed #3603 )
- Show import error only if available; for agenda/motions/users (Fixed #3601 )
- Added missing tooltips in detail views (Fixed #3555 ).
2018-04-09 18:01:05 +02:00
Emanuel Schütze
0710af827e
Merge pull request #3600 from ostcar/cache-api
...
Cache api
2018-04-04 13:41:27 +02:00
Emanuel Schütze
f3797601c9
Merge pull request #3578 from jsaalfeld/master
...
Patch userdetails without redundant declaration of users details
2018-04-04 12:15:34 +02:00
FinnStutzenstein
052daa2b19
Fixing translations ( fixes #3607 , fixes #3604 ).
2018-03-19 15:23:34 +01:00
Emanuel Schütze
3b0e32b0a2
Fix group filtering in users list view
...
Use ":true" for angular filter to exact match for searching id (e.g. '2' not '12').
Order groups by id (only important for big mode with caching).
2018-03-15 14:02:05 +01:00
FinnStutzenstein
9639d9233f
Pdf fixes
2018-03-12 14:00:23 +01:00
Jochen Saalfeld
d525f2d7d2
patch userdetails without unnecessary double verification
2018-03-09 07:20:40 +01:00
Emanuel Schütze
4e1c7b7497
New admin user group
2018-03-06 11:21:00 +01:00
FinnStutzenstein
c5906b2dba
Changes needed for the saml plugin: It is possible now to hook into the complete usermenu
2018-03-05 14:08:39 +01:00
Oskar Hahn
5aa8f6193e
Add methods to delete the restricted_data_cache
2018-02-24 18:04:32 +01:00
Emanuel Schütze
4783c94779
Added missing translations.
2018-02-16 22:06:32 +01:00
Emanuel Schütze
4067a52dda
Updated German translations.
2018-02-16 16:41:55 +01:00
Emanuel Schütze
f859a27fca
Merge pull request #3565 from FinnStutzenstein/splitup-comment-perms
...
Splitup comment see and manage permissions for motion comments
2018-02-16 14:26:11 +01:00
FinnStutzenstein
ca8ee3edd6
Splitup comment see and manage permissions for motion comments
2018-02-16 14:09:32 +01:00
FinnStutzenstein
dfb40684ee
Custom fonts for pdf and projector
2018-02-16 14:06:54 +01:00
FinnStutzenstein
3ba39c37c1
Agenda DOCX export, motion log message when comment edited, motion sequential number in detail view and PDF, save pagination state to session storage ( fixes #3558 ).
2018-02-14 10:25:51 +01:00
FinnStutzenstein
0b04b7478f
Fixed email translations, motion sorting, undefined in DOCX, reduced motion search
2018-02-02 12:48:01 +01:00
Emanuel Schütze
47697fe90c
Save default password with createopenslidesuser command.
2018-01-23 10:29:11 +01:00
FinnStutzenstein
5e089bfcdc
Preparations for the SAML plugin; Fixed caching of main views.
2018-01-21 11:54:01 +01:00
Finn Stutzenstein
cfefd1c7b7
Merge pull request #3507 from FinnStutzenstein/css
...
split up css classes
2018-01-16 09:41:08 +01:00
FinnStutzenstein
cc75452691
split up css classes using sass
2018-01-16 08:38:11 +01:00