Rijk van Zanten
b7d87e581a
System permissions for app access ( #4004 )
...
* Pass relations through schema, instead of individual reads
* Fetch field transforms upfront
* Fix length check
* List if user has app access or not in accountability
* Load permissions up front, merge app access minimal permissions
* Show app access required permissions in permissions overview
* Show system minimal permissions in permissions detail
* Fix app access check in authenticate for jwt use
* Fix minimal permissions for presets
* Remove /permissions/me in favor of root use w/ permissions
* Fix logical nested OR in an AND
* Use root permissions endpoint with filter instead of /me
* Allow filter query on /permissions
* Add system minimal app access permissions into result of /permissions
* Remove stray console log
* Remove stray console.dir
* Set current role as role for minimal permissions
* Fix no-permissions state for user detail
* Add filter items function that allows altering existing result set
2021-02-11 12:50:56 -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
Igor Savin
7cddb458cb
Run prettier across app and api
2020-12-08 02:22:00 +02:00
rijkvanzanten
e8c2a61277
Fix wrong import
2020-11-27 20:58:10 -05:00
rijkvanzanten
1f88cd4a32
Add relational nested updates to API
2020-11-27 13:44:57 -05:00
rijkvanzanten
e02365e5c3
Treat MySQL 0000-00-00 as null
2020-11-11 14:50:00 -05:00
rijkvanzanten
8cbdfb409b
Use prefetched schema info
2020-11-09 17:13:48 -05:00
rijkvanzanten
528112314d
Remove outdated tests, fix imports
2020-11-09 12:29:01 -05:00
rijkvanzanten
e5d70ebde2
Fix nested m2m updates
...
Fixes #849
2020-11-03 17:51:16 -05:00
rijkvanzanten
d3ca132fad
Move system relations out of db
2020-10-29 13:29:07 -04:00
rijkvanzanten
ee9baf02c0
Move system fields out of DB
2020-10-29 13:06:37 -04:00
rijkvanzanten
592ab925db
Add toArray util
2020-10-15 18:00:27 -04:00
rijkvanzanten
2c3992b1f1
Add precision / scale support
...
Fixes #560
2020-10-15 17:22:39 -04:00
rijkvanzanten
191e1187fb
Fix setting o2m to null
2020-10-14 13:28:01 -04:00
rijkvanzanten
7fcb4717a4
Fix o2m resetting too many items
2020-10-13 18:30:03 -04:00
rijkvanzanten
5dba15082f
Handle non-o2m cases
2020-10-09 13:13:49 -04:00
rijkvanzanten
a8a69f1fb8
Tweak IO of o2m
2020-10-09 13:03:29 -04:00
rijkvanzanten
e40b9133cb
Handle SQLite date strings
...
Fixes #475 , fixes #512
2020-10-05 18:39:31 -04:00
rijkvanzanten
69c9a9f992
Add no-data special key to hide non-data fields in system
2020-10-05 16:49:06 -04:00
rijkvanzanten
306c4109a4
Check if item exists instead of relying on presence of pk
2020-09-30 15:32:38 -04:00
rijkvanzanten
f1159d08cd
Fix date io in api
2020-09-28 18:16:27 -04:00
rijkvanzanten
07471b8208
Support primary keys in O2M patches
...
Fixes #247
2020-09-24 17:15:37 -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
d87fc912f4
Fix date saving in MySQL
...
Ref #283
2020-09-18 12:57:26 -04:00
rijkvanzanten
b8eff4c788
Use CSV for special, add on create / on update for fields
2020-09-15 17:31:37 -04:00
rijkvanzanten
68e05a208a
Add csv special type, return type based on special flag
2020-09-10 14:14:24 -04:00
rijkvanzanten
7f1f105349
Merge branch 'main' into feature-rate-limiting
2020-09-08 12:31:57 -04:00
rijkvanzanten
38e1cf4a55
Add permission variables support
2020-09-02 18:20:02 -04:00
rijkvanzanten
9d30b17a73
Fix limit / nested query
...
Fixes #168 , fixes #179
2020-09-02 16:47:43 -04:00
rijkvanzanten
e4f8b16717
Add password reset flow
2020-09-01 15:58:12 -04:00
rijkvanzanten
4b5aaaa1ff
Rename operation->action, add validate step
2020-08-27 11:56:01 -04:00
rijkvanzanten
dbdc8f2d90
Remove stray console.log
2020-08-26 18:35:06 -04:00
rijkvanzanten
8dcb45faf5
Support CSV in dir_fields.special, add "conceal"
2020-08-25 15:52:10 -04:00
rijkvanzanten
6d52066af5
Support deleting related m2os
2020-08-07 17:26:33 -04:00
rijkvanzanten
28aaab78b3
Support deleting nested o2m records
2020-08-07 17:24:02 -04:00
rijkvanzanten
4329b0f5f0
Fix m2o field value in nested o2ms
2020-08-07 17:14:32 -04:00
rijkvanzanten
d8584ffad8
Rename database/system to schema/meta in api
2020-08-06 13:40:12 -04:00
rijkvanzanten
2252d5a35f
Use centralized env export with validator function
2020-08-04 13:10:49 -04:00
rijkvanzanten
a6ba8f2678
Fix primary key retrieval on insert
2020-07-30 13:15:26 -04:00
rijkvanzanten
31777d4e46
Only cast fields in payload
2020-07-30 12:49:56 -04:00
rijkvanzanten
9179737d9d
Setup seeds for default permissions in settings correctly
2020-07-30 12:34:11 -04:00
rijkvanzanten
bde7069cce
Move api into api subdirectory
2020-07-29 11:22:56 -04:00