Commit Graph

146 Commits

Author SHA1 Message Date
rijkvanzanten
22535bf566 Resolve TKs/@TODOs in docs
Fixes #3287
2021-04-21 15:57:26 -04:00
rijkvanzanten
5acde209cf Fix assets import 2021-04-21 14:49:29 -04:00
Ben Haynes
8169181d00 ref #3287 2021-04-20 19:17:59 -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
João
6763908070 Tweaks 2021-04-20 11:42:16 -03:00
João
73c14492b3 Fix tabs 2021-04-20 11:40:28 -03:00
João
3900e19ddb Update docker.md 2021-04-20 11:38:18 -03:00
Alex Tremblay
88bf146fbb docs: add API-using examples to module and layout guides (#5110)
* docs: add API-using examples to module and layout guides

* Update docs/guides/layouts.md

* Update docs/guides/layouts.md

* Update docs/guides/modules.md

* Update docs/guides/modules.md

Co-authored-by: Alex Tremblay <alex@tremblay.in>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-16 15:44:13 -04:00
Pyll Gomez
c3ef71298c Add oauth hook (#5045)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

* SDK - Persistent login refresh fixes #4113

* Fixed #4145 SDK, Token Expired error

* Spell check

* Docs Spell check

* Docs Spell check

* Docs Spell check

* update docs for sdk-js

* To delete all expired session from db on login

* corrected the condition for the delete

* changed the from Date.now to new date .

* Move it inline

* Fixes #4653

* added docs and cleaned up the hooks payload

* use req.accountability

* added req.params.provider to payload

* provide scope for login

* docs updated for oauth hook

* Update api/src/controllers/auth.ts

* updated provider to redirect and docs

* added payload

* Make schema available in redirect hook

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-16 15:51:15 +00:00
Nicola Krumschmidt
726420576b Fix extension build documentation (#5065) 2021-04-14 22:18:02 +00:00
WoLfulus
42393951e0 Test runners for storage drivers (#4716)
* add tests to drive

* add azure test runner

* add gcs test runner

* add s3 test runner

* quick changes

* Re-add npm run dev

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 15:40:12 -04:00
Ben Haynes
5d538a1369 Add warning on read field permissions 2021-04-09 12:59:51 -04:00
Ben Haynes
18abb423a1 Update fields.md 2021-04-05 18:59:41 -04:00
Ben Haynes
60972afab5 Update collections.md 2021-04-05 18:59:21 -04:00
Ben Haynes
c2a8c6a4fd Update collections.md 2021-04-05 18:53:06 -04:00
Ben Haynes
3903b8c556 Add renaming a field section 2021-04-05 18:51:46 -04:00
Ben Haynes
750046b691 update color example 2021-04-02 14:20:07 -04:00
rijkvanzanten
3eaa375952 Provide getSchema function in hook/endpoint registration function
Fixes #4621
2021-03-22 20:13:49 -04:00
Maarten Docter
82fdd120c8 Clarify extension folders and Rollup configuration tip (#4626) 2021-03-22 19:45:09 -04:00
rijkvanzanten
2a71f0c0dd Pass current knex trx instance to hook resolver functions
Closes #4558
2021-03-17 22:07:58 -04:00
Ben Haynes
31af0cc656 Update migrating-from-v8.md 2021-03-16 10:51:43 -04:00
rijkvanzanten
40f53fdeb0 Add (basic) migration guide
Fixes #3560
2021-03-15 17:18:02 -04:00
Daniel Faria
76db69893b Update aws.md (#4534)
update "our manual installation flow" link
2021-03-14 16:34:49 -04:00
Matthias
af90adc882 Update docs for custom-interfaces. (#4511)
Add a plain string editor as code example.
2021-03-12 15:58:59 -05:00
YannickMol
0a04b9b447 Update cli.md (#4435)
Styling issue due to markdown error
2021-03-08 16:48:09 -05:00
rijkvanzanten
a12b148b17 Default generated .env permissions to -rw-r----- 2021-03-08 13:32:13 -05:00
Rijk van Zanten
3308b9b3fc Update cli.md
Fixes #4424
2021-03-08 07:42:22 -05:00
rijkvanzanten
32d0431670 Fix wrong link in docs
Fixes #4394
2021-03-05 10:31:28 -05:00
asteinarson
8030890d5b Update interfaces.md (#4393)
* Update interfaces.md

vue-template-compiler => rollup-plugin-vue@next 
It resolves rollup halting with error

* Update other extension types as well

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-05 10:30:53 -05:00
rijkvanzanten
fb5c9068bc List updated min requirement 2021-03-04 14:14:31 -05:00
Rijk van Zanten
900125fe3a Update api-config.md 2021-02-26 10:07:41 -05:00
Pyll Gomez
aeb4ec0472 API hooks for event added for auth.login (#4255)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-24 10:37:13 -05:00
rijkvanzanten
8d67cffdbb Add note on interface groups
Ref #4256
2021-02-24 09:24:58 -05:00
Valentino Stillhardt
12a7c409a7 Update api-hooks.md (#4250)
I think it's worth mentioning that `items.create` is the same as the old (v8) `items.create.after`.
I personally tried putting .after and it didn't call, only to realize that it's not needed anymore.
2021-02-23 14:29:01 -05:00
Ben Haynes
c5f97b2a83 Update api-hooks.md 2021-02-23 11:01:13 -05:00
Rijk van Zanten
0beaf56dc3 Add on-error hook (#4233)
* Add on-error hook

Closes #2906

* Ignore unspecified listeners

* Document error hook
2021-02-22 19:00:53 -05:00
Bart van der Meeren
8df9cf4a43 Added 'npx' to db migrate (#4181)
Not sure if this is something that is commonly known, I just happend to run into it.
2021-02-19 11:22:08 -05:00
Rijk van Zanten
35117389e5 Update projects.md 2021-02-19 11:10:25 -05:00
Jerem Dlcn
a524526f9c Adding detail to Ubuntu deployment documentation (#4133)
* Adding detail to Ubuntu deployment documentation

* Update docs/guides/installation/ubuntu.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-02-17 13:19:39 -05:00
Rage Brahimi
eb90eba4c5 Update example for endpoints to pass error to next (#4098) 2021-02-16 14:35:39 -05:00
WoLfulus
813c731d27 Add config override support to env module (#4029)
* add override support for env module

* Override instead of merge w/ config file

* Default to reading .env instead of process.env

* Make env available in process.env

* Add docs for config-files

* Extend note

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-16 11:38:07 -05:00
rijkvanzanten
f11b9c9072 Add accountability to custom endpoint example
Fixes #4043
2021-02-15 13:51:59 -05:00
Rijk van Zanten
a5721c2c09 Update digitalocean-app-platform.md 2021-02-15 13:02:45 -05:00
rijkvanzanten
bb45c7f505 Add note on changing port in installing 2021-02-15 10:19:51 -05:00
Pablo Zehle
8c1402fb88 Update api-endpoints.md (#4012)
Line 62, .readByQuery({ sort: 'name', fields: <needs to be an array> })
Added the array implementation as a string will fail.
2021-02-11 10:07:23 -05:00
Ben Haynes
cc38da1314 unused docs page 2021-02-10 16:06:15 -05:00
Rijk van Zanten
df22a58c6a Update in-app docs (#3989)
* Fix root redirect

* Fix html in headings

* Add graphql syntax mode

* Install markdown-it + plugins

* Fix file copying on mac

* Replace md rendering engine

* Fix wrong links in guides

* Scroll to top on every route change

* Update in-app links

* Fix home redirect

* Fix deep-linking paths

* Add to reference

* Fix nested group scoping

* Fix open path reference
2021-02-09 18:31:25 -05:00
Ben Haynes
e1d36706aa migration docs 2021-02-09 16:52:04 -05:00
Ben Haynes
239c021f12 Updates to API Reference 2021-02-08 17:31:07 -05:00
WoLfulus
b8e7c80b72 Application initialization events (#3680)
* Adds `not_found` hook

* Separate hooks and endpoints initialization process

* Adds additional application events

* Remove unused import

* Change the event order to accound for notFound and errorHandler

* Change emitAsync.catch to use the emitAsyncSafe function

* Updated docs, reordered table by lifecycle and usage
2021-02-08 12:30:09 -05:00