Michal Polacik
d3a77e4a11
Permanently delete deck cards marked as deleted after 5 min in a cron job
...
Limit deleted cards in one cron job run to 500
Converted spaces to tabs
Added missing import for CardMapper class
Added another missing import for CardMapper class
Fixed response object in findToDelete method + fixed 2 misspellings in API.md
Fixed invalid parameter type
Fix DeleteCronTest
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
Fix lint errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2022-12-09 14:38:59 +00:00
Julius Härtl
333206c549
Fix validation of attachment data
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-11-03 20:43:47 +01:00
Julius Härtl
ab7da85964
Add integration test for attachment handling on cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-11-03 20:43:45 +01:00
Julius Härtl
f4c09fefd9
Add some tests for parameter validation
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-31 14:22:23 +01:00
Luka Trovic
bd6e632055
feat: add validators to check values in services
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-10-31 14:22:20 +01:00
Julien Veyssier
a89bdab5e3
fix tests
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2022-09-08 12:09:23 +02:00
Julius Härtl
e0b2755b7c
Fix php-cs-fixer failure
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-05-12 09:09:20 +02:00
Julius Härtl
9e1fbb9852
Move all caching to helper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-05-11 14:43:32 +00:00
Julius Härtl
335ee31c7c
Add missing indices
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-26 16:26:17 +00:00
Julius Härtl
020429c181
Merge pull request #3670 from nextcloud/bugfix/noid/stack-update-check
...
Properly check for the stack AND setting board permissions
2022-04-11 16:34:56 +02:00
Julius Härtl
7c8e762d5d
Merge pull request #3690 from nextcloud/bugfix/optimise_notifier_queries
...
Optimise queries when preparing card related notifications
2022-04-11 13:47:44 +02:00
Julius Härtl
86d3de2211
Properly check for the stack AND setting board permissions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-11 12:47:44 +02:00
Raul Ferreira Fuentes
dbc4d10ddf
Fix naming scheme
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-11 11:58:36 +02:00
Julius Härtl
c3a98fa4e3
Merge pull request #3695 from nextcloud/update-master-phpunit-config
...
Update master php testing versions
2022-04-11 09:53:58 +02:00
Julius Härtl
0ce4279d8f
Merge pull request #3689 from nextcloud/bugfix/noid/fix-cron-jobs
...
Fix cron jobs
2022-04-08 21:47:48 +02:00
dependabot[bot]
93757de86b
build(deps-dev): Update symfony/event-dispatcher requirement
...
Updates the requirements on [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher ) to permit the latest version.
- [Release notes](https://github.com/symfony/event-dispatcher/releases )
- [Changelog](https://github.com/symfony/event-dispatcher/blob/5.4/CHANGELOG.md )
- [Commits](https://github.com/symfony/event-dispatcher/compare/v4.4.0...v5.4.3 )
---
updated-dependencies:
- dependency-name: symfony/event-dispatcher
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-08 19:33:54 +00:00
Julius Härtl
83f550aaf4
Merge pull request #3699 from nextcloud/dependabot/composer/tests/integration/guzzlehttp/guzzle-7.4.2
...
build(deps-dev): Update guzzlehttp/guzzle requirement from 6.5.2 to 7.4.2 in /tests/integration
2022-04-08 21:33:26 +02:00
dependabot[bot]
69cf1b797a
build(deps-dev): Update sabre/dav requirement in /tests/integration
...
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav ) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases )
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sabre-io/dav/compare/3.2.3...4.3.1 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-08 17:49:24 +00:00
dependabot[bot]
821cd5114f
build(deps-dev): Update guzzlehttp/guzzle requirement
...
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle ) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases )
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md )
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...7.4.2 )
---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-08 17:49:21 +00:00
dependabot[bot]
235116725b
build(deps-dev): Update behat/behat requirement in /tests/integration
...
Updates the requirements on [behat/behat](https://github.com/Behat/Behat ) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases )
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Behat/Behat/compare/v3.8.0...v3.10.0 )
---
updated-dependencies:
- dependency-name: behat/behat
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-08 15:20:23 +00:00
Joas Schilling
99d720d935
Fix cron jobs
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2022-04-08 17:13:17 +02:00
Julius Härtl
ea498d485c
Migrate phpunit configuration
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-08 17:06:45 +02:00
Joas Schilling
8d2cfe076f
Update master php testing versions
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2022-04-08 17:06:45 +02:00
Julius Härtl
a08f1936ec
Fix test warnings
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-08 15:40:01 +02:00
Julius Härtl
9dd8408c34
Bump phpunit for integration tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-04-08 15:40:00 +02:00
Raul Ferreira Fuentes
6181d9edf7
Fix NotifierTest to mock the new StackMapper::findStackFromCardId() method correctly.
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-05 18:07:06 +02:00
Julius Härtl
48db989781
Handle description shortening more gracefully
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:48:32 +01:00
Julius Härtl
3f29cd97db
Cover case where the owner is preserved
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:30 +01:00
Julius Härtl
3a4ec07103
fix: test cases using generator
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00
Julius Härtl
c2144373d9
fix: Properly handle limited scope for remapping users
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00
Julius Härtl
a032287cb5
cleanup test cases
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00
Julius Härtl
a45e46f80a
Allow transfer of single boards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00
Julius Härtl
72134e6e95
fix: unit tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:28 +01:00
Luka Trovic
e4551bde15
feat: add integration test for transferring board ownership with data
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-03-22 08:23:28 +01:00
Luka Trovic
4615926e3b
fix: integration tests
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-03-22 08:23:28 +01:00
Luka Trovic
afbbdf0c1b
fix: unit test & psalm static code analysis issues
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-03-22 08:23:28 +01:00
Max
4d3dabb94e
fix: Assignment is the new AssignedUsers
...
Signed-off-by: Max <max@nextcloud.com >
2022-03-22 08:23:27 +01:00
Julius Härtl
e8ada52c37
Make queries work with the new base mapper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
fix: conflicts
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
6106066460
Fix coding styles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
Signed-off-by: Max <max@nextcloud.com >
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
7df4b7c4bf
Transfer deck ownership even if target user already participant of a board
...
https://github.com/nextcloud/deck/pull/1955#issuecomment-640392715
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
8b45495214
Check type before transfer card participants ownership
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
temp
2022-03-22 08:23:26 +01:00
Sergey Shliakhov
e3750a709d
Fix wrong class name
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
2022-03-22 08:23:26 +01:00
Sergey Shliakhov
b45c454ce2
Fix code style
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
2022-03-22 08:23:26 +01:00
Sergey Shliakhov
3d269e28f4
Add tests
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
2022-03-22 08:23:26 +01:00
Luka Trovic
165375fbab
fix: generate fixed link for activity emails
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
fix: generate fixed link for activity emails
Signed-off-by: Luka Trovic <luka@nextcloud.com >
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-09 16:57:31 +01:00
Julius Härtl
eaf6defe59
Move any circles API usage to internal service
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-01-03 10:23:47 +01:00
Vitor Mattos
ccd5bce7ea
Replace glob by EventDispatcher
...
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:50 +01:00
Vitor Mattos
f2b6934ac3
Move all classes to a sub-namespace
...
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:50 +01:00
Vitor Mattos
fda8a03c43
Remove unused codes
...
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:50 +01:00
Vitor Mattos
5b30577df0
Update documentation, import created
...
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:50 +01:00