Commit Graph

690 Commits

Author SHA1 Message Date
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
Jochen Saalfeld
ec7f63b52d
Merge pull request #4029 from Fadiabb/CSV-export
add csv for motions
2018-11-23 11:21:41 +01:00
Fadi Abbud
021cc0a393
add CSV for motions
This does the csv export for the user list

emanuelschuetze:
Uses right order and translatable labels

jsaalfeld:
fixing some documentation, rebasing to master and fixing strings
and coding style.

fixing #4035
2018-11-23 11:12:56 +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
Sean Engelhardt
c52b86a33f Include TinyMCE 2018-11-22 15:57:51 +01:00
Jochen Saalfeld
76bfa16232
moving http-post to repository 2018-11-21 14:56:04 +01:00
Jochen Saalfeld
0a361665c4
Merge pull request #4025 from Fadiabb/shift-enter-submit
add shift-enter shortcut
2018-11-21 14:52:37 +01:00
Fadi Abbud
da8b456d90 add shift-enter shortcut
add the possibilty to hit shift and enter to save fomrs
2018-11-21 14:46:08 +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
Sean
01c593e9be
Merge pull request #3957 from CatoTH/StatuteParagraphAmendments
Creating / Editing / Showing statute paragraph amendments
2018-11-20 16:54:16 +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
d67e39b994 update dependencies and prettierrc 2018-11-15 10:24:37 +01:00
Sean Engelhardt
d968761377 Speaker indicators in Lists 2018-11-12 18:01:04 +01:00
Emanuel Schütze
7febb92267 Template styling improvements 2018-11-12 12:01:12 +01:00
FinnStutzenstein
c78de2138f planar call list and HTML cleanup 2018-11-09 10:11:57 +01:00
Emanuel Schütze
128f17e7a4 Updated German translations and translatable strings 2018-11-08 18:50:06 +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
Jochen Saalfeld
a2d736bae9
Merge pull request #3996 from FinnStutzenstein/client_perms_for_motion
can_manage_metadata and categories on motion create
2018-11-08 15:56:28 +01:00
FinnStutzenstein
b25b5dc928 can_manage_metadata and categories on motion create 2018-11-08 15:51:26 +01:00
Sean
55d279ca4e Create agenda topics
Also:
Enhanced DragNDrop Component
List Of Speakers
2018-11-08 14:54:13 +01:00
FinnStutzenstein
788beaae2a error handling 2018-11-08 09:32:39 +01:00
Sean Engelhardt
41f2adbc33 Enhanced head bar no 3 2018-11-07 16:21:29 +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
sean
4d26316e1e Enhance os-head-bar
Headbar now works with multi slot transclusion
Supports more cases and detail bar

Also adds some UI UX improvements
2018-10-23 11:47:18 +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
Sean Engelhardt
2cc9188962 Add Material Icon library
replace font-awesome icons with material icons
2018-10-12 15:13:57 +02:00
Sean Engelhardt
faef3ac97e Hotfix for MotionStatute 2018-10-12 13:11:05 +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
Finn Stutzenstein
19d78a3361
Merge pull request #3890 from FinnStutzenstein/plugins3
App initialization
2018-09-28 15:55:37 +02:00
Sean Engelhardt
0c05eb38e2 Add motion controls + small fixes 2018-09-28 15:18:20 +02:00
FinnStutzenstein
be9f98cfd0 App initialization
Used for internal apps as well as for plugins. The pluginpart is
currently missing, in fact that the main OpenSlides part is more
important. Apps can give their models and mainmenu entries.

Routes are not enabled, because the routes have to be static for webpack
to build the bundles. If we want to keep lazy loading, I see no
possibility to encapsulate the routes from the site-routing module.
2018-09-28 15:03:04 +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
1ee76de417 Handling of titles, projection and content objects in items
Restructure the titles for motion, motion-block, assignment and topic.
Less possibilities for more clear code. Added mote base models enabling
functionalities of projection and being a content object for items
2018-09-14 08:36:35 +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
FinnStutzenstein
9bb44f13bd Stricter linting rules
Parameter and return types are required now
2018-09-10 10:24:28 +02:00
FinnStutzenstein
dc0c92253d Type interference for the DS 2018-09-10 09:53:21 +02:00
FinnStutzenstein
f1ddd16dc6 Motion rework
- remove motion version
- migrations for versions and change recommendations
- Redone motion comments. Wording changed from comment fields to comment
  sections
- fixed test order, tests are not atomic
- introduce get_group_model. Just use OpenSlides Groups and not the
django's ones.
2018-09-10 09:00:55 +02:00
FinnStutzenstein
e53a75f922 changed and deleted observable for the datastore. Removed ModelId 2018-09-07 12:51:16 +02:00
FinnStutzenstein
98250f4e45 less constructors 2018-09-04 14:46:21 +02:00
Sean Engelhardt
90e8c81ddc Add Motion Detail Desktop view 2018-09-04 11:49:58 +02:00
FinnStutzenstein
41c09ce9ea More type annotations and resulting changes, cleanup 2018-09-04 09:39:51 +02:00
Sean Engelhardt
0f55527d6a change the global prefix to "os"
Also:
Set linting output to "stylish" (more readable error messages in terminal output)
Remove 2nd linting output
rename "appOsPerms" to just "osPerms" including filename and classname
rename all selectors from "app" to "os"
2018-09-03 18:13:57 +02:00
FinnStutzenstein
b4e7d949b1 More linter rules 2018-08-29 13:57:43 +02:00
Sean Engelhardt
897488f3a4 Add reusable head bar component
- implement the head bar in all apps
- work on the documentation
2018-08-28 13:55:19 +02:00
Emanuel Schütze
ba496d54b4 Added motion category list view. 2018-08-27 09:10:57 +02:00
Sean Engelhardt
5fc85f2621 Work on local motion copy 2018-08-24 12:29:07 +02:00
Sean Engelhardt
fc7f68f7db Read the motion workflow by state 2018-08-23 15:00:49 +02:00
Sean Engelhardt
70416df50b Add data-send, option to delete motion 2018-08-22 16:03:49 +02:00
Sean Engelhardt
de61505b00 Put/Post motions to server
Temporarily over dataStore, will need own service
2018-08-22 11:26:53 +02:00
Sean Engelhardt
133ecb4724 add new Motion form 2018-08-21 14:56:26 +02:00
sean
b808228b42 Save updated motion in DataStore, reactive form 2018-08-20 18:13:28 +02:00
Sean Engelhardt
d26d131fa6 Motion Workflow observing 2018-08-20 15:30:56 +02:00
Sean Engelhardt
f1da2689b9 Add motion update form 2018-08-17 15:18:33 +02:00
Sean Engelhardt
fa106a46c9 More dynamic Motion-Detail metainfo
* Adjust login page
* Rework legal notice and pp
* Add more custom animations
* Add Router to navigation panel
2018-08-15 10:19:46 +02:00
Sean Engelhardt
54cc737ede Create an infinite amount of virtual motions for testing 2018-08-15 10:19:46 +02:00
Sean Engelhardt
4b8076c562 Hide unset motion detail values. 2018-08-15 10:19:46 +02:00
Sean Engelhardt
f01d3a5f6a Motion detail with routing
For small screens only
2018-08-15 10:19:46 +02:00
Sean Engelhardt
0099c34615 enhance motion tables with observer 2018-08-15 10:19:46 +02:00
Sean Engelhardt
e36e4ed655 First motion list view 2018-08-15 10:19:46 +02:00
Sean Engelhardt
b64b49cc2e Layout and translation fixes 2018-08-15 10:19:46 +02:00
Sean Engelhardt
ec646a80dc Add animation to transitions, and navigation.
Also add new login page with validation
2018-08-15 10:19:46 +02:00
Sean Engelhardt
76ce18cfd8 Add modules and lazy loading
- core modules contains core services
- shared module contains "dumb" components (directives, models)
  - used by nearly all modules
- site, it's children and projector are now feature modules
  - full lazy loading with independent routing
  - routing for children (extremely helpful for plugins (later))
2018-08-15 10:19:46 +02:00
Sean Engelhardt
e605649a9b Add translation module and lang switcher
- uses ngx-translate
- extracts all strings marked with " XXX | translate " or <X translate>
  using ngx-translate-extract (npm run extract)
- custom translation loader prevents empty strings
- default language is english
- will try to use the browsers language, will fallback to english
- functional language switching menu
- not compatible with current PO files
- current JSON-translation can be re-used
2018-08-15 10:19:46 +02:00
Sean Engelhardt
4966092b31 Add basic material ui components 2018-08-15 10:19:46 +02:00
Sean Engelhardt
42473e1a8a cleanup and refractor code
-combine the features of the two previous commits
-add prettier and pretty-quick
-more routing and logout button
2018-08-15 10:19:46 +02:00