summaryrefslogtreecommitdiffstats
path: root/lib/private/Template
Commit message (Collapse)AuthorAgeFilesLines
* Fix colorizeSvg with transformations that contain a comma (,)Joas Schilling2019-01-171-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* more caching for themingRobin Appelman2018-12-071-2/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Do not fail if the icon file doesn't existsJulius Härtl2018-11-121-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make sure to always load the latest icons-vars.css fileJulius Härtl2018-11-121-3/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Expose the info to the JSRoeland Jago Douma2018-11-021-3/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #12085 from nextcloud/add-gss-to-excluded-backendsMorris Jobke2018-10-301-1/+4
|\ | | | | add global site selector as user back-end which doesn't support password confirmation
| * add global site selector as user back-end which doesn't support password ↵Bjoern Schiessle2018-10-271-1/+4
| | | | | | | | | | | | confirmation Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Fix testsJulius Härtl2018-10-291-1/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix icon cacher url matchingJulius Härtl2018-10-291-14/+13
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Keep list of icons in a separate file for use in the accessibility appJulius Härtl2018-10-251-49/+85
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove default which didn't workJulius Härtl2018-10-251-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Properly track data urls as wellJulius Härtl2018-10-251-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Directly embed icons into the icon-vars css fileJulius Härtl2018-10-251-1/+48
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Load apps/APP/l10n/*.js and themes/THEME/apps/APP/l10n/*.jsMorris Jobke2018-10-221-0/+1
| | | | | | Before it quit right after finding the theme version of the l10n file which results in a not translated part of the UI. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix icons cacher regex for compressed outputJohn Molakvoæ (skjnldsv)2018-09-191-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move SCSS variable fetching before the variables.scss to properly calculate ↵Julius Härtl2018-08-291-2/+2
| | | | | | color values Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Icons cacher css url fixJohn Molakvoæ (skjnldsv)2018-08-071-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Append cache bump parameter to scss files URLJulius Härtl2018-08-011-1/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix regex for icon urlsJulius Härtl2018-07-261-2/+2
| | | | | | | | Use the version from the url rather than hardcoding v=1. Also allow uppercase chars in the url, so that uppercase hex color values will also be included Signed-off-by: Julius Härtl <jus@bitgrid.net>
* cache isCached state for scss resourcesRobin Appelman2018-07-241-11/+37
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* UppercaseJohn Molakvoæ (skjnldsv)2018-07-241-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix regex of iconsCacherJohn Molakvoæ (skjnldsv)2018-07-241-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Php code bumpJohn Molakvoæ (skjnldsv)2018-07-191-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix icon url regexJulius Härtl2018-07-191-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use proper URL prefix for iconsJulius Härtl2018-07-191-3/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-07-192-15/+12
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix accessibility invertJohn Molakvoæ (skjnldsv)2018-07-191-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed icons detection and cachingJohn Molakvoæ (skjnldsv)2018-07-191-5/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Mixin scss icon apiJohn Molakvoæ (skjnldsv)2018-07-192-36/+212
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Svg icon api sass function and upgrade of all stylesJohn Molakvoæ (skjnldsv)2018-07-191-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Svg color apiJohn Molakvoæ (skjnldsv)2018-07-191-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Issue #9318: catch exceptions in SCSSCacher::resetCache()Roland Tapken2018-05-021-1/+5
| | | | Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
* Use app version to generate scss filenameJohn Molakvoæ (skjnldsv)2018-03-281-5/+21
| | | | | | Fixed scsscacher tests Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Actually clear cache values for all base urlsJulius Härtl2018-03-072-8/+18
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Check if the cached js file existsRoeland Jago Douma2018-03-071-1/+8
| | | | | | | | | Fixes #8705 If the file does not exist (for whatever reason). It is never cached. No matter what the depscache etc tell you. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7363 from nextcloud/default-share-permsMorris Jobke2018-02-271-1/+11
|\ | | | | Let the admin configure the default share permissions
| * expose capabilities in jsBjoern Schiessle2018-02-271-1/+11
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Expose parameters as variables to templatesJulius Härtl2018-02-271-1/+4
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move depsCache clearing to SCSSCacher/JSCombinerJulius Härtl2018-02-032-6/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add repair step to clear frontend related cachesJulius Härtl2018-02-032-6/+24
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #8078 from nextcloud/theming-validate-scssMorris Jobke2018-01-291-16/+41
|\ | | | | SCSS hardening
| * Add typehinting an fix some minor cleanupJulius Härtl2018-01-261-16/+24
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Do not rewrite absolute URLsJulius Härtl2018-01-261-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Clear injectect variables when resetting the cacheJulius Härtl2018-01-261-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Make sure that injected variables do not break the CSS generationJulius Härtl2018-01-261-0/+15
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * SCSS files are only cached if their size is > 0Julius Härtl2018-01-261-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Simplify ternary operator statementsMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-2/+2
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fixes password input being prompted every time.Abijeet2018-01-081-0/+1
| | | | | | | | | Fixes #7106 - Echoing the current server time via a JS variable and storing the current time on page load in JS. - Calculating the diff and taking it into account when deciding whether to show the password confirmation. Signed-off-by: Abijeet <abijeetpatro@gmail.com>