Carl Schwan
7b6078875b
refactor: Run rector on lib/private
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-02-06 13:50:18 +01:00
Côme Chilliet
b58b3750a7
chore: Cleanup typing and deprecated method calls in resource locators
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2025-09-29 12:10:56 +02:00
Louis Chemineau
fccb13e8ac
feat(unified-search): Use existing min search length config
...
This setting existed already for the legacy unified search.
This commit expose that setting to the new front-end, and
also ignore non valid requests in the backend.
We also take the opportunity to register the config in the lexicon.
Signed-off-by: Louis Chemineau <louis@chmn.me >
2025-09-24 17:29:09 +02:00
Maxence Lange
cb84ccc57d
feat(preset): share password protection
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com >
2025-08-12 14:37:32 -01:00
Côme Chilliet
e8370bf73a
fix: Use only enabled applications versions in the cache prefix
...
This makes sure the cached routes are updated after enabling a
previously disabled application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2025-06-05 17:58:54 +02:00
Ferdinand Thiessen
8503ce8968
fix(Template): harden enabled-theme logic
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-04-23 22:57:12 +02:00
Maxence Lange
61ab5cf157
fix(setup): ignore missing theming app
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com >
2025-04-12 18:49:26 -01:00
Kate
9bc946ac50
Merge pull request #51933 from nextcloud/fix/master-template-layout
...
fix: ensure enabled (enforced) themes are always set on template layout
2025-04-07 09:10:09 +02:00
Ferdinand Thiessen
d8ff056491
Merge pull request #51752 from nextcloud/backport/50121/master
...
fix(theming): enforce theme also for login
2025-04-07 09:07:45 +02:00
Ferdinand Thiessen
cfdd691f28
fix: ensure enabled (enforced) themes are always set on template layout
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-04-04 10:16:34 +02:00
Ferdinand Thiessen
088e5e6e7b
fix(theming): enforce theme also for login
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-04-02 19:37:52 +02:00
Côme Chilliet
e467ea1c6a
chore(legacy): Remove deprecated OC_Util::addScript and functions depending on it
...
Deprecated since 24, currently unused.
Sadly not all related functions were officially marked as deprecated,
but all of them were unused.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2025-04-01 15:24:24 +02:00
Côme Chilliet
4b099bd532
chore: Replace calls to OC_App::getAppVersions with app manager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2025-03-25 14:23:40 +01:00
Côme Chilliet
558f4c854d
fix: Cleanup of internal class TemplateLayout
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2025-03-06 15:49:25 +01:00
Côme Chilliet
2cd90f8281
fix: Replace all usage of OC_Template by the new API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2025-03-06 15:49:25 +01:00
Ferdinand Thiessen
eea91fa1ba
fix(TemplateLayout): core is not an app but the server itself
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-01-24 15:10:23 +01:00
Ferdinand Thiessen
31664b3edd
fix: Correctly return app id and app version for core styles and images
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-01-24 13:08:31 +01:00
Kostiantyn Miakshyn
438528b850
fix: Apply enforce theme config for anonymous users as well
...
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com >
2025-01-08 00:31:30 +01:00
Ferdinand Thiessen
980ab1f56b
fix: Shipped apps should include the Nextcloud version in the cache buster
...
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de >
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com >
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-10-14 16:04:13 +02:00
Joas Schilling
82566c5479
fix(rtl): Make clear that the direction is based on language
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2024-09-23 17:00:07 +02:00
ali ghorbani
2b7efd66b6
feat(rtl): Set layout direction based on language
...
Signed-off-by: ali ghorbani <ghorbani.ali.developer@gmail.com >
2024-09-23 16:59:20 +02:00
Julius Knorr
606241caeb
chore(legacy): Introduce public version ct plass and drop version methods from OC_Util
...
Signed-off-by: Julius Knorr <jus@bitgrid.net >
2024-09-20 14:53:34 +02:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-09-19 14:21:20 +02:00
provokateurin
669641142b
fix(TemplateLayout): Use NavigationManager to get default app name
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-09-09 11:04:36 +02:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de >
2024-08-25 19:34:58 +02:00
Ferdinand Thiessen
c82b17d0a3
fix: Support Safari mobile
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-08-21 13:01:23 +02:00
Ferdinand Thiessen
ec00367f30
fix: Disable auto-zoom on iOS
...
When using iOS and focussing an input element the view should not be zoomed.
So if we set a maximum scale iOS will not auto-zoom but still allow users to zoom.
But we can not do this by default as this will disable user zoom on Chrome.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-08-21 13:01:18 +02:00
Ferdinand Thiessen
a229723b8c
feat: Add new forbidden filename options to Capabilities
...
Allow clients to access the new filename validation options
and make frontend name validation possible.
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de >
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com >
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-07-11 13:31:54 +02:00
Ferdinand Thiessen
a96b5940dd
chore: Make active apps initial state consistent with OCS API
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-07-10 01:35:24 +02:00
Arthur Schiwon
98b5cdc43d
Merge pull request #43942 from nextcloud/fix/43612/avoid-pwd-confirm-sso
...
fix(Session): avoid password confirmation on SSO
2024-06-07 11:25:36 +02:00
Arthur Schiwon
340939e688
fix(Session): avoid password confirmation on SSO
...
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 >
2024-06-05 19:01:13 +02:00
John Molakvoæ
99af78cd66
Merge branch 'master' into refactor/OC-Server-getL10NFactory
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com >
2024-05-30 14:19:51 +02:00
Andy Scherzinger
dae7c159f7
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2024-05-24 13:11:22 +02:00
John Molakvoæ
f2556901f9
fix: php-cs CapabilitiesManager
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com >
2024-03-15 14:45:51 +01:00
Andrew Summers
b45c3a096e
Refactor OC\Server::getCapabilitiesManager
...
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com >
2024-03-15 13:05:49 +01:00
Côme Chilliet
b2e9e0fa0d
chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-02-05 11:16:04 +01:00
Louis Chemineau
a39b3a3d84
Add global accessibility switch
...
Signed-off-by: Louis Chemineau <louis@chmn.me >
2023-12-19 10:21:13 +01:00
fenn-cs
0b171f6095
Rename "global search" to "unified search"
...
- 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 >
2023-12-12 20:34:37 +01:00
fenn-cs
b5981f67b4
Enable new global search by default
...
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 >
2023-11-30 12:20:13 +01:00
Luka Trovic
b134e1cbc7
feat: update sign up link in share pages
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2023-11-21 10:10:37 +01:00
fenn-cs
13d03f45a3
Add unified search toggle in config
...
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 >
2023-11-10 11:27:32 +01:00
fenn-cs
20b3338288
Feat: New UI global search
...
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 >
2023-11-10 11:27:32 +01:00
Konstantin Myakshin
41370350f2
Make logo in header clickable in the shared file view
...
Signed-off-by: Konstantin Myakshin <molodchick@gmail.com >
2023-10-04 00:36:10 +03:00
Andrew Summers
f80282a5ed
Refactor OC\Server::getL10NFactory
...
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com >
2023-08-29 21:30:42 -05:00
Hamid Dehnavi
d0b20534b9
Refactor "substr" calls to improve code readability
...
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com >
2023-07-07 04:54:20 +03:30
Christoph Wurst
14719110b9
chore: Replace \OC::$server->query with \OCP\Server::get in /lib
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2023-07-06 15:21:22 +02:00
Faraz Samapoor
fa31c707c0
Update TemplateLayout.php
...
https://github.com/nextcloud/server/pull/38261#discussion_r1196711637
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com >
2023-05-17 20:41:05 +03:30
Faraz Samapoor
e7cc7653b8
Refactors "strpos" calls in lib/private to improve code readability.
...
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com >
2023-05-15 15:17:19 +03:30
Côme Chilliet
426c0341ff
Use typed version of IConfig::getSystemValue as much as possible
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2023-04-05 12:50:08 +02:00
Christopher Ng
4f8e916585
Add label for logo link
...
Signed-off-by: Christopher Ng <chrng8@gmail.com >
2023-03-29 13:36:45 -07:00