summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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>
* 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-195-166/+183
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #8993 from nextcloud/theming-allow-ui-with-themeRoeland Jago Douma2018-03-271-1/+1
|\ | | | | Show UI when using a custom theme
| * Show UI when using a custom themeJulius Härtl2018-03-261-1/+1
| | | | | | | | | | | | Do not hide the theming app UI when using a custom theme besides it, but warn the users about some settings being overwritten by that. 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>
* Update ThemingController.phprakekniven2018-03-191-1/+1
| | | Changed file according to discussion on PR.
* Update ThemingController.phprakekniven2018-03-161-3/+3
| | | | Changed wording according to discussion at Transifex. See https://www.transifex.com/nextcloud/nextcloud/translate/#de/$/121491259?issue=yes Aligned ending of error messages
* Update ThemingController.phprakekniven2018-03-101-1/+1
| | | | Improved translation string. Reported at Transifex. See https://www.transifex.com/nextcloud/nextcloud/translate/#de/$/121491256?issue=yes
* 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>
* Remove null checkKyle Fazzari2018-02-251-7/+2
| | | | Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
* theming: handle not being in the serverrootKyle Fazzari2018-02-201-3/+15
| | | | | | | | | | | | | | Currently, the theming app assumes it's in the serverroot. However, with Nextcloud's flexibility regarding configurable app paths, this is not a safe assumption to make. If it happens to be an incorrect assumption, the theming app fails to work. Instead of relying on the serverroot, just use the path from the AppManager and utilize relative paths for assets from there. Fix #8462 Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
* Remove unused import statementsMorris Jobke2018-02-142-3/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8078 from nextcloud/theming-validate-scssMorris Jobke2018-01-291-2/+2
|\ | | | | SCSS hardening
| * Do not rewrite absolute URLsJulius Härtl2018-01-261-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Remove theming migrationJulius Härtl2018-01-261-77/+0
|/ | | | | | Those images are alredy migrated after the instance has been updated to NC12 Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Theming: adjust background image resizingJulius Härtl2018-01-191-6/+4
| | | | | | | | Support high resolution login images by resizing only images that are wider than 4096px fixes #7459 Signed-off-by: Julius Härtl <jus@bitgrid.net>
* More detailed theming capabilitiesJulius Härtl2018-01-103-12/+17
| | | | | | This will allow clients to easily check if a custom background is used Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #7705 from nextcloud/theming-calc-adjustMorris Jobke2018-01-091-8/+27
|\ | | | | Adjust theming color calculations using sRGB luma
| * Adjust theming color calculations using sRGB lumaJulius Härtl2018-01-081-8/+27
| | | | | | | | | | | | based on https://robots.thoughtbot.com/closer-look-color-lightness Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix SCSS processing when undoing theming valuesJulius Härtl2018-01-091-1/+1
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix faulty path in theming scss generationJulius Härtl2018-01-051-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>