Commit 8cab189
feat: Create API for new storage folder (#168)
* First version, wip
* feat(#1989): create api for new Swarm storage folder.
- add: conforms to OCS OpenAPI standard
- add: add composer packages for OCS extractor
* feat(#1989): create api for new Swarm storage folder.
- reverse previous commit
* feat(#1989): create api for new Swarm storage folder.
- reverse previous commit
* feat(#1989): create api for new Swarm storage folder.
- reverse previous commit
* chore: precommit setup and lint fixes
* feat(#1989): add ConfigurationController for storage creation
- add: new ConfigurationController with create endpoint with redirect to NC URL.
- add: corresponding route in routes.php
* chore(#1989): Run php-cs-fixer on committed files
* refactor: use const for the key on key
* chore: code style
* feat: reuse URL validation
* chore: code style
* feat: error and creation handling
* feat: lint-stage and precommit rules
* fix: lint ci
* chore: apply automated formatting
---------
Co-authored-by: Ron Trevor <ecoron@proton.me>
Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent 960cf55 commit 8cab189
14 files changed
Lines changed: 4489 additions & 121 deletions
File tree
- .github/workflows
- appinfo
- lib
- Auth
- Backend
- Controller
- Storage
- Utils
- src/util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | | - | |
14 | | - | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
32 | 50 | | |
33 | | - | |
34 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
35 | 64 | | |
36 | 65 | | |
37 | 66 | | |
38 | 67 | | |
| 68 | + | |
39 | 69 | | |
40 | 70 | | |
41 | 71 | | |
42 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
43 | 76 | | |
44 | 77 | | |
45 | 78 | | |
| |||
59 | 92 | | |
60 | 93 | | |
61 | 94 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 95 | | |
66 | 96 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
36 | 48 | | |
37 | 49 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments