Compare commits

...

1168 Commits

Author SHA1 Message Date
Arthur Schiwon 13b6e17180 Merge pull request #41314 from nextcloud/release/28.0.0_beta_2
28.0.0 beta 2
2023-11-10 13:22:28 +01:00
F. E Noel Nfebe 95e5642fa0 Merge pull request #40823 from nextcloud/39162-global-search-2.0
New UI for global search
2023-11-10 12:40:02 +01:00
nextcloud-command 4e7a0e9e03 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 11:00:52 +00:00
fenn-cs 360a372afc Use new SearchableList component for people filter
This commit migrates away from NcSelect which has a couple of
accesibility and display problems currently, hence a new component
`SearchableList` is now used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:32:26 +01:00
Marco 8feacd0384 Create searchable list component
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-10 11:27:32 +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
Benjamin Gaussorgues fa761b51cc Merge pull request #40618 from nextcloud/feat/39162/advanced_search
Advanced search: backend allows multiples terms to search
2023-11-10 10:42:20 +01:00
Julius Härtl a66dbcdfc1 Merge pull request #41354 from nextcloud/bugfix/noid/chunking-v2-distributed-cache 2023-11-10 09:23:32 +01:00
Benjamin Gaussorgues ddb8b68b55 feat(carddav): Allow advanced search for contacts
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues 3545a1c613 feat(caldav): Allow advanced search for events/tasks
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues a75a93af8e feat(files): Allow advanced search for files
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues f3181a3931 chore: update openapi.json
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues c753eefb21 feat(search): Allow multiple search terms in UnifiedController
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Nextcloud bot 9de8e8e224 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-10 00:24:16 +00:00
Louis 1fe951f002 Merge pull request #41308 from nextcloud/artonge/feat/live_photos
Customize rendering for live photos
2023-11-09 23:53:40 +01:00
Louis Chemineau dc00904ca0 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:46:25 +01:00
Louis Chemineau b180ca9d47 Display play icon over live photos' previews
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
Louis Chemineau 1c84139fa6 Hide .mov for live photos
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
Joas Schilling 397c96967a Merge pull request #41365 from nextcloud/bugfix/noid/fix-emitted-events
fix(events): Make sure all `\OCP\Files::…` events are emitted with th…
2023-11-09 22:27:24 +01:00
Arthur Schiwon 743066a3d3 Merge pull request #41333 from nextcloud/fix/41316/incomplete-displayname
fix(LDAP): prevent incomplete displaynames…
2023-11-09 20:41:52 +01:00
Christoph Wurst 7248d9b091 Merge pull request #40615 from nextcloud/enh/automate-calendar-event-user-status
feat(user status): automate user status for events
2023-11-09 19:56:39 +01:00
Christoph Wurst 5183ba2a5b Merge pull request #40653 from nextcloud/feat/ooo-api
feat: Add out-of-office message API
2023-11-09 18:35:20 +01:00
Anna Larch f14a4f8fd7 feat(user status): automate user status for events
and automatically set a user status to free or busy depending on their calendar
transparency, event status and availability settings

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-09 16:20:19 +01:00
Joas Schilling 1aa24c024e Merge pull request #41355 from nextcloud/chore/dependencies-stable
chore: Update nextcloud dependencies to stable version
2023-11-09 16:02:42 +01:00
Joas Schilling 67958915da fix(events): Make sure all \OCP\Files::… events are emitted with the same data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-09 15:57:22 +01:00
Ferdinand Thiessen 2df4afa398 fix(dav): Adjust snapshots for vue components update
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-09 15:05:40 +01:00
Ferdinand Thiessen b470d33fc7 chore: Update nextcloud dependencies to stable version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-09 15:04:00 +01:00
Benjamin Gaussorgues a08281cc5d Merge pull request #39582 from nextcloud/simplify-ip-normalizer
Simplify IP address normalizer with IP masks
2023-11-09 14:26:33 +01:00
Ferdinand Thiessen 2606a566b2 Merge pull request #41339 from nextcloud/fix/40699-Availability_timepicker_improvements
Add two more translations for `CalendarAvailability`
2023-11-09 13:46:11 +01:00
Joas Schilling dbe921452b Merge pull request #41295 from nextcloud/fix/has-reserved-job
fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
2023-11-09 13:26:27 +01:00
julia.kirschenheuter 58913b6d13 Add two more translations for CalendarAvailability
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-09 11:11:58 +01:00
Ferdinand Thiessen cc0f8c1b14 Merge pull request #41348 from nextcloud/deps/update-calendar-availability-vue-to-v2.0.0
Update `calendar-availability-vue` to `^2.0.0`
2023-11-09 11:08:16 +01:00
Julius Härtl 0033ae52b8 fix: Validate that we have a proper distributed cache configured
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-09 11:08:11 +01:00
Christoph Wurst ab1a1d688d feat: Add out-of-office message API
[skipci]

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-09 10:36:11 +01:00
julia.kirschenheuter a8fdb88e75 Update calendar-availability-vue to ^2.0.0
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-09 09:48:34 +01:00
Arthur Schiwon 55d68bb9d1 Merge pull request #41349 from nextcloud/fix/oca-settings-api-user-actions
fix(settings): Pass user object to user row actions
2023-11-09 09:44:22 +01:00
Joas Schilling a12ce24589 Merge pull request #41351 from nextcloud/bugfix/noid/fix-filesmetadata-migration
fix(migration): Fix files metadata migration
2023-11-09 08:08:50 +01:00
Joas Schilling 960b95bb8e fix(migration): Fix files metadata migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-09 06:59:42 +01:00
Nextcloud bot a79dbf3a31 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-09 00:25:53 +00:00
Christoph Wurst 734b11dc86 Merge pull request #41266 from nextcloud/feat/contactsmenu/user-status-sorting
feat(contactsmenu): Sort by user status
2023-11-08 22:21:18 +01:00
Robin Appelman b29bc59e8b Merge pull request #41119 from nextcloud/optmize-storage-wrappers
optimize builtin storage wrappers
2023-11-08 22:14:19 +01:00
Ferdinand Thiessen 8038206a1f chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-08 21:55:40 +01:00
Christoph Wurst 71080a8d20 feat(contactsmenu): Sort by user status
If user_status is not enabled, fall back to sorting by contact name.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 21:53:35 +01:00
Ferdinand Thiessen a106b7b7be fix(settings): Pass user object to user row actions
This is required as otherwise the action has no information on which user it was called

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-08 21:49:26 +01:00
Robin Appelman 1acc7c0468 Merge pull request #41054 from nextcloud/systemtag-children
get children from dav node when preloading system tags
2023-11-08 18:00:41 +01:00
Louis 77c9550353 Merge pull request #40964 from nextcloud/artonge/feat/metadata/port_providers
Support dynamic metadata request on PROPFIND requests
2023-11-08 17:58:20 +01:00
Robin Appelman f4fa2fb93c optimize isShared and isMounted
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 17:34:58 +01:00
Marcel Klehr 1471849956 fix: Extend docblock of hasReservedJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 16:37:51 +01:00
Christoph Wurst d751baee36 Merge pull request #40799 from nextcloud/fix/login-csrf-check-error-message
fix: Show error message when CSRF check fails at login
2023-11-08 16:33:53 +01:00
Louis Chemineau d3a313f192 Support getting and setting metadata in DAV requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Robin Appelman 79088ea15f Merge pull request #40996 from nextcloud/view-share-disable-reuse
reuse sharing disabled state when listing folder content
2023-11-08 15:52:35 +01:00
Robin Appelman 4a049c2094 get children from dav node when preloading system tags
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 15:33:32 +01:00
Robin Appelman dec880b285 optimize builtin storage wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 15:26:10 +01:00
Christoph Wurst a5422a3998 fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 15:18:34 +01:00
Benjamin Gaussorgues f04035caa0 Simplify IP address normalizer with IP masks
Remove dead code

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-08 11:55:07 +01:00
John Molakvoæ 9285fe04ff Merge pull request #41331 from nextcloud/fix/files/overwrite-header 2023-11-08 09:26:23 +01:00
John Molakvoæ f434483248 fix(files): add missing Overwrite: F header in renaming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 09:11:40 +01:00
John Molakvoæ 069eb070a9 Merge pull request #41010 from nextcloud/feat/nested-actins 2023-11-08 08:53:16 +01:00
John Molakvoæ 32c1aebaae fix(cypress): formatFileSize change revert from files library
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:40:27 +01:00
John Molakvoæ 50417bcee8 chore(jest): update snapshot after component update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:14 +01:00
John Molakvoæ cf6c921376 chore(files_reminders): upgrade to 28 APIs
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +01:00
John Molakvoæ 72ffd4999a feat(files): support nested actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +01:00
Christoph Wurst 1d568a89a4 Merge pull request #40767 from nextcloud/feat/dav/absence
feat(dav): implement personal absence settings
2023-11-08 05:51:29 +01:00
Ferdinand Thiessen e8cc216b69 Merge pull request #41328 from nextcloud/fix/41326-Contrast_between_focused_and_unfocused_state_on_different_types_of_input_fields_is_not_enough
Fix styles for input field and textarea on focus, hover and active state
2023-11-08 02:55:42 +01:00
Nextcloud bot ab7830972e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-08 00:32:32 +00:00
Christoph Wurst 2aa8e9d32a Merge pull request #38995 from fsamapoor/refactor_lib_private_systemtag
Refactors lib/private/SystemTag
2023-11-07 21:10:38 +01:00
Arthur Schiwon d978050666 fix(LDAP): prevent incomplete displaynames…
… when reading users from primary groups or gidNumber-based groups

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-07 21:02:31 +01:00
Christoph Wurst 2e24e70d94 Merge pull request #39109 from fsamapoor/refactor_lib_private_metadata_migration_net
Refactors /Metadata, /Migration, and /Net namespaces in /lib/private/
2023-11-07 20:47:39 +01:00
Pytal 2769b99bcf Merge pull request #41329 from nextcloud/fix/files-copy-file
fix(files): Do not encode the path twice (and do not use undefined method)
2023-11-07 10:00:31 -08:00
Ferdinand Thiessen a41a5cafef Merge pull request #41303 from nextcloud/chore/migrate-apps-cypress
chore(cypress): Migrate apps acceptance tests to Cypress
2023-11-07 18:21:57 +01:00
Maxence Lange d9c24f6c7b Merge pull request #40761 from nextcloud/enh/noid/files-metadata
IFilesMetadata
2023-11-07 15:55:24 -01:00
Richard Steinmetz 425e770c04 feat(dav): implement personal absence settings
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-07 17:27:10 +01:00
Côme Chilliet 3e6642ab0b Merge pull request #41311 from nextcloud/fix/improve-setup-checks-api
Improve setup checks API
2023-11-07 16:51:57 +01:00
Ferdinand Thiessen e79e0bdf4d fix(files): Do not encode the path twice (and do not use undefined method)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-07 16:49:10 +01:00
julia.kirschenheuter dea02d2c32 Fix styles for input field and textarea on focus, hover and active state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-07 16:23:56 +01:00
Maxence Lange 3631536261 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 13:06:13 -01:00
Maxence Lange f497d8b6e5 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 12:43:08 -01:00
Simon L b49400cc18 Merge pull request #41298 from nextcloud/enh/noid/fix-sharing-description 2023-11-07 14:40:14 +01:00
Ferdinand Thiessen 84d2a9b3d0 Merge pull request #41134 from nextcloud/feat/migrate-more-setup-checks
Migrate checks to new SetupCheck API
2023-11-07 14:21:47 +01:00
Côme Chilliet 86290dd888 Add missing dots in PhpModules setup check descriptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +01:00
Côme Chilliet 39d2970191 Add $name property in SetupResult and improve API
Keys for check results are not locale dependent anymore, the name of the
 setup check is instead stored in the setup result object.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +01:00
nextcloud-command 14b5e56ca3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-07 11:53:59 +00:00
Simon L d4830051c5 Merge pull request #41294 from nextcloud/supVerIssTemp 2023-11-07 12:49:13 +01:00
Côme Chilliet 00d3856b92 Revert "Migrate code integrity to SetupCheck API"
This reverts commit aa2d315d95d37b48752d0e92d0ce79913be1d4f1.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:04 +01:00
Côme Chilliet 0fd5ed9854 Migrate 32bit check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet ac3da13b38 Migrate Freetype check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet 086d3ceecc Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet 147b29fca2 Migrate Randomness secure check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet ddd13a90d8 Migrate memcache check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:02 +01:00
Simon L 3a9d0324b3 display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:17:42 +01:00
Simon L 9d0cefd71d fix description of sharing toggle
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:17:42 +01:00
Côme Chilliet 6911dc30e6 Migrated both file locking checks to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet f9770b8ef2 Remove duplicate fileinfo PHP module check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet 3c75075eba Migrate database transaction level check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet 5957a2bf6b Migrate email test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Côme Chilliet 506f3961ec Remove duplicated ReadOnlyConfig setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Côme Chilliet dec52f6979 Migrate getenv test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Simon L 402ef78df7 Revert "display inline title always"
This reverts commit 9ea30dcab6.
2023-11-07 12:07:16 +01:00
Simon L 9ea30dcab6 display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:07:03 +01:00
Julia Kirschenheuter 71f1e419e2 Merge pull request #41270 from nextcloud/fix/41267-Contrast_of_focused_Search_and_Search_contacts_is_not_enough
Fix styles for input fields on focus state
2023-11-07 10:03:39 +01:00
Côme Chilliet 273f628c3d Merge pull request #41083 from nextcloud/feat/improve-setup-checks-wording
Improve setup checks naming and improve database version check
2023-11-07 10:02:30 +01:00
Joas Schilling bcc4d7d042 Merge pull request #41214 from nextcloud/bugfix/noid/make-install-verbose
fix(install): Make installing more verbose
2023-11-07 08:39:42 +01:00
Joas Schilling a77af05a31 Merge pull request #41175 from nextcloud/feat/noid/openapi-scopes
Add OpenAPI attribute to allow multiple scopes
2023-11-07 08:39:04 +01:00
Faraz Samapoor cbc47a9890 Refactors Metadata, Migration, and Net.
In lib/private namespace to improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-11-07 09:43:40 +03:30
Faraz Samapoor a988754e3d Refactors lib/private/SystemTag.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-11-07 09:41:33 +03:30
Maxence Lange e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
Nextcloud bot d4393174fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-07 00:32:15 +00:00
Ferdinand Thiessen d056bd5d32 Merge pull request #41301 from nextcloud/fix/files_sharing--translations
fix(files_sharing): fix sharing tab translations
2023-11-07 00:46:55 +01:00
Andy Scherzinger 4f48433a6f Merge pull request #40809 from SYK-08/patch-1
Update README.md
2023-11-06 22:17:17 +01:00
Andy Scherzinger 2005ebd4de Update README.md
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-11-06 22:16:24 +01:00
Anna 08d414bc6e Merge pull request #40876 from nextcloud/fix/dont-send-imip-emails-to-rooms-resources 2023-11-06 21:52:38 +01:00
Arthur Schiwon c2d4fbba9c 28.0.0 beta 2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-06 21:36:47 +01:00
Anna Larch a75173a9a2 fix(scheduling): don't send iMIP emails to rooms / resources
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-06 21:01:18 +01:00
Grigorii K. Shartsev eb9257bc17 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-06 18:42:22 +01:00
Grigorii K. Shartsev aee73c060b fix(files_sharing): permissions translation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-06 18:40:21 +01:00
Pytal 045e1528bd Merge pull request #41251 from nextcloud/fix/profile-active
fix: Only highlight profile entry when viewing own profile
2023-11-06 09:25:16 -08:00
Julia Kirschenheuter 9d5d0cbb95 Merge branch 'master' into fix/41267-Contrast_of_focused_Search_and_Search_contacts_is_not_enough 2023-11-06 17:29:45 +01:00
Côme Chilliet f412c8d8c9 Merge pull request #41081 from nextcloud/feat/add-occ-command-for-setupchecks
Add a command to run the setup checks from CLI
2023-11-06 17:27:27 +01:00
julia.kirschenheuter 7f5f93268c Fix styles for input fields on focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-06 17:24:54 +01:00
Ferdinand Thiessen 4154ba343b Merge pull request #41285 from nextcloud/fix/id-timezone
fix(dav): Add ID / label to timezone picker in availablility settings
2023-11-06 16:14:55 +01:00
Côme Chilliet 3cdb059dcf Use no style for info to make it different from warning
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:28:51 +01:00
Côme Chilliet 2aab6bd209 Fix icon for errors to be consistent with the others
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet 802da2b801 Add an emoji for warnings as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet a1a7774374 Use constants for SUCCESS/FAILURE and show errors even on quiet level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet b5eeaa90d7 Add a command to run the setup checks from CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Ferdinand Thiessen 3d63be2af4 fix(tests): Adjust test snapshots for changes dependencies
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 7f0ff4092c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 755f18eeca fix(dav): Make timezone picker label a real label element
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 5f7af3fbb5 chore(deps): Update @nextcloud/vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 54c934b910 chore(cypress): Migrate apps acceptance tests to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:07:43 +01:00
Ferdinand Thiessen 81a9e19ace Merge pull request #41190 from nextcloud/chore/migrate-header-cypress
chore(cypress): Migrate header contacts menu tests from Behat to Cypress
2023-11-06 12:51:12 +01:00
Marcel Klehr cbd304c8f0 fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 10:47:40 +01:00
Git'Fellow 12c5c126e6 Update supported versions on issue template
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-06 10:34:16 +01:00
Julien Veyssier f12a881ba5 Merge pull request #41078 from nextcloud/update/openapi-extractor
Update openapi extractor
2023-11-06 10:15:16 +01:00
Julien Veyssier 5c0e4b701f Merge branch 'master' into update/openapi-extractor 2023-11-06 10:14:51 +01:00
Louis 40c8e587b2 Merge pull request #41173 from nextcloud/deleteGhostVersion
fix: Delete ghost versions of non-existing files
2023-11-06 09:50:14 +01:00
Kate 738faf4135 Merge pull request #41059 from nextcloud/fix/theming/capabilities
fix(theming): Correctly expose user and admin theming
2023-11-06 09:20:13 +01:00
Nextcloud bot 727baa225d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-06 00:29:16 +00:00
Ferdinand Thiessen 9cabaaee8e chore(cypress): Migrate header contacts menu tests from Behat to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 20:17:00 +01:00
Ferdinand Thiessen b989596726 Merge pull request #41276 from nextcloud/dependabot/npm_and_yarn/marked-9.1.5
chore(deps): Bump marked from 9.0.3 to 9.1.5
2023-11-05 05:19:59 +01:00
Ferdinand Thiessen bf8076d803 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 04:01:44 +01:00
dependabot[bot] d742aba9dd chore(deps): Bump marked from 9.0.3 to 9.1.5
Bumps [marked](https://github.com/markedjs/marked) from 9.0.3 to 9.1.5.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v9.0.3...v9.1.5)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-05 03:42:58 +01:00
dependabot[bot] c51214378f Merge pull request #41277 from nextcloud/dependabot/npm_and_yarn/nextcloud/moment-1.2.2 2023-11-05 00:52:35 +00:00
Nextcloud bot 5595650326 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-05 00:28:25 +00:00
Ferdinand Thiessen eac1179111 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 01:02:07 +01:00
dependabot[bot] 57fdf32a01 chore(deps): Bump @nextcloud/moment from 1.2.1 to 1.2.2
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.2.1 to 1.2.2.
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-moment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/moment"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-05 00:58:08 +01:00
Ferdinand Thiessen 6b65c814be Merge pull request #41279 from nextcloud/dependabot/npm_and_yarn/nextcloud/upload-1.0.0-beta.19
chore(deps): Bump @nextcloud/upload from 1.0.0-beta.18 to 1.0.0-beta.19
2023-11-05 00:10:27 +01:00
Ferdinand Thiessen d4727af11c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 22:45:56 +01:00
dependabot[bot] 55c99e7df6 chore(deps): Bump @nextcloud/upload from 1.0.0-beta.18 to 1.0.0-beta.19
Bumps [@nextcloud/upload](https://github.com/skjnldsv/nextcloud-upload) from 1.0.0-beta.18 to 1.0.0-beta.19.
- [Release notes](https://github.com/skjnldsv/nextcloud-upload/releases)
- [Commits](https://github.com/skjnldsv/nextcloud-upload/compare/v1.0.0-beta.18...v1.0.0-beta.19)

---
updated-dependencies:
- dependency-name: "@nextcloud/upload"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 22:37:51 +01:00
dependabot[bot] 7068fe948c Merge pull request #41275 from nextcloud/dependabot/npm_and_yarn/focus-trap-7.5.4 2023-11-04 21:33:49 +00:00
Ferdinand Thiessen 36b76223d8 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 21:48:35 +01:00
dependabot[bot] 7b33e19a4c chore(deps): Bump focus-trap from 7.5.2 to 7.5.4
Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 7.5.2 to 7.5.4.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/focus-trap/focus-trap/compare/v7.5.2...v7.5.4)

---
updated-dependencies:
- dependency-name: focus-trap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 21:46:07 +01:00
Ferdinand Thiessen a7e9044a12 Merge pull request #41282 from nextcloud/dependabot/npm_and_yarn/pinia-2.1.7
chore(deps): Bump pinia from 2.1.6 to 2.1.7
2023-11-04 21:45:37 +01:00
Ferdinand Thiessen 7ffed69d82 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 20:46:37 +01:00
dependabot[bot] 5041cb9c9c chore(deps): Bump pinia from 2.1.6 to 2.1.7
Bumps [pinia](https://github.com/vuejs/pinia) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/pinia@2.1.6...pinia@2.1.7)

---
updated-dependencies:
- dependency-name: pinia
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 20:43:34 +01:00
dependabot[bot] b2189b2265 Merge pull request #41281 from nextcloud/dependabot/npm_and_yarn/vue-and-vue-template-compiler-2.7.15 2023-11-04 19:42:29 +00:00
Ferdinand Thiessen e864b49a77 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 18:57:54 +01:00
dependabot[bot] 695e18f863 chore(deps): Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/core) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.7.14 to 2.7.15
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits)

Updates `vue-template-compiler` from 2.7.14 to 2.7.15
- [Release notes](https://github.com/vuejs/vue/releases)
- [Changelog](https://github.com/vuejs/vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue/compare/v2.7.14...v2.7.15)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 12:10:12 +01:00
Ferdinand Thiessen c081437dc9 Merge pull request #41283 from nextcloud/dependabot/github_actions/cypress-io/github-action-6.6.0
chore(deps): Bump cypress-io/github-action from 6.5.0 to 6.6.0
2023-11-04 12:09:45 +01:00
dependabot[bot] 7289aa89fb Merge pull request #41280 from nextcloud/dependabot/npm_and_yarn/cypress-13.4.0 2023-11-04 03:41:20 +00:00
dependabot[bot] f85b62f933 chore(deps): Bump cypress-io/github-action from 6.5.0 to 6.6.0
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2...ebe8b24c4428922d0f793a5c4c96853a633180e3)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 02:46:16 +00:00
dependabot[bot] e190d086c9 chore(deps-dev): Bump cypress from 13.3.0 to 13.4.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.3.0 to 13.4.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.3.0...v13.4.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 02:17:35 +00:00
Nextcloud bot 33e1db616d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-04 00:29:23 +00:00
Arthur Schiwon 333ab4de68 Merge pull request #40995 from nextcloud/cache-jail-optimizations
optimize cache jail creation
2023-11-03 17:03:09 +01:00
Simon L 86e9fcab21 Merge pull request #41263 from nextcloud/enh/noid/fix-semaphore-guarding 2023-11-03 16:46:45 +01:00
Simon L fbd8f76e42 Merge pull request #41256 from nextcloud/enh/40689/add-foto-description-2
add descriptions for background pictures
2023-11-03 16:06:33 +01:00
Joas Schilling 6f39d82031 fix(install): Make installing more verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:44:46 +01:00
Simon L b681cf735a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 15:27:17 +01:00
Simon L bb6c241760 add descriptions for background pictures
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-03 14:23:39 +00:00
Christoph Wurst 50de7553b5 Merge pull request #41211 from nextcloud/fix/text-to-image
fix(TextToImage): Consistently use the right method to get the preferred providers
2023-11-03 13:11:07 +01:00
Christoph Wurst b038dbe0ae Merge pull request #41265 from nextcloud/feat/dependencyinjection/optional-services
feat(dependencyinjection): Allow optional (nullable) services
2023-11-03 12:52:17 +01:00
Christoph Wurst 78842348b2 feat(dependencyinjection): Allow optional (nullable) services
Allows working with classes that might or might not be available.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-03 11:53:43 +01:00
Simon L 531f5d1e4f fix semaphore guarding
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 11:47:12 +01:00
jld3103 e69e201af8 fix(theming): Correctly expose user and admin theming
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-03 09:36:08 +01:00
Joas Schilling ffc1bb774b feat(openapi): Add OpenAPI attribute to allow multiple scopes and overwriting tags
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 09:25:11 +01:00
Ferdinand Thiessen ba93afbddd Merge pull request #41250 from nextcloud/chore/cypress-timeout
fix(cypress): Add timeout for waiting on Nextcloud server
2023-11-03 03:07:44 +01:00
Ferdinand Thiessen cdfa566304 fix(cypress): Add timeout for waiting on Nextcloud server
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-03 01:27:21 +01:00
Nextcloud bot 4e2b4b82d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-03 00:26:36 +00:00
Christopher Ng 7f530d22e1 fix: Only highlight profile entry when viewing own profile
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-02 15:43:56 -07:00
Ferdinand Thiessen 321ac318c3 Merge pull request #40597 from nextcloud/fix/public-footer-empty-not-shown
fix(theming): Make sure the footer is hidden if no content is rendered
2023-11-02 17:49:57 +01:00
Ferdinand Thiessen 84421f4c7c Merge pull request #41137 from nextcloud/chore/migrate-access-level-cypress
chore(cypress): Migrate access-level tests from Behat to Cypress
2023-11-02 17:44:52 +01:00
Arthur Schiwon 81d2828e90 Merge pull request #41246 from nextcloud/fix/noid/rm_files_rightclick
fix(upgrade): files_rightclick is deprecated
2023-11-02 16:29:42 +01:00
Arthur Schiwon 60681fb824 fix(upgrade): files_rightclick is deprecated
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-02 16:04:18 +01:00
Arthur Schiwon 7da24e3f11 Merge pull request #41228 from nextcloud/automated/releases/28.0.0beta1
chore: 28.0.0 beta 1
2023-11-02 15:36:14 +01:00
Ferdinand Thiessen f62032e5c2 chore: Compile CSS assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-02 14:57:46 +01:00
Christoph Wurst 9e564088da Merge pull request #40665 from nextcloud/fix/dav/caldav-backend-memory-footprint
fix(dav): Reduce CalDAV backend memory footprint
2023-11-02 14:55:58 +01:00
Ferdinand Thiessen 32ac5e7af8 fix(theming): Make sure the footer is hidden if not content is rendered
Previously the footer was empty, but the backdrop was still shown.
This hides the footer if no text content was defined.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-02 14:55:34 +01:00
Joas Schilling c0c2362a3d Merge pull request #41218 from nextcloud/techdebt/noid/add-autocomplete-filter-event
feat(events): Add typed event for filtering autocompletion sugges…
2023-11-02 14:33:19 +01:00
Marcel Klehr ee76cc512c fix(TextToImage): Always set completionExpectedAt in run/schedule methods
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-02 12:07:10 +01:00
jld3103 0f43eeb953 chore: Regenerate openapi.json
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 755de1e0b5 refactor: Rename OpenAPI type aliases to their namespaces
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 99fa7f77ef fix: Remove routes with missing controller methods
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 5a74f4ac39 fix(build): Use --no-pager for OpenAPI diff
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 68abe17e76 fix(deps): Update openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
Christoph Wurst 91b31bfb15 fix(dav): Reduce CalDAV backend memory footprint
fetchAll inflates memory. Fetching in a loop allows GC to run earlier
and more often.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 11:12:34 +01:00
Christoph Wurst b2c0cd9e26 Merge pull request #40859 from nextcloud/fix/session/log-why-session-renewal-failed
fix(session): Log why session renewal failed
2023-11-02 11:09:00 +01:00
Joas Schilling 2b8114d59d feat(events): Add typed event for filtering autocompletion suggestions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-02 11:08:53 +01:00
Christoph Wurst d779092564 Merge pull request #38425 from nextcloud/feat/ocp/strict-igroup
feat(ocp): Add types and strict typing to \OCP\Group\IGroup
2023-11-02 11:07:12 +01:00
Christoph Wurst 7c661895c3 Merge pull request #40899 from nextcloud/refactor/unify-running-dev-server
refactor: Unify running a dev server (for automated testing)
2023-11-02 10:47:36 +01:00
Christoph Wurst 0da4c14cdf refactor: Unify running a dev server (for automated testing)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 09:59:06 +01:00
Git'Fellow 82f23fbfe1 Merge pull request #41230 from nextcloud/indexFix
fix: add index on migration only if needed
2023-11-02 02:02:27 +01:00
Nextcloud bot 58c9831229 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-02 00:24:42 +00:00
Git'Fellow b46879db4b Merge pull request #40819 from nextcloud/imaginaryGuzzleErrors
Catch Imaginary processing errors
2023-11-01 17:55:04 +01:00
Git'Fellow a075c85eef Return only if changed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:17:44 +01:00
Git'Fellow 91c92f533e fix: add index on migration only if needed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:12:45 +01:00
Git'Fellow d1169af129 Use \Throwable instead
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +01:00
Git'Fellow 624986a6d5 Catch Imaginary processing errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +01:00
Ferdinand Thiessen 489624bb3a Merge pull request #40733 from nextcloud/enh/noid/puppeteer-skip-download
ci: skip puppeteer chrome download
2023-11-01 15:11:31 +01:00
Daniel Kesselberg 67a761b7b2 ci: skip puppeteer chrome download
As per https://github.com/puppeteer/puppeteer#installation

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-01 14:11:21 +01:00
dependabot[bot] 12e3f740c9 Merge pull request #40911 from nextcloud/dependabot/npm_and_yarn/tar-6.2.0 2023-11-01 12:55:46 +00:00
dependabot[bot] 7c05dddf4c chore(deps-dev): Bump tar from 6.1.15 to 6.2.0
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.0.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.0)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 13:27:14 +01:00
John Molakvoæ 5d05da0f8d Merge pull request #40909 from nextcloud/dependabot/npm_and_yarn/babel/preset-typescript-7.23.2 2023-11-01 10:07:27 +01:00
Christoph Wurst adc9f64f8d Merge pull request #40852 from nextcloud/feat/contactsmenu/user-status
feat(contactsmenu): Show user status
2023-11-01 09:40:41 +01:00
John Molakvoæ 33cc3abba2 chore: 28.0.0 beta 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-01 09:28:45 +01:00
Nextcloud bot 0398d74ebd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-01 00:28:44 +00:00
Ferdinand Thiessen 16e97f05ce Merge pull request #41199 from nextcloud/fix/apporder-accessible-details
fix(theming): Add accessible information to app order settings
2023-10-31 22:11:03 +01:00
Ferdinand Thiessen 0219bfa6b5 fix(tests): Make app order Cypress tests more robust
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Ferdinand Thiessen f0ff184a38 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Ferdinand Thiessen 716164c285 fix(theming): Add accessible information for screen readers to the app order selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Christoph Wurst ac168cf9ff feat(contactsmenu): Show user status
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-31 11:52:46 -07:00
Pytal b4e707059d Merge pull request #41207 from nextcloud/fix/a11y/contacts-menu-actions
fix(a11y): Increase contrast of contacts menu actions
2023-10-31 10:53:48 -07:00
Benjamin Gaussorgues c52d5e418a Merge pull request #41053 from nextcloud/bug/smb/in-place-case-rename
fix(files_external): on case insensitive system, block case change
2023-10-31 16:07:29 +01:00
Joas Schilling 48bfbf84ee Merge pull request #41111 from nextcloud/dav/classification-index
add index for classification
2023-10-31 13:56:50 +01:00
John Molakvoæ 43270c64ed Merge pull request #40494 from nextcloud/setup-script 2023-10-31 11:03:25 +01:00
Akhil 439de119c7 add index for classification
Signed-off-by: Akhil <akhil@e.email>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-10-31 10:41:32 +01:00
Marcel Klehr 9a494407ee fix(TextToImage): Consistently use the right method to get the preferred providers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-31 10:27:29 +01:00
Robin Appelman 1fffa3eae0 load script and styles on setup page
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-31 10:03:09 +01:00
Nextcloud bot 16bfe0cc65 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-31 00:26:17 +00:00
Christopher Ng 4dbef5b214 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 -07:00
Christopher Ng 5dd61b54e6 fix(a11y): Increase contrast of contacts menu actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 -07:00
Ferdinand Thiessen 1215379e0f Merge pull request #41197 from nextcloud/fix/keep-focus-on-app-order
fix(theming): Ensure focus is kept on the button when reordering
2023-10-30 19:04:32 +01:00
Joas Schilling ee9cad79f6 Merge pull request #41200 from nextcloud/ci/noid/fix-video-verification
Talk now uses the "main" branch
2023-10-30 18:36:46 +01:00
Joas Schilling 75ba5480cb Talk now uses the "main" branch
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 17:15:27 +01:00
Ferdinand Thiessen 7bb2aec7a6 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 16:33:15 +01:00
Ferdinand Thiessen 3e31022840 fix(theming): App order selector should keep the focus on click
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 16:33:15 +01:00
Julius Härtl 51eb44dbfe Merge pull request #40898 from Murena-SAS/dev/custom-apps-assets 2023-10-30 16:18:30 +01:00
Ferdinand Thiessen 57569951df Merge pull request #41166 from nextcloud/dependabot/npm_and_yarn/p-queue-7.4.1
chore(deps): bump p-queue from 7.3.4 to 7.4.1
2023-10-30 14:52:53 +01:00
Joas Schilling 9f8912184d Merge pull request #41193 from nextcloud/ci/noid/reduce-ci-waste
ci: Turn off builds for pushes and merges to master/stable* and cancel parallel executions
2023-10-30 14:29:02 +01:00
Joas Schilling f72ec9e246 Merge pull request #41177 from nextcloud/fix/noid/reset-bfp-on-sudo-action
Reset BFP for sudo action
2023-10-30 14:27:36 +01:00
Joas Schilling 6cf88256f2 ci: Only run note-tests once per day on branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 12:49:32 +01:00
Christoph Wurst d0db4d6ecf Merge pull request #41051 from nextcloud/feat/dav/absence-db
feat(dav): implement personal absence settings backend
2023-10-30 12:27:25 +01:00
dependabot[bot] 0449fe8779 chore(deps): bump p-queue from 7.3.4 to 7.4.1
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 7.3.4 to 7.4.1.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v7.3.4...v7.4.1)

---
updated-dependencies:
- dependency-name: p-queue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-30 11:23:13 +00:00
Joas Schilling 27a4ad4b5a ci: Turn off builds for pushes and merges to master/stable*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 12:12:59 +01:00
Joas Schilling 6def538154 ci: Specify concurrency to help with consecutive pushes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 11:47:47 +01:00
Ferdinand Thiessen 0299955074 Merge pull request #41163 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-6.1.4
chore(deps-dev): bump @testing-library/jest-dom from 5.17.0 to 6.1.4
2023-10-30 11:01:09 +01:00
Ferdinand Thiessen 623adbaef2 Merge pull request #41164 from nextcloud/dependabot/npm_and_yarn/puppeteer-21.4.1
chore(deps-dev): bump puppeteer from 21.0.3 to 21.4.1
2023-10-30 11:00:19 +01:00
Ferdinand Thiessen 80cbbe70e7 Merge pull request #41168 from nextcloud/dependabot/github_actions/actions/setup-node-4.0.0
chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0
2023-10-30 10:57:32 +01:00
dependabot[bot] 17bbed485a chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d...8f152de45cc393bb48ce5d89d36b731f54556e65)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 10:57:03 +01:00
Ferdinand Thiessen ce3f213fcd Merge pull request #41169 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1
chore(deps): bump actions/checkout from 3.6.0 to 4.1.1
2023-10-30 10:52:45 +01:00
Nextcloud bot 600351c4cf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-30 00:26:19 +00:00
Ferdinand Thiessen 8e2824ea24 chore(tests): Migrate duplicated menu settings tests (access levels) to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 01:05:25 +01:00
Ferdinand Thiessen a7c88519f7 chore(cypress): Move clearState from user utils to shared common utils
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-29 23:36:58 +01:00
Ferdinand Thiessen bfc8b0bc15 chore(cypress): Migrate access-level tests from Behat to Cypress as this are UI tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-29 23:36:58 +01:00
Nextcloud bot fe471da316 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-29 00:25:29 +00:00
Richard Steinmetz 45ed9b10d5 feat(dav): implement personal absence settings backend
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-10-29 00:08:44 +02:00
Marcel Müller c2393fb712 Reset BFP for sudo action
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-10-28 18:36:43 +02:00
Git'Fellow ffeef99abc fix: Delete ghost versions of non-existing files
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-28 14:47:19 +02:00
dependabot[bot] d56b1c28ba Merge pull request #41165 from nextcloud/dependabot/npm_and_yarn/jest-environment-jsdom-29.7.0 2023-10-28 04:31:13 +00:00
dependabot[bot] 15ecb1ae9d chore(deps): bump actions/checkout from 3.6.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.6.0...b4ffde65f46336ab88eb53be808477a3936bae11)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 02:20:16 +00:00
dependabot[bot] 261517cf4b chore(deps-dev): bump jest-environment-jsdom from 29.6.2 to 29.7.0
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.6.2 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 01:33:24 +00:00
dependabot[bot] 6f5e2ccbf9 chore(deps-dev): bump puppeteer from 21.0.3 to 21.4.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 21.0.3 to 21.4.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.0.3...puppeteer-v21.4.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 01:32:56 +00:00
dependabot[bot] 24dbdbfe0f chore(deps-dev): bump @testing-library/jest-dom from 5.17.0 to 6.1.4
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.17.0 to 6.1.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.17.0...v6.1.4)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 01:32:23 +00:00
Nextcloud bot 0aa65d9714 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-28 00:28:21 +00:00
Ferdinand Thiessen 32eaf57e01 Merge pull request #40773 from nextcloud/fix/contrast-maxcontrast-vs-hover
fix(theming): Ensure all text colors have enough contrast for accessibility
2023-10-27 16:12:29 +02:00
Joas Schilling 66f7639690 Merge pull request #40986 from nextcloud/fix/only-run-ci-that-is-needed
fix(tests): Only run tests on CI that are needed
2023-10-27 13:52:24 +02:00
Ferdinand Thiessen cbefae7fd9 fix(tests): Only run tests on CI that are needed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 13:50:04 +02:00
Ferdinand Thiessen 5665838ef4 Merge pull request #41101 from JL102/handlebars
#37978: Remove duplicate dependency
2023-10-27 13:42:38 +02:00
Julia Kirschenheuter 7727d12971 Merge pull request #41142 from nextcloud/fix/40869-Create_right_table_for_the_OAuth_2.0_clients
Create semantically right table for the "OAuth 2.0 clients"
2023-10-27 13:36:20 +02:00
Ferdinand Thiessen 3378a73e99 fix(theming): Make changes on primary color less invasiv
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen 3676295f7b fix(theming): Ensure all text colors have enough contrast for accessibility
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen be129a7d1f fix(theming): Make it clearer that color-text-light and -lighter are deprecated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen ec1ae4505b tests: Add accessibility tests for CSS color variables
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:21 +02:00
Ferdinand Thiessen 1c4787af84 fix(theming): Ensure that maxcontrast text has always a contrast of 4.5:1 even on hover
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:54:14 +02:00
julia.kirschenheuter fbc970855f Create semantically right table for the "OAuth 2.0 clients"
Adapt styles

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-27 09:55:45 +02:00
John Molakvoæ ee1480cefc Merge pull request #41148 from nextcloud/dependabot/npm_and_yarn/browserify-sign-4.2.2 2023-10-27 09:22:13 +02:00
dependabot[bot] 745db03d9e chore(deps): bump browserify-sign from 4.2.1 to 4.2.2
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 07:21:37 +00:00
Joas Schilling 5f269f091c Merge pull request #41135 from nextcloud/fix/cypress-ci
fix(cypress): Also clone 3rdparty submodule to keep in sync for cypress tests
2023-10-27 09:19:57 +02:00
Git'Fellow 60e0322365 Merge pull request #39743 from nextcloud/fixNullArray
fix: Don't try to access null array
2023-10-27 08:07:42 +02:00
Nextcloud bot 01bb3efe23 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-27 00:27:40 +00:00
Pytal f3bfa4de66 Merge pull request #41122 from nextcloud/enh/a11y/separate-profile-entry
enh(a11y): Separate profile and user status user menu entries
2023-10-26 16:57:28 -07:00
Joas Schilling 23e5fe9a51 Merge pull request #41140 from nextcloud/chore/codecov-ignore-project-state
chore(codecov): Do not run project status check
2023-10-26 19:44:26 +02:00
Christopher Ng fc43c28305 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng ce5e290d58 fix(tests): Test profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 439a6fbbdc fix: Settings nav entries typing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 3b402559ac enh(a11y): Add separate profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 4c8256c15b fix: Remove profile from UserStatus component
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng d899e676de fix: Set profile as active nav entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 407b67989d enh: Register profile nav entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Côme Chilliet d0ed5ea2f3 Merge pull request #40889 from nextcloud/feat/check-for-more-php-modules
Check for more php modules
2023-10-26 19:13:28 +02:00
Ferdinand Thiessen 9c031c6ad5 chore(codecov): Do not run project status check
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-26 17:05:40 +02:00
Côme Chilliet 4249871817 Add links to documentation for PHP modules
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-26 16:16:39 +02:00
Ferdinand Thiessen f3470cf0af fix(cypress): Also clone 3rdparty submodule to keep in sync for cypress tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-26 16:09:21 +02:00
Ferdinand Thiessen 082fa64939 Merge pull request #41117 from callmemagnus/bugfix/grant__js-error
fix(login): Fix JS error on login grant page
2023-10-26 16:05:08 +02:00
Ferdinand Thiessen 7cc3291f07 Merge pull request #41115 from nextcloud/fix/cypress-admin-theming
fix(cypress): Fix linter errors on Cypress chains and refactor `wait-until` checker functions
2023-10-26 16:04:28 +02:00
Joas Schilling 2b7f78fc2e Merge pull request #40326 from nextcloud/enh/text-to-image-api
Implement TextToImage OCP API
2023-10-26 15:53:30 +02:00
Joas Schilling e98be0a147 Merge pull request #41133 from nextcloud/bugfix/noid/dont-duplicate-notification-warning
Don't duplicate notification warning
2023-10-26 13:55:04 +02:00
Marcel Klehr cef069e8f2 fix(TextToImage): Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 13:31:01 +02:00
Magnus Anderssen 57dae366ca fix(grant): remove JS error on Grant page
Closes #41098

Signed-off-by: Magnus Anderssen <magnus@magooweb.com>
2023-10-26 12:19:07 +02:00
Simon L 4c8232f04c Merge pull request #41120 from nextcloud/imaginaryInvalidStream 2023-10-26 11:59:37 +02:00
Marcel Klehr 1823a8ebf3 Update lib/public/TextToImage/IProvider.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:49:02 +02:00
Marcel Klehr 9658d9c126 Update lib/public/TextToImage/IManager.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:44:24 +02:00
Marcel Klehr b9985bfd66 fix(TextToImage): Add missing task status update
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:41:21 +02:00
Marcel Klehr 35bf7fc94e fix(TextToImage): Fix copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:39:40 +02:00
Marcel Klehr 154bb53538 Update core/Controller/TextToImageApiController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:35:55 +02:00
Marcel Klehr 4e625f6635 fix(TextToImage): Update testing provider to new interface
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:31:17 +02:00
Marcel Klehr 14d1c18665 en(TextToImage): Add getId method to IProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:26:47 +02:00
Marcel Klehr 47e13cd55b en(TextToImage): Use specific exception class instead of generic RuntimeException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:16:15 +02:00
Joas Schilling db8e57a727 Don't duplicate notification warning
Ref https://github.com/nextcloud/notifications/pull/1699

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 09:46:28 +02:00
Joas Schilling 18be57cb35 Merge pull request #41123 from nextcloud/bugfix/noid/get-storage-before-updating
fix(external): Get storage before update it
2023-10-26 08:17:52 +02:00
Joas Schilling 4759e7a22d fix(external): Get storage before update it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 06:46:05 +02:00
Nextcloud bot 33c1aafc2e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 00:26:32 +00:00
Git'Fellow 974e86e618 Don't pass invalid streams to Imaginary
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update Imaginary.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update Imaginary.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-25 21:58:46 +02:00
Julius Härtl 0753085e32 Merge pull request #41093 from nextcloud/fix-files-list-popper 2023-10-25 19:29:49 +02:00
nextcloud-command 43b12f877b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-25 15:48:46 +02:00
Varun Patil dbde3f6e5a fix(files): disable containment in header
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-25 15:48:46 +02:00
Ferdinand Thiessen 4e8c690dc7 fix(cypress): Fix linter errors on Cypress chains and refactor wait-until checker functions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 15:42:15 +02:00
Ferdinand Thiessen 107bafd864 Merge pull request #41108 from nextcloud/fix/40708-remove_tab_index_from_navigation_and_app_content
Remove unneeded `tabindex="0"` from sidebar and app content
2023-10-25 15:41:50 +02:00
JL102 cca218fc67 #37978: Remove duplicate dependency
I believe it's appropriate to include handlebars in dependencies rather than devDependencies,
because it's imported by multiple js files inside the core directory. However, handlebars-loader
is only referenced inside webpack.common.js, so I think it's ok to keep that one inside devDependencies.

Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-10-25 14:25:29 +02:00
julia.kirschenheuter 62cfd195e4 Remove unneeded tabindex="0" from sidebar and app content
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-25 14:24:19 +02:00
Ferdinand Thiessen ed45e2600b Merge pull request #41110 from nextcloud/fix/login-cypress-test
fix(cypress): Fix selector for the user menu button
2023-10-25 14:23:49 +02:00
Ferdinand Thiessen e93ccca823 fix(cypress): Fix selector for the user menu button
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 12:15:18 +02:00
Ferdinand Thiessen 20b14ae7ac Merge pull request #41089 from nextcloud/fix/workflow-empty-content
fix(workflowengine): Add an empty content when no flows are installed or configured
2023-10-25 12:14:26 +02:00
Ferdinand Thiessen 421f60104c Merge pull request #41021 from nextcloud/fix/move-tests-from-drone-to-cypress
fix(tests): Move leftover acceptance tests for users from drone to Cypress
2023-10-25 12:12:12 +02:00
Ferdinand Thiessen 5b0c27b6da fix(settings): Stablize user list cypress tests
* Use common `data-testid` to identify elements rather than to depend on internal classes or properties
* Force clean the state for the user tests
* Move leftover acceptance tests for users from drone to cypress

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 11:36:24 +02:00
Julia Kirschenheuter 888473f5e2 Merge pull request #41080 from nextcloud/fix/40682-Add_more_visibility_on_background_buttons
Change styles on active, hover and focus state for background buttons
2023-10-25 10:14:35 +02:00
John Molakvoæ 4c7bd978e1 fix(build): phpDocumentor usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-25 08:33:38 +02:00
John Molakvoæ c1a7ee6e16 fix: use default php version
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-25 08:29:08 +02:00
Nextcloud bot bc7f0c3095 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 00:43:31 +00:00
Pytal 460954afd9 Merge pull request #41094 from nextcloud/fix/indirect-safe-dep
fix(dav): Remove usage of indirect thecodingmachine/safe dependency
2023-10-24 17:03:06 -07:00
Christoph Wurst 2e252476d8 Merge pull request #41046 from nextcloud/fix/recently-contacted-duplicates
Fix: duplicating contacts with the Recently contacted feature
2023-10-24 20:45:20 +02:00
Christopher Ng 5281623329 fix(dav): Remove usage of indirect thecodingmachine/safe dependency
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-24 11:25:42 -07:00
Louis c5d82409b4 Merge pull request #41062 from nextcloud/artonge/fix/return_fals_if_touch_fails
Return correct status if touch failed
2023-10-24 18:08:24 +02:00
Robin Appelman efe68d012c Merge pull request #39044 from nextcloud/more-empty-mount-checking
Fix root mounts not being setup in some cases
2023-10-24 16:54:05 +02:00
Ferdinand Thiessen 5b18099112 fix(workflowengine): Add an empty content when no flows are installed or configured
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-24 15:52:32 +02:00
Côme Chilliet d551a0d886 Adapt CheckSetupControllerTest to the migration to a setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 15:36:09 +02:00
Julia Kirschenheuter 970ac3d7eb Merge pull request #41068 from nextcloud/fix/37092/user-status--html-validation
fix(user_status): separate user menu and dashboard status layout for HTML validation
2023-10-24 15:35:33 +02:00
Ferdinand Thiessen 6753aaf33e Merge pull request #41035 from nextcloud/fix/37092/apps-list--html-validation
fix(settings): apps list html validation and loading icon
2023-10-24 14:06:03 +02:00
hamza221 6ab76917c9 Fix: duplicating contacts with the Recently contacted feature
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-10-24 13:03:59 +02:00
Joas Schilling 7a55ea7823 Merge pull request #41061 from nextcloud/bugfix/noid/dont-use-indirect-dependency
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
2023-10-24 12:12:36 +02:00
Côme Chilliet 6b7d4b67d1 Improve setup checks naming and improve database version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 11:40:03 +02:00
Grigorii K. Shartsev 7e94468662 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:10:39 +02:00
Grigorii K. Shartsev 230830b1e6 fix(settings): apps list loading classes
- fix setting loading classes
- also removes invalid HTML attributes, there is no such props in `NcContent`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:07:04 +02:00
Grigorii K. Shartsev 668e35f155 fix(settings): apps list html validation
- Replace invalid `width="100%"` attribute
- Add empty required `alt`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:07:04 +02:00
Grigorii K. Shartsev bec2d43fa7 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:00:22 +02:00
Grigorii K. Shartsev c834d98d34 fix(user_status): separate user menu and dashboard status layout
- Remove href="#" from a button for HTML validation
- Use @nextcloud/vue NcButton instead of custom button in Dashboard

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 10:57:17 +02:00
Simon L 122e799ff5 Merge pull request #41079 from nextcloud/bugfix/noid/allow-updating-from-27.1 2023-10-24 10:28:05 +02:00
julia.kirschenheuter 18751d0e52 Change styles on active, hover and focus state for background buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-24 09:50:37 +02:00
Joas Schilling 7f9aec1e8c fix(update): Allow updating from 27.1 to 28
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-24 09:29:12 +02:00
Côme Chilliet 27995d1376 Add all required PHP extensions to the composer.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 09:17:25 +02:00
Ferdinand Thiessen 13a8a1793c Merge pull request #41033 from nextcloud/chore/migrate-login-feature
chore(tests): Migrate login acceptance tests from behat to Cypress
2023-10-24 04:18:33 +02:00
Pytal 450985fc74 Merge pull request #40938 from nextcloud/fix/a11y/change-scope-actions
fix(settings): Account property scope actions
2023-10-23 18:11:25 -07:00
Nextcloud bot d772537d90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:25:42 +00:00
Christopher Ng 5a562a5b16 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:58:13 -07:00
Christopher Ng f0bb5e7e76 fix(settings): Styles for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Christopher Ng a9fdc52f69 fix(settings): Name for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Christopher Ng 18a2391cab fix(settings): Remove aria-label on scope actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Pytal 30cb1badb1 Merge pull request #41070 from nextcloud/deps/nextcloud/vue-8.0.0-beta.9
chore: Bump @nextcloud/vue to v8-beta.9
2023-10-23 15:47:37 -07:00
Christopher Ng 3b097f0658 fix(tests): Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:18:09 -07:00
Christopher Ng ac287269b7 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:18:07 -07:00
Christopher Ng 590daccca3 fix: Share select search globally icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:14:49 -07:00
Christopher Ng 8c2a4e814a chore: Bump @nextcloud/vue to v8-beta.9
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:14:49 -07:00
Julius Härtl 45d7612423 Merge pull request #40482 from nextcloud/fix/workflowengine_fileaccess 2023-10-23 23:25:18 +02:00
Pytal 8a1546c703 Merge pull request #41064 from nextcloud/fix/40705-_increase_contrast_on_Device_and_Last_activity
Remove opacity on table header
2023-10-23 11:53:35 -07:00
Jonas 7441ce2b11 enh(IMountManager): Add method to get MountPoint from CachedMountInfo
Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:50:24 +02:00
Jonas 9193d8be40 fix(isLegitimatedForUserId): Setup mountpoints to check file access
This fixes workflows on groupfolders, as it will consider access to
files in groupfolders.

It also fixes false positives where access to files was limited by other
means not taken into account before, e.g. access control.

For postDelete events, check for permissions of the parent folder
instead, as the file itself no longer exists.

Fixes: nextcloud/flow_notifications#71

Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:47:16 +02:00
Julius Härtl f88c34b604 Merge pull request #40495 from nextcloud/fix/master-name-in-share-cache 2023-10-23 19:29:17 +02:00
Simon L 8bd1294550 Merge pull request #41063 from nextcloud/fix/37092/dashboard-html-validation 2023-10-23 18:43:01 +02:00
Simon L fe62fa76ff Merge pull request #40980 from nextcloud/fix/37092/remove-unnecessary-roles 2023-10-23 18:42:44 +02:00
Côme Chilliet 5245d2000a Merge pull request #41017 from nextcloud/fix/move-token-iprovider-to-ocp
Move IToken and IProvider::getToken to OCP
2023-10-23 18:01:52 +02:00
Ferdinand Thiessen d43c66e96a Merge pull request #41034 from nextcloud/fix/37092/users--html-validation
fix(settings): users page html validation
2023-10-23 17:16:43 +02:00
julia.kirschenheuter 521e66edc0 Remove opacity on table header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-23 16:30:50 +02:00
Grigorii K. Shartsev 4ac06a8ccc chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:22:45 +02:00
Grigorii K. Shartsev 3b017ec3ff fix(dashboard): use span instead of div for icon to html
- div is not valid in h2
- div is not valid in label

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:20:47 +02:00
Ferdinand Thiessen 4c4e4ec991 chore(tests): Migrate login acceptance tests from behat to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-23 16:10:06 +02:00
Côme Chilliet d8b42c6131 Allow passing null to PublicKeyToken::setScope, fixes tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:52:07 +02:00
Louis Chemineau e66e8bad1a Return correct status if touch failed
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-10-23 15:26:43 +02:00
Joas Schilling 3a265cee30 fix(3rdparty): Don't use indirect dependency "Safe/" for functions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 15:25:14 +02:00
Côme Chilliet 33a24134a7 Improve docblock annotations for tokens and their exceptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:20:04 +02:00
Côme Chilliet 58a57a714e Use more precise typing for setScope method parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:19:38 +02:00
Joas Schilling 834c9a209e Merge pull request #41055 from nextcloud/feat/noid/profile-manager-ocp
feat(profile): Add public interface for profile manager so apps can check config
2023-10-23 15:15:40 +02:00
Marcel Klehr 8339b5b128 fix: Minor copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 15:00:40 +02:00
Joas Schilling 06b35808a8 Merge pull request #41045 from nextcloud/fix/openapi/provisioning_api/quota-fields
fix(provisioning_api): Fix quota fields in OpenAPI
2023-10-23 13:54:11 +02:00
Marcel Klehr 0c1bd845a7 fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:23:28 +02:00
Marcel Klehr 4b8a58cc49 fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:16:37 +02:00
Joas Schilling fd9f7a7188 fix(profile): Directly migrate to OCP constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Joas Schilling 2353d3cd5c feat(profile): Add public interface for profile manager so apps can check config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Marcel Klehr 68bb4a066c fix(TextToImage\Migration): Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 12:49:50 +02:00
Marcel Klehr 5f815bdcc6 fix(TextToImage\Db\Task): Inject ITimeFactory
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:50:03 +02:00
Côme Chilliet 7a6c4ecc25 Update autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:47:48 +02:00
Marcel Klehr ded77292d5 Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:48 +02:00
Marcel Klehr f9d209cf15 Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:33 +02:00
Marcel Klehr 5d36c4c1d1 Update lib/private/TextToImage/Manager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:35 +02:00
Marcel Klehr 91448888d1 Update lib/private/TextToImage/RemoveOldTasksBackgroundJob.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:09 +02:00
Marcel Klehr 1f090a3ad7 Update lib/public/TextToImage/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:32 +02:00
Marcel Klehr 4624748937 Update lib/public/TextToImage/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:03 +02:00
Côme Chilliet 1bdf952fde Make sure that OC interfaces returns OC interfaces for backward compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:08:23 +02:00
jld3103 d019392645 fix(provisioning_api): Fix quota fields in OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-23 10:33:37 +02:00
Benjamin Gaussorgues a45e12abc8 fix(files_external): on case insensitive system, block case change
When a file/directory is renamed to the same name with only case change,
the rename fail. We block this kind of rename.
The user will have to rename to another name first.

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-23 10:32:28 +02:00
Côme Chilliet b82e25ea7a Move Exceptions used in OCP to OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 10:26:25 +02:00
Côme Chilliet 16b9373b82 Adapt baseline to filename change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 10:18:13 +02:00
Côme Chilliet 356f0291a2 Align PublicKeyToken with interface changes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 09:41:32 +02:00
Côme Chilliet 61143644a4 Merge pull request #40933 from nextcloud/check-datemax-enforcement-pubshare
Check expiry enforcement for all share types
2023-10-23 09:32:27 +02:00
Joas Schilling 73a6061b53 Merge pull request #40966 from nextcloud/jr-security-policy-expansion
Add "no public GH Issues please" request, past advisories link, bounty mention, scope link to security.md
2023-10-23 07:19:15 +02:00
Nextcloud bot 1de151abd9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-23 00:26:23 +00:00
Ferdinand Thiessen 91e02fea0b Merge pull request #41039 from nextcloud/fix/run-cypress-always-parallel
feat(cypress): Always run cypress CI in parallel
2023-10-22 18:58:39 +02:00
fenn-cs 8dfcf2e02a Do not treat isDefaultExpireDateEnforced as fallback
`isDefaultExpireDateEnforced` and its corresponding `defaultExpirationDate`
is currently treated as the enforcement fallback when share type enforcements are not
set.

However, `isDefaultExpireDateEnforced` and `defaultExpirationDate` are actually more like
`isDefaultPublicExpireDateEnforced` and `defaultPublicExpirationDate` and therefore only applies
to public shares.

It might be ideal to rename this variables all the way from the backend config to the way we use
them in the frontend code.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-22 16:47:32 +00:00
fenn-cs 46308e96f3 Fix has expiration date logic
Current expiration date errorneously assumes that `defaultExpirationDate`
applies to all kinds of shares. But it only really applies to public shares despite
its name.

This commit, fixes that by paring expiration dates with the correct share types during
new share initialization and simplifying the `hasExpirationDate` (check) property.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:45 +01:00
fenn-cs 92417cd594 Check expiry enforcement for all share types
We should check that a maximum expiry date has been enforced for
all shares and NOT JUST FOR internal shares before enforcing a UI max date,
like in commit 9757e680e2

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:43 +01:00
Marcel Klehr 37419a9767 fix: Update openapi.json
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 13:11:40 +02:00
John Molakvoæ 4b70f19837 Merge pull request #41024 from nextcloud/fix/follow-up-app-order 2023-10-22 12:58:57 +02:00
Marcel Klehr 497559b246 fix(RemoveOldTasksBackgroundJob): Update after change to support multiple images in TextToImage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:49:46 +02:00
Marcel Klehr 6007b1b760 fix(settings/AdminAI): Fix eslint
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:44:11 +02:00
Marcel Klehr bfc205fc73 fix(settings/AdminAI): Fix no-providers-installed view
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:39:24 +02:00
Marcel Klehr fa2fa47e6b fix(TextToImage/Manager): Appease psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:38:40 +02:00
Marcel Klehr 71a06b6bf8 fix(Folder): Allow filename to be '0'
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:22:30 +02:00
Marcel Klehr 6b6ac72fe6 fix(Text2Image): Fix FakeText2ImageProvider in testing app
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:48 +02:00
Marcel Klehr b1018597bc fix(Text2Image): Fix appdata folder creation
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:00 +02:00
Marcel Klehr 4055a90004 fix(Text2Image): Fix $completionExpectedAt default value
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:20:29 +02:00
Marcel Klehr 9787f9dba0 enh(Text2Image): Add AI settings section to text2image
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 11:10:24 +02:00
Ferdinand Thiessen 3c0b4173b1 Merge pull request #41032 from nextcloud/dependabot/npm_and_yarn/typescript-5.2.2
chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2
2023-10-22 03:00:01 +02:00
Nextcloud bot b76ecf3781 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:37 +00:00
Ferdinand Thiessen 891097b42b Merge pull request #41019 from nextcloud/fix-files-vl-h
fix(files): correct item height
2023-10-22 01:19:17 +02:00
Varun Patil 4d578f37e6 fix(files): correct item height
1. grid: typo? The icon size is 160 - 44 + (44 / 2) = 138px
2. non-grid: border is already included in height because the tr
   is a border-box (made this explicit to be safe)

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-21 22:42:06 +00:00
Ferdinand Thiessen a65c08de7c Merge pull request #41029 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-2.0.0-beta.3
chore(deps): Bump @nextcloud/calendar-availability-vue from 2.0.0-beta.2 to 2.0.0-beta.3
2023-10-22 00:30:28 +02:00
Ferdinand Thiessen 31b2b39186 Merge pull request #41028 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.21
chore(deps-dev): Bump @types/dockerode from 3.3.20 to 3.3.21
2023-10-22 00:28:45 +02:00
dependabot[bot] 5c07f4575c chore(deps): Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.0.0-beta.2 to 2.0.0-beta.3.
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v2.0.0-beta.2...v2.0.0-beta.3)

---
updated-dependencies:
- dependency-name: "@nextcloud/calendar-availability-vue"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-21 21:33:51 +00:00
Ferdinand Thiessen d2e7708b48 Merge pull request #41027 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1
chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1
2023-10-21 23:07:47 +02:00
Ferdinand Thiessen 114ee4c3a3 Merge pull request #41026 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3.1.0
chore(deps): Bump peter-evans/create-or-update-comment from 3.0.2 to 3.1.0
2023-10-21 23:04:56 +02:00
Ferdinand Thiessen 6139c8caf3 Merge pull request #41030 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-2.15.1
chore(deps-dev): Bump eslint-plugin-cypress from 2.14.0 to 2.15.1
2023-10-21 23:03:10 +02:00
Ferdinand Thiessen 0b27fa94a6 Merge pull request #41036 from nextcloud/skjnldsv-patch-1
fix(l10n): invalid translation of a number
2023-10-21 22:59:45 +02:00
Ferdinand Thiessen 37d53d6b79 feat(cypress): Always run cypress CI in parallel (independent from cypress.io)
The server always exceeds the free Cypress.io time so there is no benefit using it
unless we go for the enterprise plan.
So this simply uses `cypress-split` to split the specs and run them in parallel CI workers (only e2e tests).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 18:42:08 +02:00
Grigorii K. Shartsev 8159cdb49f chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:40:21 +02:00
Grigorii K. Shartsev befec8cb3c fix(core): remove unnecessary role=contentinfo from page footer on login
`<footer>` has this role initially then it is a page footer, not inside `section`/`article`, and etc.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:35:44 +02:00
Grigorii K. Shartsev 0e8abfd24c fix(core): remove unnecessary role=banner on top level header
By default, the HTML's `<header>` element has an identical meaning to the banner landmark,
unless it is a descendant of `<aside>`, `<article>`, `<main>`, `<nav>`, or `<section>`.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:35:44 +02:00
John Molakvoæ 3214324b72 fix(l10n): invalid translation of a number
fix https://github.com/nextcloud/server/issues/35252

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-21 11:48:46 +02:00
Grigorii K. Shartsev 1fbe58b0fb chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 04:48:39 +02:00
Grigorii K. Shartsev d33ce8a8d5 fix(settings): label user quota progress with aria-labelledby
Labeling with `<label>` doesn't work in some screen readers.
`<label>` also doesn't work as a clickable link here.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 04:16:45 +02:00
Ferdinand Thiessen 18cb827d96 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:30 +02:00
Ferdinand Thiessen 615a6846da feat(theming): Allow to reset the user defined app order to the default value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:25 +02:00
Ferdinand Thiessen 9697df1ea5 fix(theming): App order settings - ensure the focus is kept on button
When pressing a button for changing the app order that button should keep the focus after reordering the list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:18 +02:00
Grigorii K. Shartsev 5249c3376e fix(settings): users page html validation
- Remove non-existing `button-class` from `NcAppNavigationNew`
- Type: use `input-id` instead of `id` on `NcSelect` to be labeled
- Encode uniqueId with user's ID, because user.id may contain space

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 03:49:01 +02:00
dependabot[bot] ed80b1351a chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:21:33 +00:00
dependabot[bot] 1c1c119f97 chore(deps-dev): Bump eslint-plugin-cypress from 2.14.0 to 2.15.1
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.14.0 to 2.15.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.14.0...v2.15.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:20:31 +00:00
dependabot[bot] 3c284525b7 chore(deps-dev): Bump @types/dockerode from 3.3.20 to 3.3.21
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.20 to 3.3.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:19:56 +00:00
dependabot[bot] 7e2bcef41c chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:10:17 +00:00
dependabot[bot] f4c4472f12 chore(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/c6c9a1a66007646a28c153e2a8580a5bad27bcfa...23ff15729ef2fc348714a3bb66d2f655ca9066f2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:10:13 +00:00
Nextcloud bot 5c2610af7d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-21 00:27:09 +00:00
Ferdinand Thiessen b0956b1a00 Merge pull request #40983 from nextcloud/fix/37092/personal-settings--html-validation
HTML Validation: Personal settings
2023-10-20 21:37:39 +02:00
Grigorii K. Shartsev 7c142c9aed chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:34:41 +02:00
Grigorii K. Shartsev 641d52dae7 fix(settings): remove unused savePrimaryEmailScope on Personal Settings page
If was replaced with universal `savePrimaryAccountPropertyScope`.
`<HeaderBar>` has no `handle-scope-change` prop.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev d4c37d5c4c fix(settings): remove placeholder from select
There is no placeholder attribute on select element

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev 73e675d145 fix(settings): typo in avatar prop
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev f214a7e332 fix(settings): remove invalid avatar prop
There was a typo, it must have been disable-menu, not disableD-menu.
But it is not required, because the menu is disabled for the current user anyway.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev 9154367761 fix(settings): fix ids and aria-labels in personal emails
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +02:00
Grigorii K. Shartsev 4a85113cac fix(settings): remove empty aria-describedby
Empty string `''` is still rendered and is not a valid ID.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +02:00
Ferdinand Thiessen df74fb0123 Merge pull request #40993 from nextcloud/pulsejet/oc-cap-refactor
refactor: remove remaining usage of OC::getCapabilities
2023-10-20 20:29:57 +02:00
Ferdinand Thiessen 14bc7d3d00 Merge pull request #41018 from nextcloud/fix-files-list-header
fix(files): disable size containment on headers
2023-10-20 20:24:54 +02:00
nextcloud-command ba252e24a9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-20 18:05:04 +00:00
Varun Patil 08bd7848ea fix(files): disable size containment on headers
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 09:03:22 -07:00
Côme Chilliet f94fb33062 Move IToken and IProvider::getToken to OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-20 17:51:33 +02:00
Ferdinand Thiessen 77cce714c9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 16:23:27 +02:00
Varun Patil 9bd50a7296 refactor: remove remaining usage of OC::getCapabilities
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 16:19:43 +02:00
Ferdinand Thiessen 4828ac3521 Merge pull request #41008 from nextcloud/fix/36965-fix-trusted-server-input
Fix trusted server input field
2023-10-20 16:19:24 +02:00
Ferdinand Thiessen a6d137c9a7 Merge pull request #40994 from nextcloud/fix/37092/user-menu-validation
fix(user_menu): pass only actual prop to user menu entries
2023-10-20 16:17:30 +02:00
Josh Richards 0ded3ad2b2 Apply suggestions
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-20 09:03:59 -04:00
Marcel Klehr cee5aa84f0 fix(Text2Image): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 14:56:24 +02:00
Marcel Klehr 9ee72633cf enh(Text2Image): Expose expected completion time
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:54:36 +02:00
Marcel Klehr 4c58edc1b7 fix(Text2Image): Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:32 +02:00
Marcel Klehr 73da7f20d3 fix(Text2Image): Add number_of_images to migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:06 +02:00
Marcel Klehr bc85acf7d0 fix(Text2Image): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:38:20 +02:00
Marcel Klehr 7b7f552a6e fix(Text2Image): Fix OpenAPI types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:33:05 +02:00
Marcel Klehr 37c4ccc751 fix(Text2Image): Fix Task#lastUpdated initialization to use DateTime instead of time()
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:15:40 +02:00
Marcel Klehr 8ab47b64b5 enh(testing app): Add fake text2image provider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:48 +02:00
Marcel Klehr b7fd5185b6 enh(TextToImage): Allow generating multiple images with one task
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:15 +02:00
julia.kirschenheuter 0af42db2c7 Fix trusted server input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-20 12:19:49 +02:00
Marcel Klehr 8968573d9f enh(TextToImage): Add getExpectedRuntime to IProvider and run tasks during request lifetime if possible
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 12:17:17 +02:00
John Molakvoæ e49353dee3 Merge pull request #40999 from nextcloud/files-list-will-change 2023-10-20 11:56:10 +02:00
Varun Patil 2db1eab7f9 fix(files): virtual list will-change value
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-20 10:49:11 +02:00
John Molakvoæ 93ee51b9a8 Merge pull request #41000 from nextcloud/fix/local-cypress-tests 2023-10-20 10:44:04 +02:00
Ferdinand Thiessen 8d907d8089 Merge pull request #40979 from nextcloud/fix/36965-fix-global-search
Fix placement of actions within unified search
2023-10-20 02:49:49 +02:00
Nextcloud bot 12dc49fbca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-20 00:27:12 +00:00
Ferdinand Thiessen 8ac6fe8ba4 Merge pull request #40978 from nextcloud/fix/37092/replace-non-standard-autocorrect-with-spellcheck
HTML Validation: replace non standard `autocorrect` with `spellcheck`
2023-10-20 01:54:53 +02:00
Ferdinand Thiessen 06327be68e Merge pull request #40844 from nextcloud/feat/frontend-apporder-default-apps
feat: Allow to configure the app menu order in the frontend
2023-10-20 00:54:39 +02:00
Grigorii K. Shartsev 2d6cd78c32 fix: replace non-standard autocorrect with spellcheck attribute
`autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 00:35:51 +02:00
Ferdinand Thiessen f3f3f4cd59 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:21 +02:00
Ferdinand Thiessen e9d4036389 feat(theming): Allow to configure default apps and app order in frontend settings
* Also add API for setting the value using ajax.
* Add cypress tests for app order and defaul apps

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:17 +02:00
Ferdinand Thiessen 363d9ebb13 feat(NavigationManager): Always sort the default app first
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +02:00
Ferdinand Thiessen 08cff0777a feat(IAppManager): Allow to set the (user) default apps and get all global default apps
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +02:00
Ferdinand Thiessen 5c48a504a7 fix(cypress): Also sync 3rdparty directory for local cypress tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:03:39 +02:00
Ferdinand Thiessen a6c450b481 Merge pull request #40961 from nextcloud/fix/cypress-tests
fix(cypress): Replace flaky password-confirmation hack
2023-10-19 22:02:28 +02:00
Ferdinand Thiessen 9ce5c983d0 Merge pull request #40992 from nextcloud/fix/37092/weather-status-html-validation
fix(weather_status): remove `li` wrapper
2023-10-19 21:58:19 +02:00
Robin Appelman 9bc44de95d reuse sharing disabled state when listing folder content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:40:52 +02:00
Robin Appelman 460344336e optimize cache jail creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:27:00 +02:00
Grigorii K. Shartsev ef4db759e5 chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:59:38 +02:00
julia.kirschenheuter 311d5c6275 Fix placement of actions within unified search
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-19 18:49:37 +02:00
Grigorii K. Shartsev 776f5da831 fix(core): do not assign all navigation entry properties as html attributes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:47:02 +02:00
Ferdinand Thiessen f4e3f09654 Merge pull request #40924 from AIlkiv/shortcut-ctrl-f-for-different-keyboard-layouts
Shortcut Ctrl+F for different keyboard layouts
2023-10-19 18:15:49 +02:00
Julia Kirschenheuter 694352e3ad Merge pull request #40963 from nextcloud/fix/36965-fix-width-of-sharing-entry
Reduce width of sharing entry
2023-10-19 17:08:28 +02:00
Grigorii K. Shartsev 869fdb4c85 chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 17:06:42 +02:00
Joas Schilling 7ef3937278 Merge pull request #40977 from nextcloud/Rello-patch-version
Update version.php to owncloud 10.13
2023-10-19 16:41:58 +02:00
Ferdinand Thiessen 3f83ae145f fix(cypress): Test using data-test-id attributes rather than private classes
Makes the test more resilant to inner component changes of the `@nextcloud/vue` library.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:20 +02:00
Ferdinand Thiessen add1d922ba fix(cypress): Replace flaky password-confirmation hack with conditional testing for the password modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:19 +02:00
Côme Chilliet 0c346849f3 Migrate missing PHP modules check to new API and improve it
Test all modules listed as required in our documentation

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 15:58:45 +02:00
Côme Chilliet b6c35b3be0 Merge pull request #32550 from nextcloud/feat/api-cleanup-check
Add api to register setup checks
2023-10-19 15:41:23 +02:00
julia.kirschenheuter bfa7d33912 Reduce width of sharing entry
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 12:50:14 +00:00
Côme Chilliet 789ff3f414 Fix jsunit tests for SetupChecks
Tests could be simplified to test generic setup check directly with fake
 data instead of trying to mimic real steps results but for now this
 will do.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 14:46:46 +02:00
Rello 4218d6ee43 Update version.php to owncloud 10.13
ownCloud's current version is 10.13
migration was tested with a customer; 
documentation was adjusted
https://github.com/nextcloud/documentation/pull/11225

Signed-off-by: Rello <Rello@users.noreply.github.com>
2023-10-19 14:37:05 +02:00
John Molakvoæ 049804d02f Merge pull request #35728 from nextcloud/fix/cypress 2023-10-19 14:23:39 +02:00
John Molakvoæ 4f4074452d Fix background removal not applying to user default theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 12:01:29 +02:00
Ferdinand Thiessen 51ff16eba3 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 12:00:43 +02:00
John Molakvoæ a024ee1cfe Fix background removal check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +02:00
John Molakvoæ d10c4c3f6d Add additional no-background and custom colour test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +02:00
Andrii Ilkiv 952760fd14 Shortcut Ctrl+F for different keyboard layouts
Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
2023-10-19 11:51:09 +02:00
Côme Chilliet a3cc3b188d Small code style fix in SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 2e4d1549a4 Change SetupResult API to named constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 11ebf469da Remove useless var in apps/settings/lib/SetupChecks/CheckUserCertificates.php
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 6aa6f26427 Move NeedsSystemAddressBookSync to dav application where it’s registered
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet be11ffd86a Add debug logging when running setup checks to help with debugging slow results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet 968b82cacc Remove UI draft
For now we will keep the existing UI and only change the API behind it

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet 6bc3e008c7 Fix tests for setup checks
Had to remove tests for migrated checks, we should add tests for each
 SetupCheck class later on.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet efa2dfa641 Add OCP interface for SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet bd37067821 Migrate InternetConnectivity check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet 5503c4c8e2 Add missing licences and copyright in SetupCheck
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet 05cb1415e1 Merge setupchecks from new API into old UI
This will allow migrating checks to the new API without touching the UI
 for now.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet fa3c0e4b1c Fix description for SetupChecks/NeedsSystemAddressBookSync
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet bec6c0a441 Migrate ReadOnlyConfig and DefaultPhoneRegionSet to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet 8bfa0935b4 Migrate NeedsSystemAddressBookSync to new ISetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet 67e7a2635f Fix PHPDoc in OCP for new SetupResult class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet a4618cfea0 Move existing setup checks to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet a56d40cf2d Fix lint problems in vue files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet b41b9cf4c0 Small cleanups in SetupCheck classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet 1202171b32 Fix docblock and types for new public API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet a3ec716c33 Fix UI and add PhpOutdated check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet 0890012e72 Fix SetupChecks/LdapInvalidUuids.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:58 +02:00
Carl Schwan c71e47f5c3 Progress
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00
Carl Schwan eb1d612d96 Add api to register setup checks
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00
Akhil 5e20c3e7b9 Add custom apps translation scripts and image path for consistency
Signed-off-by: Akhil <akhil@e.email>
2023-10-19 14:39:29 +05:30
Marcel Klehr 92cc171a61 fix(TextToImage): Fix OpenAPI definitions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 11:07:03 +02:00
Marcel Klehr 3d11ab7af8 fix(TextToImage): Add autoloader changes and registerAlias
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 10:54:18 +02:00
John Molakvoæ a572a547f9 Merge pull request #40969 from nextcloud/ishare-type 2023-10-19 09:29:26 +02:00
John Molakvoæ 4d5b794acc Merge pull request #40958 from nextcloud/pulsejet/files-list-perf 2023-10-19 09:27:43 +02:00
John Molakvoæ 4db03884a5 fix(files): drop visible and adjust drag-to-scroll feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 06:42:33 +00:00
Varun Patil c008464a2a Fix return type of IShare::getExpirationDate
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-18 23:23:41 -07:00
Varun Patil 4876eacf3f perf(files): performance optimizations
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-19 08:23:22 +02:00
Nextcloud bot 1c014f82c2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-19 00:28:10 +00:00
Joas Schilling 5de36b6941 Merge pull request #40965 from nextcloud/bugfix/noid/fix-type-and-docs-on-interface
fix(federation): Fix type and docs on ICloudFederationNotification in…
2023-10-18 18:48:40 +02:00
Josh Richards 59366eebb8 SECURITY: Add {links, headings, $, scope, public GH Issues notes}
* Add links to various relevant pages (scope, existing security advisories)
* Add request to not report vulnerabilities in public GH issues
* Mention bounty program
* Reorganized and added some new headings

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-18 11:42:44 -04:00
Joas Schilling 4f76c131a4 fix(federation): Fix type and docs on ICloudFederationNotification interface
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 17:16:22 +02:00
Ferdinand Thiessen a1d70ab78a Merge pull request #40923 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-10-18 15:08:59 +02:00
Marcel Klehr 6238aca6c5 fix(TextToImage): Fix bruteforce protection
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:46:40 +02:00
Ferdinand Thiessen e9d8095006 Merge pull request #40913 from nextcloud/dependabot/npm_and_yarn/dockerode-4.0.0
chore(deps-dev): Bump dockerode from 3.3.5 to 4.0.0
2023-10-18 14:37:57 +02:00
Ferdinand Thiessen d452b872c9 fix: Improve dockerNode logging
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 14:37:44 +02:00
dependabot[bot] da9d069721 chore(deps-dev): Bump dockerode from 3.3.5 to 4.0.0
Bumps [dockerode](https://github.com/apocas/dockerode) from 3.3.5 to 4.0.0.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v3.3.5...v4.0.0)

---
updated-dependencies:
- dependency-name: dockerode
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 14:37:44 +02:00
Julius Härtl f3ae617bde test(files_sharing): Test if recent files result use actual share target name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-10-18 14:31:27 +02:00
Max be373fca3c fix(sharing): set name to target name in sharing cache
Fixes #39879.

Signed-off-by: Max <max@nextcloud.com>
2023-10-18 14:31:27 +02:00
Marcel Klehr e57e94e11a fix(TextToImage): Add bruteforce protection to API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:09:19 +02:00
Marcel Klehr ab856a5c78 fix(TextToImage): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:09:04 +02:00
Ferdinand Thiessen bb912ad47c Merge pull request #40914 from nextcloud/dependabot/npm_and_yarn/dompurify-3.0.6
chore(deps): Bump dompurify from 3.0.5 to 3.0.6
2023-10-18 13:44:52 +02:00
Marcel Klehr 9b7f63946f fix(TextToImage): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:44:21 +02:00
Marcel Klehr ca9a28ab51 fix(TextToImage): Fix notnull column to allow for empty strings on orcale
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:01 +02:00
Marcel Klehr d3da49de44 fix(TextToImage): Fix docblock of getImage route
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:00 +02:00
Marcel Klehr c5fbe5a7bc enh(TextToImage): Add bruteforce protection for anonymous API usage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:00 +02:00
dependabot[bot] 477cfad8b3 chore(deps): Bump dompurify from 3.0.5 to 3.0.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.0.5...3.0.6)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-18 13:25:49 +02:00
Marcel Klehr 5ddf3c3366 Update lib/public/TextToImage/Exception/TextToImageException.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 47372380b4 Update lib/public/TextToImage/Exception/TaskNotFoundException.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 1d07dcc346 Update lib/private/TextToImage/Db/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e8faaebb0f enh(TextToImage): Allow anonymous access to IManager#getUserTasksByApp
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr f52d763f50 enh(TextToImage): Add routes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr c59861a9fa enh(TextToImage): Implement removal of stale images and change Task#last_updated to DATETIME
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 207c95838f fix(TextToImage): Fix coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 3e6a8b31c4 fix(TextToImage): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e5efbc88d8 enh(TextToImage): Address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 41847c951a Update lib/private/TextToImage/TaskBackgroundJob.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 53678a8534 Update lib/public/TextToImage/Events/TaskSuccessfulEvent.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e199d1aae1 Update lib/public/TextToImage/IManager.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 1e36d74c3e Update core/Controller/TextToImageApiController.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr dc8cba6026 cs:Fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 666f7b33c9 Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 2d44c7c1ed Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr c8cab9d2fd Implement TextToImage OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
nextcloud-command 149bb0b544 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-10-18 13:18:28 +02:00
Grigorii K. Shartsev 4312fa803e fix(weather_status): remove unnecessaries LI wrapper and inline mode
Weather Status is only used as a Dashboard Status and only in so-called inline mode.
- Remove LI wrapper (actual only for User Menu Entry)
- Remove `inline` prop, consider component as always inline

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-18 13:14:56 +02:00
Grigorii K. Shartsev f439505816 fix(weather_status): nextcloud/vue v8 migration - menu-title -> menu-name
Invalid prop name is inherited as an HTML attribute

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-18 12:19:33 +02:00
Joas Schilling 9bdf98f699 Merge pull request #40959 from nextcloud/bugfix/noid/fix-types-in-querybuilder
fix(dbal): Fix types in query builder methods for parameters
2023-10-18 11:41:29 +02:00
John Molakvoæ 80893480c1 Merge pull request #40478 from nextcloud/node-from-entry 2023-10-18 10:44:21 +02:00
Julia Kirschenheuter bd46abac00 Merge pull request #40873 from nextcloud/fix/36965-fix-search-contacts
Fix width of input on contacts menu
2023-10-18 10:05:01 +02:00
julia.kirschenheuter f7609276b5 Fix width of input on contacts menu
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-18 09:35:41 +02:00
John Molakvoæ 0c1c045942 Merge pull request #40956 from nextcloud/deps/nextcloud/dialogs-5.0.0-beta.6 2023-10-18 09:25:58 +02:00
Christopher Ng f8b1d7f4c5 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:54:45 +02:00
Christopher Ng b81c76adc7 chore: Remove unnecessary dialogs css imports
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:47:17 +02:00
Christopher Ng 3b202f2198 chore(deps): Bump @nextcloud/dialogs to v5-beta.6
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:47:16 +02:00
John Molakvoæ 1a425ab6f6 Merge pull request #40926 from nextcloud/config-sample-theme-names-fix 2023-10-18 08:46:08 +02:00
Joas Schilling 15a7aa51c5 fix(dbal): Fix types in query builder methods for parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 07:09:08 +02:00
Ferdinand Thiessen 1f8c21a581 Merge pull request #40808 from c39cfbb3/patch-3
fix(L10N): Support "Accept-Language: zh-Hans-CN" and alike
2023-10-18 03:43:26 +02:00
Ferdinand Thiessen 1d9d3b6912 Merge pull request #40912 from nextcloud/dependabot/npm_and_yarn/mdi/svg-7.3.67
chore(deps): Bump @mdi/svg from 7.2.96 to 7.3.67
2023-10-18 03:36:29 +02:00
Ferdinand Thiessen 5932a01dd5 Merge pull request #40941 from nextcloud/dependabot/npm_and_yarn/babel/traverse-7.23.2
chore(deps): Bump @babel/traverse from 7.22.8 to 7.23.2
2023-10-18 03:32:14 +02:00
Ferdinand Thiessen 154a9989a7 Merge pull request #39852 from nextcloud/pragmaHeader
Stop sending deprecated Pragma header
2023-10-18 03:30:21 +02:00
Nextcloud bot e1d33096d3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-18 00:52:29 +00:00
dependabot[bot] 559ca56148 chore(deps): Bump @mdi/svg from 7.2.96 to 7.3.67
Bumps [@mdi/svg](https://github.com/Templarian/MaterialDesign-SVG) from 7.2.96 to 7.3.67.
- [Commits](https://github.com/Templarian/MaterialDesign-SVG/compare/v7.2.96...v7.3.67)

---
updated-dependencies:
- dependency-name: "@mdi/svg"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-18 00:41:53 +00:00
c39cfbb3 1bf15da863 Update lib/private/L10N/Factory.php
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +02:00
c39cfbb3 f7cd3d17b8 L10N/Factory: Support "Accept-Language: zh-Hans-CN" and alike
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +02:00
Ferdinand Thiessen 54d1ec58bf Merge pull request #40950 from nextcloud/fix/add-aria-pressed-to-buttons
fix(theming): Add `aria-pressed` attribute to active background
2023-10-18 02:16:41 +02:00
Ferdinand Thiessen 8d57cdcab5 fix(theming): Add aria-pressed attribute to active background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 01:35:54 +02:00
Pytal ff76e258c8 Merge pull request #40905 from nextcloud/fix/36965-apadt-margin-for-files_list_header 2023-10-17 15:02:52 -07:00
julia.kirschenheuter 0d53f54076 Reduce left margin of files list header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 21:43:22 +02:00
Julius Härtl d261330251 Merge pull request #40951 from nextcloud/fix/xhr-request-regression 2023-10-17 20:56:19 +02:00
Simon L a21d6c5d8d Merge pull request #40932 from nextcloud/enh/36965/fix-account-settings
fix profile visibility settings being too wide
2023-10-17 19:05:20 +02:00
Julia Kirschenheuter 91118a542c Merge pull request #40872 from nextcloud/fix/36965-fix-status-message_dialog
Change width for input field
2023-10-17 18:09:38 +02:00
Simon L d4415ba6dd address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 16:07:04 +00:00
John Molakvoæ 592eac043a Merge pull request #40948 from nextcloud/fix/new-folder 2023-10-17 17:42:46 +02:00
Ferdinand Thiessen 0414ca35c0 fix(xhr-request): Make sure to also allow strings as url
Our utility to add `X-Requested-With` headers on API calls intercepts
calls to `window.fetch`, so we must ensure we allow all parameters that the default
browser provided `window.fetch` allows.
In this case make sure to allow all stringify-able objects.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 17:41:51 +02:00
John Molakvoæ 9f157d7f80 fix(files): fix new folder encoding
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 17:19:48 +02:00
julia.kirschenheuter 4af5d58130 Change flex-direction for input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 17:17:57 +02:00
Simon L d5f0ba9602 fix profile visibility settings being too wide
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 15:14:59 +00:00
Julia Kirschenheuter fbf8a463db Merge pull request #40643 from nextcloud/fix/37082-set_visible_label_for_input_in_modal
Set visible label for input field
2023-10-17 16:55:25 +02:00
Simon L 24db452085 Merge pull request #40907 from nextcloud/enh/36965/fix-personal-settings
fix several personal settings problems
2023-10-17 15:23:26 +02:00
julia.kirschenheuter 7d00c7fde4 Replace password dialog with dialog from library
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 14:09:43 +02:00
John Molakvoæ 106bf6cf87 Merge pull request #40917 from nextcloud/feat/gridview 2023-10-17 13:55:51 +02:00
Simon L 99eeee2036 fix several personal settings problems
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 11:50:25 +00:00
John Molakvoæ 1ba5bc08ab fix(files): hide grid view button on narrow screen
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 12:43:25 +02:00
John Molakvoæ 77fdef1081 perf(files): optimize virtual scroller computation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 12:03:12 +02:00
dependabot[bot] b5eac93c3c chore(deps): Bump @babel/traverse from 7.22.8 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 09:20:28 +00:00
John Molakvoæ 116c396f0e feat(files): add grid toggle button
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ c4b8abd343 perf(files): reuse keys for virtual scrolling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 16975ae457 feat(files): grid view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 694fd51cba fix(files): split FileEntry Name
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 64c32f7148 fix(files): split FileEntry Actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 0f1f73478a fix(files): split FileEntry Checkbox and fix range selection
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:01 +02:00
John Molakvoæ 60260bb58e chore(files): split FileEntry Preview
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:01 +02:00
John Molakvoæ 2887e6419d Merge pull request #40854 from nextcloud/fix/template-picker 2023-10-17 11:17:56 +02:00
John Molakvoæ 4b55594f55 feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:17:35 +02:00
Julia Kirschenheuter ad7d20e017 Merge pull request #40902 from nextcloud/fix/36965-fix-nc-select-on-users-table
Append to body all selects inside of user table
2023-10-17 10:56:57 +02:00
julia.kirschenheuter ba0fadd312 Append to body all selects inside of user table
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 09:25:31 +02:00
Nextcloud bot cd6b10f89b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-17 00:27:38 +00:00
Pytal e6a2985e4d Merge pull request #40168 from nextcloud/enh/a11y/user-menu 2023-10-16 11:45:49 -07:00
Christopher Ng 48e02becab chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:59:29 -07:00
Christopher Ng 0b8958fae7 fix(acceptance): Locate settings menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng a7de1137d7 enh(a11y): Add label to app menu nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng f2f1e9c8d6 enh(a11y): Add avatar description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng 6c5a10fea3 enh(a11y): Add accessible user menu semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christoph Wurst b914916bdb Merge pull request #40749 from nextcloud/refactor/contacts-menu-to-vue
refactor: Contacts menu to Vue
2023-10-16 18:12:39 +02:00
Joas Schilling 746506fccd Merge pull request #40934 from nextcloud/techdebt/noid/codeowner
chore: Add the talk team as codeowners for things Talk heavily relies on
2023-10-16 17:29:31 +02:00
Joas Schilling dfc0974022 chore: Add the talk team as codeowners for things Talk heavily relies on
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 16:50:42 +02:00
Christoph Wurst 6a375ca161 refactor: Contacts menu to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-16 14:12:20 +00:00
Christoph Wurst 0321bec791 Merge pull request #40890 from nextcloud/fix/search/close-unified-search-second-ctrl-f
fix(search): Close unified search at the second ctrl+f
2023-10-16 16:05:25 +02:00
Joas Schilling 90485aa39c Merge pull request #40931 from nextcloud/bugfix/noid/fix-unit-tests-on-8.3
Fix unit tests on PHP 8.3
2023-10-16 15:22:17 +02:00
F. E Noel Nfebe c932c94fdd Merge pull request #40927 from nextcloud/allow-expiry-dates-less-than-enforced-limit
Allow share expiry dates lower than enforced limits
2023-10-16 11:37:10 +01:00
Julien Veyssier 9bf824eb90 Merge pull request #40471 from nextcloud/enh/fix-x-requested-with
Only add x-requested-with header in requests to Nextcloud
2023-10-16 12:06:49 +02:00
Julien Veyssier b58c3dde3d compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-16 10:28:48 +02:00
Julien Veyssier d2cc4c4798 only add x-requested-with header if requests point to NC
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-16 10:28:47 +02:00
Joas Schilling 500fa5431d Fix unit tests on PHP 8.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 10:17:22 +02:00
Côme Chilliet 8212feefb9 Merge pull request #40367 from nextcloud/fix/user_ldap-update-groups-on-login
Fire group membership events from LDAP at login
2023-10-16 10:01:55 +02:00
fenn-cs 9757e680e2 Allow share expiry dates lower than enforced limits
Previously, users could change the share expiry date up
to the enforced maximum.

The new share flow imposed the enforced share expiry
date maximum literally and did not allow even dates
lower than the maximum enforced.

That does not make much sense, if the enforced expiry date is 30
days from creation date, then it's logical to allow users set the
date to anything less than 30 days from the creation date.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-16 07:03:53 +01:00
Joas Schilling 356c2219bc Merge pull request #40865 from nextcloud/bugfix/noid/fix-version-comment
Fix version number in ITimeFactory after it was delayed
2023-10-16 08:01:09 +02:00
Joas Schilling a724fd4e9c Merge pull request #40900 from nextcloud/bugfix/noid/fix-parameter-types-in-docs
fix(docs): Fix parameter types in docs
2023-10-16 08:00:44 +02:00
Nextcloud bot 83c2729aae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-16 00:28:25 +00:00
Ferdinand Thiessen ca946e7e27 Merge pull request #40068 from nextcloud/devcontainer-fix-git-config
[Devcontainer] move git setup to postStartCommand
2023-10-16 01:04:06 +02:00
Ferdinand Thiessen f07709cbb6 Merge pull request #40910 from nextcloud/dependabot/npm_and_yarn/ts-loader-9.5.0
chore(deps-dev): Bump ts-loader from 9.4.4 to 9.5.0
2023-10-16 00:32:48 +02:00
Christoph Wurst 7d13e9563b fix(search): Close unified search at the second ctrl+f
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-16 00:30:31 +02:00
Josh Richards 4a7f648d16 config.sample.php: fix incorrect theme name + add a missing one
Fixes #40908 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-15 13:27:40 -04:00
John Molakvoæ 7e2c51204b Merge pull request #40893 from nextcloud/enh/a11y/files-header-sort 2023-10-15 13:52:14 +02:00
Nextcloud bot 562f19a49e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-15 00:27:31 +00:00
Christopher Ng 459e052237 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng 6a98d94e76 chore(files): Clean up unused components
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng 224ee07cd5 fix(files): Remove unnecessary sort direction from label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng cbb7085cfe enh(files): Add accessible sort direction
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
dependabot[bot] 4d1e6cefc9 chore(deps-dev): Bump ts-loader from 9.4.4 to 9.5.0
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.4.4 to 9.5.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.4.4...v9.5.0)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-14 03:09:38 +00:00
dependabot[bot] c2feec9de1 chore(deps-dev): Bump @babel/preset-typescript from 7.22.11 to 7.23.2
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.22.11 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-14 03:09:24 +00:00
Nextcloud bot 6f18732c35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-14 00:28:03 +00:00
Simon L ba12ce8e1e Merge pull request #40887 from nextcloud/enh/36965/fix-admin-settings 2023-10-13 18:22:55 +02:00
Robin Windey 9dd158b70d Devcontainer: move git setup to postStartCommand
* postCreateCommand is executed too early
* If git config commands run in postCreate, a global .gitconfig will be created
* Copy of local .gitconfig will be skipped if .gitconfig already exists in container
* Move to later stage
* https://github.com/devcontainers/cli/issues/98
* https://github.com/microsoft/vscode-remote-release/issues/4855#issuecomment-831920085

Signed-off-by: GitHub <noreply@github.com>
2023-10-13 16:18:57 +00:00
Simon L 55c8481710 fix several admin settings problems
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-13 15:35:32 +00:00
Christoph Wurst cdc2f38a51 Merge pull request #40868 from nextcloud/feat/in-memory-cache-factory
feat: Add factory method for in-memory caches
2023-10-13 13:52:14 +02:00
Joas Schilling a8ae09c544 fix(docs): Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 11:02:42 +02:00
Joas Schilling 160a2b7120 Merge pull request #40885 from nextcloud/bugfix/noid/fix-OCM-provider
Fix OCM provider public API and handling to allow apps to register
2023-10-13 10:53:21 +02:00
Simon L 925df86466 Merge pull request #40894 from nextcloud/fix/cypress-groups 2023-10-13 10:37:18 +02:00
Joas Schilling 21e7a82e64 feat(OCM): Dispatch an event so apps can register resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:46:28 +02:00
Joas Schilling fc445a2eaa feat(OCM): Add a way for apps to create a new IOCMResource
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:38:19 +02:00
Joas Schilling b246d51cbc fix(OCM): Make the OCM provider stateful so apps can add resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:42 +02:00
Joas Schilling 4dbe0677ad fix(OCM): Make the public API only rely on OCP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:39 +02:00
Ferdinand Thiessen f103979b9f Merge pull request #40874 from nextcloud/chore/deps/nextcloud-password-confirmation
chore(deps): Bump @nextcloud/password-confirmation from 4.0.1 to 5.0.0
2023-10-13 02:52:52 +02:00
Nextcloud bot d99847b0cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-13 00:47:00 +00:00
Christopher Ng b3d426c510 fix(cypress): User groups test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-12 15:39:42 -07:00
Grigorii K. Shartsev 50a7eba09c chore(assets): re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-12 20:02:07 +02:00
Grigorii K. Shartsev 26c3885bff chore(deps): Bump @nextcloud/password-confirmation from 4.0.1 to 5.0.0
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-12 18:16:54 +02:00
Simon L 01d5979ed2 Merge pull request #40871 from nextcloud/enh/36965/fix-my-apps-view 2023-10-12 14:25:11 +02:00
Joas Schilling dd0142ff47 Merge pull request #40864 from nextcloud/bugfix/noid/use-allowSelfSignedCertificates-for-all-OCM-requests
fix(federation): Use `sharing.federation.allowSelfSignedCertificates` config for all OCM requests
2023-10-12 12:37:15 +02:00
Joas Schilling cd659b7119 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-12 11:36:35 +02:00
Simon L 8f66fbe454 Fix my-apps view on mobile
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 09:35:51 +00:00
Christoph Wurst 03c7ee4e41 Merge pull request #40879 from nextcloud/fix/session/log-lost-crypto-session
fix(session): Log when crypto session data is lost
2023-10-12 10:37:15 +02:00
Arthur Schiwon 37f21cf94d Merge pull request #40443 from nextcloud/fix/noid/store-lpap-user-groups
fix(ldap): store last known user groups
2023-10-12 10:32:29 +02:00
Joas Schilling 62eafdbd48 Merge pull request #40413 from nextcloud/feature/sorbaugh/in-user-search
Add in:users as a search filter to limit searches to users
2023-10-12 10:29:29 +02:00
Côme Chilliet 500374a8e7 Fix registerEventListener signature
It seems now psalm correctly supports this.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 05efbf11d9 Fix LDAP LoginListener by adding new group relationships to caches before firing the event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 800b1b7031 Fire group events at login for LDAP groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 6e38cb197a Add logging to be able to debug FirstLoginListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 4f2048851c Move event listener registration to register()
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 2e52e39aff Use a standard array for the stateful cache
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 474b5e1a05 Add FirstLoginListener to accept shares upon first ldap user login
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:41 +02:00
nextcloud-command d6e21c3714 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 07:14:37 +00:00
Arthur Schiwon bdf0fe6a03 fix(meta): copyright note 2023-10-12 08:57:41 +02:00
sorbaugh f66e4ee072 remove unused properties
Signed-off-by: sorbaugh <stephan.orbaugh@nextcloud.com>
2023-10-12 08:57:41 +02:00
sorbaugh a3a599855e recompiled assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 08:57:40 +02:00
sorbaugh c38bafba9e Remove unneeded includes.
Usage:
1. Type a string in the search bar
2. Add in:users filter to avoid unnecessary searches in other apps
2023-10-12 08:57:04 +02:00
sorbaugh 65c70d7cc6 Keep Search Provider but remove actual search and display on the searchlist dialog. Will revisit in future search result list in future issue.
Usage:
1. Type a string in the search bar
2. Add in:users filter to avoid unnecessary searches in other apps
2023-10-12 08:57:04 +02:00
sorbaugh ab81cd1e1e Add new user filter to search.
Add regex to prevent filter collision in user-list page

Usage:
1. Type a string in the search bar
2. Add in:users to display only users in the search result
2023-10-12 08:56:48 +02:00
Nextcloud bot 6379c852c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-12 00:25:29 +00:00
Pytal 228b21f3fa Merge pull request #40110 from nextcloud/enh/a11y/add-group 2023-10-11 11:54:15 -07:00
Christoph Wurst ca33d6b01c fix(session): Log when crypto session data is lost
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 19:59:18 +02:00
Christopher Ng 4386803ae8 test(settings): Create and delete groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 10:39:54 -07:00
Christopher Ng 58569eb24e chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Christopher Ng ef9f1e631d enh(settings): Move confirm group removal dialog to vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Christopher Ng 0fe1b402fa enh(settings): Add groups accessibly
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Pytal 827515d960 Merge pull request #40858 from nextcloud/fix/app-nav-caption 2023-10-11 09:46:36 -07:00
Arthur Schiwon cce8d0a7a5 fix(LDAP): solve race condition reading groups of disappeared LDAP user
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-11 15:35:10 +02:00
Arthur Schiwon d9cbe105a5 Merge pull request #40698 from nextcloud/Valdnet-patch-1
Correct typos and add quotation marks
2023-10-11 15:25:28 +02:00
Arthur Schiwon b848841e3d Merge pull request #40839 from nextcloud/fix/noid/ldap-group-config-di
Pass IConfig by constructor to Group_LDAP
2023-10-11 14:05:15 +02:00
Christoph Wurst ff672b11e2 feat: Add factory method for in-memory caches
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 13:37:22 +02:00
Joas Schilling 0a4fbaddc7 Fix version number in ITimeFactory after it was delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-11 12:14:41 +02:00
Joas Schilling 91ebbe8003 fix(federation): Use sharing.federation.allowSelfSignedCertificates config for all OCM requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-11 11:52:10 +02:00
Christoph Wurst 04db454e9f Merge pull request #40861 from nextcloud/chore/unused-cache-factor-create-low-latency
chore: Drop unused \OC\Memcache\Factory::createLowLatency
2023-10-11 11:03:01 +02:00
Christoph Wurst fac05bce07 chore: Drop unused \OC\Memcache\Factory::createLowLatency
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 09:40:27 +02:00
Christoph Wurst 4f183bb604 fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 08:36:13 +02:00
Nextcloud bot bf1dbd33a7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-11 00:28:10 +00:00
Valdnet be6c889414 Correct typos and add quotation marks
Corrects typos and unifies spelling for "occ" commands.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-10-11 01:51:39 +02:00
Christopher Ng c50c583283 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-10 15:26:32 -07:00
Christopher Ng 1f6778c079 fix: Scope app nav caption styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-10 15:26:32 -07:00
Arthur Schiwon a149d4e6e3 Merge pull request #40843 from nextcloud/fix/noid/ocm-provider-on-subfolder
remove leading slash
2023-10-10 19:54:56 +02:00
dependabot[bot] 54a286f76d Merge pull request #40721 from nextcloud/dependabot/npm_and_yarn/jest/globals-29.7.0 2023-10-10 15:17:35 +00:00
dependabot[bot] 9d7807ffea Merge pull request #40595 from nextcloud/dependabot/github_actions/actions/checkout-4 2023-10-10 15:13:58 +00:00
John Molakvoæ 73f5d1d035 Merge pull request #40674 from nextcloud/feat/drop-folder 2023-10-10 16:57:32 +02:00
dependabot[bot] d3b658151d chore(deps-dev): Bump @jest/globals from 29.6.2 to 29.7.0
Bumps [@jest/globals](https://github.com/jestjs/jest/tree/HEAD/packages/jest-globals) from 29.6.2 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-globals)

---
updated-dependencies:
- dependency-name: "@jest/globals"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 13:56:26 +00:00
dependabot[bot] 130180c5cf chore(deps): Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...8ade135a41bc03ea155e62e844d188df1ea18608)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 15:53:07 +02:00
John Molakvoæ 35aed73ede feat: allow external drop and add dropzone
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 15:28:52 +02:00
dependabot[bot] 052a637cc9 Merge pull request #40724 from nextcloud/dependabot/npm_and_yarn/workbox-webpack-plugin-7.0.0 2023-10-10 12:38:29 +00:00
John Molakvoæ 9de246d74f Merge pull request #40782 from nextcloud/fix/auth-ext-strg 2023-10-10 13:50:59 +02:00
Côme Chilliet 43971f6a5c Merge pull request #39756 from nextcloud/enh/add-disabled-users-endpoint
Add endpoint for getting disabled user list
2023-10-10 13:33:49 +02:00
dependabot[bot] 165dab3fa6 chore(deps-dev): Bump workbox-webpack-plugin from 6.6.0 to 7.0.0
Bumps [workbox-webpack-plugin](https://github.com/googlechrome/workbox) from 6.6.0 to 7.0.0.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v6.6.0...v7.0.0)

---
updated-dependencies:
- dependency-name: workbox-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-10 11:14:30 +00:00
John Molakvoæ ae29608e46 fix(files_external): basic auth user storage trigger
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 12:07:48 +02:00
Ferdinand Thiessen 025cdb35cb Merge pull request #40722 from nextcloud/dependabot/npm_and_yarn/cypress-wait-until-2.0.1
chore(deps-dev): Bump cypress-wait-until from 1.7.2 to 2.0.1
2023-10-10 12:04:11 +02:00
dependabot[bot] 67f6eceb48 chore(deps-dev): Bump cypress-wait-until from 1.7.2 to 2.0.1
Bumps [cypress-wait-until](https://github.com/NoriSte/cypress-wait-until) from 1.7.2 to 2.0.1.
- [Release notes](https://github.com/NoriSte/cypress-wait-until/releases)
- [Changelog](https://github.com/NoriSte/cypress-wait-until/blob/master/release.config.js)
- [Commits](https://github.com/NoriSte/cypress-wait-until/commits/v2.0.1)

---
updated-dependencies:
- dependency-name: cypress-wait-until
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 09:32:22 +00:00
dependabot[bot] 20516a9a12 Merge pull request #40720 from nextcloud/dependabot/npm_and_yarn/cypress-and-nextcloud/cypress-13.3.0 2023-10-10 09:30:00 +00:00
Christoph Wurst 8c2b9b3036 Merge pull request #40785 from nextcloud/fix/user/log-logout-conditions
fix: Log critical session renewal and logout paths
2023-10-10 11:26:25 +02:00
Arthur Schiwon c1480aade4 refactor(LDAP): pass IConfig via constructor to Group_LDAP
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-10 11:18:57 +02:00
Côme Chilliet e51d20479e Check limit and offset parameters sent to controller
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-10 10:43:18 +02:00
Nextcloud bot e6d0105217 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-10 00:25:52 +00:00
Maxence Lange 9cd22dd949 remove leading slash
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-09 20:17:12 -01:00
Arthur Schiwon 039da6bd22 refactor(tests): simplify code, reduce duplication
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 21:58:32 +02:00
Arthur Schiwon 9e2d9d5df9 test(Group LDAP): add test for getting groups of OfflineUser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 21:08:28 +02:00
Simon L c40ece338b Merge pull request #40804 from nextcloud/enh/40687/fix-button-text 2023-10-09 20:52:14 +02:00
F. E Noel Nfebe e1db6dc7c5 Merge pull request #40825 from nextcloud/40801-fix-mixed-translation-sharing
Fixed mixed translations in sharing details
2023-10-09 19:05:49 +01:00
Arthur Schiwon cb3faad5b5 fix(ldap): store last known user groups
- for LDAP user life cycle management

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 19:46:27 +02:00
Simon L 5acf6c68aa Merge pull request #40783 from nextcloud/enh/40710/adjust-focus-visible 2023-10-09 18:48:46 +02:00
fenn-cs 10675f7aac Fixed mixed translations in sharing details
Due to a typo in the app passed to the translation method, some
strings translations don't work.

This commit corrects the spelling `file_sharing` to `files_sharing` and
hence resolves : https://github.com/nextcloud/server/issues/40801

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-09 17:39:48 +01:00
Simon L 8799c6863d fix text on default background image button
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-09 16:10:40 +00:00
Simon L 10c0c30ce2 adjust color of focus-visible to be better visible
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-09 15:42:18 +00:00
Joas Schilling ab15cffa56 Merge pull request #33105 from nextcloud/feature/noid/talk-federation-auth
Talk federation authentication
2023-10-09 17:06:29 +02:00
Simon L 4fd0408088 Merge pull request #40784 from nextcloud/enh/39414/move-docs 2023-10-09 16:40:08 +02:00
Joas Schilling 7998afe8b3 Talk federation authentication
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 15:44:56 +02:00
Daniel 14ed18c265 Merge pull request #40181 from nextcloud/bugfix/noid/copy-all-source-files-in-cypress 2023-10-09 15:10:14 +02:00
Côme Chilliet afcebd1e92 Fix api description for Users#getDisabledUsers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 14:50:12 +02:00
Côme Chilliet 2b7d01a619 Merge pull request #40829 from nextcloud/fix/fix-dynamic-property-in-core-tests
Fix Dynamic property timeFactory in ClientFlowLoginControllerTest
2023-10-09 14:48:24 +02:00
Christoph Wurst f398d0b5a3 fix: Log critical session renewal and logout paths
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-09 13:21:10 +02:00
Alexander Piskun 4e8ec0bc36 Merge pull request #40737 from nextcloud/cors-app_api
added CORS skip if the session was created by AppAPI
2023-10-09 13:40:29 +03:00
max-nextcloud 9e3dbbdcb5 Merge pull request #40770 from nextcloud/fix/cypress-on-branches
fix(cypress): empty group, tag and ci-build-id when not using cypress cloud
2023-10-09 12:33:34 +02:00
Côme Chilliet 61da2b97d0 Generated openapi.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Côme Chilliet cac3d465f0 Remove psalm @var annotations which should not be needed
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Côme Chilliet a1255539b8 Add endpoint for getting disabled user list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Daniel Hansson 06efe9f211 Merge pull request #40731 from nextcloud/imaginary-performance
Generate all preview sizes for Imaginary
2023-10-09 11:54:03 +02:00
Max a6d2b20579 fix(cypress): runs on integration branches
Empty `group`, `tag` and `ci-build-id` when `record` is false.
When not using cypress cloud these need to be empty.

Note that cypress expects strings for group and tag.
Therefore `false` will be interpreted as `"false"`.
Use an empty string instead.

Signed-off-by: Max <max@nextcloud.com>
2023-10-09 11:49:21 +02:00
Côme Chilliet ee39a47e84 Fix Dynamic property timeFactory in ClientFlowLoginControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 10:30:54 +02:00
Alexander Piskun 6ef3875e74 Merge branch 'master' into cors-app_api 2023-10-09 11:24:04 +03:00
Louis cad745b0d6 Merge pull request #40805 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.20
chore(deps-dev): Bump @types/dockerode from 3.3.19 to 3.3.20
2023-10-09 10:21:13 +02:00
Joas Schilling f84a93f435 Merge pull request #40472 from nextcloud/fix/aborted_pgsql_transaction_on_error
fix(twofactor): avoid DB error on Twofactor (en/dis)abled event
2023-10-09 09:04:24 +02:00
Joas Schilling ae54cc05aa fix(CI): Fix server setup in cypress by overwriting all files in shallow-server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 08:40:12 +02:00
Daniel Hansson 6e171bbaf5 Merge branch 'master' into imaginary-performance 2023-10-09 07:29:58 +02:00
Nextcloud bot 6f722119f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-09 00:28:34 +00:00
Nextcloud bot 3008f7cadc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-08 00:29:22 +00:00
Shreyash Kashyap 121d3d4c15 Update README.md
Signed-off-by: Shreyash Kashyap <76607993+SYK-08@users.noreply.github.com>
2023-10-07 13:12:53 +05:30
Grigorii K. Shartsev f2572ebece Merge pull request #40294 from nextcloud/fix/37087/new-comment-description
fix(comments): move new comment instructions placeholder to description
2023-10-07 12:01:33 +05:00
Grigorii K. Shartsev 0ce5a34afc chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-07 08:45:53 +02:00
Grigorii K. Shartsev be8d9042b5 fix(comments): move new comment instructions placeholder to description
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-07 08:45:53 +02:00
dependabot[bot] 50a930fb17 chore(deps-dev): Bump @types/dockerode from 3.3.19 to 3.3.20
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.19 to 3.3.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 01:25:09 +00:00
Pytal 597965145c Merge pull request #40692 from nextcloud/deps/nextcloud/vue-8.0.0-beta.7 2023-10-06 15:32:38 -07:00
Christopher Ng ca43254b93 fix(ci): Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:48:51 -07:00
Christopher Ng 4f1751f51c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:43:01 -07:00
Christopher Ng 744a7e291a fix(acceptance): Locate contacts menu button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:33 -07:00
Christopher Ng 675feb9cf3 chore: Adapt to breaking DateTime rename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:33 -07:00
Christopher Ng 44ddd918d1 chore: Bump @nextcloud/vue + @nextcloud/dialogs + @nextcloud/calendar-availability-vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:32 -07:00
Simon L 4ad5a18afb fix double heading
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 17:57:39 +02:00
Simon L e5b11ced4a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 16:22:02 +02:00
Joas Schilling 71cd97c37f Merge pull request #38556 from nextcloud/techdebt/noid/doctrine/dbal-to-3.6.2
chore(deps): Bump doctrine/dbal to 3.7.x
2023-10-06 16:21:07 +02:00
Joas Schilling 570159e610 fix(DB): Update comment to state why we still use the max 4k limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +02:00
Joas Schilling ccb01b19a0 fix(sqlite): Remove some old SQLite cheats
- Doctrine correctly forces integer for autoincrement by now
- Doctrine correctly maintains integer types by now

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +02:00
Joas Schilling f8ee6c4769 fix(oracle): Move away from internal and deprecated SchemaDiff API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +02:00
Joas Schilling 919207873e fix(dbal): Move migrator away from deprecated calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +02:00
Joas Schilling 160298c556 fix(mysql): Remove custom MySQL workaround from 2015
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling b202b139dd fix(postgres): Remove old Postgres 9.4 workaround
Postgres 10 is the minimum in the meantime
and doctrine/dbal fixed this in 2.6.0 already
ref https://github.com/doctrine/dbal/pull/2614

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling ad839dbb0a fix(sqlite): Remove no longer required autoincrement fix
- I installed current master and exported the schema as SQL
- Then I went to this branch, removed the content of the run() method (so made it no-op)
- I installed again and exported the schema as SQL
- The files are exactly the same, so whatever we tried to fix was fixed since 2015 in doctrine dbal

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling 00acf1bae1 feat(CI): Add a stub for SensitiveParameter, so Psalm is not failing on Doctrine/DBAL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +02:00
Joas Schilling c4ed7f9d21 fix(dbal): Doctrine\DBAL\Connection::PARAM_* types are deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +02:00
Joas Schilling 18d672c38f chore(deps): Bump doctrine/dbal to supported 3.7.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:23 +02:00
Alexander Piskun 0b8a3b578d fixed Drone test
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-06 13:46:37 +03:00
Benjamin Gaussorgues 4361019f2f fix(twofactor): avoid error in pgsql for duplicate entry
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-06 11:23:23 +02:00
Matthieu Gallien d061e05b08 Merge pull request #40563 from nextcloud/updateCrl
Update crl after revoke mfazones.csr
2023-10-06 09:57:52 +02:00
Christoph Wurst 0e58d4a52f Merge pull request #40795 from nextcloud/fix/user/log-app-token-login-name-mismatch-user
fix(user): Log affected user of app token login name mismatch
2023-10-06 09:57:18 +02:00
Matthieu Gallien 74089f9d11 Update crl after revoke mfazones.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-06 09:35:58 +02:00
Christoph Wurst 83a30dfbdf fix(user): Log affected user of app token login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-06 08:51:50 +02:00
Pytal 649990ee8b Merge pull request #40719 from nextcloud/enh/a11y/semantic-user-table 2023-10-05 17:31:08 -07:00
Nextcloud bot 4016c7a1be Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 00:26:17 +00:00
Christopher Ng 091b3e0586 fix(cypress): User table create/delete tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 95a7925dc9 fix(cypress): User table disable/enable tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 37fa4efdae fix(cypress): User table modify tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 8a31efb644 fix(cypress): User table column tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 14cb7b926c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng d655f2a3b9 enh(settings): Semantic user table markup
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:49:24 -07:00
Simon L 6439fdf5b6 Move inline docs to online documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-05 15:42:47 +02:00
Julien Veyssier b4fec29e8e Merge pull request #40766 from nextcloud/enh/noid/oauth2-code-expiration
Make OAuth2 authorization code expire
2023-10-05 15:16:02 +02:00
Julien Veyssier d56950a6c9 adjust phpdoc types in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:03 +02:00
Julien Veyssier 98c8a465b0 update OpenAPI specs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:03 +02:00
Julien Veyssier da63d3c27b update autoload files
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier d2bc483adf adjust oauth app
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 32f984c520 adjust oauth tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier c6da99474e rename oauth2_access_token's created_at to code_created_at
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier e944980eb6 add db index on oauth2_access_tokens's (token_count, created_at)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier ddfc124767 add test for refusing to get an oauth token from a code when we're not in authorization state
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 779e1d51ac delete oauth access token when receiving a code that has expired
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 1ab45bad5d refuse oauth authorization code if a token has already been delivered (active token)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 7bba410997 cleanup access tokens that are still in authorization state and that have expired
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 2995b0948f add tests for oauth2 authorization code expiration
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 807f173dec make oauth2 authorization code expire after 10 minutes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Christoph Wurst f3f2d9b978 Merge pull request #40764 from nextcloud/chore/eslint-no-external-apps
chore: Do not lint external apps
2023-10-05 10:38:53 +02:00
Arthur Schiwon 6200c914a3 Merge pull request #40745 from nextcloud/fix/noid/ocm-provider-rewrite-rules
fix ocm-provider rewrite rules
2023-10-05 10:24:02 +02:00
Nextcloud bot a309d26687 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 00:40:35 +00:00
Pytal ce1c9730dd Merge pull request #40771 from nextcloud/fix/37098/migrate-to-nc-icon-svg-wrapper 2023-10-04 17:15:23 -07:00
Ferdinand Thiessen a3657edb19 Merge pull request #40768 from nextcloud/fix/37098/dashboard-duplicated-ids
fix(dashboard): remove duplicated IDs on the dashboard page
2023-10-04 23:52:57 +02:00
Grigorii K. Shartsev 5d33380178 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:55 +02:00
Grigorii K. Shartsev 8cc21f50c1 fix(files): migrate from CustomSvgIconrenderer to NcIconSvgWrapper
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:54 +02:00
Julia Kirschenheuter 7641af5a5b Merge pull request #40662 from nextcloud/fix-37080_correct_aria_label_text_on_action_inputs
Correct `aria-label` on action input and text field
2023-10-04 18:14:06 +02:00
nextcloud-command e1bda0ad8f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-04 15:29:21 +00:00
John Molakvoæ ff9be6b20a Merge pull request #40515 from nextcloud/fix/redirect-if-wrong-dir 2023-10-04 16:37:25 +02:00
Grigorii K. Shartsev 9ffd5a3402 chore: build assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:22:51 +02:00
Grigorii K. Shartsev c4684c8ec5 fix(dashboard): remove duplicated IDs
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:19:38 +02:00
julia.kirschenheuter 1431b0dd27 Correct aria-label on action input and text field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-04 14:28:28 +02:00
Daniel Hansson 9cc0117c18 Merge branch 'master' into imaginary-performance 2023-10-04 13:25:40 +02:00
John Molakvoæ (skjnldsv) b05719c8e9 fix: redirect to proper directory if file not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:29:05 +02:00
John Molakvoæ 529bce24b4 Merge pull request #40585 from nextcloud/fix/illegal-characters 2023-10-04 11:27:35 +02:00
John Molakvoæ (skjnldsv) dbeb526bba fix(files): disallow illegal characters
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:12:44 +02:00
Daniel Hansson d8e8e73c02 Merge branch 'master' into imaginary-performance 2023-10-04 11:00:47 +02:00
Joas Schilling c88b02abff Merge pull request #40660 from nextcloud/bugfix/noid/fix-missing-user-status-on-autocomplete-api
fix(autocomplete): Fix missing user status on autocomplete endpoint
2023-10-04 10:12:14 +02:00
John Molakvoæ 4756807f2e Merge pull request #40439 from Koc/feature/clickable-logo 2023-10-04 08:49:25 +02:00
John Molakvoæ 3f725824b1 Merge pull request #40756 from nextcloud/fix/encoded-source 2023-10-04 08:48:48 +02:00
John Molakvoæ d591510253 fix(files): legacy humanFileSize tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-04 08:44:57 +02:00
Christoph Wurst 837b296288 chore: Do not lint external apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-04 07:30:30 +02:00
Nextcloud bot cf6e9a19c4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 00:26:58 +00: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
John Molakvoæ d79e26b25a fix(files): encoded source path on actions requests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-03 18:11:03 +02:00
Maxence Lange a250250985 Update .htaccess
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-03 14:19:44 -01:00
Julien Veyssier 8f30f97642 Merge pull request #40752 from nextcloud/enh/40654/share-creation-loading-feedback
Show loading icon in 'save share' button when creating a share
2023-10-03 15:31:45 +02:00
Julien Veyssier 217a2a114d compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-03 12:32:28 +00:00
Julien Veyssier 03cb99aff3 show loading icon in 'save share' button when creating a share
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-03 13:55:02 +02:00
Christoph Wurst fdb7fe25bf Merge pull request #39114 from fsamapoor/refactor_lib_private_collaboration_part2
[2/2] Refactors lib/private/Collaboration
2023-10-03 13:47:18 +02:00
Louis cc1da88547 Merge pull request #40751 from nextcloud/dependabot/npm_and_yarn/core-js-3.33.0
chore(deps): Bump core-js from 3.32.0 to 3.33.0
2023-10-03 11:19:24 +02:00
dependabot[bot] 0316048271 chore(deps): Bump core-js from 3.32.0 to 3.33.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.0 to 3.33.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.33.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-03 08:55:09 +00:00
John Molakvoæ bdf1bfb954 Merge pull request #40748 from nextcloud/chore/remove-nextcloud-vue-dashboard 2023-10-03 10:23:30 +02:00
Faraz Samapoor a304ba5b5a Refactors lib/private/Collaboration.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-10-03 09:17:10 +03:30
Nextcloud bot 4d227c195f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 00:26:05 +00:00
F. E Noel Nfebe 8c2ff08fb7 Merge pull request #40629 from nextcloud/40438-sharing-cleanup
Updates to new sharing flow
2023-10-02 19:26:53 +01:00
Grigorii K. Shartsev d9c9b12d22 chore(deps): remove @nextcloud/vue-dashboard
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-02 19:04:42 +02:00
Maxence Lange 39c39a0f60 fix ocm-provider rewrite rules
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-02 14:38:10 -01:00
Christoph Wurst cd1d980fbd Merge pull request #40678 from nextcloud/chore/phpunit-vendor-bin
chore: Install phpunit via vendor bin
2023-10-02 15:30:54 +02:00
fenn-cs 0537bbd331 Correct check for enabled expiration date
The default expiration date cannot be enforced if it is not enabled
in the first place. Hence, the check for whether a share has an expiration date
should not consider enforcements but only where the share expiry type is enabled.

For example : Using `this.config.isDefaultExpireDateEnabled` instead of
`this.config.isDefaultExpireDateEnforced` which can be verified by checking `isExpiryDateEnforced`.

Resolves : https://github.com/nextcloud/server/issues/40612

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-02 11:29:04 +00:00
fenn-cs a092bae720 Updates to sharing flow
- Show enforced expiry date for new shares.
- Improve quick share dropdown visibility in dark mode.
- Prevent expiry date from showing expire for incoming shares.
by updating the check for `share.passwordExpirationTime` to equally
check for `undefined`.
- Move "Download permission/attribute" from custom setting (as it is just
another advanced setting and not an actual permission).
- Show correct text for upload/editing when "allow public uploads" is enabled
or disabled by admin.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-02 11:59:10 +01:00
max-nextcloud 5ddffcb7b4 Merge pull request #40736 from nextcloud/test/cypress-record-in-prs-only
test(cypress): only use the cypress cloud on pull requests
2023-10-02 12:56:01 +02:00
Louis 09d0ae1308 Merge pull request #40738 from nextcloud/fix/remove-uneeded-class_app_navigation_caption
Remove unneeded class
2023-10-02 11:45:04 +02:00
Christoph Wurst 0e64ec6550 chore: Install phpunit via vendor bin
This means we can all run the same version. And when switching to
stableX it can pull the corresponding version too. Also local dev envs
and CI run the same phpunit.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-02 11:33:14 +02:00
Christoph Wurst 0cb489d6ca Merge pull request #40656 from nextcloud/feat/backgroundjob/schedule-job-after
feat(backgroundjob): Schedule job after <timestamp>
2023-10-02 11:30:21 +02:00
Max 716d1a2d76 test(cypress): only use the cypress cloud on pull requests
* Disable recording on integration branches.
* No parallelization on integration branches.

This will still run the cypress tests - but a bit slower and without recordings.

The matrix syntax to enable this is somewhat hard to parse.
In case of a PR the matrix will contain one entry for use-cypress-cloud
with the value `true`. Otherwise it will have one entry `false`.

This way we can exclude containers for the case without the cypress cloud.

Signed-off-by: Max <max@nextcloud.com>
2023-10-02 11:14:23 +02:00
Daniel Hansson 2792c9e4ce Merge branch 'master' into imaginary-performance 2023-10-02 10:55:09 +02:00
Daniel Hansson da2aad598e also remove function
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-10-02 10:54:36 +02:00
julia.kirschenheuter 5d9abce58c Remove unneeded class
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-02 10:32:04 +02:00
Alexander Piskun f16c9f42c6 added CORS skip if session was created by AppAPI
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-02 11:08:21 +03:00
Côme Chilliet 9ebcd287ef Merge pull request #37201 from AaronDewes/fix/ldap-filter-generation
Fix: Escape group names for LDAP
2023-10-02 09:49:22 +02:00
Nextcloud bot 3622af9b43 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 00:25:52 +00:00
Daniel 676bee16eb Merge pull request #40734 from nextcloud/debt/noid/align-param-name 2023-10-01 12:16:33 +02:00
Nextcloud bot 645002a1be Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 00:26:09 +00:00
Daniel 83cbd9c307 Merge pull request #40630 from nextcloud/enh/enable-php-8.3 2023-10-01 00:20:16 +02:00
Daniel Kesselberg 7e0ed6b636 ci: clear disable_functions to enable pcntl_signal
When using ini-file development then disable_functions forbids pcntl_signal by default.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-30 22:52:57 +02:00
Côme Chilliet 5586f2d4c4 Use latest shivammathur/setup-php in phpunit-32bits.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet e20ba1cab1 Add 8.3 to lint CI and 32bits test suite
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet 796bf329b6 Adding ini-file:development to 32bit CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet 1daa881b03 Allow PHP 8.3 in version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Daniel Kesselberg 19ec0ee81b chore: rename serializedClosure to argument to align with parent class
To make psalm happy ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-30 22:46:32 +02:00
Daniel ee590ab5a9 Merge pull request #40709 from nextcloud/fix/ldap-profile-pic-resolution-master 2023-09-30 22:43:11 +02:00
Daniel Hansson b2d105e7ec Generate all preview sizes for Imaginary
A follow up on https://github.com/nextcloud/server/pull/40670

Based on discussions here: https://github.com/nextcloud/server/issues/38911#issuecomment-1741819188

This fixes the case were not all previews are generated, for example in the activity view: https://github.com/nextcloud/server/issues/38911#issuecomment-1738886106



Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-09-30 20:08:35 +02:00
dependabot[bot] d4d48f7c1b chore(deps-dev): Bump cypress and @nextcloud/cypress
Bumps [cypress](https://github.com/cypress-io/cypress) and [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress). These dependencies needed to be updated together.

Updates `cypress` from 12.17.4 to 13.3.0
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.17.4...v13.3.0)

Updates `@nextcloud/cypress` from 1.0.0-beta.2 to 1.0.0-beta.6
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.2...v1.0.0-beta.6)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: "@nextcloud/cypress"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-30 01:22:51 +00:00
Nextcloud bot d215d80916 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 00:25:53 +00:00
Christoph Wurst 94430ed3de Merge pull request #40564 from nextcloud/fix/userstatus/message-timestamp
fix(userstatus): Track message timestamp too
2023-09-29 19:51:54 +02:00
Joas Schilling 3c0c1cbf6e Merge pull request #40714 from nextcloud/bugfix/noid/sensitive-onlyoffice
fix(systemreport): Mask onlyoffice secret as sensitive
2023-09-29 17:31:28 +02:00
Joas Schilling 6c0b862e75 fix(systemreport): Mask onlyoffice secret as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-29 16:36:19 +02:00
Marcel Klehr 7f5b61c66d Update apps/user_ldap/lib/User/User.php
Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-09-29 13:48:06 +02:00
Marcel Klehr 66f6e94d7d LDAP: Increase profile picture limit to 512
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-09-29 12:47:48 +02:00
Christoph Wurst 04ecc2a6a9 feat(backgroundjob): Schedule job after <timestamp>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 10:29:40 +02:00
Christoph Wurst fbdf733be0 fix(userstatus): Track message timestamp too
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 09:55:19 +02:00
Julia Kirschenheuter f8f437072a Merge pull request #40576 from nextcloud/fix/36915-_The_page_only_has_one_h1_heading
Split list to navigation for the left sidebar
2023-09-29 08:38:14 +02:00
Christoph Wurst cfda046260 Merge pull request #40644 from nextcloud/fix/noid/encode-uri-trashbin-restore-files-delete-favorite
fix: encode uri for delete, restore and favorite
2023-09-29 08:29:02 +02:00
F. E Noel Nfebe db6a53b0a1 Merge pull request #39224 from shdehnavi/null_coalescing_conversion_lib_private
Convert isset ternary to null coalescing operator
2023-09-29 02:20:12 +01:00
Nextcloud bot 703f20b5bc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 00:25:29 +00:00
Daniel Kesselberg 4f7032475e fix: encode uri for delete, restore and favorite
To encode # and other characters properly

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-28 20:36:22 +02:00
julia.kirschenheuter 5693092053 Split list to navigation for the left sidebar
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-28 18:18:40 +02:00
Christoph Wurst f174e4a057 Merge pull request #40675 from nextcloud/fix/unifiedsearch/search-0
fix(unifiedsearch): Allow searching for "0"
2023-09-28 17:18:37 +02:00
John Molakvoæ 2080d9d953 Merge pull request #40677 from nextcloud/fix/wcag-files 2023-09-28 17:05:17 +02:00
Hamid Dehnavi ea06cf2f39 Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 17:44:19 +03:30
John Molakvoæ 87ef6e47f2 fix(files): pass WCAG AA for hover rows
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-28 13:55:01 +00:00
Louis 45cac16432 Merge pull request #39131 from fsamapoor/refactor_lib_files_external_commands
Refactors files_external app commands
2023-09-28 14:39:49 +02:00
Joas Schilling a7018bc5e8 fix(autocomplete): Fix missing user status on autocomplete endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-28 14:02:18 +02:00
F. E Noel Nfebe c5293bb9db Merge pull request #40430 from nextcloud/enh/a11y/share-note-label
enh(a11y): Add label to share note textbox
2023-09-28 12:54:08 +01:00
Christoph Wurst 1a1514e296 Merge pull request #39225 from shdehnavi/null_coalescing_conversion_apps
Convert isset ternary to null coalescing operator
2023-09-28 11:39:23 +02:00
John Molakvoæ cdd07904de Merge pull request #40583 from nextcloud/feat/button-mtime 2023-09-28 10:56:51 +02:00
Côme Chilliet c9ed1e981b Merge pull request #40617 from nextcloud/enh/allow-user-to-set-apporder
Read apporder from configuration value
2023-09-28 10:55:52 +02:00
Christoph Wurst dbd666e82b fix(unifiedsearch): Allow searching for "0"
empty("0") evaluates to true

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-28 10:53:07 +02:00
Hamid Dehnavi d64bbc8bd3 Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 12:18:41 +03:30
Côme Chilliet 99e287b49a Merge pull request #39011 from fsamapoor/refactor_lib_private_security_part1
[1/3] Refactors lib/private/Security
2023-09-28 10:38:38 +02:00
John Molakvoæ 456aea8042 Merge pull request #39236 from shdehnavi/refactor_comments_app 2023-09-28 09:27:12 +02:00
Côme Chilliet 8049702413 Fix behavior when defaultapp is empty
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-28 09:22:54 +02:00
Hamid Dehnavi 92b75bc798 Make adjustments based on the review
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 09:16:03 +03:30
Hamid Dehnavi 878288004e Refactor comments app
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 09:16:03 +03:30
Faraz Samapoor eab7818f0e Adds parameter type hints.
Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-28 09:02:10 +03:30
Faraz Samapoor 32838d8f0a Refactors files_external app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-28 09:02:10 +03:30
Christopher Ng 39adf3a4ab chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-27 17:39:38 -07:00
Christopher Ng eacde86693 enh(a11y): Add label to share note textbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-27 17:39:38 -07:00
Nextcloud bot c2e4a7be92 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-28 00:27:56 +00:00
Christoph Wurst bcda3314ed Merge pull request #39213 from shdehnavi/replace_strpos_and_substr_calls_in_federatedfilesharing_app
Refactor "strpos" and "substr" calls in federatedfilesharing app to improve code readability
2023-09-27 20:32:19 +02:00
Christoph Wurst dd3cd29224 Merge pull request #39175 from shdehnavi/settings_app_users_controller_square_bracket_syntax
use square bracket syntax to modify array
2023-09-27 20:31:11 +02:00
Hamid Dehnavi 11447334e5 Refactors "strpos" and "substr" calls to improve code readability
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-27 20:37:51 +03:30
Joas Schilling f934d23cf2 Merge pull request #40651 from nextcloud/refactor/dbal-connection-query-execute-query
refactor: Use DBAL's executeQuery instead of query (deprecated)
2023-09-27 14:40:15 +02:00
Kate 69a050991b Merge pull request #40649 from nextcloud/fix/openapi/ocs-apirequest-header
Fix OCS-APIRequest header for OpenAPI
2023-09-27 11:29:35 +02:00
Christoph Wurst 6b90ab1953 refactor: Use DBAL's executeQuery instead of query (deprecated)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-27 10:43:42 +02:00
John Molakvoæ (skjnldsv) 25e500bbf4 feat(files): properly format buttons, align mtime to the left and apply opacity based on file last modification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-27 10:39:33 +02:00
jld3103 d7926807ea Fix OCS-APIRequest header for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 10:22:20 +02:00
Kate f134244c90 Merge pull request #40502 from nextcloud/fix/openapi/single-status-descriptions
Add single status code descriptions for OpenAPI
2023-09-27 09:18:25 +02:00
John Molakvoæ 6fb5f97abc Merge pull request #40604 from nextcloud/fix/dnd/open-fileid 2023-09-27 08:53:04 +02:00
John Molakvoæ 5dcefad91f Merge pull request #40065 from nextcloud/bugfix/files/navigation-api 2023-09-27 08:33:34 +02:00
Christoph Wurst 0a20b5de74 Merge pull request #36742 from fsamapoor/patch-1
Refactors tests/app.php to improve code readability.
2023-09-27 08:32:29 +02:00
John Molakvoæ 8e9e222105 fix(files): open folder fileid while navigating without opening the sidebar
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-27 08:29:50 +02:00
jld3103 c2d45cb172 Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +02:00
Faraz Samapoor c322224650 Refactors tests/app.php to improve readaibility.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-27 09:10:47 +03:30
Faraz Samapoor f313ca92e7 Refactors lib/private/Security.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-27 09:03:15 +03:30
Nextcloud bot 912b18b1fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-27 00:26:53 +00:00
nextcloud-command 360ae111d8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-26 19:47:57 +00:00
Max 27bcef72e0 fix(files): use OC.Files.getClient()
`OCA.Files.App.fileList` is not initiated anymore.

Signed-off-by: Max <max@nextcloud.com>
2023-09-26 21:37:45 +02:00
Max 7ba6409270 fix(files): do not include scripts for merge-index
Signed-off-by: Max <max@nextcloud.com>
2023-09-26 21:37:45 +02:00
John Molakvoæ d395fa862b Merge pull request #39998 from nextcloud/feat/f2v/dnd 2023-09-26 20:33:11 +02:00
John Molakvoæ (skjnldsv) e3b2af4d9c fix(files): preview loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-26 20:22:10 +02:00
John Molakvoæ f9d2e3af0c feat(files): add move or copy action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ 16094c7db5 feat(files): add drag and drop support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ 4621198744 feat(files): add folder icon overlay
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
Christoph Wurst 09a9c3ca3d Merge pull request #40639 from nextcloud/chore/drop-vendored-composer
chore: Drop vendored Composer v2.4.1
2023-09-26 19:41:59 +02:00
Côme Chilliet 740b38be2b Merge pull request #39108 from fsamapoor/refactor_lib_private_lock
Refactors lib/private/Lock
2023-09-26 16:58:37 +02:00
Côme Chilliet b11eb9e6d6 Fix and extend NavigationManagerTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 16:21:22 +02:00
Christoph Wurst 91959c99c1 Merge pull request #40614 from nextcloud/fix/userstatus/migration-version-number
fix(userstatus): Sync migration version number with app version
2023-09-26 15:46:48 +02:00
Arthur Schiwon 2397e835e6 Merge pull request #40584 from nextcloud/fix/correct-37082-replace_input_on_security_page
Correct value for device name input field
2023-09-26 15:16:04 +02:00
Côme Chilliet 2d28e8110f Fix and extend tests for AppManager::getDefaultAppForUser
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:59:05 +02:00
Côme Chilliet a4a3d94f05 Default to first application if no default app is set
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:40:14 +02:00
Côme Chilliet 6083d32a80 Revert "Support admin default order for applications"
This reverts commit a3a42591e2.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:22:57 +02:00
Louis e08fc29c44 Merge pull request #40619 from nextcloud/artonge/fix/l10n_id_in_files_versions
Use proper app id in Version.vue
2023-09-26 14:15:45 +02:00
Christoph Wurst be902d644d chore: Drop vendored Composer v2.4.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-26 13:18:38 +02:00
Christoph Wurst cf3fadc707 fix(userstatus): Sync migration version number with app version
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-26 13:11:32 +02:00
Côme Chilliet 3a56ecc8cb Merge pull request #40565 from nextcloud/fix/remove-writelog
Remove deprecated methods Util::writeLog and DIContainer::log
2023-09-26 12:09:21 +02:00
Julia Kirschenheuter f18e73137c Merge pull request #40613 from nextcloud/fix/36966-remove_unneeded_opacity_for_action_button
Remove unneeded opacity for action button
2023-09-26 10:20:39 +02:00
Côme Chilliet 7be31d4d68 Merge pull request #40541 from nextcloud/fix/dav/expand-recurrences-in-search
fix(dav): expand recurrences when searching
2023-09-26 09:47:53 +02:00
Faraz Samapoor 40d9349a2d Refactors lib/private/Lock.
To improve code readability.

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-26 10:48:17 +03:30
Joas Schilling d5a8a97c07 Merge pull request #40622 from nextcloud/bugfix/40410/ignore-default-source.svg-from-optimization
fix(build): Ignore `default-source.svg` from image optimization
2023-09-26 09:14:28 +02:00
F. E Noel Nfebe 09b1c85245 Merge pull request #40533 from nextcloud/40493-auto-suggest-password
Auto set password for new email shares
2023-09-26 08:05:17 +01:00
Joas Schilling 23a2e3424b Merge pull request #40620 from nextcloud/feat/noid/ocp-for-phonenumber-util
feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
2023-09-26 08:59:43 +02:00
fenn-cs a3613350f6 Auto set password for new email shares
Suggest auto generated password for new public share (mail share).

Resolves : https://github.com/nextcloud/server/issues/40493

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-26 06:06:27 +00:00
Nextcloud bot 2288e8e571 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-26 00:28:08 +00:00
dependabot[bot] c10b2ad631 Merge pull request #40496 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.6 2023-09-25 16:21:07 +00:00
Joas Schilling 3b4c306860 fix(phonenumber): Improve docs by adding input details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 17:32:47 +02:00
julia.kirschenheuter c401b048cc Correct value for device name input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-25 17:11:50 +02:00
dependabot[bot] 80ff909a30 chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.6
Bumps [@vue/vue2-jest](https://github.com/vuejs/vue-jest) from 29.2.4 to 29.2.6.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v29.2.4...v29.2.6)

---
updated-dependencies:
- dependency-name: "@vue/vue2-jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 14:45:14 +00:00
Louis 5821f884e8 Merge pull request #39835 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.5
chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.5
2023-09-25 16:44:04 +02:00
julia.kirschenheuter 33c022b875 Remove unneeded opacity for action button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-25 16:42:55 +02:00
Joas Schilling 625d9bd47c fix(build): Ignore default-source.svg from image optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 16:40:03 +02:00
Côme Chilliet dc347b39c1 Merge pull request #40501 from nextcloud/fix/fix-int-size-in-files-scanner
Store size in int|float for 32bit support
2023-09-25 16:32:32 +02:00
Joas Schilling abeebd2f94 Merge pull request #40562 from nextcloud/style/config-php-space-indent
style: Fix editorconfig indent for config/*config.php
2023-09-25 16:26:40 +02:00
Joas Schilling 0956b493b6 fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:54:21 +02:00
Côme Chilliet a3a42591e2 Support admin default order for applications
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:43:04 +02:00
Louis Chemineau 33d0adf96c Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-25 15:37:02 +02:00
Joas Schilling 5092278b0f feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:33:09 +02:00
Louis Chemineau 58bb9820e5 Use proper app id in Version.vue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-25 15:23:00 +02:00
dependabot[bot] da4d5c3a22 chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.5
Bumps [@vue/vue2-jest](https://github.com/vuejs/vue-jest) from 29.2.4 to 29.2.5.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v29.2.4...v29.2.5)

---
updated-dependencies:
- dependency-name: "@vue/vue2-jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 15:19:34 +02:00
Côme Chilliet ac19ba9c66 Read apporder from configuration value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:02:23 +02:00
Côme Chilliet bbfa9d1440 Merge pull request #40505 from nextcloud/chore/noid/remove-opis-closure
chore(3rdparty): remove opis/closure
2023-09-25 11:03:10 +02:00
Côme Chilliet f68d4f7300 Remove deprecated methods Util::writeLog and DIContainer::log
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 10:37:12 +02:00
Julia Kirschenheuter 8a65cf44cb Merge pull request #40552 from nextcloud/fix/37082-add_label_for_input_fields
Add labels for input fields
2023-09-25 09:34:48 +02:00
Nextcloud bot 4ed4ffa4c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-25 00:29:47 +00:00
Ferdinand Thiessen 6fc656470e Merge pull request #40598 from nextcloud/dependabot/npm_and_yarn/marked-9.0.3
chore(deps): Bump marked from 7.0.3 to 9.0.3
2023-09-24 23:36:38 +02:00
Ferdinand Thiessen 17006cb56c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-24 15:24:56 +02:00
dependabot[bot] a75efa7901 chore(deps): Bump marked from 7.0.3 to 9.0.3
Bumps [marked](https://github.com/markedjs/marked) from 7.0.3 to 9.0.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v7.0.3...v9.0.3)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-24 15:19:51 +02:00
dependabot[bot] 6cf9af19d1 Merge pull request #40452 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-5.0.0-beta.4 2023-09-24 13:11:28 +00:00
dependabot[bot] 02de7ffd78 chore(deps): Bump @nextcloud/dialogs from 5.0.0-beta.2 to 5.0.0-beta.4
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 5.0.0-beta.2 to 5.0.0-beta.4.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v5.0.0-beta.2...v5.0.0-beta.4)

---
updated-dependencies:
- dependency-name: "@nextcloud/dialogs"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-24 14:30:20 +02:00
dependabot[bot] 285378bee5 Merge pull request #40054 from nextcloud/dependabot/npm_and_yarn/jquery-3.7.0 2023-09-24 12:23:15 +00:00
Nextcloud bot c2b879e64e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-24 00:27:57 +00:00
dependabot[bot] 46ac0d523d chore(deps): Bump jquery from 3.6.4 to 3.7.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.4 to 3.7.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.4...3.7.0)

---
updated-dependencies:
- dependency-name: jquery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-23 15:07:10 +00:00
Kate 3c5d8410fa Merge pull request #40575 from nextcloud/fix/openapi/core/ocm
core: Fix OCM OpenAPI
2023-09-23 13:28:24 +02:00
jld3103 c72ca72cde core: Fix OCM OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-23 13:00:58 +02:00
John Molakvoæ b6f13cb2d9 Merge pull request #40589 from nextcloud/ci/noid/skip-cypress-download 2023-09-23 11:46:21 +02:00
Nextcloud bot d1f3d84ed1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-23 00:27:56 +00:00
Daniel Kesselberg beb0b34eb9 ci: skip cypress install
Unecessary to download the cypress binary if we don't run cypress

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-22 17:41:57 +02:00
Daniel Kesselberg 97a024f035 chore(3rdparty): remove opis/closure
- We are using laravel/serializable-closure for a while now.
- The package was there for compatibility reasons but does not play nice with PHP 8.1.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-22 17:16:20 +02:00
Robin Appelman 7fecdf6129 Merge pull request #39113 from fsamapoor/refactor_lib_private_collaboration_part1
[1/2] Refactors lib/private/Collaboration
2023-09-22 11:18:29 +02:00
Robin Appelman 6b767e060a Merge pull request #39013 from fsamapoor/refactor_lib_private_security_part3
[3/3] Refactors lib/private/Security
2023-09-22 11:13:44 +02:00
Robin Appelman b6927d0fa3 Merge pull request #39075 from fsamapoor/refactor_lib_private_profile
Refactors lib/private/Profile.
2023-09-22 11:10:42 +02:00
julia.kirschenheuter ea881fee2f Add labels for input fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-22 10:46:46 +02:00
Joas Schilling 26ad0a1b9c Merge pull request #40574 from nextcloud/techdebt/noid/allow-phpunit10
feat(CI): Allow apps to test with PHPUnit10
2023-09-22 08:45:19 +02:00
Nextcloud bot c63ef4a2d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-22 00:32:00 +00:00
Richard Steinmetz ace08819f9 fix(dav): expand recurrences when searching
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-21 23:28:35 +02:00
Joas Schilling 5e7b41086d feat(CI): Allow apps to test with PHPUnit10
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-21 21:32:15 +02:00
Joas Schilling 3b6a9cd236 Merge pull request #40288 from nextcloud/feat/appframework/rate-limiter
feat(appframework): Expose programmatic rate limiter
2023-09-21 18:49:44 +02:00
Robin Appelman b11ca34bbd Merge pull request #40499 from nextcloud/known-mtime-wrapper
add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is
2023-09-21 18:33:15 +02:00
John Molakvoæ 472440b296 Merge pull request #40551 from nextcloud/fix/init-script 2023-09-21 17:33:44 +02:00
Christoph Wurst 64f5180d1b style: Fix editorconfig indent for config/*config.php
*config.php is created with var_export, which indents lines with two
spaces.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-21 16:41:11 +02:00
Robin Appelman ef87ff1848 Merge pull request #39216 from shdehnavi/replace_substr_calls_in_lib_private
Refactor "substr" calls in lib/private to improve code readability
2023-09-21 16:34:27 +02:00
Robin Appelman 667e9f783d Merge pull request #38633 from nextcloud/tests-for-cache-mount-provider
test: add test for cache mount provider
2023-09-21 16:06:11 +02:00
Robin Appelman 20b9a64ac1 Merge pull request #40531 from nextcloud/s3-multipart-copy
use multipart copy for s3
2023-09-21 16:02:13 +02:00
John Molakvoæ (skjnldsv) bf467ad7f7 fix(files): revert button maxcontrast
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 15:38:22 +02:00
Côme Chilliet 39d4c8759b Merge pull request #39695 from fsamapoor/refactor_files_version_app_commands
Refactors files version app commands.
2023-09-21 15:23:36 +02:00
John Molakvoæ (skjnldsv) 216804f83d fix(files): title and inline actions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-21 15:20:17 +02:00
Côme Chilliet ff9de2efb6 Merge pull request #40508 from nextcloud/fix/migrate-apps-away-from-ilogger
Migrate applications away from deprecated ILogger
2023-09-21 15:12:31 +02:00
John Molakvoæ (skjnldsv) a5a8655beb fix: avoid side-effect imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 12:40:42 +02:00
Julia Kirschenheuter a1a1b990e6 Merge pull request #40548 from nextcloud/fix/37082-fix-visual-label-for-system-tag-on-settings-page
Add label for input field and select and adjust styles
2023-09-21 12:20:51 +02:00
Côme Chilliet 0a9371f99f Migrate applications away from deprecated ILogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +02:00
julia.kirschenheuter b933e2e60d Add label for input field and select and adjust styles
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-21 10:55:27 +02:00
Faraz Samapoor 0273b96eef Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-21 11:40:18 +03:30
Faraz Samapoor 14ad1e9219 Adds type hint to the method parameter.
Co-authored-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:28:02 +03:30
Faraz Samapoor 6427863443 Refactors lib/private/Collaboration.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:28:02 +03:30
Faraz Samapoor 1c023e6666 Update lib/private/Security/Certificate.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-21 11:20:12 +03:30
Faraz Samapoor f9596edb00 Updates the typed properties.
Based on: https://github.com/nextcloud/server/pull/39013#discussion_r1242340826

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:20:12 +03:30
Faraz Samapoor 4f46656d39 Refactors lib/private/Security.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:20:12 +03:30
Arthur Schiwon d6445254ac Merge pull request #40500 from nextcloud/improve-expire-date-enforcement
Consider share type for enforced share expiry dates
2023-09-21 09:44:02 +02:00
Christoph Wurst a66fe6e0b1 Merge pull request #38989 from fsamapoor/refactor_lib_private_avatar
Refactors lib/private/Avatar.
2023-09-21 09:34:07 +02:00
Nextcloud bot 1c50cfa17f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-21 00:29:24 +00:00
Kate 716c5e0966 Merge pull request #40511 from nextcloud/fix/dashboard-widgets-api
Fix dashboard widgets api
2023-09-20 21:22:33 +02:00
Christoph Wurst 9a70c1e78a Merge pull request #39166 from fsamapoor/refactor_dav_app_commands
Refactors dav app commands.
2023-09-20 20:36:44 +02:00
Simon L f1aa6ba57e Merge pull request #40516 from privatemaker/fix/readme-remove-working-with
Remove 'Working with ... code' sections from README.md
2023-09-20 20:25:52 +02:00
Christoph Wurst e477bb7eaf feat(appframework): Expose programmatic rate limiter
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-20 20:25:27 +02:00
Arthur Schiwon 4954c9f4ba Merge pull request #39574 from nextcloud/fix/noid/ocm-controller
OCM Services
2023-09-20 20:16:10 +02:00
fenn-cs 56771b50c4 Consider share type for enforced share expiry dates
We have three kind of share expiry date enforcements.

- `isDefaultExpireDateEnforced`
- `isDefaultInternalExpireDateEnforced`
- `isDefaultRemoteExpireDateEnforced`

Before these commit, `isExpiryDateEnforced` that is used to
disable/enable the set expiry date checkbox does not take those into consideration
which is problematic as those have different applications.

In addition, this commit now uses `isExpiryDateEnforced` to disable/enable the input for
expiry date that shows up before the creation of link shares.

Here, `hasExpirationDate` is also removed from 'SharingEntryLink` component as it is
not used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-20 16:43:12 +00:00
Julien Veyssier dead43635e Merge pull request #39628 from nextcloud/fix/enable-litmus-largefile-tests
Enable litmus largefile tests
2023-09-20 18:33:54 +02:00
jld3103 6c840984f8 dashboard: Fix get widgets OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +02:00
jld3103 80e3064817 Fix Dashboard IManager getWidgets return annotation
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +02:00
Robin Appelman 0a8b7b2894 try to make kerberos test more reliable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:31:49 +02:00
Robin Appelman 09794b6792 try to make kerberos test more reliable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:29:48 +02:00
Robin Appelman eab8dd3ca0 use multipart copy for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:28:48 +02:00
Daniel Kesselberg 18af7cc86b test: add test for cache mount provider
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-20 15:42:23 +02:00
Aaron Dewes aefa366495 Merge branch 'master' into fix/ldap-filter-generation 2023-09-20 15:38:52 +02:00
John Molakvoæ 4ddbc55d5d Merge pull request #40517 from nextcloud/feat/sharing-status 2023-09-20 14:55:18 +02:00
Faraz Samapoor d13874fdf4 Refactors dav app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-20 15:43:15 +03:30
John Molakvoæ (skjnldsv) fac5197486 feat(files): add files_sharing indicator
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-20 13:58:31 +02:00
Private Maker 9f2d60b22e Merge branch 'master' into fix/readme-remove-working-with 2023-09-20 13:02:49 +02:00
Robin Appelman b40fa64a8b use multipart copy for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 12:29:50 +02:00
jld3103 aad2d02cf8 Enable litmus largefile tests
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 11:45:38 +02:00
Kate 6714e51b0c Merge pull request #39626 from nextcloud/fix/remove-litmus-locks-tests
Remove litmus locks tests
2023-09-20 11:32:21 +02:00
Maxence Lange b5dcd048ae small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Maxence Lange c6c06d517c set authType to basic
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Maxence Lange 8b9e7e235d ocm controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Louis d5fc95b661 Merge pull request #40213 from nextcloud/dependabot/npm_and_yarn/nextcloud/browserslist-config-3.0.0
chore(deps): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0
2023-09-20 10:38:17 +02:00
Côme Chilliet 0cfdf6f6ad Merge pull request #40504 from nextcloud/fix/remove-ilogger-uses-in-user_ldap
Remove deprectated ILogger uses from user_ldap application
2023-09-20 10:26:11 +02:00
Nextcloud bot fecae94229 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 00:27:30 +00:00
Richard Steinmetz 7cf8421360 Merge pull request #40481 from nextcloud/fix/guest-pages-contentinfo
fix: content info footer on guest pages
2023-09-19 23:54:03 +02:00
Private Maker c4dd3653e0 Remove 'Working with ... code' sections from README.md
Text moved to documentation/developer_manual/core/ and
updated with newer development flow.

Signed-off-by: Private Maker <privatemaker@posteo.net>
2023-09-19 20:29:22 +00:00
Richard Steinmetz 9a5a392bf9 fix: content info footer on guest pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-19 21:57:01 +02:00
nextcloud-command 6792724657 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-19 19:24:20 +00:00
Ferdinand Thiessen ec72121153 Merge pull request #39964 from nextcloud/dependabot/npm_and_yarn/camelcase-8.0.0
chore(deps): Bump camelcase from 6.3.0 to 8.0.0
2023-09-19 21:16:49 +02:00
Joas Schilling 2bd0f07e5a Merge pull request #40488 from nextcloud/bugfix/noid/message-expiration-breaks-pagination
fix(comments): Use provided offset in best effort when loading comments
2023-09-19 15:30:57 +02:00
Côme Chilliet 7a59d2ec07 Remove deprectated ILogger uses from user_ldap application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-19 15:22:45 +02:00
Ferdinand Thiessen 4c49dda128 fix(systemtags): Add one unittest for to test tags parsing after the dependency was updated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-19 14:59:13 +02:00
dependabot[bot] 1099946748 chore(deps): Bump camelcase from 6.3.0 to 8.0.0
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.3.0 to 8.0.0.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.3.0...v8.0.0)

---
updated-dependencies:
- dependency-name: camelcase
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 14:59:13 +02:00
Anna b6761fbc96 Merge pull request #40423 from nextcloud/enh/proved-db-as-string 2023-09-19 14:06:01 +02:00
Robin Appelman ccf8843d9f apply known mtime wrapper for external storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 13:58:35 +02:00
Robin Appelman 5bf34979fe add wrapper to ensure we don't get an mtime that is lower than we know it is
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 13:58:15 +02:00
Ferdinand Thiessen 1ce7dd4be1 Merge pull request #39720 from nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-5.4.26
chore(deps-dev): Bump symfony/event-dispatcher from 5.4.22 to 5.4.26 in /build/integration
2023-09-19 13:50:48 +02:00
Ferdinand Thiessen 78c814400e Merge pull request #40210 from nextcloud/dependabot/npm_and_yarn/cypress/webpack-preprocessor-6.0.0
chore(deps-dev): Bump @cypress/webpack-preprocessor from 5.17.1 to 6.0.0
2023-09-19 13:49:07 +02:00
dependabot[bot] 77721b237d chore(deps): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v2.3.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/browserslist-config"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 11:46:11 +00:00
Ferdinand Thiessen 7f9faa544b Merge pull request #40355 from nextcloud/dependabot/github_actions/cypress-io/github-action-6.5.0
chore(deps): Bump cypress-io/github-action from 5.8.3 to 6.5.0
2023-09-19 13:46:09 +02:00
Côme Chilliet 5090848b25 Store size in int|float for 32bit support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-19 13:43:01 +02:00
dependabot[bot] 5b620eb945 Merge pull request #40052 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.11 2023-09-19 11:41:48 +00:00
Anna Larch 56419d94f8 enh(db): provide database providers via API
To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the
associated constants

fixes https://github.com/nextcloud/server/issues/30877

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-19 11:56:44 +02:00
Robin Appelman 5e347553bc add method to create a node from cache entry + mountpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 11:43:29 +02:00
dependabot[bot] 4caf4ca2fd chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.11.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.11/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.11)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 09:39:52 +00:00
Ferdinand Thiessen 8157d97890 Merge pull request #39974 from nextcloud/dependabot/github_actions/actions/setup-node-3.8.1
chore(deps): Bump actions/setup-node from 3.6.0 to 3.8.1
2023-09-19 11:39:12 +02:00
Ferdinand Thiessen ad8811d392 Merge pull request #39972 from nextcloud/dependabot/github_actions/peter-evans/create-pull-request-5
chore(deps): Bump peter-evans/create-pull-request from 3 to 5
2023-09-19 11:38:24 +02:00
Ferdinand Thiessen 2a35dd39a1 Merge pull request #40455 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.12
chore(deps-dev): Bump phpunit/phpunit from 9.6.10 to 9.6.12 in /build/integration
2023-09-19 11:34:56 +02:00
dependabot[bot] ff6cc481ec chore(deps-dev): Bump symfony/event-dispatcher in /build/integration
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.22 to 5.4.26.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/6.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.22...v5.4.26)

---
updated-dependencies:
- dependency-name: symfony/event-dispatcher
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 09:30:20 +00:00
Côme Chilliet 40852efd2c Merge pull request #40470 from nextcloud/fix/bump-phpseclib/phpseclib-to-2.0.45-in-master
Bump phpseclib/phpseclib to 2.0.45 in master
2023-09-19 11:28:49 +02:00
John Molakvoæ 085568b75c Merge pull request #40475 from nextcloud/feat/f2v/systemtags 2023-09-19 11:09:43 +02:00
Robin Appelman cd7c3f0a6f Merge pull request #39531 from nextcloud/sso-kerberos-fix2
kerberos sso ci fix
2023-09-19 10:38:32 +02:00
Simon L f75891de5d Merge pull request #40485 from nextcloud/fix/report-test
fix(dav): fix report tests
2023-09-19 09:25:21 +02:00
Nextcloud bot 5b9cfedc66 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-19 00:23:57 +00:00
John Molakvoæ (skjnldsv) f8ed23a426 fix(dav): fix report tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 22:19:30 +02:00
Andy Scherzinger 6c9cf907cc Merge pull request #40357 from nextcloud/dependabot/github_actions/actions/checkout-4
chore(deps): Bump actions/checkout from 3 to 4
2023-09-18 21:35:01 +02:00
Joas Schilling 4d2217073a fix(comments): Use provided offset in best effort when loading comments
When we didn't find the "$lastKnownComment" the whole condition was ignored.
Now we still use the ID as an offset.
This is required as a fall-back for expired messages in Talk
and deleted comments in other apps.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-18 20:09:32 +02:00
dependabot[bot] 81fe4a9fe3 chore(deps): Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...3df4ab11eba7bda6032a0b82a6bb43b11571feac)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 17:15:30 +00:00
Robin Appelman cf7344082d Merge pull request #40183 from nextcloud/sftp-fixes
SFTP improvements
2023-09-18 19:14:27 +02:00
Robin Appelman fc7adff48d use user_saml from git
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:25:39 +02:00
John Molakvoæ ee9010904d Merge pull request #40480 from privatemaker/fix/dashboard-icon-apps-dark 2023-09-18 17:24:41 +02:00
Côme Chilliet a0c9735f1a Update 3rdparty to master commit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 17:12:48 +02:00
Côme Chilliet ab6ef3a8ce Bump phpseclib/phpseclib to 2.0.45 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 17:12:48 +02:00
John Molakvoæ (skjnldsv) ef1abd958c fix(systemtags): fix capabilities and sidebar + tag visibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 16:44:28 +02:00
Robin Appelman a185edd5d1 kerberos sso ci fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 16:43:41 +02:00
Robin Appelman d42d809170 sftp psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 16:12:03 +02:00
John Molakvoæ (skjnldsv) fb30aa0902 fix(files): allow downloading folders within user root folders only
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:38:02 +02:00
John Molakvoæ (skjnldsv) 2845319187 feat(files): add systemtags view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:33:21 +02:00
Private Maker 337854aaaa remove stroke= and style= attributes from dashboard.svg
Signed-off-by: Private Maker <privatemaker@posteo.net>
2023-09-18 13:30:21 +00:00
John Molakvoæ e0c778f769 Merge pull request #40465 from nextcloud/fix/customElementRendered 2023-09-18 15:05:12 +02:00
John Molakvoæ (skjnldsv) cdc2529c4d fix(files): CustomElementRender $el replacement bug
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-18 12:43:28 +00:00
John Molakvoæ 9ea9743011 Merge pull request #40474 from nextcloud/fix/report-dav 2023-09-18 14:07:10 +02:00
Robin Windey 7afcacdff7 Merge pull request #39818 from nextcloud/feature/trashbin-restore-improvements#39724
Let `occ trashbin:restore` restore also from groupfolders and add filters
2023-09-18 12:38:57 +02:00
John Molakvoæ 63da44bb0e fix(dav): report status
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-09-18 11:29:15 +02:00
Côme Chilliet 5d20baec01 Merge pull request #40420 from nextcloud/fix/remove-at-matcher-in-core
Remove last calls to deprecated at matcher in tests/Core
2023-09-18 10:56:09 +02:00
Christoph Wurst 7e23ea2026 Merge pull request #39039 from fsamapoor/refactor_lib_private_log
Refactors lib/private/Log
2023-09-18 10:54:20 +02:00
Côme Chilliet 0c421975bd Remove last calls to deprecated at matcher in tests/Core
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 10:21:21 +02:00
Côme Chilliet 8d43f1b31c Merge pull request #40424 from nextcloud/fix/remove-at-matcher-in-dav-2
Remove last at matcher call in dav application tests
2023-09-18 09:46:27 +02:00
Côme Chilliet b36fb96984 Merge pull request #40419 from nextcloud/fix/remove-at-matcher-in-installer-test
Remove deprecated at matcher in tests/lib/InstallerTest.php
2023-09-18 09:45:58 +02:00
Nextcloud bot eee5a3ddc9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-18 00:26:46 +00:00
dependabot[bot] 5b651bc715 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.12.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.12/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.12)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 02:49:42 +00:00
Côme Chilliet 4b8ef84440 Remove last at matcher call in dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-14 15:01:26 +02:00
Côme Chilliet e24007b530 Remove deprecated at matcher in tests/lib/InstallerTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-14 12:52:05 +02:00
Robin Appelman 1eb3293e53 setup filesystem wrappers before we mark the root as setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-12 16:50:29 +02:00
Robin Appelman 5685d68bd3 add more checks to ensure mounts aren't empty
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-12 16:50:24 +02:00
dependabot[bot] 81b400c777 chore(deps): Bump cypress-io/github-action from 5.8.3 to 6.5.0
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.3 to 6.5.0.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/d69252d52b9a31bad4f418f05ba2bc83687a02eb...59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 01:16:27 +00:00
Christoph Wurst 312dd8ac6d feat(ocp): Add types and strict typing to \OCP\Group\IGroup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-06 11:58:09 +02:00
Hamid Dehnavi 0808e19540 Update lib/private/DateTimeFormatter.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-05 21:09:16 +03:30
Hamid Dehnavi 9b92c1abe4 Update lib/private/DateTimeFormatter.php
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-05 16:18:46 +03:30
Robin Appelman c264903cb9 psalm suppress
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:12 +02:00
Robin Appelman e3a39f5117 add sftp ci test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:11 +02:00
Robin Appelman aa2a3ae6c8 implement fseek for sftp read stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:11 +02:00
Robin Appelman b41c8e0ef5 more optimized getPermissions/getMetaData
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:10 +02:00
Robin Appelman 1dfef9fccf sftp optimize file_put_contents, writeStream and copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:10 +02:00
Robin Appelman 9cf732a90b fix error during sftp stream close
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:09 +02:00
Robin Appelman 19daa70947 clear sftp stat cache when opening a write stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:07 +02:00
dependabot[bot] c25458074a chore(deps-dev): Bump @cypress/webpack-preprocessor from 5.17.1 to 6.0.0
Bumps [@cypress/webpack-preprocessor](https://github.com/cypress-io/cypress) from 5.17.1 to 6.0.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/@cypress/webpack-preprocessor-v5.17.1...@cypress/webpack-preprocessor-v6.0.0)

---
updated-dependencies:
- dependency-name: "@cypress/webpack-preprocessor"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02 01:19:02 +00:00
Git'Fellow 066f6ef16c Stop sending deprecated Pragma header
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-28 15:11:22 +02:00
dependabot[bot] 61bc7f8045 chore(deps): Bump actions/setup-node from 3.6.0 to 3.8.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.8.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c...5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:31 +00:00
dependabot[bot] f6d22a1405 chore(deps): Bump peter-evans/create-pull-request from 3 to 5
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...153407881ec5c347639a548ade7d8ad1d6740e38)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:27 +00:00
Robin Windey d7a73ffdf1 Rename since/until in verbose message
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey acf0b4ce34 Code adjustments according to PR review
* Delete unnecessary function docs
* Rename parameters to 'since' and 'until'
* Style: use '&&' instead of 'and'
* Add types

Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey 52d77eb9fe Make scope parsing more readable
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey ee66518ca2 Decouple from groupfolders app & remove PSALM warnings
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey 98dd02b467 Let occ trashbin:restore restore also from groupfolders and add additional filters
* Using the TrashManager allows access to all deleted files
* Add 'scope' parameter to choose where to restore from (user or groupfolders)
* Add 'restore-from' and 'restore-to' date parameters to filter files to be
  restored by their deletion date
* Add 'dry-run' flag to be able to see which files would be restored and being
  able to adjust the filter parameters accordingly

Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Git'Fellow c5c6f3eaf1 fix: don't try to access null array
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-14 17:57:17 +02:00
Aaron Dewes d79def553f Fix tests
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Aaron Dewes 16908999ed Simplify escapeFilterPart
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Aaron Dewes 13d9494af3 Escape some more values
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
AaronDewes c42d9d439a Fix: Escape group names for LDAP
Groups may contain special characters (Like "(" or ")") that should be escaped to ensure geenrted queries are correct.

Signed-off-by: AaronDewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Faraz Samapoor 90652fd30f Uses early returns.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-08-03 16:42:56 +03:30
Faraz Samapoor ab79706253 Refactors files_version app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-08-03 16:35:09 +03:30
jld3103 11372bf258 Remove litmus locks tests
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-30 17:56:26 +02:00
Hamid Dehnavi 495683c358 Make adjustments based on the review
Co-authored-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-20 16:22:10 +03:30
Faraz Samapoor d1673ca3b8 Update lib/private/Profile/Actions/FediverseAction.php
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-07-13 09:17:57 +03:30
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
Hamid Dehnavi 8850c66ab8 use square bracket syntax to modify array
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-05 21:36:45 +03:30
Faraz Samapoor b4dd68f5b3 Refactors lib/private/Profile.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-29 22:51:54 +03:30
Faraz Samapoor 9fa9975bc9 Refactors lib/private/Log.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-28 09:29:45 +03:30
Faraz Samapoor 57ff06576a Fixes psalm errors: RedundantCondition and TypeDoesNotContainNull.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-27 21:21:21 +03:30
Faraz Samapoor dd67635560 Refactors lib/private/Avatar.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 13:36:36 +03:30
2640 changed files with 62981 additions and 43122 deletions
+1
View File
@@ -3,6 +3,7 @@
"dockerComposeFile": "docker-compose.yml",
"service": "nextclouddev",
"postCreateCommand": ".devcontainer/setup.sh",
"postStartCommand": ".devcontainer/postStart.sh",
"forwardPorts": [
80,
8080,
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty
-4
View File
@@ -3,10 +3,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
cd $DIR/
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty
git submodule update --init
# Codespace config
+1 -151
View File
@@ -1241,7 +1241,7 @@ steps:
commands:
# JavaScript files are not used in integration tests, so it is not needed to
# build them.
- git clone --depth 1 --branch master https://github.com/nextcloud/spreed apps/spreed
- git clone --depth 1 --branch main https://github.com/nextcloud/spreed apps/spreed
- cd apps/spreed
- composer --version
- composer self-update --2
@@ -1561,156 +1561,6 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: acceptance-access-levels
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-access-levels
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-header
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-header
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-login
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-login
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-users
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-users
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-apps
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-apps
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: nodb-codecov
+4
View File
@@ -31,3 +31,7 @@ indent_style = space
[build/psalm-baseline.xml]
indent_size = 2
indent_style = space
[config/*config.php]
indent_size = 2
indent_style = space
+10
View File
@@ -46,6 +46,16 @@
openapi.json @provokateurin
ResponseDefinitions.php @provokateurin
# Talk team
/lib/private/Comments @nickvergessen
/lib/private/Federation @nickvergessen
/lib/private/Talk @nickvergessen
/lib/public/Comments @nickvergessen
/lib/public/Federation @nickvergessen
/lib/public/OCM @nickvergessen
/lib/public/Talk @nickvergessen
/lib/public/UserStatus @nickvergessen
# Personal interest
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
+1 -1
View File
@@ -76,9 +76,9 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "25"
- "26"
- "27"
- "28"
- "master"
validations:
required: true
+16 -7
View File
@@ -23,7 +23,7 @@ jobs:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -53,8 +53,14 @@ jobs:
needs: init
steps:
- name: Restore cached git repository
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
path: .git
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
@@ -66,14 +72,14 @@ jobs:
git config --local user.name "nextcloud-command"
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: package-engines-versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -82,6 +88,9 @@ jobs:
run: npm i -g npm@"${{ steps.package-engines-versions.outputs.npmVersion }}"
- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
@@ -108,7 +117,7 @@ jobs:
git push --force origin ${{ needs.init.outputs.head_ref }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+3 -3
View File
@@ -18,7 +18,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -30,7 +30,7 @@ jobs:
id: comment-branch
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -51,7 +51,7 @@ jobs:
git push
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+3 -3
View File
@@ -23,7 +23,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -31,7 +31,7 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.5.2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -42,7 +42,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+31 -22
View File
@@ -1,12 +1,10 @@
name: Cypress
on:
pull_request:
push:
branches:
- main
- master
- stable*
on: pull_request
concurrency:
group: cypress-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
# Adjust APP_NAME if your repository name is different
@@ -21,9 +19,15 @@ jobs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
env:
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout app
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Checkout server
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# We need to checkout submodules for 3rdparty
submodules: true
- name: Check composer.json
id: check_composer
@@ -39,11 +43,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: "^14"
fallbackNpm: "^7"
fallbackNode: "^20"
fallbackNpm: "^9"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -55,6 +59,9 @@ jobs:
npm ci
TESTING=true npm run build --if-present
- name: Show cypress version
run: npm run cypress:version
- name: Save context
uses: buildjet/cache/save@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
@@ -69,8 +76,11 @@ jobs:
fail-fast: false
matrix:
# Run multiple copies of the current job in parallel
# Please increase the number or runners as your tests suite grows
containers: ["component", 1, 2]
# Please increase the number or runners as your tests suite grows (0 based index for e2e tests)
containers: ["component", 0, 1, 2]
# Hack as strategy.job-total includes the component and GitHub does not allow math expressions
# Always aling this number with the total of e2e runners (max. index + 1)
total-containers: [3]
name: runner ${{ matrix.containers }}
@@ -83,7 +93,7 @@ jobs:
path: ./
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
@@ -91,16 +101,13 @@ jobs:
run: npm i -g npm@"${{ needs.init.outputs.npmVersion }}"
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@d69252d52b9a31bad4f418f05ba2bc83687a02eb # v5.8.3
uses: cypress-io/github-action@ebe8b24c4428922d0f793a5c4c96853a633180e3 # v6.6.0
with:
record: true
parallel: true
# cypress run type
component: ${{ matrix.containers == 'component' }}
group: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }}
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
# cypress env
ci-build-id: ${{ github.sha }}-${{ github.run_number }}
tag: ${{ github.event_name }}
ci-build-id: ${{ matrix.use-cypress-cloud && format('{0}-{1}', github.sha, github.run_number) || '' }}
tag: ${{ matrix.use-cypress-cloud && github.event_name || '' }}
env:
# Needs to be prefixed with CYPRESS_
CYPRESS_BRANCH: ${{ env.BRANCH }}
@@ -110,6 +117,8 @@ jobs:
TESTING: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
- name: Upload snapshots
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
+7 -10
View File
@@ -1,17 +1,14 @@
name: FTP unit tests
on:
push:
branches:
- master
- stable*
paths:
- '.github/**'
- 'apps/files_external/**'
pull_request:
paths:
- '.github/**'
- 'apps/files_external/**'
concurrency:
group: ftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external
@@ -32,7 +29,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -49,13 +46,13 @@ jobs:
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
@@ -70,7 +67,7 @@ jobs:
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => '${{ env.FTP_ROOT }}'];" > apps/${{ env.APP_NAME }}/tests/config.ftp.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/FtpTest.php
composer run test:files_external apps/files_external/tests/Storage/FtpTest.php
- name: ftpd logs
if: always()
run: |
@@ -1,39 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Lint eslint
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
permissions:
contents: read
jobs:
lint:
permissions:
contents: none
runs-on: ubuntu-latest
name: eslint
steps:
- run: 'echo "No eslint required"'
+52 -18
View File
@@ -10,18 +10,6 @@ name: Lint eslint
on:
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
permissions:
contents: read
@@ -31,24 +19,52 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
lint:
runs-on: ubuntu-latest
name: eslint
needs: changes
if: needs.changes.outputs.src != 'false'
name: NPM lint
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -56,7 +72,25 @@ jobs:
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: npm ci
- name: Lint
run: npm run lint
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, lint]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: eslint
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+41 -3
View File
@@ -15,17 +15,40 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
lint:
runs-on: ubuntu-latest
name: php-cs
name: PHP CS fixer lint
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up php
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
with:
php-version: 8.1
coverage: none
@@ -38,3 +61,18 @@ jobs:
- name: Lint
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, lint]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: php-cs
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+33 -11
View File
@@ -7,11 +7,6 @@ name: Lint php
on:
pull_request:
push:
branches:
- main
- master
- stable*
permissions:
contents: read
@@ -21,20 +16,47 @@ concurrency:
cancel-in-progress: true
jobs:
php-lint:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
lint:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: [ "8.0", "8.1", "8.2" ]
php-versions: [ "8.0", "8.1", "8.2", "8.3" ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
@@ -49,7 +71,7 @@ jobs:
permissions:
contents: none
runs-on: ubuntu-latest
needs: php-lint
needs: [changes, lint]
if: always()
@@ -57,4 +79,4 @@ jobs:
steps:
- name: Summary status
run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+88 -19
View File
@@ -2,16 +2,45 @@ name: Node tests
on:
pull_request:
push:
branches:
- master
- stable*
schedule:
- cron: "5 2 * * *"
concurrency:
group: node-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
versions:
changes:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/__tests__/**'
- '**/__mocks__/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
- '**.handlebars'
versions:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
@@ -19,25 +48,31 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
test:
runs-on: ubuntu-latest
needs: versions
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -47,9 +82,12 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show cypress version
run: npm run cypress:version
- name: Test and process coverage
run: npm run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
@@ -57,14 +95,19 @@ jobs:
jsunit:
runs-on: ubuntu-latest
needs: versions
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -74,19 +117,28 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show cypress version
run: npm run cypress:version
- name: Test
run: npm run test:jsunit
handlebars:
runs-on: ubuntu-latest
needs: versions
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -96,5 +148,22 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show cypress version
run: npm run cypress:version
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, test, jsunit, handlebars]
if: always()
name: node-test-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.test.result != 'success' && needs.jsunit.result != 'success' && needs.handlebars.result != 'success' }}; then exit 1; fi
-43
View File
@@ -1,43 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use node together with node-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Node
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
- master
- stable*
concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: none
runs-on: ubuntu-latest
name: node
steps:
- name: Skip
run: 'echo "No JS/TS files changed, skipped Node"'
+50 -21
View File
@@ -7,21 +7,6 @@ name: Node
on:
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
- master
- stable*
permissions:
contents: read
@@ -31,23 +16,49 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
build:
runs-on: ubuntu-latest
name: node
needs: changes
if: needs.changes.outputs.src != 'false'
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -55,6 +66,9 @@ jobs:
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
@@ -69,3 +83,18 @@ jobs:
git status
git --no-pager diff
exit 1 # make it red to grab attention
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, build]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: node
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.build.result != 'success' }}; then exit 1; fi
+10 -7
View File
@@ -19,24 +19,24 @@ jobs:
fail-fast: false
matrix:
branches: ["main", "master", "stable27", "stable26", "stable25", "stable24"]
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
with:
ref: ${{ matrix.branches }}
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -49,13 +49,16 @@ jobs:
- name: Run npm ci and npm run build
if: always()
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # v5
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "chore(deps): fix npm audit"
+5 -5
View File
@@ -2,10 +2,10 @@ name: OpenAPI
on:
pull_request:
push:
branches:
- master
- stable*
concurrency:
group: openapi-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
openapi:
@@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up php
uses: shivammathur/setup-php@v2
+5 -2
View File
@@ -2,6 +2,10 @@ name: Performance testing
on:
pull_request:
concurrency:
group: performance-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
performance-testing:
runs-on: ubuntu-latest
@@ -17,7 +21,7 @@ jobs:
steps:
- name: Checkout server before PR
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
@@ -26,7 +30,6 @@ jobs:
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+7 -8
View File
@@ -26,11 +26,11 @@ jobs:
strategy:
matrix:
php-versions: ['8.0']
php-versions: ['8.0','8.3']
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -40,15 +40,14 @@ jobs:
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@9c77701ae57b0c47f6732beebfbdec76e4e5c90a #debian bookworm fix
uses: shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f #v2.25.5
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
tools: phpunit:9
coverage: none
ini-file: development
ini-values:
apc.enabled=on,
apc.enable_cli=on
apc.enabled=on, apc.enable_cli=on, disable_functions= # https://github.com/shivammathur/setup-php/discussions/573
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -56,10 +55,10 @@ jobs:
env:
DB_PORT: 4444
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
@@ -1,6 +1,7 @@
name: PHPUnit oci
on: pull_request
on:
pull_request:
permissions:
contents: read
@@ -10,6 +11,29 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-oci:
runs-on: ubuntu-20.04
@@ -42,7 +66,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -51,7 +75,6 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pcntl, pdo_sqlite, posix, sqlite, xml, zip
tools: phpunit:9
coverage: none
ini-file: development
env:
@@ -59,13 +82,13 @@ jobs:
- name: Set up Nextcloud
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=1521 --database-user=autotest --database-pass=owncloud --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
run: composer run test:db
- name: Run repair steps
run: |
@@ -75,7 +98,7 @@ jobs:
permissions:
contents: none
runs-on: ubuntu-latest
needs: phpunit-oci
needs: [changes, phpunit-oci]
if: always()
@@ -83,4 +106,4 @@ jobs:
steps:
- name: Summary status
run: if ${{ needs.phpunit-oci.result != 'success' }}; then exit 1; fi
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-oci.result != 'success' }}; then exit 1; fi
+12 -14
View File
@@ -1,15 +1,13 @@
name: S3 External storage
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- 'apps/files_external/**'
concurrency:
group: s3-external-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external
@@ -38,7 +36,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -46,13 +44,13 @@ jobs:
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
@@ -60,8 +58,8 @@ jobs:
- name: PHPUnit
run: |
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
composer run test:files_external apps/files_external/tests/Storage/Amazons3Test.php
composer run test:files_external apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
@@ -91,7 +89,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -99,13 +97,13 @@ jobs:
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
@@ -113,8 +111,8 @@ jobs:
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
composer run test:files_external apps/files_external/tests/Storage/Amazons3Test.php
composer run test:files_external apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
+15 -6
View File
@@ -1,10 +1,20 @@
name: S3 primary storage integration tests
on:
pull_request:
push:
branches:
- master
- stable*
paths:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
concurrency:
group: s3-external-integration-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-integration-tests-minio:
@@ -36,7 +46,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -44,7 +54,6 @@ jobs:
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd, redis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+17 -8
View File
@@ -1,10 +1,20 @@
name: S3 primary storage
on:
pull_request:
push:
branches:
- master
- stable*
paths:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
concurrency:
group: s3-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-tests-minio:
@@ -32,7 +42,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -40,13 +50,13 @@ jobs:
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "minio", "secret" => "minio123", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
@@ -58,8 +68,7 @@ jobs:
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
run: composer run test:db
- name: S3 logs
if: always()
run: |
+73
View File
@@ -0,0 +1,73 @@
name: SFTP unit tests
on:
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
concurrency:
group: sftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
sftp-tests:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
sftpd: ['openssh']
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}
steps:
- name: Checkout server
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up sftpd
run: |
sudo mkdir /tmp/sftp
sudo chown -R 0777 /tmp/sftp
if [[ "${{ matrix.sftpd }}" == 'openssh' ]]; then docker run -p 2222:22 --name sftp -d -v /tmp/sftp:/home/test atmoz/sftp "test:test:::data"; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true, 'host' => 'localhost:2222','user' => 'test','password' => 'test', 'root' => 'data'];" > apps/${{ env.APP_NAME }}/tests/config.sftp.php
composer run test:files_external apps/files_external/tests/Storage/SftpTest.php
- name: sftpd logs
if: always()
run: |
ls -l /tmp/sftp
docker logs sftp
sftp-summary:
runs-on: ubuntu-latest
needs: sftp-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.sftp-tests.result != 'success' }}; then exit 1; fi
+22 -41
View File
@@ -1,17 +1,14 @@
name: Samba Kerberos SSO
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
pull_request:
paths:
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
concurrency:
group: smb-kerberos-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
smb-kerberos-tests:
runs-on: ubuntu-latest
@@ -22,53 +19,37 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Checkout user_saml
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
repository: nextcloud/user_saml
path: apps/user_saml
- name: Pull images
run: |
docker pull icewind1991/samba-krb-test-dc
docker pull icewind1991/samba-krb-test-apache
docker pull icewind1991/samba-krb-test-client
docker pull ghcr.io/icewind1991/samba-krb-test-dc
docker pull ghcr.io/icewind1991/samba-krb-test-apache
docker pull ghcr.io/icewind1991/samba-krb-test-client
docker tag ghcr.io/icewind1991/samba-krb-test-dc icewind1991/samba-krb-test-dc
docker tag ghcr.io/icewind1991/samba-krb-test-apache icewind1991/samba-krb-test-apache
docker tag ghcr.io/icewind1991/samba-krb-test-client icewind1991/samba-krb-test-client
- name: Setup AD-DC
run: |
cp apps/files_external/tests/*.sh .
mkdir data
sudo chown -R 33 data apps config
DC_IP=$(./start-dc.sh)
./start-apache.sh $DC_IP $PWD
DC_IP=$(apps/files_external/tests/sso-setup/start-dc.sh)
sleep 1
apps/files_external/tests/sso-setup/start-apache.sh $DC_IP $PWD
echo "DC_IP=$DC_IP" >> $GITHUB_ENV
- name: Set up Nextcloud
run: |
docker exec --user 33 apache ./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
docker exec --user 33 apache ./occ config:system:set trusted_domains 1 --value 'httpd.domain.test'
# setup user_saml
docker exec --user 33 apache ./occ app:enable user_saml --force
docker exec --user 33 apache ./occ config:app:set user_saml type --value 'environment-variable'
docker exec --user 33 apache ./occ saml:config:create
docker exec --user 33 apache ./occ saml:config:set 1 --general-uid_mapping=REMOTE_USER
# setup external storage
docker exec --user 33 apache ./occ app:enable files_external --force
docker exec --user 33 apache ./occ files_external:create smb smb smb::kerberosapache
docker exec --user 33 apache ./occ files_external:config 1 host krb.domain.test
docker exec --user 33 apache ./occ files_external:config 1 share netlogon
docker exec --user 33 apache ./occ files_external:list
apps/files_external/tests/sso-setup/setup-sso-nc.sh
- name: Test SSO
run: |
mkdir /tmp/shared/cookies
chmod 0777 /tmp/shared/cookies
echo "SAML login"
./client-cmd.sh ${{ env.DC_IP }} curl -c /shared/cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/index.php/apps/user_saml/saml/login
echo "Check we are logged in"
CONTENT=$(./client-cmd.sh ${{ env.DC_IP }} curl -b /shared/cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/remote.php/webdav/smb/test.txt)
CONTENT=$(echo $CONTENT | head -n 1 | tr -d '[:space:]')
[[ $CONTENT == "testfile" ]]
apps/files_external/tests/sso-setup/test-sso-smb.sh ${{ env.DC_IP }}
- name: Show logs
if: failure()
run: |
docker exec --user 33 apache ./occ log:file
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
echo "$FILEPATH:"
docker exec --user 33 apache cat $FILEPATH
+7 -7
View File
@@ -2,10 +2,10 @@ name: Psalm static code analysis
on:
pull_request:
push:
branches:
- master
- stable*
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
static-code-analysis:
@@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -49,7 +49,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -77,7 +77,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
+2 -2
View File
@@ -17,7 +17,7 @@ jobs:
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ matrix.branches }}
submodules: true
@@ -26,7 +26,7 @@ jobs:
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "fix(security): Update CA certificate bundle"
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
name: update-psalm-baseline-${{ matrix.branches }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ matrix.branches }}
submodules: true
@@ -50,7 +50,7 @@ jobs:
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
+1
View File
@@ -90,6 +90,7 @@
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
RewriteRule ^ocm-provider/?$ index.php [QSA,L]
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
+5 -79
View File
@@ -16,12 +16,12 @@
* 🚀 **Expandable with hundreds of Apps** ...like [Calendar](https://github.com/nextcloud/calendar), [Contacts](https://github.com/nextcloud/contacts), [Mail](https://github.com/nextcloud/mail), [Video Chat](https://github.com/nextcloud/spreed) and all those you can discover in our [App Store](https://apps.nextcloud.com)
* 🔒 **Security** with our encryption mechanisms, [HackerOne bounty program](https://hackerone.com/nextcloud) and two-factor authentication.
Do you want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and in your organization? [**Learn about all our Features**](https://nextcloud.com/athome/).
Do you want to learn more about how you can use Nextcloud to access, share, and protect your files, calendars, contacts, communication & more at home and in your organization? [**Learn about all our Features**](https://nextcloud.com/athome/).
## Get your Nextcloud 🚚
- ☑️ [**Simply sign up**](https://nextcloud.com/signup/) at one of our providers either through our website or through the apps directly.
- 🖥 [**Install** a server by yourself](https://nextcloud.com/install/#instructions-server) on your hardware or by using one of our ready to use **appliances**
- 🖥 [**Install** a server by yourself](https://nextcloud.com/install/#instructions-server) on your hardware or by using one of our ready-to-use **appliances**
- 📦 Buy one of the [awesome **devices** coming with a preinstalled Nextcloud](https://nextcloud.com/devices/)
- 🏢 Find a [service **provider**](https://nextcloud.com/providers/) who hosts Nextcloud for you or your company
@@ -57,80 +57,6 @@ Several apps that are included by default in regular releases such as [First run
Otherwise, git checkouts can be handled the same as release archives, by using the `stable*` branches. Note they should never be used on production systems.
### Working with front-end code 🏗
#### Building Vue components and scripts
We are moving more and more toward using Vue.js in the front-end, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
```bash
# install dependencies
make dev-setup
# build for development
make build-js
# build for development and watch edits
make watch-js
# build for production with minification
make build-js-production
```
#### Building styles
Styles are written in SCSS and compiled to css.
```bash
# install dependencies
make dev-setup
# compile style sheets
npm run sass
# compile style sheets and watch edits
npm run sass:watch
```
#### Committing changes
**When making changes, also commit the compiled files!**
We still use Handlebars templates in some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime, you need to compile them separately.
If you dont have Handlebars installed yet, you can do it with this terminal command:
```bash
sudo npm install -g handlebars
```
Then inside the root folder of your local Nextcloud development installation, run this command in the terminal every time you changed a `.handlebars` file to compile it:
```bash
./build/compile-handlebars-templates.sh
```
Before checking in JS changes, make sure to also build for production:
```bash
make build-js-production
```
Then add the compiled files for committing.
To save some time, to only rebuild for a specific app, use the following and replace the module with the app name:
```bash
MODULE=user_status make build-js-production
```
Please note that if you used `make build-js` or `make watch-js` before, you'll notice that a lot of files were marked as changed, so might need to clear the workspace first.
### Working with back-end code 🏗
When changing back-end PHP code, in general, no additional steps are needed before checking in.
However, if new files were created, you will need to run the following command to update the autoloader files:
```bash
build/autoloaderchecker.sh
```
After that, please also include the autoloader file changes in your commits.
### Tools we use 🛠
@@ -138,7 +64,7 @@ After that, please also include the autoloader file changes in your commits.
- [🌊 WAVE](https://wave.webaim.org/extension/) for accessibility testing
- [🚨 Lighthouse](https://developers.google.com/web/tools/lighthouse/) for testing performance, accessibility, and more
#### Helpful bots at github :robot:
#### Helpful bots at GitHub :robot:
- Comment on a pull request with `/update-3rdparty` to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.
@@ -156,8 +82,8 @@ changed it substantially:
@copyright Copyright (c) <year>, <your name> (<your email address>)
```
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere and to explain how together we can strengthen and support each other.
Please review the [guidelines for contributing](.github/CONTRIBUTING.md) to this repository.
More information how to contribute: [https://nextcloud.com/contribute/](https://nextcloud.com/contribute/)
More information on how to contribute: [https://nextcloud.com/contribute/](https://nextcloud.com/contribute/)
+46 -10
View File
@@ -1,25 +1,61 @@
# Security Policy
## Supported Versions
[Security](https://nextcloud.com/security/) is very important to us.
If you believe you have found a security vulnerability that meets our definition of a security
vulnerability, please report is as described below.
## Context
Please review our [threat model and accepted risks](https://nextcloud.com/security/threat-model) to learn what
is currently considered a security vulnerability versus expected behavior. And review what is considered
[in scope or bounty eligible](https://hackerone.com/nextcloud/policy_scopes).
The latest three major release versions of Nextcloud are currently being supported with security updates.
Please visit https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule for further details.
## Reporting a Vulnerability
Security is very important to us. If you have discovered a security issue with Nextcloud,
please read our responsible disclosure guidelines and contact us at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
** **Please do _not_ report security vulnerabilities through public GitHub issues.** **
If you have discovered a security matter with Nextcloud, please read our
[responsible disclosure guidelines](https://nextcloud.com/security/) and contact us at
[hackerone.com/nextcloud](https://hackerone.com/nextcloud).
Your report should include:
- Product version
- A vulnerability description
- Reproduction steps
- Any other details you think are likely to be important
A member of the security team will confirm the vulnerability, determine its impact, and develop a fix.
The fix will be applied to the master branch, tested, and packaged in the next security release.
### What to Expect
You should receive an initial acknowledgement within 24 hours in most cases.
A member of the security team will confirm the vulnerability, determine its impact, follow-up with any questions,
and coordinate the fix and publication.
The fix will be applied to all applicable and still supported stable branches, tested, and packaged in the next security release.
The vulnerability will be publicly announced after the release. Finally, your name will be added
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud community. Note our
[threat model](https://nextcloud.com/security/threat-model) to know what is expected behavior.
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud
community.
### Bug Bounties
Please visit https://nextcloud.com/security/ for further information about security.
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Details
on past bounty ranges can be found at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
## Existing Security Advisories
Published security advisories for the Nextcloud Server, Clients and Apps can be viewed at
[https://github.com/nextcloud/security-advisories/security/advisories](https://github.com/nextcloud/security-advisories/security/advisories
).
## Supported Versions
Nextcloud Server major release versions are being supported with security updates for 1 year after their initial release.
Please visit https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule for further details.
## Additional Information
Please visit [https://nextcloud.com/security/](https://nextcloud.com/security/) for further information about Nextcloud security.
Please visit [https://nextcloud.com/security/threat-model](https://nextcloud.com/security/threat-model) for our threat model and accepted risks.
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Archwilio / Cofnodi",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Yn darparu galluoedd cofnodi ar gyfer Nextcloud megis cofnodi mynediadau ffeiliau neu gamau gweithredu sensitif."
},
"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Archwilio / Cofnodi",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Yn darparu galluoedd cofnodi ar gyfer Nextcloud megis cofnodi mynediadau ffeiliau neu gamau gweithredu sensitif."
},"pluralForm" :"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;"
}
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoria / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações confidenciais."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações sensíveis."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoria / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações confidenciais."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações sensíveis."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "การตรวจสอบ / บันทึก",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "ให้ความสามารถในการบันทึก (logging) สำหรับ Nextcloud เช่น การบันทึกการเข้าถึงไฟล์ หรือการดำเนินการที่ละเอียดอ่อน"
},
"nplurals=1; plural=0;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "การตรวจสอบ / บันทึก",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "ให้ความสามารถในการบันทึก (logging) สำหรับ Nextcloud เช่น การบันทึกการเข้าถึงไฟล์ หรือการดำเนินการที่ละเอียดอ่อน"
},"pluralForm" :"nplurals=1; plural=0;"
}
+2 -2
View File
@@ -12,8 +12,8 @@
<types>
<filesystem/>
</types>
<category>files</category>
<bugs>https://github.com/nextcloud/cloud_federation/issues</bugs>
<category>integration</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="28" max-version="28"/>
</dependencies>
+11 -4
View File
@@ -6,6 +6,7 @@ declare(strict_types=1);
* @copyright Copyright (c) 2020 Joas Schilling <coding@schilljs.com>
*
* @author Joas Schilling <coding@schilljs.com>
* @author Maxence Lange <maxence@artificial-owl.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -27,15 +28,21 @@ return [
'routes' => [
[
'name' => 'RequestHandler#addShare',
'url' => '/ocm/shares',
'url' => '/shares',
'verb' => 'POST',
'root' => '',
'root' => '/ocm',
],
[
'name' => 'RequestHandler#receiveNotification',
'url' => '/ocm/notifications',
'url' => '/notifications',
'verb' => 'POST',
'root' => '',
'root' => '/ocm',
],
// [
// 'name' => 'RequestHandler#inviteAccepted',
// 'url' => '/invite-accepted',
// 'verb' => 'POST',
// 'root' => '/ocm',
// ]
],
];
+8
View File
@@ -0,0 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "API de la federación na nube",
"Enable clouds to communicate with each other and exchange data" : "Permite que les nubes se comuniquen ente elles ya intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de la federación na nube permite que delles instancies de Nextcloud se comuniquen ente elles ya intercambien datos."
},
"nplurals=2; plural=(n != 1);");
+6
View File
@@ -0,0 +1,6 @@
{ "translations": {
"Cloud Federation API" : "API de la federación na nube",
"Enable clouds to communicate with each other and exchange data" : "Permite que les nubes se comuniquen ente elles ya intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de la federación na nube permite que delles instancies de Nextcloud se comuniquen ente elles ya intercambien datos."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+34 -27
View File
@@ -1,9 +1,13 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2017 Bjoern Schiessle <bjoern@schiessle.org>
*
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Kate Döen <kate.doeen@nextcloud.com>
* @author Maxence Lange <maxence@artificial-owl.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -21,18 +25,21 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\CloudFederationAPI;
use OCP\Capabilities\ICapability;
use OCP\IURLGenerator;
use OCP\OCM\Exceptions\OCMArgumentException;
use OCP\OCM\IOCMProvider;
class Capabilities implements ICapability {
public const API_VERSION = '1.0-proposal1';
/** @var IURLGenerator */
private $urlGenerator;
public function __construct(IURLGenerator $urlGenerator) {
$this->urlGenerator = $urlGenerator;
public function __construct(
private IURLGenerator $urlGenerator,
private IOCMProvider $provider,
) {
}
/**
@@ -46,32 +53,32 @@ class Capabilities implements ICapability {
* resourceTypes: array{
* name: string,
* shareTypes: string[],
* protocols: array{
* webdav: string,
* },
* }[],
* },
* protocols: array<string, string>
* }[],
* },
* }
* @throws OCMArgumentException
*/
public function getCapabilities() {
$url = $this->urlGenerator->linkToRouteAbsolute('cloud_federation_api.requesthandlercontroller.addShare');
$capabilities = ['ocm' =>
[
'enabled' => true,
'apiVersion' => '1.0-proposal1',
'endPoint' => substr($url, 0, strrpos($url, '/')),
'resourceTypes' => [
[
'name' => 'file',
'shareTypes' => ['user', 'group'],
'protocols' => [
'webdav' => '/public.php/webdav/',
]
],
]
]
];
return $capabilities;
$this->provider->setEnabled(true);
$this->provider->setApiVersion(self::API_VERSION);
$pos = strrpos($url, '/');
if (false === $pos) {
throw new OCMArgumentException('generated route should contains a slash character');
}
$this->provider->setEndPoint(substr($url, 0, $pos));
$resource = $this->provider->createNewResourceType();
$resource->setName('file')
->setShareTypes(['user', 'group'])
->setProtocols(['webdav' => '/public.php/webdav/']);
$this->provider->addResourceType($resource);
return ['ocm' => $this->provider->jsonSerialize()];
}
}
@@ -4,6 +4,7 @@
*
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Maxence Lange <maxence@artificial-owl.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Kate Döen <kate.doeen@nextcloud.com>
*
@@ -50,57 +51,24 @@ use Psr\Log\LoggerInterface;
*
* @package OCA\CloudFederationAPI\Controller
*
* @psalm-import-type CloudFederationApiAddShare from ResponseDefinitions
* @psalm-import-type CloudFederationApiValidationError from ResponseDefinitions
* @psalm-import-type CloudFederationApiError from ResponseDefinitions
* @psalm-import-type CloudFederationAPIAddShare from ResponseDefinitions
* @psalm-import-type CloudFederationAPIValidationError from ResponseDefinitions
* @psalm-import-type CloudFederationAPIError from ResponseDefinitions
*/
class RequestHandlerController extends Controller {
/** @var LoggerInterface */
private $logger;
/** @var IUserManager */
private $userManager;
/** @var IGroupManager */
private $groupManager;
/** @var IURLGenerator */
private $urlGenerator;
/** @var ICloudFederationProviderManager */
private $cloudFederationProviderManager;
/** @var Config */
private $config;
/** @var ICloudFederationFactory */
private $factory;
/** @var ICloudIdManager */
private $cloudIdManager;
public function __construct($appName,
IRequest $request,
LoggerInterface $logger,
IUserManager $userManager,
IGroupManager $groupManager,
IURLGenerator $urlGenerator,
ICloudFederationProviderManager $cloudFederationProviderManager,
Config $config,
ICloudFederationFactory $factory,
ICloudIdManager $cloudIdManager
public function __construct(
string $appName,
IRequest $request,
private LoggerInterface $logger,
private IUserManager $userManager,
private IGroupManager $groupManager,
private IURLGenerator $urlGenerator,
private ICloudFederationProviderManager $cloudFederationProviderManager,
private Config $config,
private ICloudFederationFactory $factory,
private ICloudIdManager $cloudIdManager
) {
parent::__construct($appName, $request);
$this->logger = $logger;
$this->userManager = $userManager;
$this->groupManager = $groupManager;
$this->urlGenerator = $urlGenerator;
$this->cloudFederationProviderManager = $cloudFederationProviderManager;
$this->config = $config;
$this->factory = $factory;
$this->cloudIdManager = $cloudIdManager;
}
/**
@@ -122,13 +90,12 @@ class RequestHandlerController extends Controller {
* @param string $shareType 'group' or 'user' share
* @param string $resourceType 'file', 'calendar',...
*
* @return JSONResponse<Http::STATUS_CREATED, CloudFederationApiAddShare, array{}>|JSONResponse<Http::STATUS_BAD_REQUEST, CloudFederationApiValidationError, array{}>|JSONResponse<Http::STATUS_NOT_IMPLEMENTED, CloudFederationApiError, array{}>
* @return JSONResponse<Http::STATUS_CREATED, CloudFederationAPIAddShare, array{}>|JSONResponse<Http::STATUS_BAD_REQUEST, CloudFederationAPIValidationError, array{}>|JSONResponse<Http::STATUS_NOT_IMPLEMENTED, CloudFederationAPIError, array{}>
* 201: The notification was successfully received. The display name of the recipient might be returned in the body
* 400: Bad request due to invalid parameters, e.g. when `shareWith` is not found or required properties are missing
* 501: Share type or the resource type is not supported
*/
public function addShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $protocol, $shareType, $resourceType) {
// check if all required parameters are set
if ($shareWith === null ||
$name === null ||
@@ -246,14 +213,13 @@ class RequestHandlerController extends Controller {
* @param string|null $providerId ID of the share
* @param array<string, mixed>|null $notification The actual payload of the notification
*
* @return JSONResponse<Http::STATUS_CREATED, array<string, mixed>, array{}>|JSONResponse<Http::STATUS_BAD_REQUEST, CloudFederationApiValidationError, array{}>|JSONResponse<Http::STATUS_FORBIDDEN|Http::STATUS_NOT_IMPLEMENTED, CloudFederationApiError, array{}>
* @return JSONResponse<Http::STATUS_CREATED, array<string, mixed>, array{}>|JSONResponse<Http::STATUS_BAD_REQUEST, CloudFederationAPIValidationError, array{}>|JSONResponse<Http::STATUS_FORBIDDEN|Http::STATUS_NOT_IMPLEMENTED, CloudFederationAPIError, array{}>
* 201: The notification was successfully received
* 400: Bad request due to invalid parameters, e.g. when `type` is invalid or missing
* 403: Getting resource is not allowed
* 501: The resource type is not supported
*/
public function receiveNotification($notificationType, $resourceType, $providerId, ?array $notification) {
// check if all required parameters are set
if ($notificationType === null ||
$resourceType === null ||
@@ -311,7 +277,7 @@ class RequestHandlerController extends Controller {
);
}
return new JSONResponse($result,Http::STATUS_CREATED);
return new JSONResponse($result, Http::STATUS_CREATED);
}
/**
@@ -26,15 +26,15 @@ declare(strict_types=1);
namespace OCA\CloudFederationAPI;
/**
* @psalm-type CloudFederationApiAddShare = array{
* @psalm-type CloudFederationAPIAddShare = array{
* recipientDisplayName: string,
* }
*
* @psalm-type CloudFederationApiError = array{
* @psalm-type CloudFederationAPIError = array{
* message: string,
* }
*
* @psalm-type CloudFederationApiValidationError = CloudFederationApiError&array{
* @psalm-type CloudFederationAPIValidationError = CloudFederationAPIError&array{
* validationErrors: array{
* name: string,
* message: string|null,
+2 -7
View File
@@ -76,13 +76,8 @@
},
"protocols": {
"type": "object",
"required": [
"webdav"
],
"properties": {
"webdav": {
"type": "string"
}
"additionalProperties": {
"type": "string"
}
}
}
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "حذف التعليق",
"Cancel edit" : "إلغاء التعديل",
"Post comment" : "أضف تعليق",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" للإشارات, \":\" للإيموجي, \"/\" للاقط الذكي",
"No comments yet, start the conversation!" : "لا يوجد تعليقات, ابدأ النقاش الآن!",
"No more messages" : "لامزيد من الرسائل",
"Retry" : "أعد المحاولة",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "حذف التعليق",
"Cancel edit" : "إلغاء التعديل",
"Post comment" : "أضف تعليق",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" للإشارات, \":\" للإيموجي, \"/\" للاقط الذكي",
"No comments yet, start the conversation!" : "لا يوجد تعليقات, ابدأ النقاش الآن!",
"No more messages" : "لامزيد من الرسائل",
"Retry" : "أعد المحاولة",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Smazat komentář",
"Cancel edit" : "Zrušit úpravu",
"Post comment" : "Odeslat komentář",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@“ pro zmínění, „:“ pro emotikony, „/“ pro inteligentní výběr",
"No comments yet, start the conversation!" : "Zatím bez komentářů, začněte konverzaci!",
"No more messages" : "Žádné další zprávy",
"Retry" : "Zkusit znovu",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Smazat komentář",
"Cancel edit" : "Zrušit úpravu",
"Post comment" : "Odeslat komentář",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@“ pro zmínění, „:“ pro emotikony, „/“ pro inteligentní výběr",
"No comments yet, start the conversation!" : "Zatím bez komentářů, začněte konverzaci!",
"No more messages" : "Žádné další zprávy",
"Retry" : "Zkusit znovu",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Slet kommentar",
"Cancel edit" : "Annuller redigering",
"Post comment" : "Skriv kommentar",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for at nævne, \":\" for emojis, \"/\" for Smart Vælger",
"No comments yet, start the conversation!" : "Ingen kommentarer endnu, start samtalen!",
"No more messages" : "Ikke flere beskeder",
"Retry" : "Prøv igen",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Slet kommentar",
"Cancel edit" : "Annuller redigering",
"Post comment" : "Skriv kommentar",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for at nævne, \":\" for emojis, \"/\" for Smart Vælger",
"No comments yet, start the conversation!" : "Ingen kommentarer endnu, start samtalen!",
"No more messages" : "Ikke flere beskeder",
"Retry" : "Prøv igen",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Kommentar löschen",
"Cancel edit" : "Bearbeiten abbrechen",
"Post comment" : "Kommentar veröffentlichen",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" für Erwähnungen, \":\" für Emoji, \"/\" für Smart Picker",
"No comments yet, start the conversation!" : "Keine Kommentare bisher. Beginnen Sie die Diskussion!",
"No more messages" : "Keine weiteren Nachrichten",
"Retry" : "Wiederholen",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Kommentar löschen",
"Cancel edit" : "Bearbeiten abbrechen",
"Post comment" : "Kommentar veröffentlichen",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" für Erwähnungen, \":\" für Emoji, \"/\" für Smart Picker",
"No comments yet, start the conversation!" : "Keine Kommentare bisher. Beginnen Sie die Diskussion!",
"No more messages" : "Keine weiteren Nachrichten",
"Retry" : "Wiederholen",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Delete comment",
"Cancel edit" : "Cancel edit",
"Post comment" : "Post comment",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for mentions, \":\" for emoji, \"/\" for smart picker",
"No comments yet, start the conversation!" : "No comments yet, start the conversation!",
"No more messages" : "No more messages",
"Retry" : "Retry",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Delete comment",
"Cancel edit" : "Cancel edit",
"Post comment" : "Post comment",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for mentions, \":\" for emoji, \"/\" for smart picker",
"No comments yet, start the conversation!" : "No comments yet, start the conversation!",
"No more messages" : "No more messages",
"Retry" : "Retry",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Borrar comentario",
"Cancel edit" : "Cacelar edición",
"Post comment" : "Publicar comentario",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" para menciones, \":\" para emojis, \"/\" para selector inteligente",
"No comments yet, start the conversation!" : "¡No hay comentarios, empieza la conversación!",
"No more messages" : "No hay más mensajes",
"Retry" : "Reintentar",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Borrar comentario",
"Cancel edit" : "Cacelar edición",
"Post comment" : "Publicar comentario",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" para menciones, \":\" para emojis, \"/\" para selector inteligente",
"No comments yet, start the conversation!" : "¡No hay comentarios, empieza la conversación!",
"No more messages" : "No hay más mensajes",
"Retry" : "Reintentar",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Ezabatu iruzkina",
"Cancel edit" : "Utzi editatzeari",
"Post comment" : "Argitaratu iruzkina",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" aipamenetarako, \":\" emojientzako, \"/\" hautatzaile adimentsurako",
"No comments yet, start the conversation!" : "Oraindik ez dago iruzkinik, izan zaitez lehena zerbait esanez!",
"No more messages" : "Ez da mezu gehiagorik",
"Retry" : "Saiatu berriro",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Ezabatu iruzkina",
"Cancel edit" : "Utzi editatzeari",
"Post comment" : "Argitaratu iruzkina",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" aipamenetarako, \":\" emojientzako, \"/\" hautatzaile adimentsurako",
"No comments yet, start the conversation!" : "Oraindik ez dago iruzkinik, izan zaitez lehena zerbait esanez!",
"No more messages" : "Ez da mezu gehiagorik",
"Retry" : "Saiatu berriro",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Supprimer le commentaire",
"Cancel edit" : "Annuler les modifications",
"Post comment" : "Publier le commentaire",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" pour les mentions, \":\" pour les émojis, \"/\" pour le sélecteur intelligent",
"No comments yet, start the conversation!" : "Il n'y a aucun commentaire, démarrez la conversation !",
"No more messages" : "Aucun autre message",
"Retry" : "Réessayer",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Supprimer le commentaire",
"Cancel edit" : "Annuler les modifications",
"Post comment" : "Publier le commentaire",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" pour les mentions, \":\" pour les émojis, \"/\" pour le sélecteur intelligent",
"No comments yet, start the conversation!" : "Il n'y a aucun commentaire, démarrez la conversation !",
"No more messages" : "Aucun autre message",
"Retry" : "Réessayer",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Eliminar comentario",
"Cancel edit" : "Cancelar a edición",
"Post comment" : "Publicar comentario",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for mentions, \":\" for emoji, \"/\" for smart picker\n«@» para mencións, «:» para «emoji», «/» para selector intelixente",
"No comments yet, start the conversation!" : "Aínda non hai comentarios, comeza a conversa!",
"No more messages" : "Non hai máis mensaxes",
"Retry" : "Tentar de novo",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Eliminar comentario",
"Cancel edit" : "Cancelar a edición",
"Post comment" : "Publicar comentario",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for mentions, \":\" for emoji, \"/\" for smart picker\n«@» para mencións, «:» para «emoji», «/» para selector intelixente",
"No comments yet, start the conversation!" : "Aínda non hai comentarios, comeza a conversa!",
"No more messages" : "Non hai máis mensaxes",
"Retry" : "Tentar de novo",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Hozzászólás törlése",
"Cancel edit" : "Változások elvetése",
"Post comment" : "Hozzászólás közzététele",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@” az említésekhez, „:” az emodzsikhoz, „/” az okos választához",
"No comments yet, start the conversation!" : "Még nincsenek hozzászólások, kezdje el a beszélgetést!",
"No more messages" : "Nincs több üzenet",
"Retry" : "Újra",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Hozzászólás törlése",
"Cancel edit" : "Változások elvetése",
"Post comment" : "Hozzászólás közzététele",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@” az említésekhez, „:” az emodzsikhoz, „/” az okos választához",
"No comments yet, start the conversation!" : "Még nincsenek hozzászólások, kezdje el a beszélgetést!",
"No more messages" : "Nincs több üzenet",
"Retry" : "Újra",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Elimina commento",
"Cancel edit" : "Annulla modifica",
"Post comment" : "Pubblica commento",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" per le menzioni, \":\" per gli emoji, \"/\" per il selettore intelligente",
"No comments yet, start the conversation!" : "Ancora nessun commento, inizia la conversazione!",
"No more messages" : "Non ci sono altri messaggi",
"Retry" : "Riprova",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Elimina commento",
"Cancel edit" : "Annulla modifica",
"Post comment" : "Pubblica commento",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" per le menzioni, \":\" per gli emoji, \"/\" per il selettore intelligente",
"No comments yet, start the conversation!" : "Ancora nessun commento, inizia la conversazione!",
"No more messages" : "Non ci sono altri messaggi",
"Retry" : "Riprova",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "コメントを削除",
"Cancel edit" : "編集をキャンセル",
"Post comment" : "コメントを投稿",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "メンションには \"@\"、絵文字には \":\"、スマートピッカーには \"/\"",
"No comments yet, start the conversation!" : "まだコメントはありません、会話を開始してください!",
"No more messages" : "これ以上のメッセージはありません",
"Retry" : "再試行",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "コメントを削除",
"Cancel edit" : "編集をキャンセル",
"Post comment" : "コメントを投稿",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "メンションには \"@\"、絵文字には \":\"、スマートピッカーには \"/\"",
"No comments yet, start the conversation!" : "まだコメントはありません、会話を開始してください!",
"No more messages" : "これ以上のメッセージはありません",
"Retry" : "再試行",
+1
View File
@@ -19,6 +19,7 @@ OC.L10N.register(
"No comments yet, start the conversation!" : "Brak komentarzy, rozpocznij rozmowę!",
"No more messages" : "Nie ma więcej wiadomości",
"Retry" : "Powtórz",
"Failed to mark comments as read" : "Nie udało się oznaczyć komentarzy jako przeczytane",
"Unable to load the comments list" : "Nie można załadować listy komentarzy",
"_1 new comment_::_{unread} new comments_" : ["{unread} nowy komentarz","{unread} nowe komentarze","{unread} nowych komentarzy","{unread} nowe komentarze"],
"Comment" : "Komentarz",
+1
View File
@@ -17,6 +17,7 @@
"No comments yet, start the conversation!" : "Brak komentarzy, rozpocznij rozmowę!",
"No more messages" : "Nie ma więcej wiadomości",
"Retry" : "Powtórz",
"Failed to mark comments as read" : "Nie udało się oznaczyć komentarzy jako przeczytane",
"Unable to load the comments list" : "Nie można załadować listy komentarzy",
"_1 new comment_::_{unread} new comments_" : ["{unread} nowy komentarz","{unread} nowe komentarze","{unread} nowych komentarzy","{unread} nowe komentarze"],
"Comment" : "Komentarz",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Обриши коментар",
"Cancel edit" : "Поништи измену",
"Post comment" : "Објави коментар",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@” за помињања, „:” за емођи, „/” за паметни бирач",
"No comments yet, start the conversation!" : "Још нема коментара. Започните дискусију!",
"No more messages" : "Нема више порука",
"Retry" : "Покушај поново",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Обриши коментар",
"Cancel edit" : "Поништи измену",
"Post comment" : "Објави коментар",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@” за помињања, „:” за емођи, „/” за паметни бирач",
"No comments yet, start the conversation!" : "Још нема коментара. Започните дискусију!",
"No more messages" : "Нема више порука",
"Retry" : "Покушај поново",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Ta bort kommentar",
"Cancel edit" : "Avbryt redigering",
"Post comment" : "Publicera kommentar",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" för omnämnanden, \":\" för emoji, \"/\" för smart picker",
"No comments yet, start the conversation!" : "Inga kommentarer ännu.",
"No more messages" : "Inga fler meddelanden",
"Retry" : "Försök igen",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Ta bort kommentar",
"Cancel edit" : "Avbryt redigering",
"Post comment" : "Publicera kommentar",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" för omnämnanden, \":\" för emoji, \"/\" för smart picker",
"No comments yet, start the conversation!" : "Inga kommentarer ännu.",
"No more messages" : "Inga fler meddelanden",
"Retry" : "Försök igen",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Yorumu sil",
"Cancel edit" : "Düzenlemeyi iptal et",
"Post comment" : "Yorum gönder",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "Anmalar için \"@\" , emojiler için \":\" akıllı seçici için \"/\"",
"No comments yet, start the conversation!" : "Henüz bir yorum yapılmamış! Bir görüşme başlatın!",
"No more messages" : "Başka ileti yok",
"Retry" : "Yeniden dene",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Yorumu sil",
"Cancel edit" : "Düzenlemeyi iptal et",
"Post comment" : "Yorum gönder",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "Anmalar için \"@\" , emojiler için \":\" akıllı seçici için \"/\"",
"No comments yet, start the conversation!" : "Henüz bir yorum yapılmamış! Bir görüşme başlatın!",
"No more messages" : "Başka ileti yok",
"Retry" : "Yeniden dene",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "Вилучити коментар",
"Cancel edit" : "Скасувати редагування",
"Post comment" : "Опублікувати коментар",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" для згадок, \":\" для емоційок, \"/\" для асистента",
"No comments yet, start the conversation!" : "Тут можна додати коментарі",
"No more messages" : "Більше жодних повідомлень",
"Retry" : "Ще раз",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "Вилучити коментар",
"Cancel edit" : "Скасувати редагування",
"Post comment" : "Опублікувати коментар",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" для згадок, \":\" для емоційок, \"/\" для асистента",
"No comments yet, start the conversation!" : "Тут можна додати коментарі",
"No more messages" : "Більше жодних повідомлень",
"Retry" : "Ще раз",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "删除评论",
"Cancel edit" : "取消编辑",
"Post comment" : "发表评论",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "「@」表示提及、「:」表示表情符号、「/」表示智能拾取",
"No comments yet, start the conversation!" : "还没有评论,开始对话吧!",
"No more messages" : "没有更多消息",
"Retry" : "重试",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "删除评论",
"Cancel edit" : "取消编辑",
"Post comment" : "发表评论",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "「@」表示提及、「:」表示表情符号、「/」表示智能拾取",
"No comments yet, start the conversation!" : "还没有评论,开始对话吧!",
"No more messages" : "没有更多消息",
"Retry" : "重试",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "刪除留言",
"Cancel edit" : "取消編輯",
"Post comment" : "張貼留言",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "“@” 表示提及,“:” 表示表情符號,“/” 表示智慧型選擇器",
"No comments yet, start the conversation!" : "尚無留言,開始討論吧!",
"No more messages" : "沒有更多訊息",
"Retry" : "重試",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "刪除留言",
"Cancel edit" : "取消編輯",
"Post comment" : "張貼留言",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "“@” 表示提及,“:” 表示表情符號,“/” 表示智慧型選擇器",
"No comments yet, start the conversation!" : "尚無留言,開始討論吧!",
"No more messages" : "沒有更多訊息",
"Retry" : "重試",
+1
View File
@@ -16,6 +16,7 @@ OC.L10N.register(
"Delete comment" : "刪除留言",
"Cancel edit" : "取消編輯",
"Post comment" : "張貼留言",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "「@」表示提及、「:」表示表情符號、「/」表示智慧型選取程式",
"No comments yet, start the conversation!" : "尚無留言,開始討論!",
"No more messages" : "沒有更多訊息",
"Retry" : "重試",
+1
View File
@@ -14,6 +14,7 @@
"Delete comment" : "刪除留言",
"Cancel edit" : "取消編輯",
"Post comment" : "張貼留言",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "「@」表示提及、「:」表示表情符號、「/」表示智慧型選取程式",
"No comments yet, start the conversation!" : "尚無留言,開始討論!",
"No more messages" : "沒有更多訊息",
"Retry" : "重試",
+4 -6
View File
@@ -27,12 +27,10 @@ use OCP\IL10N;
use OCP\IURLGenerator;
class Filter implements IFilter {
protected IL10N $l;
protected IURLGenerator $url;
public function __construct(IL10N $l, IURLGenerator $url) {
$this->l = $l;
$this->url = $url;
public function __construct(
protected IL10N $l,
protected IURLGenerator $url,
) {
}
public function getIdentifier(): string {
+8 -22
View File
@@ -35,28 +35,14 @@ use OCP\IUserSession;
use OCP\Share\IShareHelper;
class Listener {
protected IManager $activityManager;
protected IUserSession $session;
protected IAppManager $appManager;
protected IMountProviderCollection $mountCollection;
protected IRootFolder $rootFolder;
protected IShareHelper $shareHelper;
/**
* Listener constructor.
*/
public function __construct(IManager $activityManager,
IUserSession $session,
IAppManager $appManager,
IMountProviderCollection $mountCollection,
IRootFolder $rootFolder,
IShareHelper $shareHelper) {
$this->activityManager = $activityManager;
$this->session = $session;
$this->appManager = $appManager;
$this->mountCollection = $mountCollection;
$this->rootFolder = $rootFolder;
$this->shareHelper = $shareHelper;
public function __construct(
protected IManager $activityManager,
protected IUserSession $session,
protected IAppManager $appManager,
protected IMountProviderCollection $mountCollection,
protected IRootFolder $rootFolder,
protected IShareHelper $shareHelper,
) {
}
public function commentEvent(CommentsEvent $event): void {
+8 -12
View File
@@ -35,19 +35,15 @@ use OCP\IUserManager;
use OCP\L10N\IFactory;
class Provider implements IProvider {
protected IFactory $languageFactory;
protected ?IL10N $l = null;
protected IUrlGenerator $url;
protected ICommentsManager $commentsManager;
protected IUserManager $userManager;
protected IManager $activityManager;
public function __construct(IFactory $languageFactory, IURLGenerator $url, ICommentsManager $commentsManager, IUserManager $userManager, IManager $activityManager) {
$this->languageFactory = $languageFactory;
$this->url = $url;
$this->commentsManager = $commentsManager;
$this->userManager = $userManager;
$this->activityManager = $activityManager;
public function __construct(
protected IFactory $languageFactory,
protected IURLGenerator $url,
protected ICommentsManager $commentsManager,
protected IUserManager $userManager,
protected IManager $activityManager,
) {
}
/**
@@ -168,7 +164,7 @@ class Provider implements IProvider {
return;
}
$commentId = isset($messageParameters['commentId']) ? $messageParameters['commentId'] : $messageParameters[0];
$commentId = $messageParameters['commentId'] ?? $messageParameters[0];
try {
$comment = $this->commentsManager->get((string) $commentId);
+3 -4
View File
@@ -26,10 +26,9 @@ use OCP\Activity\ISetting;
use OCP\IL10N;
class Setting implements ISetting {
protected IL10N $l;
public function __construct(IL10N $l) {
$this->l = $l;
public function __construct(
protected IL10N $l,
) {
}
public function getIdentifier(): string {
@@ -27,10 +27,9 @@ use OCP\Collaboration\AutoComplete\ISorter;
use OCP\Comments\ICommentsManager;
class CommentersSorter implements ISorter {
private ICommentsManager $commentsManager;
public function __construct(ICommentsManager $commentsManager) {
$this->commentsManager = $commentsManager;
public function __construct(
private ICommentsManager $commentsManager,
) {
}
public function getId(): string {
@@ -43,31 +43,16 @@ use OCP\Notification\IManager;
*/
#[IgnoreOpenAPI]
class NotificationsController extends Controller {
protected IRootFolder $rootFolder;
protected ICommentsManager $commentsManager;
protected IURLGenerator $urlGenerator;
protected IManager $notificationManager;
protected IUserSession $userSession;
/**
* NotificationsController constructor.
*/
public function __construct(
string $appName,
IRequest $request,
ICommentsManager $commentsManager,
IRootFolder $rootFolder,
IURLGenerator $urlGenerator,
IManager $notificationManager,
IUserSession $userSession
protected ICommentsManager $commentsManager,
protected IRootFolder $rootFolder,
protected IURLGenerator $urlGenerator,
protected IManager $notificationManager,
protected IUserSession $userSession
) {
parent::__construct($appName, $request);
$this->commentsManager = $commentsManager;
$this->rootFolder = $rootFolder;
$this->urlGenerator = $urlGenerator;
$this->notificationManager = $notificationManager;
$this->userSession = $userSession;
}
/**
+4 -6
View File
@@ -34,12 +34,10 @@ use OCP\Comments\ICommentsEventHandler;
* @package OCA\Comments
*/
class EventHandler implements ICommentsEventHandler {
private ActivityListener $activityListener;
private NotificationListener $notificationListener;
public function __construct(ActivityListener $activityListener, NotificationListener $notificationListener) {
$this->activityListener = $activityListener;
$this->notificationListener = $notificationListener;
public function __construct(
private ActivityListener $activityListener,
private NotificationListener $notificationListener,
) {
}
public function handle(CommentsEvent $event): void {
@@ -31,12 +31,10 @@ use OCP\EventDispatcher\IEventListener;
use OCP\Files\IRootFolder;
class CommentsEntityEventListener implements IEventListener {
private IRootFolder $rootFolder;
private ?string $userId;
public function __construct(IRootFolder $rootFolder, ?string $userId = null) {
$this->rootFolder = $rootFolder;
$this->userId = $userId;
public function __construct(
private IRootFolder $rootFolder,
private ?string $userId = null,
) {
}
public function handle(Event $event): void {
@@ -42,5 +42,6 @@ class LoadAdditionalScripts implements IEventListener {
// TODO: make sure to only include the sidebar script when
// we properly split it between files list and sidebar
Util::addScript(Application::APP_ID, 'comments');
Util::addInitScript(Application::APP_ID, 'init');
}
}
@@ -34,11 +34,9 @@ use OCP\EventDispatcher\IEventListener;
use OCP\Util;
class LoadSidebarScripts implements IEventListener {
private ICommentsManager $commentsManager;
public function __construct(ICommentsManager $commentsManager) {
$this->commentsManager = $commentsManager;
public function __construct(
private ICommentsManager $commentsManager,
) {
}
public function handle(Event $event): void {

Some files were not shown because too many files have changed in this diff Show More