Commit Graph

5000 Commits

Author SHA1 Message Date
Emanuel Schütze
341916123c Fix word-wrap for long motion identifier in Firefox. 2017-02-03 14:02:36 +01:00
Norman Jäckel
45c3da22f9 Merge pull request #2928 from emanuelschuetze/template-style
Template style improvements and motion block fix
2017-02-03 13:09:32 +01:00
Emanuel Schütze
3ca254c88e Show/hide internal items in agenda sort view. 2017-02-03 12:50:57 +01:00
Emanuel Schütze
e7ee8fbc07 Fixed some minor template styles.
Use always css class 'btn-sm' for buttons and 'input-sm' for inputs in
list and detail templates for consistent appearance.
2017-02-03 12:50:57 +01:00
Emanuel Schütze
bbd8782c4c Fix 'follow recommendation for all motions' function.
in motion block detail view
2017-02-03 12:50:52 +01:00
Norman Jäckel
6f05fc09ce Merge pull request #2929 from FinnStutzenstein/Issue2927
Fixing merge conflicts (fixes #2927)
2017-02-03 11:54:21 +01:00
Norman Jäckel
aade91cead Merge pull request #2926 from emanuelschuetze/issue-2923
Fixed dynamic pdf header and footer for worker (Fixed #2923).
2017-02-03 11:53:34 +01:00
Emanuel Schütze
3d60238ce1 Fixed dynamic pdf header/footer and table border (Fixed #2923).
Updated pdfmake to 0.1.25.
Fixed some pdf style issues.
Updated gulp watch task.
2017-02-03 11:33:46 +01:00
FinnStutzenstein
4bc9a26c4c Fixing merge conflicts (fixes #2927) 2017-02-03 08:40:48 +01:00
Emanuel Schütze
df6605e759 Merge pull request #2925 from normanjaeckel/AgendaSort
Added server side sort view for agenda items. See #2452.
2017-02-01 17:50:58 +01:00
Norman Jäckel
8c53b53a9d Added server side sort view for agenda items. See #2452. 2017-02-01 14:23:59 +01:00
Emanuel Schütze
bcff33330c Merge pull request #2922 from normanjaeckel/Console
Removed console.log call.
2017-02-01 13:36:00 +01:00
Norman Jäckel
9ff9ac92be Removed console.log call. 2017-02-01 12:55:26 +01:00
Norman Jäckel
b6db7d481b Merge pull request #2895 from FinnStutzenstein/Issue2885
Possibility to send extra startup data (closes #2885)
2017-02-01 11:45:21 +01:00
Norman Jäckel
7d2a037567 Merge pull request #2918 from FinnStutzenstein/Issue2842
Show config save status (closes #2842)
2017-02-01 11:44:40 +01:00
FinnStutzenstein
aed18205c4 showing config save status (closes #2842) 2017-01-31 18:54:02 +01:00
FinnStutzenstein
49e32d8e57 Possibility to send extra startup data (closes #2885) 2017-01-31 13:17:42 +01:00
Emanuel Schütze
c8cd1a7210 Merge pull request #2917 from FinnStutzenstein/Worker
Use workers for pdf generation
2017-01-31 12:02:43 +01:00
FinnStutzenstein
e1b4c1fc68 Used worker for pdf generation.
Moved pdfmake.createPdf() into a web worker thread to prevent
blocking UI and max_script_runtime error in browser.

Used gulp to manage separate worker files (pdf-worker and pdf-worker-lib).
2017-01-30 23:03:29 +01:00
Emanuel Schütze
f5fab05388 Merge pull request #2920 from emanuelschuetze/fixAssignmentVoteOrder
Fixed wrong order of assignment votes caused by redis cache.
2017-01-30 22:57:45 +01:00
Emanuel Schütze
83e16b0b09 Fixed wrong order of assignment votes caused by redis cache. 2017-01-30 21:33:41 +01:00
Emanuel Schütze
39037af662 Merge pull request #2896 from FinnStutzenstein/Issue2871
Prevent XSS-attacks (fixes #2871)
2017-01-30 21:11:46 +01:00
FinnStutzenstein
d55d374211 Prevent XSS-attacks (fixes #2871) 2017-01-30 21:04:41 +01:00
Norman Jäckel
d338002592 Merge pull request #2916 from ostcar/fix_group_migration
Fix the migration of the groups.
2017-01-30 16:26:37 +01:00
Oskar Hahn
6b5c329605 Fix the migration of the groups.
Fixes #2915
2017-01-27 11:59:31 +01:00
Norman Jäckel
872f05ec31 Merge pull request #2914 from emanuelschuetze/Release2.1b2
Release 2.1b2
2017-01-26 22:22:59 +01:00
Emanuel Schütze
1d969838f2 Update version to 2.1b3-dev 2017-01-26 21:47:11 +01:00
Emanuel Schütze
e2fb1a60a1 Release 2.1b2 2017-01-26 21:46:21 +01:00
Emanuel Schütze
f10a3ffcb3 Merge pull request #2913 from emanuelschuetze/translations
Updated translations (CS, ES, PT, FR).
2017-01-26 21:42:57 +01:00
Emanuel Schütze
8234340a0c Merge pull request #2909 from ostcar/rework_auth
Created a function to convert anything possible to a user-collection-element or None
2017-01-26 21:42:40 +01:00
Emanuel Schütze
b3800ad873 Updated translations (CS, ES, PT, FR). 2017-01-26 21:37:29 +01:00
Norman Jäckel
ad937aecb3 Typos and small changes. 2017-01-26 21:35:26 +01:00
Emanuel Schütze
c36835a40e Merge pull request #2910 from emanuelschuetze/redis-prefix
Use custom redis prefix for asgi and cache entries.
2017-01-26 21:24:05 +01:00
Emanuel Schütze
1d55e2b92b Merge pull request #2912 from normanjaeckel/SetIdentifierFix
Fixed bug in motion set_identifier method. Fixed #2911.
2017-01-26 21:23:32 +01:00
Oskar Hahn
5dcfc69ff8 Update settings.py.tpl
Also the last line of a dict should end with a ',' or with the closing }
2017-01-26 21:17:36 +01:00
Emanuel Schütze
98e6f703e1 Use custom redis prefix for asgi and cache entries.
Note: These prefix have to be unique for each OpenSlides instance!
2017-01-26 21:17:32 +01:00
Norman Jäckel
2872cd437c Fixed bug in motion set_identifier method. Fixed #2911. 2017-01-26 21:03:10 +01: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
Emanuel Schütze
8897e22df0 Merge pull request #2907 from emanuelschuetze/pagination
Used better pagination for agenda, motions and users.
2017-01-25 21:23:45 +01:00
Emanuel Schütze
32ccddfa71 Merge pull request #2902 from FinnStutzenstein/ClientPermissions
Watch perms in client (closes #1855)
2017-01-25 21:21:27 +01:00
FinnStutzenstein
35903cbe97 Watch perms in client (closes #1855) 2017-01-25 20:19:25 +01:00
Emanuel Schütze
df3e691734 Used better pagination for agenda, motions and users.
to increase the browser performance while switching between apps.
2017-01-25 19:51:51 +01:00
Norman Jäckel
df60700612 Merge pull request #2882 from normanjaeckel/ChannelSendWait
Let channels' send method wait and retry if channel layer is full.
2017-01-25 16:40:43 +01:00
Norman Jäckel
70f5a95be1 Merge pull request #2906 from emanuelschuetze/fixMotionImport
Added trim function for get_full_name/get_short_name.
2017-01-25 15:12:11 +01:00
Emanuel Schütze
0d30c72270 Added trim function for get_full_name/get_short_name.
Required by submitter comparison for motion import.
2017-01-25 14:38:51 +01:00
Norman Jäckel
e0d5f6d92f Merge pull request #2881 from ostcar/has_perm_with_id
Changed the function has_perm to support an user id or None as the fi…
2017-01-24 22:17:12 +01:00
Norman Jäckel
4e47fa7634 Merge pull request #2905 from FinnStutzenstein/ResolveFix
Fixing missing ballot resolver
2017-01-24 16:00:11 +01:00
Oskar Hahn
44474049c3 Added docstrings 2017-01-24 15:16:29 +01:00
Oskar Hahn
fccde8de11 Changed the function has_perm to support an user id or None as the first argument.
Also fixt the case, where an anonymous user connects to the websocket connection.

Also added a function anonymous_is_enabled() to see, if the anyonmous user is enabled.

Added pip freeze to travis to see installed versions.
2017-01-24 15:16:29 +01:00
FinnStutzenstein
40c2cdbe50 Fixing missing ballot resolver 2017-01-24 12:40:44 +01:00