Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 anos atrás
Roeland Jago Douma
b5fd75f2be
Move accessibility over to the new way
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 anos atrás
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 anos atrás
Daniel Kesselberg
6f8147b18f
Fix some MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 anos atrás
Julius Härtl
57075fa54d
Load accessibilityoca script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 anos atrás
Christoph Wurst
58b8b00798
Use \OCP\IContainer::injectFn to boot the Accessibility app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 anos atrás
Joas Schilling
220423e0a5
Fix dark mode for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 anos atrás
Roeland Jago Douma
c30bab34e6
Move accessibility js route to static js and initial state
Yet again another js file that doesn't have to be served via nextcloud.
But can just be done via the webbrowser.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 anos atrás
Christoph Wurst
0587010dff
Migrate Accessibility app to new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Joas Schilling
291640273d
Respect "prefers-color-scheme" media selector for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 anos atrás
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Christoph Wurst
2fbad1ed72
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Christoph Wurst
74936c49ea
Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Joas Schilling
150082397e
FIx logging in accessibility controller
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 anos atrás
Joas Schilling
16482efc27
Do not use translation-concatenation
it's as bad as the word itself sounds
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 anos atrás
Christoph Wurst
30d985b639
Migrate leafo/scssphp to scssphp/scssphp
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 anos atrás
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 anos atrás
John Molakvoæ (skjnldsv)
836e7305d0
Fix accessibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 anos atrás
Janis Köhr
d75fbab5d2
Removed duplicate defintion of app name and rebased/rebuilt.
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
4 anos atrás
Janis Köhr
4a1ce95464
Added copyright for contribution
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
4 anos atrás
Janis Köhr
adb3e59a01
Change name of high contrast theme to high contrast mode
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
4 anos atrás
Janis Köhr
ae9523c6ce
Add highcontrast style for dark mode
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
4 anos atrás
Janis Köhr
9872154e01
Changed highcontrast from array (theme) to object (flag/filter)
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
4 anos atrás
Janis Köhr
df246f1110
Added migration step
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
4 anos atrás
Janis Köhr
567b224df4
Add theme class for selected theme to body, fix for accessibility theme selection and separated highcontrast theme
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
4 anos atrás
Greta Doci
ddbdc21ccf
Remove beta from dark theme name ref #16076
Signed-off-by: Greta Doci <gretadoci@gmail.com>
4 anos atrás
John Molakvoæ (skjnldsv)
3bb2c87648
Do not cut full color on accessibility svg color invert
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 anos atrás
Jan-Christoph Borchardt
4b88ac4d2a
Accessibility: Simplify design, more obvious selectability
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 anos atrás
Thomas Citharel
f383a961f0
Don't require Same Site Cookies on accessibility assets
Follows https://github.com/nextcloud/server/pull/11878
5 anos atrás
Julius Härtl
4b7ef668a4
Adjust accessibility app color replacement
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 anos atrás
Julius Härtl
d21ded67a7
Keep list of icons in a separate file for use in the accessibility app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 anos atrás
Roeland Jago Douma
3ac15a45ea
If there is no UID do not explode accessibility javascript
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 anos atrás
Alexey Pyltsyn
30cbd137e8
Fix illegible text color in columns Size and Modified on dark theme: rework after review
Signed-off-by: Alexey Pyltsyn <lex61rus@gmail.com>
5 anos atrás
John Molakvoæ (skjnldsv)
cf06e313ee
Added cache override to ensure an always up-to-date accessibility css
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 anos atrás
Julius Härtl
e8938df198
Move SCSS variable fetching before the variables.scss to properly calculate color values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 anos atrás
John Molakvoæ (skjnldsv)
a7c426aa5c
Add default theming into accessibility compiler
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 anos atrás
John Molakvoæ (skjnldsv)
cd6f00a102
Only dark
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 anos atrás
John Molakvoæ (skjnldsv)
a24cad1a1c
Fix accessibility invert
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 anos atrás
John Molakvoæ (skjnldsv)
9e5885963c
Fixed icons detection and caching
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 anos atrás
John Molakvoæ (skjnldsv)
8977c71f88
Mixin scss icon api
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 anos atrás
Jan-Christoph Borchardt
82047f2d43
Clarify beta state of dark theme
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 anos atrás
John Molakvoæ (skjnldsv)
6806c589d0
Merging highcontrast themes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 anos atrás
John Molakvoæ (skjnldsv)
1de8f6dd37
Fix webroot
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 anos atrás
John Molakvoæ (skjnldsv)
2e08cc958c
Compliance
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 anos atrás
John Molakvoæ (skjnldsv)
fc0e62185c
Fixed webroot detection
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 anos atrás