Commit Graph

76 Commits

Author SHA1 Message Date
Sean
42dd397fae Update to Angular 10
Update @angular/core @angular/cli
Update material, search-select, cdk, ngrid
Update localstorage
Update rxjs
Update ngx-translate
Update ngx-translate-extract
Update @schematics/angular
Update some deps
Update dev deps
Fix css imports, lint
Downgrad CDK and Material for ngrid
Update docker
Provide pdf worker
Move static file output to django folder
Update readme / used files
Update package-lock.json for npm ci
2020-09-23 10:29:57 +02:00
Sean
7bf8e880fd Update supported browsers
Push latest Firefox ESR as latest supported browser
Push opera 70 as latest supported browser
2020-08-21 16:15:50 +02:00
Emanuel Schütze
cb8f219163 Updated translations 2020-07-02 21:44:22 +02:00
Sean
f5654f3a8c Add "login anyway" button
Skip browser warning easier.
2020-07-01 12:22:37 +02:00
Sean
b9fbf4209b Cleanup theming related code
Enhance color usage, add more default themes, add solarized theme
2020-06-16 12:56:08 +02:00
Emanuel Schütze
c1605929e9
Merge pull request #5410 from tsiegleauq/better-login-page
Add better login page
2020-06-12 15:13:41 +02:00
Sean
7d3280707d
Merge pull request #5414 from tsiegleauq/support-chrome-80
Lower chrome/chromium support version to version
2020-06-12 11:08:26 +02:00
Sean
13cbece9d9 Lower chrome/chromium support version to version
Lowers the supported version for chrome and chromium based browsers to
80. Keep in mind that you can always skip the checks!
2020-06-12 10:50:36 +02:00
Sean
5ed9c88ae4 Add better login page
Themes now cover the login page
more responsive on both large, small and smalest screens
the footer behaves like a footer
2020-06-12 10:23:10 +02:00
Emanuel Schütze
ff4324117e Updated translations. 2020-06-11 17:23:42 +02:00
Sean
9387a3f394 Catch unsupported browsers
unspoorted browsers trying to access the login mask will be forwarded to
an info page.
The info page shows that the browser is not suppoted and hints the smallest
supported version of their current browser.
As it works best and might prevent some support calls, I added an hint
for chrome as the favored browser by OpenSlides (debateable)

To update/downgrade the supported versions, simply edit the enum in the
service.

If we cannot detect the browser, we assume it was supported.
2020-06-11 14:39:14 +02:00
Emanuel Schütze
53b4b1c1f9 Updated translations. 2020-04-07 07:56:51 +02:00
Sean
820a47123a Fix malfunctions in Firefox ESR
Various cryptic issues that had no usefull debug output.

ngx-translates "translate" directive was causing Firefox ESR
to jump in the "drainMicroTaskQueue" infinite recursion when
using the directive in the same component as nGrid.

Therefore, I changed all uses of the translate directive
to the pipe (arround 700 or so, regex is my best friend now)

open todo: adjust the linter that we may never use the translate
directive again.

There was another cryptic issue with the current version
of exceljs which was also causing firefox to go crash
when loading a workbook object. It was sufficient to
have any Workbook() function declared in a module to cause
firefox to crash.
2020-04-06 20:36:24 +02:00
Sean Engelhardt
e1acf6e9d6 Update to Anulgar 9
Updates Angular to version 9.1
Updates most-to-all npm components
Removes deprecated components and npm commands
Updates travis node version
Adjust the whole code base to angular 9 standard
Increase TypeScipt version to 3.8
2020-04-01 14:50:15 +02:00
FinnStutzenstein
4a77bf1a61 saml 2019-10-21 13:34:01 +02:00
GabrielMeyer
fe55faa884 Fixes high cpu usage on 'projector-detail'
- Also improving showing the spinner to have a slightly better UX.
2019-09-16 09:14:58 +02:00
Emanuel Schütze
03ab36096f Use openslides.com 2019-09-13 13:58:09 +02:00
GabrielMeyer
97d0f92430 Fixes loading of data and hiding spinner 2019-09-12 13:52:45 +02:00
Emanuel Schütze
d7105d91c9 Updated translations 2019-08-30 11:26:29 +02:00
GabrielMeyer
5f29732e26 Implements the global 'super-search.component'
- Moves the 'spinner.component' to 'site.component'
- Replaces also the 'spinner.service' with an 'overlay.service', that handles all request to
show an element on an overlay.
2019-08-26 11:30:20 +02:00
Emanuel Schütze
c0aaa2d53c Updated translations 2019-08-21 15:11:57 +02:00
FinnStutzenstein
51a3fbdf3e New linting rules and ordering of imports 2019-07-30 09:53:14 +02:00
GabrielMeyer
b5b3e60e81 Fixes some UI issues corresponding to the theme
- Fixes white page at 'legalnotice' and 'privacypolicy'
- Fixes the button to collapse the sidenav
- Fixes a too long text in the headbar
- Reworked the login data service:
    * make order of operations clear
    * prevent setting invalid data into the storage
2019-07-26 11:47:04 +02:00
FinnStutzenstein
a60719bcc4 Added error message for connection refused errors sending emails 2019-07-23 14:12:05 +02:00
GabrielMeyer
f23b901622 Fixes some autocompleted inputs 2019-07-17 08:32:46 +02:00
Sean Engelhardt
bc0fea3310 Update to Angular 8.0.6
Updates to angular 8 and updates all used components

- removed wrapper class for ngx/pwa LocalStorrace
- removed database lock service due to bugs
- tried to work around a cycle of dependancies
- changed some structure to be more close to default angular
- removed legacy angular packages
- removed date-picker since it was not currently used and
  is not compatible anymore
- upgrade tinyMCE
2019-07-04 14:20:57 +02:00
GabrielMeyer
4fc7731f1a Ensures theming of components
- If there is no theme applied, the default theme is loaded and applied.
2019-06-17 14:48:34 +02:00
GabrielMeyer
6aa2508e39 Improves the SpinnerComponent
- The AppComponent listens to `stable`-state and `user` to determine whether the spinner should be hidden.
- Show the spinner only if the login data are correct.
- If the user is anonymous, the spinner will be hidden when the app is stable.
2019-05-28 12:05:57 +02:00
Emanuel Schütze
1faf088eca Added redesigned OpenSlides logo (svg only) 2019-05-07 22:01:16 +02:00
GabrielMeyer
376f4e2a31 Implements a mechanism for a fallback theme
- If the previously selected theme is not available the default OpenSlides theme will be displayed.
- Before the current selected theme was loaded, no theme is displayed.
2019-05-07 17:32:28 +02:00
Sean Engelhardt
5d35a0fa5f Fix certain permission checks
Fixed permissions in topic detail, agenda list and user detail.
Fixes Z-Level of head bar and mat-spinner.
2019-03-14 17:50:33 +01:00
Finn Stutzenstein
6d66ec5b5d
Merge pull request #4493 from FinnStutzenstein/baseComponent
Cleanup optional parameter from BaseComponent
2019-03-12 12:41:09 +01:00
FinnStutzenstein
eb4537c1bf rework login system (again) 2019-03-11 13:45:17 +01:00
FinnStutzenstein
64eab79d3b Cleanup optionalparameter from BaseComponent 2019-03-11 10:49:57 +01:00
FinnStutzenstein
a1018e62e2 Added theme to login data 2019-03-08 09:19:05 +01:00
FinnStutzenstein
0c6a7b9c4b offline operator 2019-03-06 07:50:54 +01:00
Sean Engelhardt
6a78d65dc3 Remove redundant Submits
Remove concurrent ngSubmit
Some cleanup and code alignment
2019-02-14 14:17:17 +01:00
Sean Engelhardt
06bfa314cb Allow reload on login children
Fixes a bug where the user was always redirected to
/login/ as unknown user, when they tried to
load children from login page from an external references.
2019-02-04 15:17:03 +01:00
Emanuel Schütze
ac96ba8d3a Updated translations 2019-02-03 22:12:26 +01:00
FinnStutzenstein
7ce1eb592f Count active users via notify (for admins only), absolute imports 2019-02-02 08:17:36 +01:00
FinnStutzenstein
84974d7687 A little bit of cleanup 2019-02-01 11:02:24 +01:00
FinnStutzenstein
97f60c1e6c Restructure the client, register Repositories and map to collection
strings.
2019-02-01 10:19:17 +01:00
Sean Engelhardt
92fab5102a Add loginNotice as div
Remove the snackbar, restructure the template code for login mask
and adds a div with the login notice
2019-01-31 10:33:37 +01:00
Emanuel Schütze
23f7dce6a2 Fixes for using pypi package
- Fix static path for manifest and login logo.
- Use insecure=True (required to serve static files via development
  server with DEBUG=False).
2019-01-20 09:37:42 +01:00
Emanuel Schütze
1ff84c1ae1 UI improvements 2019-01-11 16:51:43 +01:00
Maximilian Krambach
e0e88ce891 fix login not responding to errors 2019-01-10 14:04:10 +01:00
FinnStutzenstein
1c895fbea8 run prettifier 2019-01-10 12:54:48 +01:00
FinnStutzenstein
7a56e6c3c0 travis.. 2018-11-30 10:28:14 +01:00
FinnStutzenstein
c78de2138f planar call list and HTML cleanup 2018-11-09 10:11:57 +01:00
Emanuel Schütze
128f17e7a4 Updated German translations and translatable strings 2018-11-08 18:50:06 +01:00