Carl Schwan
5cf486150a
refactor: Fix psalm issues
...
- Add typing for most of the services, controllers and mappers
- Add api doc for mappers
- Use vendor-bin for psalm
- Use attributes for controllers
- Fix upload of attachments
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2025-09-28 11:49:06 +02:00
Luka Trovic
03cdc47540
feat: add board import and export
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2025-04-29 09:53:49 +02:00
Julius Knorr
c630d3e809
Merge pull request #6138 from xyjonas/programmatic-archive-unarchive-card
...
Feat(REST API): add url to (un)archive cards
2025-01-02 15:55:47 +01:00
Julius Knorr
86cb011a5c
style: Fix php-cs issues
...
Signed-off-by: Julius Knorr <jus@bitgrid.net >
2024-12-17 09:22:00 +01:00
Jonas H. Steiner
e986ca31a1
Feat(REST API): add url to (un)archive cards
...
Signed-off-by: Jonas H. Steiner <jsteiner@plusline.net >
2024-08-29 12:33:01 +02:00
dependabot[bot]
ba3e97b73d
Chore(deps-dev): Bump nextcloud/coding-standard from 1.2.1 to 1.2.3
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.2.1...v1.2.3 )
---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-26 08:14:42 +02:00
Julius Härtl
9867f2a856
tests: Avoid using dynamic properties
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-12-06 14:21:58 +01:00
Julius Härtl
1a57c10741
perf: Already pass board list as initial state
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-11-13 09:05:43 +01:00
Julius Härtl
0985f24f57
chore: Fix php-cs-fixer errors
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-06-05 22:26:08 +02: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
raul
24a4260e55
Fix deleteAcl
...
Signed-off-by: raul <raul@nextcloud.com >
2022-09-22 08:46:35 +02:00
Carl Schwan
44481e1c2a
Switch from OC::$server->get to OCP\Server::get
...
And add a bit more typing to some classes + psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2022-05-12 10:55:36 +02: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
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
202ea30090
Start implementing Trello API service
...
Implement name of system to import
Implement need validate data
Fix allowed system list
Start implementing Trello API service
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:49 +01:00
Vitor Mattos
4138953208
Changes to make possible implement api endpoint
...
Update documentation
Start implementing getSystems route
Code to route getSystems
Controller to board import
Change return
Increase coverage
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:49 +01:00
Julius Härtl
596834853b
Fix codestyle issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-12-29 11:43:57 +01:00
Julius Härtl
f6eea0e467
Refactor update to have proper order of optional parameters
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-05-28 14:13:25 +02:00
Julius Härtl
aeb05d3687
Remove rather useless unit tests that are just passing arguments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 16:01:56 +01:00
Julius Härtl
74814ad614
Fix test mocking
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:54 +01:00
Julius Härtl
a46d31caf2
Expose etag through JSON responses for child elements
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-11-10 18:04:20 +01:00
Julius Härtl
19cdd31c40
Fix PageController tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-09-15 09:11:13 +02:00
Julius Härtl
6114c28b10
Remove unneeded cardId parameters
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-07-11 12:21:37 +02:00
Julius Härtl
fc5c34897e
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-05-06 09:42:38 +02:00
Julius Härtl
52febb396c
Fix php cs issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-22 19:57:19 +02:00
Julius Härtl
17c63989b1
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-01 20:52:13 +02:00
Julius Härtl
d6eac1b11a
Add frontend for assigning groups to cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-01 20:52:09 +02:00
Julius Härtl
59e3c8ce61
Add back initial state and check for filesize and canCreate permissions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-03-12 10:56:23 +01:00
Julius Härtl
bdc149aa6b
Move default board creation to Application and cleanup code
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-01-26 12:14:51 +01:00
Julius Härtl
2089f5df73
Merge remote-tracking branch 'origin/master' into vue
2019-12-17 20:36:16 +01:00
Julius Härtl
4c0512f0b7
Bump phpunit and fix CI
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2019-12-17 20:25:57 +01:00
Jakob
d3efff0ce7
default board color is now blue
...
Signed-off-by: Jakob <jakob.roehrl@web.de >
2019-09-10 12:33:19 +02:00
Julius Härtl
8906d12a47
Use regular groups endpoint to support Nextcloud 13
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-12-05 18:31:54 +01:00
Julius Härtl
0528bd59d1
Fix tests for group restrictions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-12-04 09:25:35 +01:00
Julius Härtl
9cf30bf5fd
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-11-06 19:44:29 +01:00
Ryan Fletcher
37a2858d5f
wrote attachment api controller, fixed bug caught by unit test in CardService
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:22 +02:00
Ryan Fletcher
e88c9a760d
Wrote unit tests for AttachmentApiController and stubbed out AttachmentApicontroller. Trying out test driven development.
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:21 +02:00
Ryan Fletcher
184cd00a8b
Wrote initial unit tests for LabelApiControllerTest.php
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:21 +02:00
Ryan Fletcher
9c81584b02
Wrote tests for CardApiControllerTest.php
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:20 +02:00
Ryan Fletcher
f1169b9c7e
finished writing StackApiControllerTest.php
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:20 +02:00
Ryan Fletcher
f2268c7f58
Moved Data Response checks into stack serivice, cleaned up related unit tests.
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:20 +02:00
Ryan Fletcher
d33dd3e0fc
Moved BadRequestException checks to middleware, removed uneeded unit tests in BoardApiController
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:20 +02:00
Ryan Fletcher
570ac81848
added the create tests in StackApiControllerTest
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:19 +02:00
Ryan Fletcher
5719e9f134
Wrote unit tests against StackApiController -> get()
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:19 +02:00
Ryan Fletcher
891fa7b7d5
Created index tests for StackApiTestController
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:19 +02:00
Ryan Fletcher
54f110f7c6
first attempt at BoardApiControllerTest->testGetNoPermission()
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:19 +02:00
Ryan Fletcher
6d57b1081a
BoardApiControllerTest wrote delete tests
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00
Ryan Fletcher
8dd732631a
BoardApiController wrote update tests
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00
Ryan Fletcher
1fe70568cb
Wrote unit tests for the BoardApiController -> create tests
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00
Ryan Fletcher
bd254fd261
BoardApiControllerTest wrote get() tests.
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00