aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Replace \OC::$server->query with \OCP\Server::get in /libChristoph Wurst2023-07-061-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update TemplateLayout.phpFaraz Samapoor2023-05-171-1/+1
| | | | | https://github.com/nextcloud/server/pull/38261#discussion_r1196711637 Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors "strpos" calls in lib/private to improve code readability.Faraz Samapoor2023-05-151-1/+1
| | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add label for logo linkChristopher Ng2023-03-291-1/+7
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Port user menu to VueChristopher Ng2023-02-091-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "Add alt to the logo, adapt css for logo"John Molakvoæ2023-01-171-5/+4
| | | | This reverts commit bba5ab0532bcf71dc421fd15efd890cd25bdc8d3.
* Merge pull request #35071 from ↵Julia Kirschenheuter2022-12-081-4/+5
|\ | | | | | | | | nextcloud/fix/384-missing_alt_text_for_logo_on_multiple_pages Add alt to the logo, adapt css for logo
| * Add alt to the logo, adapt css for logojulia.kirschenheuter2022-12-081-4/+5
| | | | | | | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Use single resource locator instanceJulius Härtl2022-12-071-25/+18
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow single character search by defaultChristopher Ng2022-11-111-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Move app menu to vueJulius Härtl2022-08-311-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add skip content buttons to the public page layoutJulius Härtl2022-07-181-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to override #app-content and #app-navigation hrefs for content skippingJulius Härtl2022-07-161-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove SCSSCacherJohn Molakvoæ2022-05-131-8/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix `Undefined array key "enabledThemes"` on layout.user.phpJohn Molakvoæ2022-04-281-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix default fallback theme on setup ang guests pagesJohn Molakvoæ2022-04-261-1/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add default theming disabled fallbackJohn Molakvoæ2022-04-221-0/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Write body theme selector straight in the templateJohn Molakvoæ2022-04-211-0/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Start theming providersJoas Schilling2022-04-211-11/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make typeahead and search limit/length configurableJulius Härtl2022-04-131-1/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Retrieve user status only once when displaying pageCarl Schwan2022-04-051-13/+0
| | | | | | | We don't need to inject it in the template if the data is already available in the initial state. This is also a bit cleaner. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Adapt more code to migration to LoggerInterfaceCôme Chilliet2022-03-241-2/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* allow changing the top-left logo link target in system configJulien Veyssier2022-01-201-0/+4
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Split common vendor chunkJohn Molakvoæ (skjnldsv)2022-01-081-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move bundles to /distJohn Molakvoæ (skjnldsv)2022-01-081-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow scripts prioritization based on other appsJohn Molakvoæ (skjnldsv)2021-12-021-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-301-4/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add current status in navbarCarl Schwan2021-10-151-1/+15
| | | | | | | | | | This ports the code to vue and if the user_status app is disabled this goes back to the previous behavior. The Avatar vue components detects changes of the status automatically. Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use proper methods for display name retrievalMorris Jobke2021-06-171-2/+12
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Drop \OCP\Util::isIeChristoph Wurst2021-03-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Document the behaviour inlineMorris Jobke2020-11-041-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* No need to check if there is an avatar available, because it is generated on ↵Morris Jobke2020-11-021-1/+1
| | | | | | the fly nowadays Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make sure that getConfig is still called for browsers that do not support CSPv3Julius Härtl2020-09-071-14/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Don't use deprecated getIniWrapper() anymoreJoas Schilling2020-08-201-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-041-3/+13
| | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-031-12/+19
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add constants for the magic strings of template renderingJoas Schilling2020-07-161-6/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Provide config though initial state serviceJulius Härtl2020-04-231-1/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-19/+14
| | | | | | | | | | | | | | | 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>
* Use elseif instead of else ifChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-12/+12
| | | | 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>
* Fix multiline commentsChristoph Wurst2020-04-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>