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
Julius Knorr
86cb011a5c
style: Fix php-cs issues
...
Signed-off-by: Julius Knorr <jus@bitgrid.net >
2024-12-17 09:22:00 +01:00
Andy Scherzinger
be11113d32
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2024-05-07 15:51:49 +02:00
Faraz Samapoor
559579fbd9
Refactors controllers by using PHP8's constructor property promotion.
...
Co-authored-by: Julius Härtl <jus@bitgrid.net >
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com >
Signed-off-by: Faraz Samapoor <fsa@adlas.at >
2023-07-14 15:42:44 +03:30
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
199cccf86b
Add 1.1 api version to handle other attachment types properly
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 15:58:40 +01: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
52febb396c
Fix php cs issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-22 19:57:19 +02:00
Jakob Röhrl
d27a5ac9ba
override attachment
...
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de >
2020-03-11 12:08:23 +01:00
Julius Härtl
35991b7448
Add data examples to the docs
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-11-06 19:39:09 +01:00
Julius Härtl
babfcbddd8
Fix imports
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-08-15 21:15:23 +02: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