Commit graph

79315 commits

Author SHA1 Message Date
Côme Chilliet
fec865cc29
chore: Correctly flag json encoding methods as escaping html and quotes
Especially with JSON_HEX_TAG it’s perfectly fine to echo JSON, and we
 only use it in JSON output anyway.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-17 15:24:07 +01:00
Côme Chilliet
579a337750
fix: Fix psalm taint error in L10N factory
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-17 15:24:07 +01:00
Stephan Orbaugh
509a53c36c
Merge pull request #49872 from solonovamax/master
Update & Expand Meta Tags
2025-02-17 14:00:20 +01:00
solonovamax
9b9ea77035 feat(files_sharing): Add opengraph meta tags for multimedia, change opengraph type to website
- Adds the following opengraph tags
  - images:
    - `og:image:type`: the mimetype of the image file
  - audio:
    - `og:audio`: a direct link to the audio file
    - `og:audio:type`: the mimetype of the audio file
  - video:
    - `og:video`: a direct link to the video file
    - `og:video:type`: the mimetype of the video file
- Changes th `og:type` meta tag from `object` (which is not valid) to `website`

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2025-02-17 12:52:08 +01:00
solonovamax
6bcacff339 feat(files_sharing): Add twitter meta tags
Adds the following twitter meta tags
- `twitter:card`: `summary_large_image` if the shared file is an image & it has a preview, otherwise `summary`
- `twitter:title`: same as `og:title`
- `twitter:description`: same as `og:description`
- `twitter:image`: same as `og:image`

Fixes nextcloud/server#49871

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2025-02-17 12:52:08 +01:00
Ferdinand Thiessen
626e5bd93e
Merge pull request #50798 from nextcloud/fix/login-error-state
fix(login): only show error state on login box if user interacted
2025-02-17 11:59:11 +01:00
Julien Veyssier
cddcc17241
Merge pull request #50816 from nextcloud/fix/noid/transfer-ownership-select
fix(transferownership): Allow searching new owner by email
2025-02-17 11:53:37 +01:00
nextcloud-command
c9545ff5d2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-17 10:37:15 +00:00
Julien Veyssier
d8c24b1520
fix(transferownership): allow searching by email, display user.shareWithDisplayNameUnique in item subline, adjust style
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-02-17 11:31:25 +01:00
Kate
5b507561d3
Merge pull request #50791 from nextcloud/perf/remove-filecache-index
chore(filecache): remove index fs_id_storage_size
2025-02-17 11:31:12 +01:00
Ferdinand Thiessen
1138fd3110
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-17 10:51:51 +01:00
Ferdinand Thiessen
917b77a026
fix(login): only show error state on login box if user interacted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-17 10:50:27 +01:00
Nextcloud bot
892c473b06
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-17 00:21:45 +00:00
Nextcloud bot
a3886ba6b6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 00:44:56 +00:00
Git'Fellow
b9f8539c63
Merge pull request #50809 from nextcloud/fixPhp83Deprecation
fix(repair): PHP8.3 deprecation warning
2025-02-15 12:06:28 +01:00
Nextcloud bot
ba3868a403
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-15 00:21:54 +00:00
Christoph Wurst
228ac86fa2
Merge pull request #50769 from nextcloud/checkStorageIdSetCache
fix(SharedStorage): Check if storage ID is set on cache
2025-02-14 14:17:00 +01:00
Git'Fellow
885175772b fix(repair): PHP8.3 deprecation warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-14 11:55:19 +01:00
Nextcloud bot
20cedce95f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-14 00:22:05 +00:00
Daniel
d865a2b3c4
Merge pull request #50784 from nextcloud/fix/issue-50054-resource-invite-regression
fix: Fix regression in calendar invitation sending
2025-02-13 21:08:59 +01:00
SebastianKrupinski
aded11fe07 fix: Fix regression in calendar invitation sending
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-02-13 20:49:26 +01:00
Julius Knorr
8c69bf1219
Merge pull request #48738 from nextcloud/perf/log-high-memory-requests
perf: Log requests using high amount of memory as warning
2025-02-13 19:50:32 +01:00
dependabot[bot]
b638c27723
Merge pull request #50801 from nextcloud/dependabot/npm_and_yarn/elliptic-6.6.1 2025-02-13 18:45:53 +00:00
dependabot[bot]
f4a305110d
chore(deps): bump elliptic from 6.6.0 to 6.6.1
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.6.0 to 6.6.1.
- [Commits](https://github.com/indutny/elliptic/compare/v6.6.0...v6.6.1)

---
updated-dependencies:
- dependency-name: elliptic
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 17:24:19 +00:00
Côme Chilliet
d686cc7bcc
Merge pull request #50577 from nextcloud/enh/apply-rector-set-to-apps
Enh/apply rector set to apps
2025-02-13 18:17:53 +01:00
Côme Chilliet
b003af2364
Merge pull request #50794 from nextcloud/fix/fix-appmanager-cleanappid
fix: Only keep allowed characters in appid, and flag the method as escaping
2025-02-13 17:23:44 +01:00
Côme Chilliet
964bc960f8
chore: Update psalm-baseline-security.xml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 16:27:13 +01:00
Côme Chilliet
6e7c97ea1f
fix: Also remove digits at the start and underscore on both ends of appid
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2025-02-13 16:22:21 +01:00
Benjamin Gaussorgues
c71bc0696f
Merge pull request #50781 from nextcloud/perf/improve-incomplete-scan
perf(files): faster query to fetch incomplete directories
2025-02-13 15:21:25 +01:00
Côme Chilliet
8f57a50767
fix: Only keep allowed characters in appid, and flag the method as escaping
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 14:21:36 +01:00
Julius Knorr
d31bc88a23
perf: Log requests using high amount of memory as warning
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-02-13 13:43:10 +01:00
Côme Chilliet
fa42cd96dd
chore(user_ldap): Add psalm-suppress for deprecated emit method calls
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 12:50:56 +01:00
Côme Chilliet
17fffdbbcb
fix(settings): Inject subadmin manager and adapt tests, resolve a FIXME comment
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 12:48:12 +01:00
Côme Chilliet
64863c9d46
chore: Apply new rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:46:42 +01:00
Côme Chilliet
007335dadf
chore(rector): Enable Nextcloud 25 set for the apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:45:39 +01:00
Côme Chilliet
6c1dd472f2
chore: Bump nextcloud/rector and rector versions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:45:39 +01:00
Côme Chilliet
ed5b7ae161
chore: re-apply current rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:45:33 +01:00
Benjamin Gaussorgues
3548bde384
chore(filecache): remove index fs_id_storage_size
Index is outdated by PR 50781

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-13 11:37:10 +01:00
Côme Chilliet
ed9b47462f
Merge pull request #49648 from nextcloud/fix/clarify-app-manager-methods
Clarify app manager method names
2025-02-13 11:33:52 +01:00
Côme Chilliet
ee48cafd20
Merge pull request #50689 from nextcloud/fix/migrate-dav-to-events
fix(dav): Migrate from hooks to user events
2025-02-13 10:24:05 +01:00
Côme Chilliet
f758f565d4
fix: Replace getInstalledApps calls with getEnabledApps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 10:19:20 +01:00
Côme Chilliet
a3685551f7
fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUser
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 10:19:19 +01:00
Côme Chilliet
cffd2c8d09
chore: Improve naming of methods and properties in AppManager
Remove all references to installed apps where it’s about enabled apps

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 10:19:19 +01:00
Côme Chilliet
fb917c495b
fix(ocp): Deprecate getInstalledApps and replace with clearer method name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 10:19:19 +01:00
Côme Chilliet
d2864f7d84
fix(ocp): Deprecate isInstalled and add isEnabledForAnyone instead
The method name was really confusing

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 10:19:18 +01:00
Benjamin Gaussorgues
9bdee76535
perf(files): faster query to fetch incomplete directories
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-13 10:11:02 +01:00
Elizabeth Danzberger
6e1d9a2620
Merge pull request #50602 from nextcloud/fix/template-field-title
fix: template field title
2025-02-13 04:03:19 -05:00
Elizabeth Danzberger
729e278d38
chore: rebuild assets
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-02-13 09:39:55 +01:00
Elizabeth Danzberger
7db90efe3b
fix(template-filler): Hide template fields with unknown labels
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-02-13 09:24:00 +01:00
Git'Fellow
bc3be77a69 fix(SharedStorage): Check if storage ID is set on cache
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-13 08:29:20 +01:00