1
0
mirror of https://github.com/rancher/norman.git synced 2025-06-20 20:52:01 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Craig Jellick
b694ecb0eb Log panics as error
The defaul http server logs panics to the server's log handler.
That goes to debug level and thus panics are not seen when running
rancher at a normal log level.

This fixes the problem by catching the panic at the top level norman
http handler and logging them as errors there.
2019-02-11 11:59:18 -07:00
orangedeng
6fec205069 Dynamically response the JS and CSS of API UI 2018-10-31 14:48:25 +08:00
Daishan Peng
59c4a298e8 add yaml support 2018-06-04 16:44:48 -07:00
Darren Shepherd
4cf9f645cd Refactor access control to return error not bool 2018-03-31 03:13: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
d4e7ad28b8 Don't check for object in collection actions 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
790bd1ec07 Write headers later in request 2017-12-30 02:22:38 +00:00
Darren Shepherd
f5e2adb427 Attempt to fix CSRF, still untested though 2017-12-29 22:23:14 +00: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
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
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