Commit graph

74458 commits

Author SHA1 Message Date
Richard Steinmetz
8968b21ac8
chore: update .jshintrc
Changes:
- `esversion: 11` We use bundlers so let's use a modern version of js
- `maxlen: 120` This should be enforced by linters if at all (the rule is
  deprected by jshintrc anyway: https://jshint.com/docs/options/#maxlen)
- `asi: true` Suppress warnings about missing semicolons (it's 2024
  after all)

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-27 07:53:01 +02:00
Andy Scherzinger
ae4a6e8d44
Merge pull request #45474 from nextcloud/chore/noid/spdx-batch4
Add SPDX header for `/lib/*` - batch 4
2024-05-24 14:29:13 +02:00
Andy Scherzinger
dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00
Louis
500a9cb724
Merge pull request #44485 from nextcloud/44219-share-server-respect-empty-expiry-date
Respect empty `expiryDate` value in server
2024-05-23 16:40:14 +02:00
Christoph Wurst
b72e4e89bf
Merge pull request #45032 from nextcloud/Jerome-Herbinet-date-and-time-wording-in-email-notifcation
Replaces "Time:" with "Date and time:" in calendar e-mail notification
2024-05-23 16:34:50 +02:00
Jérôme Herbinet
1ffdebd20d fix(dav): Replaces "Time:" with "Date and time:" in calendar invite email
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-05-23 15:37:11 +02:00
fenn-cs
d41d885713 test(Sharing): Integration test for no expiration set date for share
- Verify that explicitly sending empty `expireDate` param to server overwrite default
and sets not expiry date, if non is enforced.

- Update tests to avoid converting empty string to date.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-23 14:11:34 +01:00
fenn-cs
f5a433f946 refactor(shareManager): Use constructor property promotion
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-23 14:11:33 +01:00
fenn-cs
59a5b4e0bd fix(shareManager): Respect empty expireDate in server
If `expireDate` is an empty string and not `null` then the server should not set a default.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-23 14:11:33 +01:00
Côme Chilliet
2fa099a6e1
Merge pull request #45370 from nextcloud/feat/add-back-search-in-disabled-users
feat: Add back searching in disabled user list
2024-05-23 14:51:11 +02:00
John Molakvoæ
e38fcf88b2
Merge pull request #45459 from nextcloud/ifileaccess-alias 2024-05-23 14:43:41 +02:00
John Molakvoæ
c5dc1b57b0
Merge pull request #45417 from nextcloud/fix/preview-clear-files-etag 2024-05-23 14:26:44 +02:00
skjnldsv
3ca3c65b0d feat(files): refresh preview on etag change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-23 11:56:27 +00:00
nextcloud-command
9a523e9204
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-23 10:42:53 +02:00
Côme Chilliet
96b66621db
fix: Update openapi spec for provisioning_api app
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-23 10:42:52 +02:00
Côme Chilliet
8044edf309
fix: Also search in email field for disabled users
To match what is done for Database backend for enabled users

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-23 09:09:20 +02:00
Côme Chilliet
6d56f3557d
feat: Add back searching in disabled user list
When disabled users where moved to their own endpoint we overlooked
 search, so adding it back.
The search is done case-insensitive in uid and display name.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-23 09:08:31 +02:00
Ferdinand Thiessen
474cbda59a
Merge pull request #45394 from nextcloud/fix/files-cleanup-list
refactor(files): Fix some ESLint and Typescript issues in FilesList
2024-05-23 08:01:35 +02:00
nextcloud-command
62471e2681 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-23 05:25:54 +00:00
Ferdinand Thiessen
dfd0fa673d fix(files): Debounce does not return a function so it should be used as computed
This also fixes hacky solution to `this` access

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 07:19:06 +02:00
Ferdinand Thiessen
42001984f3 fix(files): Use translation function directly instead of calling the instance method
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 07:19:06 +02:00
Ferdinand Thiessen
eacdc4571d fix(files): Fix typing issues with data
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 07:19:06 +02:00
Ferdinand Thiessen
85c93b54a4 fix(files): Fix naming issue for reserved Vue property names
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-23 07:19:06 +02:00
Andy Scherzinger
02dc1bcf36
Merge pull request #45429 from nextcloud/chore/noid/spdx-batch3
Add SPDX header - Batch 3
2024-05-22 23:12:02 +02:00
Andy Scherzinger
0b20dd6755
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-22 19:58:12 +02:00
Andy Scherzinger
2f8176f57b
Merge pull request #45400 from nextcloud/temp-db-replica-loss-prevention
fix(db): Prevent data loss by temporarily disabling `db:convert-type`
2024-05-22 19:00:16 +02:00
Robin Appelman
8fca20dc59
fix: register DI alias for IFileAccess
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-22 17:13:29 +02:00
John Molakvoæ
221883fa5b
Merge pull request #45390 from nextcloud/bugfix/noid/mark-more-configs-as-sensitive 2024-05-22 13:32:24 +02:00
Ferdinand Thiessen
576e249476
Merge pull request #42977 from nextcloud/theming/create-color-from-background
theming: Separate `primary` and `background` colors - fix the header menu colors
2024-05-21 21:16:10 +02:00
Ferdinand Thiessen
651afb841e
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:42:36 +02:00
Ferdinand Thiessen
f19d586839
fix(theming): Add some strict checking for userId
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:32 +02:00
Ferdinand Thiessen
538a04968a
fix(tests): Adjust theming test for new splitted background and primary colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:26 +02:00
Ferdinand Thiessen
11dbfa636d
fix(settings): Return mean color of background image on set
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:26 +02:00
Ferdinand Thiessen
85b64e15ad
fix: Always populate --image-background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:26 +02:00
Ferdinand Thiessen
8028784976
fix: cleanup theming app code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:26 +02:00
Ferdinand Thiessen
bd73bccb40
fix(styles): Adjust background stylings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:26 +02:00
Ferdinand Thiessen
752e3b9000
fix(settings): Make background selector be responsive to user changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
c8260924d6
fix(core): Adjust styles for header menu icons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
0ef3147ea0
fix(tests): Adjust theming test for new splitted background and primary colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
282f1b1fab
fix(theming): Also apply new background colors to guest view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
4d865fd33f
feat(theming): Allow users to configure their primary color
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
482395ba2f
fix(theming): Also reset background color settings when updating global background image
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
705335e6a5
feat(theming): Allow to configure primary color separate from background in admin settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
9d2c3c1164
fix: Adjust dashboard and header menu to use new background colors
fix(UnifiedSearch): Adjust to new background color

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
de938bb401
feat(theming): Separate background and primary color
While the primary color is intended to highlight elements,
it can not always be used as the background color.
So now primary is independent from background a user set,
the background color is, if not set directly, calculated as the mean color
of the background image. That color is then used as a fallback if the
background image could not be loaded and for calculating the color of the text used on the app menu and dashboard (they render directly on the background).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Ferdinand Thiessen
0211feb946
fix(theming): Also set default background color ("primary") for custom images
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Pytal
5ae18ee06e
Merge pull request #45406 from nextcloud/fix/contactsmenu/empty-content-margin
fix(contactsmenu): empty content margin
2024-05-21 10:11:32 -07:00
Ferdinand Thiessen
19e39b339a
Merge pull request #45415 from nextcloud/enh/noid/login-names
feat(login-mask): remove `Login with` from label
2024-05-21 18:35:17 +02:00
Simon L.
3180779404 feat(login-mask): remove Login with from label
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-21 09:22:43 +00:00
Simon L
5a6e48e850
Merge pull request #45398 from nextcloud/chore/account-name
chore(settings): Change "user" to "account"
2024-05-21 11:05:41 +02:00