aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
...
| * | fix: Adjust parameter type usage and add SQLite supportFerdinand Thiessen2024-10-171-17/+15
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | feat(AppFramework): Add full support for date / time / datetime columnsFerdinand Thiessen2024-10-175-44/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for all Doctrine supported types, for the column types only the immutable variants needed to be added. But especially those types are the important ones, as our **Entity** class works by detecting changes through setters. Meaning if it is mutable, changes like `$entity->date->modfiy()` can not be detected, so the immutable types make more sense here. Similar the parameter types needed to be added. `Enity` and `QBMapper` needed to be adjusted so they support (auto map) those types, required when insert or update an entity. Also added more tests, especially to make sure the mapper really serializes the values correctly. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | fix(comments): Document supported types and provide psalm typingJoas Schilling2024-10-171-14/+5
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / chore: Unify user related events to always provide a `getUid` methodchore/migrate-encryption-away-from-hooksFerdinand Thiessen2024-10-154-1/+22
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #48206 from nextcloud/feat/systemtags-publicJohn Molakvoæ2024-10-151-4/+6
|\
| * feat: make systemtags public visiblefeat/systemtags-publicJohn Molakvoæ (skjnldsv)2024-10-111-4/+6
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #48687 from nextcloud/chore/gender-neutral-languageFerdinand Thiessen2024-10-145-5/+5
|\ \ | | | | | | chore: Use more gender neutral language
| * | chore: Use more gender neutral languageprovokateurin2024-10-145-5/+5
| |/ | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* / fix(appmanager): Fix tainted file path when loading appinfosbugfix/noid/fix-tainted-file-appinfoJoas Schilling2024-10-141-1/+9
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(http-client): expose default request timeout constant to be used ↵add-default-request-timeout-constThomas Citharel2024-10-111-0/+8
| | | | | | | | | | instead of magic number 30 Will be used to set default where we are able to override the default timeout. See https://github.com/nextcloud/server/pull/48418 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #48494 from nextcloud/refactor/storage/strong-param-typesKate2024-10-087-119/+48
|\
| * refactor(Storage): Make all parameter types strong typesprovokateurin2024-10-077-119/+48
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | feat(TimedJob): Add debug log about time sensitive jobs with long intervalsfix/backgroundjobs/adjust-intervals-time-sensitivitiesprovokateurin2024-10-081-0/+5
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(BackgroundJobs): Adjust intervals and time sensitivitiesprovokateurin2024-10-081-2/+2
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48438 from nextcloud/fix/bring-back-zip-eventFerdinand Thiessen2024-10-071-4/+26
|\ | | | | fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archive
| * fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archivefix/bring-back-zip-eventFerdinand Thiessen2024-09-291-4/+26
| | | | | | | | | | | | This is required to not break behavior on zip download (apps should be able to react to zip download especially for shares). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: use nc's binary finding logic for smbsmb-systembridgeRobin Appelman2024-10-041-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | docs: Folder.get throws a NotPermittedException exceptionDaniel Kesselberg2024-09-301-0/+1
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(settings): Sort all settings - incl declarative settings - by priorityfix/declarative-settings-priorityFerdinand Thiessen2024-09-281-1/+1
| | | | | | | | Previously declarative settings were sorted by priority but behind the "native" settings, this is now fixed, meaning a declarative setting with higher priority than an `ISetting` will be correctly rendered before that `ISetting` in the settings list. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(IStorage): Use false instead of bool intersection type to match ↵fix/istorage/return-typesprovokateurin2024-09-261-10/+10
| | | | | | implementations Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(icons): Document icon requirements for notifications and activitiesbugfix/noid/document-icon-requirementsJoas Schilling2024-09-252-0/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #32018 from nextcloud/cleanup/event/trashbinCôme Chilliet2024-09-241-0/+36
|\ | | | | Port files trashbin events to IEventDispatcher/IEventListener
| * chore: Use SPDX headers and property promotion in new filesCôme Chilliet2024-09-231-24/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListenerCarl Schwan2024-09-231-0/+52
| | | | | | | | | | | | | | | | oc_hooks is deprecated and will at some point be removed Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(rtl): Make clear that the direction is based on languagefeat/31420/bidi-backend-supportJoas Schilling2024-09-231-3/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(rtl): Set layout direction based on languageali ghorbani2024-09-231-0/+9
|/ | | | Signed-off-by: ali ghorbani <ghorbani.ali.developer@gmail.com>
* Merge pull request #48274 from nextcloud/feat/noid/priority-notificationsJoas Schilling2024-09-231-0/+12
|\ | | | | feat(prioritynotifications): Allow some apps to mark notifications as priority
| * feat(prioritynotifications): Allow some apps to mark notifications as priorityfeat/noid/priority-notificationsJoas Schilling2024-09-231-0/+12
| | | | | | | | | | | | | | | | | | They will be still send as push during DND. Apps are currently limited to: - twofactor_nextcloud_notification to help with login - spreed which will only set it for pushes in manually picked conversations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | chore: use a proper `@param` tag for IConstructableStorage constructor parameterCôme Chilliet2024-09-231-1/+1
| | | | | | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | fix: Move storage constructor to specific interfaceCôme Chilliet2024-09-232-8/+27
| | | | | | | | | | | | That allows Wrappers to use DI and not care about the constructor Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-202-4/+108
|/ | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore: Remove deprecated `Share_Helper::generateTarget` `$exclude` parameterchore/add-deprecation-dateFerdinand Thiessen2024-09-201-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add proper deprecation dates where missingFerdinand Thiessen2024-09-209-14/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-1951-79/+99
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #47978 from nextcloud/chore/remove-iloggerJoas Schilling2024-09-192-139/+5
|\ | | | | chore!: Remove `ILogger` and its friends
| * chore: Remove deprecated `ILogger` logging functionschore/remove-iloggerFerdinand Thiessen2024-09-192-139/+5
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #48162 from nextcloud/bugfix/noid/array-keysJoas Schilling2024-09-192-2/+2
|\ \ | |/ |/| fix(autocomplete): Move known array keys to psalm docs
| * fix(autocomplete): Move known array keys to psalm docsbugfix/noid/array-keysJoas Schilling2024-09-182-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #48182 from nextcloud/oracle-share-reminderJoas Schilling2024-09-181-1/+2
|\ \ | | | | | | fix: fix share reminder job for oracle
| * | fix: fix share reminder job for oracleoracle-share-reminderRobin Appelman2024-09-181-1/+2
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #48137 from nextcloud/enh/add-rich-object-formatterCôme Chilliet2024-09-181-0/+25
|\ \ | |/ |/| feat: Add OCP interface to format richtext into string
| * feat: Add OCP interface to format richtext into stringCôme Chilliet2024-09-171-0/+25
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(core): profile design and pronouns supportfieat/profile-pronouncesJohn Molakvoæ (skjnldsv)2024-09-181-1/+2
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-171-8/+14
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | fix(psalm): Fix @throws annotationsfix/psalm/throws-annotationsprovokateurin2024-09-173-3/+3
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(Storage): Document getOwner() can return falseprovokateurin2024-09-171-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Improve typing and phpdoc commentsCôme Chilliet2024-09-161-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Remove deprecated Storage::search method instead of moving it to IStorageCôme Chilliet2024-09-161-9/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Fix psalm issues, put back private versions of getter in private ↵Côme Chilliet2024-09-161-0/+2
| | | | | | Storage interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix other uses of removed Storage interfaceCôme Chilliet2024-09-161-0/+15
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>