aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(Session): avoid password confirmation on SSOArthur Schiwon2024-06-121-1/+3
| | | | | | | | | | | SSO backends like SAML and OIDC tried a trick to suppress password confirmations as they are not possible by design. At least for SAML it was not reliable when existing user backends where used as user repositories. Now we are setting a special scope with the token, and also make sure that the scope is taken over when tokens are regenerated. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Rename "global search" to "unified search"fenn-cs2023-12-221-2/+2
| | | | | | | | | | - Changes appearances of "Global search" to "Unified search" in UI - Refactors code, to remove usage of term "GlobalSearch" in files and code structure - Rename old unified search to `legacy-unified-search` Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Add global accessibility switchLouis Chemineau2023-12-191-2/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Enable new global search by defaultfenn-cs2023-11-301-5/+2
| | | | | | | | | The new global search would now be activated by default and users, have the option to revert to the old unified search by setting `unified_search.enabled` to true in the NC `config.php` file. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat: update sign up link in share pagesLuka Trovic2023-11-211-0/+16
| | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* Add unified search toggle in configfenn-cs2023-11-101-6/+12
| | | | | | | | | The new global search UI is new and might be unstable, hence we are giving users the option to use the old unified search UI, if the encounter signficant bottlenecks. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Feat: New UI global searchfenn-cs2023-11-101-0/+1
| | | | | | | | | | | | | | | We are introducing a new search UI that providers a lot more space for users via a large centralized modal and providers various filters which can by applied by adding various chips on the UI. For example, users can now filter their search or scope it by limiting the results to specific apps, time period and people by apply the appropriate filters on the new UI, previously filters where applied using text in the search box by prefixing with `::`. Resolves: #39162 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Make logo in header clickable in the shared file viewKonstantin Myakshin2023-10-041-0/+4
| | | | Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
* Refactor "substr" calls to improve code readabilityHamid Dehnavi2023-07-071-1/+1
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* 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>