Commit Graph

6380 Commits

Author SHA1 Message Date
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
Oskar Hahn
07a8a5c3cb update the dev tools 2018-09-23 18:07:49 +02:00
Oskar Hahn
b6968fdfd5
Merge pull request #3843 from ostcar/ensuce_cache
ensures test on startup
2018-09-23 17:12:04 +02:00
Oskar Hahn
9af6bf1606 ensures test on startup 2018-09-23 16:57:49 +02:00
FinnStutzenstein
eebd7a1fce Fix image plugin 2018-09-20 13:06:02 +02:00
Jochen Saalfeld
48526d6c19
implementing categories 2018-09-20 11:22:24 +02:00
Emanuel Schütze
d2c4aff7a4
Merge pull request #3888 from emanuelschuetze/release2.3
Release 2.3
2018-09-20 09:33:18 +02:00
Emanuel Schütze
dca94333e8 Update version to 2.3.1-dev 2018-09-20 09:27:03 +02:00
Emanuel Schütze
772c032357 Release 2.3 2018-09-20 09:24:34 +02:00
Emanuel Schütze
7b9d84dabd
Merge pull request #3886 from FinnStutzenstein/export-filename
Fixed filenames in motion export dialog
2018-09-18 19:37:02 +02:00
FinnStutzenstein
2815d5f62c Fixed filenames in motion export dialog 2018-09-18 15:03:55 +02:00
Finn Stutzenstein
849da27745
Merge pull request #3877 from tsiegleauq/views
Create more list views
2018-09-18 11:52:10 +02:00
Emanuel Schütze
3481ca58d8
Merge pull request #3885 from emanuelschuetze/translations
Updated German translations.
2018-09-18 11:23:17 +02:00
Emanuel Schütze
7a9921a85f Updated German translations. 2018-09-18 10:42:57 +02:00
Sean Engelhardt
80cfeaac35 Create more list views
Also:
- Update dependencies
- Clean up proxy file
2018-09-18 10:21:59 +02:00
Emanuel Schütze
9432367f1b
Merge pull request #3884 from FinnStutzenstein/fixes
Little fixes for current master (fixes #3883, fixes #3882, fixes #3880)
2018-09-18 09:57:01 +02:00
FinnStutzenstein
f17951f363 Little fixes for current master (fixes #3883, fixes #3882, fixes #3880) 2018-09-18 09:49:40 +02:00
Finn Stutzenstein
582c2603a6
Merge pull request #3860 from FinnStutzenstein/fixed-config-variables
Moved the collection of config variables before the generation of ang…
2018-09-18 07:56:12 +02:00
FinnStutzenstein
180dedfc38 Moved the collection of config variables before the generation of angular constants 2018-09-18 07:50:33 +02:00
Emanuel Schütze
c164766fa5
Merge pull request #3879 from emanuelschuetze/readme
Updated 'used software' links in README. Fixed formatting for pypi.
2018-09-17 10:24:17 +02:00
Emanuel Schütze
f340048d56 Updated 'used software' links in README. Fixed formatting for pypi. 2018-09-17 09:46:51 +02:00
Sean
9d59da1352
Merge pull request #3869 from FinnStutzenstein/modelInterface
Introduce more basemodel functionality used by the agenda, generic views
2018-09-14 11:06:30 +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
Sean
68b39ee8f4
Merge pull request #3870 from FinnStutzenstein/DS
Don't static-inject the DataStore
2018-09-13 17:17:26 +02:00
FinnStutzenstein
faa2507c0d remove console.log 2018-09-13 15:07:56 +02:00
FinnStutzenstein
1b691f5eb6 Removed root injector 2018-09-13 15:06:43 +02:00
Finn Stutzenstein
2269ddef91
Merge pull request #3866 from jsaalfeld/sc_multi_value_selector
multi-value-selector as shared component
2018-09-13 08:33:18 +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
Sean Engelhardt
7e91f416ec Remove package-lock from root, add it to gitignore 2018-09-11 11:13:56 +02:00
Sean
34412c7d9e
Merge pull request #3867 from FinnStutzenstein/baseRepo
first work for BaseRepo
2018-09-11 11:02:25 +02:00
FinnStutzenstein
0a40e4e292 first work for BaseRepo 2018-09-11 10:50:53 +02:00
Finn Stutzenstein
c25aa682ef
Merge pull request #3854 from tsiegleauq/motion_repo
Motion Repository
2018-09-10 14:59:17 +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
Finn Stutzenstein
a5f06d3347
Merge pull request #3863 from FinnStutzenstein/constructors
rework on model constructors, adapt newest changes to motion models
2018-09-10 11:57:29 +02:00
FinnStutzenstein
4717529ed0 rework on model constructors, adapt newest changes to motion models 2018-09-10 11:47:28 +02:00
Finn Stutzenstein
44b287248c
Merge pull request #3864 from tsiegleauq/restructure_pp_ln
Routing for Privacy Policy and Legal Notice + Restructure Login Components
2018-09-10 11:46:22 +02:00
FinnStutzenstein
3e0618063b Routing for the privacy policy and legal notice.
Save those values in a new service, that will also watch for changes in
config variables. UI is not good; this can be done later

Share legal notice and privacy policy

Created some containers for them
2018-09-10 11:39:46 +02:00
Finn Stutzenstein
805b6a3fdd
Merge pull request #3862 from FinnStutzenstein/linter
Stricter linting rules
2018-09-10 10:32:19 +02:00
FinnStutzenstein
9bb44f13bd Stricter linting rules
Parameter and return types are required now
2018-09-10 10:24:28 +02:00
Finn Stutzenstein
0abd36b75c
Merge pull request #3861 from FinnStutzenstein/interfered-generics-in-DS
Type interference for the DS
2018-09-10 10:14:07 +02:00
FinnStutzenstein
dc0c92253d Type interference for the DS 2018-09-10 09:53:21 +02:00
Finn Stutzenstein
548e720795
Merge pull request #3842 from FinnStutzenstein/no-motion-version
Remove motion version and comments rework
2018-09-10 09:09:14 +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
Finn Stutzenstein
3b57fbcd8c
Merge pull request #3857 from FinnStutzenstein/delete-observable
changed and deleted observable for the datastore. Removed ModelId
2018-09-10 08:33:20 +02:00
Finn Stutzenstein
1d16c6e88e
Merge pull request #3856 from jsaalfeld/npm_updates
updating dependencies and replacing node-uuid with uuid
2018-09-10 08:16:57 +02:00
FinnStutzenstein
e53a75f922 changed and deleted observable for the datastore. Removed ModelId 2018-09-07 12:51:16 +02:00
Finn Stutzenstein
befbaba525
Merge pull request #3853 from FinnStutzenstein/workflowId
Expose the workflow id during motion serialization
2018-09-07 11:12:07 +02:00
Jochen Saalfeld
68e27c439e
updating dependencies and replacing node-uuid with uuid 2018-09-07 10:59:13 +02:00
Finn Stutzenstein
e0c38cba01
Merge pull request #3855 from jsaalfeld/fix_migrate
fixing pytest version and continue if db not available
2018-09-07 10:49:50 +02:00
Jochen Saalfeld
b5366ea90f
fixing pytest version and continue if db not available 2018-09-07 10:39:16 +02:00