summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* add var for theming images , advanced options (#16815)John Molakvoæ2019-11-262-2/+4
|\ | | | | add var for theming images , advanced options
| * 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-242-3/+5
| | | | | | | | Signed-off-by: Guillaume COMPAGNON <gcompagnon@outlook.com>
* | Some php-cs fixesRoeland Jago Douma2019-11-225-11/+11
|/ | | | | | | | | | | * 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>
* remove missed manual Application instance constructionsRobin Appelman2019-11-041-0/+28
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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>
* Validate urls in theming settings and properly handle error messagesJulius Härtl2019-07-311-36/+32
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* The array and string offset access syntax using curly braces is deprecated.Daniel Kesselberg2019-07-211-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* 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>
* Darken element color and add exception for primary buttonsJulius Härtl2019-03-271-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "Where is your data?"Roeland Jago Douma2019-03-201-0/+83
|
* Add guest navigation typeJulius Härtl2019-02-181-1/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move server info to theming sectionMichael Weimann2019-01-141-83/+0
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Don't require Same Site Cookies on assetsThomas Citharel2018-10-171-0/+2
| | | | | | | | Which can be used for public iframe embeeding See https://github.com/nextcloud/calendar/issues/169 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Use default favicon on sharing pagesJulius Härtl2018-10-111-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #10898 from ↵Morris Jobke2018-10-083-6/+5
|\ | | | | | | | | nextcloud/feature/10684/default-logo-color-theme-colors Switches the default logo color depending on the primary color
| * Adapts the theming util to the new core logo image pathMichael Weimann2018-10-041-2/+2
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Updates inverted logo handling to work like the app iconsMichael Weimann2018-10-022-23/+1
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Moves the logo files to logoMichael Weimann2018-10-022-7/+8
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Switches the default logo color depending on the primary colorMichael Weimann2018-10-022-1/+21
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Append error from exception for messageDaniel Kesselberg2018-10-031-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Fix call to loggerDaniel Kesselberg2018-10-031-1/+1
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #11042 from ↵Joas Schilling2018-09-131-4/+2
|\ | | | | | | | | nextcloud/bugfix/10894/php73-filter_var-deprecation Remove filter_var flags due to PHP 7.3 deprecation, fixes #10894
| * 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>
* | Disables SVG favicon uploads when imagemagick is missing.Michael Weimann2018-09-052-2/+20
|/ | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Make the default element color for bright theming colors lighterJulius Härtl2018-08-301-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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] reload css variables instead of the whole server cssJulius Härtl2018-06-201-6/+6
| | | | 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>
* Merge pull request #9258 from nextcloud/theming-logo-pngMorris Jobke2018-06-156-49/+100
|\ | | | | Convert theming app logo to PNG to show it properly in emails
| * Add info message if an exception occurs during the svg to png conversionJulius Härtl2018-06-141-1/+12
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Minor fixes and cleanupJulius Härtl2018-06-065-20/+14
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Use svg opt out as parameterJulius Härtl2018-06-052-10/+13
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Adjust ImageManager tests for png generationJulius Härtl2018-06-051-6/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Generate PNG version of the theming app logo for mailsJulius Härtl2018-06-053-21/+67
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix possible test timing issues in IconControllerRoeland Jago Douma2018-06-131-6/+0
| | | | | | | | | | | | | | Since the response now handles the caching. We need to provide a default ITimeFactory mock. Else you might have failing tests. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Mock the timefactory in the theming testsRoeland Jago Douma2018-06-071-5/+0
|/ | | | | | | Now that the cache logic is moved to the theming controller we must properly overwrite this service. Else it could do :boom: in tests. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix usageRoeland Jago Douma2018-06-042-29/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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-243-8/+41
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #9437 from nextcloud/feature/noid/imprintRoeland Jago Douma2018-05-173-0/+26
|\ | | | | allow to specify a link to a legal notice
| * allow to specify a link to a legal noticeArthur Schiwon2018-05-093-0/+26
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Add Content-Disposition headerJulius Härtl2018-05-171-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Properly check mime type of the uploaded fileJulius Härtl2018-05-171-2/+3
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix theming testsJulius Härtl2018-04-192-8/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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-193-3/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>