aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpointJulius Härtl2023-06-282-2/+13
|\
| * fix: include invisible tags for adminsArthur Schiwon2023-06-211-2/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * feat: add searchBySystemTag as PHP APIArthur Schiwon2023-06-211-0/+10
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #38679 from nextcloud/feat/add-spec-to-preview-fetched-eventDaniel2023-06-261-4/+41
|\ \ | | | | | | feat: add width, height, crop and mode to BeforePreviewFetchedEvent
| * | feat: add width, height, crop and mode to BeforePreviewFetchedEventDaniel Kesselberg2023-06-231-4/+41
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | user_usage_report keeps a counter for files read. The app uses - OC_Filesystem::read hook - Event listener (the legacy one) for IPreview::EVENT Request for previews do not trigger the hook, hence the additional event listener. The thumbnails for a list or grid view should not count, so we need the width and height. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / refactor: declare getMount() and getMountsIn() at IRootFolderArthur Schiwon2023-06-211-0/+13
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Improve typing in ICommentsManagerCarl Schwan2023-06-201-4/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Cleanup comments codeCarl Schwan2023-06-201-5/+7
| | | | | | | - Fix various psalm issues - Add as much typing as possible while preserving stable API Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* fix type in BeforeMessageLoggedEventRobin Appelman2023-06-151-3/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* emit an event when a message is loggedRobin Appelman2023-06-131-0/+78
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore(appframework)!: Drop ↵Christoph Wurst2023-06-121-18/+1
| | | | | | \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Drop meta robots tagGit'Fellow2023-06-091-1/+0
| | | | | | Revert mistake Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Refactors "strpos" calls in lib/public to improve code readability.Faraz Samapoor2023-06-052-5/+5
| | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* refactor: migrate OC_EventSource to dependency injectionDaniel Kesselberg2023-06-032-9/+38
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: remove check for suhosin.executor.func.blacklistDaniel Kesselberg2023-06-021-5/+0
| | | | | | | | Suhosin is/was a PHP extension. The last release was 2015-05-21. Suhosin does not support PHP 8. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #38593 from nextcloud/chore/ocp/drop-util-linktopublicChristoph Wurst2023-06-021-15/+0
|\ | | | | chore(ocp)!: Drop \OCP\Util::linkToPublic
| * chore(ocp)!: Drop \OCP\Util::linkToPublicChristoph Wurst2023-06-011-15/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #38585 from ↵Christoph Wurst2023-06-021-0/+30
|\ \ | |/ |/| | | | | nextcloud/feature/ocp/send-message-with-subject-body feat(ocp): Allow sending emails with subject and body
| * feat(ocp): Allow sending emails with subject and bodyChristoph Wurst2023-06-011-0/+30
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(ocp): Mark IMessage::attachInline as @since 27Christoph Wurst2023-06-011-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(docs): Fix language and copy-paste class name in docs of CSPJoas Schilling2023-05-303-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* enh: Provide atomicRetry method to retry transactions if possibleJulius Härtl2023-05-161-0/+37
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #36592 from nextcloud/groupmanager-search-typingRobin Appelman2023-05-122-4/+4
|\ | | | | fix default values and type hints for GroupManager::search
| * revert public interface back to the original types, just cast them before ↵Robin Appelman2023-05-111-3/+3
| | | | | | | | | | | | passing the nulls to the backends Signed-off-by: Robin Appelman <robin@icewind.nl>
| * also update groupinterface and database backendRobin Appelman2023-05-111-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fix default values and type hints for GroupManager::searchRobin Appelman2023-05-111-1/+1
| | | | | | | | | | | | ints really are ints Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(users): Store and load a user's managerChristoph Wurst2023-05-121-0/+17
|/ | | | | Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #33381 from luzpaz/fix/lib-public-typosJohn Molakvoæ2023-05-1118-20/+20
|\
| * Fix typos in lib/public subdirectorySimon L2023-05-1018-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/public` Signed-off-by: luz paz <luzpaz@github.com> Update lib/public/Accounts/IAccount.php Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: Simon L <szaimen@e.mail.de> Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | Merge pull request #36118 from ↵Anna2023-05-101-0/+12
|\ \ | |/ |/| | | | | nextcloud/fix/caldav/invitation-outlook-compatibilty Fix calendar emails to be outlook compatible
| * Fix calendar emails to be outlook compatibleAnna Larch2023-02-211-0/+12
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #38104 from nextcloud/feat/um-32-bitPytal2023-05-091-1/+2
|\ \
| * | feat(UserMigration)!: 32-bit supportChristopher Ng2023-05-051-1/+2
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Add messageId to richObject definition of TalkMarcel Müller2023-05-051-0/+6
|/ / | | | | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* | Merge pull request #38016 from nextcloud/oracle-limit-workaroundDaniel2023-05-031-0/+1
|\ \ | | | | | | fix: add workaround for oci and limit queries
| * | fix: add workaround for oci and limit queriesDaniel Kesselberg2023-05-021-0/+1
| | | | | | | | | | | | | | | | | | DBAL uses a helper column "doctrine_rownum" for top-n queries Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #38003 from nextcloud/bugfix/noid/improve-translations-apiJoas Schilling2023-05-032-3/+49
|\ \ \ | | | | | | | | Improve translations api with detecting languages
| * | | feat(translation): Return the detected language so clients can show more detailsJoas Schilling2023-05-022-3/+49
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #37943 from nextcloud/fix/fix-getcontent-return-typeArthur Schiwon2023-05-033-2/+3
|\ \ \ | | | | | | | | Fix file_get_content signatures to make it clear it can return false
| * | | Fix file_get_content signatures to make it clear it can return falseCôme Chilliet2023-04-273-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In File::getContent, which must return a string, throw an Exception instead of returning false. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #32866 from ↵Côme Chilliet2023-05-023-3/+56
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/performance/searchInGroup-displayname-cache Optimize retrieving display name when searching for users in a group
| * | | Update version number in since and deprecated annotationsCôme Chilliet2023-04-272-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Clear up return typesCôme Chilliet2023-04-272-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | usersInGroup index by int for BC, searchInGroup index by uid (string). Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Let OC\Group\Group handle the fallback and remove default implementation ↵Côme Chilliet2023-04-271-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | from ABackend Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Split new method in a new group backend interfaceCarl Schwan2023-04-273-25/+55
| | | | | | | | | | | | | | | | | | | | | | | | Better for backward compatibility, also move new interfaces to nc 26 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Optimize retrieving display name when searching for users in a groupCarl Schwan2023-04-273-2/+39
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This is recurrent scenario that we are searching for users and then for each users we fetch the displayName. This is inefficient, so instead try to do one query to fetch everything (e.g. Database backend) or use the already existing DisplayNameCache helper. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | fix(psalm): systemtagsJohn Molakvoæ2023-04-281-2/+2
| | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | fix: Empty fallback for template creator action labelJulius Härtl2023-04-271-1/+1
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Create new file/folder labelsChristopher Ng2023-04-271-1/+21
| | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Merge pull request #37480 from ↵Christoph Wurst2023-04-261-1/+1
|\ \ | | | | | | | | | | | | nextcloud/fix/ocp/ilogfactor-getcustomlogger-deprecation-version fix(ocp): Add deprecation version to ILogFactory::getCustomLogger