1
0
mirror of https://github.com/rancher/norman.git synced 2025-06-29 16:58:05 +00:00
Commit Graph

45 Commits

Author SHA1 Message Date
orangedeng
6fec205069 Dynamically response the JS and CSS of API UI 2018-10-31 14:48:25 +08:00
loganhz
2af274f953 API-UI 1.1.5
https://github.com/rancher/rancher/issues/13732
2018-07-24 14:33:56 -07:00
Darren Shepherd
f33accee7c Add InputFormatter that runs before the builder/validation 2018-07-19 10:23:17 -07:00
Dan Ramich
aecae32b4a Fix pagination
Problem:
Pagination is not showing up

Solution:
Pagination was being created properly but then dropped in favor of an
empty version. Save the pagination on the context so it can be accessed
later and not reset.
2018-06-25 15:34:52 -07:00
Daishan Peng
59c4a298e8 add yaml support 2018-06-04 16:44:48 -07:00
Nathan Jenan
7fed8b17a8 Filter resources on default fields
This change gives norman the ability to filter api requests based on the
default value of fields.  Before, it would filter on the actual data in
the resource, and then apply default values to the resource before
returning.

Issue:
https://github.com/rancher/rancher/issues/13418
2018-05-16 10:15:34 -07:00
Darren Shepherd
0e1438b372 Add Create to access 2018-04-19 21:57:01 -07:00
Darren Shepherd
4cf9f645cd Refactor access control to return error not bool 2018-03-31 03:13:22 -07:00
Darren Shepherd
b5aef8d08d Don't log conflicts as much 2018-03-22 15:55:44 -07:00
Craig Jellick
723fdccf80 Add function for parsing and validating an action 2018-03-15 09:10:03 -07:00
Darren Shepherd
2a6c821309 Add subContext data to validation 2018-02-26 16:14:39 -07:00
Darren Shepherd
45214c311d Return 404 when no store is configured (not 200) 2018-02-14 10:59:23 -07:00
Darren Shepherd
722cedfe01 Major refactor of subcontexts 2018-02-09 13:45:22 -07:00
Craig Jellick
65807e9372 Distinguish between listing and getting
We now have resources (subtypes of authConfig) that can be retrieved
by ID but their collections are not viewable. This change is needed
to suppport that.
2018-01-31 19:30:51 -07:00
Darren Shepherd
87d5ab06b9 Change RequestHandler signature 2018-01-30 23:56:30 +00:00
Darren Shepherd
1369734139 Fix panic when posting to / 2018-01-26 04:16:12 +00:00
Craig Jellick
990db51407 more collection action code 2018-01-20 01:12:19 -07:00
Darren Shepherd
d170661103 Add CollectionFormatter 2018-01-19 23:28:57 -07:00
Darren Shepherd
8982c1cc59 write writeOnly fields on create 2018-01-20 04:31:39 +00:00
Darren Shepherd
d4e7ad28b8 Don't check for object in collection actions 2018-01-17 23:37:53 +00:00
Darren Shepherd
942bde06d7 Validate subtypes in create/update 2018-01-17 23:37:53 +00:00
Darren Shepherd
245c089cd5 Put in stubs for dynamic access control on schemas 2018-01-17 01:06:57 +00:00
Darren Shepherd
e92239b78a Ensure one can read the object with an action before running actionhandler 2018-01-16 19:54:43 +00:00
Darren Shepherd
76b1e1b679 Allow lookup of object without returning it 2018-01-16 19:54:43 +00:00
Darren Shepherd
de274b2eba API-UI 1.1.4 2018-01-04 04:56:03 +00:00
Darren Shepherd
790bd1ec07 Write headers later in request 2017-12-30 02:22:38 +00:00
Darren Shepherd
b07bc3177e Only create links to listable types 2017-12-29 22:23:14 +00:00
Darren Shepherd
f5e2adb427 Attempt to fix CSRF, still untested though 2017-12-29 22:23:14 +00:00
Darren Shepherd
2b7bc0968a Delete unused code 2017-12-29 22:23:14 +00:00
Daishan Peng
026837668c use patch for update, fix namespace actions 2017-12-29 22:08:51 +00:00
Darren Shepherd
92df95cf7f api-ui 1.1.3 2017-12-28 16:49:51 +00:00
Darren Shepherd
eec4103473 Make queryopts be a pointer 2017-12-28 16:49:51 +00:00
Darren Shepherd
2550f12a9a Add offspring controller 2017-12-19 21:44:02 -07:00
Darren Shepherd
bfcad0d1b1 Enable access control 2017-12-18 13:59:56 -07:00
Darren Shepherd
627e06e37f Enable dynamic schemas 2017-12-16 01:30:46 -07:00
Darren Shepherd
480747082c Return deleted object on delete if possible 2017-12-16 01:30:46 -07:00
Craig Jellick
df13831994 workaround unimplementd ref validator 2017-12-15 19:37:22 -07:00
Darren Shepherd
9dcef33943 Generate backreference links 2017-12-13 08:55:24 -07:00
Darren Shepherd
d0aef1eafd Add store helpers 2017-12-12 08:48:17 -07:00
Darren Shepherd
406c0d9999 Many enhancements 2017-12-11 20:58:53 -07:00
Darren Shepherd
18d3f69aa8 Updates 2017-12-05 09:21:47 -07:00
Darren Shepherd
15e105a0ab Refactor types 2017-11-29 14:27:02 -07:00
Darren Shepherd
389d27b3e5 Updates 2017-11-28 14:28:25 -07:00
Darren Shepherd
38c9c5c6c3 Subcontext and mapping updates 2017-11-21 15:37:22 -07:00
Darren Shepherd
c8cab3f4f8 More initial dev 2017-11-10 21:46:30 -07:00