Commit Graph

428 Commits

Author SHA1 Message Date
Sean Engelhardt
13e1c01bb6 Add amendment list
Adds a new ListView to show all amendments.
The list view can be acessed from both the motion list and the motion detail list
2019-08-16 09:27:41 +02:00
Finn Stutzenstein
c641a5ba3e
Merge pull request #4917 from FinnStutzenstein/relationFix
Fixed two little issues with relations and reverse mapping
2019-08-15 13:29:02 +02:00
FinnStutzenstein
1d718dcb74 Fixed two little issues with relations and reverse mapping
- Reverse setup for normal autoupdates (no initial loading)
- reverse "set null" to be reflected to the mapping

Also fixed a bug with redis
2019-08-15 12:51:59 +02:00
Sean
7fa94ab942
Merge pull request #4919 from emanuelschuetze/fixes
Enhance meta-text-block layout and wording
2019-08-15 12:50:10 +02:00
Emanuel Schütze
8e38fbbccf Fixes
- fix filter and wording for new personal notes tile
- break long words in comment and personal note boxes
- remove h4 headings for comment and personal note boxes
2019-08-14 20:24:35 +02:00
GabrielMeyer
5106b9dc71 Improves the layout of motion-block-list
- Full size
- Adds the `sort-filter-bar.component`.
- `sort-filter-bar.component` displays the current and total count of filtered items by default, now.
2019-08-14 11:36:30 +02:00
Sean
7f600d4369
Merge pull request #4908 from GabrielInTheWorld/topicSearch
Adds the option to filter a list by function-values
2019-08-13 12:03:51 +02:00
GabrielMeyer
6e059cf82e Adds the option to filter a list by function-values
- In `agenda-list.component` the user can search through the name of the topic.
2019-08-12 14:43:01 +02:00
FinnStutzenstein
0e4090c901 Reverse relations 2019-08-12 14:12:55 +02:00
Sean
c593d852ef
Merge pull request #4903 from tsiegleauq/multiselect-media-files
Multiselect in mediafiles
2019-08-09 10:32:27 +02:00
Sean Engelhardt
a97ca18c36 Multiselect in mediafiles
Allows multiselect on mediafiles using the new folder structure
Add bulk delete on server
Add movement logic and path view
2019-08-09 10:08:45 +02:00
Sean Engelhardt
490672472a Updated translations 2019-08-08 16:34:59 +02:00
Joshua Sangmeister
30c93f3990 w 2019-08-06 09:26:11 +02:00
Sean
1f57bcfa91
Merge pull request #4894 from tsiegleauq/deeply-unsatisfactory-meme-resolved
Change the size of search-filter-bar
2019-08-02 10:43:24 +02:00
Sean Engelhardt
9adf3f7647 Change the size of search-filter-bar
Looks less random and more homogeneous now
2019-08-02 10:02:30 +02:00
Sean Engelhardt
0ce5ab1eec Visualize closed lists of speakers
Hints if a list of speakers is closed or not
2019-08-01 15:49:59 +02:00
Sean Engelhardt
6123216afc Add pdf webworker and progress bar
Generate PDF in the background using webworker
Shows a progress bar to estimate the PDF generation progress
2019-08-01 13:23:56 +02:00
Finn Stutzenstein
0383f824d7
Merge pull request #4874 from FinnStutzenstein/history
Improve history
2019-08-01 11:19:57 +02:00
GabrielMeyer
bd03300ee0 Exports the settings for the dialogs to a separate file.
- Includes a constant for small, medium and large dialogs.
2019-07-30 15:59:15 +02:00
Finn Stutzenstein
29e06bf7ea
Merge pull request #4884 from FinnStutzenstein/superadminDirective
Added IsSuperAdmin directive
2019-07-30 13:27:05 +02:00
GabrielMeyer
2a1a44ee5a Saves the value of the local search in 'list-view-table'
- Builds a new component 'rounded-input' to have a input-field with rounded borders.
- Saves the input on every change in the local storage.
- In the `OnInit`-function this value is restored.
2019-07-30 10:57:55 +02:00
FinnStutzenstein
a0501ccf74 Improve history 2019-07-30 10:40:36 +02:00
FinnStutzenstein
f876d1c1fa Added IsSuperAdmin directive 2019-07-30 10:12:21 +02:00
FinnStutzenstein
51a3fbdf3e New linting rules and ordering of imports 2019-07-30 09:53:14 +02:00
FinnStutzenstein
dd66244d84 Generic relations for the repos 2019-07-30 09:07:51 +02:00
Sean
13e8bbb168
Merge pull request #4873 from GabrielInTheWorld/uiFixes
Fixes some UI issues
2019-07-26 12:04:56 +02:00
GabrielMeyer
b5b3e60e81 Fixes some UI issues corresponding to the theme
- Fixes white page at 'legalnotice' and 'privacypolicy'
- Fixes the button to collapse the sidenav
- Fixes a too long text in the headbar
- Reworked the login data service:
    * make order of operations clear
    * prevent setting invalid data into the storage
2019-07-26 11:47:04 +02:00
Sean Engelhardt
db30831d3e Add better change detection to MediaFiles
There was a chance that the file browser did not update after creating or renaming a folder.
2019-07-26 10:41:46 +02:00
Sean
85fa114fa0
Merge pull request #4860 from GabrielInTheWorld/fixSorting
Implements a custom sorting for categories
2019-07-25 10:28:57 +02:00
Sean Engelhardt
0c9732ec7d Add various UI refinement
- "no data" in VScroll tables
- "no data" in File manager
- VScroll to angular theme (dark mode, etc)
- Prettier history table
2019-07-23 15:59:24 +02:00
GabrielMeyer
ac9bcf8539 Implements a custom sorting for categories
- If the motion-list is sorted by categories, the category is internal sorted by the `category_weight` of the motion
- Adds a slot to pass a custom sorting function to the `sort-filter-bar.component`
2019-07-23 15:27:21 +02:00
Finn Stutzenstein
61002a6bad
Merge pull request #4865 from FinnStutzenstein/MotionCommentSectionSorting
sorting of motion comment sections
2019-07-22 16:03:13 +02:00
Sean
5c660a373f
Merge pull request #4863 from tsiegleauq/ngrid-real-search-filter
Implement NGrids filter function
2019-07-22 12:19:04 +02:00
FinnStutzenstein
74647dc75d sorting of motion comment sections 2019-07-19 14:37:59 +02:00
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
Sean
ee559500fb
Merge pull request #4792 from GabrielInTheWorld/formValidationForTheWin
Form validation
2019-07-19 12:32:31 +02:00
GabrielMeyer
4e0e641002 Form validations
The system validates the input of the users.
In most cases, if a form is invalid, the user has no chance to save his changes.
2019-07-17 15:09:38 +02:00
Sean
ee9909308f
Merge pull request #4856 from GabrielInTheWorld/util-fixes
Fixes some autocompleted inputs
2019-07-17 13:38:48 +02:00
GabrielMeyer
f23b901622 Fixes some autocompleted inputs 2019-07-17 08:32:46 +02:00
Sean
51130da791
Merge pull request #4844 from MaximilianKrambach/sortList
fixing multiselect sort in sorting lists
2019-07-16 11:38:03 +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
4de1c526e9
Merge pull request #4842 from GabrielInTheWorld/headbar
Removes the second row for the headbar
2019-07-16 11:26:46 +02:00
Sean
b9cf1ef93a
Merge pull request #4850 from GabrielInTheWorld/csvCommentsExportTwo
Exporting comments in CSV
2019-07-16 11:06:21 +02:00
GabrielMeyer
457fc570a0 Removes the second row for the headbar
- Instead of the second row there is a toggle-button at the bottom of the side-nav
2019-07-16 10:52:21 +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
Sean Engelhardt
d036fe6046 Add file manager patches for firefox
Lowers the change detection attempts to fix the file manager
for firefox
2019-07-15 17:49:30 +02:00
Emanuel Schütze
cf3879957b Updated translations 2019-07-13 14:55:55 +02:00
Emanuel Schütze
19f47e1bef
Merge pull request #4847 from GabrielInTheWorld/csvCommentsExport
Exporting comments for XLSX
2019-07-13 13:28:12 +02:00
GabrielMeyer
07fb4e2167 Exporting comments for XLSX 2019-07-12 16:50:59 +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
FinnStutzenstein
56c1da352e Directories and access permissions for mediafiles 2019-07-12 13:08:07 +02:00
Maximilian Krambach
e199926451 fixing multiselect sort in sorting lists 2019-07-12 12:51:54 +02:00
FinnStutzenstein
0d5e795f50 Requires agenda.can_manage for settings ageda item information on content object creation 2019-07-11 19:10:55 +02:00
Sean Engelhardt
e5621ad1ab Prevent motion-detail jumps
- Fixes an error where the extension label could open automatically due to state changes by others.
- Changes the quick-navigation div to a host-listener
- Changes the quick-navigation keys to meta+alt+arrow to shift+alt+arrow, since Firefox does not recognize meta
- Removed the ID from all os-sort-lists and moves it into the extra controls of category-motion-sort-list
2019-07-10 19:25:06 +02:00
Emanuel Schütze
6e8aa75162
Merge pull request #4833 from tsiegleauq/add-extension-to-label
Enhance motion extension field
2019-07-10 11:03:57 +02:00
Sean Engelhardt
719f1f8031 Enhance motion extension field
Enhances the motion extension field to make it even more easily
accessible.

Also allows to quickly jump between motions using:
Meta + Alt(left) + ArrowKeyLeft/Right
2019-07-10 09:07:35 +02:00
Sean Engelhardt
78f6e06dd8 Prevent double mobile back buttons
Fixes an error where a close and a back button
could be shown in mobile mode
2019-07-09 23:22:58 +02:00
Emanuel Schütze
58033422c1 Translation typo 2019-07-08 20:16:30 +02:00
Sean Engelhardt
f9cab8162d Use ID in search value and sort view
Allows the search value selector to search IDs as well.
Show the ID in the Os-Sort-Tree
2019-07-08 18:14:52 +02:00
Sean
596b9516e6
Merge pull request #4725 from GabrielInTheWorld/form-control
Separates the attachment field to a custom component
2019-07-08 13:50:02 +02:00
Sean Engelhardt
5817c45e01 Hotfix clearing of extensions on navigation 2019-07-08 11:34:14 +02:00
GabrielMeyer
dfa80e9cd0 Separates the attachment field to a custom component
- Refactores also the 'search-value-selector.component'
2019-07-08 10:45:11 +02:00
GabrielMeyer
0d52aaaa45 Separates the field of state and recommendation
- New component for similar situations
- Prevents overwriting and discarding of changes, if an 'autoupdate' is triggered
2019-07-08 09:10: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 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
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
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
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
Sean Engelhardt
2758441552 Adds custom filter predicates for native object data
Supports properties like motion submitter and more.

Does at the moment "not" support tunneled properties, i.e filters
that need to go over a repository
(i.w workflow-state-label)

Fixes some small issues
2019-06-24 16:30:27 +02:00
Emanuel Schütze
3d573441ca
Merge pull request #4759 from FinnStutzenstein/optionalAgendaItem
Optional agenda items
2019-06-24 12:37:29 +02:00
Sean Engelhardt
afda3e03ec Add Filter predicate for ID
All List View Tables can get custom filter predicates.
Per default, they now filter their primitive content
as well as their ID
2019-06-19 11:38:14 +02:00
Emanuel Schütze
c67ad7f41d
Merge pull request #4795 from tsiegleauq/vlist-refinements
Refine Virtual Scrolling Tables
2019-06-19 08:10:56 +02:00
Sean Engelhardt
6cc8c8b531 Refine Virtual Scrolling Tables
- Enabled Word Wrapping
- Fixed an error where the projection dialog did not apear in the agenda
- Better promise handling to decide between motion table and tiles
- Fixed a projector permission bug
- disabled mat-row stagger animation
- Exchanged ngrid-grey theme with OpenSlides mat-card background. Looks cleaner
2019-06-18 23:46:10 +02:00
Emanuel Schütze
ae76a1991d
Merge pull request #4788 from GabrielInTheWorld/aNameForThisBranch
Fixes correct displaying for 'Active filters'
2019-06-18 19:38:45 +02:00
Emanuel Schütze
7cf604918f
Merge pull request #4784 from tsiegleauq/user-list-toggle
Add more user list options
2019-06-17 17:26:29 +02:00
Emanuel Schütze
578efe3345
Merge pull request #4791 from GabrielInTheWorld/tile-enhances
Sorts categories in tile-view by prefix
2019-06-17 17:17:38 +02:00
GabrielMeyer
c136a1b691 Sorts categories in tile-view by prefix 2019-06-17 17:03:43 +02:00
GabrielMeyer
086571d7fe Fixes correct displaying for 'Active filters' 2019-06-17 14:57:26 +02:00
Sean Engelhardt
bb443fd4af Add more user list options
- Adds an icon with tooltip if a user is inactive to the user list
- always show the 'present'-column, even though the user is not active
- add a info icon if the user has a "comment". The content of the content
  is displayed in the tooltip
2019-06-17 12:50:54 +02:00
FinnStutzenstein
8ff0f73477 Optional agenda items 2019-06-17 12:38:17 +02:00
Sean Engelhardt
161873b68c Speeds up the animations.
Removed the on-transition-fade class
The current way to trigger animation seemed not reliable enough.
2019-06-14 15:19:52 +02:00
Sean Engelhardt
15e9ea898b Add virtual scrolling to tables
Replaces most mat-tables with tables using the NGrid library, supporting
extremly performant virtual scrolling.

The ListViewBaseComponent have been extremly simplified.
All list-view code is now mich shorter and way less repitative

The group list and the workflow list have not been altered.

**Works:**
- Fast virtual Scrolling without pagination
- Click Filter
- Search Filter
- Sorting
- Export filtered values (using click filters)
- Export sorted values in correct order
- Right-Click-new-tab
- Hiding/showing columns by permission and screen size
- Multi select
- Auto Updates in MultiSelectMode keep the correct items selected
- OsHeadBar shows the correct amount of data
- Restore scroll position after navigation
- Shared-Table Component
- Clean-Up base-list-view
- Motion List
- Motion Block List
- Motion Block Detail
- User List
- Agnnda List
- Assignment List
- MediaFile List
- Tag List

**TODO:**
- Formulate filter predicates
- LOS Badge autoupdate (change detection)
- Better ellipses in lists
- Horrizontal Scrolling, if the screen get's too small.
- Issues in the change detection
- Some Layouting

**BUG:**
- Using the seach filter prevents the sorting from working.
- NGrid currently has no way to get the filtered list
  using search filter. Thus, search-filtered list cannot
  be exported.
2019-06-14 11:18:54 +02:00
Emanuel Schütze
face97a2a2
Merge pull request #4767 from normanjaeckel/HistoryRebuild
Refactored OpenSlides history (HistoryInformation is not a root rest …
2019-06-13 11:50:14 +02:00
FinnStutzenstein
ff98ee1b96 Refactured client 2019-06-13 10:09:08 +02:00
GabrielMeyer
5e3f710e4d Adds a new component for icons
- An icon followed by text (or something else) can replaced by this new component, to verify a unified size and layout.
- Replaces also existing components with this new one.
2019-06-13 08:23:44 +02:00
FinnStutzenstein
bf9973a4a7 Subcategories 2019-06-12 14:37:19 +02:00
Emanuel Schütze
7fac04afa7 Updated Translations 2019-06-05 17:56:18 +02:00
Emanuel Schütze
b5287a4e57
Merge pull request #4656 from MaximilianKrambach/callListBulk
fixing bulk sort trees from list view
2019-06-05 16:35:41 +02:00
GabrielMeyer
9e4b90461d Enhances the tile view
- Adds subscriptions to the subscriptions-array from parent to clear them, after destroying the view
- Removes filter and sort service, if the selected view is the tile-view
Adds a second variable to hold the current selected view by user
- Increases the size of the badge
2019-06-05 15:45:18 +02:00
Maximilian Krambach
5f424aa7c1 tree sorting: fix sorting multiple items 2019-06-04 17:22:50 +02:00
Maximilian Krambach
37f0baf165 sorting tree view filters
- callList
 - refactored agendaSort
2019-06-04 17:21:38 +02:00
Emanuel Schütze
3ea864c3f4
Merge pull request #4750 from MaximilianKrambach/multiMoveInCategory
Multi move motions in category
2019-06-04 17:10:52 +02:00
Emanuel Schütze
eded9acc60
Merge pull request #4746 from GabrielInTheWorld/fix-hammer
Add amendments to Motion-PDF-Summary-Box
2019-06-04 15:14:31 +02:00
Maximilian Krambach
6eeab5fc1e Multi move motions in category
- if there is a multiselection, a 'move to' button will be active
- TODO: better position/layout  for that button and dialogue
2019-06-03 09:29:29 +02:00
Emanuel Schütze
708de917e1 Updated translations 2019-05-31 11:09:31 +02:00
Sean Engelhardt
bbe966efa9 Add amendments to Motion-PDF-Summary-Box
Adds amendments to motion pdf summary box - only if the state of them accepts the merge into the parent motion.
Adds a new flatMap function to array.prototype (should be safe to use until
Array.flatMap made it into official JS. I expect it in ES 2019.

Refactors some PDF and ChangeReco / Amendment related code
2019-05-29 14:36:19 +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
Emanuel Schütze
8bf1dad10e
Merge pull request #4708 from GabrielInTheWorld/tile-layout
Adds a new view with tiles to the motion-list
2019-05-27 22:47:24 +02:00