Commit Graph

173 Commits

Author SHA1 Message Date
FinnStutzenstein
bf9973a4a7 Subcategories 2019-06-12 14:37:19 +02:00
Emanuel Schütze
708de917e1 Updated translations 2019-05-31 11:09:31 +02:00
FinnStutzenstein
658b1a360d Internal flag for motion blocks
- ServerSide
- Adds the 'internal'-flag to the edit view of motion blocks
2019-05-28 15:24:22 +02:00
FinnStutzenstein
9f12763f8b Split AgendaItem and ListOfSpeakers
Server:
- ListOfSpeakers (LOS) is now a speprate model, containing of an id,
speakers, closed and a content_object.
- Moved all speaker related views from ItemViewSet to the new
ListOfSpeakersViewSet.
- Make Mixins for content objects of items and lists of speakers.
- Migrations: Move the lists of speakers from items to the LOS model.

Client:
- Removed the speaker repo and moved functionality to the new
ListOfSpeakersRepositoryService.
- Splitted base classes for agenda item content objects to items and
LOS.
- CurrentAgendaItemService -> CurrentListOfSpeakersSerivce
- Cleaned up the list of speakers component.
2019-05-24 08:21:59 +02:00
Emanuel Schütze
31274873f1
Merge pull request #4719 from FinnStutzenstein/chyronColor
Added custom color for the projector chyron and reset buttons for colors
2019-05-20 22:12:32 +02:00
FinnStutzenstein
e267279f60 Added custom color for the projector chyron and reset buttons for colors 2019-05-20 21:50:03 +02:00
Maximilian Krambach
014701442c refactor poll calculations 2019-05-20 11:31:27 +02:00
FinnStutzenstein
10c329da8d fix tree sorting
Assigns the weight in the preorder traversal of the tree. Now one without every
object (e.g. missing motions/items) still have the correct sorting. Intorduces
the level attribute of items giving the amount of parents in the agenda. This
allows to reduce complexits in the client.
2019-05-15 14:14:32 +02:00
Maximilian Krambach
f00303d753 include global abstain/no option
election polls with 'one vote per candidate' should have a
 global no/abstain option
2019-05-02 10:51:00 +02:00
FinnStutzenstein
76880100f5 Sort motions in categories 2019-04-30 14:14:41 +02:00
FinnStutzenstein
44b683e361 Add attachments to assignments 2019-04-29 10:31:28 +02:00
Maximilian Krambach
d1eed23158 last_email_sent display and resend email 2019-04-27 21:16:28 +02:00
FinnStutzenstein
a715c0e432 Refresh clients cache when the database was migrated 2019-04-15 16:13:52 +02:00
FinnStutzenstein
9cfc0bbd42 Background structure for assignments
- moved some components
- added consistend namin scheme: (View)Assignment, (View)AssignmentPoll
(View)AssignmentPollOption and (View)AssignmentRelatedUser.
- Added precisionPipe, which needs to be added everywhere.
- Cleaned up converting deciml fields (as strings in the REST API) to
floats
- The repository creates the View* structure and enabled user updates.
2019-04-15 10:29:26 +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
Sean Engelhardt
054f76a5d4 Cleanups and enhancements
Cleans up and reviews some methods
2019-04-08 10:16:48 +02:00
Maximilian Krambach
52193e9fb2 Assignments 2019-04-08 10:16:46 +02:00
Finn Stutzenstein
fc3098b08f
Merge pull request #4560 from FinnStutzenstein/removeChatMessageClient
Remove the ChatMessage from the client
2019-04-02 13:24:55 +02:00
FinnStutzenstein
2c73b9b781 Remove the ChatMessage from the client 2019-04-02 12:28:19 +02:00
FinnStutzenstein
cee6d55b82 Projectiondefaults, width slider direct save 2019-04-01 08:48:52 +02:00
Sean
ae3ce54f57 workflow table state sort
Sorts the Workflow table to be more predictable

Adds new shared SCSS table rules.
Adds a default with as 100% (there have never been half tables)
Overwrites the rules for sticky tables
2019-03-13 15:54:35 +01:00
Emanuel Schütze
5139fe8365 Updated tranlstions 2019-03-11 12:28:34 +01:00
Tobias Hößl
6b685924d9 Bugfix: Amendment statuses 2019-03-09 22:48:21 +01:00
FinnStutzenstein
9198058bd7 Search in related objects 2019-03-04 13:36:34 +01:00
FinnStutzenstein
43f084438d clean up stable projectorelements, if they have an error 2019-03-01 13:03:55 +01:00
Maximilian Krambach
44d16eb244 countdown: new title field, description optional 2019-03-01 11:22:09 +01:00
Sean Engelhardt
03c590c66d Speaker repo
Add an own repository service to manage speakers
2019-02-28 14:26:31 +01:00
FinnStutzenstein
f039293c09 current speaker chyron 2019-02-26 21:56:59 +01:00
Sean Engelhardt
b9923201e4 Add small fixes
Fixes an error where the back arrow in the motion block detail was missing
Adds a prompt before deletion of Change Recommendation in motion details
Adds timestamp localisation for history mode
2019-02-25 14:19:57 +01:00
FinnStutzenstein
7ef36e93c6 List of speakers slide 2019-02-21 12:34: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
Finn Stutzenstein
9e794c4669
Merge pull request #4344 from FinnStutzenstein/countdowns
Countdown slide and controls
2019-02-15 12:37:23 +01:00
FinnStutzenstein
2801e28704 Countdown slide and controls 2019-02-15 12:21:23 +01:00
FinnStutzenstein
f0e6afb533 Fixed submitter ids name clash 2019-02-14 13:45:52 +01:00
FinnStutzenstein
d932d6e907 Fixes submitters 2019-02-14 10:24:39 +01:00
FinnStutzenstein
cc4d5a5739 Fix issues with minification 2019-02-12 09:28:54 +01:00
Sean
fbcc80a3a0
Merge pull request #4286 from FinnStutzenstein/cleanup
Removed OpenSlidesComponent
2019-02-11 12:10:21 +01:00
FinnStutzenstein
090bf49d97 Removed OpenSlidesComponent 2019-02-08 18:31:46 +01:00
FinnStutzenstein
424e7945be translate models 2019-02-08 17:28:23 +01:00
FinnStutzenstein
3ba8636acf Allow motions to go a state back 2019-02-08 11:58:11 +01:00
FinnStutzenstein
d0991936d6 ViewModelStore, register repositories, improve view model relations 2019-02-08 11:02:56 +01:00
Sean Engelhardt
b82c2e78b0 Add motion workflow creator (WIP) 2019-02-07 16:36:33 +01:00
Maximilian Krambach
056a20964c improve start time and duration display for finished speakers 2019-02-06 17:01:15 +01:00
Maximilian Krambach
66a1ac1532 estimated duration, and datetimepicker in config 2019-02-05 13:49:48 +01:00
FinnStutzenstein
7ce1eb592f Count active users via notify (for admins only), absolute imports 2019-02-02 08:17:36 +01:00
Maximilian Krambach
ba6d3da8f0 navigate to detail view after setting the history mode
(if a detailView is existant)
2019-02-01 14:42:19 +01:00
FinnStutzenstein
97f60c1e6c Restructure the client, register Repositories and map to collection
strings.
2019-02-01 10:19:17 +01:00
FinnStutzenstein
582d4d7c4a Projector reference for CLOS 2019-02-01 09:47:59 +01:00
FinnStutzenstein
b921b771d6 projector cleanup 2019-01-31 12:41:04 +01:00
Sean Engelhardt
b5ea837e0a Update to angular 7.2.2
- updates the dependancien in package.json
- Angular is now compatible with current typescript
- Jasmine/Karma supports LazyLoading again
2019-01-30 12:54:25 +01:00
FinnStutzenstein
965d23be50 more work on projector, countdowns, clos
- splitted clos-slide and clos-overlay.
- Synchronize to server, more little changes
2019-01-29 16:10:21 +01:00
Maximilian Krambach
8796d728d9 category prefix is currently optional 2019-01-29 13:50:27 +01:00
FinnStutzenstein
22182463a9 cleanup, removed motion log from client 2019-01-25 08:39:50 +01:00
Emanuel Schütze
c48148fc01
Merge pull request #4169 from tsiegleauq/gender-client
Add gender field to users
2019-01-22 13:35:25 +01:00
Maximilian Krambach
caed18ef03 set/read state+recommendation extensions 2019-01-22 13:01:00 +01:00
Sean Engelhardt
07ca50441a Add gender field to users
Alters the user detail view and the list of speakers to
support the gender field.
Default selection of genders was set to "Female", "Male"
and "Diverse".
Adding genders to users is completely optional
2019-01-22 12:57:47 +01:00
Emanuel Schütze
2c5ea299e3 Show username if full_name or last_name is empty.
important for create-example_data
2019-01-21 16:01:16 +01:00
Oskar Hahn
209105efc3
Merge pull request #4103 from FinnStutzenstein/client-projector-ui
Client projector ui (WIP)
2019-01-20 11:39:49 +01:00
FinnStutzenstein
74e0bea108 Wirst work for the projector system on the client 2019-01-19 21:26:05 +01:00
Maximilian Krambach
6d18d70845 sort by date in motion 2019-01-19 21:21:20 +01:00
Maximilian Krambach
53a8392e33 motion detail imrovements 2019-01-18 20:58:35 +01:00
Maximilian Krambach
c52fdaae6c csv-import for user and agenda(topics) 2019-01-18 13:15:54 +01:00
Maximilian Krambach
d5101714d1 motion polls 2019-01-17 14:03:34 +01:00
Emanuel Schütze
e8a4480014
Merge pull request #4099 from FinnStutzenstein/motion-title-fix
fixed motion title in agenda
2019-01-11 16:02:10 +01:00
FinnStutzenstein
1c895fbea8 run prettifier 2019-01-10 12:54:48 +01:00
FinnStutzenstein
ebe068155a fixed motion title in agenda 2019-01-10 12:50:12 +01:00
Maximilian Krambach
59ec1c552a sorting and filters for listViews 2019-01-08 11:08:01 +01:00
Maximilian Krambach
c56a2880a4 simpler csv export option for agenda type 2018-12-19 09:32:56 +01:00
Maximilian Krambach
eeb0afa499 agenda csv export 2018-12-17 11:34:31 +01:00
Sean
3a2df3b731
Merge pull request #4059 from tsiegleauq/agenda-list-controls
Add controls to agenda list
2018-12-16 20:55:28 +01:00
Sean Engelhardt
a338884a62 Add controls controls to agenda list
Adds information about duration, visibility and comment to agenda list view
Allows channg these information over a dialog component on the
information column
2018-12-16 19:35:37 +01:00
Jochen Saalfeld
2c16d1893e
Merge pull request #3991 from Fadiabb/full-text-search
adding full search component
2018-12-13 13:16:01 +01:00
Fadi Abbud
f5ee0daf00 adding full search component 2018-12-13 12:40:51 +01:00
Emanuel Schütze
b900dfcba3
Merge pull request #4050 from FinnStutzenstein/remove_action_word
removed action word from states
2018-12-13 10:05:11 +01:00
Sean Engelhardt
00db199947 Motion Attachments + Restructure 2018-12-10 17:54:49 +01:00
Sean Engelhardt
03508c903f Add motion blocks 2018-12-06 12:28:06 +01:00
FinnStutzenstein
362e2f154f removed action word from states 2018-12-06 11:47:33 +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
212bce1c08 rework motion submitters to clear confusion about creation and normal update.
Also docs and cleanup
2018-11-30 09:47:21 +01:00
Tobias Hößl
afad235bad Show amendments in detail view 2018-11-29 14:11:27 +01:00
Tobias Hößl
d3fc006ddc Creating / Editing statute paragraph amendments 2018-11-20 14:40:01 +01:00
Sean Engelhardt
d968761377 Speaker indicators in Lists 2018-11-12 18:01:04 +01:00
Sean Engelhardt
71e8ccab9c Fix broken nested agenda speaker 2018-11-12 13:54:11 +01:00
Sean
55d279ca4e Create agenda topics
Also:
Enhanced DragNDrop Component
List Of Speakers
2018-11-08 14:54:13 +01:00
FinnStutzenstein
430dbc1dff motion comments and personal note in the motion detail view 2018-11-01 13:09:09 +01:00
FinnStutzenstein
e59497bc54
Setting change recommendations internal 2018-10-29 20:33:40 +01: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
Sean Engelhardt
faef3ac97e Hotfix for MotionStatute 2018-10-12 13:11:05 +02:00
FinnStutzenstein
f7d392f1fc New motion features
- Added weight and sort_parent fields to the motion model
- Added motion sort view (adapted from agenda)
- Added statute-paragraph model and tests for it
- Added statute_paragraph foreign key to the motion model
- Created migrations for sorting and statute-paragraph
2018-10-12 07:15:58 +02:00
sean
33922f1abf Add group matrix.
Create, Read, Update, Delete works
2018-10-09 13:36:30 +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