Commit Graph

935 Commits

Author SHA1 Message Date
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
Sean Engelhardt
10684cf1cf Allow stored filter without options
Fixes an issue where stored filters where considered to be wrong if
their set of options was empty
2019-05-23 10:13:53 +02:00
Emanuel Schütze
a403715736
Merge pull request #4734 from emanuelschuetze/motionMobileView
Fixed motion mobile view on iOS.
2019-05-22 23:17:01 +02:00
Emanuel Schütze
63daac7b65 Fixed motion mobile view on iOS. 2019-05-22 22:52:35 +02:00
Sean Engelhardt
c3c98f06e3 Fixes an issue where sorting was tried with undefined valued
Hot-Fixes agenda sorting
2019-05-22 18:35:58 +02:00
Sean Engelhardt
bd4da53255 Check if the loaded filter definition has the valid format
Fixes an issue where malformated or old filter-definition where considered
to be valid filters which could cause some issues
2019-05-22 12:33:05 +02:00
FinnStutzenstein
5c4d7af917 Readded default sorting for agenda
The default sorting was removed here: https://github.com/OpenSlides/OpenSlides/pull/4671/files#diff-c72ce8d0c2c339385819bf10c685c276L128
Readded it in the repository (instead of the filter-/sortingservices), so the agenda is always well sorted.
2019-05-21 17:27:29 +02:00
GabrielMeyer
cd4e73b6d3 Adds import of tags to csv import 2019-05-21 14:58:46 +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
Emanuel Schütze
31274873f1
Merge pull request #4719 from FinnStutzenstein/chyronColor
Added custom color for the projector chyron and reset buttons for colors
2019-05-20 22:12:32 +02:00
FinnStutzenstein
e267279f60 Added custom color for the projector chyron and reset buttons for colors 2019-05-20 21:50:03 +02:00
Emanuel Schütze
0a99c2b0f5
Merge pull request #4722 from FinnStutzenstein/motionTextNotRequiredForParagraphAmendments
Do not require the motion text for paragraph based amendments
2019-05-20 21:46:15 +02:00
FinnStutzenstein
11fd8c5762 Do not require the motion text for paragraph based amendments 2019-05-20 20:47:28 +02:00
Finn Stutzenstein
e4dfd75ab9
Merge pull request #4721 from FinnStutzenstein/fixPermissionSorting
Fix sorting of permissions if plugins are available
2019-05-20 17:20:38 +02:00
Maximilian Krambach
014701442c refactor poll calculations 2019-05-20 11:31:27 +02:00
FinnStutzenstein
ba73d50886 Fix sorting of permissions if plugins are available 2019-05-20 10:32:40 +02:00
Sean
7ab040823d
Merge pull request #4671 from tsiegleauq/rework-sort-filter
Rework sort and filter
2019-05-20 10:02:12 +02:00
Sean Engelhardt
850fcbe243 Rework sort and filter
More observable based, more scaleable filtering
based on an old branch of @FinnStutzenstein.

cleans some functions and provides some differend features.
2019-05-17 13:03:48 +02:00
Emanuel Schütze
0f03eb1446
Merge pull request #4679 from tsiegleauq/assignment-ui
Rework Assignment UI
2019-05-16 22:17:20 +02:00
Sean Engelhardt
654c54e9ab Rework Assignment UI
Reworks the Assignment UI to fit to the current MockUps
2019-05-16 21:56:09 +02:00
Emanuel Schütze
fef386ddf8
Merge pull request #4713 from FinnStutzenstein/tooHighChangeIdHandling
Handles 'change id too high' and generic websocket error message format
2019-05-16 20:25:13 +02:00
Emanuel Schütze
65dbf37106
Merge pull request #4704 from FinnStutzenstein/setPermissionRequest
Request for settings a permission in a group (closes #4698)
2019-05-16 14:14:33 +02:00
Emanuel Schütze
93ef573e09
Merge pull request #4707 from FinnStutzenstein/fixTreeSorting
fix tree sorting
2019-05-16 14:10:14 +02:00
FinnStutzenstein
284e90961a Fixed getting states of amendments (closes #4677) 2019-05-15 15:21:11 +02:00
Emanuel Schütze
183f671fee
Merge pull request #4693 from tsiegleauq/no-notification-on-projector
Enhance update service
2019-05-15 14:58:59 +02:00
FinnStutzenstein
5ad94cb2f4 Handles 'change id too high' and generic websocket error message format 2019-05-15 14:25:54 +02:00
Norman Jäckel
cf29f97613 Added view for bulk category set and bulk motion block set.
Due to rebasing this PR, this are the appropriate authorships:
Server: @normanjaeckel and @FinnStutzenstein
Client: @MaximilianKrambach
2019-05-15 14:18:36 +02:00
FinnStutzenstein
10c329da8d fix tree sorting
Assigns the weight in the preorder traversal of the tree. Now one without every
object (e.g. missing motions/items) still have the correct sorting. Intorduces
the level attribute of items giving the amount of parents in the agenda. This
allows to reduce complexits in the client.
2019-05-15 14:14:32 +02:00
Finn Stutzenstein
b3c2b5f899
Merge pull request #4645 from FinnStutzenstein/renameManageRestriction
Rename the manage restriction field
2019-05-15 13:40:16 +02:00
Emanuel Schütze
7f5ec6a840
Merge pull request #4715 from CatoTH/OS3-final-version-in-csv
Support other text versions in CSV
2019-05-14 22:03:42 +02:00
Tobias Hößl
f8a56ed136
Support other text versions in CSV 2019-05-14 20:58:21 +02:00
Emanuel Schütze
2b163af5d7 Improved users PDF and CSV export
- PDF: use full_name (with structure_level and number) instead of short_name.
- CSV: add gender column
2019-05-14 20:20:21 +02:00
FinnStutzenstein
f9bac798aa Rename the manage restriction field
Renamed 'managers_only' to 'motions.can_maange' to adapt the (new) behavior of #4638. Closes #4643.
2019-05-14 16:02:59 +02:00
Maximilian Krambach
6b25e62cec
Merge pull request #4712 from MaximilianKrambach/fix4711
fix sorting tree condition #4711
2019-05-14 15:57:39 +02:00
Maximilian Krambach
71e2ef65fc fix sorting tree condition 2019-05-14 15:11:25 +02:00
GabrielMeyer
5ad70bd02d Hotfix: MediaUpload went wrong... 2019-05-14 14:10:58 +02:00
Finn Stutzenstein
ae107dc0d1
Merge pull request #4706 from FinnStutzenstein/hotfixAgendaList
Fixed false visible items in the agenda
2019-05-13 16:03:19 +02:00
Finn Stutzenstein
af717fe018
Merge pull request #4680 from FinnStutzenstein/unifyUrlsPrefixes
Added beginning slash to all request urls
2019-05-13 14:49:51 +02:00
FinnStutzenstein
c860f45041 Fixed false visible items in the agenda
The fix has to be reworked with #4671 and can be eliminated with #4639
2019-05-13 13:42:03 +02:00
FinnStutzenstein
5e13299ae3 Request for settings a permission in a group (closes #4698) 2019-05-13 10:17:24 +02:00
Emanuel Schütze
7792c47656 Fixed projector logo 2019-05-11 09:40:14 +02:00
Emanuel Schütze
ca70944d0c Fixed permission for reset password in routing module. 2019-05-10 16:09:35 +02:00
FinnStutzenstein
7c80aebe75 Added beginning slash to all request urls 2019-05-10 14:05:28 +02:00
Sean Engelhardt
1a02b845b8 Enhance update service
Updates will be observed from site component
(Makes pure projectors ignore updates, unless the user navigates manually)

Updates can now be delayed using the "noInterruption" route data.
If the "noInterruption" route data was set, updates notifications
will not be shown in this view.
The update notification will appear, after the user navigates
to a view without "noInterruption" flag.
2019-05-10 13:11:42 +02:00
FinnStutzenstein
c4402f733e Refresh projector data after *every* (re)connect (closes #4691) 2019-05-10 12:24:41 +02:00
Emanuel Schütze
643bab111c
Merge pull request #4688 from MaximilianKrambach/multiFilter
fix number array filter options
2019-05-10 11:32:28 +02:00
Maximilian Krambach
6648f3a17d fix number array filter options 2019-05-10 10:47:35 +02:00
Emanuel Schütze
6f7f25727c
Merge pull request #4684 from emanuelschuetze/fixUserList
Fix access for user meta info dialog in user list view.
2019-05-10 08:39:11 +02:00
Emanuel Schütze
91cb6c132c Fix access for user meta info dialog in user list view. 2019-05-10 07:17:09 +02:00
FinnStutzenstein
b445946f54 Fix self-referencing projectors with new dependency management 2019-05-10 06:45:49 +02:00
Emanuel Schütze
cef2e45b34
Merge pull request #4675 from tsiegleauq/personal-note-bug
Update personal note in motion
2019-05-08 20:55:37 +02:00
Emanuel Schütze
2c92ae9304
Merge pull request #4674 from emanuelschuetze/translation-20190507
Updated translations
2019-05-08 20:53:41 +02:00
Sean Engelhardt
7d49187123 Update personal note in motion
Fixes an issue where personal notes were not update
during a view motions update process
2019-05-08 20:07:04 +02:00
Emanuel Schütze
bbe0b16701 Updated translations 2019-05-08 19:56:31 +02:00
Emanuel Schütze
1faf088eca Added redesigned OpenSlides logo (svg only) 2019-05-07 22:01:16 +02:00
Emanuel Schütze
f22596a98b
Merge pull request #4672 from tsiegleauq/motion-block-new-tab
Add anchor tag to motion block
2019-05-07 21:16:30 +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
Sean Engelhardt
f0ffaef1e5 Add anchor tag to motion block
Adds `<a ...>` tags to motion block list and motion block detail
Allowing opening details in a new tab
2019-05-07 17:35:28 +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
Emanuel Schütze
8bc7f8cb70
Merge pull request #4630 from MaximilianKrambach/assignment_globalno
include global abstain/no option
2019-05-07 17:30:43 +02:00
Emanuel Schütze
5d64ea1519
Merge pull request #4668 from GabrielInTheWorld/fixes-checkbox
Fixes state of the checkboxes in amendments
2019-05-07 17:25:09 +02:00
Emanuel Schütze
67b99c1baa
Merge pull request #4665 from GabrielInTheWorld/utilities
Fixes scrollbar in old firefox versions
2019-05-07 17:18:51 +02:00
Emanuel Schütze
38d572b34f
Merge pull request #4670 from FinnStutzenstein/fixMotionBlockSlide
Fix motion block slide
2019-05-07 17:14:01 +02:00
Finn Stutzenstein
82a2189b04
Merge pull request #4666 from FinnStutzenstein/operatorService
Proper updating of the viewUser in the OperatorService
2019-05-07 16:39:52 +02:00
FinnStutzenstein
72a7a6fde0 Fix motion block slide 2019-05-07 16:18:13 +02:00
GabrielMeyer
41e2fb2f93 Fixes scrollbar in old firefox versions 2019-05-07 16:04:18 +02:00
GabrielMeyer
e6c4e1d27b Fixes state of the checkboxes in amendments 2019-05-07 15:58:36 +02:00
FinnStutzenstein
afb28f0f72 Proper updating of the viewUser in the OperatorService 2019-05-07 15:54:14 +02:00
GabrielMeyer
3d5f79a76c Fields are only available if they are available
- The user can change information about motions
- The user can send an invitation email
2019-05-07 15:03:57 +02:00
Finn Stutzenstein
c560f511b5
Merge pull request #4607 from FinnStutzenstein/prioritizeClients
Prioritize clients and WS ping-pong-mechanism
2019-05-07 14:04:09 +02:00
Emanuel Schütze
17dbcca757
Merge pull request #4664 from emanuelschuetze/motionBlockPermission
Fixed motion block permission
2019-05-07 13:54:36 +02:00
FinnStutzenstein
febbe9bba2 Prioritize clients with the right operator and added ping-pong mechanism 2019-05-07 13:43:52 +02:00
Emanuel Schütze
41c30eb730 Fixed motion block permission 2019-05-07 13:27:42 +02:00
Emanuel Schütze
d218a86f69
Merge pull request #4662 from FinnStutzenstein/repoSpeed
Speedup DS and repo updates, DSUpdateSlots, lazyloading history objects
2019-05-07 13:26:21 +02:00
GabrielMeyer
11c565282f Fixes the listing of motions in a category
- Sorting by motion.category_weight
2019-05-07 12:26:25 +02:00
Emanuel Schütze
179ef39aca
Merge pull request #4661 from tsiegleauq/pdf-comment-paragraph
Fix Parsing for personal comments in bulk export
2019-05-06 16:59:49 +02:00
FinnStutzenstein
fe81ea6ff9 Speedup DS and repo updates, DSUpdateSlots, lazyloading history objects 2019-05-06 16:33:36 +02:00
Emanuel Schütze
801010a936
Merge pull request #4655 from MaximilianKrambach/weight
fix sorting in category-sort
2019-05-06 16:25:36 +02:00
Sean Engelhardt
0f7733a25d Fix Parsing for personal comments in bulk export
Fixes an error where HTML in motion comments was parsed
wrong during PDF bulk export
2019-05-06 16:22:35 +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
Maximilian Krambach
52c6e05aba fix sorting in category-sort 2019-05-02 11:45:49 +02:00
Maximilian Krambach
f00303d753 include global abstain/no option
election polls with 'one vote per candidate' should have a
 global no/abstain option
2019-05-02 10:51:00 +02:00
Emanuel Schütze
d7c6583b7e
Merge pull request #4647 from GabrielInTheWorld/extend-user-dialog
Adds the structure-level and participant-number to the user-list
2019-04-30 16:39:49 +02:00
Emanuel Schütze
9f5226c1d9
Merge pull request #4648 from FinnStutzenstein/motionBlockSlideTwoColumns
Dynamic a two column layout in motion block slides
2019-04-30 16:38:58 +02:00
GabrielMeyer
33044a6eaa Handles 'auto-update'
- New motions in a category are appended to the end of the list.
- Removed motions are extracted from the list of motions.
2019-04-30 15:48:22 +02:00
FinnStutzenstein
76880100f5 Sort motions in categories 2019-04-30 14:14:41 +02:00
Sean
83044acde5
Merge pull request #4650 from tsiegleauq/xlsx-addons
Add various extensions to the xlsx exporter
2019-04-30 10:55:46 +02:00
Sean Engelhardt
d05a30bccb Add various extensions to the xlsx exporter 2019-04-30 10:34:01 +02:00
Emanuel Schütze
4507840788
Merge pull request #4646 from FinnStutzenstein/resetClientCache
Added button to reset the clients cache
2019-04-30 10:24:19 +02:00
Emanuel Schütze
bccd9db076
Merge pull request #4649 from tsiegleauq/pdf-font-size-parsing
use ParseInt in PDF generation
2019-04-29 19:54:18 +02:00
Sean Engelhardt
945b2ce72a use ParseInt in PDF generation
Replace "+"(string) with parseInt(val, 10), since apparently some editors
copy `style="xy.zpt"` into a style tag
2019-04-29 12:43:22 +02:00
FinnStutzenstein
ec7a7aadae Added button to reset the clients cache 2019-04-29 11:27:35 +02:00
FinnStutzenstein
c234cfe698 Dynamic a two column layout in motion block slides 2019-04-29 11:20:12 +02:00
GabrielMeyer
8b489fcdc0 Adds the structure-level to the user-list
- The dialog shows the structure level of one user
- In the list-view the structure level and the participant number are displayed.
2019-04-29 10:35:24 +02:00
FinnStutzenstein
44b683e361 Add attachments to assignments 2019-04-29 10:31:28 +02:00
Emanuel Schütze
3584dd5646
Merge pull request #4627 from tsiegleauq/virtual-scroll-statute
Add virtual scrolling to statute list
2019-04-28 13:57:30 +02:00
Emanuel Schütze
483d759c88
Merge pull request #4641 from normanjaeckel/FixMotionStateCreation
Server should not require restriction field for motion state. Fixed #…
2019-04-28 13:46:21 +02:00
Emanuel Schütze
e20ff16755
Merge pull request #4642 from CatoTH/diff-bugfix-ins-beyond-paragraphs
Diff-Bugfix: Insertions/Deletions beyond paragraph boundaries
2019-04-28 13:44:43 +02:00
Tobias Hößl
bc8739f017
Diff-Bugfix: Insertions/Deletions beyond paragraph boundaries 2019-04-28 11:27:28 +02:00