Commit graph

78 commits

Author SHA1 Message Date
Salvatore Martire
bdcd583045 feat: make use of preloadCollection in core apps
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-08-15 10:46:43 +02:00
Josh
fc6fb866d7
fix(files_reminders): Don't load if disabled for user
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-07-02 12:58:29 -04:00
Joas Schilling
57a375ce97
Merge pull request #53421 from nextcloud/fix/convert-schedulednotifications-to-timedjob
fix: make ScheduledNotifications a TimedJob and run every minute
2025-06-27 11:04:11 +02:00
Daniel Kesselberg
0c978a1528
fix(reminders): use tablename without prefix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-23 15:19:12 +02:00
Salvatore Martire
dc041c530c fix: make ScheduledNotifications a TimedJob and...
run every 1s.

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-06-20 18:35:48 +02:00
Git'Fellow
4eb357e91a
fix(files_reminders): Join the reminders with the file system metadata table
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-06-17 16:34:45 +02:00
Robin Appelman
3d36625af6
fix: don't check node access again for listing reminders in dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-25 20:34:58 +02:00
rakekniven
0ceea33749
chore(i18n): Aligned spelling of app name
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-04-12 17:19:26 +02:00
Ferdinand Thiessen
c0212af7fa
chore: lint files_reminders using psalm
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 10:56:16 +02:00
Ferdinand Thiessen
d79070c639
fix(files_reminders): add l10n to constructor of setup check
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 10:56:16 +02:00
Ferdinand Thiessen
a68204971b
fix(files_reminders): add missing import
- Resolves https://github.com/nextcloud/server/issues/51943

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 10:56:16 +02:00
Louis Chemineau
776c103c36
fix(files_reminder): Replace error log by setup check
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:19:43 +02:00
Louis Chemineau
04d49452b8 fix(files_reminders): Lower disabled notifications app error to info
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 14:34:25 +02:00
Christopher Ng
3898bb8bcc fix(files_reminders): Do not attempt to send reminders after a user has left a share
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-26 14:19:11 -08:00
Christopher Ng
2015cd87fd perf(files_reminders): Use in-memory cache
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-21 14:03:01 -08:00
Christopher Ng
c97589997f perf(files_reminders): Pre-cache directory
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-21 14:03:01 -08:00
Christopher Ng
3b59f39d68 chore(files_reminders): Remove unused find
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-21 14:03:01 -08:00
Christopher Ng
986666220a chore(files_reminders): Remove unused get
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-21 14:03:01 -08:00
Christopher Ng
802886d592 perf(files_reminders): Reduce db queries on propfind
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-21 14:03:01 -08:00
Andy Scherzinger
fd591b0b9b
fix(lint): remove whitespaces
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-02-20 15:34:49 +01:00
Christopher Ng
55351cfe32
fix(files_reminders): Check for node access when retrieving or removing reminders
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-20 15:34:48 +01:00
Christopher Ng
cdf6db0016
fix(files_reminders): Only allow updating reminders if the file is accessible
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-20 15:34:48 +01:00
Faisal Alghamdi
3d410aaaad Fix(files_reminders): Add an error log message that notifications app isn't enabled at files_reminders app load.
Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
2024-11-29 10:29:29 -05:00
provokateurin
77114fb327
fix(OpenAPI): Adjust array syntax to avoid ambiguities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-05 09:58:11 +01:00
Ferdinand Thiessen
db94e10af0
fix: Prevent breaking change in IQueryBuilder
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:44 +02:00
Ferdinand Thiessen
ee02e3246d
feat(AppFramework): Add full support for date / time / datetime columns
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>
2024-10-17 18:31:42 +02:00
provokateurin
54ec472d9a
fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-08 11:26:53 +02:00
Joas Schilling
8130968a35
feat(notifications): Migrate server INotifiers to new exceptions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-25 11:56:24 +02:00
Andy Scherzinger
8d8891c5bc
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-30 15:49:33 +02:00
Christopher Ng
5ae3556178 chore(files_reminders): Register dav plugin directly
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-08 03:46:55 -08:00
Robin Appelman
e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
Christopher Ng
66f4c677c7 feat(files_reminders): Add propfind dav plugin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-14 11:53:10 -08:00
John Molakvoæ
9593f4d6f9
fix: openapi
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:06:31 +01:00
Côme Chilliet
8bcc2d352e chore: Fix missing template parameter for IEventListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +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
John Molakvoæ
cf6c921376
chore(files_reminders): upgrade to 28 APIs
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +01:00
jld3103
a95bebde34
files_reminders: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-22 08:33:42 +02:00
Christopher Ng
be6c4c4058 fix(files_reminders): Delete reminders on node deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:09:24 -07:00
Christopher Ng
6d2292fe1d fix(files_reminders): Always respect json output option
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:07:03 -07:00
Christopher Ng
0d3297db28 fix(files_reminders): Allow non-admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:05:14 -07:00
Christopher Ng
86db2d7f15 enh: pass params in subject
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
0b15feec7f fix: remove non-existing reminder notification
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
89692cf8a1 fix: load script
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
18fb955a41 enh: add clean up buffer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
dec011180a feat(files_reminders): integrate load scripts
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng
a806bd0d3c enh: handle user deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:43:35 -07:00
Christopher Ng
5a11535c51 fix: set endpoint description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng
2c4b562cdc fix: ignore non-existing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng
e320166b15 enh: add json output to command
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng
d61916621d fix: return null if table exists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00