Commit Graph

744 Commits

Author SHA1 Message Date
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
Maximilian Krambach
85491b6c8f prevent accidental self-lockout in multiSelect 2019-03-26 09:49:55 +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
Emanuel Schütze
3a520705f1
Merge pull request #4538 from tsiegleauq/history-storrage
Fix history mode store access
2019-03-25 17:13:57 +01:00
Finn Stutzenstein
da553b129a
Merge pull request #4534 from GabrielInTheWorld/util-fixes
Adjusts pagination's listener to default code style.
2019-03-25 16:18:00 +01:00
FinnStutzenstein
b267722901 Uses storage fallback on incorrect IndexedDB initialization 2019-03-25 16:12:42 +01:00
Sean
de3681454f
Merge pull request #4533 from tsiegleauq/speaker-item-sorting
Add manual sorting to Speaker list
2019-03-25 15:28:50 +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
GabrielMeyer
cd2907381b Includes hammerjs. 2019-03-25 14:41:47 +01:00
Maximilian Krambach
4efede0396 add default sorting of tags and motion blocks 2019-03-25 13:44:41 +01:00
Sean Engelhardt
c0a2072cc2 Add manual sorting to Speaker list
Also create CSS Theme file to prevent side effects from theming
2019-03-25 13:34:10 +01:00
GabrielMeyer
15ca6cfec7 Adjusts pagination to default code style. 2019-03-25 13:04:42 +01:00
Sean
279b8b1d25
Merge pull request #4524 from GabrielInTheWorld/util-fixes
Adds listener to the pagination
2019-03-25 10:09:01 +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
Emanuel Schütze
0cc59c6596 Fixed CSS styling error 2019-03-22 15:47:22 +01:00
Emanuel Schütze
faa0a6077e
Merge pull request #4527 from tsiegleauq/list-of-speakers-template
Add prettier list of speakers
2019-03-22 15:30:22 +01:00
Sean Engelhardt
ab19d66022 Add prettier list of speakers
Also cleans up some CSS and unifies some Drag-N-Drop Component
styles.
2019-03-22 13:25:03 +01:00
GabrielMeyer
6e628ea4cd Adds listener to the pagination
- Subscription to change events from pagination are used to set the made settings initial.
2019-03-22 13:05:03 +01:00
GabrielMeyer
fca92ef9e2 Sanitizing the inner html text. 2019-03-21 17:39:57 +01:00
Emanuel Schütze
0527b814bc
Merge pull request #4522 from emanuelschuetze/improvements
Minor layout improvements
2019-03-21 15:38:50 +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
Emanuel Schütze
e54d0cf087 Minor layout improvements
- Improved motion block slide layout
- Increase width of statute paragraph title form field
- hide identifier in motion form for unprivileged users/submitters
2019-03-20 22:00:35 +01:00
Emanuel Schütze
63a2c6b05b
Merge pull request #4520 from tsiegleauq/websocket-fixes
Fix websocket connection for port 80
2019-03-20 15:08:01 +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
Emanuel Schütze
68175b8cb7
Merge pull request #4519 from tsiegleauq/list-z-levels
Fix some z-level related issues
2019-03-20 13:13:15 +01:00
Emanuel Schütze
a3ed1ae00c
Merge pull request #4518 from normanjaeckel/NewPermInternalMotions
Added new permission to see motions in internal state (so called auth…
2019-03-20 13:03:48 +01:00
Sean
460c99e683
Merge pull request #4515 from emanuelschuetze/fixStatuteAmendment
Fixed statute amendment detection in motion form
2019-03-20 12:56:12 +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
Sean Engelhardt
ca18d59ac3 Fix some z-level related issues
Fixes some z-layer effects
2019-03-20 12:45:34 +01:00
Emanuel Schütze
d62f1538ab
Merge pull request #4489 from GabrielInTheWorld/tree-sort-agenda
Replaces the DragDrop-Tree
2019-03-19 19:46:03 +01:00
Sean Engelhardt
183d2738e0 Add Countdowns in projector detail
Adds Pretty countdown controls, detetion and edit in
Projector template.

Countdown list was removed
2019-03-19 17:20:38 +01:00
Emanuel Schütze
dfab9730dc Fixed statute amendment detection in motion form 2019-03-19 16:49:45 +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
Tobias Hößl
5d9128403a
Bugfix: Diff 2019-03-17 20:31:25 +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
5d35a0fa5f Fix certain permission checks
Fixed permissions in topic detail, agenda list and user detail.
Fixes Z-Level of head bar and mat-spinner.
2019-03-14 17:50:33 +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
Sean
7734a502d8
Merge pull request #4502 from FinnStutzenstein/fixRedirectionOnDelayedWhoAmI
Fixed redirection on login subpages (fixed #4474)
2019-03-13 15:31:21 +01:00
Finn Stutzenstein
6d66ec5b5d
Merge pull request #4493 from FinnStutzenstein/baseComponent
Cleanup optional parameter from BaseComponent
2019-03-12 12:41:09 +01:00
FinnStutzenstein
e6ec164fe9 Fixed redirection on login subpages (fixed #4474) 2019-03-12 12:01:05 +01:00
Emanuel Schütze
b30340b72f
Merge pull request #4497 from tsiegleauq/motionslides-linenumber-height
Fix motion slide line number alignment
2019-03-11 14:25:01 +01:00
Sean
35b27b967f Fix motion line number alignment 2019-03-11 13:56:25 +01:00
FinnStutzenstein
eb4537c1bf rework login system (again) 2019-03-11 13:45:17 +01:00
Emanuel Schütze
e13a849c19
Merge pull request #4498 from tsiegleauq/fix-path-matching
Fix path matching
2019-03-11 13:23:03 +01:00
Sean
245f3a5a27 Fix path matching
Fixed an error where navigation to not-lazy-loaded was prevented by full
path-matching.
Was preventing the sites for Search, Legal Notice and PP to show up
2019-03-11 12:33:55 +01:00
Emanuel Schütze
5139fe8365 Updated tranlstions 2019-03-11 12:28:34 +01:00
Emanuel Schütze
d251bd15e6
Merge pull request #4492 from tsiegleauq/history-filter
Fix history history filter for null
2019-03-11 12:25:37 +01:00
Emanuel Schütze
8ce8286ea2
Merge pull request #4494 from tsiegleauq/agenda-filter-opendone
Fix agenda status filter
2019-03-11 12:23:24 +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
Sean
8ca1a4256c Fix agenda status filter
Fixes an issue where the status filter in the agenda list did not do
nothing
2019-03-11 11:04:29 +01:00
FinnStutzenstein
64eab79d3b Cleanup optionalparameter from BaseComponent 2019-03-11 10:49:57 +01:00
Sean
4e62e9253e Fix history history filter for null
Fixes an issue where the history filter was throwing an error
if there were deleted objectsy
2019-03-11 10:29:12 +01:00
Finn Stutzenstein
d10dfb0915
Merge pull request #4469 from MaximilianKrambach/speakertime
clarifying duration service usage
2019-03-11 08:07:41 +01:00
Emanuel Schütze
0419ea629f
Merge pull request #4487 from CatoTH/OS3-Bugfix-Amendment-Status-Handling
Bugfix: Amendment statuses
2019-03-09 23:14:29 +01:00
Tobias Hößl
6b685924d9 Bugfix: Amendment statuses 2019-03-09 22:48:21 +01:00
Emanuel Schütze
1ecc7f4baa
Merge pull request #4485 from tsiegleauq/user-detail-template-fixes
User detail template fixes
2019-03-09 22:06:15 +01:00
Emanuel Schütze
f4b798d6a2
Merge pull request #4479 from FinnStutzenstein/losSpeakerCount
(current) list of speakers: show amount of waiting speakers
2019-03-09 21:54:59 +01:00
Emanuel Schütze
cee7c39c7d
Merge pull request #4481 from tsiegleauq/speaker-list-perms
Prevent drag and final versions without perms
2019-03-09 21:49:08 +01:00
Emanuel Schütze
a26c44ca73
Merge pull request #4483 from tsiegleauq/motion-block-perms
Motion block permission fixes
2019-03-09 21:41:12 +01:00
Sean Engelhardt
6acecccc6e Motion block permission fixes
Adds fixes to motion block permission checks.
Users with "Can See motion"
Can see motion blocks in list view

The menu-column in motion blocks list will be completely hidden
without "Motion Can Manage" permissions

In motion block list view, the motion will be displayed with
identifier rather than just the title
2019-03-09 21:22:56 +01:00
Emanuel Schütze
fc7a3a7f51
Merge pull request #4486 from tsiegleauq/amendment-wizzard-fixes
Fix amendment creation
2019-03-08 20:56:43 +01:00
Emanuel Schütze
5e7c604c4b
Merge pull request #4480 from FinnStutzenstein/sortMotionBlocksOnSlide
Sort motions on the motion block slide
2019-03-08 20:49:18 +01:00
Sean Engelhardt
07d3ea4c25 Fix amendment creation
Categories and blocks not appear after (paragraph based) amendment
creation.
Reason for amendments is now required if the config was set
accordingly
2019-03-08 16:45:45 +01:00
Emanuel Schütze
07c723a7dc
Merge pull request #4475 from FinnStutzenstein/addTextDecorationToHtmlWhitelist
Add text-decoration to bleach whitelist
2019-03-08 16:19:32 +01:00
FinnStutzenstein
d90e88fa53 Sort motions on the motion block slide 2019-03-08 16:16:05 +01:00
FinnStutzenstein
66ebdc4f8a Add text-decoration to bleach whitelist, fix tinymce toolbar 2019-03-08 15:11:55 +01:00
Sean Engelhardt
62e3256c54 User detail template fixes
Adds a new template to user detail, to show user information in multiple
lines

Also adds a new feature to the headbar. Long titles (over title slot) will
break using ellipsis
2019-03-08 14:51:48 +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
Emanuel Schütze
40e5ea0a1d
Merge pull request #4473 from FinnStutzenstein/themeInLoginData
Added theme to login data
2019-03-08 12:01:32 +01:00
Sean Engelhardt
985fe9cc8b Prevent drag and final versions without perms
Fixes an issue where users without manage rights
were able to use the drag and drop feature of the
list of speakers.
Also hides "modified final version" prints without
sufficient permissions.

Alters OSPerms to support "and" operators,
so "perm" and "other condition" is now possible
2019-03-08 11:53:25 +01:00
FinnStutzenstein
f60e66c1a8 (current) list of speakers: show amount of waiting speakers 2019-03-08 11:15:53 +01:00
Sean Engelhardt
6a421f8f6b Add more motion modules
Seperates the previously large motion module in various smaller
and very small feature modules.
Motion Detail, and all direct dependancies to Motion Detail
is now an own module.
This significantly increases the response time of openslides 3
2019-03-08 10:43:54 +01:00
FinnStutzenstein
a1018e62e2 Added theme to login data 2019-03-08 09:19:05 +01:00
Emanuel Schütze
70191ce455
Merge pull request #4470 from FinnStutzenstein/motionSLideRecommendationFix
Replace recommendation on client and server for motion slide
2019-03-07 16:55:53 +01:00
Maximilian Krambach
9cdc909d25 fix legalnotice and privacy z-index issue 2019-03-07 15:06:41 +01:00
FinnStutzenstein
ed4b1c80f1 Replace recommendation on client and server for motion slide 2019-03-07 08:52:33 +01:00
Maximilian Krambach
e05874cf6f clarifying duration service usage 2019-03-06 16:54:00 +01:00
Maximilian Krambach
21893f00b8 disable some unnecessary ripples in motion detail view 2019-03-06 15:35:27 +01:00
Jochen Saalfeld
dcccfb41b5
Merge pull request #4462 from FinnStutzenstein/fixIsStable
Fixed SW registration issues due to pending mikrotasks
2019-03-06 15:09:43 +01:00
Maximilian Krambach
0ddded4a86 csv example export refactor
- make csv example data respect config separators
- refactor at a more central place
2019-03-06 11:03:51 +01:00
Emanuel Schütze
ad653de915
Merge pull request #4450 from FinnStutzenstein/offlineOperator
offline operator
2019-03-06 09:24:52 +01:00
FinnStutzenstein
b0d4851651 Fix inSomeGroups for the superadmin, delete empty comments 2019-03-06 08:35:00 +01:00
FinnStutzenstein
e1fcda7890 Fixed SW registration issues due to pending mikrotasks 2019-03-06 08:15:19 +01:00
FinnStutzenstein
0c6a7b9c4b offline operator 2019-03-06 07:50:54 +01:00