Commit Graph

26 Commits

Author SHA1 Message Date
Sean Engelhardt
e2adc8911f Add NGrid UI for MediaFiles 2019-07-12 13:09:07 +02:00
FinnStutzenstein
56c1da352e Directories and access permissions for mediafiles 2019-07-12 13:08:07 +02:00
Emanuel Schütze
2cfff9e1b9 Template rework and fullscreen mode 2019-05-27 22:15:16 +02:00
FinnStutzenstein
469084a1b6 Work on the presentation controls 2019-05-27 16:08:14 +02:00
FinnStutzenstein
78d107e37c some controls, integrate the pdfviewer 2019-05-27 16:08:11 +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
Sean Engelhardt
d4e10702cc Cleanup Repos
Add an getViewModelListBehaviorSubject that simplifies
how to get most model lists in the view

unified update, delete and create methods and removed redundant code from the repos
(where it was possible)

cleaned up the motion detail to not directly use the DataStore

Add information about the "main model" to all ViewModels, to call the
correct constructor in the BaseRepo
2019-03-14 10:46:33 +01:00
FinnStutzenstein
9198058bd7 Search in related objects 2019-03-04 13:36:34 +01:00
FinnStutzenstein
2e0353618d Revive the global search.
Fixed leftovers from the viewModel restructure. Repositories always have a verboseName now. Does not implement new logic to follow related models (e.g. motions->submitters).
2019-02-28 08:56:03 +01:00
FinnStutzenstein
7ef36e93c6 List of speakers slide 2019-02-21 12:34:41 +01:00
FinnStutzenstein
d1508161d2 Basic mediafile slide 2019-02-15 14:41:56 +01:00
Sean Engelhardt
3909054f14 Adds "application" to font mime types
Adds 'application/font-woff', 'application/font-sfnt' to font detection.
Hotfix to support different server behavior.
2019-02-12 16:04:03 +01:00
FinnStutzenstein
cc4d5a5739 Fix issues with minification 2019-02-12 09:28:54 +01:00
FinnStutzenstein
424e7945be translate models 2019-02-08 17:28:23 +01:00
FinnStutzenstein
d0991936d6 ViewModelStore, register repositories, improve view model relations 2019-02-08 11:02:56 +01:00
FinnStutzenstein
7ce1eb592f Count active users via notify (for admins only), absolute imports 2019-02-02 08:17:36 +01:00
Sean
43e0f7943b
Merge pull request #4179 from MaximilianKrambach/mediafiles-filter
filter mediafiles by hidden status, and by 'pdf/not pdf'
2019-01-25 10:20:12 +01:00
FinnStutzenstein
22182463a9 cleanup, removed motion log from client 2019-01-25 08:39:50 +01:00
Maximilian Krambach
c1c0611d86 filter mediafiles by hidden status, and by 'pdf/not pdf' 2019-01-24 14:47:15 +01:00
André Böhlke
5d458e01d4 Extra check for type in updateValues 2019-01-19 16:26:18 +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
Sean Engelhardt
00db199947 Motion Attachments + Restructure 2018-12-10 17:54:49 +01:00
Sean Engelhardt
e791177ac5 Upload media files 2018-11-20 14:29:36 +01: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
Sean Engelhardt
80cfeaac35 Create more list views
Also:
- Update dependencies
- Clean up proxy file
2018-09-18 10:21:59 +02:00