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
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
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
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
Adds swipe gestures into motion detail, to nacigate them easily on mobile devices
Animations are left out for now, since they are complex to develop.
Alters the navigation gesture slightly to only work from the edge of a given screen
Fixes an error where the back arrow in the motion block detail was missing
Adds a prompt before deletion of Change Recommendation in motion details
Adds timestamp localisation for history mode
Prevents the usage of: "sortViewUsersByConfig" of the userRepository
since it's an incredibe heavy operation for ~500 (real) users.
I would advice to sort the datastore rather than the lists
in the view to prevent unnecessary sorting overhead
Added an anchor column, so the user can open a separate tab.
prettified
Changed name of variable
Resolves answer from pull-request
- Moved the style for the anchor columns to `styles.scss`
- Set the anchor column to the last place in the array
Fixes#4217 Adds notifications
- Created a class to define notification-objects, which should notify other persons editing the same motion.
- Added functions to send notifications, listen to them and unsubscribing them.
- Added a warning-function to the `base-view.ts`, which raises the snack bar with the given message and has no duration.
Fixes#4217
- Removed unnecessary lines of code.
- Fixed merge.
Prettified
- Added a random number to identify different user.
- Now the user can sign in as the same user, but still receive a message if multiple people edit the same motion.
Fix the detail of motions
- If the user does not click to edit, then the `editNotificationSubscription` was not set.
Refactors the media file upload component into
a shared component to be used in both normal pages
and dialogs.
A dialog was addes into the media file "edit" view
to upload and set attachments on the fly.