summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/ThemingDefaults.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Provide the proper language to the mailerRoeland Jago Douma2020-04-161-2/+2
| | | | | | | Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-9/+10
| | | | | | | | | | | | | | | 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>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use themed favicon-fbJulius Härtl2020-01-211-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headersChristoph Wurst2019-12-051-1/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove some whitespaceDaniel Kesselberg2019-11-241-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* add var for theming images , advanced optionsGuillaume COMPAGNON2019-11-241-3/+3
| | | | Signed-off-by: Guillaume COMPAGNON <gcompagnon@outlook.com>
* Cleanup theming messRoeland Jago Douma2019-10-251-4/+1
| | | | | | | | | | * Do not do translations in the constructor. This gets called to early so there is no user yet. Which means we can't obtain the locale. Which means we store the wrong translation instance. * Same for the theming app magic. Just use the parent call when needed. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* make sure that the urls for theming images are validRobin Appelman2019-10-181-4/+10
| | | | | | | | In some circumstances the url generation seems to fail, resulting in an empty image url which causes the browser to load the main page multiple times, leading to issues with state tokens Signed-off-by: Robin Appelman <robin@icewind.nl>
* Only return link to themed icon if file existsJulius Härtl2019-06-261-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Properly theme folder icons that are accessed though imagePathJulius Härtl2019-06-111-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add guest navigation typeJulius Härtl2019-02-181-1/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use default favicon on sharing pagesJulius Härtl2018-10-111-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Updates inverted logo handling to work like the app iconsMichael Weimann2018-10-021-20/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Moves the logo files to logoMichael Weimann2018-10-021-4/+4
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Switches the default logo color depending on the primary colorMichael Weimann2018-10-021-1/+19
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Remove filter_var flags due to PHP 7.3 deprecation, fixes #10894Patrik Kernstock2018-09-041-4/+2
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Theming: Fix footer testsJulius Härtl2018-08-271-2/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Theming: Only Entity in footer if a url is setJulius Härtl2018-08-271-3/+7
| | | | | | fixes #10024 Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Theming update on urlJohn Molakvoæ (skjnldsv)2018-06-201-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Minor fixes and cleanupJulius Härtl2018-06-061-15/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Generate PNG version of the theming app logo for mailsJulius Härtl2018-06-051-16/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* addjust footer height when legal links are present. fixes #9572Arthur Schiwon2018-05-241-2/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* also add a privacy linkArthur Schiwon2018-05-241-8/+29
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* allow to specify a link to a legal noticeArthur Schiwon2018-05-091-0/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make sure the custom favicon is usedJulius Härtl2018-04-191-2/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add typehintsJulius Härtl2018-04-191-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Return valueJulius Härtl2018-04-191-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move to more generic image handling and add extra imagesJulius Härtl2018-04-191-22/+18
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Clear any theming prefixed cache on cache buster increaseJulius Härtl2018-03-261-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use cache prefix for theming as wellJulius Härtl2018-03-071-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix tests to use ICacheFactoryJulius Härtl2018-03-071-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move base url from global cache prefix to frontend related onesJulius Härtl2018-03-071-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not rewrite absolute URLsJulius Härtl2018-01-261-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* More detailed theming capabilitiesJulius Härtl2018-01-101-12/+3
| | | | | | This will allow clients to easily check if a custom background is used Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Also replace all other occurencesMorris Jobke2017-12-181-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix email buttons for white themeMorris Jobke2017-12-111-6/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6788 from staabm/masterLukas Reschke2017-11-081-1/+1
|\ | | | | Prevent XSS in links which open a new browser window
| * Prevent XSS in links which open a new browser windowMarkus Staab2017-10-191-1/+1
| |
* | Update license headersMorris Jobke2017-11-061-0/+11
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use theme methods "getTitle" and "getEntity" as fallback if name is not themed.Joachim Bauch2017-09-131-2/+8
| | | | | | | | This fixes an issue with custom filesystem themes that can define title, name and entity differently, but the theming app was only using the name as fallback (see #5374). Signed-off-by: Joachim Bauch <bauch@struktur.de>
* Use IAppManager instead of private APIJulius Härtl2017-09-121-7/+17
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move theming related imagePath logic to ThemingDefaultsJulius Härtl2017-09-121-0/+30
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Use separate element color in themingJulius Härtl2017-09-041-0/+1
| | | | | | This way we can use a grey color when the primary color is to bright Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update background image to the one used on the websiteJan-Christoph Borchardt2017-08-291-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Add Android and iOS URLs to theming appMorris Jobke2017-07-191-0/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow overwriting of IOS theming valuesRoeland Jago Douma2017-07-191-1/+20
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Scale logo only for custom onesJulius Härtl2017-05-191-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>