Commit Graph

5565 Commits

Author SHA1 Message Date
Finn Stutzenstein
19d78a3361
Merge pull request #3890 from FinnStutzenstein/plugins3
App initialization
2018-09-28 15:55:37 +02:00
Sean
9e0872878a
Merge pull request #3901 from tsiegleauq/motion_control+fix
Add motion controls + small fixes
2018-09-28 15:51:22 +02:00
Sean Engelhardt
0c05eb38e2 Add motion controls + small fixes 2018-09-28 15:18:20 +02:00
Oskar Hahn
2b5df310af
Merge pull request #3892 from ostcar/update-dev-tools
update the dev tools
2018-09-28 15:13:04 +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
b6ad0d759c
Merge pull request #3891 from tsiegleauq/cu-user
User create update and details view

Some open tasks left (features are quire heavy). See recent issues
2018-09-28 12:42:30 +02:00
sean
adb7556be0 User create update and details view 2018-09-28 12:29:33 +02:00
Norman Jäckel
8bc7828e60
Merge pull request #3868 from tsiegleauq/remove_root_package-lock
Remove package-lock from root, add it to gitignore (fixes #3858)
2018-09-24 21:11:19 +02:00
Sean
781a2dcdf8
Merge pull request #3887 from jsaalfeld/categories
implementing categories
2018-09-24 10:53:30 +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
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
Jochen Saalfeld
48526d6c19
implementing categories 2018-09-20 11:22:24 +02:00
Finn Stutzenstein
849da27745
Merge pull request #3877 from tsiegleauq/views
Create more list views
2018-09-18 11:52:10 +02:00
Sean Engelhardt
80cfeaac35 Create more list views
Also:
- Update dependencies
- Clean up proxy file
2018-09-18 10:21:59 +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
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
FinnStutzenstein
9226874010 Expose the workflow id during motion serialization 2018-09-06 13:39:16 +02:00
Norman Jäckel
4feb2a8e21
Merge pull request #3828 from ostcar/super_fastest_even_faster
Faster then fastes big_mode (with tests)
2018-09-04 21:14:00 +02:00
Finn Stutzenstein
32c7959b1c
Merge pull request #3849 from FinnStutzenstein/constructors
less constructors
2018-09-04 14:58:32 +02:00