Commit Graph

345 Commits

Author SHA1 Message Date
GabrielMeyer
663d230561 Adds the 'edit-mode' to start, legal-notice and privacy-policy 2019-10-24 09:15:01 +02:00
Sean Engelhardt
62eba77925 Rework choice service and dialog
- cleans up the choice service and the choice dialogs to make them
simpler and more usable.
- adjusts search-value-selector to also accept lists
- the search value selector allows for better filtering of models in the choice dialog
- fixes an issue where deleting all tags required a selection
2019-10-23 10:41:58 +02:00
FinnStutzenstein
cf7a5ce714 Reworked config
- Move config meta data into REST
- seperate views for config groups
2019-10-21 13:45:06 +02:00
Sean
595f9cd201
Merge pull request #5030 from tsiegleauq/date-pipe
Add custom date pipe
2019-10-16 09:23:01 +02:00
FinnStutzenstein
7af74fb07a Use Proxies for ViewModels
Also reworked creation of assignments, motions and users.
2019-10-16 09:11:02 +02:00
jsangmeister
943e8f22d3 Adds sort mode, delete confirmation and re-add speaker button to list of
speakers
2019-10-15 14:58:04 +02:00
Sean Engelhardt
04656950cb Add custom date pipe
Adds a custom date pipe and use it on the projector
The date pipe accepts unix time, can automatically adjust date to the current language and supports custom formatting using "moment.js" formatting options

Also fixes a minor translate-tag error
2019-10-15 12:20:22 +02:00
Sean Engelhardt
2d14fc2057 Fix flickering in tables
reduces the flickering during scroll events in list view tables
Adjusts some ellipsis
2019-10-09 14:59:43 +02:00
Sean Engelhardt
d4090122ef Refresh DataSource filter and sort
Cleanup some List View Table code
Fixes a bug where the search-filter was not applied after navigation
Fixes a bug where the search-filter and the property-filter and property-sort could not be used together
2019-10-02 13:35:18 +02:00
GabrielInTheWorld
1dc96b0f2f
Merge pull request #5002 from GabrielInTheWorld/coolestAgenda
Build agenda with optional subtitle
2019-09-30 10:51:55 +02:00
Emanuel Schütze
7f49ead439
Merge pull request #5055 from tsiegleauq/fix-projector
Fix flickering projector button in lists
2019-09-24 22:04:30 +02:00
Sean Engelhardt
dc60d1254b Fix flickering projector button in lists
...
2019-09-24 21:31:51 +02:00
GabrielMeyer
7462918e43 Saves the settings for countdown-controls 2019-09-24 18:55:30 +02:00
GabrielMeyer
71fdc28413 Build agenda with optional subtitle
- Updates the `virtual-scroll`-package.
- Updates the `list-view-table.component` for variable row-height.
- Adds config to have optional a subtitle in the `agenda-list`.
2019-09-24 11:15:28 +02:00
GabrielInTheWorld
8e8fb4f3b9
Merge pull request #5036 from GabrielInTheWorld/paddingAgenda
Adds some more space for the 'speaker-button'
2019-09-20 08:45:04 +02:00
Emanuel Schütze
9e0817d2e8
Merge pull request #5038 from tsiegleauq/dynamic-scale-tiles
Scale motion tiles by viewport size
2019-09-19 19:43:40 +02:00
Sean Engelhardt
faa1d9c658 Scale motion tiles by viewport size
Also puts the desktop, tablet and phone declarations into an
own scss file that can be used via mixin
2019-09-19 15:23:34 +02:00
Emanuel Schütze
ee50191da6
Merge pull request #5026 from tsiegleauq/remove-duplicate-trust-implementation
Add trust pipe and remove duplicated functions
2019-09-19 14:56:12 +02:00
GabrielMeyer
4deabb0648 Adds some more space for the 'speaker-button' 2019-09-19 12:02:05 +02:00
GabrielMeyer
d27532fa3a Sets default display-type on 'projector-button' 2019-09-17 17:09:51 +02:00
Sean Engelhardt
4e0f1409db Add trust pipe and remove duplicated functions
Adds a new shared pipe to set trusted HTML directly
from HTML components.
Removes all duplicates of "bypassSecurityTrustHtml"
2019-09-16 16:24:40 +02:00
Sean Engelhardt
bd83a74830 More mobile friendly lists
More mobile friendly lists using menus
2019-09-13 13:37:59 +02:00
GabrielMeyer
d99a9c92c1 Implements 'traffic lights' to the countdown-time 2019-09-13 08:41:39 +02:00
Sean Engelhardt
80db56c2eb Fix change detecting dead views 2019-09-12 15:11:00 +02:00
Emanuel Schütze
27e9390d41
Merge pull request #5001 from GabrielInTheWorld/clearTransition
Removes transition of 'meta-text-block'
2019-09-11 17:07:40 +02:00
Sean
11922c2a12
Merge pull request #4979 from GabrielInTheWorld/sortingCallList
Implements the possibility to sort trees by a given property
2019-09-11 11:29:09 +02:00
GabrielMeyer
95ebdd3808 Removes transition of 'meta-text-block' 2019-09-11 10:28:47 +02:00
Sean Engelhardt
c33fbc2198 Add amendment overview list as pdf
Adds an option to export the/a table of amendments as pdf
2019-09-10 15:08:55 +02:00
GabrielMeyer
1ec5dfbb88 Implements the possibility to sort trees by a given property
- Separates the base sorting function to a lower service, called `base-sort.service`.
- Adds the `tree-sort.service`.
2019-09-09 15:44:08 +02:00
Emanuel Schütze
be77723b55
Merge pull request #4983 from tsiegleauq/mobile-edit-button
Adds the correct icon to the mobile action button
2019-09-05 15:12:39 +02:00
Sean Engelhardt
466c72bee8 Adds the correct icon to the mobile action button
Fixes an error where the name of an icon was shown instead of the icons
Adds the projector to agenda detail
2019-09-05 14:48:04 +02:00
Emanuel Schütze
20f1f982ae
Merge pull request #4976 from GabrielInTheWorld/improvingSuperSearch
Improves the global search to find IDs
2019-09-05 14:17:27 +02:00
Sean Engelhardt
91329a8338 Add sort service for amendments
Adds the posibility to sort amendments by the parents identifier
and line number.

Patches the amendment model by their diff lines in runtime
2019-09-05 13:49:27 +02:00
GabrielMeyer
1d5b1b4fed Improves the global search to find IDs
- Considers the 'id' of objects for search.
2019-09-04 11:31:03 +02:00
GabrielMeyer
9b9f256cfd Fixes the expansion panel layout 2019-09-04 10:53:23 +02:00
Emanuel Schütze
367c06bb02
Merge pull request #4949 from GabrielInTheWorld/lostDeep
Cleans up the stylesheets a little bit
2019-09-03 22:04:02 +02:00
GabrielMeyer
d354461784 Cleans up the stylesheets a little bit
- Removes all `::ng-deep`
- Merges some re-used styles to one stylesheet
- The icon to open the global search will always be seen in the headbar
2019-09-02 17:33:42 +02:00
GabrielMeyer
ef8508d2d2 Improves some user-interfaces for motion-detail 2019-08-30 11:16:14 +02:00
Emanuel Schütze
9b7a863515
Merge pull request #4958 from tsiegleauq/mediafiles-navbar-spam
Add scrollable folderbar to mediafile
2019-08-28 15:35:36 +02:00
Sean Engelhardt
3af30bf7a1 Add scrollable folderbar to mediafile
- Cleansup the horrizontal scroller code
- make the folder bar scrollable
- Cleanup the way folder permissions are shown
2019-08-28 14:53:05 +02:00
GabrielMeyer
c38142dc40 Hotfix for preview on firefox 2019-08-28 11:53:23 +02:00
Emanuel Schütze
d336f0fea0 Updated translations 2019-08-27 15:29:11 +02:00
Sean
a9720b2211
Merge pull request #4944 from GabrielInTheWorld/fixMetaTextBlock
Checks, if content is too large and hide it in 'meta-text-block'
2019-08-27 10:35:28 +02:00
Sean
a36cf7b0c5
Merge pull request #4947 from tsiegleauq/terminate-web-worker
Add termination to pdf webworker
2019-08-27 10:16:14 +02:00
GabrielMeyer
c49ea53ab1 Checks, if content is too large and hide it in 'meta-text-block'
- Also updates the library 'css-element-queries'.
- Builds a directive to check, if the scroll-height of an element
has changed.
2019-08-27 10:00:04 +02:00
Sean Engelhardt
64c6327720 Add termination to pdf webworker
Allows to cancel the PDF generation by clicking a cancel-button
2019-08-27 09:58:30 +02:00
GabrielMeyer
9a6efc0403 Adds a handler for 'sorting-tree's
- Also fixes drag-handling for mobile-devices.
2019-08-27 09:36:48 +02:00
Sean
e3a7cbf935
Merge pull request #4890 from GabrielInTheWorld/freshSearch
Implements the 'global search' and moves the 'global spinner' to 'site.component'
2019-08-26 16:53:38 +02:00
Emanuel Schütze
900ba55a06
Merge pull request #4942 from tsiegleauq/tinymce-mobile-save
Add usage hints to tinymce mobile
2019-08-26 15:28:04 +02:00
Sean Engelhardt
af8b49450b Enhance amendment wizard
- close button instead of back-button
- "are you sure" prompt if chances to the wizard were made
- edit and save events, like every other view
- enhanced next, previous, create logic that follows validation

also:
- fixed a bug with custom cancel events in the head-bar
- mobile button has the correct icon again
2019-08-26 13:51:25 +02:00
GabrielMeyer
5f29732e26 Implements the global 'super-search.component'
- Moves the 'spinner.component' to 'site.component'
- Replaces also the 'spinner.service' with an 'overlay.service', that handles all request to
show an element on an overlay.
2019-08-26 11:30:20 +02:00
Sean Engelhardt
49ea32f495 Add usage hints to tinymce mobile
shows "dont forget to save" and "touch the book to edit" messages if the tinymce
mobile editor was called from motion comments and personal notes
2019-08-22 17:47:31 +02:00
Sean Engelhardt
0f606b5a7e Add change signals for the listview
The projector-button now emits a signal if changed
List-of-speaker-button is now able to detect it's own updates
2019-08-22 14:01:17 +02:00
Emanuel Schütze
ffa16b2190
Merge pull request #4929 from tsiegleauq/earlier-pdf-progress-spinner
Earlier PDF progress bar
2019-08-21 14:04:23 +02:00
Sean Engelhardt
1d566feab6 Earlier PDF progress bar
Shows an indeterminate spinner before the actual PDF creation
2019-08-21 13:35:17 +02:00
Emanuel Schütze
af0c00c89a
Merge pull request #4931 from GabrielInTheWorld/offlineForTheWin
Replaces the snackbar for offline-mode with a banner.
2019-08-21 13:15:09 +02:00
Sean
180aad853b
Merge pull request #4933 from GabrielInTheWorld/fixAttachments
Fixes directories as attachments
2019-08-21 11:34:09 +02:00
GabrielMeyer
4dd79296e8 Fixes directories as attachments
- Directories are not available anymore.
2019-08-21 10:57:22 +02:00
GabrielMeyer
c5f90b0972 Replaces the snackbar for offline-mode with a banner. 2019-08-20 16:56:53 +02:00
Sean
1d1ddbd6e4
Merge pull request #4927 from tsiegleauq/better-motion-detail-ui
Overwork motion detail UI
2019-08-20 13:52:44 +02:00
Sean Engelhardt
d739b982bb Overwork motion detail UI
set Default action to "create amendment" (if permitted)
put edit in the menu
put next and prev motion in the menu (mobile)
resort motion menu
move "show enitre motion text" under the motion-preview
change "show entire motion text" from button to checkbox
create a custom tooltip for the main action in os-head-bar
create a custom "cancel edit" function in os-head-bar
overwork location.back logic
2019-08-20 12:42:50 +02:00
Sean Engelhardt
e7357a5b64 Add option to hide amendments
Enables to hide amendments from the motion list
Allows to search through amendment paragraphs in the list view of amendments
2019-08-19 16:25:35 +02:00
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
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
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
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
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
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
51a3fbdf3e New linting rules and ordering of imports 2019-07-30 09:53:14 +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
Sean
5c660a373f
Merge pull request #4863 from tsiegleauq/ngrid-real-search-filter
Implement NGrids filter function
2019-07-22 12:19:04 +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
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
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
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