Commit Graph

13937 Commits

Author SHA1 Message Date
Hamid Dehnavi
32ee6f7d04 Add adjustments based on the review
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-01-02 16:54:54 +01:00
Hamid Dehnavi
0ac1480be2 refactor lib/private/Notification
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-01-02 16:54:54 +01:00
Josh Richards
7a212b1f38 Fix log rotation notification level (warning->info)
Fixes #42537 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-31 20:26:39 -05:00
Julius Härtl
6a63974bf5
Merge pull request #26540 from nextcloud/bugfix/noid/sqlite-datetime
Cast datetime columns in sqlite before comparing
2023-12-29 11:52:32 +01:00
Julius Härtl
77cec80feb
Merge pull request #41914 from nextcloud/s3-copy-size-limit
only do a multipart s3 copy when above the regular copy limit
2023-12-29 11:28:54 +01:00
Julius Härtl
86dc766276 Cast datetime columns in sqlite before comparing
Move the logic to prepare a column to the parent ExpressionBuilder so
that it can be reused for OCI and sqlite

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-29 10:36:59 +01:00
Alexander Piskun
cdc2723d97
Merge pull request #42479 from nextcloud/appapi-twofactor
AppAPI: allow to bypass Two-Factor
2023-12-29 11:29:29 +03:00
Alexander Piskun
26d343d33a
AppAPI: allowed to bypass Two-Factor
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-12-28 20:59:02 +03:00
Julius Härtl
e4054370b1
fix(s3): Add config option to disable multipart copy for certain s3 providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-28 15:31:38 +01:00
Robin Appelman
1043c21b35
only do a multipart s3 copy when above the regular copy limit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-28 15:31:37 +01:00
Julius Härtl
81b089cf30
fix: Avoid using replicas during setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-28 11:51:35 +01:00
Daniel
b9b0ca6dea
Merge pull request #41998 from nextcloud/enh/read-replica 2023-12-27 21:57:30 +01:00
Stephan Orbaugh
7d8741c53f
Merge pull request #37469 from nextcloud/lock-restore-ttl
restore shared lock ttl to previous value when releasing
2023-12-22 10:43:04 +01:00
Robin Appelman
ff62154a79 adjust redis compareSetTTL to use a lua script
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-21 15:14:27 +01:00
Robin Appelman
7394645eb7 restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-21 15:14:27 +01:00
Joas Schilling
4cb5501a3f
fix(cron): Reset the reserved_at when force executing from CLI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-20 10:07:41 +01:00
MB-Finski
f27d2bf352 Update doc blocks
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
2023-12-20 07:49:09 +00:00
Git'Fellow
5077d0a10b
Merge pull request #42298 from nextcloud/readOnlyFSFalse
Don't write back .htaccess file on a RO filesystem
2023-12-19 21:34:16 +01:00
Marcel Klehr
53be798a70
Merge branch 'master' into enh/text-processing-provider-with-id 2023-12-19 16:14:13 +01:00
Sami Finnilä
8904bf645b Return providers as indexed array
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
2023-12-19 13:25:45 +00:00
Marcel Klehr
52d729c69e cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 13:32:15 +01:00
Marcel Klehr
928fee8ab4 enh(SpeechToText): Allow providers to declare a dynamic ID instead of using className
this allows AppAPI to register anonymous classes as SpeechToText providers

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:31:21 +01:00
Marcel Klehr
2e0141165a
Merge branch 'master' into enh/text-processing-provider-with-id
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:29:03 +01:00
Louis Chemineau
a39b3a3d84
Add global accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 10:21:13 +01:00
Eduardo Morales
24f97a57e2 fix(manager): removed dead code
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-18 12:29:50 -06:00
Julius Härtl
79c4986354
enh: Implement PrimaryReadReplicaConnection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-16 20:27:37 +01:00
Anna Larch
dc87c531b5 fix(joblist): also reset last_run timestamp on updating an existing job
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-15 11:49:51 +01:00
Git'Fellow
b22ac93606
Read Only FS return false
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-12-15 08:35:15 +01:00
Joas Schilling
6056928dc6
feat(comments): Add a meta data column for comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-14 14:32:00 +01:00
fenn-cs
0b171f6095 Rename "global search" to "unified search"
- Changes appearances of "Global search" to "Unified search" in UI
- Refactors code, to remove usage of term "GlobalSearch" in files and code
 structure
- Rename old unified search to `legacy-unified-search`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 20:34:37 +01:00
Ferdinand Thiessen
b1fffb0d3b
enh(NavigationManager): Use ID as fallback for app property of entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 15:46:22 +01:00
Julius Härtl
6c52242fb1
Merge pull request #41927 from nextcloud/perf/login-with-email-token 2023-12-05 11:11:33 +01:00
Joas Schilling
fffbb06417
Merge pull request #41962 from nextcloud/fix/dav/check-current-ooo-time
fix(dav): Make current ooo info time-dependent
2023-12-05 10:52:28 +01:00
Christoph Wurst
9a206c6282
fix(dav): Make current ooo info time-dependent
* If there is an out of office absence info and it happens now -> return
  data
* Else: return no data

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-05 08:36:50 +01:00
Maxence Lange
43469337b4 +files_metadata_installed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-05 01:37:41 -01:00
Joas Schilling
2a0daf7aff
fix(metadata): Allow to load metadata of multiple files at once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 13:34:10 +01:00
Joas Schilling
89aa3957ce
Merge pull request #41999 from nextcloud/bugfix/noid/handle-idn_to_utf8-returning-false
fix(security): Handle idn_to_utf8 returning false
2023-12-04 11:46:27 +01:00
Joas Schilling
33e1c8b236
fix(security): Handle idn_to_utf8 returning false
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 10:38:46 +01:00
Marcel Klehr
062a0efed5 fix(TemplateManager): Bail early if templatedirectory is empty
fixes #39266

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 08:53:52 +01:00
Joas Schilling
3267ad7630
Merge pull request #41931 from nextcloud/techdebt/noid/add-typing
techdebt(Middleware): Add more specific array types so its clickable in IDEs
2023-12-01 08:00:00 +01:00
Julius Härtl
3cd1d74a81
fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:51:48 +01:00
Julius Härtl
a3a343ce41
perf: Use more performant way to obtain and check the email as a login name with token login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:51:47 +01:00
Joas Schilling
ce583cb67b
techdebt(Middleware): Add more specific array types so its clickable in IDEs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 12:27:08 +01:00
fenn-cs
b5981f67b4 Enable new global search by default
The new global search would now be activated by default and users,
 have the option to revert to the old unified search by setting `unified_search.enabled`
to true in the NC `config.php` file.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 12:20:13 +01:00
Louis Chemineau
2f6a4bf4a1
Synchronize operation on live photo files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-29 19:07:32 +01:00
Daniel Kesselberg
9f76600c88
fix: change mime type for msg file
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-29 12:27:55 +01:00
Daniel Kesselberg
dea865d247
fix: add mimetype for eml and msg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-28 17:12:21 +01:00
Côme Chilliet
624f8f82ca
Merge pull request #41460 from nextcloud/feat/migrate-database-missing-checks
Migrate database missing checks
2023-11-28 14:06:19 +01:00
Git'Fellow
394cd75322
Merge pull request #41272 from nextcloud/fixOccScans
fix: reduce memory consumption of scans
2023-11-28 11:36:59 +01:00
Anna Larch
f19645adab enh(userstatus): add OOO automation and remove calendar automation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 10:28:06 +01:00
Joas Schilling
f6b6776c93
fix(API): Use a distinct exception so apps can react to it and customize the return
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-28 06:11:57 +01:00
Côme Chilliet
1b547c7db8 Migrate missing primary key database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Côme Chilliet
ad88c04f2d Migrate missing index database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Côme Chilliet
2cb1c0f2dc Migrate missing column database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Joas Schilling
3ccb301853
Merge pull request #41578 from nextcloud/enh/noid/dispatcher-test-argument-range
Enable AppFramework dispatcher to enforce integer ranges
2023-11-27 10:40:50 +01:00
Arthur Schiwon
3fa43a529b
enh(dispatcher): enforce psalm ranges in the http dispatcher
- allows devs to provide int ranges for API arguments

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-24 12:46:38 +01:00
Richard Steinmetz
8191295f66
feat(dav): dispatch out-of-office started and ended events
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-23 17:18:49 +01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Maxence Lange
ee787cd1c6
Merge pull request #41459 from nextcloud/enh/noid/search-metadata-null
implements search on null/notnull metadata
2023-11-23 07:52:27 -01:00
Kate
cd25b3a0d1
Merge pull request #41662 from nextcloud/chore/settings/cleanup-manager-type-annotations 2023-11-23 09:21:01 +01:00
jld3103
ae360080f5
chore(settings): Cleanup IManager and Manager type annotations
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-23 08:29:37 +01:00
Andy Scherzinger
42724c15c5
Merge pull request #40462 from nextcloud/refactor/lib-array_search-to-in_array
refactor: Replace array_search with in_array in lib/
2023-11-22 20:42:52 +01:00
Arthur Schiwon
99f945622f
Merge pull request #40071 from nextcloud/bugfix/noid/dont-block-admin-page-when-updater.nextcloud.com-is-down
fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
2023-11-22 15:18:18 +01:00
Maxence Lange
7467422f57 implements search on null/notnull metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 12:43:27 -01:00
Ferdinand Thiessen
9c3321c524
Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behavior
fix(ObjectStore): Make copying behavior consistent with local storage
2023-11-22 13:54:01 +01:00
Maxence Lange
8877f9bec9
Merge pull request #41653 from nextcloud/enh/noid/sync-token-on-retrievemetadata
get sync_token on retrieveMetadata()
2023-11-22 10:13:31 -01:00
Joas Schilling
053157b87e fix(updatecheck): Don't wait 120s for a response of updater.nextcloud.com
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-22 11:44:43 +01:00
Arthur Schiwon
bc1da2fa54
Merge pull request #40114 from summersab/refactor/OC-Server-getAvatarManager
Refactor `OC\Server::getAvatarManager`
2023-11-22 11:43:51 +01:00
Christoph Wurst
ea8f9a7e84 refactor: Repalce array_search with in_array in lib/
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-22 11:42:53 +01:00
Benjamin Gaussorgues
ba1af2b22e
Merge pull request #41646 from nextcloud/feat/hide-search-provider
feat(search): hide search provider from list
2023-11-22 09:49:46 +01:00
Benjamin Gaussorgues
75e5854458
feat(search): hide search provider
Some search providers can be hidden if they send `null` in `getOrder`

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-22 08:47:53 +01:00
Maxence Lange
ff823cf926 accept boolean value
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 01:20:42 -01:00
Maxence Lange
e37ab38780 get sync_token on retrieveMetadata()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-21 21:11:13 -01:00
Louis
b9bd73a92d
Merge pull request #41540 from nextcloud/artonge/feat/add_metadata_generation_job
Add metadata generation job
2023-11-21 15:37:48 +01:00
Louis Chemineau
b63ddc73a2 Listen to cache event when deleting metadata
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-21 13:52:31 +01:00
Luka Trovic
b134e1cbc7 feat: update sign up link in share pages
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2023-11-21 10:10:37 +01:00
Maxence Lange
ae71ed1e37
Merge pull request #41601 from nextcloud/enh/noid/named-metadata-event
add named metadata event
2023-11-20 22:20:29 -01:00
Joas Schilling
e5b996722a
Merge pull request #41616 from nextcloud/bugfix/noid/fix-ocs-absolute-URLs-with-ignore-front-controller
fix: Fix linkToOCSRouteAbsolute() without index.php and with subfolder
2023-11-20 17:00:43 +01:00
Maxence Lange
22d6c8dcd4 add named metadata event
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-20 13:32:54 -01:00
Joas Schilling
572ea18ac7
fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-20 11:18:47 +01:00
Simon L
753e7c2dff
Merge pull request #41544 from nextcloud/enh/noid/updatehtaccess-disk-space-check 2023-11-20 08:14:57 +01:00
Simon L
4c522f0f65 do not write htaccess file if disk space is too low
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-17 15:22:53 +01:00
Ferdinand Thiessen
5172baaf8b
fix(ObjectStore): Make copying behavior consistent with local storage
Drop file permissions on copy like we do on local storage.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 12:54:37 +01:00
Ferdinand Thiessen
7df9eb3351 feat(ContentSecurityPolicy): Allow to set strict-dynamic on script-src-elem only
This adds the possibility to set `strict-dynamic` on `script-src-elem` only while keep the default rules for `script-src`.
The idea is to allow loading module js which imports other files and thus does not allow nonces on import but on the initial script tag.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 11:12:57 +01:00
Marcel Müller
db3c731b0e
Merge pull request #41541 from nextcloud/fix/noid/serve-flac-files
Serve .flac audio files
2023-11-16 20:35:07 +01:00
Christoph Wurst
c9dc377ebc
Merge pull request #41395 from nextcloud/hello-emf
feat: add preview provider for emf files based on office
2023-11-16 19:48:06 +01:00
Benjamin Gaussorgues
23605d60dd
Merge pull request #41057 from nextcloud/registermounts-opt
optimize UserMountCache::registerStorage
2023-11-16 18:30:01 +01:00
Robin Appelman
b942850af9
optimize UserMountCache::registerStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-16 16:21:59 +01:00
Joas Schilling
7b45939561
Merge pull request #41511 from nextcloud/enh/advanced_search_backend
Enhancements for advanced search API
2023-11-16 15:41:27 +01:00
Louis Chemineau
a0ff998c00
Add metadata generation job
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 15:02:38 +01:00
Marcel Müller
eaf863dfdb Serve .flac audio files
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-11-16 14:24:56 +01:00
Louis
9c3350b313
Merge pull request #41465 from nextcloud/artonge/migrate_metadata
Migrate old metadata table to the new ones
2023-11-16 11:20:57 +01:00
Louis Chemineau
95938d32d9
Add migration from the old to new metadata tables
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 09:21:55 +01:00
Joas Schilling
2fa78f6245
Reverse X-Forwarded-For list to read the correct proxy remote address
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 07:45:19 +01:00
Benjamin Gaussorgues
ae31d03217
Merge pull request #41486 from nextcloud/fix/41470/invalid_user_group
Fix invalid users/groups handling in advanced search
2023-11-16 02:50:09 +01:00
Christoph Wurst
33e07121d2
Merge pull request #41501 from nextcloud/feat/dav/show-ooo-ui-by-default
feat(dav): Enable OOO UI and expose enabled via OCP
2023-11-15 18:26:27 +01:00
Benjamin Gaussorgues
72c191df11
Introduce constants for builtin search filters
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 17:24:37 +01:00
Simon L
c2658bf913
Merge pull request #37959 from nextcloud/ob-proc 2023-11-15 16:47:59 +01:00
Benjamin Gaussorgues
82c164dabe
Change person type separator
`/` isn't allowed in UID, it will avoid conflicts

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 16:34:56 +01:00
Christoph Wurst
45541eb685
feat(dav): Enable OOO UI and expose enabled via OCP
Makes the feature opt-out now that we have meaningful integrations based
on OOO data. Allows instances still to turn the feature off.

For apps like Mail that build on top of this feature we need to know if
the instance has the feature turned on or off. This is exposed as OCP
API, too.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-15 15:53:38 +01:00