Commit Graph

7 Commits

Author SHA1 Message Date
Sean Engelhardt
2b60b4ef4f simplify models, and datastore
- example on static functions and TS generics
- exmaple on data encapsulation and "single responsibility"
2018-08-15 10:19:46 +02:00
FinnStutzenstein
8b31fa15f2 First Idea for the DataStore 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
0b6996b700 Add WebSockets using rxjs/webSocket, autoupdate example 2018-08-15 10:19:46 +02:00
Sean Engelhardt
986e5f03b5 Add Material "Snackbar", restructure projector
- Since MaterialUI does not have an equivalent to bootstrap alterts,
the toast service and alert service are marked as deprecated for now.
The functionality has been replaced with the snackbar.
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
FinnStutzenstein
3f78ba1f3d Structural changes:
- AuthenticationService->AuthService
- removed underscore-directories
- put site related stuff into site/
- same for projector
- auth service went into a core/ directory, used by site and projector
- the alert is now not global anymore. Every view can have its own alert
- make the auth service query users/whoami for the current user
- made a new OpenSlides service for managing the startup
... A lot todo ...
2018-08-15 10:19:45 +02:00