1
0
mirror of https://github.com/rancher/norman.git synced 2025-05-30 18:55:06 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Jiaqi Luo
29dae41a91 remove the checks on some return values, which was added recently by another PR, to make it work when being used in rancher 2022-12-02 20:27:19 -07:00
Steffan Tucker
1e41884a06
Fix golangci-lint issues
As part of updating dapper files, golangci-lint was set to be used. This
caused a lot of lint issues to crop up, which this fixes.
2022-07-26 10:40:30 -06:00
rmweir
2da1bd2ffc Add enable function and addFeature functions
Added enable function to schemas. This allows filtering of schemas
which is a required part of feature flagging in rancher. Added
addFeature functions to controller template for adding handlers that
can be disabled if their associated feature is disabled.
2019-07-02 12:18:40 -07:00
Daishan Peng
59c4a298e8 add yaml support 2018-06-04 16:44:48 -07:00
Darren Shepherd
bcb8076caa Allow types that start with cluster or project 2018-03-22 15:55:44 -07:00
Craig Jellick
ba0bb125c9 Use request.PostForm instead of request.Form when
PostForm will ignore URL query parameters and will only look at the
body. This is much more useful for actions, which have a query param
that is the action name, but the a json body.  WIthout this change,
the only "field" found when parsing an action body is the name of the
action.
2018-03-15 09:10:03 -07:00
Craig Jellick
d9307fc2f7 Fix url escaping
When parsing URL paths, unescape them so that characters that needed escaped
in order to be placed in the a path segment are returned to their original
form.
2018-03-01 21:44:19 -07:00
Craig Jellick
4bcfb14aba Use escaped path for url parsing 2018-03-01 16:29:49 -07:00
Darren Shepherd
27b53dd2b6 If you hit /v3/projects/{ID}/schemas make sure schemas have correct URLs 2018-02-14 10:59:23 -07:00
Darren Shepherd
c814e62e43 Fix a series of url parsing issues 2018-02-13 16:44:25 -07:00
Darren Shepherd
722cedfe01 Major refactor of subcontexts 2018-02-09 13:45:22 -07:00
Darren Shepherd
aa2538a874 APIContext constructor 2018-01-20 04:31:39 +00:00
Darren Shepherd
34c01875c5 Have URLParser parse the query too 2017-12-22 23:19:30 -07:00
Darren Shepherd
9dcef33943 Generate backreference links 2017-12-13 08:55:24 -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
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