Anna Larch
fc4ef6133b
fix(ooo): add new ooo status with new emoji
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 11:35:00 +07: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 +07: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 +07: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 +07:00
Christoph Wurst
a213650b71
fix(caldav): Cast calendar objects id to int when building index
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 09:45:39 +07:00
Christoph Wurst
6f3f84e955
fix(caldav): Close DB cursor in reminder index background job
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-05 18:47:24 +07:00
Joas Schilling
c3c3dcbcd9
fix(user_status): Fix the user status automation on the day availability rules are adjusted
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-13 11:41:36 +07:00
Thomas Citharel
5c5de0bac1
fix(dav): Handle no next potential toggle in availability detection
...
Fixes: min(): Array must contain at least one element at /var/www/nc/nextcloud/apps/dav/lib/BackgroundJob/UserStatusAutomation.php#142
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-10 12:18:13 +07:00
Joas Schilling
3eda055c68
Merge pull request #36260 from nextcloud/bugfix/noid/fix-user-availability-selection
...
Fix WHERE condition when selecting user's availability for the status…
2023-01-23 15:59:39 +07:00
Joas Schilling
1aba0e22ba
Fix WHERE condition when selecting user's availability for the status automation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 07:21:22 +07:00
Christoph Wurst
afd1ddb0ea
chore(dav): Make json_encode and json_decode throw on error
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-19 19:19:22 +07:00
Thomas Citharel
6f15873321
Add a background job to prune outdated sync tokens
...
We remove all outdated sync tokens, based on their auto-incremented ID.
By default we only keep the last 10 000, but this can be configurable.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-27 20:12:13 +07:00
Vincent Petry
a02dee7c69
Merge pull request #32956 from nextcloud/fix/upload-folder-wrong-content
...
Handle file contained inside the uploads folder
2022-07-27 17:06:39 +07:00
Joas Schilling
bd3c1fdf74
Remove unused import
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +07:00
Joas Schilling
5dee54d70b
Add status automation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:07 +07:00
Joas Schilling
fdcf3eafd6
Fix determination of cron job run
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:33:05 +07:00
Joas Schilling
251f450df6
User status automation background job
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 12:32:07 +07:00
Carl Schwan
944675a4a2
Handle file contained inside the uploads folder
...
Fix #32450
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-21 14:29:44 +07:00
Carl Schwan
f7be76125f
Fix more psalm issues
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 11:05:54 +07:00
Côme Chilliet
e2531f8503
Migrate dav application from ILogger to LoggerInterface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-02 10:52:43 +07:00
Christoph Wurst
c01eb07756
Mark DAV background jobs as time sensitive/insensitive
...
* As a bonus they are now all using OCP base classes
* Strict typing is now enforced
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-22 13:55:06 +07:00
Joas Schilling
b8e0a3dbdd
Use the new option to signaling insensitivity
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 13:54:54 +07:00
Christoph Wurst
7b2fb9295e
Clean up the DAV resource background job
...
* Replace deprecated execute with executeQuery and executeStatement
* Close open cursors
* Drop phpdoc that only mirrors php type hints
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-02 16:38:48 +07:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +07:00
Christoph Wurst
d6d8e9215c
Add a trashbin for calendars and calendar objects
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 07:49:19 +07:00
Christoph Wurst
f5462650f1
Clean up reminder actions and call methods directly
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-07 12:13:47 +07:00
Roeland Jago Douma
e62790cfe2
Add some closure return types
...
Found by psalm
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-14 12:43:31 +07:00
Christoph Wurst
8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-08 11:45:19 +07:00
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16 18:48:22 +07:00
Roeland Jago Douma
6166e1a157
Use proper OCP\BackgroundJobs\Job
...
And typehunt the IJobList
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-25 15:03:06 +07:00
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +07:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +07:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
...
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +07:00
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +07:00
Julius Härtl
fba7bcfcc4
Catch NoUserException when running the upload cleanup as cronjob
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-03 23:06:26 +07:00
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31 14:52:54 +07:00
Julius Härtl
4b593cbd25
Catch NotFoundException when getting the user folder
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-26 11:20:20 +07:00
Thomas Citharel
354e8c1f2b
Introduce a default refresh rate app setting for calendar subscriptions
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-21 12:49:37 +07:00
Thomas Citharel
8b22b9f046
Move RefreshWebcalJob logic to a proper service so that it may be called
...
independently
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-10 16:04:38 +07:00
Georg Ehrke
98edf44c66
RefreshWebcalJob: Fix reading subscription from database leading to ignored refreshRate
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-30 13:04:42 +07:00
Georg Ehrke
27a31cdaf1
Support more IPv6 addresses in the RefreshWebcalJob
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-12-12 10:05:36 +07:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +07:00
Roeland Jago Douma
68748d4f85
Some php-cs fixes
...
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-22 20:52:10 +07:00
Christoph Wurst
9ff9803da4
Fix missing parent constructor call in DAV reminder job
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-08-26 16:08:10 +07:00
Georg Ehrke
4d28a4544e
Final fixes
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-08-15 20:05:01 +07:00
Georg Ehrke
2d6473e79b
Add repair step to register reminder index for existing events
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-08-15 20:03:54 +07:00
Georg Ehrke
36b9b51297
run send reminders background-job only when mode is not set to occ
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-08-15 20:02:56 +07:00
Thomas Citharel
7bddcc091d
Support event reminders (email and notifications)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-15 20:02:56 +07:00
Georg Ehrke
ca060a2a83
sync metadata of rooms / resources with cache
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-08-01 10:08:56 +07:00
Georg Ehrke
089a421ece
RefreshWebcalJob: replace ugly Regex with standard php utils
...
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-07-02 20:04:54 +07:00