Commit Graph

244 Commits

Author SHA1 Message Date
Sean
637c0fb78e
Merge pull request #4601 from MaximilianKrambach/callListPDF
call list improvements
2019-04-17 10:38:22 +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
FinnStutzenstein
a715c0e432 Refresh clients cache when the database was migrated 2019-04-15 16:13:52 +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
Maximilian Krambach
81c50f5b2f bulk set/unset favorite status 2019-04-15 10:52:18 +02:00
Maximilian Krambach
b5a6669359 Adds a 'tag' filter to motion lists 2019-04-12 11:50:32 +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
Maximilian Krambach
52193e9fb2 Assignments 2019-04-08 10:16:46 +02:00
Maximilian Krambach
e3c673b55e export recommendations with extra labels 2019-04-05 13:08:45 +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
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
Maximilian Krambach
9c67b1c773 sorting from inside base repositories
Authors: FinnStutzenstein, MaximilianKrambach, tsiegleauq
2019-03-15 08:12:50 +01:00
Emanuel Schütze
5139fe8365 Updated tranlstions 2019-03-11 12:28:34 +01:00
FinnStutzenstein
f198a21543 rework personal notes 2019-03-08 12:09:53 +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
FinnStutzenstein
20e2639323 set allow_null for integerfields, when they are not required 2019-03-05 14:23:01 +01:00
Maximilian Krambach
4e3948a24d fix unsetting some values
- Category prefix
- category in motion multiSelect
2019-02-28 19:06:32 +01:00
Maximilian Krambach
aa33bf37a8 fix assign url in motion- moveToItem 2019-02-27 17:10:27 +01:00
Maximilian Krambach
308b593763 check for invalid motions on import 2019-02-27 11:24:04 +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
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
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
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
Sean Engelhardt
d22ec6f34d Add PDF for paragraph based amendments
Also add some more pdf fixes
2019-02-15 13:42:01 +01:00
Emanuel Schütze
ff407468f0 Update translations 2019-02-14 22:17:52 +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
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
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
FinnStutzenstein
8904472d23 Fixed error when leaving the settings too early 2019-02-14 13:30:21 +01:00
FinnStutzenstein
d932d6e907 Fixes submitters 2019-02-14 10:24:39 +01:00
Emanuel Schütze
c5912f8515
Merge pull request #4322 from MaximilianKrambach/motionDelegates
direct pdf export and hidden menus for unprivileged users
2019-02-13 15:37:07 +01:00
Maximilian Krambach
c3c915e118 direct pdf export and hidden unusable options for delegates
also, several permission check fixes and minor layout improvements
2019-02-13 13:43:45 +01:00
Maximilian Krambach
55f967a14b call list subheaders 2019-02-13 13:18:57 +01:00
Sean Engelhardt
7897d823db Fix some production mode issues
Fixes some issues that occure in production mode only.
Also fixes a typo that prevented permission checks from
working
2019-02-12 11:04:32 +01:00
Emanuel Schütze
279d1323fa Updated translations 2019-02-11 21:39:14 +01:00
Sean Engelhardt
4ce8f2b38f Add line-numbering fix
Also enabled li-elements to be rendered in LineNumbering Mode
2019-02-11 15:45:23 +01:00
Maximilian Krambach
e1916534e0 bulk move motions in call list 2019-02-11 13:42:08 +01:00
Sean
76210e807f
Merge pull request #4275 from MaximilianKrambach/sortLists
sort categories (+ motions) in dropdowns etc.
2019-02-08 15:24:02 +01:00
Maximilian Krambach
c487d688f6 sort categories in dropdowns 2019-02-08 14:37:58 +01:00
Maximilian Krambach
799d11cd17 small fixes
- motion detail comments not always visible
- fix tag/recommendation multiselect
- fix display of prefixed categories in filter/dialogs
- confirm dialog on email invitation
- attempt at fixing history filter
2019-02-08 12:54:11 +01:00
Sean
392cb7fdaf
Merge pull request #4240 from FinnStutzenstein/viewModelStore
first work on moving some logic to view models
2019-02-08 11:52:39 +01:00
FinnStutzenstein
d0991936d6 ViewModelStore, register repositories, improve view model relations 2019-02-08 11:02:56 +01:00
Sean Engelhardt
4023ac82df Export statute amendments with diff
Exports motion statutes amendments with changes to PDF documents.
Fixes a small issue where navigating to statues amendments was throwing
errors
2019-02-08 10:39:06 +01:00
Maximilian Krambach
498de862c1 export poll results in motion pdfs 2019-02-07 15:27:12 +01:00
Maximilian Krambach
dc27a20842 export personal note pdf 2019-02-07 14:49:19 +01:00
Emanuel Schütze
ac96ba8d3a Updated translations 2019-02-03 22:12:26 +01:00
FinnStutzenstein
7ce1eb592f Count active users via notify (for admins only), absolute imports 2019-02-02 08:17:36 +01:00
Emanuel Schütze
f26f7f9c08
Merge pull request #4244 from MaximilianKrambach/callListPdf
call list pdf export
2019-02-01 18:04:48 +01:00
Maximilian Krambach
181d00ea94 call list pdf export 2019-02-01 17:48:29 +01:00
Emanuel Schütze
d4cc3c3720 Allow to set state as submitter in client. 2019-02-01 16:30:50 +01:00
Sean Engelhardt
01786f685c Add amendment info in motion details
Alters motion detail to show amendments and to a given motion
and original motions to a given amendment.
Changes the motion PDF to show amendments.

Fixes a bug with the projection indicator
2019-02-01 14:52:31 +01:00
Maximilian Krambach
da722dd518 explicitly set mimetype for csv export 2019-02-01 14:20:00 +01:00
FinnStutzenstein
84974d7687 A little bit of cleanup 2019-02-01 11:02:24 +01:00
FinnStutzenstein
97f60c1e6c Restructure the client, register Repositories and map to collection
strings.
2019-02-01 10:19:17 +01:00
Maximilian Krambach
15ce789617 wrong translation string 2019-01-31 17:16:30 +01:00
Maximilian Krambach
04cbfe383d import/export for statutes 2019-01-31 14:10:39 +01:00
Sean
9136b53d48
Merge pull request #4226 from MaximilianKrambach/workflowfilter
only show motion workflow filter for config-enabled workflows
2019-01-31 12:19:31 +01:00
Maximilian Krambach
271d8cbfa4 only show motion workflow filter for config-enabled workflows 2019-01-31 12:05:50 +01:00
Sean Engelhardt
f22b81d7ad Add motion reco giver to motion PDF
Adds the text from "motion recommendet by"
into the motion PDF for both normal
motions and "StatuteAmendments"
2019-01-31 10:15:45 +01:00
Emanuel Schütze
9629c6d1fd Updated translations 2019-01-31 09:20:20 +01:00
FinnStutzenstein
d6fcef79c0 modified final version 2019-01-29 18:15:48 +01:00
Maximilian Krambach
8796d728d9 category prefix is currently optional 2019-01-29 13:50:27 +01:00
Maximilian Krambach
93a9a8aef3 adding configured header and footer images to pdf exports 2019-01-28 12:49:42 +01:00
Sean Engelhardt
23fea51333 Add Motion Export dialog
Removes the "Export As CSV" and "Export As PDF" options from MotionList
view and adds an export dialog instead (just like OS 2.3)
The exprt Dialog dynamically changes it's content according to the possible
selections.

The current implementation of the CSV exporter is not able to export anything
but the original motion text. The exporter does consider this and disables
this option for now.

While the old exporter showed "state" and "recommendation" during CSV export,
but was in fact not exporting state nor recommendation, the new exporter
will disable these fields during CSV export.

PDF should work as expected
2019-01-25 17:03:06 +01:00
Maximilian Krambach
461b29688e motion ballot pdf creation 2019-01-25 10:02:58 +01:00
FinnStutzenstein
22182463a9 cleanup, removed motion log from client 2019-01-25 08:39:50 +01:00
Sean Engelhardt
0e77ec79c2 Export a list of motions
Ports the "Motion Catalog Content Provider" to OpenSlides 3.
Categories and Prefixes are considered as before.
Updated to Code to ES6/Typescript.
Allows to export all motions from the motion list view.
2019-01-24 14:40:06 +01:00
Maximilian Krambach
caed18ef03 set/read state+recommendation extensions 2019-01-22 13:01:00 +01:00
Emanuel Schütze
bde292b13e
Merge pull request #4162 from tsiegleauq/pdfmake-vfs
Add PDF custom fonts
2019-01-22 12:13:17 +01:00
Sean Engelhardt
e680ca38da Add PDF custom fonts 2019-01-22 11:59:16 +01:00
Emanuel Schütze
6b66a208c5 Updated translation strings and German translation. 2019-01-21 22:50:10 +01:00
Maximilian Krambach
6d18d70845 sort by date in motion 2019-01-19 21:21:20 +01:00
Maximilian Krambach
30d8812719 fix motion change permission 2019-01-19 19:01:44 +01:00
Maximilian Krambach
fb51b54d5c check permissions for motions 2019-01-19 14:42:54 +01:00
Maximilian Krambach
6cd250a36d client part of setMultiState 2019-01-19 10:56:19 +01:00
Maximilian Krambach
53a8392e33 motion detail imrovements 2019-01-18 20:58:35 +01:00
Sean
24cf01b03f
Merge pull request #4122 from tsiegleauq/os3-pdfmake
Add motion to pdf converter
2019-01-18 20:45:16 +01:00
Sean Engelhardt
9b61603dae Add motion to pdf converter
Adds the converstion from motion to PDF.
Uses pdfmake as the old openslides does
2019-01-18 20:25:06 +01:00
Maximilian Krambach
758abde410 simplify followRecommendation for motionBlock 2019-01-18 19:17:48 +01:00
Maximilian Krambach
c52fdaae6c csv-import for user and agenda(topics) 2019-01-18 13:15:54 +01:00
Maximilian Krambach
82a1ad8709 sortSearch improvements (#4098)
- "no workflows set" removed
-  motion block filter hides if there is no motion block
- inserted the group filter
- fixed display of agenda filter menu
- show plural if multiple filters are selected, show filtered amount
- recommendation, done/not done status filter
- active filter count and clearing option
- number of current items to the left
2019-01-18 12:51:04 +01:00
Tobias Hößl
1966a4b4f8
Move lnMode/crMode/lineLength into components, Bugfix for lineLength - fixes #4108 2019-01-17 17:50:10 +01:00
Maximilian Krambach
d5101714d1 motion polls 2019-01-17 14:03:34 +01:00
Maximilian Krambach
060d8c8324 motion csv import 2019-01-11 10:47:20 +01:00
FinnStutzenstein
1c895fbea8 run prettifier 2019-01-10 12:54:48 +01:00
Maximilian Krambach
59ec1c552a sorting and filters for listViews 2019-01-08 11:08:01 +01:00
Emanuel Schütze
f9c4f01f06
Merge pull request #4080 from CatoTH/v3-LineNumbering-Config-Variables
Take motion configuration variables, some layout-fixes
2019-01-07 09:52:09 +01:00
Tobias Hößl
61a3de593a
Take motion configuration variables, some layout-fixes 2019-01-07 09:22:55 +01:00
Maximilian Krambach
0deb5ba6c3 MultiSelect rework
- Multiselect dialog with multiple choice options
- Some functionalities added
- ui improvements
2019-01-04 14:49:34 +01:00
Sean Engelhardt
00db199947 Motion Attachments + Restructure 2018-12-10 17:54:49 +01:00
FinnStutzenstein
2e7bbcc981 Manage submitters 2018-12-06 15:54:02 +01:00
Sean Engelhardt
03508c903f Add motion blocks 2018-12-06 12:28:06 +01:00
Sean
c416f7a1be
Merge pull request #3977 from normanjaeckel/HistoryModel
OpenSlides history mode
2018-11-30 12:51:09 +01:00
Sean Engelhardt
0c62c1c864 History mode on client side
Add view for full history and History Repom TimeTravelService
Add function time travel routine
Updated the HTTP Service, fixed usage of storage, OSStatus Service, fixed loading of the history data
2018-11-30 12:42:13 +01:00
FinnStutzenstein
428e58db9b move to agenda 2018-11-30 10:10:13 +01:00
FinnStutzenstein
212bce1c08 rework motion submitters to clear confusion about creation and normal update.
Also docs and cleanup
2018-11-30 09:47:21 +01:00
FinnStutzenstein
d49b796b29 travis and prettify 2018-11-30 09:47:16 +01:00
Emanuel Schütze
82b26347e2 Added new multiselect actions. 2018-11-30 09:47:14 +01:00
Tobias Hößl
afad235bad Show amendments in detail view 2018-11-29 14:11:27 +01:00
Emanuel Schütze
ed47ac4884 Improved UI of motion list and detail view 2018-11-29 12:31:52 +01:00
FinnStutzenstein
6a8976b8ca Call list export
refined the export service to accept a generic map function, so arbitrary values can put into the csv
2018-11-29 08:25:36 +01:00
Maximilian Krambach
b5aebe5615 multiSelect on listViews 2018-11-27 14:03:02 +01:00
FinnStutzenstein
80782ccbec OpenSlides ♥ Trees 2018-11-23 17:32:20 +01:00
FinnStutzenstein
3d4bd67980 new configs for statute amendments; improved the majorityMethod config variable
Removed none from os-search-value-selector; improved list of speakers
2018-11-22 17:34:00 +01:00
FinnStutzenstein
101d6c96cd using angular2 tree for the nested motion call list 2018-11-22 17:16:20 +01:00
Jochen Saalfeld
76bfa16232
moving http-post to repository 2018-11-21 14:56:04 +01:00
Sean
224f98bf49
Merge pull request #4022 from CatoTH/Bugfix-Diff-Port
OS3-Port of #4020
2018-11-21 13:27:37 +01:00
Tobias Hößl
d3fc006ddc Creating / Editing statute paragraph amendments 2018-11-20 14:40:01 +01:00
Tobias Hößl
88ee3053c9
OS3-Port of #4020 2018-11-19 20:45:25 +01:00
Sean Engelhardt
d968761377 Speaker indicators in Lists 2018-11-12 18:01:04 +01:00
FinnStutzenstein
c78de2138f planar call list and HTML cleanup 2018-11-09 10:11:57 +01:00
FinnStutzenstein
8f939fa933 refine category editing and motion numbering. Fixes the current behavior of double-saving to take effect. 2018-11-08 16:01:08 +01:00
FinnStutzenstein
788beaae2a error handling 2018-11-08 09:32:39 +01:00
Sean Engelhardt
5d06b8c417 Add motion states 2018-11-05 17:58:30 +01:00
Sean
7bfb097f12
Merge pull request #3967 from FinnStutzenstein/collectionStringModelMapperServiceCleanup
Remove the deprecation warning in the CollectionStringModelMapperService
2018-11-05 11:40:27 +01:00
FinnStutzenstein
b749231213 Remove the deprecation warning in the CollectionStringModelMapperService 2018-11-02 08:36:03 +01:00
FinnStutzenstein
430dbc1dff motion comments and personal note in the motion detail view 2018-11-01 13:09:09 +01:00
FinnStutzenstein
060e68844d Refine the HTTP Service. 2018-11-01 11:22:41 +01:00
FinnStutzenstein
e59497bc54
Setting change recommendations internal 2018-10-29 20:33:40 +01:00
Tobias Hößl
d5bd8761ee
Diff bugfixes: port of #3946 & #3943 - fixes #3944 2018-10-27 11:59:42 +02:00
Sean Engelhardt
2a06075315 Repair Categories, DataSend and Motion Detail
update to angular 7
2018-10-23 13:44:47 +02:00
Jochen Saalfeld
a7b01fc09c implementing sorting in categories (fixes #3903) 2018-10-23 13:19:43 +02:00
Tobias Hößl
46ad38a98a
Change recommendations 2018-10-22 18:45:08 +02:00
Tobias Hößl
db25ac6bf4
Diff & Line numbering services 2018-10-22 18:44:58 +02:00
FinnStutzenstein
64f6f35e31 statute paragraphs list view 2018-10-19 07:41:15 +02:00
FinnStutzenstein
b1ea59ea28 Motion comment section list 2018-10-09 13:57:55 +02:00
Tobias Hößl
9f291308aa Initial tests for OpenSlides3. Parallel execution of server and client
tests.
2018-10-08 14:10:18 +02:00
Sean Engelhardt
0c05eb38e2 Add motion controls + small fixes 2018-09-28 15:18:20 +02:00
sean
adb7556be0 User create update and details view 2018-09-28 12:29:33 +02:00
Jochen Saalfeld
d785d77207 restructuring patching of values to ensure type safety
fix disappearing submitters (hopefully)

- replaced "motion from form values" function with deserialize
- fix some typos
- make id id again

null, in contrast to undefined, will be send to the server...

Better typing and changed the create/update signatures in BaseViewModel

- use object as default type for BaseModel.
- use partial objects for updating
- Displayable should not have an id. Moved this into own interface
Identifiable and make the id in the BaseViewMotion abstract.
- create only takes a BaseModel. A ViewModel should not exists so far.
- Updated the update and create method for motions.
2018-09-24 10:45:53 +02:00
Jochen Saalfeld
48526d6c19
implementing categories 2018-09-20 11:22:24 +02:00
Sean Engelhardt
80cfeaac35 Create more list views
Also:
- Update dependencies
- Clean up proxy file
2018-09-18 10:21:59 +02:00
FinnStutzenstein
1b691f5eb6 Removed root injector 2018-09-13 15:06:43 +02:00
Jochen Saalfeld
535e0b2ba3
search-value-selector as shared component
Also making sure that every BaseModel implements onString to be
displayable by a Selector.

And adding the new search-value-selector in the motion-detail-view
2018-09-13 07:57:46 +02:00
FinnStutzenstein
0a40e4e292 first work for BaseRepo 2018-09-11 10:50:53 +02:00
Sean Engelhardt
39f266d2de Motion Repository
Adds a repository to remove the logic in the motion domain object
The repository will add a new model layer between the components
and the domain objects

implicitly add a new buttion into the motion detail view
2018-09-10 14:53:47 +02:00