Commit Graph

1090 Commits

Author SHA1 Message Date
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
Emanuel Schütze
a61a655715 More slide style improvements 2019-04-25 22:02:36 +02:00
Maximilian Krambach
1b1499a660 Assignment slides 2019-04-25 17:12:21 +02:00
Emanuel Schütze
6800f99ef0
Merge pull request #4624 from tsiegleauq/angular-7.2.14
Migrate to Angular version 7.2.14
2019-04-25 16:44:53 +02:00
Sean Engelhardt
03d935d633 Migrate to Angular version 7.2.14
New version of TS-Lint
New version of ngx-file-drop with breaking changes
npm audits
Removed Terser, should work out of the box again
2019-04-25 13:15:24 +02:00
Sean Engelhardt
98dec23b2f Add virtual scroling to statute list
"experimental" Virtual scrolling on the list of statutes.
It should load and behave way faster on huge amounts of data.
2019-04-25 12:57:11 +02:00
Emanuel Schütze
45609fadc0
Merge pull request #4610 from MaximilianKrambach/assignmentMobile
Assignment mobile
2019-04-25 10:42:25 +02:00
Emanuel Schütze
e4f8346e49
Merge pull request #4626 from CatoTH/improve-inserted-lines
Bugfix: better detection for inserted paragraphs
2019-04-25 10:38:08 +02:00
Finn Stutzenstein
0c4076fbd7
Merge pull request #4616 from FinnStutzenstein/basicAssignmentSlide
Basic assignment slide
2019-04-25 10:11:23 +02:00
Maximilian Krambach
4b6e314e45 basic display for mobile view 2019-04-25 09:01:49 +02:00
Tobias Hößl
cbcc01d8e1
Bugfix: better detection for inserted paragraphs 2019-04-24 22:43:57 +02:00
Maximilian Krambach
847173cda3 fix assignment calculations 2019-04-24 16:49:54 +02:00
Maximilian Krambach
e77fdc6707 copy parent's tags to a new amendment 2019-04-24 16:00:17 +02:00
Emanuel Schütze
c04c59b666
Merge pull request #4614 from FinnStutzenstein/verboseErrorOnMissingConfigs
verbose error message on missing configs
2019-04-24 15:23:53 +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
Sean
d4ac7441fa
Merge pull request #4606 from GabrielInTheWorld/motion-quick-dialog
Implements a dialog to edit meta information of one motion
2019-04-24 13:55:18 +02:00
GabrielMeyer
69b6aec288 Implements a dialog to edit meta information of one motion 2019-04-24 13:36:17 +02:00
Finn Stutzenstein
7a00f26537
Merge pull request #4618 from GabrielInTheWorld/tree-sort-agenda
Fixes showing the arrow to expand.
2019-04-24 10:38:51 +02:00
FinnStutzenstein
55dd2d1d6f Basic assignment and poll slide 2019-04-24 10:34:44 +02:00
Maximilian Krambach
18a3ea28b9 remove distracting empty mat-chip 2019-04-23 18:22:35 +02:00
GabrielMeyer
c87c41ac56 Fixes showing the arrow to expand. 2019-04-23 16:35:41 +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
Maximilian Krambach
9cdeaf9245 add tag display in several views
- call list sorting
- category sorting
- motion list
2019-04-18 12:46:07 +02:00
Maximilian Krambach
4472ba9690 personal note pdf only if personal note is present 2019-04-18 11:37:49 +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
Sean
bf525cf852
Merge pull request #4575 from GabrielInTheWorld/tree-sort-agenda
Implements filtering the `sorting-tree.component`
2019-04-17 13:14:57 +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
637c0fb78e
Merge pull request #4601 from MaximilianKrambach/callListPDF
call list improvements
2019-04-17 10:38:22 +02:00
Sean
d2260b02a7
Merge pull request #4598 from GabrielInTheWorld/package-crawler
Implements a crawler to find all directly used packages
2019-04-16 14:50:24 +02:00
Sean
b581c350c6
Merge pull request #4584 from GabrielInTheWorld/form-validation-new
Validates creating a new user
2019-04-16 14:49:51 +02:00
GabrielMeyer
6de79fc96a Implements a crawler to find all directly used packages
- Holds a 'default' `README.md` with the default content.
- Writes down all found packages with links to their repositories.
2019-04-16 14:20:59 +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
5f35fe8460 call list improvements (WIP)
- add extended recommendation label
- remove motion blocks, use the column for 'notes'
- don't break up tables
2019-04-16 12:00:45 +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
72c3f27dba
Merge pull request #4600 from MaximilianKrambach/importfix
fix motion import oddity
2019-04-15 16:10:40 +02:00
Sean Engelhardt
8a40ee3cbc Fix exporting of selected motions
Fixes an issue where the export button has been put in the
wrong view
2019-04-15 15:28:03 +02:00
GabrielMeyer
b7799c2337 Validates creating a new user
- If a new user is created and neither the username, first name nor last name is set, a hint is displayed and the user is still in the creating mode.
- Also prevents that the client queries a user that does not exist.
2019-04-15 15:07:23 +02:00
Maximilian Krambach
7d9ea4e55a multiselect motion export 2019-04-15 13:24:43 +02:00
Maximilian Krambach
48593acc25 disable multiselect options if nothing selected 2019-04-15 13:24:42 +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
Sean
2bd9172006
Merge pull request #4591 from MaximilianKrambach/tagFilter
Adds a 'tag' filter to motion lists
2019-04-15 12:30:07 +02:00
Sean
1bd9f09dd6
Merge pull request #4592 from MaximilianKrambach/manyStars
bulk set/unset favorite status
2019-04-15 12:24:46 +02:00
FinnStutzenstein
ce216204f1 Updates the cache on comment section updates. Implements missing client
code.
2019-04-15 10:54:34 +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
e7624c0d1e
Merge pull request #4585 from FinnStutzenstein/projectorListCleanup
Put projector cards in own components in the listview
2019-04-15 08:10:01 +02:00
Maximilian Krambach
b5a6669359 Adds a 'tag' filter to motion lists 2019-04-12 11:50:32 +02:00
FinnStutzenstein
f44590b519 Put projector cards in own components in the listview 2019-04-12 07:15:22 +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
Maximilian Krambach
a2b75194a1 don't autoupdate detail forms during editing 2019-04-11 16:06:05 +02:00
Emanuel Schütze
c0564e0f5e
Merge pull request #4583 from FinnStutzenstein/fixProjectorSerializer
Protect element fields from the projector model. Fixes creation of
2019-04-09 21:19:26 +02:00
FinnStutzenstein
5a1f638f8d Protect element fields from the projector model. Fixes creation of
projectors.
2019-04-09 17:15:16 +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
Finn Stutzenstein
fc5f6f4e54
Merge pull request #4521 from normanjaeckel/RefactorStateAccessLevel
Refactored state access level by renaming state field to restriction.
2019-04-08 15:28:21 +02:00
FinnStutzenstein
23264849c9 client and small changes in the serializer 2019-04-08 14:56:32 +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
028c358a7f
Merge pull request #4567 from MaximilianKrambach/csvExportLabeledRecommend
export recommendations with extra labels
2019-04-05 13:17:42 +02:00
Emanuel Schütze
4ca8fccbea
Merge pull request #4571 from tsiegleauq/motion-list-show-id
Show sequential number in motion list
2019-04-05 13:11:06 +02:00
Maximilian Krambach
e3c673b55e export recommendations with extra labels 2019-04-05 13:08:45 +02:00
Sean Engelhardt
1dd8562dfc Show sequential number in motion list
Shows the sequential number (ID) in motion list
2019-04-05 11:48:48 +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
Emanuel Schütze
df915aad6d
Merge pull request #4561 from GabrielInTheWorld/administration
Checks the permissions
2019-04-04 23:02:22 +02:00
Emanuel Schütze
bb98e9b120
Merge pull request #4569 from tsiegleauq/list-view-page-size
Enlarge page size
2019-04-04 22:47:38 +02:00
Sean Engelhardt
995fa7af32 Motion Amendments into PDF
Support Amendments of initial motions in PDF
2019-04-04 13:22:12 +02:00
Sean Engelhardt
8236d1bf5b Enlarge page size
Enlarges the page size of all list views.
Also move the declaration of the page size into the base list view component
2019-04-04 12:10:45 +02:00
GabrielMeyer
4cdd4b3c34 Checks the permissions
- If the user has not the permissions to edit mediafiles, than he cannot edit or delete any files.
2019-04-04 11:08:54 +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
Emanuel Schütze
8dfeaa5b09
Merge pull request #4547 from tsiegleauq/projector-messages-rework
Add better projector messages
2019-04-03 09:05:11 +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
Sean Engelhardt
80dbe60749 Add better projector messages
Adds messages like in the mock ups
2019-04-02 12:31:21 +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
Emanuel Schütze
8c26f5286b Redesign offline indicator on projector 2019-04-02 11:32:34 +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
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
Emanuel Schütze
118b853a91
Merge pull request #4458 from tsiegleauq/foce-service-worker
Add Service Work(e|a)r(round)
2019-03-05 15:03:40 +01:00
Emanuel Schütze
1fecf941c8
Merge pull request #4459 from FinnStutzenstein/fixUpdatingMotions
set allow_null for integerfields, when they are not required
2019-03-05 15:02:26 +01:00
FinnStutzenstein
20e2639323 set allow_null for integerfields, when they are not required 2019-03-05 14:23:01 +01:00
Sean Engelhardt
3e4dffd7a4 Add Service Work(e|a)r(round)
uses the promise in returned by .bootstrapModule
to register the serviceworker if required.
Seems to work reliable, even in unstable environments.
Requires production mode to comprehend.
(at least ng build --prod)
2019-03-05 14:06:36 +01:00
GabrielMeyer
85f9897f42 Fixes clicking on the group-cell to change settings
Now, the user can click on the whole group-cell to change some settings like groups, gender and member-number.
2019-03-05 12:43:53 +01:00
Emanuel Schütze
4349f2eb11
Merge pull request #4449 from MaximilianKrambach/tinyMCE_blur
change config update behavior for editors
2019-03-04 22:16:27 +01:00
Emanuel Schütze
d081b90ff1
Merge pull request #4451 from FinnStutzenstein/moreSearch
Search in related objects
2019-03-04 21:56:37 +01:00
Emanuel Schütze
d071bb1d47
Merge pull request #4454 from emanuelschuetze/motion-detail-layout-fix
Reduce height of controls to fix linenumbering layout.
2019-03-04 21:38:56 +01:00
Emanuel Schütze
176fb9943d Reduce height of controls to fix linenumbering layout.
in motion detail view with outside numbering
2019-03-04 15:27:19 +01:00
Emanuel Schütze
22783f876b Fixed linenumbering error on building motion pdf (checks if element is null). 2019-03-04 15:02:06 +01:00
FinnStutzenstein
9198058bd7 Search in related objects 2019-03-04 13:36:34 +01:00
Maximilian Krambach
cc5e38faad change config update behavior for editors
tinyMCE editors will not update after a timeout, but when focus changes
or the editor is destroyed
2019-03-04 11:50:07 +01:00
Emanuel Schütze
ff410a4954 Minor projector css/wording changes 2019-03-01 14:52:29 +01:00
Emanuel Schütze
40de87c5b4
Merge pull request #4444 from FinnStutzenstein/stableElementsCleanup
clean up stable projectorelements, if they have an error
2019-03-01 14:03:19 +01:00
Emanuel Schütze
6e4a110116 List of speakers template 2019-03-01 13:17:30 +01:00
FinnStutzenstein
d0e6681aad One global clos reference. More projector buttons for the clos view 2019-03-01 13:17:26 +01:00
FinnStutzenstein
43f084438d clean up stable projectorelements, if they have an error 2019-03-01 13:03:55 +01:00
FinnStutzenstein
d3773bc8e8 set the clock color to the header color of the projector 2019-03-01 12:06:46 +01:00
Finn Stutzenstein
69fe4632f4
Merge pull request #4419 from MaximilianKrambach/countdown
countdown: new title field, description made optional
2019-03-01 12:02:50 +01:00
Maximilian Krambach
44d16eb244 countdown: new title field, description optional 2019-03-01 11:22:09 +01:00
Maximilian Krambach
b704a3b09f consolidate state css colors 2019-03-01 11:11:13 +01:00
Emanuel Schütze
08e076f4a4
Merge pull request #4438 from FinnStutzenstein/addItemNumberToTopicTitle
Add item number to topic title
2019-03-01 10:50:53 +01:00
FinnStutzenstein
3f77cc7b24 Add item number to topic title, hide clos slide for one projector 2019-03-01 10:26:52 +01:00
FinnStutzenstein
384597afb9 motion projection mode is optional and sensitive for the config 2019-03-01 10:08:57 +01:00
Emanuel Schütze
4de14f4100 Updated translations 2019-02-28 22:46:38 +01:00
Emanuel Schütze
2257991aba Projector detail template improvements 2019-02-28 22:15:07 +01:00
Sean Engelhardt
587a0fe443 Clean projector detail interface
Alters the projector detail interface to provide better usability.
Alters the dragging slightly to have a nice preview and smoother
transitions.
2019-02-28 22:14:33 +01:00
Maximilian Krambach
4e3948a24d fix unsetting some values
- Category prefix
- category in motion multiSelect
2019-02-28 19:06:32 +01:00
Emanuel Schütze
0c1abe561b
Merge pull request #4433 from tsiegleauq/speaker-repo
Speaker repo
2019-02-28 16:21:14 +01:00
Emanuel Schütze
8c68e93596
Merge pull request #4434 from MaximilianKrambach/stopProopagation
fix click events in user + mediafile views
2019-02-28 16:18:10 +01:00
Maximilian Krambach
feca9e4a18 fix click events in user + mediafile views
stopped propagation on soome buttons and menus
2019-02-28 16:05:28 +01:00
Emanuel Schütze
51026286cb
Merge pull request #4429 from FinnStutzenstein/clearRepositories
clear repositories and extra DS clear on logout
2019-02-28 15:59:12 +01:00
Emanuel Schütze
24008da0df
Merge pull request #4430 from FinnStutzenstein/fixSlideMargin
Fix slide container margin
2019-02-28 15:36:11 +01:00
FinnStutzenstein
7dee5acc7e Fix slide container margin 2019-02-28 15:23:43 +01:00
Sean Engelhardt
03c590c66d Speaker repo
Add an own repository service to manage speakers
2019-02-28 14:26:31 +01:00
Maximilian Krambach
036ce4f02c permission for admins to reset passwords 2019-02-28 11:29:58 +01:00
FinnStutzenstein
3432c66d4d clear repositories and extra DS clear on logout 2019-02-28 11:04:19 +01:00
Emanuel Schütze
9e2d42f9f4
Merge pull request #4426 from FinnStutzenstein/addElementtoPreview
Add elements to preview button
2019-02-28 10:45:18 +01:00
FinnStutzenstein
80e236e5b0 Add elements to preview button 2019-02-28 09:37:30 +01:00
FinnStutzenstein
2e0353618d Revive the global search.
Fixed leftovers from the viewModel restructure. Repositories always have a verboseName now. Does not implement new logic to follow related models (e.g. motions->submitters).
2019-02-28 08:56:03 +01:00
Emanuel Schütze
11b6a2c831 Updated translations 2019-02-27 23:06:29 +01:00
Emanuel Schütze
9bb0efe57f
Merge pull request #4418 from tsiegleauq/projector-font-color
Add custom h1 color to slides
2019-02-27 22:28:00 +01:00
Emanuel Schütze
367df3b095
Merge pull request #4409 from FinnStutzenstein/motionBlockSlide
Add referenced motions by the server (fixes #4383)
2019-02-27 22:22:11 +01:00
Emanuel Schütze
1968a83123
Merge pull request #4417 from MaximilianKrambach/agendaDetail
fix agenda editing button
2019-02-27 22:18:44 +01:00
Maximilian Krambach
aa33bf37a8 fix assign url in motion- moveToItem 2019-02-27 17:10:27 +01:00
Sean Engelhardt
90c131a6aa Add custom h1 color to slides
Uses css-variabled and dom manipulation to change
the projectors h1 color on the fly.
Will have issues with multiple projectors nested in the same view
2019-02-27 15:57:18 +01:00
Maximilian Krambach
4cf754946c fix agenda editing button 2019-02-27 14:56:00 +01:00
Emanuel Schütze
1ce6804a43
Merge pull request #4416 from MaximilianKrambach/categoryHotFix
category sort view hotfix
2019-02-27 14:30:36 +01:00
Maximilian Krambach
8677667a10 hotfix 2019-02-27 13:47:38 +01:00
Maximilian Krambach
308b593763 check for invalid motions on import 2019-02-27 11:24:04 +01:00
Maximilian Krambach
e4c79fd371 marking and repairing translations 2019-02-27 10:31:45 +01:00
FinnStutzenstein
4cde0431ab Add referenced motions by the server (fixes #4383) 2019-02-27 07:35:52 +01:00
Emanuel Schütze
edf7a06f72 Updated translations 2019-02-26 23:01:17 +01:00
Emanuel Schütze
23c1857fa6
Merge pull request #4389 from FinnStutzenstein/chyron
current speaker chyron
2019-02-26 22:36:10 +01:00
Emanuel Schütze
c3b3b35cf0 Chyron template design 2019-02-26 22:21:20 +01:00
Maximilian Krambach
be83d9b0aa bulk import of users 2019-02-26 22:05:38 +01:00
FinnStutzenstein
f039293c09 current speaker chyron 2019-02-26 21:56:59 +01:00
Emanuel Schütze
fc10ee168c
Merge pull request #4400 from MaximilianKrambach/previews
refactor import  preview strings
2019-02-26 21:47:08 +01:00
Emanuel Schütze
4186d21deb
Merge pull request #4406 from FinnStutzenstein/closSlide
clos slide content
2019-02-26 17:34:18 +01:00
Emanuel Schütze
d94ed59670
Merge pull request #4403 from tsiegleauq/change-font
Add custom fonts for projector
2019-02-26 17:20:02 +01:00
Emanuel Schütze
0dd2dcc352
Merge pull request #4410 from tsiegleauq/more-swipe-gestures
Add swipe gestures into motion detail
2019-02-26 17:13:23 +01:00
Emanuel Schütze
17bd6d71bd Template work for slide components. 2019-02-26 17:10:39 +01:00
FinnStutzenstein
7be436594e clos slide content 2019-02-26 17:10:33 +01:00
Sean Engelhardt
0ceddd2662 Add swipe gestures into motion detail
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
2019-02-26 15:30:16 +01:00
Emanuel Schütze
56779e0d8f
Merge pull request #4404 from MaximilianKrambach/multiSelectLine
normalize multiSelect actions
2019-02-26 14:48:50 +01:00
FinnStutzenstein
64139992b4 Hide the offline message on the projector 2019-02-26 14:06:10 +01:00
Maximilian Krambach
570bc10766 fix projector on users 2019-02-26 13:20:40 +01:00
Maximilian Krambach
93260aaf29 refactor import preview strings 2019-02-26 13:12:40 +01:00
Sean Engelhardt
0053bb56a2 Add custom fonts (WIP)
Pretty much angular magic
2019-02-26 11:38:30 +01:00
Maximilian Krambach
5cedf6eb58 normalize multiSelect actions 2019-02-26 11:06:42 +01:00
Emanuel Schütze
798af8c5ab
Merge pull request #4402 from emanuelschuetze/fixes-20190225
Fixes
2019-02-25 18:40:44 +01:00
Emanuel Schütze
4d62d99099 Fixes
- use always color black on projector, also in dark mode
- show border for projector preview
- Fix projector logo margin by using img instead of os-logo
- Use also 'username' in invitation email subject
2019-02-25 18:26:27 +01:00
Maximilian Krambach
22d46f4774 show save feedback on more config fields 2019-02-25 17:32:58 +01:00
Emanuel Schütze
eb78c694fc
Merge pull request #4396 from emanuelschuetze/isProjectable
Fixed error message that viewmodel is not projectable.
2019-02-25 15:47:06 +01:00
Emanuel Schütze
ff82fceaa9 Fixed error message that viewmodel is not projectable. 2019-02-25 15:34:12 +01:00
Sean Engelhardt
b9923201e4 Add small fixes
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
2019-02-25 14:19:57 +01:00
Emanuel Schütze
9fb25c8d60 Updated translations 2019-02-24 22:08:28 +01:00
Emanuel Schütze
3073844039
Merge pull request #4392 from emanuelschuetze/ui-improvments
UI improvments
2019-02-24 21:40:56 +01:00
Emanuel Schütze
a077ca85f5 UI improvments
- Use lanaguage files for tinymce.
- Fixed user import error.
- Improve colors for default/dark theme.
- Fixed missing translation.
2019-02-24 20:07:19 +01:00
Emanuel Schütze
15012f4a8b
Merge pull request #4390 from tsiegleauq/hotfix-sort-performance
Disable various expensive sorting functions
2019-02-23 14:24:44 +01:00
Sean Engelhardt
3785545a35 Disable various expensive sorting functions
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
2019-02-22 17:17:29 +01:00
Emanuel Schütze
3e2b201ee2
Merge pull request #4387 from GabrielInTheWorld/change-dark-theme
Changes the primary palette for dark theme
2019-02-22 17:02:02 +01:00
GabrielMeyer
f989be36ad Changes the primary palette for dark theme
- Added a custom palette (`#c31c23`)
- Set the new primary palette for dark theme

Changes some styles depending on theme

- Removed hard-coded colors
- Set color depending on theme

Prettified
2019-02-22 16:27:42 +01:00
Emanuel Schütze
ecf16d1400
Merge pull request #4388 from GabrielInTheWorld/correct-rendering-text
Adds sanitizer to render text correctly
2019-02-22 14:08:22 +01:00
GabrielMeyer
efe8f3e862 Adds sanitizer to render text correctly
Sanitized the text, which is displayed, to show formatting like
centering, bold etc.

Sanitized the text for projectors
2019-02-22 12:12:08 +01:00
Emanuel Schütze
6d28374c9f
Merge pull request #4385 from GabrielInTheWorld/opening-tab-motion-list
Added anchor column
2019-02-22 12:10:48 +01:00
FinnStutzenstein
63f1802d7a (Current) list of speaker slide 2019-02-22 10:40:28 +01:00
Sean
497a3ec71d
Merge pull request #4386 from tsiegleauq/preload-modules
Preloads modules on site component
2019-02-22 10:19:56 +01:00
Sean Engelhardt
3329932d27 Preloads modules on site component
Adds module preloading on site modules.
2019-02-22 10:04:50 +01:00
GabrielMeyer
1694daaa9c Added anchor column
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
2019-02-22 09:29:10 +01:00
GabrielMeyer
80cb8051f6 Adds notifications if multiple users want to edit the same motion.
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.
2019-02-21 22:37:49 +01:00
Emanuel Schütze
4c4a2c600b
Merge pull request #4384 from tsiegleauq/mediafiles-on-fly
Add mediafiles upload from motion form
2019-02-21 22:16:43 +01:00
FinnStutzenstein
3f58538afb Agenda item list slide 2019-02-21 21:56:40 +01:00
Sean Engelhardt
46a229bb67 Add mediafiles upload from motion form
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.
2019-02-21 16:48:19 +01:00
Emanuel Schütze
80a061db38 Motion block slide template 2019-02-21 15:06:14 +01:00
FinnStutzenstein
2abe71313c Motion block slide 2019-02-21 14:01:02 +01:00
Emanuel Schütze
650054dfc9
Merge pull request #4373 from normanjaeckel/HistoryPermission
Added new permission to see the history.
2019-02-21 13:07:07 +01:00
Emanuel Schütze
e97c308747
Merge pull request #4352 from FinnStutzenstein/losSlide
List of speakers slide
2019-02-21 13:00:02 +01:00
Emanuel Schütze
c799c3bb6b List of speakers template 2019-02-21 12:34:45 +01:00
FinnStutzenstein
7ef36e93c6 List of speakers slide 2019-02-21 12:34:41 +01:00
Sean Engelhardt
a86af342eb Add history permission into client
Requires the permission "core.can_see_history" to see the history in the navigation.
Disables navigating in the timeline and clearing the history for everyone than than the super admin
2019-02-21 11:48:03 +01:00
Emanuel Schütze
f4f8b8422f
Merge pull request #4376 from tsiegleauq/pdf-list-fixes
Adds extra cases for PDF CR lists
2019-02-21 09:54:29 +01:00
Emanuel Schütze
5a5b82316a
Merge pull request #4378 from tsiegleauq/pdf-footer-fix
Fix PDF-Footer logos
2019-02-21 09:18:59 +01:00
Emanuel Schütze
3bcb3de249
Merge pull request #4375 from tsiegleauq/pdf-motion-tag
Add tags to motion pdf
2019-02-21 09:12:29 +01:00
Sean Engelhardt
53ea73ccde Add "No." as translateable
To display user numbers, No. is now translateable
2019-02-20 16:17:05 +01:00
Sean Engelhardt
da3e8dc355 Fix PDF-Footer logos
Adds a routine to extract the pdf footer images
before the footer was generated
2019-02-20 15:02:30 +01:00
Sean Engelhardt
8f83fc1bd5 Update to angular 7.2.5
Adds new update to angular 7.2.5 including fresh npm packages.
vulnerabilities currently concern PDF and dev-packages only
2019-02-20 13:13:34 +01:00
Sean Engelhardt
7f86f3af64 Adds extra cases for PDF CR lists
Adds a new function to detect "Fake lists", in PDF documents
and treats them accordingly.
Enhances the Layout of PDFs with CR-Mode UL/OL lists.
2019-02-20 11:43:22 +01:00
Sean Engelhardt
f2a4be702a Add tags to motion pdf
Adds tags to motion pdf. Adjusts the export dialog to also support selecting and deselecting
tags. Increases the target with of the export dialog to 1100px so the tags also fit there.
Not too pretty, yet effective
2019-02-20 10:11:26 +01:00
Emanuel Schütze
29ba4a61e6 Updated translations 2019-02-19 21:32:24 +01:00
Emanuel Schütze
26b1c6b74d
Merge pull request #4371 from tsiegleauq/os3-pdf-h-padding
Add margin to H-tags in PDF
2019-02-19 17:40:04 +01:00
Sean Engelhardt
ee3fb7d7ef Add margin to H-tags in PDF
Margins to H tags and some motion HTML-PDF refinement
2019-02-19 17:02:40 +01:00
Maximilian Krambach
4c8da7b04d minor improvements
- add a 'lock' symbol to hidden files
- default disable (and rename) hidden filter status
- limit display of workflow states for restricted users
- remove supporter sorting
- mark other strings for translation
- fix new workflow id for statute amendments
- remove csv file type check (on Windows file type is always empty)
2019-02-19 13:05:51 +01:00
Emanuel Schütze
f09a39a3c3
Merge pull request #4366 from emanuelschuetze/fixes
several fixes and improvements
2019-02-18 17:25:54 +01:00
Emanuel Schütze
c9c4566c08 several fixes and improvements
- Add projector logo/headerimage
- Fixed opening multiselect action menu for users.
- Used defined toolbar color for multiselect mode.
- (server) Added check for 'request.data._mutable = True' to edit user
  profile as normal user.
2019-02-18 16:40:46 +01:00
Emanuel Schütze
6c8fbcfc07
Merge pull request #4365 from MaximilianKrambach/hideUserList
user detail page display permission update
2019-02-18 15:58:40 +01:00
Maximilian Krambach
567a53db03 user detail page display permission update 2019-02-18 15:38:29 +01:00
Sean Engelhardt
57be0a5bea Force DataSource to refresh
Fixed a bug where data in MatTableDataStore was not updating.
Also:
Cleaned redundant list view sorting and filtering functions
2019-02-18 14:23:33 +01:00
Emanuel Schütze
cc45525678
Merge pull request #4355 from MaximilianKrambach/amendmentbuttons
placement of paragraph amendment buttons (fixes #4345)
2019-02-18 09:45:48 +01:00
Emanuel Schütze
1920eb18c7
Merge pull request #4361 from CatoTH/OS3-Diff-Bugfix-With-Newlines
Diff-Bugfix: Newlines and split paragraphs
2019-02-18 09:40:04 +01:00
Emanuel Schütze
69539cacbc
Merge pull request #4246 from CatoTH/OS3-Slides-LineNumbering-Diff
Initial support for line numbering and CR in Projector
2019-02-18 09:19:16 +01:00
Maximilian Krambach
24139048c6 placement of paragraph amendment buttons (fixes #4345) 2019-02-18 09:07:40 +01:00
Tobias Hößl
0e6bdf9fbc
Diff-Bugfix: Newlines and split paragraphs 2019-02-17 20:28:19 +01:00
Maximilian Krambach
2ba9aca7ac Activate polyfills for supporting IE11 and Edge 2019-02-15 22:26:54 +01:00
FinnStutzenstein
35cd49e4fe read crmode from the projector element 2019-02-15 14:56:41 +01:00
Tobias Hößl
453fedbc3e Initial support for line numbering and change recommendations in Projector
Read projector settings from the config
Preamble, styling fixes
Styling fixes
Show amendments inside of the motion view
Amendment view
Projector and statute paragraphs
Bugfix: Imports
2019-02-15 14:56:40 +01:00
Emanuel Schütze
a3f9d46a6d
Merge pull request #4349 from FinnStutzenstein/mediafileSlide
Basic mediafile slide
2019-02-15 14:55:55 +01:00
Emanuel Schütze
43c11168ac
Merge pull request #4354 from CatoTH/OS3-LineNumbering-Range-Bugfix
Bugfix: wrong line numbers in change recommendation dialog
2019-02-15 14:46:30 +01:00
FinnStutzenstein
d1508161d2 Basic mediafile slide 2019-02-15 14:41:56 +01:00
Emanuel Schütze
2b471bac2b
Merge pull request #4350 from MaximilianKrambach/minorTodos
fix baseFilter for comments
2019-02-15 14:15:18 +01:00
Emanuel Schütze
bdcaff2cce
Merge pull request #4353 from tsiegleauq/pdf-amendments
Add PDF for paragraph based amendments
2019-02-15 14:12:50 +01:00
Tobias Hößl
e9e8abeb0e
Bugfix: wrong line numbers in change recommendation dialog 2019-02-15 14:02:48 +01:00
Sean Engelhardt
d22ec6f34d Add PDF for paragraph based amendments
Also add some more pdf fixes
2019-02-15 13:42:01 +01:00
Maximilian Krambach
af0e85a956 fix baseFilter for comments 2019-02-15 13:06:09 +01:00
Finn Stutzenstein
9e794c4669
Merge pull request #4344 from FinnStutzenstein/countdowns
Countdown slide and controls
2019-02-15 12:37:23 +01:00
FinnStutzenstein
2801e28704 Countdown slide and controls 2019-02-15 12:21:23 +01:00
Emanuel Schütze
ff407468f0 Update translations 2019-02-14 22:17:52 +01:00
Emanuel Schütze
2499ee9058 UI improvements for motion detail/list view 2019-02-14 21:41:15 +01:00
Emanuel Schütze
4c6f907b8c
Merge pull request #4304 from MaximilianKrambach/pdfExportComments
export motion comments (pdf) and sequential numbers (pdf, csv)
2019-02-14 20:13:55 +01:00
Maximilian Krambach
6b58541079 pdf export options
- export comments as own pdf
- export comments as  part of an advanced motion pdf export,
- change sequential number export options for pdf and csv
2019-02-14 18:22:25 +01:00
Maximilian Krambach
3e598aec7e create motion amendment with fulltext or metainfo only 2019-02-14 17:10:50 +01:00
Emanuel Schütze
500b080b1c
Merge pull request #4331 from tsiegleauq/pdf-ul-ol
PDF UL OL with line numbers
2019-02-14 16:14:39 +01:00
Emanuel Schütze
9459e9d6e9
Merge pull request #4342 from MaximilianKrambach/quickfilters
agenda and motion list filters
2019-02-14 15:53:39 +01:00
Sean Engelhardt
5069371f5e PDF UL OL with line numbers
Add UL LI PDF line numbers
2019-02-14 15:29:00 +01:00
Emanuel Schütze
2df284c82e
Merge pull request #4343 from FinnStutzenstein/fixSubmitterIds
Fixed submitter ids name clash
2019-02-14 15:27:23 +01:00
Maximilian Krambach
ca2a6b33b2 angenda and motion list filters 2019-02-14 15:15:52 +01:00
Emanuel Schütze
aaa9157873
Merge pull request #4316 from tsiegleauq/remove-ngsubmit
Remove redundant submits
2019-02-14 15:06:28 +01:00
Sean Engelhardt
6a78d65dc3 Remove redundant Submits
Remove concurrent ngSubmit
Some cleanup and code alignment
2019-02-14 14:17:17 +01:00
Emanuel Schütze
f09b6f73d6
Merge pull request #4341 from FinnStutzenstein/cleanup2
Fixed error when leaving the settings too early
2019-02-14 14:13:08 +01:00
FinnStutzenstein
f0e6afb533 Fixed submitter ids name clash 2019-02-14 13:45:52 +01:00
Emanuel Schütze
34feac553b
Merge pull request #4338 from FinnStutzenstein/projector-message-slide
ProjectorMessageSlide and some renaming
2019-02-14 13:41:02 +01:00
Sean
530d522cec
Merge pull request #4325 from GabrielInTheWorld/feature-user-info-dialog
Feature for quick editing a user
2019-02-14 13:36:58 +01:00
FinnStutzenstein
8904472d23 Fixed error when leaving the settings too early 2019-02-14 13:30:21 +01:00
Emanuel Schütze
67fd5ee2c2
Merge pull request #4340 from FinnStutzenstein/fixMotionCommentSectionList
Fix comment section list
2019-02-14 13:29:05 +01:00