Compare commits

...

1054 Commits

Author SHA1 Message Date
John Molakvoæ 8414eea3a4 Merge pull request #30787 from nextcloud/fix-backport/30470/stable21 2022-01-21 11:02:17 +01:00
Nextcloud bot 65db60be4b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-21 02:27:20 +00:00
Joas Schilling 543cc682bf Fix method for 21
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-20 22:46:05 +01:00
Julius Härtl f263ae09b7 Add hashed attribute column for indexed job existence check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-20 22:43:00 +01:00
John Molakvoæ f0f0509d31 Revert "[stable21] Hash job argument" 2022-01-20 21:10:40 +01:00
John Molakvoæ ddde6768d8 Merge pull request #30767 from nextcloud/release/21.0.8rc3 2022-01-20 20:40:09 +01:00
John Molakvoæ 86fda905c5 Merge pull request #30693 from nextcloud/backport/29923/stable21 2022-01-20 10:42:21 +01:00
John Molakvoæ 301ecd0fc0 Merge pull request #30660 from nextcloud/backport/29622/stable21 2022-01-20 10:22:22 +01:00
John Molakvoæ e73848c570 21.0.8 RC3
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-20 10:19:56 +01:00
Nextcloud bot 259f49e879 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-20 02:27:41 +00:00
John Molakvoæ ba63da7a37 Merge pull request #30755 from nextcloud/backport/30738/stable21 2022-01-19 11:04:03 +01:00
John Molakvoæ 885c297bda Merge pull request #30749 from nextcloud/backport/30615/stable21 2022-01-19 10:45:29 +01:00
Joas Schilling cbaa40a692 Create block-merge-freeze.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-19 09:27:19 +00:00
Nextcloud bot cf3c3d129c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-19 02:27:57 +00:00
Christopher Ng b3bef4a65d Update autoload
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-19 02:25:57 +00:00
Christopher Ng 2083ed7206 Improve installation pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 22768769c3)
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-19 00:56:08 +00:00
Carl Schwan 6e193466e1 Merge pull request #30737 from nextcloud/backport/30470/stable21
[stable21] Hash job argument
2022-01-18 17:12:19 +01:00
Julius Härtl b9e3fb02ff Add hashed attribute column for indexed job existence check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-18 15:16:40 +01:00
Nextcloud bot 2433e32d70 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-18 02:45:40 +00:00
blizzz df8d6f95b6 Merge pull request #30680 from nextcloud/release/21.0.8rc2
21.0.8 RC2
2022-01-17 12:07:00 +01:00
Louis 22fcd65717 Merge pull request #30633 from nextcloud/backport/30358/stable21
[stable21] Reset job disabling timer on adding the job again
2022-01-17 10:42:59 +01:00
Carl Schwan 77e2427434 Merge pull request #30682 from nextcloud/backport/30531/stable21
[stable21] Optimize FileSystemTags workflow for groupfolder
2022-01-17 10:14:56 +01:00
John Molakvoæ eb8b7b8218 Merge pull request #30686 from nextcloud/backport/30499/stable21 2022-01-17 08:57:06 +01:00
Nextcloud bot ad9fbd70c4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-17 02:26:11 +00:00
John Molakvoæ f3df26e22a Merge pull request #30665 from nextcloud/backport/30530/stable21 2022-01-16 12:01:18 +01:00
Nextcloud bot 2bfcbe4aba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-16 02:27:26 +00:00
Nextcloud bot 69af22659a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-15 02:27:26 +00:00
Anderson Luiz Alves 1bc2905a4d files_external SMB: throw InvalidArgument when user is not set
Signed-off-by: Anderson Luiz Alves <alacn1@gmail.com>
2022-01-14 17:11:06 +00:00
John Molakvoæ 361303d838 Merge pull request #30677 from nextcloud/backport/stable21/30597 2022-01-14 17:30:45 +01:00
Vincent Petry 21e12e1c4f Remove inefficient fed share scanner
Remove scanAll which relies on the "shareinfo" endpoint that returns the
full cache tree.
The latter can become big for big shares and result in timeouts.
Furthermode, the full tree would be retrieved again for each and every
detected change which can become expensive quickly.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-14 16:09:00 +00:00
John Molakvoæ 08c6f1c478 Merge pull request #30676 from nextcloud/backport/30275/stable21 2022-01-14 16:45:44 +01:00
Carl Schwan 396157af18 Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:59 +00:00
Carl Schwan 73e402f715 Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:54 +00:00
Carl Schwan a735773d71 The storage is not static anymore
Don't call twice $cache->getId

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:53 +00:00
Carl Schwan 31fb8d0c71 Optimize FileSystemTags workflow for groupfolder
In https://github.com/nextcloud/server/pull/28774 we disabled the
caching for the groupfolder application since it worked due to the fact
that in groupfolders, getFileIds could be called with the same $cacheId
and path for actually different groupfolders.

This revert this change and instead add the folderId from the
groupFolder to the cacheId. This solve the issue of the uniqueness of
the cacheId inside GroupFolder. Downside is that we introduce
groupfolder specific implementation inside the server repo.

The seconf optimization is to not consider paths starting with
__groupfolders in executeCheck. This is due to the fact that files in
the groupfolder application call two times executeCheck one time with
the url __groupfolder/<folderId>/<path> and the other time with <path>.
The first time will always return an empty systemTags array while the
second call will return the correct system tags.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:51 +00:00
Carl Schwan 990259f9d8 Merge pull request #30669 from nextcloud/backport/30363/stable21
[stable21] improve accessibility settings on mobile
2022-01-14 14:11:43 +01:00
Arthur Schiwon 3c12390b5d 21.0.8 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-14 12:52:29 +01:00
blizzz 0738110f01 Merge pull request #30667 from nextcloud/backport/30568/stable21
[stable21] Fix primary key change in user_ldap migration
2022-01-14 12:20:45 +01:00
Carl Schwan 258e0166af Fix file picker not respecting hidden files settings
This will only respect the setting inside the file app. For other apps
we will either need to do an API call or add an input field with the
same idea to spare a blocking api call.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit 1fa58be1aa)
2022-01-14 12:11:14 +01:00
Joas Schilling 8263209ffa Add version of disabled apps when available
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 11:09:41 +00:00
szaimen 8a4ab10a8b address 2nd review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-14 09:38:55 +00:00
szaimen c9d93744b0 address review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-14 09:38:54 +00:00
szaimen af87126c78 improve accessibility settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-14 09:38:51 +00:00
Carl Schwan e966ddea8a Merge pull request #30642 from nextcloud/backport/30600/stable21
[stable21] Fix idn emails not working in shares
2022-01-14 10:07:47 +01:00
John Molakvoæ 99e3b61ff5 Fix linkToRoute 2022-01-14 09:48:44 +01:00
Côme Chilliet 7ebbee52b7 Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:43:46 +00:00
Joas Schilling c49bb41ef9 Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 08:43:45 +00:00
Côme Chilliet 417e76cd2d Fix user_ldap migration for long DNs support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:43:45 +00:00
Côme Chilliet a56ef49033 Move duplicated code to a base class for group_mapping migrations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-01-14 08:43:44 +00:00
Côme Chilliet 655dfcda01 Split dropTable and createTable in two migrations
It is not possible to drop and create the same table in one migration

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:43:43 +00:00
Côme Chilliet e9d7ab15fc Fix primary key change in user_ldap migration
Use a backup table to copy the data, drop table and recreate it with
 correct primary key, then copy the data back and drop the backup table.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:43:42 +00:00
John Molakvoæ 3500ef156a Fix wrong unified search link to folder
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 08:38:22 +00:00
John Molakvoæ 19e6ffd878 Merge pull request #30596 from nextcloud/fix/static_analysis 2022-01-14 08:46:37 +01:00
John Molakvoæ 6b94630f44 Implement multibucket shift for ObjectStore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 08:39:37 +01:00
Nextcloud bot 46d6e26480 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-14 02:28:27 +00:00
MichaIng c7e45eee58 Merge pull request #30599 from nextcloud/backport/29118/stable21
[stable21] add better index for finding unindexed paths
2022-01-13 23:02:21 +01:00
Louis Chemineau 9227e4e6ba Fix static analysis on CI
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-13 18:10:24 +01:00
Carl Schwan 2f10bc14f7 Fix idn emails not working in shares
And add check before sending email that email address is valid

Fix #30595

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 17:19:28 +01:00
Robin Appelman 3a1935b7ff add better index for finding unindexed paths
for the following query 'SELECT "path" FROM "oc_filecache" WHERE ("storage" = $storage) AND ("size" < 0) ORDER BY "fileid" DESC LIMIT 1;'

currently the database will in some cases decide to priorize the sort by fileid over the filter when picking what index to use, resulting in a much slower query.

by creating an index that allows first sorting by fileid and also filter by storage and size this case will be greatly sped up

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-13 15:48:14 +01:00
Vincent Petry 09c350c576 Merge pull request #30638 from nextcloud/backport/30620/stable21
[stable21] Properly abort uploads
2022-01-13 11:36:06 +01:00
Vincent Petry 3a230b8dba Properly hide progress bar after error
Whenever an error occurs, also hide the progress bar.

The logic was also adjusted to properly detect uploads that are pending
deletion, in which case the progress bar can already be hidden.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-13 08:35:52 +00:00
Vincent Petry 7ac4856b10 Properly abort uploads
Add a new approach for flagging an upload as aborted because we can't
rely on the browser fully cancelling the request as we now seem to
receive an error response from the server instead of a jQuery "abort"
message.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-13 08:35:51 +00:00
Nextcloud bot bbdc84ef1c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-13 02:26:53 +00:00
Louis Chemineau 67ccb325ef Update lib/private/BackgroundJob/JobList.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-12 17:44:33 +01:00
Vincent Petry 4b47030f17 Merge pull request #30629 from nextcloud/backport/30593/stable21
[stable21] Trigger "changeDirectory" event on URL change
2022-01-12 17:43:39 +01:00
Julius Härtl 04e8861192 Reset job disabling timer on adding the job again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-12 15:14:51 +00:00
Vincent Petry 672669ca98 Trigger "changeDirectory" even on URL change
When using the browser back button or clicking on sections on the left
sidebar (like favorites), the "changeDirectory" jQuery event did not get
called, so apps like recommendations would not notice the directory
change.

This fixes the issue by also setting changeUrl to true when the file
list's directory got changed as a result from a URL change.

Added optional changedThroughUrl argument to make sure the event
recipient knows if the change was done through a URL change and make it
possible prevent a loop in the onDirectoryChange handler that actually
changes the URL when the origin was already from a URL change.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-12 13:56:58 +00:00
Vincent Petry b8957cd6f3 Merge pull request #30617 from nextcloud/backport/30609/stable21
[stable21] Fix RequestURL check for cli commands
2022-01-12 14:42:53 +01:00
Joas Schilling 6c9fa27850 Merge pull request #30601 from nextcloud/backport/30291/stable21
[stable21] Prevent loading images that would require too much memory.
2022-01-12 13:50:22 +01:00
Carl Schwan 056b109b69 Fix RequestURL check for cli commands
Fix https://github.com/nextcloud/files_automatedtagging/issues/526

Fix https://github.com/nextcloud/groupfolders/issues/1855

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 09:07:01 +00:00
Nextcloud bot b7f3c7c8d6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-12 02:27:17 +00:00
Joachim Bauch 3ad763cf18 Prevent loading images that would require too much memory.
For most image formats, the header specifies the width/height.
PHP allocates an image object from that size, even if the actual
image data is much smaller. This image object size is not limited
by the limit configured in PHP.

The memory limit can be configured through "config.php" setting
"preview_max_memory" and defaults to 128 MBytes which should be
enough for most images without filling up all memory.

Signed-off-by: Joachim Bauch <bauch@struktur.de>
2022-01-11 14:48:27 +00:00
Louis 2e61727e96 Merge pull request #30590 from nextcloud/backport/30571/stable21
[stable21] fix: only use jquery once it is available
2022-01-11 14:15:41 +01:00
Vincent Petry 89504e1aed Merge pull request #30579 from nextcloud/backport/30565/stable21
[stable21] Fix fail when keys/files folder already exists
2022-01-11 14:07:23 +01:00
Vincent Petry 477a693bb2 Merge pull request #30583 from nextcloud/bugfix/noid/npm-ci-for-karma/stable21
[stable21] Use npm ci when running JS tests
2022-01-11 14:05:55 +01:00
Azul 97a938fe9f fix: only use jquery once it is available
publicpage.js is loaded very early and cannot rely on jquery being loaded already.

Move the use of `$` into the `DomContentLoaded` handler.

Signed-off-by: Azul <azul@riseup.net>
2022-01-11 10:34:36 +00:00
Vincent Petry 79d26e4d7f Fix fail when keys/files folder already exists
Fixes an issue with transfer ownership in move mode where the folder
"files_encryption/keys/files" already exists.

Instead of failing, its existence is checked before calling mkdir.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-11 10:15:40 +00:00
Vincent Petry dcb121958d Update package-lock in build dir
It wasn't up to date with package.json

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-11 08:47:39 +00:00
Nextcloud bot be642889ec [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-11 02:27:25 +00:00
Vincent Petry eed0b7dbb1 Recompile JS
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 19:27:22 +01:00
Vincent Petry 9b5c5d0cfe Fix JS tests after test lib updates
Prevent XHR during load by checking window.TESTING.
Adjust some expected values.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 19:08:28 +01:00
Vincent Petry 9fb5d00145 Make chokidar happy with fsevents
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 19:08:18 +01:00
Vincent Petry a0fefaa6a9 Update node deps for JS tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 19:06:40 +01:00
Vincent Petry 3fd15e6ba2 Use npm ci when running JS tests
This makes sure that the pinned versions are selected correctly.
Fixes the colors.js incident.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 19:06:09 +01:00
Nextcloud bot ea94d34845 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-10 02:26:52 +00:00
MichaIng ec88a9c32e Merge pull request #30559 from nextcloud/backport/30468/stable21
[stable21] Handle LocalServerException when scanning external shares
2022-01-09 21:28:05 +01:00
Carl Schwan e18c8b5b40 Handle LocalServerException when scanning external shares
When remoteIsOwnCloud trows LocalServerException, the storage is
unavailable and instead of crashing the scanner, ignore the specific
storage.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-09 17:46:42 +00:00
Nextcloud bot 0621eb9f60 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-09 02:26:41 +00:00
Simon L 62a9fd5b99 Merge pull request #30454 from nextcloud/backport/30420/stable21
[stable21] improve status modal
2022-01-08 11:41:49 +01:00
szaimen a1fc749ee3 fix compiling
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-08 09:35:51 +00:00
Nextcloud bot ea96a9e7e0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-08 02:26:44 +00:00
blizzz dcbe5b9863 Merge pull request #30527 from nextcloud/backport/30511/stable21
[stable21]  update CRL after revocation of sharerenamer.crt
2022-01-08 00:54:39 +01:00
John Molakvoæ efdc2f12fc Merge pull request #30520 from nextcloud/release/21.0.8 2022-01-07 15:37:52 +01:00
John Molakvoæ cf46808a7f Merge pull request #30488 from nextcloud/backport/29780/stable21 2022-01-07 13:11:26 +01:00
MichaIng 5eb791a1d3 Merge pull request #30521 from nextcloud/backport/30515/stable21
[stable21] Remove iconv from dependencies and tests
2022-01-07 12:25:36 +01:00
Vitor Mattos 76ad3fa05f Update crl
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-07 11:25:20 +00:00
Joas Schilling b9b586a19b Merge pull request #30524 from nextcloud/backport/30492/stable21
[stable21] Fix passing on the parameter
2022-01-07 10:50:38 +01:00
MichaIng 768bf3c59a [stable22] Remove iconv from dependencies and tests
which is not used anymore since: https://github.com/nextcloud/server/pull/29470

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-07 10:19:13 +01:00
Joas Schilling 799b4d5a56 Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-07 09:32:20 +01:00
Joas Schilling 67a43a6ad4 Run migrations fully when reenabling an app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-07 08:50:31 +01:00
John Molakvoæ 1c8c075f32 Merge pull request #30482 from nextcloud/backport/30423/stable21 2022-01-07 08:49:00 +01:00
John Molakvoæ dbdc814e81 Merge pull request #29963 from nextcloud/backport/29951/stable21 2022-01-07 08:48:20 +01:00
John Molakvoæ 064f2615d7 Merge pull request #29325 from nextcloud/backport/28541/stable21 2022-01-07 08:46:22 +01:00
John Molakvoæ 191d9b7f47 Merge pull request #28657 from nextcloud/backport/28419/stable21 2022-01-07 08:45:14 +01:00
John Molakvoæ b30b63f048 21.0.8 RC1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-07 08:28:08 +01:00
Nextcloud bot 513589f3f9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-07 02:28:22 +00:00
Nextcloud bot ebb3fbb509 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-06 02:28:41 +00:00
Nextcloud bot 4028cf932e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-05 02:28:00 +00:00
John Molakvoæ 4ac98ee652 Fix uploading text position
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-04 08:52:33 +00:00
Nextcloud bot 67a7eefa5b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-04 02:27:53 +00:00
Nextcloud bot ed88cd1c95 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-03 02:27:59 +00:00
Nextcloud bot 8bce81b696 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-01 02:27:25 +00:00
MichaIng 949fb2343a Merge pull request #30448 from nextcloud/backport/30440/stable21
[stable21] Make sure to get file model in template picker
2021-12-31 21:27:41 +01:00
MichaIng 1fcfda2621 Merge pull request #30435 from nextcloud/backport/30392/stable21
[stable21] Add missing index for propertypath only queries of DAV properties
2021-12-31 17:48:10 +01:00
Nextcloud bot 072ba3b863 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-31 02:27:53 +00:00
szaimen 2323fd1342 improve status modal
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-31 00:43:22 +01:00
Louis Chemineau 5767a5d6eb Manual compilation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-12-30 18:08:25 +01:00
Julien Veyssier 35b8f06501 fix template picker for file actions using the fileInfoModel
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-30 14:47:17 +00:00
Louis 4fde409901 Merge pull request #30341 from nextcloud/backport/29329/stable21
[stable21] fix potential unwarranted memberships in nested groups from LDAP
2021-12-30 11:03:30 +01:00
John Molakvoæ 43006f2ed9 Merge pull request #30442 from nextcloud/backport/30353/stable21 2021-12-30 08:11:54 +01:00
Nextcloud bot 7082cbc127 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-30 02:28:21 +00:00
Carl Schwan 541a2a2234 Handle external share with invalid host
remoteIsOwnCloud might throw an exception when the host is localhost.
Handle this case instead of aborting completely. The behavior is the
same as that is done 10 lines under it

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-29 17:12:42 +00:00
Christoph Wurst 30eb30232f Add missing index for propertypath only queries against properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-29 09:57:54 +00:00
Nextcloud bot 2528210db2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-28 02:28:00 +00:00
Nextcloud bot 9f91841a7d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-27 02:27:35 +00:00
Nextcloud bot e2dd2ecfde [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-25 02:27:39 +00:00
Nextcloud bot e67859e38f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-24 02:29:31 +00:00
Nextcloud bot 698174cba0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-23 02:28:06 +00:00
Nextcloud bot 51ab169278 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-22 02:28:29 +00:00
John Molakvoæ f31369af13 Merge pull request #30314 from nextcloud/backport/30266/stable21 2021-12-21 15:09:52 +01:00
Carl Schwan c886f5e9ea Fix share owner not being displayed in sharing tab
This only concerns subfolder and files inside a shared folder and is
used as fallback when the OCS api returns a empty result, because it
only works on the shared folder and not the content inside of it.
This unify the tab with the folder list.

This offers a less descriptive share information but making the
OCS api returns all the details even for the subfolder would very
probably be bad for performance (since we would need to fetch the shares
for all the parent folders until we found one or are in the root folder).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-21 14:10:01 +01:00
Nextcloud bot c066f8bcd5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-21 02:28:15 +00:00
MichaIng a45a9bf860 Merge pull request #30251 from nextcloud/backport/30193/stable21
[stable21] Fix setting up 2FA when no providers are set up but backup codes
2021-12-20 18:42:40 +01:00
MichaIng 92744f3047 Merge pull request #30248 from nextcloud/backport/30245/stable21
[stable21] Only wildcard search if enumeration is allowed
2021-12-20 18:41:53 +01:00
MichaIng c872f2a40a Merge pull request #30348 from nextcloud/backport/29965/stable21
[stable21] [stable23] Avoid use of iconv to get rid of unicode
2021-12-20 13:58:33 +01:00
Louis 57bb6e77eb Merge pull request #30346 from nextcloud/backport/30322/stable21
[stable21] fix overlapping in the help settings section
2021-12-20 11:32:05 +01:00
Côme Chilliet 32831de424 [stable23] Avoid use of iconv to get rid of unicode
Using iconv for translit depends upon server configuration, locale, and
 PHP version. Using htmlentities instead to have a consistent behavior
 independent of configuration.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: MichaIng <micha@dietpi.com>
2021-12-20 10:00:42 +00:00
szaimen d22b780d78 fix overlapping in the help settings section
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-20 09:36:02 +00:00
Louis e259f6e20e Merge pull request #30308 from nextcloud/backport/30281/stable21
[stable21] Ignore non-existing groups when notifying group shares
2021-12-20 10:20:27 +01:00
Arthur Schiwon 47c916d77a fix potential unwarranted memberships in nested groups from LDAP
- the issue was present only when using PHP based resolving of nested
  group members. Normally nested members are common in AD (and Samba4) and
  are resolved per LDAP_MATCHING_RULE_IN_CHAIN by default
- resolving nested members is recursive
- when the cache entry was created it happend for intermediate groups, too,
  containing members from the parent group
- the check was added to only cache the root group with its members
- a runtime cache stores intermediate ldap read results


Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-12-20 09:13:22 +00:00
Nextcloud bot bab0dbac9e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-20 02:30:02 +00:00
Nextcloud bot 3342b65803 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-19 02:29:36 +00:00
dependabot[bot] cf316c43f5 Merge pull request #30327 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.3.0 2021-12-18 16:22:58 +00:00
dependabot[bot] 4130401076 Update sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.3...4.3.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-18 16:39:09 +01:00
Nextcloud bot 2d9fee1b4c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18 02:27:44 +00:00
Vincent Petry 3b5dd77275 Discard share notification for non-existing groups
Group shares might exist even after a group got deleted.

This fix catches the situation and discards the notification for the
obsolete group.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <coding@schilljs.com>
2021-12-17 07:09:28 +00:00
Nextcloud bot d750eb1da8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-17 02:29:14 +00:00
Louis 2ed6fde50a Merge pull request #30192 from nextcloud/backport/30157/stable21
[stable21] Properly format sharing datepicker locale
2021-12-16 13:30:18 +01:00
Louis Chemineau bad74d6f62 Manual compilation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-12-16 11:22:22 +01:00
John Molakvoæ d2e5fb6a7a Fix first day locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-16 11:17:51 +01:00
John Molakvoæ 7c89c7cce1 Properly format sharing datepicker locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-16 11:17:51 +01:00
Louis 6461853aab Merge pull request #30287 from nextcloud/backport/30256/stable21
[stable21] Fix ShareLink Upload UI for Folders
2021-12-16 10:58:31 +01:00
Côme Chilliet c5a8610163 Merge pull request #30261 from nextcloud/backport/29523/stable21
[stable21] Support LDAP dns longer than 255 characters
2021-12-16 09:06:45 +01:00
Nextcloud bot ea743715ec [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-16 02:28:09 +00:00
Jonas Rittershofer 9a7592de93 Build assets
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-12-15 20:23:48 +01:00
Jonas Rittershofer d4d6882f25 Fix ShareLink Upload UI for Folders
Do not show the Upload-Option if it is not allowed to check.

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-12-15 19:49:56 +01:00
Julius Härtl a908f5f767 Merge pull request #30270 from nextcloud/search-folder-case-insensitive-21 2021-12-15 08:27:57 +01:00
Nextcloud bot 6ffe3ae0f2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-15 02:28:11 +00:00
Robin Appelman f6024a895c also use case sensitive like when searching in a folder
this case was missed from https://github.com/nextcloud/server/pull/29080

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-14 17:49:48 +01:00
Côme Chilliet 2f267e7fb7 Merge pull request #30117 from nextcloud/backport/30040/stable21
[stable21] Avoid calling image* methods on boolean
2021-12-14 13:52:20 +01:00
Côme Chilliet e34ec33199 Avoid assignment in if clause
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +01:00
Côme Chilliet 07997131d3 Fix typing problems in OC_Image
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +01:00
Côme Chilliet 3f10cf8996 Avoid calling image* methods on boolean
This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +01:00
Côme Chilliet f3632cf020 Adapt execute function name for stable21
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:04:37 +01:00
Côme Chilliet 774636efab Bump user_ldap version to make sure the migration runs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:03:53 +01:00
Côme Chilliet 5e345f80ce Add missing copyright headers in migration steps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:03:21 +01:00
Côme Chilliet ded493de06 Use clearer names for variables
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:00:53 +01:00
Côme Chilliet 44fe945d39 Add an index for directory_uuid as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:57 +01:00
Côme Chilliet 41e365aa3b Make sure that hash function returns a string
The documentation says it can return false, and even if that is highly
 unlikely for sha256, better safe than sorry.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:47 +01:00
Côme Chilliet d8263692d0 Add the columns and alter the index in Version1010Date20200630192842
This is to ensure new installations do not need to go through migration
 history.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:37 +01:00
Côme Chilliet 94b5b21e8c Fixes in migration step
We cannot set ldap_dn_hash column as notnull because it is empty for
 existing users before postSchemaChange is called

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:30 +01:00
Côme Chilliet 8367bda445 Put back length check to have a clear error
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:22 +01:00
Côme Chilliet dd8d90923e Fixed migration step for user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:13 +01:00
Joas Schilling c90f9b52d0 Fix variable names
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-14 10:58:04 +01:00
Côme Chilliet 8904c51ca9 Change column names to ldap_dn and ldap_dn_hash and add migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:57:50 +01:00
Côme Chilliet 071a58a7f4 Support LDAP dns longer than 255 characters
Adds an ldap_full_dn column to store the dn, and only store a sha256
 hash in the ldap_dn which is shorter and can be indexed without
 trouble.
Migration still needs to be implemented.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:57:39 +01:00
Nextcloud bot 050b680d1d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-14 02:28:14 +00:00
Christoph Wurst 22ebbba8e6 Fix setting up 2FA when no providers are set up but backup codes
2FA set up is allowed when only backup codes are set up but no other
provider and no provider is failing.

This patch syncs up the login controller check with the challenge
controller check 10 lines above.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-13 15:59:12 +00:00
Louis Chemineau 565da24b4f Fix backport
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-12-13 15:36:45 +01:00
Joas Schilling 846929b90d Make psalm more happy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:22 +00:00
Joas Schilling 9da9a53166 Fix docs to make Psalm happier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:22 +00:00
Joas Schilling ae068fb47a Convert strict_search to wildcard property and add psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:22 +00:00
Joas Schilling 749935e91b Limit more contact searches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:22 +00:00
Joas Schilling 448ee8e30d Only limit search in the system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:22 +00:00
Joas Schilling 18e665364a Only wildcard search if enumeration is allowed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 14:26:21 +00:00
Nextcloud bot dffe146fbb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-13 02:28:06 +00:00
Nextcloud bot cc65c84f01 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12 02:28:37 +00:00
MichaIng bd2f0726a3 Merge pull request #30216 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.3
Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration
2021-12-11 13:48:47 +01:00
dependabot[bot] 6dbe716289 Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.1...4.2.3)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 03:51:32 +00:00
Nextcloud bot 26391687ee [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-11 02:27:48 +00:00
Vincent Petry 4b287bb34e Merge pull request #30189 from nextcloud/backport/30164/stable21
[stable21] Use correct icon for dir-external-root
2021-12-10 13:24:14 +01:00
Vincent Petry b12e1e3ca2 Use correct icon for dir-external-root
When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.

This fixes the logic to use the "folder-external" icon in such
scenarios.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-10 09:36:03 +00:00
Vincent Petry 4df4e6ea4d Merge pull request #30182 from nextcloud/backport/30160/stable21
[stable21] Check resource before closing in encryption wrapper
2021-12-10 08:56:26 +01:00
John Molakvoæ d7c34cc111 Merge pull request #30178 from nextcloud/backport/30168/stable21 2021-12-10 08:46:56 +01:00
Nextcloud bot 8697d25412 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-10 02:27:38 +00:00
Vincent Petry 65d4d30251 Check resource before closing in encryption wrapper
In case of error there is no guarantee that $source or $target is set or
is a resource when handling an error.

Without this fix, there's a risk that fclose will fail and the actual
exception will not be thrown, making it impossible to find out about the
root cause.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-10 00:10:44 +00:00
John Molakvoæ 3f6cceae41 Allow to delete non-migrated previews instead of moving them
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-09 23:06:36 +00:00
Nextcloud bot 80ff47e829 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-09 02:29:49 +00:00
Louis f41c1fffff Merge pull request #30056 from nextcloud/backport/29735/stable21
[stable21] find users for background scan one by one
2021-12-08 18:06:00 +01:00
MichaIng 26089a7b69 Merge pull request #30153 from nextcloud/backport/30141/stable21
[stable21] Reload page instead of file list when getting 401 authentification error
2021-12-08 14:32:20 +01:00
Carl Schwan 5aef34de49 Reload page on 401 since there is an authentification problem
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:48:35 +00:00
Carl Schwan c003a56816 Stop reloading file list when getting 401 error on root dir
When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:48:35 +00:00
Julius Härtl 5a47384300 Merge pull request #30138 from nextcloud/backport/30134/stable21 2021-12-08 09:07:27 +01:00
Nextcloud bot c6b705dde6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 02:29:04 +00:00
Julien Veyssier 1f08556e47 do not trigger events when setting active view in gotoplugin
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-12-07 14:47:47 +00:00
Nextcloud bot e653cd2d7b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-07 02:40:16 +00:00
Louis e8ac610ef7 Merge pull request #30109 from nextcloud/backport/30104/stable21
[stable21] Strengthify is now in the Nextcloud org
2021-12-06 15:58:29 +01:00
John Molakvoæ fda86f8c8c Merge pull request #29834 from nextcloud/carl/bugfix/file-search-21 2021-12-06 14:51:55 +01:00
Joas Schilling 814145d19c Strengthify is now in the Nextcloud org
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-06 10:31:19 +01:00
Nextcloud bot d9e5960aff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-06 02:30:47 +00:00
Nextcloud bot 92b5bcfbfb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-05 02:30:41 +00:00
MichaIng c15daa75fa Merge pull request #30082 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.1
Update sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration
2021-12-05 02:16:35 +01:00
dependabot[bot] 328c0cd9f9 Update sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.0...4.2.1)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-04 03:05:53 +00:00
Nextcloud bot 4d3b8260e8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-04 02:31:03 +00:00
John Molakvoæ 2efd975380 Merge pull request #30064 from nextcloud/backport/30046/stable21 2021-12-03 09:03:21 +01:00
Nextcloud bot 448b41feda [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-03 02:29:34 +00:00
Christoph Wurst 645bea5a04 Close open cursor in the caldav back-end
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-03 02:03:37 +00:00
John Molakvoæ c8c198715e Merge pull request #30023 from nextcloud/backport/30018/stable21 2021-12-02 22:27:49 +01:00
Christopher Ng 89b309d8aa Fix collaborative tags styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-02 20:01:07 +00:00
Robin Appelman d89ce5a410 fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman f70f9cf1be code checker fixes for instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman ac28e0aefd stop background scan early if a users still has unscanned files after background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman 70f23a4285 find users for background scan one by one
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman bd677f6741 background scan the source storage when a background scan on a storage jail is triggered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman 016f99276b teach psalm about Storage::instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
John Molakvoæ 51721e8013 Merge pull request #30061 from nextcloud/fix/stable21/jsunit-job 2021-12-02 20:51:27 +01:00
Christopher Ng 408ac4d6c0 Add missing node version matrix for jsunit job
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-02 19:18:28 +00:00
Joas Schilling 60562154b0 Merge pull request #30039 from nextcloud/backport/30028/stable21
[stable21] Fix log_query config flag
2021-12-02 17:13:01 +01:00
Joas Schilling cabc6eaec6 Fix log_query config flag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 09:41:33 +00:00
Nextcloud bot f84196b41b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-02 02:29:32 +00:00
Christoph Wurst 003bf0fc6e Merge pull request #29997 from nextcloud/backport/27732/stable21
[stable21] Fix LDAPProviderFactory not found
2021-12-01 19:01:54 +01:00
Arthur Schiwon 9a4f7172d0 unset ldap provider when disabling user_ldap
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-12-01 08:27:56 +00:00
Arthur Schiwon 26c66d210d ensure that factoryClass exisits before instantiation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-12-01 08:27:56 +00:00
Nextcloud bot 31679bd344 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-01 02:31:07 +00:00
Christoph Wurst 086e79eecd Merge pull request #29979 from nextcloud/backport/29974/stable21
[stable21] Let repair step query exceptions bubble up
2021-11-30 14:33:43 +01:00
Christoph Wurst 56fb21769f Include previous execption for repair steps that don't exist
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-30 12:03:51 +00:00
Christoph Wurst bb91d5bd69 Let repair step query exceptions bubble up
And hide the type error caused by a constructor call with missing
arguments.

`new $repairStep();` only works for the rare case that no arguments are
required. Anything else will throw. Then we previously hid the trace of
the more important query exception.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-30 12:03:51 +00:00
Nextcloud bot 46a264b2a2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-30 02:26:45 +00:00
Christoph Wurst 603d623d54 Interpolate the log message also for logged exceptions
According to PSR-3 the log message can have placeholders that are
replaced from the context object. Our logger implementation did that for
all PSR-3 logger methods. The only exception was our custom `logException`.

Since PsrLoggerAdapter calls logException when an exception key is
present in the context object, log messages were no longer interpolated.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-29 15:55:00 +00:00
Nextcloud bot b1b5f9755b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-29 02:25:31 +00:00
Nextcloud bot d42c2ed50e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-28 02:24:00 +00:00
Nextcloud bot b675d50092 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-27 02:26:20 +00:00
Carl Schwan 8f9d1b31df Fix search results filtering
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-26 16:30:47 +01:00
MichaIng 6d8cf37f06 Merge pull request #29907 from nextcloud/backport/29902/stable21
[stable21] Check for invalid characters before trimming
2021-11-26 14:22:04 +01:00
Nextcloud bot 5bafc9a729 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-26 02:46:29 +00:00
MichaIng e5daae9101 Merge pull request #29803 from nextcloud/backport/29632/stable21
[stable21] fix imagecreatetruecolor() error
2021-11-25 17:14:08 +01:00
MichaIng 5006fc178d Merge pull request #28199 from nextcloud/backport/26936/stable21
[stable21] better cleanup of filecache when deleting an external storage
2021-11-25 17:10:29 +01:00
Joas Schilling 9cc47c5e1f Correctly set the response after a ClientException as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:34:35 +00:00
Joas Schilling 933a967896 Add an integration test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:34:35 +00:00
Joas Schilling f700abc889 Check for invalid characters before trimming
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 15:34:35 +00:00
blizzz 2dd3b6f0b1 Merge pull request #29851 from nextcloud/backport/29836/stable21
[stable21] Make sure mapping cache is cleared when deleting a user
2021-11-25 13:08:04 +01:00
Nextcloud bot df1f11ca00 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-25 02:25:26 +00:00
Pytal 0e1e95e372 Merge pull request #29883 from nextcloud/backport/28519/stable21 2021-11-24 11:03:59 -08:00
Julius Härtl a830688418 Add active user count to occ user:report
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-24 14:03:52 +00:00
MichaIng 9db07032d5 Use pre-v22 query commands
Signed-off-by: MichaIng <micha@dietpi.com>
2021-11-24 14:47:23 +01:00
Robin Appelman a3dc399e2f better cleanup of filecache when deleting an external storage
this way it can delete the cache entries even with per-user credentials

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-24 14:47:23 +01:00
Christoph Wurst d0c5a24f81 Merge pull request #29764 from nextcloud/backport/29752/stable21
[stable21] Explicitly allow some routes without 2FA
2021-11-24 14:39:05 +01:00
Nextcloud bot 28f41da186 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 02:26:17 +00:00
Robin Appelman a61ac5acf5 update @since for getDatabasePlatform
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-23 14:51:26 +01:00
Vincent Petry 7f8c8b1462 Merge pull request #29853 from nextcloud/backport/29835/stable21
[stable21] Fix getting subnet of ipv4 mapped ipv6 addresses
2021-11-23 14:03:35 +01:00
Vincent Petry 264b329aaf Type hint in IpAddress
Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2021-11-23 10:28:20 +00:00
Vincent Petry d9a5f2867e Improve normalizer detecting IPv4 inside of IPv6
The subnet for an IPv4 address inside of IPv6 is now returned in its
IPv4 form.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-23 10:28:20 +00:00
Vincent Petry 87af149292 Fix getting subnet of ipv4 mapped ipv6 addresses
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-23 10:28:20 +00:00
Côme Chilliet fb376f5132 Test cache invalidation for AbstractMapping in test suite
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 10:23:14 +00:00
Côme Chilliet 23f42f3b50 Make sure mapping cache is cleared when deleting a user
This avoids phantom remnants staying after user deletion

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 10:23:14 +00:00
MichaIng fb701e344e Merge pull request #29629 from nextcloud/backport/29611/stable21
[stable21] Show most recently deleted files first in trash can
2021-11-23 03:54:52 +01:00
Nextcloud bot 0102cb9e1a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:26:21 +00:00
MichaIng cb84c089f0 Merge pull request #29840 from nextcloud/backport/29708/stable21
[stable21] Do not print verbose info about app updates if there are none
2021-11-22 23:31:37 +01:00
Christoph Wurst d0689fb707 Do not print verbose info about app updates if there are none
This is cosmetical but if you have a large number of apps installed then
you'll see a wall of text during the server and app upgrade when it
tries to update each app via the app store. In may cases nothing will be
updated. For those boring cases we can hide the verbose info, but show
when occ is run with -v. Any actual update will still print a few lines.
Those are the important ones for the admin.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-22 20:54:58 +01:00
Louis 1256331c77 Merge pull request #29810 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.0
Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration
2021-11-22 15:32:58 +01:00
Louis Chemineau c176dc2293 Manual compilation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-11-22 11:32:37 +01:00
Louis 9e2381b10b Merge pull request #29811 from nextcloud/dependabot/npm_and_yarn/stable21/camelcase-6.2.1
Bump camelcase from 6.2.0 to 6.2.1
2021-11-22 11:06:04 +01:00
Nextcloud bot 6b15557839 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-22 02:45:55 +00:00
MichaIng e33bc51ee0 Merge pull request #29794 from nextcloud/backport/29605/stable21
[stable21] Normalize file name before existence check in scanner
2021-11-21 20:03:07 +01:00
dependabot[bot] 4f1bfc7519 Bump camelcase from 6.2.0 to 6.2.1
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.2.0...v6.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-21 19:18:08 +01:00
dependabot[bot] 741a202d01 Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/3.2.3...4.2.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-21 16:08:03 +01:00
Nextcloud bot cda4df035c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-21 02:25:46 +00:00
Nextcloud bot 62940d322e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 02:42:30 +00:00
szaimen 9e2775deb7 fix imagecreatetruecolor() error
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-19 20:17:21 +00:00
Vincent Petry ca37664887 Normalize directory entries in Encoding wrapper
Directory entry file names are now normalized in getMetaData(),
getDirectoryContents() and opendir().

This makes the scanner work properly as it assumes pre-normalized names.

In case the names were not normalized, the scanner will now skip the
entries and display a warning when applicable.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:39 +00:00
Vincent Petry 88b5860e70 Move storage encoding compatibility warning logic
The encoding check for file names is now happening the Scanner, and an
event will be emitted only if the storage doesn't contain the encoding
compatibility wrapper.

The event is listened to by the occ scan command to be able to display a
warning in case of file name mismatches when they have NFD encoding.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:39 +00:00
Vincent Petry 2e79444828 Normalize file name before existence check in scanner
The scanner would not find a NFD-encoded file name in an
existing file list that is normalized.

This normalizes the file name before scanning.

Fixes issues where scanning repeatedly would make NFD files flicker in
and out of existence in the file cache.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:39 +00:00
Nextcloud bot 03ccb6a09f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 02:38:40 +00:00
Thomas Citharel 6269efd2f1 Delete calendar subscriptions as well when deleting user
Closes #28418

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-18 15:46:00 +01:00
Christoph Wurst fc5b49082f Explicitly allow some routes without 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-18 13:28:43 +01:00
Nextcloud bot 8a25826610 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-18 02:26:06 +00:00
Vincent Petry 18c190f6a3 Merge pull request #29742 from nextcloud/backport/29695/stable21
[stable21] Fix missing setlocale with php 8
2021-11-17 13:12:11 +01:00
Naoto Kobayashi cbccddcf6e OC_Util::isNonUTF8Locale: fix lint error
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:41 +00:00
Naoto Kobayashi b01048bafc OC_Util::isSetLocaleWorking: fix typo
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:40 +00:00
Naoto Kobayashi b9b1ef1319 OC_Util: Add fallbacks to check if current locale is UTF8
Using escapeshellcmd to get current locale causes error
if the function is disabled.

Add fallbacks to prevent the error.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:40 +00:00
Naoto Kobayashi 7bb43a1e13 Add check whether escapeshellcmd behaves the same as basename
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:40 +00:00
Naoto Kobayashi 516cc3ba18 Check whether setlocale works only after setlocale
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:40 +00:00
Naoto Kobayashi e9c6de5c79 Fix missing setlocale with php 8
When php version = 8, basename('§') does not bug even if LC_ALL is non-UTF-8 locale.
This cause OC_Util::isSetLocaleWorking() to skip setlocale("C.UTF-8").

Fix it by using escapeshellcmd instead of basename.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-17 09:01:40 +00:00
Nextcloud bot f5b155266d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-17 02:45:55 +00:00
Nextcloud bot 2af95cb524 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-16 02:24:39 +00:00
Orzu Ionut 70bf9f4ff8 Update filelist test
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-15 22:47:17 +00:00
Orzu Ionut ca38388109 Show most recently deleted files first in trash can
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-15 22:47:17 +00:00
John Molakvoæ 80a804aa41 Merge pull request #29721 from nextcloud/release/21.0.7 2021-11-15 21:02:10 +01:00
John Molakvoæ 6bce0d45fc Merge pull request #29718 from nextcloud/bump-doctrine-dbal-21 2021-11-15 21:02:01 +01:00
John Molakvoæ 53e408a186 21.0.7
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-15 19:29:07 +01:00
Joas Schilling 96c8e0dad3 Apply changes from master's update to 3.1.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 19:07:11 +01:00
Joas Schilling 8eed4bed72 Bump doctrine/dbal to 3.1.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 19:01:53 +01:00
Joas Schilling d6d4cbbf9f Allow NULL as well for limit, not integer only
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 19:01:46 +01:00
szaimen 05481edba0 Merge pull request #29707 from nextcloud/backport/29679/stable21
[stable21] don't flash external storage mountpoints during the status check
2021-11-15 16:33:35 +01:00
Louis 89ce52f2e2 Merge pull request #29656 from nextcloud/dependabot/npm_and_yarn/stable21/moment-timezone-0.5.34
Bump moment-timezone from 0.5.33 to 0.5.34
2021-11-15 15:50:59 +01:00
Louis Chemineau 55e1be9a5a Manual compilation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-11-15 15:21:02 +01:00
szaimen 3adf58f3af don't flash external storage mountpoints during the status check
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-15 12:18:15 +00:00
Carl Schwan 3840d0a5dc Merge pull request #29635 from nextcloud/backport/29484/stable21
[stable21] Use unique combination of hostname/bucket/key for external storages
2021-11-15 12:50:14 +01:00
Nextcloud bot a05f4ed802 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-15 02:24:51 +00:00
Nextcloud bot 232d6dbc40 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-14 02:26:00 +00:00
dependabot[bot] f41a798b2b Bump moment-timezone from 0.5.33 to 0.5.34
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.33 to 0.5.34.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.33...0.5.34)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 23:17:29 +00:00
Nextcloud bot 21fb91110b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 02:26:07 +00:00
Nextcloud bot 90e25b8f41 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-12 02:23:16 +00:00
Arthur Schiwon 5b0854cd30 bump last version digit for rebuild
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-11 15:49:58 +01:00
blizzz 5cb7d247e2 Merge pull request #29668 from nextcloud/backport/29664/stable21
[stable21] Fix updating with apps
2021-11-11 15:48:49 +01:00
Joas Schilling fd30500a92 Fix updating with apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 13:45:54 +00:00
Nextcloud bot 7bee566e60 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 02:23:30 +00:00
blizzz 1b4782b7a2 Merge pull request #29626 from nextcloud/version/21.0.6/final
21.0.6
2021-11-10 20:33:43 +01:00
Julius Härtl 52037996aa Add migration to move over existing storage ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-10 16:52:49 +01:00
Julius Härtl ac1651c86d Use unique combination of hostname/bucket/key for external storages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-10 15:38:30 +00:00
Arthur Schiwon 3f173e4908 21.0.6
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-10 14:43:49 +01:00
Nextcloud bot e955240667 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-10 02:24:50 +00:00
Louis ad50457dff Merge pull request #29599 from nextcloud/backport/29029/stable21
[stable21] Fix HTML entity rendering in file comments sidebar
2021-11-09 15:20:31 +01:00
Christopher Ng 344e850323 Fix HTML entity rendering in file comments sidebar
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-09 14:25:28 +01:00
dependabot[bot] e3dd02284b Merge pull request #29576 from nextcloud/dependabot/npm_and_yarn/stable21/nextcloud/initial-state-1.2.1 2021-11-09 11:11:13 +00:00
Louis Chemineau 99737ea10a Manual compilation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-11-09 11:30:52 +01:00
dependabot[bot] 023a19e580 Bump @nextcloud/initial-state from 1.2.0 to 1.2.1
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.2.0...v1.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-09 09:32:16 +00:00
Louis 512a33b98b Merge pull request #29579 from nextcloud/dependabot/composer/build/integration/stable21/behat/behat-approx-3.10.0
Update behat/behat requirement from ~3.9.0 to ~3.10.0 in /build/integration
2021-11-09 10:29:13 +01:00
Nextcloud bot 75a935283d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-09 03:26:43 +00:00
John Molakvoæ bfa8208537 Merge pull request #29596 from nextcloud/backport/29592/stable21 2021-11-08 20:56:23 +01:00
Julien Veyssier 18facb7403 refs #11864 handle empty dir drop in Files UI
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-11-08 17:18:51 +00:00
dependabot[bot] 04b5805a0d Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 18:09:51 +01:00
Côme Chilliet 5041b727b1 Merge pull request #29520 from nextcloud/backport/29479/stable21
[stable21] Fix images on php 8.0
2021-11-08 11:57:23 +01:00
Nextcloud bot 5815512308 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-08 02:33:28 +00:00
Nextcloud bot 4dc86b3259 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-07 02:22:53 +00:00
Nextcloud bot e04a3a472a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-06 02:22:58 +00:00
Nextcloud bot 14bffac3ae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-05 02:23:14 +00:00
John Molakvoæ aadddd6a39 Merge pull request #29550 from nextcloud/backposkjnldsv/update-psalm-baseline-21 2021-11-04 13:39:02 +01:00
John Molakvoæ 0ac5edf3b2 Add branch-suffix to update-psalm-baseline PR creation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-04 11:44:00 +01:00
John Molakvoæ a2ccd43c32 Merge pull request #29551 from nextcloud/revert-29322-mysql-search-ignore-index-21 2021-11-04 11:24:39 +01:00
John Molakvoæ 5b89d34397 Revert "[21] tell mysql to ignore the sort index for search queries" 2021-11-04 11:10:46 +01:00
John Molakvoæ 8f77f50966 [stable21] Update update-psalm-baseline workflow
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-04 11:04:40 +01:00
John Molakvoæ 07006f37fb Revert "[stable21] Update update-psalm-baseline workflow"
This reverts commit 51accaabe9.
2021-11-04 11:04:09 +01:00
John Molakvoæ 51accaabe9 [stable21] Update update-psalm-baseline workflow
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-04 11:02:50 +01:00
Côme Chilliet dde1880be7 Merge branch 'stable21' into backport/29479/stable21
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-04 09:21:48 +01:00
John Molakvoæ 553af88a1b Merge pull request #29539 from nextcloud/version/21.0.6/rc1 2021-11-04 09:02:21 +01:00
John Molakvoæ 07c20b4f22 Merge pull request #29322 from nextcloud/mysql-search-ignore-index-21 2021-11-04 09:00:16 +01:00
John Molakvoæ 8469b44d57 Merge pull request #29507 from nextcloud/backport/29281/stable21 2021-11-04 08:51:37 +01:00
John Molakvoæ d84c3c9836 Merge pull request #29504 from nextcloud/backport/29465/stable21 2021-11-04 08:51:21 +01:00
John Molakvoæ d6f870e479 Merge pull request #29071 from nextcloud/backport/29056/stable21 2021-11-04 08:50:08 +01:00
Arthur Schiwon e7834cc8b4 21.0.6 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-03 18:36:44 +01:00
John Molakvoæ d87894a287 Merge pull request #29384 from nextcloud/backport/26725/stable21 2021-11-03 10:17:18 +01:00
Nextcloud bot 9c13685ad4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-03 02:23:54 +00:00
Côme Chilliet bd59877ec5 Fix psalm-ocp error about GdImage class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-02 12:10:41 +01:00
Côme Chilliet 8bc3bed093 Enable Avatar tests as well for PHP>=8
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-02 11:49:52 +01:00
Côme Chilliet efd689ea82 Revert "Do not run image tests on php8"
This reverts commit d690f90928.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-02 11:49:41 +01:00
Côme Chilliet 23aa60bb8d Fix resource usages in OC_Image
This makes sure using resource or GdImage (PHP>=8) behaves the same.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-02 11:49:13 +01:00
Nextcloud bot 4698a29825 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-02 02:22:34 +00:00
Sijmen Schoon 43e829a93e Move query outside the loop and reduce chunk size to 1000
This involved changing CacheQueryBuilder\whereParentIn to take a
parameter name, renaming the function accordingly.

Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
2021-11-01 11:27:36 +00:00
Sijmen Schoon bb198c635f Limit parameter count per query in Cache.removeChildren
Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
2021-11-01 11:27:36 +00:00
Arthur Schiwon c76602319b update CRL
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-01 11:51:43 +01:00
Nextcloud bot a07afb54f7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-01 02:22:59 +00:00
Nextcloud bot 2d3df1306e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-31 02:22:23 +00:00
dependabot[bot] 1867a0eb32 Merge pull request #29493 from nextcloud/dependabot/composer/build/integration/stable21/guzzlehttp/guzzle-6.5.5 2021-10-30 16:02:47 +00:00
dependabot[bot] 118005fffb Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-30 17:03:15 +02:00
dependabot[bot] 83513fb852 Merge pull request #29492 from nextcloud/dependabot/npm_and_yarn/stable21/bootstrap-4.6.1 2021-10-30 14:53:24 +00:00
dependabot[bot] db625f01b3 Bump bootstrap from 4.6.0 to 4.6.1
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: bootstrap
  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>
2021-10-30 14:21:48 +00:00
Nextcloud bot 8d180c00a3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-30 02:22:34 +00:00
MichaIng e250aef6b4 Merge pull request #29416 from nextcloud/backport/27440/stable21
[stable21] Handle files with `is_file` instead of `file_exists`
2021-10-30 00:19:35 +02:00
Nextcloud bot 81b3e65703 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-29 02:22:45 +00:00
Carl Schwan 373b63ecea Merge pull request #29476 from nextcloud/backport/29115/stable21
[stable21] Fix permissions when copying from ObjectStorage
2021-10-28 16:44:24 +02:00
Carl Schwan 00a9b0c1db Fix permissions when copying from ObjectStorage
Make sure that when a user copy a file from a directory they don't have
all permissions to a directory where they have more permissions, the
permissions are correctly set to the one from the parent taget folder.

This was caused by the ObjectStoreStorage::copyFromStorage using
the jailed storage and cache entry instead of the unjailed one like other
storages (the local one).
Steps to reproduce

+ Use object storage
+ Create a groupfolder with one group having full permission and another one
  who can just read files.
+ With an user who is in the second group, copy a file from the groupfolder to
  the home folder of this user.
+ The file in the home folder of the user will be read only and can't be deleted
  even though it is in their home folder and they are the owner. In oc_filecache,
  the permissions stored for this file are 1 (READ)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-28 12:55:53 +00:00
Julius Härtl e4e35107b0 Merge pull request #29458 from nextcloud/backport/29454/stable21 2021-10-28 09:29:37 +02:00
Nextcloud bot ea56f85fa1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-28 02:23:12 +00:00
John Molakvoæ cf58d5ff51 Merge pull request #29447 from nextcloud/backport/29220/stable21 2021-10-27 15:52:30 +02:00
Joas Schilling c6cff0ff06 Detect mimetype by content only with content
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27 13:47:31 +00:00
Nextcloud bot 799b77208e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-27 02:23:55 +00:00
Louis df8ec07862 Merge pull request #29443 from nextcloud/backport/stable21/26841
[stable21] Implement local filtering in file list
2021-10-26 15:09:29 +02:00
Robin Appelman cf6da08f00 ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:46:21 +02:00
Robin Appelman ce243798f6 cache versioning enabled status
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:45:59 +02:00
Robin Appelman 759f2daf38 minor directory detect improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:45:20 +02:00
Robin Appelman 99ba96524e more reliable return value for Watcher::checkUpdate
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:45:08 +02:00
Robin Appelman 4bc357d1ce always set Key field in headObject
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:44:25 +02:00
Robin Appelman 06b59b5002 more reliable hasUpdated for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:44:13 +02:00
Robin Appelman df013e2d53 remove old migration method
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:44:07 +02:00
Robin Appelman 15aa354e74 optimize filetype for s3 directories a bit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:43:59 +02:00
Robin Appelman 87c4c05671 more reliable directory copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:42:26 +02:00
Robin Appelman 69e93edf90 doesDirectoryExist fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:41:54 +02:00
Robin Appelman f18a76fec9 s3 external storage listing rework
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-26 14:41:46 +02:00
Julius Härtl cba70e4541 Move to combined files entrypoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-26 09:52:56 +02:00
Joas Schilling 5c8c486791 Fix "No entries in this …" template
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-26 09:25:40 +02:00
Julius Härtl fd1d9798e8 Implement local filtering in file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-26 09:25:40 +02:00
Nextcloud bot c89eaec9e4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-26 02:23:16 +00:00
Lukas Reschke 9fc4bd5248 Merge pull request #29428 from nextcloud/fix/user_status_enumeration_21
Backport #29260: Respect user enumeration settings in user status lists
2021-10-25 14:52:13 +02:00
Jonas Meurer e838e63b88 Add integration tests for user_status API
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-10-25 11:37:44 +02:00
Jonas Meurer 02ce5c8f7d Respect user enumeration settings in user status lists
So far, the functions to find user statuses listed didn't respect user
enumeration settings (`shareapi_allow_share_dialog_user_enumeration`
and `shareapi_restrict_user_enumeration_to_group` core app settings).

Fix this privacy issue by returning an empty list in case
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.

In the long run, we might want to return users from common groups if
`shareapi_restrict_user_enumeration_to_group` is set. It's complicated
to implement this in a way that scales, though. See the discussion at
https://github.com/nextcloud/server/pull/27879#pullrequestreview-753655308
for details.

Also, don't register the user_status dashboard widget at all if
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.

Fixes: #27122

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-10-25 10:05:33 +02:00
Nextcloud bot 082d429c6e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-25 02:22:42 +00:00
Nextcloud bot b3001fd69e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-24 02:22:43 +00:00
blizzz b8ab9ffc1e Merge pull request #29420 from nextcloud/backport/29400/stable21
[stable21] fixes an undefined index when getAccessList returns an empty array
2021-10-24 01:27:20 +02:00
dependabot[bot] 7ead027da4 Merge pull request #29411 from nextcloud/dependabot/npm_and_yarn/stable21/babel-loader-8.2.3 2021-10-23 18:51:01 +00:00
MichaIng a17529b483 Merge pull request #29399 from nextcloud/backport/29378/stable21
[stable21] Make the route name error more helpful
2021-10-23 20:12:44 +02:00
dependabot[bot] 59919fddd8 Bump babel-loader from 8.2.2 to 8.2.3
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.3.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.3)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 20:11:11 +02:00
dependabot[bot] bf35e6e5de Merge pull request #29403 from nextcloud/dependabot/composer/build/integration/stable21/behat/behat-approx-3.9.0 2021-10-23 16:06:44 +00:00
dependabot[bot] 123a0de273 Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.8.0...v3.9.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 17:36:36 +02:00
Arthur Schiwon d3576d32ae fixes an undefined index when getAccessList returns an empty array
- [] is a valid return value that should be honored as having no access

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-10-23 12:51:15 +00:00
acsfer 8610099c5f Update Tests 2021-10-23 09:28:26 +00:00
acsfer b3482b1d06 Tests update 2021-10-23 09:28:25 +00:00
acsfer eea1c23719 Handle files with is_file instead of file_exists
Should fix things like `fread(): read of 8192 bytes failed with errno=21 Is a directory`
2021-10-23 09:28:25 +00:00
Nextcloud bot a87643a9e0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-23 02:22:54 +00:00
Christoph Wurst 48d97fa865 Make the route name error more helpful
As a developer I have no clue what "Invalid route name" means. If the
exception gives me a hint I might find it easier to figure out why my
route triggers this error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-22 20:38:58 +00:00
Julius Härtl 6750662047 Merge pull request #29390 from nextcloud/backport/29375/stable21 2021-10-22 20:12:39 +02:00
Daniel 88cb9e0ec6 Merge pull request #29386 from nextcloud/backport/28997/stable21
[stable21] Scheduling plugin not updating responding attendee status
2021-10-22 18:14:33 +02:00
Julius Härtl 35910f483d Make calendar schedule options translatable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-22 10:38:16 +00:00
Daniel Kesselberg 6df439177d Update attendence for external users
For local users it's possible to select their calendar via the principal url and first update their own attendance status.
External users have no calendar event hence the recipient is the organizer.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-22 10:14:00 +00:00
Anna Larch a44e728a89 Scheduling plugin not updating responding attendee status take two
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-10-22 10:14:00 +00:00
Daniel Calviño Sánchez 46290e9796 Hide "federated" scope when Federation app is disabled
If the Federation app is disabled it is not possible to synchronize the
users from a different server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-10-22 09:55:22 +00:00
Daniel Calviño Sánchez 7e12517395 Fix "Federated" scope not shown when the lookup server is disabled
When the lookup server is disabled the address books can still be
exchanged between trusted servers. Therefore the user should be able to
set the "Federated" scope in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-10-22 09:55:21 +00:00
Daniel Calviño Sánchez c628411a71 Add missing scope to test
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-10-22 09:55:21 +00:00
Vincent Petry a080c08d64 Merge pull request #29367 from nextcloud/backport/29362/stable21
[stable21] Fix security issues when copying groupfolder with advanced ACL
2021-10-22 09:56:21 +02:00
Nextcloud bot 884fcf0227 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-22 02:22:17 +00:00
Carl Schwan ec8b2a90e6 Fix security issues when copying groupfolder with advanced ACL
Using advanced ACL, it is possible that an user has access to a
directory but not to a subdirectory, so the copying use
Common::copyFromStorage instead of Local::copyFromStorage.

Fix https://github.com/nextcloud/groupfolders/issues/1692

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-21 16:34:46 +00:00
Robin Appelman c3d9471fe0 disable path prefix index on postgresql for now
having the index work properly for the queries we need it for requires some additional options which dbal does not support at the momement.
to prevent making it harder to add the correct index later on we don't create the index for now on postgresql

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-21 18:33:43 +02:00
Robin Appelman d4fc462980 add a prefix index to filecache.path
The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.

Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.

Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-21 18:33:11 +02:00
John Molakvoæ 6b0bdf192c Merge pull request #29289 from nextcloud/backport/28768/stable21 2021-10-21 09:32:32 +02:00
Nextcloud bot 8a5317cbfe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-21 02:24:37 +00:00
blizzz 4f83ef5b6d Merge pull request #29315 from nextcloud/backport/29180/stable21
[stable21] Avoid PHP errors when the LDAP attribute is not found
2021-10-20 18:24:37 +02:00
Daniel 105d28c875 Merge pull request #29268 from nextcloud/backport/29125/stable21
[stable21] Add configuration flag to disable the background job for files_trashbin
2021-10-20 10:35:21 +02:00
Nextcloud bot 8191ee34f2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-20 02:43:22 +00:00
MichaIng db4cdcec6f Merge pull request #29267 from nextcloud/backport/29090/stable21
[stable21] Add configuration flag to disable the background job for files_versions
2021-10-20 00:13:25 +02:00
Côme Chilliet 573a6eadcf Use Psr\Log\LoggerInterface where it can easily be used in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-19 09:24:55 +00:00
Côme Chilliet c256c9be19 Fix two mistakes in previous migration to LoggerInterface in OCA\User_LDAP\Access
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-19 09:24:55 +00:00
Côme Chilliet ad1d9edb43 Use Psr\Log\LoggerInterface in OCA\User_LDAP\Access
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-19 09:24:55 +00:00
Côme Chilliet 2f5dd75b55 Avoid PHP errors when the LDAP attribute is not found
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-19 09:24:54 +00:00
John Molakvoæ 1493321401 Merge pull request #29182 from nextcloud/backport/29028/stable21 2021-10-19 11:11:20 +02:00
John Molakvoæ 9edb59ec57 Merge pull request #29282 from nextcloud/backport/28250/stable21 2021-10-19 11:08:21 +02:00
Julius Härtl 903afc1311 Merge pull request #29302 from nextcloud/backport/29259/stable21 2021-10-19 09:38:16 +02:00
Joas Schilling 2f6bd56c93 Fix app upgrade
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-19 08:47:52 +02:00
Nextcloud bot c81b202eda [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-19 02:23:12 +00:00
Robin Appelman 5002bf9cc1 tell mysql to ignore the sort index for search queries
mysql really likes to pick an index for sorting if it can't fully satisfy the where
filter with an index, since search queries pretty much never are fully filtered by index
mysql often picks an index for sorting instead of the *much* more useful index for filtering.

To bypass this, we tell mysql explicitly not to use the mtime (the default order field) index,
so it will instead pick an index that is actually useful.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-18 18:05:48 +02:00
Robin Appelman 7f272dd98f allow specifying index hints for mysql search queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-18 18:03:34 +02:00
acsfer f57bbaf146 Simplify :) 2021-10-18 08:02:44 +00:00
acsfer aeb0ad8cea Replace file_exists() method by is_file() 2021-10-18 08:02:44 +00:00
acsfer 0c1ccde7d2 Get filesize() if file_exists()
Should make sense.
2021-10-18 08:02:44 +00:00
Nextcloud bot efaf112d67 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-18 02:25:03 +00:00
pjft 3ae5213308 Fix bug introduced on drag and drop external files
Drag and drop of external (OS filesystem) to subdirectories in the browser would fail on specific cases, mainly when the subdirectory was no longer off the root folder.
This seemed to have been an issue introduced with the subdirectory free space calculation [here](https://github.com/nextcloud/server/commit/f9536b08096ed1c80391af36d33a18198be1fced) and it seems to fail for any subdirectory that doesn't belong to the root folder.

Bug reports:
- https://help.nextcloud.com/t/drag-drop-into-subfolders/120731
- https://github.com/nextcloud/server/issues/24720

I couldn't find any reference on scenarios or quota management that would suggest when a subdirectory's free space would be different to the parent's free space, other than when on the root folder, where subdirectories can be external mounts.

As such, if my understanding is correct (please review), this calculation can - and should - be made by getting the free space from the first subdirectory in the total path, which caters for all subdirectory scenarios.

Please advise, happy to help improve this.

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: pjft <pjft@users.noreply.github.com>
2021-10-17 19:32:46 +00:00
Nextcloud bot 94b3a8c1e9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-17 02:22:19 +00:00
Nextcloud bot f04447f11f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-16 02:23:42 +00:00
Daniel Kesselberg 3738013493 Add configuration flag to disable the background job for files_trashbin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-15 16:34:14 +00:00
Daniel Kesselberg 90ddb19d23 Add configuration flag to disable the background job for files_versions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-15 16:34:03 +00:00
Daniel 1ea652d611 Merge pull request #29159 from nextcloud/backport/24185/stable21
[stable21] Properly handle folder deletion on external s3 storage
2021-10-15 11:36:56 +02:00
John Molakvoæ bc62fb9b55 Merge pull request #29194 from nextcloud/revert-29178-backport/25774/stable21 2021-10-15 11:02:40 +02:00
Daniel 18db00c4c3 Merge pull request #29252 from nextcloud/backport/29248/stable21
[stable21] Fix background scan doc in config
2021-10-15 10:18:43 +02:00
Vincent Petry 2443cb3bc4 Fix background scan doc in config
The background scanner only processes entries with size < 0

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-15 08:12:32 +00:00
Nextcloud bot 4d287dabc1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-15 02:26:20 +00:00
MichaIng d2a71ca010 Merge pull request #29203 from nextcloud/backport/26688/stable21
[stable21] Add proper message to created share not found
2021-10-14 15:08:10 +02:00
blizzz 049241bc04 Merge pull request #29222 from nextcloud/backport/29214/stable21
[stable21] Don't setup the filesystem to check for a favicon we don't use anyway
2021-10-14 12:51:51 +02:00
Nextcloud bot 3ead8d0e18 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-14 02:22:48 +00:00
Joas Schilling 04145b23c9 Don't setup the filesystem to check for a favicon we don't use anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 20:29:49 +00:00
Joas Schilling 7aa440b51d Merge pull request #29197 from nextcloud/backport/29020/stable21
[stable21] Keep group restrictions when reenabling apps after an update
2021-10-13 22:24:18 +02:00
Daniel 8d43f26484 Merge pull request #29218 from nextcloud/backport/29136/stable21
[stable21] Add documentation for files_no_background_scan
2021-10-13 20:09:24 +02:00
Daniel Kesselberg c95fc2baac Add documentation for files_no_background_scan
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-13 16:00:00 +00:00
Joas Schilling eb273c8e5a Merge pull request #29208 from nextcloud/backport/29004/stable21
[stable21] Fix translated app details
2021-10-13 17:01:48 +02:00
Joas Schilling 7f4b3fb68d Keep group restrictions when reenabling apps after an update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 14:12:32 +02:00
Joas Schilling fd4ff58d62 Fix translated app details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 13:32:30 +02:00
John Molakvoæ (skjnldsv) d578d780e4 Default message for ShareNotFound exception
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13 09:44:52 +00:00
John Molakvoæ (skjnldsv) 098d918baf Add proper message to created share not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13 09:44:51 +00:00
John Molakvoæ 7b30576f55 Revert "[stable21] Add button color variables" 2021-10-13 08:55:32 +02:00
Vincent Petry e229cd3d53 Merge pull request #29130 from nextcloud/backport/27886/stable21
[stable21] Keep pw based auth tokens valid when pw-less login happens
2021-10-13 08:39:27 +02:00
Vincent Petry 5735a55509 Merge pull request #29080 from nextcloud/path-prefix-filter-21
[21] generate a better optimized query for path prefix search filters
2021-10-13 08:37:28 +02:00
Nextcloud bot bfc30df095 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-13 02:22:58 +00:00
Robin Appelman 916a838873 [21] generate a better optimized query for path prefix search filters
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-12 15:55:57 +02:00
Bjoern Schiessle 1237d64bdb add 'supported'-label to all supported apps, also if they are not downloaded yet
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2021-10-12 11:47:33 +00:00
Julius Härtl bb56e9df55 Merge pull request #29178 from nextcloud/backport/25774/stable21 2021-10-12 11:35:51 +02:00
marco 2d695477ea Add new variables for buttons
Signed-off-by: marco <marcoambrosini@pm.me>
2021-10-12 08:37:05 +00:00
Marco Ambrosini 5e610b3125 Do not target vue buttons with server rules
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-10-12 08:37:05 +00:00
Vincent Petry 2bf6270ef5 Merge pull request #29037 from Hinyka/stable21
[stable21] Fix Lots of Error: file_exists(): open_basedir restriction in effect
2021-10-12 09:11:18 +02:00
Nextcloud bot f27e8f2711 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-12 02:23:56 +00:00
Julius Härtl e59f90d6ba Merge pull request #29134 from nextcloud/backport/28907/stable21 2021-10-11 22:23:14 +02:00
MichaIng 6039a43d13 Merge pull request #29164 from nextcloud/backport/29062/stable21
[stable21] Don't further setup disabled users when logging in with apache
2021-10-11 14:38:52 +02:00
MichaIng da5063bf89 Merge pull request #29161 from nextcloud/backport/29122/stable21
[stable21] Tokens without password should not trigger changed password invalidation
2021-10-11 14:36:15 +02:00
Joas Schilling e3f59fe201 Don't further setup disabled users when logging in with apache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11 13:11:45 +02:00
Julius Härtl b2566e3dda Tokens without password should not trigger changed password invalidation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-11 09:33:18 +00:00
Julius Härtl df3ed040e4 Make sure that a empty directory can still be deleted when copied from another storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-11 08:01:08 +00:00
Julius Härtl 5d47c68e90 Delete object to cleanup leftover of paths when removing directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-11 08:01:05 +00:00
Nextcloud bot 6e7ec1dd7a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-11 02:22:54 +00:00
Nextcloud bot 571246f00b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-10 02:21:37 +00:00
Nextcloud bot 752b0de5e9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-09 02:39:49 +00:00
Daniel Kesselberg b77b1d6bbd explicitly close source stream on encryption storage
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-08 14:30:27 +02:00
Daniel Kesselberg 98d3836650 explicitly close source stream on local storage
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-08 14:30:27 +02:00
Daniel afc2c71bd3 Merge pull request #29137 from nextcloud/update-icewind-streams-0.7.5
[stable21] Update icewind/streams to 0.7.5 in files_external
2021-10-08 14:28:09 +02:00
Daniel 4fffc517b4 Merge pull request #28505 from nextcloud/3rdparty/730
[stable21] 3rdparty: Bump icewind/streams from 0.7.2 to 0.7.5
2021-10-08 14:26:12 +02:00
Vincent Petry 9722bb5c54 Fix psalm issue in Encryption stream
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-08 12:15:04 +02:00
Vincent Petry c5794a255f Update icewind/streams to 0.7.5 in files_external
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-08 11:40:14 +02:00
Vincent Petry ea674e1ec8 Update 3rdparty for icewind/streams 0.7.5
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-08 11:36:43 +02:00
Tobias Assmann 4a174617eb add spaces around operators
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2021-10-08 08:08:28 +02:00
Tobias Assmann 4fd1b09a60 draft to prevent the invalidation of pw based authn tokens on a pw less login
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2021-10-08 08:08:28 +02:00
Nextcloud bot 7588342da2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-08 02:23:37 +00:00
Daniel efb9750993 Merge pull request #29097 from nextcloud/backport/29083/stable21
[stable21] Update the certificate bundle
2021-10-07 12:27:28 +02:00
Daniel Kesselberg cf0232af71 Update the certificate bundle
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-07 09:36:01 +02:00
Joas Schilling 007b181bdf Allow "TwoFactor Nextcloud Notifications" to pull the state of the 2FA again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 09:20:06 +02:00
Nextcloud bot 8c0fadce29 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-07 02:25:52 +00:00
MichaIng 6f23904139 Merge pull request #29087 from nextcloud/backport/29082/stable21
[stable21] Add a few sensitive config keys
2021-10-06 13:29:13 +02:00
Julien Veyssier 1bf46f6610 consider some config keys under 'objectstore_multibucket' as sensitive
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-06 07:52:40 +00:00
Daniel 44c7f55716 Merge pull request #29070 from nextcloud/debt/noid/update-psalm-baseline
[stable21] Update psalm baseline
2021-10-06 08:47:59 +02:00
Daniel 0de39c7acf Merge pull request #29068 from nextcloud/backport/stable21/25569
[stable21] file-upload: Correctly handle error responses for HTTP2
2021-10-06 08:46:42 +02:00
Daniel ee8edd308d Merge pull request #29075 from nextcloud/bp-28473
[stable21] Fix path of file_get_contents
2021-10-06 08:46:18 +02:00
Jakub Onderka 287c935c72 file-upload: Correctly handle error responses for HTTP2
Signed-off-by: Jakub Onderka <ahoj@jakubonderka.cz>
2021-10-06 08:44:42 +02:00
Daniel Kesselberg 0f596d7496 [stable21] Update psalm baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-06 08:43:56 +02:00
Daniel edad2526fb Merge pull request #29074 from nextcloud/bug/noid/no-execute-query-in-21
[stable21] executeQuery and executeStatement are 22+
2021-10-06 08:42:19 +02:00
Nextcloud bot 308b48a6a5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-06 02:21:20 +00:00
Nextcloud bot 7d01d1b998 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-05 02:22:28 +00:00
acsfer cd7eb98912 Fix path of file_get_contents 2021-10-04 21:10:53 +02:00
Daniel Kesselberg 670a2d57e3 executeQuery and executeStatement are 22+
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-04 19:58:45 +02:00
Julius Härtl f82c4d31ba Merge pull request #28730 from nextcloud/backport/27540/stable21 2021-10-04 16:51:02 +02:00
Nextcloud bot 124a63e77e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-04 02:26:40 +00:00
Daniel 27ca707d20 Merge pull request #29047 from nextcloud/backport/29044/stable21
[stable21] Change output format of Psalm to Github
2021-10-03 20:18:41 +02:00
MichaIng fd77949bfc [stable21] Change output format of Psalm to Github
Manual backport of https://github.com/nextcloud/server/pull/29044

Signed-off-by: MichaIng <micha@dietpi.com>
2021-10-03 19:48:11 +02:00
Nextcloud bot 74abfce690 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-03 02:26:41 +00:00
Karel Hink 30905d2340 backport of #28263
Signed-off-by: Karel Hink <info@karelhink.cz>
2021-10-02 13:51:42 +02:00
Nextcloud bot a2e5fee21f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-02 02:26:36 +00:00
Nextcloud bot 0b3c4d69b9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-01 02:26:28 +00:00
MichaIng bbe5355623 Merge pull request #28969 from nextcloud/backport/28876/stable21
[stable21] ensure that user and group IDs in LDAP's tables are also max 64chars
2021-09-30 13:25:57 +02:00
Robin Appelman 4180ca7a0b handle case where storage can't be created in getStorageRootId
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-09-30 13:21:40 +02:00
Nextcloud bot a7859c5502 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-30 02:30:46 +00:00
blizzz 64e55fdd4a Merge pull request #28987 from nextcloud/version/21.0.5/final
21.0.5
2021-09-29 22:56:14 +02:00
szaimen e362202ee7 Merge pull request #28999 from nextcloud/backport/28995/stable21
[stable21] Fix redirect during initial setup
2021-09-29 18:56:11 +02:00
Louis Chemineau fbf3645598 Prevent empty base URL during installation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-29 15:40:57 +00:00
Arthur Schiwon 9705e77f3e 21.0.5
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-29 11:38:18 +02:00
Nextcloud bot bef65f09f5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-29 02:26:25 +00:00
Nextcloud bot 4610f89574 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-28 02:25:38 +00:00
Arthur Schiwon 24f2974267 ensure that user and group IDs in LDAP's tables are also max 64chars
- limitation by core tables (e.g. sharing), IDs are always 64chars
- when longer group IDs were requested they are hashed (does not affect
  displaynames)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-27 17:52:13 +02:00
blizzz 62a5d27eb7 Merge pull request #27203 from nextcloud/backport/27187/stable21
[stable21] Fix Oracle query limit compliance in Comments
2021-09-27 11:02:14 +02:00
szaimen 4009b3cc57 Merge pull request #28963 from nextcloud/backport/28853/stable21
[stable21] Don't allow to change activity settings that don't work
2021-09-27 10:41:23 +02:00
Joas Schilling 504222af99 Don't allow to change activity settings that don't work
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-27 06:21:46 +00:00
Nextcloud bot 5cf9d7e2ea [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-26 02:27:41 +00:00
Nextcloud bot 830cdbd7cc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-25 02:26:58 +00:00
MichaIng 43bbe753a7 Merge pull request #28950 from nextcloud/backport/28916/stable21
[stable21] fix caching of objectsid searches
2021-09-24 22:07:18 +02:00
Arthur Schiwon 4f7ffa69cb fix caching of objectsid searches
- store result when no name could be retrieved, too
- cached value is not an array, was treated wrongly

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-24 15:09:16 +00:00
MichaIng ea39319d2e Merge pull request #28905 from nextcloud/backport/26832/stable21
[stable21] explicitly close source stream on object store upload even if count…
2021-09-24 13:35:41 +02:00
Nextcloud bot 9f8d907234 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-24 02:27:03 +00:00
Louis 1297b04d41 Use legacy execute method
Use legacy execute method instead of executeQuery introduced in 22

Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-23 12:45:23 +02:00
blizzz 6aca8eaba2 Merge pull request #28937 from nextcloud/version/21.0.5/rc1
21.0.5 RC1
2021-09-23 12:02:04 +02:00
blizzz 7b1e8b99cc Merge pull request #28929 from nextcloud/3rdparty-21
[stable21] Bump 3rdparty ref
2021-09-23 11:41:55 +02:00
Joas Schilling 8e7eea935a Fix populating the array and closing the cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-23 08:37:51 +00:00
Simounet f325a4ae60 Fix Oracle query limit compliance in Comments
Signed-off-by: Simounet <contact@simounet.net>
2021-09-23 08:37:51 +00:00
blizzz 88858812c2 Merge pull request #28790 from nextcloud/backport/23065/stable21
[stable21] Fix null displayname crash as described in #21885
2021-09-23 10:20:59 +02:00
Arthur Schiwon 94ef94e7c9 21.0.5 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-23 10:05:58 +02:00
Nextcloud bot 313e081c56 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-23 02:30:02 +00:00
Lukas Reschke 06c0489975 [stable21] Bump 3rdparty ref
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-22 16:19:03 +02:00
Nextcloud bot 9b18d501c2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-22 02:27:00 +00:00
MichaIng 0365d3b5d6 Merge pull request #28909 from nextcloud/backport/28802/stable21
[stable21] Support seeking also from the end of file on S3 storage
2021-09-21 19:41:07 +02:00
MichaIng 1ede2d555c Merge pull request #28882 from nextcloud/backport/28871/stable21
[stable21] Fix file creation from template without ext
2021-09-21 19:38:32 +02:00
kesselb 373d9b4ba6 Merge pull request #28920 from nextcloud/backport/28918/stable21
[stable21] Use IRoomMetadata as source of truth for supported room types
2021-09-21 18:41:29 +02:00
Richard Steinmetz 079707cd81 Use IRoomMetadata as source of truth for supported room types
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-21 16:23:08 +00:00
MichaIng 686dcc93c2 Merge pull request #28829 from nextcloud/backport/26584/stable21
[stable21] Update .htaccess (php8+ and mod_lsapi)
2021-09-21 15:24:14 +02:00
Louis 3e5ba67b7a Use legacy call of generateOcsUrl
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-21 10:42:17 +00:00
Nextcloud bot 1e4513e5de [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-21 02:27:32 +00:00
Pauli Järvinen 61acaf1fbd Support seeking also from the end of file on S3 storage
The PR https://github.com/nextcloud/server/pull/20033 added support
for `fseek` for  the S3 storage backend. However, the seek mode SEEK_END
was left out that time. This PR fills this gap.

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2021-09-20 18:13:18 +00:00
Daniel Kesselberg dd9a08fa82 explicitly close source stream on object store upload even if countwrapper isn't needed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-20 18:27:12 +02:00
blizzz a05826a2ed Merge pull request #28901 from nextcloud/backport/28868/stable21
[stable21] Update CRL due to revoked twofactor_email.crt
2021-09-20 17:45:17 +02:00
Vincent Petry 6b9e95dacf Merge pull request #28896 from nextcloud/backport/28889/stable21
[stable21] Fall back to full file for video previews
2021-09-20 13:54:43 +02:00
Arthur Schiwon 6c8742e9ad Update CRL due to revoked twofactor_email.crt
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-20 11:19:34 +00:00
Vincent Petry 7aaf41d0f6 Fall back to full file for video previews
If the first 5 MB are not enough to grab a useful frame for the
thumbnail preview, fall back to reading the full file.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-20 09:32:34 +00:00
Louis Chemineau caaee18cb0 Fix partial backport
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-20 09:14:08 +00:00
Louis 6c45ef5b00 Merge pull request #28887 from nextcloud/dependabot/npm_and_yarn/stable21/vue-clipboard2-0.3.3
Bump vue-clipboard2 from 0.3.2 to 0.3.3
2021-09-20 10:09:01 +02:00
Nextcloud bot da1e3fa5b2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-20 02:26:02 +00:00
Nextcloud bot ef644cad15 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-19 02:25:58 +00:00
kesselb 4447b72d75 Merge pull request #28859 from nextcloud/backport/28822/stable21
[stable21] Add email addresses to contacts menu
2021-09-18 15:59:57 +02:00
MichaIng 1280136da3 Merge pull request #28849 from nextcloud/backport/28285/stable21
[stable21] l10n: ignore packed js files from TX sync
2021-09-18 09:21:47 +02:00
Nextcloud bot aac91556d6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-18 02:29:05 +00:00
dependabot[bot] 197c6ffda1 Bump vue-clipboard2 from 0.3.2 to 0.3.3
Bumps [vue-clipboard2](https://github.com/Inndy/vue-clipboard2) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/Inndy/vue-clipboard2/releases)
- [Changelog](https://github.com/Inndy/vue-clipboard2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Inndy/vue-clipboard2/compare/v0.3.2...v0.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-18 01:07:01 +00:00
MichaIng 05067c52f9 Merge pull request #28879 from nextcloud/backport/28872/stable21
[stable21] Fix files view change and undefined currentFileList
2021-09-18 02:01:17 +02:00
John Molakvoæ d9c4ff3c24 Fix file creation from template without ext
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-09-17 20:26:31 +00:00
John Molakvoæ cb30254d51 Fix files view change and undefined currentFileList
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-09-17 19:57:12 +00:00
Daniel Kesselberg 32ee325887 Add email addresses to contacts menu
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-17 10:05:54 +02:00
Nextcloud bot 021d5ab7ae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-17 02:28:28 +00:00
Nextcloud bot 0123219809 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-16 02:29:01 +00:00
rakekniven 4a8619c6bf l10n: ignore packed js files from TX sync
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-09-15 14:14:43 +00:00
Nextcloud bot ce0602cdd3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-15 02:28:21 +00:00
John Molakvoæ 23c9afebba Merge pull request #28831 from nextcloud/backport/28774/stable21
[stable21] Do not cache file ids in FileSystemTags inside group folders
2021-09-14 18:06:58 +02:00
Richard Steinmetz 9983b14318 Do not cache file ids in FileSystemTags inside group folders
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-14 14:09:50 +00:00
acsfer 11395b4574 Fix module name for PHP8+ 2021-09-14 13:58:11 +00:00
acsfer 9078ac13e3 Update .htaccess (PHP8 and mod_lsapi)
- Add `mod_lsapi` (Cloudlinux) authorization headers
- Add `mod_php8` php_values
- Reformating for better lisibilty
2021-09-14 13:58:11 +00:00
Nextcloud bot f26939babb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-14 02:31:01 +00:00
blizzz 7997483484 Merge pull request #28815 from nextcloud/backport/28728/stable21
[stable21] Add database ratelimiting backend
2021-09-13 18:07:32 +02:00
Lukas Reschke f416cacc64 Add database ratelimiting backend
In case no distributed memory cache is specified this adds
a database backend for ratelimit purposes.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-13 16:45:54 +02:00
Lukas Reschke 7025c055e5 Merge pull request #28811 from nextcloud/stable21-3rdparty-bump
[stable21] Bump 3rdparty reference
2021-09-13 15:54:10 +02:00
Lukas Reschke 0375c156d2 [stable21] Bump 3rdparty reference
Includes https://github.com/nextcloud/3rdparty/pull/784

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-13 11:43:02 +02:00
Nextcloud bot 798417bec6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-13 02:28:41 +00:00
dependabot[bot] cd88eb5b7f Merge pull request #28800 from nextcloud/dependabot/npm_and_yarn/stable21/vue-clipboard2-0.3.2 2021-09-12 11:02:53 +00:00
dependabot[bot] 412b530fe6 Bump vue-clipboard2 from 0.3.1 to 0.3.2
Bumps [vue-clipboard2](https://github.com/Inndy/vue-clipboard2) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/Inndy/vue-clipboard2/releases)
- [Changelog](https://github.com/Inndy/vue-clipboard2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Inndy/vue-clipboard2/compare/v0.3.1...v0.3.2)

---
updated-dependencies:
- dependency-name: vue-clipboard2
  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>
2021-09-12 12:30:05 +02:00
Nextcloud bot e5c3acaa5e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-12 02:28:46 +00:00
Nextcloud bot 1fb1156bdd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-11 02:28:07 +00:00
Pytal eed00a18cb Merge pull request #28782 from nextcloud/backport/28767/stable21
[stable21] Dashboard - fix touch layout
2021-09-10 10:55:52 -07:00
Pytal cb55edff6a Merge pull request #28786 from nextcloud/backport/28377/stable21
[stable21] Scan the shared external storage source on access
2021-09-10 10:24:26 -07:00
John Molakvoæ 71c2456e3a Return proper watcher if SharedStorage originates from ExternalMount 2021-09-10 15:27:37 +02:00
Tom Grant 648b395af1 Fix indentation error
Signed-off-by: tgrant <tom.grant760@gmail.com>
2021-09-10 10:47:34 +00:00
tgrant b60b800bb1 Fix null displayname crash as described in #21885
Signed-off-by: tgrant <tom.grant760@gmail.com>
2021-09-10 10:47:32 +00:00
szaimen 2d1e0ae8f7 Merge pull request #28770 from nextcloud/backport/28754/stable21
[stable21] Fix trashbin files view sticky action bar
2021-09-10 11:09:24 +02:00
szaimen 90714b0e0d Dashboard - fix touch layout
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-10 08:26:11 +00:00
John Molakvoæ (skjnldsv) a83f42cf43 Return proper watcher if SharedStorage originates from ExternalMount
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-09-10 08:16:58 +00:00
Nextcloud bot 4bd98ec127 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-10 02:36:11 +00:00
Simounet 0eeed51159 Fix trashbin files view sticky action bar
Signed-off-by: Simounet <contact@simounet.net>
2021-09-09 11:02:38 +00:00
Nextcloud bot 09191abbb0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-09 02:28:15 +00:00
kesselb ac08594a8c Merge pull request #28749 from nextcloud/backport/28692/stable21
[stable21] Send attendence links to required and optinal attendees of an event without an RSVP
2021-09-08 19:10:08 +02:00
Lukas Reschke 886a5b10a4 Merge pull request #28753 from nextcloud/stable21-bump-third-party-ref
[stable21] Bump 3rdparty ref
2021-09-08 07:36:57 +02:00
Nextcloud bot fa65d94a21 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-08 02:27:55 +00:00
Pytal 0862cf7c4a Merge pull request #28702 from nextcloud/fix/stable21-user-list-infinite-loading
[stable21] Fix user list infinite loading state in user settings
2021-09-07 14:01:18 -07:00
Lukas Reschke b98def76ff [stable21] Bump 3rdparty ref
Includes https://github.com/nextcloud/3rdparty/pull/782

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 20:45:45 +02:00
Anna Larch ed2f133c37 Send Invitation to Attendees with ROLE=REQ-PARTICIPANT
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-09-07 14:08:45 +00:00
Lukas Reschke 9ee93ed0bd Merge pull request #28741 from nextcloud/backport/28725/stable21
[stable21] Remove 2FA exemption from PublicPage annotation
2021-09-07 12:47:03 +02:00
John Molakvoæ 00c2aa5dad Merge pull request #27406 from nextcloud/backport/24966/stable21 2021-09-07 11:52:08 +02:00
Lukas Reschke 694d10381b Adjust tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 08:49:49 +00:00
Lukas Reschke b2e4f34e2f Remove 2FA exemption from PublicPage annotation
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 08:49:49 +00:00
Lukas Reschke 7dece11af0 Merge pull request #28735 from nextcloud/backport/28726/stable21
[stable21] Check if SVG path is valid
2021-09-07 09:39:10 +02:00
Lukas Reschke d0a3746349 Resolve absolute path in tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 06:36:44 +00:00
Lukas Reschke c29480793c Fix codestyle
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 06:36:44 +00:00
Lukas Reschke 39b15269c9 Check if SVG path is valid
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 06:36:43 +00:00
Nextcloud bot 94cdc6b261 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-07 02:28:31 +00:00
Lukas Reschke e9ed298e3f Merge pull request #28706 from nextcloud/backport/28700/stable21
[stable21] Pin Psalm version for security analysis
2021-09-06 21:31:48 +02:00
Nextcloud bot 028efff7fd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-06 02:28:05 +00:00
Nextcloud bot f0c2e46cc5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-05 02:27:36 +00:00
MichaIng 16ae8b01ae Merge pull request #28709 from nextcloud/dependabot/npm_and_yarn/stable21/css-vars-ponyfill-2.4.7
Bump css-vars-ponyfill from 2.4.6 to 2.4.7
2021-09-04 12:38:29 +02:00
dependabot[bot] 6ab8b54839 Bump css-vars-ponyfill from 2.4.6 to 2.4.7
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.6 to 2.4.7.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.6...v2.4.7)

---
updated-dependencies:
- dependency-name: css-vars-ponyfill
  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>
2021-09-04 10:02:15 +00:00
Nextcloud bot a2a5b1544a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-04 02:26:30 +00:00
szaimen 5df38789c4 Merge pull request #28673 from nextcloud/backport/28660/stable21
[stable21] Fix position of search bar
2021-09-03 18:14:31 +02:00
MichaIng 91491bdd05 [stable21] Pin Psalm version for security analysis
The action will otherwise pull dev-master and this can break easily as we just experience.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-09-03 17:33:42 +02:00
Carl Schwan 35eca15a17 Fix position of search bar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-03 15:06:22 +00:00
Jasper Knockaert bb092dd7cc fix even more brackets
Signed-off-by: Jasper Knockaert jasper@knockaert.nl
2021-09-03 13:40:42 +00:00
Jasper Knockaert c1dcd06fe1 fix brakcets 2021-09-03 13:40:42 +00:00
Jasper Knockaert 5f9663d2c8 consolidation of boolean expression 2021-09-03 13:40:41 +00:00
Jasper Knockaert 5341807b14 Update EncryptionTest.php 2021-09-03 13:40:41 +00:00
Jasper Knockaert bbf191bdef 2nd attempt to fix tests 2021-09-03 13:40:41 +00:00
Jasper Knockaert ab14c0322b attemtp to fix test 2021-09-03 13:40:41 +00:00
Jasper Knockaert 82482adb48 avoid fread on directories and unencrypted files
Reworking the logic in order to first check the filecache and only then reading the fileheader.
This in order to solve #21578.
2021-09-03 13:40:40 +00:00
Julien Veyssier 988b39043c avoid 'No users in here' in user list when there actually are users
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-09-03 13:48:24 +02:00
Nextcloud bot 9d9f8d04fb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-03 02:28:50 +00:00
Julius Härtl d85379737a Merge pull request #27983 from nextcloud/dependabot/npm_and_yarn/stable21/vue-and-vue-template-compiler-2.6.14
Bump vue and vue-template-compiler
2021-09-02 15:41:55 +02:00
Nextcloud bot d1f44f84c5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-02 02:27:33 +00:00
dependabot[bot] 2719125eb5 Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/vue) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.6.12 to 2.6.14
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/compare/v2.6.12...v2.6.14)

Updates `vue-template-compiler` from 2.6.12 to 2.6.14
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/compare/v2.6.12...v2.6.14)

---
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>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-01 18:57:43 +00:00
Christoph Wurst 2ce22c75cb Merge pull request #27681 from nextcloud/backport/27668/stable21
[stable21] Harden bootstrap context registrations when apps are missing
2021-08-31 12:14:33 +02:00
MichaIng 2a37db15e8 Merge pull request #28656 from nextcloud/backport/28332/stable21
[stable21] Only recommand for php-sodium on >= PHP 7.4
2021-08-31 11:57:52 +02:00
Christoph Wurst e3ae5571d5 Harden bootstrap context registrations when apps are missing
It's not expected that an app would be unavailable when the app
container is created but when services are registered, but Sentry tells
me on Nextcloud 21 there is an edge case where this can happen.
Therefore this patch hardens the code a bit to log a meaningful error
message and skipping the next code instead of logging a php notice for
the undefined index and an exception for calling a method on null.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-31 09:57:27 +02:00
Carl Schwan 5620eed6ef Only recommand for php-sodium on >= PHP 7.4
This is because php-sodium will solve the missing PASSWORD_ARGON2I
constant problem only on >= php 7.4, previously argon2 wasn't part of
the standard extension and was disabled on Centos/RHEL.

So installing php-sodium on php 7.2 for example wouldn't hide the
message. Tested on Fedora with php 7.4, Centos 7 with php 7.2,
Centos 8 with php 7.2 and openSUSE with php 7.4.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-08-31 07:18:42 +00:00
dependabot[bot] 249e19b65c Merge pull request #28440 from nextcloud/dependabot/npm_and_yarn/stable21/vue-loader-15.9.8 2021-08-31 05:15:19 +00:00
dependabot[bot] 15d3bd2239 Bump vue-loader from 15.9.7 to 15.9.8
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.7 to 15.9.8.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.7...v15.9.8)

---
updated-dependencies:
- dependency-name: vue-loader
  dependency-type: direct:development
  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>
2021-08-31 02:43:29 +00:00
szaimen faae3032c9 Merge pull request #28203 from nextcloud/dependabot/npm_and_yarn/stable21/url-search-params-polyfill-8.1.1
Bump url-search-params-polyfill from 8.1.0 to 8.1.1
2021-08-31 04:37:26 +02:00
Nextcloud bot 8ea3e9bb25 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-31 02:27:09 +00:00
szaimen ee35c5ccc2 Merge pull request #28253 from nextcloud/backport/28240/stable21
[stable21] Add h2 to personal info page, fixing accessibility issue
2021-08-31 03:41:24 +02:00
dependabot[bot] 1ba21d65f6 Bump url-search-params-polyfill from 8.1.0 to 8.1.1
Bumps [url-search-params-polyfill](https://github.com/jerrybendy/url-search-params-polyfill) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/jerrybendy/url-search-params-polyfill/releases)
- [Commits](https://github.com/jerrybendy/url-search-params-polyfill/compare/v8.1.0...v8.1.1)

---
updated-dependencies:
- dependency-name: url-search-params-polyfill
  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>
2021-08-30 20:34:25 +00:00
Nextcloud bot b67cfc53d7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-30 02:27:24 +00:00
dependabot[bot] 085a11be72 Merge pull request #28623 from nextcloud/dependabot/npm_and_yarn/stable21/css-vars-ponyfill-2.4.6 2021-08-29 20:22:05 +00:00
dependabot[bot] 4a1438b353 Bump css-vars-ponyfill from 2.4.5 to 2.4.6
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.5 to 2.4.6.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.5...v2.4.6)

---
updated-dependencies:
- dependency-name: css-vars-ponyfill
  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>
2021-08-29 19:30:47 +00:00
Nextcloud bot c26d000977 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-29 02:27:31 +00:00
Nextcloud bot 6dc9e88c1b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-28 02:53:46 +00:00
Nextcloud bot 5d050b71ea [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-27 02:26:39 +00:00
MichaIng 3f150617cb Merge pull request #28604 from nextcloud/backport/28373/stable21
[stable21] Fix encrypted version to 0 when finding unencrypted file
2021-08-26 23:43:16 +02:00
Louis 5855b67ac5 Merge pull request #28597 from nextcloud/backport/28262/stable21
[stable21] Fix setting up 2FA providers when 2FA is enforced and bc are generated
2021-08-26 14:20:07 +02:00
Vincent Petry 2032ca7457 Unregister enc stream wrapper for any exception
This prevents side effects in tests by properly cleaning up
even with expected exceptions.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-26 14:20:04 +02:00
Vincent Petry fd6c5a134f Fix encrypted version to 0 when finding unencrypted file
Whenever the command is run and a "legacy cipher" seems to be detected
when the legacy option is disabled, it's highly likely that the file is
actually unencrypted but the database contains a encrypted version
higher than 0 for some reason.

The command now detects this case and automatically sets the encrypted
version to 0 so that the file can be read again.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-26 14:19:24 +02:00
Christoph Wurst 874479d68f Fix setting up 2FA providers when 2FA is enforced and bc are generated
When a user has backup codes generated and got their 2FA enforced then
they should be able to set up TOTP and similar providers during the
login.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-25 12:41:54 +00:00
Pytal c81fd490c4 Merge pull request #28577 from nextcloud/backport/28574/stable21
[stable21] Log exception message during failed ownership transfer share restore
2021-08-24 17:58:16 -07:00
Christoph Wurst aa8a710404 Log exception message during failed ownership transfer share restore
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-24 10:01:28 +00:00
Nextcloud bot 61216dc868 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-24 02:26:28 +00:00
dependabot[bot] aef7ad6582 Merge pull request #27640 from nextcloud/dependabot/npm_and_yarn/stable21/clipboard-2.0.8 2021-08-23 22:35:10 +00:00
dependabot[bot] 0c858b22cc Bump clipboard from 2.0.6 to 2.0.8
Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.6 to 2.0.8.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.6...v2.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-23 21:47:31 +00:00
Louis cd609eadc1 Merge pull request #28535 from nextcloud/backport/28185/stable21
[stable21]   Fix folder size contained in S3 buckets
2021-08-23 09:13:04 +02:00
Nextcloud bot 47aea260a6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-22 02:26:12 +00:00
MichaIng 2fccbf84da Merge pull request #28546 from nextcloud/backport/28532/stable21
[stable21] Do not load versions tab view if the files app is not available
2021-08-21 02:08:01 +02:00
Julius Härtl 778aa37a65 Do not load versions tab view if the files app is not available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-20 20:58:11 +00:00
kesselb 3f65c08c1e Merge pull request #28537 from nextcloud/backport/28452/stable21
[stable21] Set alias for result of cast column function
2021-08-20 18:57:09 +02:00
Daniel Kesselberg b3e3ae9434 Set alias for result of cast column function
On OCI an expression like to_char(events) end up as $row['to_char(events)'] in the query result.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-20 13:43:37 +00:00
Louis Chemineau b79b08da42 Fix folder size contained in S3 buckets
If 'filesystem_check_changes' was set to never, the cached size was alway set to -1 (Pending) on every access

Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-08-20 13:37:42 +00:00
Joas Schilling 5c89061865 Merge pull request #28455 from nextcloud/backport/28303/stable21
[stable21] UnifiedSearchController: strip webroot from URL before finding a route
2021-08-20 11:14:18 +02:00
Louis ed5472d3aa Merge pull request #28517 from nextcloud/backport/28512/sable21
[stable21] Output exception in cron
2021-08-20 09:53:11 +02:00
Nextcloud bot 030ce1ef13 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-20 02:26:36 +00:00
John Molakvoæ 13772b261e Merge pull request #28523 from nextcloud/backport/28504/stable21
[stable21] Properly log errors in Movie previews generation
2021-08-19 23:27:25 +02:00
John Molakvoæ (skjnldsv) ea37e69fc4 Properly log errors in Movie previews generation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-19 18:04:40 +00:00
Julius Härtl 160dfbb78c Merge pull request #28498 from nextcloud/backport/28485/stable21
[stable21] Fix #20913: Check image resource before attempting to preserve alpha
2021-08-19 16:45:34 +02:00
Louis Chemineau 4940787c1c Output exception in cron
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-08-19 15:31:29 +02:00
Nextcloud bot a53e2809b4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-19 02:26:08 +00:00
Pytal 8452f8c55e Merge pull request #28495 from nextcloud/backport/28481/stable21
[stable21] Hash cache key
2021-08-18 12:49:51 -07:00
Simon Spannagel cb9e9f3026 Fix #20913: Check image resource before attempting to preserve alpha
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2021-08-18 15:42:14 +00:00
Julius Härtl df8721619c Merge pull request #28490 from nextcloud/backport/28413/stable21
[stable21] Emit an error log when the app token login name does not match
2021-08-18 16:35:10 +02:00
Christopher Ng 7aa75c7b5e Hash cache key
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-18 13:23:44 +00:00
Christoph Wurst b90982291e Emit an error log when the app token login name does not match
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-18 12:13:29 +00:00
Nextcloud bot 0723cb14f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-18 02:26:18 +00:00
Louis ac5d14400b Merge pull request #28469 from nextcloud/backport/28464/stable21
[stable21] Only trap E_ERROR in session handling
2021-08-17 15:29:45 +02:00
Julius Härtl 69c7e7f1aa Only trap E_ERROR in session handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-17 10:12:58 +00:00
Nextcloud bot 68c85ab93d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-17 02:27:28 +00:00
Pytal 9d6886094a Merge pull request #28447 from nextcloud/backport/28211/stable21
[stable21] Improve auto expiration hint for trashbin and file versions
2021-08-16 18:04:16 -07:00
Jonas Meurer d528243c0c Use IURLGenerator function to get value of \OC::$WEBROOT global
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-16 13:12:47 +00:00
Jonas Meurer 7ddfd4dbc2 UnifiedSearchController: strip webroot from URL before finding a route
This should fix route matching in UnifiedSearchController on setups with
Nextcloud in a subfolder (webroot).

Fixes: #24144
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-16 13:12:45 +00:00
blizzz 3c6dec3061 Merge pull request #28442 from nextcloud/fix/composer-2-missing-files-stable21
[stable21] Add missing files for Composer v2
2021-08-16 12:24:45 +02:00
szaimen 3c4df7d0e9 Improve auto expiration hint
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-08-16 10:21:46 +00:00
Christoph Wurst 4d37709f58 Add missing files for Composer v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-16 08:30:10 +02:00
Nextcloud bot 7b056b2ed7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-16 02:26:39 +00:00
dependabot[bot] cac32204c7 Merge pull request #27917 from nextcloud/dependabot/npm_and_yarn/stable21/css-loader-5.0.2 2021-08-15 23:56:13 +00:00
dependabot[bot] a7acbd9805 Bump css-loader from 5.0.1 to 5.0.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.0.1...v5.0.2)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-15 23:25:12 +00:00
MichaIng 7fee3ba40b Merge pull request #28383 from nextcloud/backport/28318/stable21
[stable21] Make "name" column nullable for workflows
2021-08-15 12:38:35 +02:00
MichaIng b668b6f361 Merge pull request #28386 from nextcloud/backport/25605/stable21
[stable21] dont show trusted proxy warning when the proxy and remote are both localhost
2021-08-15 12:35:06 +02:00
MichaIng 6114931299 Merge pull request #28415 from nextcloud/backport/28062/stable21
[stable21] Gracefully handle smb acls for users without a domain
2021-08-15 12:33:23 +02:00
dependabot[bot] 46deda64cc Merge pull request #28358 from nextcloud/dependabot/npm_and_yarn/stable21/debounce-1.2.1 2021-08-15 08:59:17 +00:00
dependabot[bot] 8f482f1528 Bump debounce from 1.2.0 to 1.2.1
Bumps [debounce](https://github.com/component/debounce) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/component/debounce/releases)
- [Changelog](https://github.com/component/debounce/blob/master/History.md)
- [Commits](https://github.com/component/debounce/compare/1.2.0...1.2.1)

---
updated-dependencies:
- dependency-name: debounce
  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>
2021-08-15 08:16:34 +00:00
Nextcloud bot 490525f975 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-15 02:26:22 +00:00
Nextcloud bot 119f69ef25 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-14 02:27:00 +00:00
Richard Steinmetz 65d3f20b72 Gracefully handle smb acls for users without a domain
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-08-13 08:43:29 +00:00
szaimen f0c37a16d1 Merge pull request #28400 from nextcloud/backport/26792/stable21
[stable21] better cleanup of user files on user deletion
2021-08-13 09:27:47 +02:00
Nextcloud bot 48d97cbdd6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-13 02:26:55 +00:00
Robin Appelman ca3a6251d2 better cleanup of user files on user deletion
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-12 18:16:51 +02:00
Vincent Petry 78ea6d0679 Make "name" column nullable in workflow operations
The "name" column is now unused and the code is always inserting an
empty string. While this works with most databases, Oracle complains
because an empty string is equivalent to null.

To fix this, the column definition is changed to allow null values now.

Also added some logging in case of database exceptions, because without
this nothing would be logged to detect the above problem.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-12 13:58:07 +02:00
Nextcloud bot d213591b4d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-12 02:27:39 +00:00
Robin Appelman 33deabcf01 dont show trusted proxy warning when the proxy and remote are both localhost
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-11 21:12:42 +00:00
Julius Härtl 514ba5f419 Merge pull request #28361 from nextcloud/backport/28220/stable21
[stable21] fix Folder->getById() when a single storage is mounted multiple times
2021-08-11 09:03:49 +02:00
Nextcloud bot 10a886d564 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-11 02:26:59 +00:00
Nextcloud bot a611edb612 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-10 02:32:07 +00:00
Robin Appelman 4c954e7dd1 fix Folder->getById() when a single storage is mounted multiple times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-09 17:32:20 +00:00
szaimen d53a6dac31 Merge pull request #28354 from nextcloud/backport/28352/stable21
[stable21] Change the concurrent upload limit to less than 10
2021-08-09 18:02:25 +02:00
dependabot[bot] 59b98c1534 Merge pull request #27234 from nextcloud/dependabot/npm_and_yarn/stable21/babel/core-7.12.17 2021-08-09 12:38:58 +00:00
dependabot[bot] 09bf3b8321 Bump @babel/core from 7.12.10 to 7.12.17
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.10 to 7.12.17.
- [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.12.17/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-09 12:08:23 +00:00
szaimen fc20b0cab8 Change the concurrent upload limit to less than 10
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-08-09 08:34:02 +00:00
Nextcloud bot 3a362c4460 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-09 02:27:07 +00:00
Nextcloud bot 71e4fb0096 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-08 02:22:00 +00:00
Nextcloud bot 432f1972b2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-07 02:27:45 +00:00
Nextcloud bot e9473566c7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-06 02:27:14 +00:00
Nextcloud bot 8068746e4c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-05 02:27:31 +00:00
kesselb 01a87ea2bb Merge pull request #28287 from nextcloud/backport/28259/stable21
[stable21] Check that php was compiled with argon2 support or that the php-sodium extensions is installed
2021-08-04 18:54:21 +02:00
Julius Härtl 768c134c2e Merge pull request #28275 from nextcloud/backport/28202/stable21 2021-08-04 18:40:13 +02:00
Nextcloud bot f137ba064a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-04 02:26:55 +00:00
John Molakvoæ c52fea0b16 Merge pull request #28299 from nextcloud/version/21.0.4/Final
21.0.4
2021-08-03 17:11:46 +02:00
Julius Härtl 4d24b5504a Merge pull request #28302 from nextcloud/build/comments-assets-21
[stable21] Update comments bundles
2021-08-03 14:22:15 +02:00
Julius Härtl 37df61b786 Update comments bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-03 13:36:30 +02:00
John Molakvoæ (skjnldsv) 7f198343e9 21.0.4
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-03 08:46:15 +02:00
Nextcloud bot a1a38cce5f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-03 02:26:32 +00:00
John Molakvoæ 937816cac7 Merge pull request #28245 from nextcloud/backport/28238/stable21 2021-08-02 13:42:28 +02:00
Carl Schwan b4a85c2785 Check that php was compiled with argon2 support or that the php-sodium
extensions is installed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-08-02 09:19:06 +00:00
Nextcloud bot 380dd25268 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 07:56:52 +00:00
Nextcloud bot 3e7d0490dd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 07:35:47 +00:00
Christopher Ng 2d6b722737 Build
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-31 01:28:35 +00:00
Christopher Ng b1865cc10b Remove chunkhash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 63c3b9a4cc)
2021-07-31 01:21:02 +00:00
Jan C. Borchardt 07d2acba5b Add h2 to personal info page, fixing accessibility issue
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-30 06:16:07 +00:00
Jan C. Borchardt 9317c1eeef Fix missing label and accessibility of Search function
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-30 06:05:38 +00:00
Vincent Petry 9353802ba4 Merge pull request #28235 from nextcloud/jail-search-root-21
[21] dont apply jail search filter is on the root
2021-07-29 16:37:35 +02:00
marco 486f716f12 Merge pull request #28230 from nextcloud/backport/28210/stable21
[stable21] Allow to disable group membership change notification
2021-07-29 14:29:18 +02:00
Robin Appelman a9fbd0b41b dont apply jail search filter is on the root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-29 14:22:38 +02:00
Robin Appelman 96b9aeecd5 add test for searching within a "root jail"
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-29 13:25:11 +02:00
Louis cdcad4e562 Merge pull request #28192 from nextcloud/backport/28173/stable21
[stable21] Fix variable override in file view
2021-07-29 12:27:19 +02:00
Louis Chemineau 305ed16b0b Fix variabable override in file view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-29 12:00:36 +02:00
Marco Ambrosini bb898c9ed5 Allow to disable group change notification
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-07-29 09:50:28 +00:00
Julien Veyssier 9415eb1888 Merge pull request #28223 from nextcloud/backport/27920/stable21
[stable21] Fix Files breadcrumbs being hidden even if there is enough space
2021-07-29 11:30:47 +02:00
John Molakvoæ d58b484680 Merge pull request #28160 from nextcloud/version/21.0.4/RC1 2021-07-29 10:00:10 +02:00
Julien Veyssier 46f0060a89 refs #21263 round numbers when checking if breadcrumbs should be hidden
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-28 16:51:08 +00:00
John Molakvoæ (skjnldsv) b1a3cefd25 21.0.4 RC1
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-28 13:54:11 +00:00
Christoph Wurst 9d163ece64 Merge pull request #28214 from nextcloud/fix/missing-qbmapper-exception-import
Fix missing exception class import
2021-07-28 15:49:53 +02:00
Christoph Wurst a02b6690fe Merge pull request #28218 from nextcloud/revert/stable21-baseline-drops
Revert accidentally dropped lines from Psalm baselines
2021-07-28 15:48:41 +02:00
Christoph Wurst 191ec27b83 Revert accidentally dropped lines from Psalm baselines
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-07-28 15:28:21 +02:00
Christoph Wurst 16d04755cf Fix missing exception class import
Regression of https://github.com/nextcloud/server/pull/27121

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-07-28 14:39:00 +02:00
Julien Veyssier fb224dd02c Merge pull request #28198 from nextcloud/backport/27893/stable21
[stable21] Fix comments file action sidebar opening
2021-07-28 11:44:52 +02:00
Julien Veyssier 6bb95ee6c7 fix comments file action sidebar opening
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-28 10:15:23 +02:00
John Molakvoæ 920db30989 Merge pull request #28145 from nextcloud/dependabot/npm_and_yarn/stable21/regenerator-runtime-0.13.9 2021-07-28 07:43:33 +02:00
dependabot[bot] ebb61908ae Bump regenerator-runtime from 0.13.7 to 0.13.9
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.7 to 0.13.9.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.7...regenerator-runtime@0.13.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-28 07:30:22 +02:00
John Molakvoæ ea07000ed0 Merge pull request #28196 from nextcloud/revert-27205-backport/26936/stable21
Revert "[stable21] better cleanup of filecache when deleting an external storage"
2021-07-27 18:49:58 +02:00
John Molakvoæ 218a96ebf9 Revert "[stable21] better cleanup of filecache when deleting an external storage" 2021-07-27 15:51:10 +02:00
John Molakvoæ 654fdb27e8 Merge pull request #28171 from nextcloud/backport/28166/stable21 2021-07-27 14:37:49 +02:00
John Molakvoæ 9924ad1e54 Merge pull request #27992 from goyome/goyome-stable21-group-shares-limit
Manual backport of "No limit in the number of group shares" #27875
2021-07-27 14:07:16 +02:00
John Molakvoæ ab233d5c2d Merge pull request #27729 from nextcloud/revert-26587-backport/26581/stable21
[stable21] Revert "Fix constraint violation detection in QB Mapper"
2021-07-27 14:05:44 +02:00
John Molakvoæ 0aed3ecd76 Merge pull request #26724 from nextcloud/backport/25417/stable21 2021-07-27 14:05:16 +02:00
John Molakvoæ 606b5fe154 Merge pull request #27205 from nextcloud/backport/26936/stable21
[stable21] better cleanup of filecache when deleting an external storage
2021-07-27 14:04:25 +02:00
szaimen 4c50241102 User management - Add icon to user groups
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-27 13:30:20 +02:00
John Molakvoæ dc59cecbcd Add files via upload 2021-07-27 11:59:57 +02:00
John Molakvoæ fcf82d5e6d Merge pull request #27228 from nextcloud/dependabot/npm_and_yarn/stable21/marked-1.2.9
Bump marked from 1.2.8 to 1.2.9
2021-07-23 08:56:35 +02:00
Julius Härtl 146f86fcaa Merge pull request #28124 from nextcloud/backport/28122/stable21
[stable21] Let memory limit set in tests fit the used amount
2021-07-22 22:50:06 +02:00
Julius Härtl 055f722052 Let memory limit set in tests fit the used amount
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-22 16:44:24 +00:00
szaimen 6da502451c Merge pull request #28110 from nextcloud/backport/28101/stable21
[stable21] Fix dark theme in file exists dialog
2021-07-22 14:21:12 +02:00
szaimen 583cb8acf6 Fix dark theme in file exists dialog
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-22 10:42:18 +00:00
szaimen b459008003 Merge pull request #28097 from nextcloud/backport/27674/stable21
[stable21] hide download button for public preview of audio files
2021-07-22 12:40:42 +02:00
John Molakvoæ e4be5247bc Merge pull request #28090 from nextcloud/backport/28082/stable21
[stable21] Sanitize more functions from the encryption app
2021-07-22 08:44:12 +02:00
Lukas Reschke 0bca199b55 Sanitize more functions from the encryption app
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-21 22:00:32 +02:00
Lukas Reschke 3d1fb04351 Merge pull request #28086 from nextcloud/backport/28078/stable21
[stable21] Improve provider check
2021-07-21 21:45:11 +02:00
Florian Storz 34973fad26 Remove trailing whitespace from comment
Signed-off-by: Florian Storz <florian.storz@devlix.de>
2021-07-21 17:46:02 +00:00
Florian Storz fd20c27501 Add comment linking to PR
PR contains discussion about the implementation with pros and cons

Signed-off-by: Florian Storz <florian.storz@devlix.de>
2021-07-21 17:46:02 +00:00
Florian Storz e2615cc7ef hide download button for public preview of audio files
When the option to hide downloads was selected at public link creation, the download button can be hidden by the audio html attribute controlsList="nodownload"

Signed-off-by: Florian Storz <florian.storz@devlix.de>
2021-07-21 17:46:01 +00:00
Lukas Reschke 2220b3f7db Improve provider check
Check if there is a provider missing.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-21 13:27:47 +00:00
Lukas Reschke a2423e8af9 Merge pull request #28080 from nextcloud/backport/28077/stable21
[stable21] Disable HEIC image preview provider for performance concerns
2021-07-21 12:30:13 +02:00
tobiasKaminsky cddc18d527 Disable HEIC image preview provider for performance concerns
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-21 08:33:43 +00:00
Pytal 6b684a8216 Merge pull request #28074 from nextcloud/backport/28015/stable21
[stable21] fix overlapping of elements in certain views
2021-07-20 21:24:50 -07:00
szaimen 660ada0574 fix overlapping of elements in certain views
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-20 21:08:24 +00:00
kesselb 2b3dc310aa Merge pull request #28055 from nextcloud/backport/28051/stable21
[stable21] Mask password for Redis and RedisCluster on connection failure
2021-07-20 22:57:56 +02:00
Carl Schwan 2a7bd290e2 Merge pull request #28064 from nextcloud/backport/27950/stable21
[stable21] Fix missing theming for login button
2021-07-20 17:12:45 +02:00
Carl Schwan 79b261f8c8 Fix missing theming for login button
Close #27495

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-20 12:01:31 +00:00
Daniel Kesselberg 9dfbde64a0 Mask password for Redis and RedisCluster on connection failure
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-19 23:11:44 +00:00
szaimen 497d0aaaef Merge pull request #28017 from nextcloud/backport/27997/stable21
[stable21] Update CRL due to revoked twofactor_nextcloud_notification.crt
2021-07-19 19:31:40 +02:00
szaimen a706a5853d Merge pull request #28048 from nextcloud/backport/28046/stable21
[stable21] Add titleTooltip to sidebar
2021-07-19 14:40:25 +02:00
szaimen 4a3bf9a39c Add titleTooltip to sidebar
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-19 10:40:52 +00:00
Louis 3b5c64386c Merge pull request #28044 from nextcloud/backport/27994/stable21
[stable21] Increase footer height for longer menus
2021-07-19 11:38:02 +02:00
szaimen 0aa97515ff Increase footer padding for longer menus
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: Julius Härtl <jus@bitgrid.net>
2021-07-19 08:49:38 +00:00
Nextcloud bot 494496a257 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-19 02:25:39 +00:00
Nextcloud bot c13686bde8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-18 02:25:49 +00:00
dependabot[bot] b8be9c67d2 Bump marked from 1.2.8 to 1.2.9
Bumps [marked](https://github.com/markedjs/marked) from 1.2.8 to 1.2.9.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.8...v1.2.9)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-17 16:02:15 +02:00
Nextcloud bot a47f74ebd3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-17 02:44:39 +00:00
Arthur Schiwon 3b959676d8 Update CRL due to revoked twofactor_nextcloud_notification.crt
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-07-16 21:41:46 +00:00
Joas Schilling 4a85f2c32d Merge pull request #28007 from nextcloud/backport/27980/stable21
[stable21] Improve notcreatable permissions hint
2021-07-16 14:21:05 +02:00
szaimen 27dccb5a66 Improve notcreatable permissions hint
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-16 09:02:36 +00:00
John Molakvoæ efa2a751d0 Add files via upload 2021-07-16 09:12:18 +02:00
Nextcloud bot 99dd0c973a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-16 02:26:48 +00:00
MichaIng 4ac36dc474 Merge pull request #27753 from nextcloud/backport/27586/stable21
[stable21] Reset checksum when writing files to object store
2021-07-15 21:13:15 +02:00
MichaIng 1ef71af9c0 Merge pull request #27899 from nextcloud/backport/27887/stable21
[stable21] make user status usable on mobile
2021-07-15 21:12:17 +02:00
Julius Härtl 7ec666365b Merge pull request #27967 from nextcloud/enh/stable21-breadcrumb-detail-view-in-menu
[stable21] Show registered breadcrumb detail views in breadcrumb menu
2021-07-15 16:25:10 +02:00
szaimen 641307d0af make user status usable on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-15 13:28:58 +00:00
Guillaume COLSON 49cc16ea46 No limit in the number of group shares
Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
2021-07-15 15:18:00 +02:00
Nextcloud bot e9517b811c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-15 10:37:56 +00:00
Julius Härtl 1826a1eea2 Merge pull request #27225 from nextcloud/dependabot/npm_and_yarn/stable21/babel/preset-env-7.12.17
Bump @babel/preset-env from 7.12.11 to 7.12.17
2021-07-15 08:28:16 +02:00
Nextcloud bot 93b5cab1ca [tx-robot] updated from transifex 2021-07-15 02:26:50 +00:00
dependabot[bot] ee06f7cc58 Bump @babel/preset-env from 7.12.11 to 7.12.17
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.12.17.
- [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.12.17/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-15 00:35:42 +00:00
Pytal 76cd14c05b Merge pull request #27975 from nextcloud/backport/27973/stable21
[stable21] Fix regression in file sidebar
2021-07-14 15:00:51 -07:00
Carl Schwan f2230956dc Fix regression in file sidebar
See https://github.com/nextcloud/server/pull/27936

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-14 18:32:24 +00:00
MichaIng ba1f04df90 Merge pull request #27939 from yan12125/backport/27631/stable21
[stable21] Correctly skip suppressed errors in PHP 8.0
2021-07-14 14:34:58 +02:00
Julien Veyssier 3e4032e0d0 show breadcrumb detail view in breadcrumb menu
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-14 14:22:16 +02:00
Chih-Hsuan Yen be51d8390b Correctly skip suppressed errors in PHP 8.0
Applies the suggested transformation mentioned in
https://www.php.net/manual/en/migration80.incompatible.php,

> The @ operator will no longer silence fatal errors (E_ERROR,
> E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR,
> E_PARSE). Error handlers that expect error_reporting to be 0 when
> @ is used, should be adjusted to use a mask check instead

The new code still works on PHP 7, as error_reporting() already
returns 0 when diagnostics are suppressed.

This fixes https://github.com/nextcloud/server/issues/25807 in PHP 8.0.
For PHP 7.x, https://github.com/nextcloud/server/pull/22243 suppresses
the E_NOTICE message from the second session_start() call with the error
suppression operator @, and thus those E_NOTICE messages are still
logged in PHP 8.0.

See also https://github.com/nextcloud/server/issues/25806

Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
2021-07-14 13:14:30 +08:00
Nextcloud bot ce9c2d2471 [tx-robot] updated from transifex 2021-07-14 02:26:35 +00:00
MichaIng 4909615e23 Merge pull request #27956 from nextcloud/backport/27936/stable21
[stable21] Fix svg icons disapearing in app navigation when text overflows
2021-07-14 01:54:46 +02:00
Carl Schwan bee85ab1f0 Fix svg icons disapearing in app navigation when text overflows
The issue is caused by the icon being positionned with negative margins
and the `overflow: hidden` rule when hide the icon when the text
overflows. Remove positioning with negative margins. This was only
happening in Firefox.

This fix #23849

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-13 22:54:04 +00:00
Julius Härtl 9b2e9839f9 Merge pull request #27943 from nextcloud/backport/27912/stable21
[stable21] Do not escape display name in dashboard welcome text
2021-07-13 22:41:38 +02:00
Julien Veyssier 5681a79bd4 refs #26113 do not escape display name in dashboard welcome text
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-13 12:32:54 +00:00
szaimen ba99042498 Merge pull request #27940 from nextcloud/backport/27867/stable21
[stable21] fix newfileMenu on public page
2021-07-13 14:28:38 +02:00
szaimen 3b0d17b949 fix newfileMenu on public page
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-13 11:54:37 +00:00
Robin Appelman feb640cd64 better cleanup of filecache when deleting an external storage
this way it can delete the cache entries even with per-user credentials

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-13 08:54:30 +02:00
Julius Härtl 7e446c3799 Merge pull request #27896 from nextcloud/backport/27854/stable21 2021-07-13 08:44:59 +02:00
Nextcloud bot 6b5bd9d20b [tx-robot] updated from transifex 2021-07-13 02:26:47 +00:00
Julius Härtl 539b1a6f4f Merge pull request #27624 from nextcloud/dependabot/npm_and_yarn/stable21/vuex-3.6.2
Bump vuex from 3.6.0 to 3.6.2
2021-07-12 09:29:45 +02:00
Nextcloud bot 67339cfe0d [tx-robot] updated from transifex 2021-07-12 02:25:47 +00:00
MichaIng bd28724cb0 Merge pull request #27862 from nextcloud/backport/27835/stable21
[stable21] Cache images on browser
2021-07-11 18:48:26 +02:00
Nextcloud bot 3917d5f5b4 [tx-robot] updated from transifex 2021-07-11 02:26:01 +00:00
Nextcloud bot e956940c96 [tx-robot] updated from transifex 2021-07-10 02:31:43 +00:00
Joas Schilling da127e575e Fix accessibility theme for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-09 11:27:32 +00:00
szaimen 31f0593628 fix filepicker bug in dark mode
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-09 11:13:22 +00:00
Nextcloud bot 757bfc4369 [tx-robot] updated from transifex 2021-07-09 02:26:30 +00:00
Nextcloud bot 5352b1da47 [tx-robot] updated from transifex 2021-07-08 02:26:57 +00:00
Pytal b4e06e41c5 Merge pull request #27857 from nextcloud/backport/27844/stable21
[stable21] Make search popup usable on mobile, too
2021-07-07 11:55:01 -07:00
acsfer aceef300ba Cache images on browser
Fix #26851
2021-07-07 17:14:03 +00:00
szaimen 206ba303fd Make search popup usable on mobile, too
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-07 15:31:40 +00:00
Nextcloud bot 237b137f6f [tx-robot] updated from transifex 2021-07-07 02:26:17 +00:00
Pytal ff619feff1 Merge pull request #27828 from nextcloud/backport/27818/stable21
[stable21] Fix in locking cache check
2021-07-06 11:33:53 -07:00
MichaIng 8edcc8142f Fix in locking cache check
The intention obviously was to check whether $lockingCacheClass is defined, and existing class, and available. It was however checked whether the $distributedCacheClass is an existing class, which would have caused an exception already in the previous distributed cache check.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-07-06 17:08:42 +00:00
Nextcloud bot c4159e37ed [tx-robot] updated from transifex 2021-07-06 02:26:13 +00:00
Lukas Reschke c6762fd0d1 Merge pull request #27803 from nextcloud/backport/27198/stable21
[stable21] Run s3 tests again
2021-07-05 15:04:43 +02:00
Julius Härtl e41f06d7c4 Use minio for s3 tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-05 09:58:37 +00:00
Julius Härtl 4c9686a969 Run s3 tests again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-05 09:58:37 +00:00
John Molakvoæ 21e3bbcb54 Merge pull request #26650 from nextcloud/backport/26548/stable21 2021-07-05 08:52:25 +02:00
Nextcloud bot 103cd00690 [tx-robot] updated from transifex 2021-07-05 02:25:46 +00:00
Nextcloud bot 07e0cbde81 [tx-robot] updated from transifex 2021-07-04 02:25:47 +00:00
Nextcloud bot 1c05d033d9 [tx-robot] updated from transifex 2021-07-03 02:26:09 +00:00
Daniel Calviño Sánchez 43a9879467 Fix active scope not visible in the menu if excluded
Depending on some settings (for example, if lookup server upload is
disabled) some items can be hidden in the scope menu. However, if the
user selected an scope in the past once the settings were changed the
scope was no longer visible in the menu. Now the active scope will be
always visible in the menu, although if it is an excluded scope it will
be disabled. Selecting any other scope will then hide the excluded and
no longer active one.

When upload to the lookup server is disabled the scope menu was hidden
for display name and email in the personal information settings; now the
menu will be always shown to enable the above described behaviour.

Note that the menu will be shown even if there is a single available
scope so the user can read its description.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:23 +02:00
Daniel Calviño Sánchez 3ae1ec4d2a Guard against null phone number value
"parsePhoneNumber()" expects a string, so a TypeError would be thrown if
the phone number value is null.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:23 +02:00
Daniel Calviño Sánchez 491c031c0c Add integration tests for searching users in contacts menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:23 +02:00
Daniel Calviño Sánchez 44c870a470 Fix deleting properties of user settings when not given explicitly
The controller can receive an optional subset of the properties of the
user settings; values not given are set to "null" by default. However,
those null values overwrote the previously existing values, so in
practice any value not given was deleted from the user settings. Now
only non null values overwrite the previous values.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:23 +02:00
Daniel Calviño Sánchez ae7eca8a36 Fix TypeError when "email" is not given in the controller request
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:22 +02:00
Daniel Calviño Sánchez 6865d51869 Respect additional user settings not covered by the controller
"AccountManager::updateUser()" wipes previous user data with whichever
user data is given (except for some adjustments, like resetting the
verified status when needed). As the controller overrode the properties
those properties would lose some of their attributes even if they are
not affected by the changes made by the controller. Now the controller
only modifies the attributes set ("value" and "scope") to prevent that.

Note that with this change the controller no longer removes the
"verified" status, but this is not a problem because, as mentioned,
"AccountManager::updateUser()" resets them when needed (for example,
when the value of the website property changes).

This change is a previous step to fix overwritting properties with null
values, and it will prevent the controller from making unexpected
changes if more attributes are added in the future.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:22 +02:00
Daniel Calviño Sánchez 7ed78d2a31 Add more unit tests for setting user settings
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:22 +02:00
Daniel Calviño Sánchez 36fa740e62 Change default test data to values less similar to empty values
Right now it makes no difference, but this should make future tests
clearer, specially in case of failure.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:22 +02:00
Daniel Calviño Sánchez 2eeac35c26 Extract default test data to a helper getter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:21 +02:00
Daniel Calviño Sánchez 4fbb9b212d Use constants from interface rather than class
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:21 +02:00
Nextcloud bot 9a617379d9 [tx-robot] updated from transifex 2021-07-02 02:25:33 +00:00
Julius Härtl c16d5b1077 Reset checksum when writing files to object store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-01 15:36:07 +00:00
szaimen 5f3ceeda88 Merge pull request #27744 from nextcloud/backport/27739/stable21
[stable21] design fixes to app-settings button
2021-07-01 12:24:34 +02:00
Joas Schilling f4171c96eb Fix avatar actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-01 09:43:08 +00:00
John Molakvoæ 5d04a3fed2 Merge pull request #27707 from nextcloud/version/21.0.3/final 2021-07-01 11:41:30 +02:00
John Molakvoæ 91af4e2a15 Merge pull request #27107 from nextcloud/backport/27043/stable21 2021-07-01 11:39:47 +02:00
szaimen 3e5e1c9b2e design fixes to app-settings button
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-01 09:23:38 +00:00
Nextcloud bot 053e1153eb [tx-robot] updated from transifex 2021-07-01 02:24:59 +00:00
Vincent Petry ece2e3e5ea Merge pull request #27727 from nextcloud/backport/27638/stable21
[stable21] Downstream encryption:fix-encrypted-version for repairing "bad signature" errors
2021-06-30 17:18:14 +02:00
Christoph Wurst affe97235d Revert "[stable21] Fix constraint violation detection in QB Mapper" 2021-06-30 14:38:11 +02:00
Vincent Petry 19d2dbf80b Prevent running FixEncryptedVersion without master key
Return an error when running occ encryption:fix-encrypted-version
when master key encryption is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-30 12:23:32 +00:00
Vincent Petry b3052e4932 Fix FixEncryptedVersionTest test
Fixed setup to use EncryptionTrait like other existing tests.
Fix expectations to not rely on side effects from previous test cases.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-30 12:23:31 +00:00
Vincent Petry 36a175ccde Fix warnings in FixEncryptedVersion command
Fixed code warnings

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-30 12:23:31 +00:00
Vincent Petry 7e1c807a0d Detect disabled signature check when reparing
When running occ encryption:fix-encrypted-version, detect whether the
setting 'encryption_skip_signature_check' is set and abort if it is,
because the repair cannot detect version mismatch errors with it
enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-30 12:23:31 +00:00
Vincent Petry d2574c4363 Downstream FixEncryptedVersionTest
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-30 12:23:30 +00:00
Vincent Petry 3db068ecb3 Downstream encryption:fix-encrypted-version
For fixing "Bad signature" errors.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-30 12:23:30 +00:00
Nextcloud bot e76b83393c [tx-robot] updated from transifex 2021-06-30 02:25:43 +00:00
blizzz 3ceb76ecf0 Merge pull request #27551 from nextcloud/backport/26571/stable21
[stable21] Only allow removing existing shares that would not be allowed due to reshare restrictions
2021-06-29 23:38:53 +02:00
Julius Härtl c3e7687cd2 Handle single action unshare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29 19:09:22 +02:00
Julius Härtl b7328fab42 Only allow removing existing shares that would not be allowed due to reshare restrictions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29 19:09:22 +02:00
Julius Härtl e981072f4a When changing the share owner, downgrade permissions where needed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29 19:00:21 +02:00
Julius Härtl fe2d3161f7 Drop share if moved to a parent share that does not allow resharing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29 19:00:21 +02:00
Arthur Schiwon 2b1774dd91 21.0.3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-29 12:59:36 +02:00
John Molakvoæ b614af016a Merge pull request #27703 from nextcloud/backport/27698/stable21
[stable21] LDAP: determine shares of offline users only when needed
2021-06-29 08:27:44 +02:00
Arthur Schiwon de3aa22057 LDAP: determine shares of offline users only when needed
- determine shares may via Sharing code result in user exists checks
- this may result in an infinite loop when user exists was called before
- the info is really only required at one occ command

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-28 23:57:29 +02:00
John Molakvoæ c4a20d3d5d Merge pull request #27679 from nextcloud/backport/27675/stable21
[stable21] Validate the theming color also on CLI
2021-06-28 07:43:09 +02:00
Nextcloud bot 6467112605 [tx-robot] updated from transifex 2021-06-28 02:25:22 +00:00
Nextcloud bot 77a2b03e50 [tx-robot] updated from transifex 2021-06-27 02:25:52 +00:00
Nextcloud bot 364d9c0ed6 [tx-robot] updated from transifex 2021-06-26 02:25:54 +00:00
dependabot[bot] e9976f28b6 Bump vuex from 3.6.0 to 3.6.2
Bumps [vuex](https://github.com/vuejs/vuex) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/vuejs/vuex/releases)
- [Changelog](https://github.com/vuejs/vuex/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuex/compare/v3.6.0...v3.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-25 17:08:23 +00:00
Joas Schilling 36b9fad779 Validate the theming color also on CLI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-25 16:20:32 +00:00
Christoph Wurst 22d2f05841 Merge pull request #27670 from nextcloud/backport/27663/stable21
[stable21] Unshift crash reports when they are loaded, to break the recusion
2021-06-25 13:57:50 +02:00
Christoph Wurst 5dd3b5067c Unshift crash reports when they are loaded, to break the recusion
If, for whatever reason, during the loading of a crash reporter a new
log entry is generated, then the lazy loading mechanism will be invoked
*again* while it's already executed. This doesn't result in an endless
recursion, but means that the crash reporters will be built and
registered many times. This then means any further log entry will be
logged x times instead of once.

Unshift makes sure to take the class off the registration list right
away, so another invokation of the same method won't try to do the same
job.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-25 06:37:07 +00:00
Nextcloud bot 4058c4c7db [tx-robot] updated from transifex 2021-06-25 02:25:45 +00:00
John Molakvoæ eeb052c48e Merge pull request #27621 from nextcloud/version/21.0.3/rc1 2021-06-24 14:21:17 +02:00
Nextcloud bot 9d41426886 [tx-robot] updated from transifex 2021-06-24 02:25:33 +00:00
Arthur Schiwon 95298d4b3c update CA bundle
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-24 01:32:21 +02:00
korelstar c466d2ecd4 Merge pull request #27028 from nextcloud/backport/26852/stable21
[stable21] fix error when using CORS with no auth credentials
2021-06-24 00:05:12 +02:00
korelstar 7b8d4b2d37 fix error when using CORS with no auth credentials 2021-06-23 20:57:11 +02:00
Julius Härtl 6a40ed4765 Merge pull request #27622 from nextcloud/dependabot/npm_and_yarn/stable21/dompurify-2.2.9
Bump dompurify from 2.2.8 to 2.2.9
2021-06-23 19:33:12 +02:00
dependabot[bot] 1882b97935 Bump dompurify from 2.2.8 to 2.2.9
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.8...2.2.9)

---
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: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-23 18:09:27 +02:00
Lukas Reschke 82adb4c21e Merge pull request #27616 from nextcloud/backport/27610/stable21
[stable21] Throttle on public DAV endpoint
2021-06-23 12:41:20 +02:00
Julius Härtl a97c184423 Merge pull request #27237 from nextcloud/dependabot/npm_and_yarn/stable21/moment-timezone-0.5.33
Bump moment-timezone from 0.5.32 to 0.5.33
2021-06-23 10:57:22 +02:00
Julius Härtl 3ff79acd79 Merge pull request #27231 from nextcloud/dependabot/npm_and_yarn/stable21/vue-loader-15.9.7
Bump vue-loader from 15.9.6 to 15.9.7
2021-06-23 10:57:09 +02:00
Arthur Schiwon df8885d939 21.0.3 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-23 10:51:24 +02:00
Lukas Reschke ddcb70bd81 Reference correct private variable
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-23 07:37:17 +00:00
Lukas Reschke 117e466e20 Throttle on public DAV endpoint
We should throttle whenever an invalid request is sent to the public WebDAV endpoint.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-23 07:37:17 +00:00
Nextcloud bot f71306f8ee [tx-robot] updated from transifex 2021-06-23 02:26:30 +00:00
dependabot[bot] dad92ca15c Bump moment-timezone from 0.5.32 to 0.5.33
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.32 to 0.5.33.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.32...0.5.33)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-22 18:58:40 +00:00
Julius Härtl 2931f31ac4 Merge pull request #27250 from nextcloud/dependabot/npm_and_yarn/stable21/ws-7.4.6
[Security] Bump ws from 7.3.1 to 7.4.6
2021-06-22 20:07:46 +02:00
blizzz e6158eebf8 Merge pull request #27599 from nextcloud/backport/27596/stable21
[stable21] [stable20] Properly cleanup entries of WebAuthn on user deletion
2021-06-22 20:01:35 +02:00
Lukas Reschke 72309a158a Remove throwing annotation
This class was just introduced in Nc 21.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-22 13:53:28 +00:00
Lukas Reschke ba12eb7aba Use execute instead of executeStatement
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-22 13:53:28 +00:00
Morris Jobke e757a5ecfd Properly cleanup entries of WebAuthn on user deletion
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-22 13:53:27 +00:00
Nextcloud bot 6069ea83e5 [tx-robot] updated from transifex 2021-06-22 02:27:12 +00:00
Nextcloud bot 030190ed07 [tx-robot] updated from transifex 2021-06-21 02:26:50 +00:00
Nextcloud bot c7d7f9ca94 [tx-robot] updated from transifex 2021-06-20 02:27:16 +00:00
Nextcloud bot d932129529 [tx-robot] updated from transifex 2021-06-19 02:46:31 +00:00
dependabot-preview[bot] 0f1822f4dd Merge pull request #27569 from nextcloud/dependabot/npm_and_yarn/stable21/postcss-7.0.36 2021-06-19 02:04:25 +00:00
dependabot-preview[bot] 8d8ea1486d [Security] Bump postcss from 7.0.35 to 7.0.36
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36. **This update includes a security fix.**
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-19 01:15:49 +00:00
Nextcloud bot 08ca2e972b [tx-robot] updated from transifex 2021-06-18 02:27:13 +00:00
Nextcloud bot 1bbb803ad8 [tx-robot] updated from transifex 2021-06-17 02:26:02 +00:00
Nextcloud bot 3527c6e3d8 [tx-robot] updated from transifex 2021-06-16 02:26:31 +00:00
Jan C. Borchardt b2765939bd Fix accessibility of federation menu privacy buttons
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:21 +02:00
Jan C. Borchardt 9bb2e8d3de Fix accessibility of profile picture section
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:21 +02:00
Jan C. Borchardt 199f736bc8 Fix missing label of Files navigation sublist toggles
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:20 +02:00
Jan C. Borchardt 0a3875eacb Fix missing label of grid view toggle
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:20 +02:00
Jan C. Borchardt 73cf8066b4 Fix screenreader label of search icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:20 +02:00
Jan C. Borchardt 579225052e Add proper labels for personal settings privacy toggles
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:20 +02:00
Jan C. Borchardt 6be889493f Improve focus feedback for file list actions
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:20 +02:00
Jan C. Borchardt 2ba56b50ec Fix summary footer position and text contrast
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:19 +02:00
Nextcloud bot de0d4b513d [tx-robot] updated from transifex 2021-06-15 02:28:19 +00:00
Julius Härtl 420d395947 Merge pull request #27415 from nextcloud/backport/26494/stable21 2021-06-14 09:48:41 +02:00
Nextcloud bot 82d1bc2b3e [tx-robot] updated from transifex 2021-06-14 02:26:42 +00:00
Nextcloud bot 89bc4acfa2 [tx-robot] updated from transifex 2021-06-13 02:26:18 +00:00
Nextcloud bot e9a87a1025 [tx-robot] updated from transifex 2021-06-12 02:27:12 +00:00
Christoph Wurst 234f39e1b4 Merge pull request #27455 from nextcloud/backport/27444/stable21
[stable21] Header must contain a colon
2021-06-11 08:26:53 +02:00
Nextcloud bot 65ccca4f70 [tx-robot] updated from transifex 2021-06-11 02:28:21 +00:00
acsfer 1c670cb3d9 Header must contain a colon 2021-06-10 08:21:00 +00:00
Morris Jobke f627f38b79 Merge pull request #27446 from nextcloud/backport/27429/stable21
[stable21] Don't pass a column object to addOrderBy
2021-06-10 10:12:53 +02:00
Nextcloud bot 7c5f2e63b4 [tx-robot] updated from transifex 2021-06-10 02:32:24 +00:00
Lukas Reschke 393877ed59 Merge pull request #27324 from nextcloud/stable21-backport-27024
[stable21] Properly log expiration date removal in audit log
2021-06-09 22:08:07 +02:00
Daniel Kesselberg 7259259d1e Fix #26085
addOrderBy expects a order expression. For the migration scenario we have column objects. Column objects are not supported by quoteColumnName yet.

A column object as order expression is most likely an edgy thing when migration database information.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-06-09 17:01:07 +00:00
Julius Härtl 6e190b1a55 Merge pull request #27303 from nextcloud/backport/27062/stable21
[stable21] properly use limit and offset for search in Jail wrapper
2021-06-09 08:07:49 +02:00
Nextcloud bot 3708360f3b [tx-robot] updated from transifex 2021-06-09 02:26:29 +00:00
Nextcloud bot 5339679083 [tx-robot] updated from transifex 2021-06-08 02:26:33 +00:00
Richard de Boer 9f3824b884 Check whether output buffering is active before turning it off
Before we just turned it off and @suppressed the error if ob was not active.
In PHP 8 this error is no longer suppressed, so try to not cause it at all.

Signed-off-by: Richard de Boer <git@tubul.net>
2021-06-07 21:33:53 +00:00
Richard de Boer 088118f548 Fix a usort comparison function returning a boolean instead of an integer
PHP 8 shows deprecation warnings about this, see #25806

Signed-off-by: Richard de Boer <git@tubul.net>
2021-06-07 21:33:52 +00:00
Richard de Boer 7e9d459fea Fix functions taking optional parameters before required ones
PHP 8 shows deprecation warnings about this, see #25806
Removes the "default" values, as they actually are required parameters anyway.

Signed-off-by: Richard de Boer <git@tubul.net>
2021-06-07 21:33:52 +00:00
Joas Schilling a5bbd88355 Merge pull request #27411 from nextcloud/backport/27375/stable21
[stable21] Don't update statuses to offline again and again
2021-06-07 17:00:18 +02:00
blizzz a18a3fe79e Merge pull request #27015 from nextcloud/backport/26980-stable21
[stable21] Use parent wrapper to properly handle moves on the same source/target storage
2021-06-07 12:22:55 +02:00
Joas Schilling d06f3cc51a Don't update statuses to offline again and again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-07 10:14:35 +00:00
Morris Jobke 4136993f44 Merge pull request #27336 from nextcloud/backport/27329/stable21
[stable21] Propagate throttling on OCS response
2021-06-07 10:39:52 +02:00
Morris Jobke 5412605219 Merge pull request #27359 from nextcloud/backport/27354/stable21
[stable21] Escape filename in Content-Disposition
2021-06-07 10:37:45 +02:00
Nextcloud bot 87363686b7 [tx-robot] updated from transifex 2021-06-07 02:25:24 +00:00
John Molakvoæ 390bd12c8a Merge pull request #27333 from nextcloud/backport/27328/stable21
[stable21] emit UserLoggedInEvent on apache auth
2021-06-06 11:00:24 +02:00
Nextcloud bot cf324d69c2 [tx-robot] updated from transifex 2021-06-06 02:26:16 +00:00
Nextcloud bot d7b8497a19 [tx-robot] updated from transifex 2021-06-05 02:28:46 +00:00
Robin Appelman 2c9324acd9 Merge pull request #27350 from nextcloud/backport/25280/stable21
[stable21] Set umask before operations that create local files
2021-06-04 18:20:19 +00:00
Robin Appelman 287edf0e61 Set umask before operations that create local files
this solves issues where "other php stuff" is messing with the umask

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-04 15:43:16 +02:00
Joas Schilling c89fbcde11 Merge pull request #27347 from nextcloud/backport/27053/stable21
[stable21] Don't throw when comments is disabled
2021-06-04 11:01:31 +02:00
Joas Schilling 21455faf36 Merge pull request #27334 from nextcloud/backport/25770/stable21
[stable21] Don't allow executing cli if cache backend is unavailable
2021-06-04 09:42:24 +02:00
Nextcloud bot dcec4b00f8 [tx-robot] updated from transifex 2021-06-04 02:28:27 +00:00
Nextcloud bot 5a117a73f2 [tx-robot] updated from transifex 2021-06-03 02:28:58 +00:00
John Molakvoæ b5d3e389cb Merge pull request #27346 from nextcloud/debt/noid/missing-import
[stable21] Replace OCSController with OCP\API
2021-06-02 21:18:50 +02:00
Lukas Reschke d838108dea Escape filename in Content-Disposition
We should escape all occurences of ' and \ in here.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 19:17:38 +00:00
Joas Schilling 5593ec985e Don't throw when comments is disabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-02 13:42:49 +00:00
Daniel Kesselberg 5740a6bf2b Replace OCSController with OCP\API
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-06-02 15:18:15 +02:00
Nextcloud bot 6a29b60260 [tx-robot] updated from transifex 2021-06-02 02:28:42 +00:00
Lukas Reschke 6a6bcdc558 Propagate throttling on OCS response
The BaseResponse converter did not take over any throttling state from the DataResponse.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-01 19:42:31 +00:00
Richard Steinmetz 5c868c735d Don't allow executing cli if cache backend is unavailable
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-06-01 16:07:07 +00:00
Arthur Schiwon 2e57360a0d emit UserLoggedInEvent on apache auth
- post_login OC_Hook is barely used or listened to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-01 15:41:04 +00:00
Roeland Jago Douma 6300a1b846 Properly log expiration date removal in audit log
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-06-01 13:25:10 +02:00
Joas Schilling 25c24c2b6e Merge pull request #27318 from nextcloud/backport/27099/stable21
[stable21] Make user:report command scale
2021-06-01 11:45:40 +02:00
Joas Schilling d25446fd58 Make user:report command scale
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-01 08:36:06 +00:00
Nextcloud bot b4c3e8dbc8 [tx-robot] updated from transifex 2021-06-01 02:28:33 +00:00
Robin Appelman a21eb8d6d2 properly use limit and offset for search in Jail wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-31 12:28:12 +00:00
Joas Schilling 94ec3e1675 Merge pull request #27195 from nextcloud/backport/27188/stable21
[stable21] Fix the get editable fields endpoint without a user id
2021-05-31 10:01:24 +02:00
Nextcloud bot 4bf9b3a24b [tx-robot] updated from transifex 2021-05-31 02:35:37 +00:00
Nextcloud bot 95a4644fc0 [tx-robot] updated from transifex 2021-05-30 02:25:16 +00:00
dependabot-preview[bot] 4e9c6e03b3 [Security] Bump ws from 7.3.1 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6. **This update includes security fixes.**
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.1...7.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-29 02:36:47 +00:00
dependabot-preview[bot] 188c5eba3e Merge pull request #27248 from nextcloud/dependabot/npm_and_yarn/stable21/browserslist-4.16.6 2021-05-29 02:34:51 +00:00
dependabot-preview[bot] 4b51f6c0a3 [Security] Bump browserslist from 4.16.0 to 4.16.6
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.0 to 4.16.6. **This update includes a security fix.**
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.0...4.16.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-29 01:14:55 +00:00
dependabot[bot] d2e85931ef Bump vue-loader from 15.9.6 to 15.9.7
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.6 to 15.9.7.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.6...v15.9.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-28 15:17:00 +00:00
kesselb b1fdb4a86e Merge pull request #27208 from nextcloud/backport/27199/stable21
[stable21] Use noreply@ as email address for share emails
2021-05-28 15:03:44 +02:00
Morris Jobke a1877062ac Use noreply@ as email address for share emails
Fixes #26683

Before it used the instance name, which a) doesn't make sense to randomly guess email addresses and b) could contain characters that are not allowed in email addresses like spaces.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-28 11:42:16 +00:00
John Molakvoæ 631a3882d3 Merge pull request #27184 from nextcloud/dependabot/npm_and_yarn/stable21/various 2021-05-28 08:08:25 +02:00
Nextcloud bot a4cfd9ce20 [tx-robot] updated from transifex 2021-05-28 02:27:32 +00:00
Joas Schilling 533eb89b54 Add integration tests for the editable fields
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-27 23:02:44 +00:00
Joas Schilling 0d9c60613e Fix the get editable fields endpoint without a user id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-27 23:02:43 +00:00
John Molakvoæ (skjnldsv) 0120d3d6d8 Npm build
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-27 10:50:01 +02:00
dependabot[bot] 1fbceb254f Bump @babel/plugin-proposal-class-properties from 7.12.1 to 7.12.13
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.12.1 to 7.12.13.
- [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.12.13/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 10:43:03 +02:00
dependabot[bot] 2b6d0efeb5 Bump @nextcloud/capabilities from 1.0.2 to 1.0.4
Bumps [@nextcloud/capabilities](https://github.com/nextcloud/nextcloud-capabilities) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/nextcloud/nextcloud-capabilities/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-capabilities/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-capabilities/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 10:42:55 +02:00
dependabot[bot] 5f2e440cc6 Bump dompurify from 2.2.6 to 2.2.8
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.6 to 2.2.8.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.6...2.2.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 10:42:47 +02:00
dependabot[bot] f8734549f0 Bump autosize from 4.0.2 to 4.0.4
Bumps [autosize](https://github.com/jackmoore/autosize) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/jackmoore/autosize/releases)
- [Changelog](https://github.com/jackmoore/autosize/blob/master/changelog.md)
- [Commits](https://github.com/jackmoore/autosize/compare/4.0.2...4.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 10:42:34 +02:00
dependabot[bot] 6cad27bdf3 Bump css-vars-ponyfill from 2.4.2 to 2.4.5
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.2 to 2.4.5.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.2...v2.4.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 08:15:42 +00:00
Nextcloud bot aaf7250fc6 [tx-robot] updated from transifex 2021-05-27 02:28:07 +00:00
kesselb e8f6d288ef Merge pull request #27121 from nextcloud/backport/27117/stable21
[stable21] Add DB exception '@throws' tag to QBMapper PHPDoc
2021-05-26 20:35:19 +02:00
Morris Jobke afd58bd4bc Merge pull request #27124 from nextcloud/backport/26282/stable21
[stable21] improve type handling of Avatar::generateAvatarFromSvg
2021-05-26 20:32:36 +02:00
Robin Appelman 5bb0370994 improve type handling of Avatar::generateAvatarFromSv
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-26 17:11:42 +00:00
Morris Jobke 0a246be33f Merge pull request #27109 from nextcloud/backport/26466/stable21
[stable21] Move remnants of ocs api requests to v2 endpoint
2021-05-26 18:13:25 +02:00
Anna Larch 60481a742e Add DB exception throws tag to QBMapper PHPDoc
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-05-26 15:13:52 +00:00
John Molakvoæ (skjnldsv) c2c3856fab Move remnants of ocs api requests to v2 endpoint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-26 07:14:57 +00:00
Nextcloud bot 98cbf8aca3 [tx-robot] updated from transifex 2021-05-26 02:28:42 +00:00
Robin Appelman 3775b862a9 fix return value of getStorageInfo when 'quota_include_external_storage' is enabled
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-25 19:59:14 +00:00
Morris Jobke 6814ac03c1 Merge pull request #27097 from nextcloud/backport/27040/stable21
[stable21] Avoid reading ~/.aws/config when using S3 provider
2021-05-25 16:31:29 +02:00
Florent ede67149ea Avoid reading ~/.aws/config when using S3 provider
When using S3 storage, we sometimes have open_basedir errors due to aws-sdk-php trying to read ~/.aws/config which is out of open_basedir restrictions.
Christoph Wurst already added csm=false config in #21406 but it wasn't enough, we also need to set use_arn_region=false, added in this commit.

Signed-off-by: Florent <florent@coppint.com>
2021-05-25 08:59:03 +00:00
Nextcloud bot 885b0b3dbf [tx-robot] updated from transifex 2021-05-25 02:27:32 +00:00
Nextcloud bot b552ac6356 [tx-robot] updated from transifex 2021-05-24 02:26:42 +00:00
Nextcloud bot 395ad7a96a [tx-robot] updated from transifex 2021-05-23 02:26:00 +00:00
Nextcloud bot dd54f7f52b [tx-robot] updated from transifex 2021-05-22 02:27:27 +00:00
blizzz fb1362ee30 Merge pull request #27058 from nextcloud/backport/27032/stable21
[stable21] Fix filesize error on log rotation, if file does not exist
2021-05-21 14:50:04 +02:00
dartcafe 36acbd9efb typo
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-21 09:42:31 +00:00
dartcafe 6e499ef0b2 fix #25813
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-21 09:42:31 +00:00
Nextcloud bot b13dbbb9d7 [tx-robot] updated from transifex 2021-05-21 02:28:08 +00:00
Nextcloud bot 48c7be075e [tx-robot] updated from transifex 2021-05-20 02:28:10 +00:00
dependabot-preview[bot] 739bbc27c0 Merge pull request #26905 from nextcloud/dependabot/npm_and_yarn/stable21/handlebars-4.7.7 2021-05-19 08:32:14 +00:00
Roeland Jago Douma 3306c2fb35 Merge pull request #27021 from nextcloud/backport/26963/stable21
[stable21] Fix log error when creating files from an empty template
2021-05-19 10:28:38 +02:00
dependabot-preview[bot] 9037a76efd [Security] Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7. **This update includes a security fix.**
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-19 07:23:28 +00:00
Julius Härtl 80cda3b174 Fix log error when creating files from an empty template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-19 07:03:27 +00:00
Roeland Jago Douma 51e279918f Merge pull request #27012 from nextcloud/backport/27000/stable21
[stable21] Harden apptoken check
2021-05-19 08:41:06 +02:00
Nextcloud bot f5e5b07d05 [tx-robot] updated from transifex 2021-05-19 02:31:48 +00:00
Julius Härtl 553f8aff6b Use parent wrapper to properly handle moves on the same source/target storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-18 16:14:41 +02:00
Roeland Jago Douma e3090136b8 Harden apptoken check
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-18 12:39:43 +00:00
Morris Jobke c6af693dac Merge pull request #26999 from nextcloud/backport/26946/stable21
[stable21] Respect default share permissions for federated reshares
2021-05-18 08:26:40 +02:00
Roeland Jago Douma 7ca8fd43a6 Respect default share permissions for federated reshares
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-17 10:03:53 +00:00
Nextcloud bot 1b7b7f077f [tx-robot] updated from transifex 2021-05-17 02:26:48 +00:00
Nextcloud bot c27540accf [tx-robot] updated from transifex 2021-05-16 02:26:56 +00:00
Nextcloud bot 6321d82522 [tx-robot] updated from transifex 2021-05-15 02:29:32 +00:00
kesselb 1f16f66550 Merge pull request #26964 from nextcloud/backport/26292/stable21
[stable21] ignore readonly flag for directories
2021-05-14 22:32:04 +02:00
kesselb 959c9e30cb Merge pull request #26952 from nextcloud/backport/26949/stable21
[stable21] fix occ command user:add-app-password
2021-05-14 11:13:18 +02:00
Roeland Jago Douma dd6e1cf4fb Merge pull request #26972 from nextcloud/backport/26958/stable21
[stable21] Throttle MountPublicLinkController when share is not found
2021-05-14 10:55:36 +02:00
Nextcloud bot df233efab9 [tx-robot] updated from transifex 2021-05-14 02:25:11 +00:00
Roeland Jago Douma 1ed66f2ac1 Throttle MountPublicLinkController when share is not found
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-12 19:29:07 +00:00
Robin Appelman 2fe8c42a97 ignore readonly flag for directories
see http://support.microsoft.com/kb/326549

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-12 16:26:32 +00:00
Roeland Jago Douma 1dd4f0efc0 Merge pull request #26955 from nextcloud/backport/26945/stable21
[stable21] Add bruteforce protection to the shareinfo endpoint
2021-05-12 14:13:12 +02:00
Roeland Jago Douma 6bc2d6d68e Add bruteforce protection to the shareinfo endpoint
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-12 08:09:14 +00:00
Roeland Jago Douma dd014059d7 Merge pull request #26879 from nextcloud/backport/26878/stable21
[stable21] Don't break OCC if an app is breaking in it's Application class
2021-05-12 09:40:01 +02:00
Bjoern Schiessle a187bce7a3 use the UID as loginName and not the display name.
Otherwise the app password will not work for users with a display name different to the UID.

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2021-05-12 05:26:49 +00:00
Nextcloud bot 3bcc23ba2c [tx-robot] updated from transifex 2021-05-12 02:26:28 +00:00
dependabot-preview[bot] 8cd1f023da Merge pull request #26911 from nextcloud/dependabot/npm_and_yarn/stable21/url-parse-1.5.1 2021-05-11 07:23:54 +00:00
dependabot-preview[bot] 87a8b9a2fd [Security] Bump url-parse from 1.4.7 to 1.5.1
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1. **This update includes a security fix.**
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-11 06:46:31 +00:00
Nextcloud bot 0ef3834b6c [tx-robot] updated from transifex 2021-05-11 02:26:14 +00:00
dependabot-preview[bot] 0e4f72e930 Merge pull request #26912 from nextcloud/dependabot/npm_and_yarn/stable21/lodash-4.17.21 2021-05-10 09:32:00 +00:00
dependabot-preview[bot] e3c2f50174 [Security] Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-10 08:52:40 +00:00
Nextcloud bot 08b74729b9 [tx-robot] updated from transifex 2021-05-10 02:31:52 +00:00
Nextcloud bot 3fe1cbb107 [tx-robot] updated from transifex 2021-05-09 02:25:28 +00:00
Nextcloud bot 17e68b105e [tx-robot] updated from transifex 2021-05-08 02:25:06 +00:00
dependabot-preview[bot] ea79d7e93e Merge pull request #26918 from nextcloud/dependabot/npm_and_yarn/stable21/hosted-git-info-2.8.9 2021-05-07 20:20:14 +00:00
dependabot-preview[bot] 1ddc2ecfde [Security] Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. **This update includes a security fix.**
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-07 19:43:25 +00:00
Nextcloud bot edd3f064c2 [tx-robot] updated from transifex 2021-05-07 02:26:59 +00:00
Joas Schilling 3d9abee6f0 Don't break OCC if an app is breaking in it's Application class
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-06 14:46:11 +02:00
3030 changed files with 67129 additions and 29414 deletions
+36
View File
@@ -1164,6 +1164,31 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: integration-contacts-menu
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: integration-contacts-menu
image: nextcloudci/integration-php7.3:integration-php7.3-2
commands:
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
- ./run.sh features/contacts-menu.feature
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: integration-favorites
@@ -2090,6 +2115,15 @@ kind: pipeline
name: object-store-s3
steps:
- name: minio
image: ghcr.io/nextcloud/continuous-integration-minio:latest
detach: true
commands:
- mkdir /s3data
- minio server /s3data
environment:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: nextcloud
- name: submodules
image: docker:git
commands:
@@ -2097,6 +2131,7 @@ steps:
- name: object-store
image: nextcloudci/php7.4:php7.4-3
environment:
OBJECT_STORE: s3
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands:
@@ -2130,6 +2165,7 @@ steps:
- name: object-store
image: nextcloudci/php7.4:php7.4-3
environment:
OBJECT_STORE: azure
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands:
+21
View File
@@ -0,0 +1,21 @@
# 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
name: Pull request checks
on: pull_request
jobs:
block-merges-during-freeze:
name: Block merges during feature freezes
runs-on: ubuntu-latest
steps:
- name: Download version.php from ${{ github.base_ref }}
run: curl https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php --output version.php
- name: Run check
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'
+16 -6
View File
@@ -1,19 +1,29 @@
# 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
name: Dependabot
on: pull_request
on:
pull_request_target:
branches:
- master
- stable*
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
# Default github action approve
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
- uses: hmarr/auto-approve-action@v2
if: github.actor == 'dependabot[bot]'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@v1
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
- uses: ahmadnassri/action-dependabot-auto-merge@v2
if: github.actor == 'dependabot[bot]'
with:
target: patch
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
+20
View File
@@ -0,0 +1,20 @@
# 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
name: Pull request checks
on: pull_request
jobs:
commit-message-check:
name: Block fixup and squash commits
runs-on: ubuntu-latest
steps:
- name: Run check
uses: xt0rted/block-autosquash-commits-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
+3
View File
@@ -52,6 +52,9 @@ jobs:
jsunit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
+1 -1
View File
@@ -41,7 +41,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, oci8
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, oci8
tools: phpunit:8.5.2
coverage: none
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions
uses: docker://vimeo/psalm-github-actions:4.9.3
with:
security_analysis: true
report_file: results.sarif
+124
View File
@@ -0,0 +1,124 @@
name: S3 External storage
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
jobs:
s3-external-tests-minio:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
name: php${{ matrix.php-versions }}-minio
services:
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.10.6
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
run: |
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,'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
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-external-tests-localstack:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
name: php${{ matrix.php-versions }}-localstack
services:
minio:
env:
SERVICES: s3
DEBUG: 1
image: localstack/localstack:0.12.7
ports:
- "4566:4566"
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
run: |
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,'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
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-external-summary:
runs-on: ubuntu-latest
needs: [s3-external-tests-minio, s3-external-tests-localstack]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-external-tests-minio.result != 'success' }} || ${{ needs.s3-external-tests-localstack.result != 'success' }}; then exit 1; fi
+2 -2
View File
@@ -21,7 +21,7 @@ jobs:
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
run: composer run psalm -- --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
@@ -46,7 +46,7 @@ jobs:
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
+22 -15
View File
@@ -1,46 +1,53 @@
name: Update Psalm baseline
on:
workflow_dispatch:
schedule:
- cron: '5 4 * * *'
jobs:
update-psalm-baseline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: true
- name: Set up php7.4
uses: shivammathur/setup-php@master
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
run: composer install
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
- name: Reset composer.json and composer.lock
continue-on-error: true
- name: Reset composer
run: |
rm -rf lib/composer
git checkout -- composer.json composer.lock lib/composer
git clean -f lib/composer
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.MACHINE_USER_PAT }}
push-to-fork: nextcloud-pr-bot/server
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
committer: GitHub <noreply@github.com>
author: Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/psalm-baseline-update
# Make sure we can open multiple PRs
branch-suffix: timestamp
title: '[Automated] Update psalm-baseline.xml'
body: |
Auto-generated update psalm-baseline.xml with fixed psalm warnings
labels: |
automated pr
reviewers: rullzer, morrisjobke, kesselb
3. to review
team-reviewers: server-backend
+32 -11
View File
@@ -7,6 +7,10 @@
<IfModule mod_proxy_fcgi.c>
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<IfModule mod_lsapi.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
</IfModule>
<IfModule mod_env.c>
@@ -39,7 +43,7 @@
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|svg|gif)$">
<FilesMatch "\.(css|js|svg|gif|png|jpg|ico)$">
Header set Cache-Control "max-age=15778463"
</FilesMatch>
@@ -48,6 +52,8 @@
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
# PHP 7.x
<IfModule mod_php7.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
@@ -56,6 +62,30 @@
SetEnv htaccessWorking true
</IfModule>
</IfModule>
# PHP 8+
<IfModule mod_php.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule pagespeed_module>
ModPagespeed Off
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} DavClnt
@@ -68,15 +98,6 @@
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
<IfModule pagespeed_module>
ModPagespeed Off
</IfModule>
+18
View File
@@ -0,0 +1,18 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d751713988987e9331980363e24189ce",
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.1.0"
}
@@ -338,7 +338,7 @@ class ClassLoader
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
* @return true|null True if loaded, null otherwise
*/
public function loadClass($class)
{
@@ -347,6 +347,8 @@ class ClassLoader
return true;
}
return null;
}
/**
@@ -0,0 +1,337 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer;
use Composer\Autoload\ClassLoader;
use Composer\Semver\VersionParser;
/**
* This class is copied in every Composer installed project and available to all
*
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
*
* To require it's presence, you can require `composer-runtime-api ^2.0`
*/
class InstalledVersions
{
private static $installed;
private static $canGetVendors;
private static $installedByVendor = array();
/**
* Returns a list of all package names which are present, either by being installed, replaced or provided
*
* @return string[]
* @psalm-return list<string>
*/
public static function getInstalledPackages()
{
$packages = array();
foreach (self::getInstalled() as $installed) {
$packages[] = array_keys($installed['versions']);
}
if (1 === \count($packages)) {
return $packages[0];
}
return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
}
/**
* Returns a list of all package names with a specific type e.g. 'library'
*
* @param string $type
* @return string[]
* @psalm-return list<string>
*/
public static function getInstalledPackagesByType($type)
{
$packagesByType = array();
foreach (self::getInstalled() as $installed) {
foreach ($installed['versions'] as $name => $package) {
if (isset($package['type']) && $package['type'] === $type) {
$packagesByType[] = $name;
}
}
}
return $packagesByType;
}
/**
* Checks whether the given package is installed
*
* This also returns true if the package name is provided or replaced by another package
*
* @param string $packageName
* @param bool $includeDevRequirements
* @return bool
*/
public static function isInstalled($packageName, $includeDevRequirements = true)
{
foreach (self::getInstalled() as $installed) {
if (isset($installed['versions'][$packageName])) {
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
}
}
return false;
}
/**
* Checks whether the given package satisfies a version constraint
*
* e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
*
* Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
*
* @param VersionParser $parser Install composer/semver to have access to this class and functionality
* @param string $packageName
* @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
* @return bool
*/
public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
return $provided->matches($constraint);
}
/**
* Returns a version constraint representing all the range(s) which are installed for a given package
*
* It is easier to use this via isInstalled() with the $constraint argument if you need to check
* whether a given version of a package is installed, and not just whether it exists
*
* @param string $packageName
* @return string Version constraint usable with composer/semver
*/
public static function getVersionRanges($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
$ranges = array();
if (isset($installed['versions'][$packageName]['pretty_version'])) {
$ranges[] = $installed['versions'][$packageName]['pretty_version'];
}
if (array_key_exists('aliases', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
}
if (array_key_exists('replaced', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
}
if (array_key_exists('provided', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
}
return implode(' || ', $ranges);
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
*/
public static function getVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['version'])) {
return null;
}
return $installed['versions'][$packageName]['version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
*/
public static function getPrettyVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['pretty_version'])) {
return null;
}
return $installed['versions'][$packageName]['pretty_version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
*/
public static function getReference($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['reference'])) {
return null;
}
return $installed['versions'][$packageName]['reference'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
*/
public static function getInstallPath($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @return array
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
*/
public static function getRootPackage()
{
$installed = self::getInstalled();
return $installed[0]['root'];
}
/**
* Returns the raw installed.php data for custom implementations
*
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
* @return array[]
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
*/
public static function getRawData()
{
@trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = include __DIR__ . '/installed.php';
} else {
self::$installed = array();
}
}
return self::$installed;
}
/**
* Returns the raw data of all installed.php which are currently loaded for custom implementations
*
* @return array[]
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
*/
public static function getAllRawData()
{
return self::getInstalled();
}
/**
* Lets you reload the static array from another file
*
* This is only useful for complex integrations in which a project needs to use
* this class but then also needs to execute another project's autoloader in process,
* and wants to ensure both projects have access to their version of installed.php.
*
* A typical case would be PHPUnit, where it would need to make sure it reads all
* the data it needs from this class, then call reload() with
* `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
* the project in which it runs can then also use this class safely, without
* interference between PHPUnit's dependencies and the project's dependencies.
*
* @param array[] $data A vendor/composer/installed.php data set
* @return void
*
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data
*/
public static function reload($data)
{
self::$installed = $data;
self::$installedByVendor = array();
}
/**
* @return array[]
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
*/
private static function getInstalled()
{
if (null === self::$canGetVendors) {
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
}
$installed = array();
if (self::$canGetVendors) {
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
if (isset(self::$installedByVendor[$vendorDir])) {
$installed[] = self::$installedByVendor[$vendorDir];
} elseif (is_file($vendorDir.'/composer/installed.php')) {
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $installed[count($installed) - 1];
}
}
}
}
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = require __DIR__ . '/installed.php';
} else {
self::$installed = array();
}
}
$installed[] = self::$installed;
return $installed;
}
}
@@ -0,0 +1,5 @@
{
"packages": [],
"dev": false,
"dev-package-names": []
}
@@ -0,0 +1,23 @@
<?php return array(
'root' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '7b056b2ed72b2a7a5937e0c251858e1906277b4b',
'name' => '__root__',
'dev' => false,
),
'versions' => array(
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '7b056b2ed72b2a7a5937e0c251858e1906277b4b',
'dev_requirement' => false,
),
),
);
+10
View File
@@ -61,3 +61,13 @@
}
}
}
@media (max-width: ($breakpoint-mobile / 2)) {
.app-settings #accessibility .preview-list .preview {
display: unset;
.preview-image {
height: 150px;
}
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+19
View File
@@ -0,0 +1,19 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Цёмная тэма",
"Enable dark theme" : "Уключыць цёмную тэму",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Цёмная тэма зніжае напружанне на вочы зніжаючы яркасць. Функцыя знаходзіцца ў стадыі распрацоўкі, таму, калі ласка, паведамляйце пра ўсе знойдзеныя памылкі.",
"High contrast mode" : "Рэжым высокай кантраснасці",
"Enable high contrast mode" : "Уключыць рэжым высокай кантраснасці",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Рэжым высокай кантраснасці каб палегчыць навігацыю. Гэта паменшыць візуальную якасць, але палепшыць зразумеласць.",
"Dyslexia font" : "Шрыфт для людзей з дыслексіяй",
"Enable dyslexia font" : "Выкарыстоўваць шрыфт для людзей з дыслексіяй",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic — гэта бясплатны шрыфт, распрацаваны каб паменшыць колькасць частых памылак чытання, якія выкліканы дыслексіяй,",
"Accessibility" : "Спецыяльныя магчымасці",
"Accessibility options for nextcloud" : "Налады спецыяльных магчымасцяў для Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Налады спецыяльных магчымасцяў, якія спрашчаюць карыстанне Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Універсальны доступ вельмі важны для нас. Мы прытрымліваемся стандартам і правяраем магчымасць выкарыстоўвання нашых сэрвісаў без мышы ці з выкарыстоўваннем дапаможных праграм, такіх, як экраны дыктар. Мы стараемся цалкам адпавядаць {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 на ўзроўні AA, а разам з рэжымам высокай кантраснасці на ўзроўні AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Калі вы знайшлі нейкую праблему, не саромейцеся напісаць у {issuetracker}наш трэкер памылак{linkend}. Таксама калі вы жадаеце прыняць удзел, можаце прыяднацца да {designteam}нашай каманды дызайнераў{linkend}!"
},
"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);");
+17
View File
@@ -0,0 +1,17 @@
{ "translations": {
"Dark theme" : "Цёмная тэма",
"Enable dark theme" : "Уключыць цёмную тэму",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Цёмная тэма зніжае напружанне на вочы зніжаючы яркасць. Функцыя знаходзіцца ў стадыі распрацоўкі, таму, калі ласка, паведамляйце пра ўсе знойдзеныя памылкі.",
"High contrast mode" : "Рэжым высокай кантраснасці",
"Enable high contrast mode" : "Уключыць рэжым высокай кантраснасці",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Рэжым высокай кантраснасці каб палегчыць навігацыю. Гэта паменшыць візуальную якасць, але палепшыць зразумеласць.",
"Dyslexia font" : "Шрыфт для людзей з дыслексіяй",
"Enable dyslexia font" : "Выкарыстоўваць шрыфт для людзей з дыслексіяй",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic — гэта бясплатны шрыфт, распрацаваны каб паменшыць колькасць частых памылак чытання, якія выкліканы дыслексіяй,",
"Accessibility" : "Спецыяльныя магчымасці",
"Accessibility options for nextcloud" : "Налады спецыяльных магчымасцяў для Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Налады спецыяльных магчымасцяў, якія спрашчаюць карыстанне Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Універсальны доступ вельмі важны для нас. Мы прытрымліваемся стандартам і правяраем магчымасць выкарыстоўвання нашых сэрвісаў без мышы ці з выкарыстоўваннем дапаможных праграм, такіх, як экраны дыктар. Мы стараемся цалкам адпавядаць {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 на ўзроўні AA, а разам з рэжымам высокай кантраснасці на ўзроўні AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Калі вы знайшлі нейкую праблему, не саромейцеся напісаць у {issuetracker}наш трэкер памылак{linkend}. Таксама калі вы жадаеце прыняць удзел, можаце прыяднацца да {designteam}нашай каманды дызайнераў{linkend}!"
},"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"
}
+2 -2
View File
@@ -3,13 +3,13 @@ OC.L10N.register(
{
"Dark theme" : "Tema oscuro",
"Enable dark theme" : "Activar tema oscuro",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro para facilitar la navegación reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que por favor, comunique cualquier problema que encuentre.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro para facilitar la navegación, reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que, por favor, comunique cualquier problema que encuentre.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Activar modo de alto contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un modo de alto contraste para facilitar la navegación. Se reducirá la calidad visual pero se aumentará la claridad.",
"Dyslexia font" : "Tipo de letra para dislexia",
"Enable dyslexia font" : "Activa tipo de letra para dislexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es un tipo de letra/fuente libre diseñado para reducir algunos de los errores de lectura comunes causados por la dislexia.",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es un tipo de letra libre diseñada para reducir algunos de los errores de lectura comunes causados por la dislexia.",
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ofrece múltiples opciones de accesibilidad para facilitarte el uso de Nextcloud",
+2 -2
View File
@@ -1,13 +1,13 @@
{ "translations": {
"Dark theme" : "Tema oscuro",
"Enable dark theme" : "Activar tema oscuro",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro para facilitar la navegación reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que por favor, comunique cualquier problema que encuentre.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro para facilitar la navegación, reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que, por favor, comunique cualquier problema que encuentre.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Activar modo de alto contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un modo de alto contraste para facilitar la navegación. Se reducirá la calidad visual pero se aumentará la claridad.",
"Dyslexia font" : "Tipo de letra para dislexia",
"Enable dyslexia font" : "Activa tipo de letra para dislexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es un tipo de letra/fuente libre diseñado para reducir algunos de los errores de lectura comunes causados por la dislexia.",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es un tipo de letra libre diseñada para reducir algunos de los errores de lectura comunes causados por la dislexia.",
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ofrece múltiples opciones de accesibilidad para facilitarte el uso de Nextcloud",
+14
View File
@@ -0,0 +1,14 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tema Oscuro",
"Enable dark theme" : "Habilitar el tema oscuro",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro facilita la navegación, reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que, por favor, comunique cualquier problema que encuentre.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Habilitar modo de contraste alto",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Modo de alto contraste facilita tu navegación. La calidad visual puede ser menor pero se incrementa la claridad.",
"Dyslexia font" : "Fuente para las personas con dislexia",
"Enable dyslexia font" : "Habilita la fuente para personas con dislexia",
"Accessibility options for nextcloud" : "Opciones de acceso para nexcloud"
},
"nplurals=2; plural=(n != 1);");
+12
View File
@@ -0,0 +1,12 @@
{ "translations": {
"Dark theme" : "Tema Oscuro",
"Enable dark theme" : "Habilitar el tema oscuro",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro facilita la navegación, reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que, por favor, comunique cualquier problema que encuentre.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Habilitar modo de contraste alto",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Modo de alto contraste facilita tu navegación. La calidad visual puede ser menor pero se incrementa la claridad.",
"Dyslexia font" : "Fuente para las personas con dislexia",
"Enable dyslexia font" : "Habilita la fuente para personas con dislexia",
"Accessibility options for nextcloud" : "Opciones de acceso para nexcloud"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+4 -1
View File
@@ -9,8 +9,11 @@ OC.L10N.register(
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Modo de alto contraste para facilitar tu navegación. La calidad visual puede ser menor pero incrementa la claridad.",
"Dyslexia font" : "Fuente para dislexia",
"Enable dyslexia font" : "Habilitar fuente para dislexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es una tipografía/fuente diseñada para mitigar algunos de los errores comunes de lectura causados por dislexia.",
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Provee múltiples opciones de accesibilidad para facilitar su uso de Nextcloud"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Provee múltiples opciones de accesibilidad para facilitar tu uso de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "El acceso universal es muy importante para nosotros. Seguimos los estándares web y verificamos que todo sea utilizable inclusive sin ratón, y con software de asistencia como lectores de pantalla. Buscamos cumplir con las {guidelines}Guías de Accesibilidad de Contenido Web{linkend} 2.1 sobre nivel AA, incluso sobre nivel AAA para el tema de alto contraste.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si encuentras cualquier problema, no dudes en reportarlo en {issuetracker}nuestra lista de errores{linkend}. Y si deseas involucrarte, ¡únete a {designteam}nuestro equipo de diseño{linkend}!"
},
"nplurals=2; plural=(n != 1);");
+4 -1
View File
@@ -7,8 +7,11 @@
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Modo de alto contraste para facilitar tu navegación. La calidad visual puede ser menor pero incrementa la claridad.",
"Dyslexia font" : "Fuente para dislexia",
"Enable dyslexia font" : "Habilitar fuente para dislexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es una tipografía/fuente diseñada para mitigar algunos de los errores comunes de lectura causados por dislexia.",
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Provee múltiples opciones de accesibilidad para facilitar su uso de Nextcloud"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Provee múltiples opciones de accesibilidad para facilitar tu uso de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "El acceso universal es muy importante para nosotros. Seguimos los estándares web y verificamos que todo sea utilizable inclusive sin ratón, y con software de asistencia como lectores de pantalla. Buscamos cumplir con las {guidelines}Guías de Accesibilidad de Contenido Web{linkend} 2.1 sobre nivel AA, incluso sobre nivel AAA para el tema de alto contraste.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si encuentras cualquier problema, no dudes en reportarlo en {issuetracker}nuestra lista de errores{linkend}. Y si deseas involucrarte, ¡únete a {designteam}nuestro equipo de diseño{linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+3 -1
View File
@@ -3,10 +3,12 @@ OC.L10N.register(
{
"Dark theme" : "Tume teema",
"Enable dark theme" : "Luba tume teema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tume teema vähedab koormust sinu silmadele, vähendades ekraani eredust. See funktsionaalsus on hetkel arendamisel, palun andke sellega seotud probleemidest meile teada.",
"High contrast mode" : "Kõrge kontrastsusega režiim",
"Enable high contrast mode" : "Lubage kõrge kontrastsusega režiim.",
"Dyslexia font" : "Düsleksia font",
"Enable dyslexia font" : "Luba düsleksia font",
"Accessibility" : "Ligipääsetavus"
"Accessibility" : "Ligipääsetavus",
"Accessibility options for nextcloud" : "Ligipääsetavuse valikud Nextcloudis"
},
"nplurals=2; plural=(n != 1);");
+3 -1
View File
@@ -1,10 +1,12 @@
{ "translations": {
"Dark theme" : "Tume teema",
"Enable dark theme" : "Luba tume teema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tume teema vähedab koormust sinu silmadele, vähendades ekraani eredust. See funktsionaalsus on hetkel arendamisel, palun andke sellega seotud probleemidest meile teada.",
"High contrast mode" : "Kõrge kontrastsusega režiim",
"Enable high contrast mode" : "Lubage kõrge kontrastsusega režiim.",
"Dyslexia font" : "Düsleksia font",
"Enable dyslexia font" : "Luba düsleksia font",
"Accessibility" : "Ligipääsetavus"
"Accessibility" : "Ligipääsetavus",
"Accessibility options for nextcloud" : "Ligipääsetavuse valikud Nextcloudis"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7 -7
View File
@@ -3,17 +3,17 @@ OC.L10N.register(
{
"Dark theme" : "Gai iluna",
"Enable dark theme" : "Gaitu gai iluna",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Arindu begietako kaltea gai ilunaz argitasuna eta distira murriztuz. Garapenean dagoen aukera da, beraz aurkitu zenezakeen edozein arazoren berri eman.",
"High contrast mode" : "Kontraste altuko modua",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Arindu begietako kaltea gai ilunaz argitasuna eta distira murriztuz. Garapenean dagoen aukera da, beraz, eman aurkitu zenezakeen edozein arazoren berri mesedez.",
"High contrast mode" : "Kontraste handiko modua",
"Enable high contrast mode" : "Gaitu kontraste handiko modua",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Kontraste altuko modua zuri nabigazioa errazteko. Kalitate bisuala murriztuko da baina argitasuna handiagotu.",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Kontraste handiko modua zuri nabigazioa errazteko. Kalitate bisuala murriztuko da baina argitasuna handiagotu.",
"Dyslexia font" : "Dislexia letra-tipoa",
"Enable dyslexia font" : "Gaitu dislexia letra-tipoa",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic letra-tipo librea da dislexiak eragindako ohiko irakurketa akats batzuk leuntzeko diseinatua.",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic letra-tipo librea da, dislexiak eragindako ohiko irakurketa akats batzuk leuntzeko diseinatua.",
"Accessibility" : "Erabilerraztasuna",
"Accessibility options for nextcloud" : "Erabilerraztasun aukerak nextcloudentzat",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Nextcloud-en erabilera errazteko hainbat aukera eskaintzen ditu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sarbide unibertsala oso garrantzitsua da guretzat. Web estadandarrak jarraitu eta sagu gabeko erabiltasuna egiaztatzen ditugu, pantaila-irakurle moduko software laguntzaileak barne. Helburu bezala jartzen dugu {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 AA mailan betetzea, kontraste altuko modua AAA mailaraino lortuz.",
"Accessibility options for nextcloud" : "Erabilerraztasun aukerak Nextcloudentzat",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Nextclouden erabilera errazteko hainbat aukera eskaintzen ditu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sarbide unibertsala izatea oso garrantzitsua da guretzat. Web estadandarrak jarraitu eta guztia sagurik gabe erabili ahal izatea bermatzen dugu, pantaila-irakurle moduko software laguntzaileak barne. Helburu bezala jartzen dugu {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 AA mailan betetzea, kontraste altuko modua AAA mailaraino betez.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Arazorik aurkitzen baduzu, bidali ezazu lasai {issuetracker}gure arazo-kontrolatzailera{linkend}. Eta parte hartu nahi baduzu, elkartu zaitez gurekin {designteam}gure diseinu taldera{linkend}!"
},
"nplurals=2; plural=(n != 1);");
+7 -7
View File
@@ -1,17 +1,17 @@
{ "translations": {
"Dark theme" : "Gai iluna",
"Enable dark theme" : "Gaitu gai iluna",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Arindu begietako kaltea gai ilunaz argitasuna eta distira murriztuz. Garapenean dagoen aukera da, beraz aurkitu zenezakeen edozein arazoren berri eman.",
"High contrast mode" : "Kontraste altuko modua",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Arindu begietako kaltea gai ilunaz argitasuna eta distira murriztuz. Garapenean dagoen aukera da, beraz, eman aurkitu zenezakeen edozein arazoren berri mesedez.",
"High contrast mode" : "Kontraste handiko modua",
"Enable high contrast mode" : "Gaitu kontraste handiko modua",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Kontraste altuko modua zuri nabigazioa errazteko. Kalitate bisuala murriztuko da baina argitasuna handiagotu.",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Kontraste handiko modua zuri nabigazioa errazteko. Kalitate bisuala murriztuko da baina argitasuna handiagotu.",
"Dyslexia font" : "Dislexia letra-tipoa",
"Enable dyslexia font" : "Gaitu dislexia letra-tipoa",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic letra-tipo librea da dislexiak eragindako ohiko irakurketa akats batzuk leuntzeko diseinatua.",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic letra-tipo librea da, dislexiak eragindako ohiko irakurketa akats batzuk leuntzeko diseinatua.",
"Accessibility" : "Erabilerraztasuna",
"Accessibility options for nextcloud" : "Erabilerraztasun aukerak nextcloudentzat",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Nextcloud-en erabilera errazteko hainbat aukera eskaintzen ditu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sarbide unibertsala oso garrantzitsua da guretzat. Web estadandarrak jarraitu eta sagu gabeko erabiltasuna egiaztatzen ditugu, pantaila-irakurle moduko software laguntzaileak barne. Helburu bezala jartzen dugu {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 AA mailan betetzea, kontraste altuko modua AAA mailaraino lortuz.",
"Accessibility options for nextcloud" : "Erabilerraztasun aukerak Nextcloudentzat",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Nextclouden erabilera errazteko hainbat aukera eskaintzen ditu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sarbide unibertsala izatea oso garrantzitsua da guretzat. Web estadandarrak jarraitu eta guztia sagurik gabe erabili ahal izatea bermatzen dugu, pantaila-irakurle moduko software laguntzaileak barne. Helburu bezala jartzen dugu {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 AA mailan betetzea, kontraste altuko modua AAA mailaraino betez.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Arazorik aurkitzen baduzu, bidali ezazu lasai {issuetracker}gure arazo-kontrolatzailera{linkend}. Eta parte hartu nahi baduzu, elkartu zaitez gurekin {designteam}gure diseinu taldera{linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+12 -9
View File
@@ -1,16 +1,19 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "تم تاریک",
"Enable dark theme" : "فعالسازی تم تاریک",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "تم تاریک برای با کاهش نور و نیز شفافیت برای راحتی بیشتر چشمان شما در استفاده از نکست کلود تعبیه دیده شده است و این امکان در حال توسعه می باشد،به همین دلیل هرگونه ایراد پیش آمده را گزارش دهید.",
"Dark theme" : "زمینه تیره",
"Enable dark theme" : "فعالسازی زمینه تیره",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "یک زمینه تیره برای راحتی چشم‌های شما با کاهش روی‌هم‌رفته درخشندگی و روشنایی. این امکان هنوز در حال توسعه میباشد، بنابراین در صورت مشاهده هرگونه ایراد، آن را گزارش کنید.",
"High contrast mode" : "حالت با کنتراست بالا",
"Enable high contrast mode" : "فعالسازی حالت کنتراست بالا",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "یک حالت کنتراست بالا برای سهولت در پیمایش. کیفیت بصری کاهش می یابد اما وضوح افزایش می یابد.",
"Dyslexia font" : "فونت Dyslexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "اپن دیسلکسیک یک فونت و نمایه رایگان است که طراحی شده برای خواندن بعضی ایراد های دیسلکسیا",
"Accessibility" : "در دسترس بودن",
"Accessibility options for nextcloud" : "امکان در دسترس بودن برای نکس کلود",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "امکان دسترسی امکانات از چند مسیر برای کار کردن راحت تر شما با نکست کلود قرارداده شده است."
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "یک حالت کنتراست بالا برای سهولت در پیمایش. کیفیت بصری کاهش، اما وضوح افزایش مییابد.",
"Dyslexia font" : "فونت خوانش‌پریشی یا دیسلکسیا",
"Enable dyslexia font" : "فونت خوانش‌پریشی فعال شود",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "اُپن‌دیسلکسیک یک فونت/طرح حروف رایگان است که برای کاهش برخی از خطاهای معمول در خواندن ناشی از خوانش‌پریشی طراحی شده‌است.",
"Accessibility" : "قابلیت دسترس‌پذیری",
"Accessibility options for nextcloud" : "گزینه‌های دسترس‌پذیری برای نکستکلود",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "گزینه‌های متعدد دسترس‌پذیری برای تسهیل کار شما در نکست‌کلود را فراهم می‌سازد.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "دسترسی جهانی برای ما بسیار مهم است. ما از استانداردهای وب پیروی می‌کنیم و دقیت می‌کنیم تا همه چیز بدون موش‌واره و نرم‌افزارهای کمکی مانند صفحه‌خوان‌ها نیز قابل استفاده باشند. هدف ما این است که مطابق با دستورالعمل {guidelines}راهنماهای دسترس‌پذیری محتوا تحت وب{linkend} نسخه 2.1 در سطح AA، و حتی با زمینه کنتراست بالا در سطح AAA باشیم.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "اگر مشکلی پیدا کردید، از گزارش آنها در {issuetracker}در دنبال‌کننده مشکلات ما{linked} دریغ نکنید. و اگر می‌خواهید مشارکت داشته باشید، به {designteam}تیم طراحی ما{linkend} بپیوندید!"
},
"nplurals=2; plural=(n > 1);");
+12 -9
View File
@@ -1,14 +1,17 @@
{ "translations": {
"Dark theme" : "تم تاریک",
"Enable dark theme" : "فعالسازی تم تاریک",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "تم تاریک برای با کاهش نور و نیز شفافیت برای راحتی بیشتر چشمان شما در استفاده از نکست کلود تعبیه دیده شده است و این امکان در حال توسعه می باشد،به همین دلیل هرگونه ایراد پیش آمده را گزارش دهید.",
"Dark theme" : "زمینه تیره",
"Enable dark theme" : "فعالسازی زمینه تیره",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "یک زمینه تیره برای راحتی چشم‌های شما با کاهش روی‌هم‌رفته درخشندگی و روشنایی. این امکان هنوز در حال توسعه میباشد، بنابراین در صورت مشاهده هرگونه ایراد، آن را گزارش کنید.",
"High contrast mode" : "حالت با کنتراست بالا",
"Enable high contrast mode" : "فعالسازی حالت کنتراست بالا",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "یک حالت کنتراست بالا برای سهولت در پیمایش. کیفیت بصری کاهش می یابد اما وضوح افزایش می یابد.",
"Dyslexia font" : "فونت Dyslexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "اپن دیسلکسیک یک فونت و نمایه رایگان است که طراحی شده برای خواندن بعضی ایراد های دیسلکسیا",
"Accessibility" : "در دسترس بودن",
"Accessibility options for nextcloud" : "امکان در دسترس بودن برای نکس کلود",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "امکان دسترسی امکانات از چند مسیر برای کار کردن راحت تر شما با نکست کلود قرارداده شده است."
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "یک حالت کنتراست بالا برای سهولت در پیمایش. کیفیت بصری کاهش، اما وضوح افزایش مییابد.",
"Dyslexia font" : "فونت خوانش‌پریشی یا دیسلکسیا",
"Enable dyslexia font" : "فونت خوانش‌پریشی فعال شود",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "اُپن‌دیسلکسیک یک فونت/طرح حروف رایگان است که برای کاهش برخی از خطاهای معمول در خواندن ناشی از خوانش‌پریشی طراحی شده‌است.",
"Accessibility" : "قابلیت دسترس‌پذیری",
"Accessibility options for nextcloud" : "گزینه‌های دسترس‌پذیری برای نکستکلود",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "گزینه‌های متعدد دسترس‌پذیری برای تسهیل کار شما در نکست‌کلود را فراهم می‌سازد.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "دسترسی جهانی برای ما بسیار مهم است. ما از استانداردهای وب پیروی می‌کنیم و دقیت می‌کنیم تا همه چیز بدون موش‌واره و نرم‌افزارهای کمکی مانند صفحه‌خوان‌ها نیز قابل استفاده باشند. هدف ما این است که مطابق با دستورالعمل {guidelines}راهنماهای دسترس‌پذیری محتوا تحت وب{linkend} نسخه 2.1 در سطح AA، و حتی با زمینه کنتراست بالا در سطح AAA باشیم.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "اگر مشکلی پیدا کردید، از گزارش آنها در {issuetracker}در دنبال‌کننده مشکلات ما{linked} دریغ نکنید. و اگر می‌خواهید مشارکت داشته باشید، به {designteam}تیم طراحی ما{linkend} بپیوندید!"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
+2 -2
View File
@@ -3,10 +3,10 @@ OC.L10N.register(
{
"Dark theme" : "Thème sombre",
"Enable dark theme" : "Activer le thème sombre",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un thème sombre pour soulager vos yeux en réduisant la luminosité et l’éclat général. Il est encore en cours de développement, veuillez donc nous signaler les problèmes que vous pourriez rencontrer.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un thème sombre pour soulager vos yeux en réduisant la luminosité générale. Il est encore en cours de développement, veuillez donc nous signaler les problèmes que vous pourriez rencontrer.",
"High contrast mode" : "Thème à contraste élevé",
"Enable high contrast mode" : "Activer le thème à contraste élevé",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un thème au contraste élevé pour faciliter votre navigation. La qualité visuelle sera réduite, mais la clarté sera améliorée.",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un thème au contraste élevé pour faciliter votre navigation. La qualité visuelle sera réduite, mais la lisibilité sera améliorée.",
"Dyslexia font" : "Police pour dyslexiques",
"Enable dyslexia font" : "Activer la police pour dyslexiques",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic est une police de caractères libre conçue pour atténuer certaines des erreurs de lecture courantes causées par la dyslexie.",
+2 -2
View File
@@ -1,10 +1,10 @@
{ "translations": {
"Dark theme" : "Thème sombre",
"Enable dark theme" : "Activer le thème sombre",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un thème sombre pour soulager vos yeux en réduisant la luminosité et l’éclat général. Il est encore en cours de développement, veuillez donc nous signaler les problèmes que vous pourriez rencontrer.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un thème sombre pour soulager vos yeux en réduisant la luminosité générale. Il est encore en cours de développement, veuillez donc nous signaler les problèmes que vous pourriez rencontrer.",
"High contrast mode" : "Thème à contraste élevé",
"Enable high contrast mode" : "Activer le thème à contraste élevé",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un thème au contraste élevé pour faciliter votre navigation. La qualité visuelle sera réduite, mais la clarté sera améliorée.",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un thème au contraste élevé pour faciliter votre navigation. La qualité visuelle sera réduite, mais la lisibilité sera améliorée.",
"Dyslexia font" : "Police pour dyslexiques",
"Enable dyslexia font" : "Activer la police pour dyslexiques",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic est une police de caractères libre conçue pour atténuer certaines des erreurs de lecture courantes causées par la dyslexie.",
+1 -1
View File
@@ -10,7 +10,7 @@ OC.L10N.register(
"Dyslexia font" : "Font disleksia",
"Enable dyslexia font" : "Aktifkan fon disleksia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic adalah typeface/font gratis yang didesain untuk mengurangi kesalahan membaca oleh penderita disleksia",
"Accessibility" : "aksesbilitas",
"Accessibility" : "Aksesbilitas",
"Accessibility options for nextcloud" : "Opsi aksesibilitas untuk nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Menyediakan beberapa opsi aksesibilitas untuk memudahkan Anda menggunakan Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Akses universal sangat penting bagi kami. Kami mengikuti standar web dan memeriksa agar semua dapat digunakan, bahkan saat tanpa menggunakan tetikus, dan lainnya seperti perangkat lunak pembantu pembaca layar. Kami bertujuan untuk mematuhi {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 pada tingkat AA, dengan tema kontras tinggi bahkan pada tingkat AAA.",
+1 -1
View File
@@ -8,7 +8,7 @@
"Dyslexia font" : "Font disleksia",
"Enable dyslexia font" : "Aktifkan fon disleksia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic adalah typeface/font gratis yang didesain untuk mengurangi kesalahan membaca oleh penderita disleksia",
"Accessibility" : "aksesbilitas",
"Accessibility" : "Aksesbilitas",
"Accessibility options for nextcloud" : "Opsi aksesibilitas untuk nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Menyediakan beberapa opsi aksesibilitas untuk memudahkan Anda menggunakan Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Akses universal sangat penting bagi kami. Kami mengikuti standar web dan memeriksa agar semua dapat digunakan, bahkan saat tanpa menggunakan tetikus, dan lainnya seperti perangkat lunak pembantu pembaca layar. Kami bertujuan untuk mematuhi {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 pada tingkat AA, dengan tema kontras tinggi bahkan pada tingkat AAA.",
+4 -2
View File
@@ -1,16 +1,18 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tumšs motīvs",
"Dark theme" : "Tumšais motīvs",
"Enable dark theme" : "Iespējot tumšo motīvu",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tumšais motīvs atslogo Tavas acis samazinot kopējo atspīdumu un spilgtumu. Tas joprojām atrodas izstrādes režīmā, tādēļ dod ziņu par jebkurām atrastajām problēmām.",
"High contrast mode" : "Augsta kontrasta režīms",
"Enable high contrast mode" : "Iespējot augsta kontrasta režīmu",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Augsta kontrasta režīms atvieglo navigāciju. Vizuālā kvalitāte tiks samazināta, bet skaidrība paaugstināsies.",
"Dyslexia font" : "Dislektisks fonts",
"Enable dyslexia font" : "Iespējot disleksijas fontu",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic ir bezmaksas fonts, kas veidots, lai mazinātu tipiskākos lasīšanas traucējumus, ko izraisa disleksija.",
"Accessibility" : "Pieejamība",
"Accessibility options for nextcloud" : "nextcloud Pieejamības uzstādījumi",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Piedāvā vairākus pieejamības uzstādījumus, kas atvieglo Nextcloud lietošanu."
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Piedāvā vairākus pieejamības uzstādījumus, kas atvieglo Nextcloud lietošanu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Universāla pieejamība mums ir ļoti svarīga. Mēs sekojam tīmekļa standartiem un panākam ka visu var lietot arī bez datorpeles, un palīgprogrammatūras, kā ekrāna lasītāja. Mēs mērķējam uz būšanu piekāpīgi ar {vadlīnijām}Tīmekļa satura pieejamības vadlīnijas{piesaistīts} 2.1 uz AA līmeņa, ar augsta kontrasta režīmu pat AAA līmenī"
},
"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);");
+4 -2
View File
@@ -1,14 +1,16 @@
{ "translations": {
"Dark theme" : "Tumšs motīvs",
"Dark theme" : "Tumšais motīvs",
"Enable dark theme" : "Iespējot tumšo motīvu",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tumšais motīvs atslogo Tavas acis samazinot kopējo atspīdumu un spilgtumu. Tas joprojām atrodas izstrādes režīmā, tādēļ dod ziņu par jebkurām atrastajām problēmām.",
"High contrast mode" : "Augsta kontrasta režīms",
"Enable high contrast mode" : "Iespējot augsta kontrasta režīmu",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Augsta kontrasta režīms atvieglo navigāciju. Vizuālā kvalitāte tiks samazināta, bet skaidrība paaugstināsies.",
"Dyslexia font" : "Dislektisks fonts",
"Enable dyslexia font" : "Iespējot disleksijas fontu",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic ir bezmaksas fonts, kas veidots, lai mazinātu tipiskākos lasīšanas traucējumus, ko izraisa disleksija.",
"Accessibility" : "Pieejamība",
"Accessibility options for nextcloud" : "nextcloud Pieejamības uzstādījumi",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Piedāvā vairākus pieejamības uzstādījumus, kas atvieglo Nextcloud lietošanu."
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Piedāvā vairākus pieejamības uzstādījumus, kas atvieglo Nextcloud lietošanu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Universāla pieejamība mums ir ļoti svarīga. Mēs sekojam tīmekļa standartiem un panākam ka visu var lietot arī bez datorpeles, un palīgprogrammatūras, kā ekrāna lasītāja. Mēs mērķējam uz būšanu piekāpīgi ar {vadlīnijām}Tīmekļa satura pieejamības vadlīnijas{piesaistīts} 2.1 uz AA līmeņa, ar augsta kontrasta režīmu pat AAA līmenī"
},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"
}
+14
View File
@@ -0,0 +1,14 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "गडद थीम",
"Enable dark theme" : "गडद थीम सुरु करा",
"High contrast mode" : "अतीविरोधाभासी पद्धत",
"Enable high contrast mode" : "अतीविरोधाभासी पद्धत सुरु करा",
"Dyslexia font" : "डिस्लेक्सिया फॉन्ट",
"Enable dyslexia font" : "डिस्लेक्सिया फॉन्ट सुरु करा",
"Accessibility" : "सुलभता",
"Accessibility options for nextcloud" : "नेक्सटक्लाउडसाठी सुलभता पर्याय",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "तुमच्या नेक्सटक्लाउडच्या सहज वापराकरीता विविध सुलभता पर्याय देते"
},
"nplurals=2; plural=(n != 1);");
+12
View File
@@ -0,0 +1,12 @@
{ "translations": {
"Dark theme" : "गडद थीम",
"Enable dark theme" : "गडद थीम सुरु करा",
"High contrast mode" : "अतीविरोधाभासी पद्धत",
"Enable high contrast mode" : "अतीविरोधाभासी पद्धत सुरु करा",
"Dyslexia font" : "डिस्लेक्सिया फॉन्ट",
"Enable dyslexia font" : "डिस्लेक्सिया फॉन्ट सुरु करा",
"Accessibility" : "सुलभता",
"Accessibility options for nextcloud" : "नेक्सटक्लाउडसाठी सुलभता पर्याय",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "तुमच्या नेक्सटक्लाउडच्या सहज वापराकरीता विविध सुलभता पर्याय देते"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -4,7 +4,7 @@ OC.L10N.register(
"Dark theme" : "Mørkt tema",
"Enable dark theme" : "Aktiver mørkt tema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Et mørkt tema for å lette på øynene ved å redusere lysstyrken. Den er fortsatt under utvikling, vennligst rapporter feilene som du finner.",
"High contrast mode" : "Høykontrast-modus",
"High contrast mode" : "Høykontrastmodus",
"Enable high contrast mode" : "Aktiver høy kontrast",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "En høykontrast modus for å få en lettere navigasjon. Den visuelle kvaliteten vil bli reusert men klarheten vil bli økt.",
"Dyslexia font" : "Dysleksi skrifttype",
+1 -1
View File
@@ -2,7 +2,7 @@
"Dark theme" : "Mørkt tema",
"Enable dark theme" : "Aktiver mørkt tema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Et mørkt tema for å lette på øynene ved å redusere lysstyrken. Den er fortsatt under utvikling, vennligst rapporter feilene som du finner.",
"High contrast mode" : "Høykontrast-modus",
"High contrast mode" : "Høykontrastmodus",
"Enable high contrast mode" : "Aktiver høy kontrast",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "En høykontrast modus for å få en lettere navigasjon. Den visuelle kvaliteten vil bli reusert men klarheten vil bli økt.",
"Dyslexia font" : "Dysleksi skrifttype",
+8 -6
View File
@@ -1,17 +1,19 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Mørkt tema",
"Enable dark theme" : "Mogleggjere mørkt tema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Ei mørk drakt som er mildare mot augo ved å redusera utstråling og lysstyrke. Drakta vert framleis utvikla, så sei gjerne ifrå dersom du får vanskar.",
"High contrast mode" : "Høg kontrast modus",
"Enable high contrast mode" : "Mogleggjere høg kontrast modus",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Høg kontrast modus gjer det enklare å navigere. Visuell kvalitet vil bli redusert, mens innhaldet vert klårare.",
"Dyslexia font" : "Dysleksi-skrifttype",
"Enable dyslexia font" : "Mogleggjere skrifttype for dysleksikarar ",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic er ein gratis skrifttype som er laga for å redusera nokre vanlege lesefeil som kjem av dysleksi.",
"Accessibility" : "Tilgjenge",
"Accessibility options for nextcloud" : "Brukarval for tilgjenge i Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ulike innstillingar for å gjera Nextcloud lettare å bruka for funksjonshemma",
"High contrast theme" : "Høgkontrast-drakt",
"A high contrast theme to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Ei drakt med høg kontrast som gjer det lettare å navigera. Den visuelle kvaliteten er redusert, men innhaldet er klårare.",
"Web Content Accessibility Guidelines" : "Retningsliner for tilgjenge i vev-innhald",
"our issue tracker" : "feilsporings-systemet vårt",
"our design team" : "utformingsgruppa vår",
"Enable" : "Slå på"
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Universell tilgang er veldig viktig for oss. Vi følg vev standardar og undersøkjer at alt er mogleg å gjennomføre utan mus, og saman med hjelpeprogramvare som skjermlesar. Vi har som mål å vere i samsvar med {retningslinjene} Retningslinjer for tilgjengeleg nett innhald {lenkje} 2.1 for A-nivå, til og med for tema med høy kontrast på AAA-nivå. ",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "I tilfele du finn nokre problem, ikkje vent med å rapportere dei på {problemsøkjar} vår problemsøkjar {lenkje}. Og ønskjer du å engasjere deg, ta del i {designergruppa} designergruppa vår {lenkje}!"
},
"nplurals=2; plural=(n != 1);");
+8 -6
View File
@@ -1,15 +1,17 @@
{ "translations": {
"Dark theme" : "Mørkt tema",
"Enable dark theme" : "Mogleggjere mørkt tema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Ei mørk drakt som er mildare mot augo ved å redusera utstråling og lysstyrke. Drakta vert framleis utvikla, så sei gjerne ifrå dersom du får vanskar.",
"High contrast mode" : "Høg kontrast modus",
"Enable high contrast mode" : "Mogleggjere høg kontrast modus",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Høg kontrast modus gjer det enklare å navigere. Visuell kvalitet vil bli redusert, mens innhaldet vert klårare.",
"Dyslexia font" : "Dysleksi-skrifttype",
"Enable dyslexia font" : "Mogleggjere skrifttype for dysleksikarar ",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic er ein gratis skrifttype som er laga for å redusera nokre vanlege lesefeil som kjem av dysleksi.",
"Accessibility" : "Tilgjenge",
"Accessibility options for nextcloud" : "Brukarval for tilgjenge i Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ulike innstillingar for å gjera Nextcloud lettare å bruka for funksjonshemma",
"High contrast theme" : "Høgkontrast-drakt",
"A high contrast theme to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Ei drakt med høg kontrast som gjer det lettare å navigera. Den visuelle kvaliteten er redusert, men innhaldet er klårare.",
"Web Content Accessibility Guidelines" : "Retningsliner for tilgjenge i vev-innhald",
"our issue tracker" : "feilsporings-systemet vårt",
"our design team" : "utformingsgruppa vår",
"Enable" : "Slå på"
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Universell tilgang er veldig viktig for oss. Vi følg vev standardar og undersøkjer at alt er mogleg å gjennomføre utan mus, og saman med hjelpeprogramvare som skjermlesar. Vi har som mål å vere i samsvar med {retningslinjene} Retningslinjer for tilgjengeleg nett innhald {lenkje} 2.1 for A-nivå, til og med for tema med høy kontrast på AAA-nivå. ",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "I tilfele du finn nokre problem, ikkje vent med å rapportere dei på {problemsøkjar} vår problemsøkjar {lenkje}. Og ønskjer du å engasjere deg, ta del i {designergruppa} designergruppa vår {lenkje}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+6 -1
View File
@@ -3,12 +3,17 @@ OC.L10N.register(
{
"Dark theme" : "Tèma fosc",
"Enable dark theme" : "Activar lo tèma fosc",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un tèma escur per solaçar vòstres uèlhs en redusissent la luminositat globala. Es encara en òbra, doncas mercés de senhalar quina que siá avaria que vesètz.",
"High contrast mode" : "Mòde fòrt contraste",
"Enable high contrast mode" : "Activar lo mòde fòrt contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un mòde fòrt contraste per facilitar la navegacion. La qualitat visuala baissarà mas la claror serà aumentada.",
"Dyslexia font" : "Poliça dyslexia",
"Enable dyslexia font" : "Activar la poliça dyslexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es una poliça d'escritura concebuda per resòlver las errors de lectura comuna causadas per la dislexia.",
"Accessibility" : "Accessibilitat",
"Accessibility options for nextcloud" : "Opcions daccessibilitat per nextcloud"
"Accessibility options for nextcloud" : "Opcions daccessibilitat per nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Fornís mantuna opcion daccessibilitat per facilitar vòstra utilizacion de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Un accès universal es plan important per nosautres. Seguissèm los estandards web e verificam de rendre tot utilizable tanben sens mirga e amb de logicial dassiténcia coma los lectors decran. Avèm per tòca de complir las {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 al nivèl AA, amb un tèma de contraste naut amai al nivèl AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Se trobatz una avaria, esitetz pas de nos las senhalar sul {issuetracker}traçador de bugs{linkend}. E se volètz vos implicar, venètz rejónher {designteam}nòstra equipa de concepcion{linkend}!"
},
"nplurals=2; plural=(n > 1);");
+6 -1
View File
@@ -1,12 +1,17 @@
{ "translations": {
"Dark theme" : "Tèma fosc",
"Enable dark theme" : "Activar lo tèma fosc",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un tèma escur per solaçar vòstres uèlhs en redusissent la luminositat globala. Es encara en òbra, doncas mercés de senhalar quina que siá avaria que vesètz.",
"High contrast mode" : "Mòde fòrt contraste",
"Enable high contrast mode" : "Activar lo mòde fòrt contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un mòde fòrt contraste per facilitar la navegacion. La qualitat visuala baissarà mas la claror serà aumentada.",
"Dyslexia font" : "Poliça dyslexia",
"Enable dyslexia font" : "Activar la poliça dyslexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es una poliça d'escritura concebuda per resòlver las errors de lectura comuna causadas per la dislexia.",
"Accessibility" : "Accessibilitat",
"Accessibility options for nextcloud" : "Opcions daccessibilitat per nextcloud"
"Accessibility options for nextcloud" : "Opcions daccessibilitat per nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Fornís mantuna opcion daccessibilitat per facilitar vòstra utilizacion de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Un accès universal es plan important per nosautres. Seguissèm los estandards web e verificam de rendre tot utilizable tanben sens mirga e amb de logicial dassiténcia coma los lectors decran. Avèm per tòca de complir las {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 al nivèl AA, amb un tèma de contraste naut amai al nivèl AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Se trobatz una avaria, esitetz pas de nos las senhalar sul {issuetracker}traçador de bugs{linkend}. E se volètz vos implicar, venètz rejónher {designteam}nòstra equipa de concepcion{linkend}!"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
+1 -1
View File
@@ -2,7 +2,7 @@ OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tema escuro",
"Enable dark theme" : "Ativar tema escuro",
"Enable dark theme" : "Enable dark theme",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Um tema escuro para aliviar os olhos, reduzindo a luminosidade e brilho geral. Ainda está em desenvolvimento, por isso, informe qualquer problema encontrado.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Ativar modo de alto contraste",
+1 -1
View File
@@ -1,6 +1,6 @@
{ "translations": {
"Dark theme" : "Tema escuro",
"Enable dark theme" : "Ativar tema escuro",
"Enable dark theme" : "Enable dark theme",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Um tema escuro para aliviar os olhos, reduzindo a luminosidade e brilho geral. Ainda está em desenvolvimento, por isso, informe qualquer problema encontrado.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Ativar modo de alto contraste",
+3 -3
View File
@@ -12,8 +12,8 @@ OC.L10N.register(
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic — бесплатный шрифт, который смягчает некоторые распространённые ошибки чтения, вызываемые дислексией.",
"Accessibility" : "Доступность",
"Accessibility options for nextcloud" : "Настройки доступности для Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Предоставляет несколько вариантов доступности, чтобы облегчить использование Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Nextcloud разрабатывается с возможностью его использования всеми. При разработке учитываются веб-стандарты и выполняются проверки возможности использования без мыши, а также при помощи специальных программ, например, выполняющих чтение с экрана. Nextcloud стремиться к выполнению рекомендаций Руководства доступности веб-контента версии 2.1 на уровне АА, а при использованием режима высокой контрастности — даже на уровне ААА.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Сообщайте об обнаруженных проблемах в {issuetracker} системе отслеживания ошибок{linkend}. Присоединяйтесь к {designteam}команде дизайнеров{linkend} чтобы участвовать в разработке."
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Предлагает дополнительные настройки для упрощения использования Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Доступная среда очень важна для нас. При разработке мы следуем веб-стандартам, контролируя возможность пользования всем сервисом без помощи мыши и с использованием вспомогательных программ, например, выполняющих чтение с экрана. Мы стремимся к выполнению рекомендаций {guidelines}Руководства доступности Веб-Контента{linkend} 2.1 на уровне АА, а при использовании режима высокой контрастности — даже на уровне ААА.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "При обнаружении ошибок, не стесняйтесь сообщать о них {issuetracker}на наш форум{linkend}. Если Вы заинтересованы в продвижении проекта присоединяйтесь к {designteam}команде дизайнеров{linkend}!"
},
"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);");
+3 -3
View File
@@ -10,8 +10,8 @@
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic — бесплатный шрифт, который смягчает некоторые распространённые ошибки чтения, вызываемые дислексией.",
"Accessibility" : "Доступность",
"Accessibility options for nextcloud" : "Настройки доступности для Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Предоставляет несколько вариантов доступности, чтобы облегчить использование Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Nextcloud разрабатывается с возможностью его использования всеми. При разработке учитываются веб-стандарты и выполняются проверки возможности использования без мыши, а также при помощи специальных программ, например, выполняющих чтение с экрана. Nextcloud стремиться к выполнению рекомендаций Руководства доступности веб-контента версии 2.1 на уровне АА, а при использованием режима высокой контрастности — даже на уровне ААА.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Сообщайте об обнаруженных проблемах в {issuetracker} системе отслеживания ошибок{linkend}. Присоединяйтесь к {designteam}команде дизайнеров{linkend} чтобы участвовать в разработке."
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Предлагает дополнительные настройки для упрощения использования Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Доступная среда очень важна для нас. При разработке мы следуем веб-стандартам, контролируя возможность пользования всем сервисом без помощи мыши и с использованием вспомогательных программ, например, выполняющих чтение с экрана. Мы стремимся к выполнению рекомендаций {guidelines}Руководства доступности Веб-Контента{linkend} 2.1 на уровне АА, а при использовании режима высокой контрастности — даже на уровне ААА.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "При обнаружении ошибок, не стесняйтесь сообщать о них {issuetracker}на наш форум{linkend}. Если Вы заинтересованы в продвижении проекта присоединяйтесь к {designteam}команде дизайнеров{linkend}!"
},"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"
}
+6 -1
View File
@@ -2,13 +2,18 @@ OC.L10N.register(
"accessibility",
{
"Dark theme" : "Temë e errët",
"Enable dark theme" : "Aktivizo temën e errët",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Një temë e errët për të lehtësuar sytë duke ulur shkëlqimin dhe ndritshmërinë e përgjithshme. Është ende në zhvillim, prandaj ju lutemi raportoni çdo çështje që mund të gjeni.",
"High contrast mode" : "Modalitet me kontrast të lartë",
"Enable high contrast mode" : "Aktivizoni modalitetin me kontrast të lartë",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Një modalitet me kontrast të lartë për të lehtësuar lundrimin. Cilësia vizuale do të reduktohet por qartësia do të rritet",
"Dyslexia font" : "Fonti Dyslexia",
"Enable dyslexia font" : "Aktivizo fontin e disleksisë",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic është një font / karakter tipografik i lirë i dizajnuar për të zbutur disa nga gabimet e zakonshme të leximit të shkaktuara nga disleksija.",
"Accessibility" : "Aksesueshmëria",
"Accessibility options for nextcloud" : "Opsionet e aksesueshmërisë për nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Mundëson shumë opsione të aksesueshmërisë që t'ju lehtësojë përdorimin e Nextcloud"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Mundëson shumë opsione të aksesueshmërisë që t'ju lehtësojë përdorimin e Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Qasja universale është shumë e rëndësishme për ne. Ne ndjekim standardet e uebit dhe kontrollojmë që çdo gjë të jetë e përdorshme edhe pa miun, dhe softuerë ndihmës siç janë lexuesit e ekranit. Ne synojmë të jemi në përputhje me {udhëzimet}Udhëzimet mbi Aksesueshmërinë për Përmbajtjen në Internet{linkend} 2.1 në nivelin AA, me temën e kontrastit të lartë edhe në nivelin AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Nëse gjeni ndonjë problem, mos hezitoni t'i raportoni ato në {issuetracker}gjurmuesi ynë i çështjeve{linkend}. Dhe nëse doni të përfshiheni, ejani bashkohuni me {designteam}ekipin tonë të dizajnit{linkend}!"
},
"nplurals=2; plural=(n != 1);");
+6 -1
View File
@@ -1,12 +1,17 @@
{ "translations": {
"Dark theme" : "Temë e errët",
"Enable dark theme" : "Aktivizo temën e errët",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Një temë e errët për të lehtësuar sytë duke ulur shkëlqimin dhe ndritshmërinë e përgjithshme. Është ende në zhvillim, prandaj ju lutemi raportoni çdo çështje që mund të gjeni.",
"High contrast mode" : "Modalitet me kontrast të lartë",
"Enable high contrast mode" : "Aktivizoni modalitetin me kontrast të lartë",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Një modalitet me kontrast të lartë për të lehtësuar lundrimin. Cilësia vizuale do të reduktohet por qartësia do të rritet",
"Dyslexia font" : "Fonti Dyslexia",
"Enable dyslexia font" : "Aktivizo fontin e disleksisë",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic është një font / karakter tipografik i lirë i dizajnuar për të zbutur disa nga gabimet e zakonshme të leximit të shkaktuara nga disleksija.",
"Accessibility" : "Aksesueshmëria",
"Accessibility options for nextcloud" : "Opsionet e aksesueshmërisë për nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Mundëson shumë opsione të aksesueshmërisë që t'ju lehtësojë përdorimin e Nextcloud"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Mundëson shumë opsione të aksesueshmërisë që t'ju lehtësojë përdorimin e Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Qasja universale është shumë e rëndësishme për ne. Ne ndjekim standardet e uebit dhe kontrollojmë që çdo gjë të jetë e përdorshme edhe pa miun, dhe softuerë ndihmës siç janë lexuesit e ekranit. Ne synojmë të jemi në përputhje me {udhëzimet}Udhëzimet mbi Aksesueshmërinë për Përmbajtjen në Internet{linkend} 2.1 në nivelin AA, me temën e kontrastit të lartë edhe në nivelin AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Nëse gjeni ndonjë problem, mos hezitoni t'i raportoni ato në {issuetracker}gjurmuesi ynë i çështjeve{linkend}. Dhe nëse doni të përfshiheni, ejani bashkohuni me {designteam}ekipin tonë të dizajnit{linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -2
View File
@@ -7,8 +7,8 @@ OC.L10N.register(
"High contrast mode" : "Läge med hög kontrast",
"Enable high contrast mode" : "Aktivera läge med hög kontrast",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Ett läge med hög kontrast för att underlätta din navigering. Visuell kvalitet kommer att minska men tydligheten ökar.",
"Dyslexia font" : "Dyslexi-teckensnitt",
"Enable dyslexia font" : "Aktivera dyslexi-teckensnitt",
"Dyslexia font" : "Teckensnitt för dyslektiker",
"Enable dyslexia font" : "Aktivera teckensnitt för dyslektiker",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic är ett fritt teckensnitt/font som är utformat för att mildra några av de vanligaste lässvårigheterna som orsakas av dyslexi.",
"Accessibility" : "Tillgänglighet",
"Accessibility options for nextcloud" : "Tillgänglighetsalternativ för Nextcloud",
+2 -2
View File
@@ -5,8 +5,8 @@
"High contrast mode" : "Läge med hög kontrast",
"Enable high contrast mode" : "Aktivera läge med hög kontrast",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Ett läge med hög kontrast för att underlätta din navigering. Visuell kvalitet kommer att minska men tydligheten ökar.",
"Dyslexia font" : "Dyslexi-teckensnitt",
"Enable dyslexia font" : "Aktivera dyslexi-teckensnitt",
"Dyslexia font" : "Teckensnitt för dyslektiker",
"Enable dyslexia font" : "Aktivera teckensnitt för dyslektiker",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic är ett fritt teckensnitt/font som är utformat för att mildra några av de vanligaste lässvårigheterna som orsakas av dyslexi.",
"Accessibility" : "Tillgänglighet",
"Accessibility options for nextcloud" : "Tillgänglighetsalternativ för Nextcloud",
+13 -13
View File
@@ -1,19 +1,19 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "รูปแบบ สีเข้ม",
"Enable dark theme" : "เปิด รูปแบบ สีเข้ม",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "รูปแบบสีเข้ม ทำให้ดวงตาของคุณสบายขึ้นโดยลดแสงส่องสว่าง และความสว่าง มันยังอยู่ระหว่างการพัฒนา, ดังนั้นโปรดรายงานปัญหาใด ๆ ที่คุณอาจจะพบ",
"Dark theme" : "ธีมสีเข้ม",
"Enable dark theme" : "เปิดใช้ธีมสีเข้ม",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "ธีมสีเข้มทำให้ดวงตาของคุณสบายขึ้น โดยลดแสงส่องสว่าง และความสว่างโดยรวม ซึ่งยังอยู่ระหว่างการพัฒนา ดังนั้นโปรดรายงานปัญหาใด ๆ ที่คุณอาจพบ",
"High contrast mode" : "โหมดความคมชัดสูง",
"Enable high contrast mode" : "เปิด โหมดความคมชัดสูง",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "โหมดความคมชัดสูง เพื่อความสะดวกในการเดินทางของคุณ คุณภาพของภาพจะลดลง แต่จะเพิ่มความคมชัด",
"Dyslexia font" : "ฟอนต์ Dyslexia ",
"Enable dyslexia font" : "เปิด ฟอนต์ Dyslexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic เป็นแบบอักษร / แบบอักษรฟรีที่ออกแบบมาเพื่อลดข้อผิดพลาดในการอ่านทั่วไป โดย dyslexia",
"Accessibility" : "การเข้าถึง",
"Accessibility options for nextcloud" : "ตัวเลือกการเข้าถึงสำหรับ nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "มีตัวเลือกในการเข้าถึงหลายตัว เพื่อให้ง่ายต่อการใช้งาน บน Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "การเข้าถึงสากลเป็นสิ่งสำคัญมากสำหรับเรา เราปฏิบัติตามมาตรฐานเว็บ และตรวจสอบเพื่อให้ทุกอย่างใช้งานได้โดยไม่ต้องใช้เมาส์และซอฟต์แวร์ช่วยเหลือ เช่นโปรแกรมอ่านหน้าจอ เรามุ่งมั่นที่จะปฏิบัติตาม {แนวทาง} แนวทางการเข้าถึงเนื้อหาเว็บ {linkend} 2.1 ในระดับ AA ด้วยธีมความคมชัดสูงแม้ในระดับ AAA",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "หากคุณพบปัญหาใด ๆ อย่าลังเลที่จะรายงานปัญหาเหล่านี้ใน {issuetracker} เครื่องมือติดตามปัญหาของเรา {linkend} และหากคุณต้องการมีส่วนร่วมเข้าร่วม {designteam} ทีมออกแบบของเรา {linkend}"
"Enable high contrast mode" : "เปิดโหมดความคมชัดสูง",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "โหมดความคมชัดสูง ช่วยเพิ่มความสะดวกในการใช้งานของคุณ คุณภาพของภาพจะลดลง แต่ความคมชัดจะเพิ่มขึ้น",
"Dyslexia font" : "ฟอนต์ภาวะเสียการอ่านเข้าใจ",
"Enable dyslexia font" : "เปิดฟอนต์ภาวะเสียการอ่านเข้าใจ",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic เป็นแบบอักษร/ฟอนต์ฟรีที่ออกแบบมาเพื่อลดข้อผิดพลาดทั่วไปในการอ่านที่เกิดจากภาวะเสียการอ่านเข้าใจ",
"Accessibility" : "การช่วยการเข้าถึง",
"Accessibility options for nextcloud" : "ตัวเลือกการช่วยการเข้าถึงสำหรับ nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "มีหลายตัวเลือกในการช่วยการเข้าถึงเพื่อช่วยให้การใช้งาน Nextcloud ของคุณง่ายขึ้น",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "การเข้าถึงสากลเป็นสิ่งสำคัญมากสำหรับเรา เราปฏิบัติตามมาตรฐานเว็บและตรวจสอบเพื่อให้ทุกอย่างใช้งานได้โดยไม่ต้องใช้เมาส์และซอฟต์แวร์ช่วยเหลือ เช่น โปรแกรมอ่านหน้าจอ เรามุ่งมั่นที่จะปฏิบัติตาม{guidelines}แนวทางการเข้าถึงเนื้อหาเว็บ{linkend} 2.1 ในระดับ AA ด้วยธีมความคมชัดสูงแม้ในระดับ AAA",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "หากคุณพบปัญหาใด ๆ อย่าลังเลที่จะรายงานปัญหาเหล่านี้ใน{issuetracker}เครื่องมือติดตามปัญหาของเรา{linkend} และหากคุณต้องการมีส่วนร่วม เข้าร่วม{designteam}ทีมออกแบบของเรา{linkend}ได้เลย!"
},
"nplurals=1; plural=0;");
+13 -13
View File
@@ -1,17 +1,17 @@
{ "translations": {
"Dark theme" : "รูปแบบ สีเข้ม",
"Enable dark theme" : "เปิด รูปแบบ สีเข้ม",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "รูปแบบสีเข้ม ทำให้ดวงตาของคุณสบายขึ้นโดยลดแสงส่องสว่าง และความสว่าง มันยังอยู่ระหว่างการพัฒนา, ดังนั้นโปรดรายงานปัญหาใด ๆ ที่คุณอาจจะพบ",
"Dark theme" : "ธีมสีเข้ม",
"Enable dark theme" : "เปิดใช้ธีมสีเข้ม",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "ธีมสีเข้มทำให้ดวงตาของคุณสบายขึ้น โดยลดแสงส่องสว่าง และความสว่างโดยรวม ซึ่งยังอยู่ระหว่างการพัฒนา ดังนั้นโปรดรายงานปัญหาใด ๆ ที่คุณอาจพบ",
"High contrast mode" : "โหมดความคมชัดสูง",
"Enable high contrast mode" : "เปิด โหมดความคมชัดสูง",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "โหมดความคมชัดสูง เพื่อความสะดวกในการเดินทางของคุณ คุณภาพของภาพจะลดลง แต่จะเพิ่มความคมชัด",
"Dyslexia font" : "ฟอนต์ Dyslexia ",
"Enable dyslexia font" : "เปิด ฟอนต์ Dyslexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic เป็นแบบอักษร / แบบอักษรฟรีที่ออกแบบมาเพื่อลดข้อผิดพลาดในการอ่านทั่วไป โดย dyslexia",
"Accessibility" : "การเข้าถึง",
"Accessibility options for nextcloud" : "ตัวเลือกการเข้าถึงสำหรับ nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "มีตัวเลือกในการเข้าถึงหลายตัว เพื่อให้ง่ายต่อการใช้งาน บน Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "การเข้าถึงสากลเป็นสิ่งสำคัญมากสำหรับเรา เราปฏิบัติตามมาตรฐานเว็บ และตรวจสอบเพื่อให้ทุกอย่างใช้งานได้โดยไม่ต้องใช้เมาส์และซอฟต์แวร์ช่วยเหลือ เช่นโปรแกรมอ่านหน้าจอ เรามุ่งมั่นที่จะปฏิบัติตาม {แนวทาง} แนวทางการเข้าถึงเนื้อหาเว็บ {linkend} 2.1 ในระดับ AA ด้วยธีมความคมชัดสูงแม้ในระดับ AAA",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "หากคุณพบปัญหาใด ๆ อย่าลังเลที่จะรายงานปัญหาเหล่านี้ใน {issuetracker} เครื่องมือติดตามปัญหาของเรา {linkend} และหากคุณต้องการมีส่วนร่วมเข้าร่วม {designteam} ทีมออกแบบของเรา {linkend}"
"Enable high contrast mode" : "เปิดโหมดความคมชัดสูง",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "โหมดความคมชัดสูง ช่วยเพิ่มความสะดวกในการใช้งานของคุณ คุณภาพของภาพจะลดลง แต่ความคมชัดจะเพิ่มขึ้น",
"Dyslexia font" : "ฟอนต์ภาวะเสียการอ่านเข้าใจ",
"Enable dyslexia font" : "เปิดฟอนต์ภาวะเสียการอ่านเข้าใจ",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic เป็นแบบอักษร/ฟอนต์ฟรีที่ออกแบบมาเพื่อลดข้อผิดพลาดทั่วไปในการอ่านที่เกิดจากภาวะเสียการอ่านเข้าใจ",
"Accessibility" : "การช่วยการเข้าถึง",
"Accessibility options for nextcloud" : "ตัวเลือกการช่วยการเข้าถึงสำหรับ nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "มีหลายตัวเลือกในการช่วยการเข้าถึงเพื่อช่วยให้การใช้งาน Nextcloud ของคุณง่ายขึ้น",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "การเข้าถึงสากลเป็นสิ่งสำคัญมากสำหรับเรา เราปฏิบัติตามมาตรฐานเว็บและตรวจสอบเพื่อให้ทุกอย่างใช้งานได้โดยไม่ต้องใช้เมาส์และซอฟต์แวร์ช่วยเหลือ เช่น โปรแกรมอ่านหน้าจอ เรามุ่งมั่นที่จะปฏิบัติตาม{guidelines}แนวทางการเข้าถึงเนื้อหาเว็บ{linkend} 2.1 ในระดับ AA ด้วยธีมความคมชัดสูงแม้ในระดับ AAA",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "หากคุณพบปัญหาใด ๆ อย่าลังเลที่จะรายงานปัญหาเหล่านี้ใน{issuetracker}เครื่องมือติดตามปัญหาของเรา{linkend} และหากคุณต้องการมีส่วนร่วม เข้าร่วม{designteam}ทีมออกแบบของเรา{linkend}ได้เลย!"
},"pluralForm" :"nplurals=1; plural=0;"
}
+1 -1
View File
@@ -13,7 +13,7 @@ OC.L10N.register(
"Accessibility" : "Khả năng tiếp cận",
"Accessibility options for nextcloud" : "Tùy chọn truy cập cho nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Cung cấp nhiều tùy chọn truy cập để dễ dàng sử dụng Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Truy cập đa dạng là rất quan trọng với chúng tôi. Chúng tôi tuân theo các tiêu chuẩn mạng và kiểm tra để khiến mọi thứ đều có thể sử dụng được ngay cả khi không có chuột, và hỗ trợ những phần mềm hỗ trợ như đọc màn hình. Chúng tôi hướng đến sự tương thích với Nguyên Tắc Truy Cập Cho Nội Dung Mạng 2.1 ở cấp độ AA, với chế độ tương phản cao là AAA",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sự truy cập đa dạng là rất quan trọng với chúng tôi. Chúng tôi tuân theo các tiêu chuẩn mạng và kiểm tra để khiến mọi thứ đều có thể sử dụng được ngay cả khi không có chuột, và hỗ trợ những phần mềm hỗ trợ như đọc màn hình. Chúng tôi hướng đến sự tương thích với {guidelines}Nguyên Tắc Truy Cập Cho Nội Dung Mạng{linkend} 2.1 ở cấp độ AA, với chế độ tương phản cao là AAA",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Nếu bạn tìm được bất cứ vấn đề gì, đừng ngần ngại để báo cáo chúng trên hệ thống theo dõi vấn đề của chúng tôi."
},
"nplurals=1; plural=0;");
+1 -1
View File
@@ -11,7 +11,7 @@
"Accessibility" : "Khả năng tiếp cận",
"Accessibility options for nextcloud" : "Tùy chọn truy cập cho nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Cung cấp nhiều tùy chọn truy cập để dễ dàng sử dụng Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Truy cập đa dạng là rất quan trọng với chúng tôi. Chúng tôi tuân theo các tiêu chuẩn mạng và kiểm tra để khiến mọi thứ đều có thể sử dụng được ngay cả khi không có chuột, và hỗ trợ những phần mềm hỗ trợ như đọc màn hình. Chúng tôi hướng đến sự tương thích với Nguyên Tắc Truy Cập Cho Nội Dung Mạng 2.1 ở cấp độ AA, với chế độ tương phản cao là AAA",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sự truy cập đa dạng là rất quan trọng với chúng tôi. Chúng tôi tuân theo các tiêu chuẩn mạng và kiểm tra để khiến mọi thứ đều có thể sử dụng được ngay cả khi không có chuột, và hỗ trợ những phần mềm hỗ trợ như đọc màn hình. Chúng tôi hướng đến sự tương thích với {guidelines}Nguyên Tắc Truy Cập Cho Nội Dung Mạng{linkend} 2.1 ở cấp độ AA, với chế độ tương phản cao là AAA",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Nếu bạn tìm được bất cứ vấn đề gì, đừng ngần ngại để báo cáo chúng trên hệ thống theo dõi vấn đề của chúng tôi."
},"pluralForm" :"nplurals=1; plural=0;"
}
+3 -3
View File
@@ -3,7 +3,7 @@ OC.L10N.register(
{
"Dark theme" : "深色主题",
"Enable dark theme" : "启用深色主题",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "一款通过降低整体亮度来使您的眼睛放松的深色主题。该主题目前还在开发中,如发现问题请您及时向我们反馈。",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "一款通过降低整体亮度来使您的眼睛放松的深色主题。该主题目前还在开发中,请您及时向我们反馈您可能发现的任何问题。",
"High contrast mode" : "高对比度模式",
"Enable high contrast mode" : "启用高对比度模式",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "使用高对比度模式。图像质量会下降,但清晰度会提升。",
@@ -11,8 +11,8 @@ OC.L10N.register(
"Enable dyslexia font" : "启用阅读障碍字体",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic是一款免费的字样/字体,这款字体的设计目的是缓解由阅读障碍引起的一些常见阅读错误。",
"Accessibility" : "辅助功能",
"Accessibility options for nextcloud" : "Nextcloud辅助功能",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "提供多种辅助功能以便于您使用Nextcloud",
"Accessibility options for nextcloud" : "Nextcloud 辅助功能选项",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "提供多种辅助功能选项以便于您使用Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "通用访问对我们非常重要。 我们遵循网络标准,并进行检查以确保所有内容都可以在没有鼠标或辅助软件(例如屏幕阅读器)的情况下使用。 我们的目标是遵守 {guidelines} Web 内容可访问性指南 {linkend} 2.1 能达到 AA 级别,具有高对比度主题甚至能达到 AAA 级别。",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "如果您发现任何问题,请随时在 {issuetracker} 我们的问题跟踪器 {linkend} 上报告。 如果您想参与其中,请加入 {designteam} 我们的设计团队 {linkend}"
},
+3 -3
View File
@@ -1,7 +1,7 @@
{ "translations": {
"Dark theme" : "深色主题",
"Enable dark theme" : "启用深色主题",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "一款通过降低整体亮度来使您的眼睛放松的深色主题。该主题目前还在开发中,如发现问题请您及时向我们反馈。",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "一款通过降低整体亮度来使您的眼睛放松的深色主题。该主题目前还在开发中,请您及时向我们反馈您可能发现的任何问题。",
"High contrast mode" : "高对比度模式",
"Enable high contrast mode" : "启用高对比度模式",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "使用高对比度模式。图像质量会下降,但清晰度会提升。",
@@ -9,8 +9,8 @@
"Enable dyslexia font" : "启用阅读障碍字体",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic是一款免费的字样/字体,这款字体的设计目的是缓解由阅读障碍引起的一些常见阅读错误。",
"Accessibility" : "辅助功能",
"Accessibility options for nextcloud" : "Nextcloud辅助功能",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "提供多种辅助功能以便于您使用Nextcloud",
"Accessibility options for nextcloud" : "Nextcloud 辅助功能选项",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "提供多种辅助功能选项以便于您使用Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "通用访问对我们非常重要。 我们遵循网络标准,并进行检查以确保所有内容都可以在没有鼠标或辅助软件(例如屏幕阅读器)的情况下使用。 我们的目标是遵守 {guidelines} Web 内容可访问性指南 {linkend} 2.1 能达到 AA 级别,具有高对比度主题甚至能达到 AAA 级别。",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "如果您发现任何问题,请随时在 {issuetracker} 我们的问题跟踪器 {linkend} 上报告。 如果您想参与其中,请加入 {designteam} 我们的设计团队 {linkend}"
},"pluralForm" :"nplurals=1; plural=0;"
@@ -79,6 +79,7 @@ class Application extends App implements IBootstrap {
$hash = md5(implode('-', $userValues));
$linkToCSS = $urlGenerator->linkToRoute(self::APP_ID . '.accessibility.getCss', ['md5' => $hash]);
\OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'media' => '(prefers-color-scheme: dark)', 'href' => $linkToCSS]);
\OCP\Util::addScript('accessibility', 'accessibilityoca');
}
}
}
@@ -61,6 +61,7 @@ class JSDataService extends InitialStateProvider {
}
return [
'checkMedia' => $user === null,
'theme' => $theme,
'highcontrast' => $highcontrast,
];
@@ -22,6 +22,11 @@
import { loadState } from '@nextcloud/initial-state'
OCA.Accessibility = loadState('accessibility', 'data')
if (OCA.Accessibility.checkMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
// Overwrite the theme for Guests based on the prefers-color-scheme
OCA.Accessibility.theme = 'dark'
}
if (OCA.Accessibility.theme !== false) {
document.body.classList.add(`theme--${OCA.Accessibility.theme}`)
} else {
+18
View File
@@ -0,0 +1,18 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d751713988987e9331980363e24189ce",
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.1.0"
}
@@ -338,7 +338,7 @@ class ClassLoader
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
* @return true|null True if loaded, null otherwise
*/
public function loadClass($class)
{
@@ -347,6 +347,8 @@ class ClassLoader
return true;
}
return null;
}
/**
@@ -0,0 +1,337 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer;
use Composer\Autoload\ClassLoader;
use Composer\Semver\VersionParser;
/**
* This class is copied in every Composer installed project and available to all
*
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
*
* To require it's presence, you can require `composer-runtime-api ^2.0`
*/
class InstalledVersions
{
private static $installed;
private static $canGetVendors;
private static $installedByVendor = array();
/**
* Returns a list of all package names which are present, either by being installed, replaced or provided
*
* @return string[]
* @psalm-return list<string>
*/
public static function getInstalledPackages()
{
$packages = array();
foreach (self::getInstalled() as $installed) {
$packages[] = array_keys($installed['versions']);
}
if (1 === \count($packages)) {
return $packages[0];
}
return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
}
/**
* Returns a list of all package names with a specific type e.g. 'library'
*
* @param string $type
* @return string[]
* @psalm-return list<string>
*/
public static function getInstalledPackagesByType($type)
{
$packagesByType = array();
foreach (self::getInstalled() as $installed) {
foreach ($installed['versions'] as $name => $package) {
if (isset($package['type']) && $package['type'] === $type) {
$packagesByType[] = $name;
}
}
}
return $packagesByType;
}
/**
* Checks whether the given package is installed
*
* This also returns true if the package name is provided or replaced by another package
*
* @param string $packageName
* @param bool $includeDevRequirements
* @return bool
*/
public static function isInstalled($packageName, $includeDevRequirements = true)
{
foreach (self::getInstalled() as $installed) {
if (isset($installed['versions'][$packageName])) {
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
}
}
return false;
}
/**
* Checks whether the given package satisfies a version constraint
*
* e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
*
* Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
*
* @param VersionParser $parser Install composer/semver to have access to this class and functionality
* @param string $packageName
* @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
* @return bool
*/
public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
return $provided->matches($constraint);
}
/**
* Returns a version constraint representing all the range(s) which are installed for a given package
*
* It is easier to use this via isInstalled() with the $constraint argument if you need to check
* whether a given version of a package is installed, and not just whether it exists
*
* @param string $packageName
* @return string Version constraint usable with composer/semver
*/
public static function getVersionRanges($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
$ranges = array();
if (isset($installed['versions'][$packageName]['pretty_version'])) {
$ranges[] = $installed['versions'][$packageName]['pretty_version'];
}
if (array_key_exists('aliases', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
}
if (array_key_exists('replaced', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
}
if (array_key_exists('provided', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
}
return implode(' || ', $ranges);
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
*/
public static function getVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['version'])) {
return null;
}
return $installed['versions'][$packageName]['version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
*/
public static function getPrettyVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['pretty_version'])) {
return null;
}
return $installed['versions'][$packageName]['pretty_version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
*/
public static function getReference($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['reference'])) {
return null;
}
return $installed['versions'][$packageName]['reference'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
*/
public static function getInstallPath($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @return array
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
*/
public static function getRootPackage()
{
$installed = self::getInstalled();
return $installed[0]['root'];
}
/**
* Returns the raw installed.php data for custom implementations
*
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
* @return array[]
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
*/
public static function getRawData()
{
@trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = include __DIR__ . '/installed.php';
} else {
self::$installed = array();
}
}
return self::$installed;
}
/**
* Returns the raw data of all installed.php which are currently loaded for custom implementations
*
* @return array[]
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
*/
public static function getAllRawData()
{
return self::getInstalled();
}
/**
* Lets you reload the static array from another file
*
* This is only useful for complex integrations in which a project needs to use
* this class but then also needs to execute another project's autoloader in process,
* and wants to ensure both projects have access to their version of installed.php.
*
* A typical case would be PHPUnit, where it would need to make sure it reads all
* the data it needs from this class, then call reload() with
* `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
* the project in which it runs can then also use this class safely, without
* interference between PHPUnit's dependencies and the project's dependencies.
*
* @param array[] $data A vendor/composer/installed.php data set
* @return void
*
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data
*/
public static function reload($data)
{
self::$installed = $data;
self::$installedByVendor = array();
}
/**
* @return array[]
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
*/
private static function getInstalled()
{
if (null === self::$canGetVendors) {
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
}
$installed = array();
if (self::$canGetVendors) {
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
if (isset(self::$installedByVendor[$vendorDir])) {
$installed[] = self::$installedByVendor[$vendorDir];
} elseif (is_file($vendorDir.'/composer/installed.php')) {
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $installed[count($installed) - 1];
}
}
}
}
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = require __DIR__ . '/installed.php';
} else {
self::$installed = array();
}
}
$installed[] = self::$installed;
return $installed;
}
}
@@ -0,0 +1,5 @@
{
"packages": [],
"dev": false,
"dev-package-names": []
}
@@ -0,0 +1,23 @@
<?php return array(
'root' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '7b056b2ed72b2a7a5937e0c251858e1906277b4b',
'name' => '__root__',
'dev' => false,
),
'versions' => array(
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '7b056b2ed72b2a7a5937e0c251858e1906277b4b',
'dev_requirement' => false,
),
),
);
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditování / zaznamenávání událostí",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Poskytuje Nextcloud schopnosti zaznamenávání událostí, jako například zaznamenávání přístupů k souboru nebo jiných citlivých akcí."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Poskytuje Nextcloud schopnosti zaznamenávání událostí, jako například zaznamenávání přístupů k souborům nebo jiných citlivých akcí."
},
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditování / zaznamenávání událostí",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Poskytuje Nextcloud schopnosti zaznamenávání událostí, jako například zaznamenávání přístupů k souboru nebo jiných citlivých akcí."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Poskytuje Nextcloud schopnosti zaznamenávání událostí, jako například zaznamenávání přístupů k souborům nebo jiných citlivých akcí."
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Registros",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Habilita las opciones de bitácora de Nextcloud tales como registro de acceso a archivos o de acciones delicadas."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registros",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Habilita las opciones de bitácora de Nextcloud tales como registro de acceso a archivos o de acciones delicadas."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditeerimine / Logimine",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Lisab Nextcloudile logimisvõimekuse, millega on võimalik jälgida näiteks failide kasutamist või teisi tundlikke tegevusi."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditeerimine / Logimine",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Lisab Nextcloudile logimisvõimekuse, millega on võimalik jälgida näiteks failide kasutamist või teisi tundlikke tegevusi."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Audit / journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud telles que la journalisation des accès aux fichiers ou des actions autrement sensibles."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud telles que l'enregistrement des accès aux fichiers ou d'autres actions sensibles."
},
"nplurals=2; plural=(n > 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Audit / journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud telles que la journalisation des accès aux fichiers ou des actions autrement sensibles."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud telles que l'enregistrement des accès aux fichiers ou d'autres actions sensibles."
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Revisjon / Logging",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Tilbyr logg eigenskapar for Nextcloud, til dømes tilgang til loggfil eller andre følsame handlingar."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Revisjon / Logging",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Tilbyr logg eigenskapar for Nextcloud, til dømes tilgang til loggfil eller andre følsame handlingar."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Audyt/Logowanie",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Zapewnia możliwość rejestrowania dla Nextcloud, takie jak rejestrowanie dostępu do plików lub innych wrażliwych akcji."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Zapewnia możliwość rejestrowania dla Nextcloud, takie jak rejestrowanie dostępu do pliku lub innych wrażliwych akcji."
},
"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Audyt/Logowanie",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Zapewnia możliwość rejestrowania dla Nextcloud, takie jak rejestrowanie dostępu do plików lub innych wrażliwych akcji."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Zapewnia możliwość rejestrowania dla Nextcloud, takie jak rejestrowanie dostępu do pliku lub innych wrażliwych akcji."
},"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoria / registo",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece a funcionalidade de registo ao Nextcloud como o registo de acesso a ficheiros ou acções sensíveis."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoria / registo",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece a funcionalidade de registo ao Nextcloud como o registo de acesso a ficheiros ou acções sensíveis."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+20 -9
View File
@@ -320,15 +320,26 @@ class Sharing extends Action {
* @param array $params
*/
public function updateExpirationDate(array $params) {
$this->log(
'The expiration date of the publicly shared %s with ID "%s" has been changed to "%s"',
$params,
[
'itemType',
'itemSource',
'date',
]
);
if ($params['date'] === null) {
$this->log(
'The expiration date of the publicly shared %s with ID "%s" has been removed',
$params,
[
'itemType',
'itemSource',
]
);
} else {
$this->log(
'The expiration date of the publicly shared %s with ID "%s" has been changed to "%s"',
$params,
[
'itemType',
'itemSource',
'date',
]
);
}
}
/**
+18
View File
@@ -0,0 +1,18 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d751713988987e9331980363e24189ce",
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.1.0"
}
@@ -338,7 +338,7 @@ class ClassLoader
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
* @return true|null True if loaded, null otherwise
*/
public function loadClass($class)
{
@@ -347,6 +347,8 @@ class ClassLoader
return true;
}
return null;
}
/**
@@ -0,0 +1,337 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer;
use Composer\Autoload\ClassLoader;
use Composer\Semver\VersionParser;
/**
* This class is copied in every Composer installed project and available to all
*
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
*
* To require it's presence, you can require `composer-runtime-api ^2.0`
*/
class InstalledVersions
{
private static $installed;
private static $canGetVendors;
private static $installedByVendor = array();
/**
* Returns a list of all package names which are present, either by being installed, replaced or provided
*
* @return string[]
* @psalm-return list<string>
*/
public static function getInstalledPackages()
{
$packages = array();
foreach (self::getInstalled() as $installed) {
$packages[] = array_keys($installed['versions']);
}
if (1 === \count($packages)) {
return $packages[0];
}
return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
}
/**
* Returns a list of all package names with a specific type e.g. 'library'
*
* @param string $type
* @return string[]
* @psalm-return list<string>
*/
public static function getInstalledPackagesByType($type)
{
$packagesByType = array();
foreach (self::getInstalled() as $installed) {
foreach ($installed['versions'] as $name => $package) {
if (isset($package['type']) && $package['type'] === $type) {
$packagesByType[] = $name;
}
}
}
return $packagesByType;
}
/**
* Checks whether the given package is installed
*
* This also returns true if the package name is provided or replaced by another package
*
* @param string $packageName
* @param bool $includeDevRequirements
* @return bool
*/
public static function isInstalled($packageName, $includeDevRequirements = true)
{
foreach (self::getInstalled() as $installed) {
if (isset($installed['versions'][$packageName])) {
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
}
}
return false;
}
/**
* Checks whether the given package satisfies a version constraint
*
* e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
*
* Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
*
* @param VersionParser $parser Install composer/semver to have access to this class and functionality
* @param string $packageName
* @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
* @return bool
*/
public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
return $provided->matches($constraint);
}
/**
* Returns a version constraint representing all the range(s) which are installed for a given package
*
* It is easier to use this via isInstalled() with the $constraint argument if you need to check
* whether a given version of a package is installed, and not just whether it exists
*
* @param string $packageName
* @return string Version constraint usable with composer/semver
*/
public static function getVersionRanges($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
$ranges = array();
if (isset($installed['versions'][$packageName]['pretty_version'])) {
$ranges[] = $installed['versions'][$packageName]['pretty_version'];
}
if (array_key_exists('aliases', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
}
if (array_key_exists('replaced', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
}
if (array_key_exists('provided', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
}
return implode(' || ', $ranges);
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
*/
public static function getVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['version'])) {
return null;
}
return $installed['versions'][$packageName]['version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
*/
public static function getPrettyVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['pretty_version'])) {
return null;
}
return $installed['versions'][$packageName]['pretty_version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
*/
public static function getReference($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['reference'])) {
return null;
}
return $installed['versions'][$packageName]['reference'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
*/
public static function getInstallPath($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @return array
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
*/
public static function getRootPackage()
{
$installed = self::getInstalled();
return $installed[0]['root'];
}
/**
* Returns the raw installed.php data for custom implementations
*
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
* @return array[]
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
*/
public static function getRawData()
{
@trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = include __DIR__ . '/installed.php';
} else {
self::$installed = array();
}
}
return self::$installed;
}
/**
* Returns the raw data of all installed.php which are currently loaded for custom implementations
*
* @return array[]
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
*/
public static function getAllRawData()
{
return self::getInstalled();
}
/**
* Lets you reload the static array from another file
*
* This is only useful for complex integrations in which a project needs to use
* this class but then also needs to execute another project's autoloader in process,
* and wants to ensure both projects have access to their version of installed.php.
*
* A typical case would be PHPUnit, where it would need to make sure it reads all
* the data it needs from this class, then call reload() with
* `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
* the project in which it runs can then also use this class safely, without
* interference between PHPUnit's dependencies and the project's dependencies.
*
* @param array[] $data A vendor/composer/installed.php data set
* @return void
*
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data
*/
public static function reload($data)
{
self::$installed = $data;
self::$installedByVendor = array();
}
/**
* @return array[]
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
*/
private static function getInstalled()
{
if (null === self::$canGetVendors) {
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
}
$installed = array();
if (self::$canGetVendors) {
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
if (isset(self::$installedByVendor[$vendorDir])) {
$installed[] = self::$installedByVendor[$vendorDir];
} elseif (is_file($vendorDir.'/composer/installed.php')) {
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $installed[count($installed) - 1];
}
}
}
}
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = require __DIR__ . '/installed.php';
} else {
self::$installed = array();
}
}
$installed[] = self::$installed;
return $installed;
}
}
@@ -0,0 +1,5 @@
{
"packages": [],
"dev": false,
"dev-package-names": []
}
@@ -0,0 +1,23 @@
<?php return array(
'root' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '7b056b2ed72b2a7a5937e0c251858e1906277b4b',
'name' => '__root__',
'dev' => false,
),
'versions' => array(
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '7b056b2ed72b2a7a5937e0c251858e1906277b4b',
'dev_requirement' => false,
),
),
);
+8
View File
@@ -0,0 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "API на Cloud Federation/федериране на облак/",
"Enable clouds to communicate with each other and exchange data" : "Активиране на облаците да комуникират помежду си и да обменят данни",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API на Cloud Federation/федериране на облак/, позволява на различни екземпляри на Nextcloud да комуникират помежду си и да обменят данни. "
},
"nplurals=2; plural=(n != 1);");
+6
View File
@@ -0,0 +1,6 @@
{ "translations": {
"Cloud Federation API" : "API на Cloud Federation/федериране на облак/",
"Enable clouds to communicate with each other and exchange data" : "Активиране на облаците да комуникират помежду си и да обменят данни",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API на Cloud Federation/федериране на облак/, позволява на различни екземпляри на Nextcloud да комуникират помежду си и да обменят данни. "
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+8
View File
@@ -0,0 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "Cloud Federation API",
"Enable clouds to communicate with each other and exchange data" : "Gør det muligt for skyer at kommunikere med hinanden og udveksle data",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Cloud Federation API gør det muligt for forskellige Nextcloud-instanser at kommunikere med hinanden og udveksle data."
},
"nplurals=2; plural=(n != 1);");
+6
View File
@@ -0,0 +1,6 @@
{ "translations": {
"Cloud Federation API" : "Cloud Federation API",
"Enable clouds to communicate with each other and exchange data" : "Gør det muligt for skyer at kommunikere med hinanden og udveksle data",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Cloud Federation API gør det muligt for forskellige Nextcloud-instanser at kommunikere med hinanden og udveksle data."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -2
View File
@@ -1,8 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "Cloud Federation API",
"Cloud Federation API" : "Cloud-Federation-API",
"Enable clouds to communicate with each other and exchange data" : "Erlaubt es, dass Server miteinander kommunizieren und Daten austauschen",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Die Cloud Federation API ermöglicht es Nextcloud-Instanzen miteinander zu kommunizieren und Daten auszutauschen."
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Die Cloud-Federation-API ermöglicht es Nextcloud-Instanzen miteinander zu kommunizieren und Daten auszutauschen."
},
"nplurals=2; plural=(n != 1);");
+2 -2
View File
@@ -1,6 +1,6 @@
{ "translations": {
"Cloud Federation API" : "Cloud Federation API",
"Cloud Federation API" : "Cloud-Federation-API",
"Enable clouds to communicate with each other and exchange data" : "Erlaubt es, dass Server miteinander kommunizieren und Daten austauschen",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Die Cloud Federation API ermöglicht es Nextcloud-Instanzen miteinander zu kommunizieren und Daten auszutauschen."
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "Die Cloud-Federation-API ermöglicht es Nextcloud-Instanzen miteinander zu kommunizieren und Daten auszutauschen."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "Pilvifederaation rajapinta",
"Enable clouds to communicate with each other and exchange data" : "Mahdollistaa pilvien viestiä ja vaihtaa dataa toistensa kanssa"
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Cloud Federation API" : "Pilvifederaation rajapinta",
"Enable clouds to communicate with each other and exchange data" : "Mahdollistaa pilvien viestiä ja vaihtaa dataa toistensa kanssa"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}

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