aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/CSSResourceLocator.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-7/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-28/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Fix loading styles from core/css/Julius Härtl2023-02-201-2/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Drop 3rdparty root since it is unused and adjust testsJulius Härtl2022-12-071-2/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use single resource locator instanceJulius Härtl2022-12-071-8/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove SCSSCacherJohn Molakvoæ2022-05-131-36/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Migrate from ILogger to LoggerInterface in lib/privateCôme Chilliet2022-03-241-3/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the correct root to determinate the webroot for the resourceJoas Schilling2020-09-021-2/+2
| | | | | | | Since all the compiled routes are based on the server webroot, we have to use this, independent from which app this belongs to. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-4/+3
| | | | | | | | | | | | | | | 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>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove spaming debug logsJoas Schilling2019-03-151-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fixed webroot for scss filesJohn Molakvoæ (skjnldsv)2017-12-301-2/+2
| | | | | | Fixed tests Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #7061 from kyrofa/bugfix/6028/app_path_realpathMorris Jobke2017-11-141-0/+5
|\ | | | | {J,CS}SResourceLocator: account for symlinks in app path
| * CSSResourceLocator: account for symlinks in app pathKyle Fazzari2017-11-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Currently, if the app path includes a symlink, the calculated webDir will be incorrect when generating CSS and URLs will be pointing to the wrong place, breaking CSS. Use realpath when retrieving app path, and these issues go away. Fix #6028 Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
* | Update license headersMorris Jobke2017-11-061-0/+5
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix "webroot not found" when installed to the root of the webserverRobin Appelman2017-09-201-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix webroot throwJohn Molakvoæ (skjnldsv)2017-09-141-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix undefined variable $tmpRootAxel Helmert2017-09-121-5/+5
| | | | | | Refactoring of webroot detection left an unused variable. Fixes: #6415 Signed-off-by: Axel Helmert <info@luka.de>
* Refactor webroot detection in resource locatortux-rampage2017-09-061-32/+12
| | | | | | | | | | | The current implementation breaks installations with symlinks to directories inside the webroot (i.E. apps). With this change both variants, directory and symlinks, will be detected correctly. Fixes: #6028 Signed-off-by: Axel Helmert <axel.helmert@luka.de>
* Squashed the webroot fixSebastian Kostka2017-06-201-1/+1
| | | | Signed-off-by: Sebastian Kostka <sebastian.kostka@gmail.com>
* Stop infinit loop on invalid settings css/js fileJoas Schilling2017-05-191-0/+9
| | | | | | Don't try to find dirname of false... Signed-off-by: Joas Schilling <coding@schilljs.com>
* SCSS files don't exist on the default fs so just add them to theRoeland Jago Douma2017-03-101-1/+49
| | | | | | resource list Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Lower log levels of resource locatorRobin Appelman2017-02-031-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Appdata var fixJohn Molakvoæ (skjnldsv)2017-01-241-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove unused webrootJohn Molakvoæ (skjnldsv)2017-01-241-3/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Enable every app to generate their scss fileJohn Molakvoæ (skjnldsv)2017-01-221-6/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Removed jquery scssJohn Molakvoæ (skjnldsv)2017-01-101-6/+11
| | | | | | | | | | - Switched to setup.css - Disable scss when displaying the update page - Improved setup css - Fixed loading failure of other styles on setup & update page - Improved scss compiler with an ignore scss compilation option Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* ScssCcacher typo fixJohn Molakvoæ (skjnldsv)2017-01-061-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Adds CssControllerTestsRoeland Jago Douma2017-01-061-0/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Inject SCSSCacherRoeland Jago Douma2017-01-061-30/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make SCCCacher injectableRoeland Jago Douma2017-01-061-8/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* FormattingRoeland Jago Douma2017-01-061-8/+45
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Css cache folder name fix, route fix and various fixesJohn Molakvoæ (skjnldsv)2017-01-061-4/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Injection fix and log appname fixJohn Molakvoæ (skjnldsv)2017-01-061-3/+11
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Appdata integration 2John Molakvoæ (skjnldsv)2017-01-061-0/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Appdata integration 1 & log fix 2John Molakvoæ (skjnldsv)2017-01-061-2/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Cache and compile baseJohn Molakvoæ (skjnldsv)2017-01-061-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move \OC\Template to PSR-4Roeland Jago Douma2016-05-131-0/+55