Azri Kahar
9ac1bb146c
Fix update file endpoint ( #11347 )
...
* fix files patch request
* add multipart/data to file Patch request specs
2022-01-31 10:31:21 -05:00
Azri Kahar
74bb4a7c9a
Add Unsupported Media Type Exception ( #11096 )
...
* add unsuported media type exception
* throw error when not multipart/form-data
* use unsupportedMediaType when checking import file
* add `UNSUPPORTED_MEDIA_TYPE` to Error Codes docs
2022-01-17 10:09:26 -05:00
rijkvanzanten
9197cae5c9
Fix type issues in busboy update
2021-10-25 22:38:03 -04:00
Nicola Krumschmidt
d64ca14348
Explicitly set catch parameters to any type ( #7654 )
...
This fixes not being able to build the repo due to type issues
introduced by the Typescript 4.4 option "useUnknownInCatchVariables",
which is enabled by default in strict mode.
2021-08-27 10:33:30 -04:00
Rijk van Zanten
de8c2f5c67
Fix uploaded_by not always setting user ( #7581 )
...
Fixes #7498
2021-08-24 14:12:35 -04:00
Rijk van Zanten
64fdc48ade
Clear the file payload after file upload ( #7315 )
...
Fixes #7305
2021-08-10 16:14:51 +02:00
Rijk van Zanten
d0f6cb35e3
Support dynamic variables in conditional fields ( #7202 )
...
* Move accountability type to shared
* Rely on shared for parse-filter
* Install date-fns
* Support dynamic variables in conditional fields
Closes #7157
2021-08-05 01:51:15 +02:00
rijkvanzanten
95187e14cb
Trim val before check
...
h/t @aidenfoxx
2021-06-17 11:20:56 -04:00
Rijk van Zanten
6d698d1a7b
Fixed issue that would cause uploads to the root folder of the file library to fail ( #6348 )
...
fixes #6310
2021-06-17 11:02:13 -04:00
rijkvanzanten
801e868554
Fix remaining eslint errors
...
h/t @paescuj
2021-04-29 15:55:12 -04:00
rijkvanzanten
cb4bf88e66
Tweak relational interfaces
...
Squashed commit of the following:
commit ade7ce72e7dac9908504eacf420875baaae1cc47
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 13:16:03 2021 -0400
Add no-items notice
commit e47dd5ac1f28300a33478a2be3c50496859b09fc
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 13:13:58 2021 -0400
Remove files interface
commit 2925fb9c86719c48006f7b2619df7fd26bf7b523
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 13:10:44 2021 -0400
Fix sort field in m2m
commit 009e2b1fd99f7a31f20fba04cd9980eaa3566ac8
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 13:06:45 2021 -0400
Add dense at item count
commit 83b088f4da3ea4a1d7e030f34a07aa1cb2235b43
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 12:05:40 2021 -0400
Tweak rendering of thumbnails inside relational interfaces
commit 06770a0f16e344ab62c0228b87824a6c00ad39bc
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 11:36:07 2021 -0400
Rename $file->$thumbnail, render properly in render-template
commit 954fd725629ce055459a7925be4aaddf3fb723c2
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 11:35:53 2021 -0400
Fix injection on v-field-select
commit 83073dea2fc26af61a5155adddd5d4e3afa5cb14
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 11:35:39 2021 -0400
Adjust for virtual $thumbnail field on files
commit ee57b8316479204c0a5c931c86807afde55423a1
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:49:35 2021 -0400
Don't hardcode file/user relations
commit 31ed92c5a785f20b7dc58bb62f35f6e31c95cfc6
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:49:22 2021 -0400
Allow injecting temporary fields in field template
commit 9d98d4fe4def7bdba12d1613bd08bdb9bd9e1431
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:36:53 2021 -0400
Render collection level template in placeholder
commit 0e0dda1e9f5a930ce3c73c2f8003d98853d58bc0
Merge: 65fa8084f 1e3b64bf9
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:35:21 2021 -0400
Merge branch 'main' into relational-tweaks
commit 65fa8084f84aa1a90686fe6407a6d54ca47d1371
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:29:03 2021 -0400
Make input container relative
commit 0674a0a00faa5df2208b466114721ba5d5116bf7
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:28:44 2021 -0400
Add placeholder option to v-field-template
2021-04-22 13:16:20 -04:00
Rijk van Zanten
b40c62d257
Add support for SEARCH method ( #5183 )
...
* Add search method support for advanced get
* Add docs for SEARCH
2021-04-21 13:35:16 -04:00
Rijk van Zanten
3b05372713
Finalize services API ( #5170 )
...
* Start the xOne/xMany work
* Update update/upsert
* Finish updating itemsservice
* Add comments, add nested revisions on update
* Use new internal api
* Update collectionService to one/many structure
* Move files to one/many structure
* Move permissions to one/many structure
* Move relations service to one/many structure
* Move roles to one/many structure
* Move users service over
* Move webhooks to updated structure
* Move deprecated methods to the bottom
* Replace deprecated uses
* Use new methods in controllers, add batch update/delete by query
* Use updated methods in API
* Fix email being required
* Remove unnecessary DB call
* Fix batch update/delete validation
2021-04-20 18:06:27 -04:00
Rijk van Zanten
dd551f3571
Add non-items system Resolvers ( #4863 )
...
* Add auth resolvers
* Add password request/reset
* Add up until file import
* Make revisions read only
* Add server resolvers
* Add utils
* Add schema resolvers for schema manipulation
2021-04-06 18:04:35 -04:00
Rijk van Zanten
2cdf18545e
Remove support for CSV in PK param ( #4514 )
...
* Remove csv in pk param
Closes #3933
* Remove last uses of csv in route pk params in app
2021-03-12 18:06:35 -05:00
rijkvanzanten
ec436170a0
Fix file import for admins
2021-03-04 17:02:29 -05:00
rijkvanzanten
f2d8c9e5be
Check file create permissions before fetching external file
2021-02-25 19:03:38 -05:00
Rijk van Zanten
817ccf3620
Overhaul docs ( #3951 )
...
* Add Quickstart Guide
* Update installation
* Remove unused files
* Update support/backing
* Tweaks in concepts
* Setup file structure for API reference 2.0
* Setup page layout for reference
* Add clean-urls plugin
* getting started updates
* Finish authentication rest
* getting started updates
* Render stylus in 2 spaces
* Various
* Various
* Finish activity docs
* Add collections reference
* Add extension reference
* concepts updates
* Fields/tweaks
* Add files doc
* Add revisions
* concepts docs
* More api reference
* Finish rest api reference (finally)
* initial concepts
* More things
* Add assets api ref
* Move sections from file to assets
* Add environment variables
* contributing docs
* Add field transforms page
* Left align table headers
* concept links
* Add API config
* Fix mobile nav
* Add migrating a project
* doc link fixes
Co-authored-by: Ben Haynes <ben@rngr.org >
2021-02-05 18:51:54 -05:00
rijkvanzanten
d2705713e1
Use body for moving files to folder
...
Fixes #19
2021-01-20 21:37:46 -05:00
rijkvanzanten
6b029b416b
iRemove imported types that aren't needed
2021-01-12 16:11:08 -05:00
WoLfulus
c5f3802da3
Replace express-async-handler for a local function.
2020-12-22 17:11:08 -03:00
Igor Savin
7cddb458cb
Run prettier across app and api
2020-12-08 02:22:00 +02:00
rijkvanzanten
8cbdfb409b
Use prefetched schema info
2020-11-09 17:13:48 -05:00
rijkvanzanten
a432640ecb
Add batch delete w/ keys in body
...
Fixes #819
2020-11-05 14:47:57 -05:00
rijkvanzanten
91bfcb875f
Don't auto convert , to arrays in env
...
Fixes #782
2020-10-26 19:38:36 +01:00
rijkvanzanten
30a34bce27
Fix file upload not returning uploaded file
...
Fixes #483
2020-10-02 17:19:05 -04:00
rijkvanzanten
eeedc01c53
Add /utils/revert, use in app
...
Fixes #485
2020-10-02 16:20:06 -04:00
rijkvanzanten
2af75e3cfb
Fix 500 on singleton retrieval
...
Fixes #418
2020-09-24 14:10:20 -04:00
rijkvanzanten
85ca7b5d17
Run prettier
2020-09-22 16:11:28 -04:00
rijkvanzanten
48fca55651
Restructure exports for services
2020-09-22 13:16:14 -04:00
rijkvanzanten
ba85e4e6a2
Add dynamic export file name
...
Closes #387
2020-09-21 17:56:35 -04:00
rijkvanzanten
bb7b76aef9
Return 200 OK on create/update with no read permissions
...
Fixes #33
2020-09-21 16:29:07 -04:00
rijkvanzanten
b3101b85ad
Indent payload overrides in import endpoint under data
2020-09-21 13:19:39 -04:00
rijkvanzanten
b19ffd960b
Add response middleware and cache
2020-09-08 18:28:23 -04:00
rijkvanzanten
9f3e12f8f2
Run prettier
2020-09-08 16:03:38 -04:00
rijkvanzanten
ffe3cc0fea
Fix files not returning busboy error
2020-09-08 14:56:48 -04:00
rijkvanzanten
c2b6b2a090
Rename routes to controllers
2020-08-15 16:56:45 -06:00