Commit Graph

600 Commits

Author SHA1 Message Date
Sean Engelhardt
2372408e4c Implement NGrids filter function
- Implements NGrids new "filteredData" function, to restore old filter behavior.
Export a quick-filtered list is now possible.

- More controll about List-View-Table UI

- Use NGrid target-events for better mutli-select behavior

- Changes the behavior of hidden headers to ignore paddings-changes

- filters are more resistant to errors and storage loss
2019-07-19 14:35:24 +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
GabrielMeyer
5e922f66d2 Refactores the 'global search' 2019-07-17 15:11:36 +02:00
Sean
bb7b702e05
Merge pull request #4846 from tsiegleauq/subcat-filter-and-ui
Enhance subcategories
2019-07-16 11:29:33 +02:00
Sean Engelhardt
530dcf490a Enhance subcategories
- show parents over children in motion list, motion detail and PDF
- indent children of categories in the filter list
2019-07-16 10:48:48 +02:00
GabrielMeyer
8337f8928c Exporting comments in CSV 2019-07-16 10:39:53 +02:00
Tobias Hößl
e5a27205d3
Bugfix: missing text in PDF-exported diff view 2019-07-14 08:43:19 +02:00
Emanuel Schütze
4e6eddef98 Motion PDF improvements
- show motion export dialog for all users
- print recommendation in table of content lines in italic
- only print categories of filtered motions in table of content
- add page break after each (sub)category
- reduce font size for footer date
2019-07-12 14:30:24 +02:00
Emanuel Schütze
3fd519e0d4
Merge pull request #4821 from FinnStutzenstein/directories
Directories and access permissions for mediafiles
2019-07-12 13:34:46 +02:00
Emanuel Schütze
437d10f693
Merge pull request #4838 from FinnStutzenstein/configMigrationVersion
Recover-strategy to detect an updated server without a reload
2019-07-12 13:30:14 +02:00
FinnStutzenstein
56c1da352e Directories and access permissions for mediafiles 2019-07-12 13:08:07 +02:00
FinnStutzenstein
77dee0d977 Recover-strategy to detect an updated server without a reload 2019-07-11 19:23:25 +02:00
FinnStutzenstein
fa22d651dd Sort global search results 2019-07-10 07:51:23 +02:00
Emanuel Schütze
1cdfea666b Updated translations 2019-07-08 10:22:19 +02:00
Sean Engelhardt
f79aa763c2 Add more option to motion export
Add optional TOC, date and page numbers to the motion export dialog.
Save and restore the last selected entries in the dialog
2019-07-05 11:57:05 +02:00
Tobias Hößl
2592862384 Change recommendations for titles
- Title changes in PDF, Diff-view and slides
2019-07-05 11:17:42 +02:00
Sean
b06f879602
Merge pull request #4819 from tsiegleauq/angular-8.0.6
Update to Angular 8.0.6
2019-07-04 14:51:51 +02:00
Sean Engelhardt
bc0fea3310 Update to Angular 8.0.6
Updates to angular 8 and updates all used components

- removed wrapper class for ngx/pwa LocalStorrace
- removed database lock service due to bugs
- tried to work around a cycle of dependancies
- changed some structure to be more close to default angular
- removed legacy angular packages
- removed date-picker since it was not currently used and
  is not compatible anymore
- upgrade tinyMCE
2019-07-04 14:20:57 +02:00
FinnStutzenstein
2ae7776392 Show from recommendation referencing motions 2019-07-04 07:12:31 +02:00
Tobias Hößl
6b70e8a4ab Bugfix: Amendment with multiple changed paragraphs shows motion text multiple times when context is shown 2019-07-03 12:20:44 +02:00
Sean Engelhardt
cfc09d8cad Add motion PDF TOC subcategories
Adjust the motion catalog PDF TOC to indicate Subcategories
2019-07-03 10:38:20 +02:00
Emanuel Schütze
bf4f93c502
Merge pull request #4815 from tsiegleauq/multiselect-stack-calls
Enhance Choice service.
2019-07-02 13:08:53 +02:00
Sean
ec9760216a
Merge pull request #4790 from FinnStutzenstein/cleanup
Cleanup
2019-06-28 12:02:07 +02:00
Sean Engelhardt
1e7a5b33d7 Enhance Choice service.
- Enhance the behavior on small screens and resolutions
- Only scroll content
- fixes an issue where choices could not be made if no content option where available
2019-06-28 11:44:16 +02:00
FinnStutzenstein
e604da3240 Quicklink to history (closes #4777) 2019-06-28 08:32:21 +02:00
FinnStutzenstein
b8d3fa2614 Cleanup 2019-06-28 07:58:36 +02:00
Emanuel Schütze
5d3bb1fd4a Updated translations 2019-06-27 23:20:49 +02:00
Emanuel Schütze
964712c77d
Merge pull request #4774 from GabrielInTheWorld/pdf-checkbox
Implements checkboxes
2019-06-27 22:44:49 +02:00
Emanuel Schütze
cc0e8f0829
Merge pull request #4807 from emanuelschuetze/text-encode
Use npm package text-encoding to fix IE11/Edge login.
2019-06-27 22:24:27 +02:00
GabrielMeyer
e5b25d7695 Implements checkboxes
In every motion the user has the option to follow the recommendation or not.
2019-06-27 22:20:43 +02:00
Emanuel Schütze
bd4365eb30
Merge pull request #4812 from tsiegleauq/show-active-filter
Add detailed filter information
2019-06-27 20:51:57 +02:00
Sean Engelhardt
b4cbf5646f Add detailed filter information
Adds detailed filter information into the table custom head bar.
Filters are scroll-able horizontally
2019-06-27 16:38:21 +02:00
Emanuel Schütze
b7d35d1fa1
Merge pull request #4789 from tsiegleauq/user-list-sort
Fix sorting with empty strings
2019-06-27 15:21:38 +02:00
Sean Engelhardt
1aa41945c5 Fix sorting with empty strings
Empty strings can now be sorted using the base filter service
2019-06-27 14:32:14 +02:00
FinnStutzenstein
b7e98a565a Fix restriction without restricted data cache 2019-06-25 16:57:29 +02:00
Emanuel Schütze
611d0f4610 Use npm package text-encoding to fix IE11/Edge login.
IE11/Edge does not support TextDecoder/TextEncoder.
Solved by using the npm package 'text-encoding'.
2019-06-25 14:59:04 +02:00
Sean Engelhardt
9d37989ec7 Makes navigation from Legal notice and pp always possible.
Tracks the last history and evaluates if the last visited URL is safe to navigate to

also increases the version of djangorestframework.

fixes #4705
2019-06-25 10:45:24 +02:00
Emanuel Schütze
3d573441ca
Merge pull request #4759 from FinnStutzenstein/optionalAgendaItem
Optional agenda items
2019-06-24 12:37:29 +02:00
FinnStutzenstein
c2f14397f2 Fixed updates for self references in BaseRepository (closes #4796) 2019-06-19 09:05:09 +02:00
Emanuel Schütze
c7088a4b73
Merge pull request #4786 from GabrielInTheWorld/FinnStutzenstein/categoryNameWithParents
Labelling of subcategories
2019-06-19 08:15:47 +02:00
GabrielMeyer
4fc7731f1a Ensures theming of components
- If there is no theme applied, the default theme is loaded and applied.
2019-06-17 14:48:34 +02:00
FinnStutzenstein
295c69e3fb Changed category label for motion views 2019-06-17 13:06:06 +02:00
FinnStutzenstein
8ff0f73477 Optional agenda items 2019-06-17 12:38:17 +02:00
Emanuel Schütze
5247ced71f Updated translations 2019-06-14 14:27:14 +02:00
Emanuel Schütze
e2e5fe07d0
Merge pull request #4766 from GabrielInTheWorld/pdf-make-enhancement
Implementation of exporting submitters and recommendation
2019-06-14 14:17:13 +02:00
GabrielMeyer
26cc6556a0 Implementation of exporting submitters and recommendation
The user can choose the option to export the informtion about submitters and the recommendation including the extension of motions to the 'table of contents'.
2019-06-14 13:59:19 +02:00
FinnStutzenstein
ff98ee1b96 Refactured client 2019-06-13 10:09:08 +02:00
Emanuel Schütze
35c8dc97f5
Merge pull request #4756 from FinnStutzenstein/subcategories
Subcategories
2019-06-12 15:08:46 +02:00
FinnStutzenstein
bf9973a4a7 Subcategories 2019-06-12 14:37:19 +02:00
FinnStutzenstein
6d027f0f75 Compression: Sending compressed messages 2019-06-12 08:25:25 +02:00
FinnStutzenstein
d9c88c02b3 Compression: Recieving compressed messages 2019-06-12 08:21:16 +02:00
FinnStutzenstein
213fc30800 Update prettier 2019-06-12 08:01:33 +02:00
FinnStutzenstein
4151797f60 Temporary fix for the agenda item number during updates.
The changes in the agenda reposiroty can be reverted with #4738
2019-06-06 10:03:34 +02:00
Emanuel Schütze
7fac04afa7 Updated Translations 2019-06-05 17:56:18 +02:00
Emanuel Schütze
6895b5db67
Merge pull request #4651 from MaximilianKrambach/assignmentBallots
Assignment ballots (and refactoring motion ballots)
2019-06-05 17:24:42 +02:00
Maximilian Krambach
79ef8e99c4 assignment poll ballot pdfs
- refactoring poll-pdf service
- adding ballots for AssignmentPolls
2019-06-05 16:30:54 +02:00
Maximilian Krambach
5f424aa7c1 tree sorting: fix sorting multiple items 2019-06-04 17:22:50 +02:00
Emanuel Schütze
708de917e1 Updated translations 2019-05-31 11:09:31 +02:00
FinnStutzenstein
658b1a360d Internal flag for motion blocks
- ServerSide
- Adds the 'internal'-flag to the edit view of motion blocks
2019-05-28 15:24:22 +02:00
FinnStutzenstein
469084a1b6 Work on the presentation controls 2019-05-27 16:08:14 +02:00
FinnStutzenstein
78d107e37c some controls, integrate the pdfviewer 2019-05-27 16:08:11 +02:00
GabrielMeyer
8a1588dd33 Implements the export of assignment-list as pdf
- Exporting the whole list of assignments
- Exporting a selected list of assignments
2019-05-27 12:32:05 +02:00
Finn Stutzenstein
1599e91fa5
Merge pull request #4741 from FinnStutzenstein/noErrorPageOnLogout
Prevent error page flickering on logout
2019-05-27 09:30:52 +02:00
FinnStutzenstein
69903192a2 Prevent error page flickering on logout 2019-05-27 08:48:04 +02:00
FinnStutzenstein
d57c5bd132 Fixed updating user data after changing permissions with the new view 2019-05-24 18:22:39 +02:00
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
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
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
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
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
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
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
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
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
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
Maximilian Krambach
6648f3a17d fix number array filter options 2019-05-10 10:47:35 +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
1faf088eca Added redesigned OpenSlides logo (svg only) 2019-05-07 22:01:16 +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
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
FinnStutzenstein
afb28f0f72 Proper updating of the viewUser in the OperatorService 2019-05-07 15:54:14 +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
FinnStutzenstein
febbe9bba2 Prioritize clients with the right operator and added ping-pong mechanism 2019-05-07 13:43:52 +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
FinnStutzenstein
fe81ea6ff9 Speedup DS and repo updates, DSUpdateSlots, lazyloading history objects 2019-05-06 16:33:36 +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
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
FinnStutzenstein
76880100f5 Sort motions in categories 2019-04-30 14:14:41 +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
44b683e361 Add attachments to assignments 2019-04-29 10:31:28 +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
Emanuel Schütze
652968add3
Merge pull request #4634 from MaximilianKrambach/lastEmailSent
last_email_sent display and resend email
2019-04-27 21:32:16 +02:00
Maximilian Krambach
d1eed23158 last_email_sent display and resend email 2019-04-27 21:16:28 +02:00
Norman Jäckel
3d6e87e1ef Server should not require restriction field for motion state. Fixed #4622. 2019-04-27 16:23:31 +02:00
Emanuel Schütze
23103362a5
Merge pull request #4617 from tsiegleauq/assignment-pdf
Create assignment PDF service
2019-04-26 21:46:04 +02:00
Emanuel Schütze
ea93c65c3f
Merge pull request #4637 from tsiegleauq/catch-pdf-creation-bugs
Show errors during PDF generation
2019-04-26 21:41:46 +02:00
Sean Engelhardt
e520dd99e0 Create assignment PDF service
Exports the assignment detail as PDF
2019-04-26 16:23:48 +02:00
Emanuel Schütze
729b7f151b
Merge pull request #4621 from tsiegleauq/workflow-state-creation
Temp Fix creation of Workflow States
2019-04-26 16:07:27 +02:00
Sean Engelhardt
680b6e04e4 Show errors during PDF generation
A lot of PDF-Erros are resolveable by the users themselves.
This helpes users to show them, which of their motions have
malformated HTML
2019-04-26 15:34:27 +02:00
FinnStutzenstein
2a73c194dd Fixed requesting all data after a connection lost 2019-04-26 09:51:44 +02:00
Emanuel Schütze
b7ae5fd8a8
Merge pull request #4631 from CatoTH/Bugfix-replacing-text-at-end-of-paragraph
Bugfix: inline diff for replaced text at end of paragraph
2019-04-25 22:26:38 +02:00
Tobias Hößl
e533fbad6d
Bugfix: inline diff for replaced text at end of paragraph 2019-04-25 22:08:21 +02:00
Maximilian Krambach
1b1499a660 Assignment slides 2019-04-25 17:12:21 +02:00
Tobias Hößl
cbcc01d8e1
Bugfix: better detection for inserted paragraphs 2019-04-24 22:43:57 +02:00
Sean Engelhardt
8bd57321a9 Temp Fix creation of Workflow States
Offers an empty error during the creation of new workflow states
2019-04-24 15:20:53 +02:00
FinnStutzenstein
624a56d546 verbose error message on missing configs 2019-04-23 14:23:49 +02:00
Finn Stutzenstein
d0c6fd1dd1
Merge pull request #4611 from tsiegleauq/error-page-redirect
Fix AuthGuard race conditions and false redirects
2019-04-23 13:44:59 +02:00
Sean Engelhardt
6a04d3ed0b Fix AuthGuard race conditions and false redirects
Fixes an error where the auth guard had race conditions
with the OpenSlides bootup routine (kinda hacky tbh)
Fixes false redirects in the Auth.Service

Also adjustes the file uploader to be a little more
usable.
2019-04-23 13:23:19 +02:00
Sean
16ea66e9ed
Merge pull request #4609 from MaximilianKrambach/exportImportOrder
sort import/export columns for motions
2019-04-18 11:01:01 +02:00
Maximilian Krambach
dc41c1ed78 sort import/export columns for motions
definitions are in motion-import-export-order.ts
2019-04-18 10:44:21 +02:00
GabrielMeyer
cdc849de6d Implements filtering the sorting-tree.component
- Added filtering by visibility, like internal, public or hidden items
- Added option to collapse or expand all nodes
- Added also style for the dark theme
2019-04-17 12:41:16 +02:00
Sean
ebbb369124
Merge pull request #4605 from tsiegleauq/excel-frozen-rows
Enhance excel exporting
2019-04-16 13:25:29 +02:00
Sean Engelhardt
9b9bf244c1 Enhance excel exporting 2019-04-16 13:04:10 +02:00
Maximilian Krambach
217186f435 cleanup of outdated TODOS and stubs 2019-04-16 12:47:48 +02:00
Maximilian Krambach
9dfac94099 assignment improvements
- layouting
- fix one-vote polls
- filter candidate list
- candidate sorting
- fix adding/removing of candidates
- avoid ui jumping
- fix quorum calculations
2019-04-16 09:42:07 +02:00
Finn Stutzenstein
0f1df91915
Merge pull request #4602 from FinnStutzenstein/clearClientCacheOnMigrations
Refresh clients cache when the database was migrated
2019-04-15 16:30:33 +02:00
FinnStutzenstein
a715c0e432 Refresh clients cache when the database was migrated 2019-04-15 16:13:52 +02:00
Maximilian Krambach
a670d85267 fix motion import ooddity
- lag due to undefined submitters
- additional text separator
2019-04-15 12:43:16 +02:00
Maximilian Krambach
81c50f5b2f bulk set/unset favorite status 2019-04-15 10:52:18 +02:00
Finn Stutzenstein
259afa7f88
Merge pull request #4594 from FinnStutzenstein/modelStructureForAssignments
Background structure for assignments
2019-04-15 10:43:54 +02:00
FinnStutzenstein
9cfc0bbd42 Background structure for assignments
- moved some components
- added consistend namin scheme: (View)Assignment, (View)AssignmentPoll
(View)AssignmentPollOption and (View)AssignmentRelatedUser.
- Added precisionPipe, which needs to be added everywhere.
- Cleaned up converting deciml fields (as strings in the REST API) to
floats
- The repository creates the View* structure and enabled user updates.
2019-04-15 10:29:26 +02:00
Finn Stutzenstein
b05cd3af5a
Merge pull request #4580 from GabrielInTheWorld/form-validation
Fixes error from `mediafile-list.component` when logging out
2019-04-12 07:12:58 +02:00
Emanuel Schütze
9059191e91 Updated translations 2019-04-11 23:09:13 +02:00
Emanuel Schütze
58b5ec3f5e
Merge pull request #4573 from CatoTH/OS3-multi-paragraph-amendments
Creating multi-paragraph amendments
2019-04-11 21:18:16 +02:00
Tobias Hößl
5978868c37 Creating multi-paragraph amendments
- new config option to enable/disable multiple paragraphs
2019-04-11 17:00:25 +02:00
FinnStutzenstein
dfaf8b552a Fixed handling of unregistered resources 2019-04-09 16:15:23 +02:00
GabrielMeyer
4994cc6ce8 Fixes error from mediafile-list.component when logging out
- If the user is seeing the mediafiles and wants to log out, an error occurred causing by querying an attribute from undefined object.
2019-04-09 15:30:49 +02:00
Sean Engelhardt
054f76a5d4 Cleanups and enhancements
Cleans up and reviews some methods
2019-04-08 10:16:48 +02:00
Maximilian Krambach
464fb89b53 include per-poll values, some travis fix 2019-04-08 10:16:47 +02:00
Maximilian Krambach
52193e9fb2 Assignments 2019-04-08 10:16:46 +02:00
Sean Engelhardt
bd33c59ddf Add permissions to ListViews
Adds the AuthGuard to certain routes
Adds an error-component
Also hides certain other elements where
permissions should apply
2019-04-06 21:13:17 +02:00
Maximilian Krambach
e3c673b55e export recommendations with extra labels 2019-04-05 13:08:45 +02:00
Emanuel Schütze
3c959df374
Merge pull request #4568 from MaximilianKrambach/motionNextPrev
set surrounding motions according to sorting in list view (fixes #4566)
2019-04-04 23:23:17 +02:00
Sean Engelhardt
995fa7af32 Motion Amendments into PDF
Support Amendments of initial motions in PDF
2019-04-04 13:22:12 +02:00
Maximilian Krambach
9e2faefc79 set surrounding according to sorting in list view 2019-04-03 12:05:43 +02:00
Emanuel Schütze
492372d81c
Merge pull request #4554 from tsiegleauq/simple-excel-export
Export motions as excel document (.xlsx)
2019-04-03 09:18:45 +02:00
Sean Engelhardt
a973ad1719 Export motions as excel document (.xlsx)
Adds exceljs library.
Extends the "motion export dialog" to support xlsx export with a specific set of rules similar
to CSV
2019-04-02 14:23:01 +02:00
Finn Stutzenstein
fc3098b08f
Merge pull request #4560 from FinnStutzenstein/removeChatMessageClient
Remove the ChatMessage from the client
2019-04-02 13:24:55 +02:00
Finn Stutzenstein
864ab50306
Merge pull request #4552 from FinnStutzenstein/lostSessionMessageFix
Fix endless reconnections after a late WhoAmI
2019-04-02 12:36:34 +02:00
Finn Stutzenstein
29762ad89e
Merge pull request #4541 from FinnStutzenstein/projectionDefaults2
Projectiondefaults, width slider direct save
2019-04-02 12:30:20 +02:00
FinnStutzenstein
2c73b9b781 Remove the ChatMessage from the client 2019-04-02 12:28:19 +02:00
Finn Stutzenstein
55c162809c
Merge pull request #4540 from FinnStutzenstein/trackFirefoxIssues
Track storage fallbacks via count users
2019-04-01 08:49:55 +02:00
FinnStutzenstein
cee6d55b82 Projectiondefaults, width slider direct save 2019-04-01 08:48:52 +02:00
FinnStutzenstein
042fe29ffc Fix endless reconnections after a late WhoAmI 2019-04-01 08:20:57 +02:00
Norman Jäckel
8f393a1877
Merge pull request #4546 from tsiegleauq/websocket-debugging
Add websocket debug output
2019-03-29 11:53:27 +01:00
Sean Engelhardt
615e33f396 Add websocket debug output
Adds socket.warn functions to have a higher change to find errors
2019-03-29 11:37:47 +01:00
Sean Engelhardt
488690dc8d Add offline indicator
Also adds a function to the offline service to "actually" determinate if we are offline or not
2019-03-29 11:09:52 +01:00
FinnStutzenstein
ccf37758d4 delay the offline message 2019-03-29 08:36:18 +01:00
FinnStutzenstein
f8699450fb Track storage fallbacks via count users 2019-03-26 12:29:08 +01:00
Emanuel Schütze
b38ff3fb96
Merge pull request #4539 from FinnStutzenstein/localStorageFirefox
Uses storage fallback on incorrect IndexedDB initialization
2019-03-25 17:30:41 +01:00
Emanuel Schütze
9df28ae9bc
Merge pull request #4535 from MaximilianKrambach/sortings
add default sorting of tags and motion blocks
2019-03-25 17:16:06 +01:00
FinnStutzenstein
b267722901 Uses storage fallback on incorrect IndexedDB initialization 2019-03-25 16:12:42 +01:00
Sean Engelhardt
4e975af915 Fix history mode store access
prevents local storage access from certain services
when in history mode
2019-03-25 15:03:26 +01:00
Maximilian Krambach
4efede0396 add default sorting of tags and motion blocks 2019-03-25 13:44:41 +01:00
Sean Engelhardt
3cd58aa6c5 Cleanup the repo-cleanup
Adds a "patch" function to allow more modles to send patches with minimal data
rather than just the whole model.

Re-Adds the throwing of some errors to prevent developers from calling
methods that should not be called
2019-03-25 09:45:12 +01:00
Emanuel Schütze
fdfb3b9088 Updated translations 2019-03-22 16:13:33 +01:00
Sean Engelhardt
b472a3851b Add motion to motion change observation
Also fixes an some navigation for motion and amendments
2019-03-21 11:31:02 +01:00
Sean Engelhardt
56289af867 Fix websocket connection for port 80
port 80 was interpretet as <IP>:/ws before.
Certain browser did not like the colon...
2019-03-20 14:44:35 +01:00
GabrielMeyer
76d760bd41 Replaces the old angular2tree with a custom drag&drop tree
Calculates the direction of the moving.

Finishes the moving of nodes in same level

Adds some style

Sets the padding dynamically

Adds placeholder depends on the horizontal movement

Set the placeholder at the correct place, so the user can see, where he will drop the moved node

Finishes moving of nodes

- Old parents change their option to expand.
- New parents change their option to expand.
- If the user moves a node between nodes with a higher level, the node will be moved to the next index with same or lower level.

Fixes the visibility of moved node

- If the new parent is not visible, the moved node will not be seen.

If the user moves an expanded node, the new parent should expanded, too, if it's not already.

Sending successfully data to the server

- Sorting the items

Handles moving nodes between parent and children

- If the user moves a node between a parent and its children, the children will be relinked to the moved node as their new parent.

Replaces the old `sorting-tree` to a new one

- The new `sorted-tree` replaces the old `sorting-tree`.
- The old package `angular-tree-component` was removed.
- The user will only see the buttons to save or cancel his changes, if he made changes.
- The buttons, that do not work currently, were removed.

Adds a guard to check if the user made changes.

- If the user made changes but he has not saved them, then there is a dialog that will prompt to ask for confirmation.

Before cancelling the changes the user has to confirm this.
2019-03-19 13:19:35 +01:00
FinnStutzenstein
6cb4b9a691 Add amendments as dependencies in ViewMotion 2019-03-17 18:01:10 +01:00
Emanuel Schütze
1c02d5f496
Merge pull request #4513 from CatoTH/OS3-Bugfix-Amendment-Diff-Extraction
Bugfix in motion's diff-view: correct amendment diff
2019-03-16 20:43:54 +01:00
Tobias Hößl
1764447704
Bugfix in motion's diff-view: correct amendment diff 2019-03-16 14:07:05 +01:00
Tobias Hößl
e62648c719
Bugfixes: Highlighting wo CRs, better scrolling 2019-03-16 13:34:55 +01:00
Emanuel Schütze
e03ec00567
Merge pull request #4512 from FinnStutzenstein/fixOpenSlidesServiceOnLogin
Fixed errors on login
2019-03-16 12:11:44 +01:00
FinnStutzenstein
cd7b700aea Fixed errors on login 2019-03-15 15:29:02 +01:00
Maximilian Krambach
9c67b1c773 sorting from inside base repositories
Authors: FinnStutzenstein, MaximilianKrambach, tsiegleauq
2019-03-15 08:12:50 +01:00
Sean Engelhardt
d4e10702cc Cleanup Repos
Add an getViewModelListBehaviorSubject that simplifies
how to get most model lists in the view

unified update, delete and create methods and removed redundant code from the repos
(where it was possible)

cleaned up the motion detail to not directly use the DataStore

Add information about the "main model" to all ViewModels, to call the
correct constructor in the BaseRepo
2019-03-14 10:46:33 +01:00
Sean
ae3ce54f57 workflow table state sort
Sorts the Workflow table to be more predictable

Adds new shared SCSS table rules.
Adds a default with as 100% (there have never been half tables)
Overwrites the rules for sticky tables
2019-03-13 15:54:35 +01:00
FinnStutzenstein
e6ec164fe9 Fixed redirection on login subpages (fixed #4474) 2019-03-12 12:01:05 +01:00
FinnStutzenstein
eb4537c1bf rework login system (again) 2019-03-11 13:45:17 +01:00
Emanuel Schütze
5139fe8365 Updated tranlstions 2019-03-11 12:28:34 +01:00
Emanuel Schütze
3684701ab6
Merge pull request #4495 from FinnStutzenstein/viewItemTitle
ViewItem title (fixes #4464)
2019-03-11 12:21:21 +01:00
FinnStutzenstein
aa81bf38c3 ViewItem title (fixes #4464) 2019-03-11 11:21:34 +01:00
Finn Stutzenstein
d10dfb0915
Merge pull request #4469 from MaximilianKrambach/speakertime
clarifying duration service usage
2019-03-11 08:07:41 +01:00
Tobias Hößl
6b685924d9 Bugfix: Amendment statuses 2019-03-09 22:48:21 +01:00
Emanuel Schütze
3490ff3ca4
Merge pull request #4477 from FinnStutzenstein/projectorScroll
projector scroll and contdown offset
2019-03-08 14:32:42 +01:00
FinnStutzenstein
5fff7d24ec projector scroll and contdown offset 2019-03-08 13:17:43 +01:00
Emanuel Schütze
0290449b8b
Merge pull request #4452 from FinnStutzenstein/reworkPersonalNotes
rework personal notes
2019-03-08 12:45:54 +01:00
FinnStutzenstein
f198a21543 rework personal notes 2019-03-08 12:09:53 +01:00