Commit Graph

70326 Commits (3b017ec3ff75309fd869be82aefcc45d14b1f2ae)
 

Author SHA1 Message Date
Grigorii K. Shartsev 3b017ec3ff fix(dashboard): use span instead of div for icon to html
- div is not valid in h2
- div is not valid in label

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:20:47 +07:00
Joas Schilling 834c9a209e
Merge pull request #41055 from nextcloud/feat/noid/profile-manager-ocp
feat(profile): Add public interface for profile manager so apps can check config
2023-10-23 15:15:40 +07:00
Joas Schilling 06b35808a8
Merge pull request #41045 from nextcloud/fix/openapi/provisioning_api/quota-fields
fix(provisioning_api): Fix quota fields in OpenAPI
2023-10-23 13:54:11 +07:00
Joas Schilling fd9f7a7188
fix(profile): Directly migrate to OCP constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +07:00
Joas Schilling 2353d3cd5c
feat(profile): Add public interface for profile manager so apps can check config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +07:00
jld3103 d019392645
fix(provisioning_api): Fix quota fields in OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-23 10:33:37 +07:00
Côme Chilliet 61143644a4
Merge pull request #40933 from nextcloud/check-datemax-enforcement-pubshare
Check expiry enforcement for all share types
2023-10-23 09:32:27 +07:00
Joas Schilling 73a6061b53
Merge pull request #40966 from nextcloud/jr-security-policy-expansion
Add "no public GH Issues please" request, past advisories link, bounty mention, scope link to security.md
2023-10-23 07:19:15 +07:00
Nextcloud bot 1de151abd9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-23 00:26:23 +07:00
Ferdinand Thiessen 91e02fea0b
Merge pull request #41039 from nextcloud/fix/run-cypress-always-parallel
feat(cypress): Always run cypress CI in parallel
2023-10-22 18:58:39 +07:00
fenn-cs 8dfcf2e02a Do not treat `isDefaultExpireDateEnforced` as fallback
`isDefaultExpireDateEnforced` and its corresponding `defaultExpirationDate`
is currently treated as the enforcement fallback when share type enforcements are not
set.

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

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

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

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

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:43 +07:00
John Molakvoæ 4b70f19837
Merge pull request #41024 from nextcloud/fix/follow-up-app-order 2023-10-22 12:58:57 +07:00
Ferdinand Thiessen 3c0b4173b1
Merge pull request #41032 from nextcloud/dependabot/npm_and_yarn/typescript-5.2.2
chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2
2023-10-22 03:00:01 +07:00
Nextcloud bot b76ecf3781
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:37 +07:00
Ferdinand Thiessen 891097b42b
Merge pull request #41019 from nextcloud/fix-files-vl-h
fix(files): correct item height
2023-10-22 01:19:17 +07:00
Varun Patil 4d578f37e6 fix(files): correct item height
1. grid: typo? The icon size is 160 - 44 + (44 / 2) = 138px
2. non-grid: border is already included in height because the tr
   is a border-box (made this explicit to be safe)

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

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

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 18:42:08 +07:00
John Molakvoæ 3214324b72
fix(l10n): invalid translation of a number
fix https://github.com/nextcloud/server/issues/35252

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-21 11:48:46 +07:00
Ferdinand Thiessen 18cb827d96
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:30 +07:00
Ferdinand Thiessen 615a6846da
feat(theming): Allow to reset the user defined app order to the default value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:25 +07:00
Ferdinand Thiessen 9697df1ea5
fix(theming): App order settings - ensure the focus is kept on button
When pressing a button for changing the app order that button should keep the focus after reordering the list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:18 +07:00
dependabot[bot] ed80b1351a
chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +07:00
Ferdinand Thiessen df74fb0123
Merge pull request #40993 from nextcloud/pulsejet/oc-cap-refactor
refactor: remove remaining usage of OC::getCapabilities
2023-10-20 20:29:57 +07:00
Ferdinand Thiessen 14bc7d3d00
Merge pull request #41018 from nextcloud/fix-files-list-header
fix(files): disable size containment on headers
2023-10-20 20:24:54 +07:00
nextcloud-command ba252e24a9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-20 18:05:04 +07:00
Varun Patil 08bd7848ea fix(files): disable size containment on headers
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 09:03:22 +07:00
Ferdinand Thiessen 77cce714c9
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 16:23:27 +07:00
Varun Patil 9bd50a7296
refactor: remove remaining usage of OC::getCapabilities
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 16:19:43 +07:00