Julius Härtl
6891b80eb2
style: fix php-cs
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:49:01 +02:00
Julius Härtl
63eb8cf350
tests: ignore version of stored json for import tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:48:39 +02:00
Julius Härtl
3a5d5bd449
fix: Only map owner for user mapping
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:15 +02:00
Julius Härtl
3039d6dce2
fix: Add output for individual failures or skipped parts
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:14 +02:00
Julius Härtl
60df897bd2
tests: assert json diff between import/export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:14 +02:00
Julius Härtl
073093c958
test: Add reimport test case
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:13 +02:00
Julius Härtl
f5648284f2
feat: Let occ deck:import default to deck json importer
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:40:11 +02:00
Julius Härtl
890893f9e3
docs: Add dedicated documentation section for import/export
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
docs: Update import docs
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:39:13 +02:00
Julius Härtl
748f8bee3f
test: Add example test data for deck import
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:39:13 +02:00
Julius Härtl
d93d4af44f
test: Add some basic integration test skeleton for import
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-08-11 19:39:12 +02:00
chandi Langecker
b4eece879d
test(unit): fix tests, mostly due to missing boardId's, which are now required for event emitting
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-02-21 21:53:22 +01:00
Julius Härtl
46df19a3a6
fix: Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:28 +01:00
Julius Härtl
4b319d8d23
perf: Avoid extra round trips when checking permissions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
133e3f3140
tests: Adapt tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:27 +01:00
Julius Härtl
2542b6ed16
ci: Add query count for integration tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
2ffecd81d4
chore: Fix typings and update psalm baseline
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-15 13:29:26 +01:00
Julien Veyssier
514673f6e7
fix integration test to search for comments
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2023-02-08 14:02:06 +01:00
Julius Härtl
01c2ae23aa
chore(psalm): Add type hints to make psalm happy
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-01-24 11:46:47 +01:00
chandi Langecker
e89cd98419
fix broken requests in tests after switch to OCS
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-01-03 12:45:11 +01:00
chandi Langecker
6d86ec70ef
sessions: fix failing tests due to changed api endpoints
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-01-03 12:45:11 +01:00
chandi Langecker
d7919497b6
stub OCA\NotifyPush\Queue\IQueue
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-01-03 12:45:11 +01:00
chandi Langecker
2d465a707f
fix acl test
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-01-03 12:43:59 +01:00
chandi Langecker
43a1b1a2e5
sessions: integration tests
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-01-03 12:43:59 +01:00
chandi Langecker
fcfbcc63b4
basic notify_push usage with session handling (rebased)
...
Signed-off-by: chandi Langecker <git@chandi.it >
2023-01-03 12:43:56 +01:00
Julius Härtl
f817025dfe
Merge pull request #4333 from nextcloud/dependabot/composer/vimeo/psalm-5.4.0
...
Bump vimeo/psalm from 4.30.0 to 5.4.0
2022-12-30 14:26:15 +01:00
Julius Härtl
c739d543c2
chore: Fix new psalm errors
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-12-30 14:08:31 +01:00
David Loe
e256cf23ce
Fix Errors
...
Signed-off-by: David Loe <d.loewens24@gmail.com >
2022-12-30 12:56:06 +01:00
dependabot[bot]
d2c2e0bd11
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.11.0...v3.12.0 )
---
updated-dependencies:
- dependency-name: behat/behat
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-03 03:09:28 +00:00
Julius Härtl
76fd901062
Handle circle deletion event and add cleanup job
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-11-11 10:24:02 +01:00
Marcel Klehr
1a654925e8
Merge pull request #4184 from nextcloud/bugfix/noid/integration-validators
2022-11-09 14:12:33 +01:00
Michal Polacik
8698e2ce3f
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-11-07 17:26:12 +01:00
Julius Härtl
ed282479a1
Fix validation of attachment data
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-11-03 20:39:20 +01:00
Julius Härtl
805f185191
Merge pull request #4173 from nextcloud/bugfix/noid/card-sanity-check
2022-10-31 21:17:31 +01:00
Julius Härtl
a231061043
Merge pull request #4059 from nextcloud/feature/improve-security-level
2022-10-31 12:59:12 +01:00
Julius Härtl
39c59a3bd6
Add integration test for attachment handling on cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-31 12:48:50 +01:00
Julius Härtl
bfec6f5ad4
Add some tests for parameter validation
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-31 12:47:35 +01:00
Julius Härtl
6912ae09cf
Fix integration test run script
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-25 21:07:21 +02:00
Luka Trovic
1217b37b19
feat: add validators to check values in services
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2022-10-21 18:08:19 +02:00
Joas Schilling
8537bd00c7
Migrate to nextcloud/OCP package in master
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2022-10-20 09:42:13 +02:00
dependabot[bot]
0828ae6017
Update guzzlehttp/guzzle requirement in /tests/integration
...
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/7.4.5...7.5.0 )
---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-19 21:04:09 +02:00
Marcel Klehr
816a8c08f0
Fix duedate tests
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2022-10-19 19:46:10 +02:00
Julius Härtl
dbac5f82d3
Avoid using dropped Test\AppFramework\Db\MapperTestUtility
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-10-13 13:01:15 +02:00
raul
24a4260e55
Fix deleteAcl
...
Signed-off-by: raul <raul@nextcloud.com >
2022-09-22 08:46:35 +02:00
Julien Veyssier
82c7145163
fix tests
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net >
2022-09-07 17:41:51 +02:00
Julius Härtl
2d41ce0ae7
Fix tests running against 25 with adjusted ISimpleFile methods
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-07-25 19:48:27 +02:00
dependabot[bot]
4a744bac5c
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.10.0...v3.11.0 )
---
updated-dependencies:
- dependency-name: behat/behat
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-09 02:07:59 +00:00
dependabot[bot]
b037cb0e82
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/4.3.1...4.4.0 )
---
updated-dependencies:
- dependency-name: sabre/dav
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-05 07:30:25 +00:00
dependabot[bot]
759fb1bcbc
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/7.4.3...7.4.5 )
---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-05 09:19:55 +02:00
Julius Härtl
f03ffd13a0
Fix static analysis by stubbing more circle methods
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-07-05 08:30:40 +02:00
dependabot[bot]
9d4824bb23
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/7.4.2...7.4.3 )
---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-28 02:35:17 +00:00