Commit Graph

66 Commits (b3a54ec3e86ff15c4f6c002d6230d3a0461b0439)

Author SHA1 Message Date
Markus Kahl 3865ce4f1f polish 9 years ago
Markus Kahl bcd981df5c consider X-Authentication-Scheme; opt scoped realm 9 years ago
Markus Kahl d854df5175 suppress browser prompt on authenticate failure 9 years ago
Alex Coles a6212fb304 Fix syntax (w/Rubocop) in lib code 9 years ago
Jan Sandbrink 7d443154b3 parse attachment metadata using a representer 10 years ago
Jan Sandbrink 50f6ecdecd accept new request format for add watcher 10 years ago
Markus Kahl 70fe41cb53 use separate error code when unauthenticated 10 years ago
Markus Kahl c1e597c186 fixed response headers (content type, realm) 10 years ago
Markus Kahl d990d5f2f7 restored order 10 years ago
Markus Kahl 5b05bfec90 DRYing 10 years ago
Markus Kahl 28d3dfd827 set WWW-Authenticate header on authentication failure 10 years ago
Markus Kahl 32a26429b7 I don't even 10 years ago
Markus Kahl 5ba15f3b5c removed unnecessary/wrong use of present? 10 years ago
Markus Kahl 7b3df308d0 removed obsolete code/comment 10 years ago
Markus Kahl d368aa85b6 be more positive 10 years ago
Markus Kahl 6bbcc3b269 root.rb auth refactoring 10 years ago
Markus Kahl 6cb6953a07 basic auth for api v3 (WIP) 10 years ago
Alexander Bach ea37a810cb Removed dangerously redundant block argument 10 years ago
Jan Sandbrink 21f5b2c608 enforce JSON response-format for errors 10 years ago
Jan Sandbrink f0863f9d53 allow to patch existing API endpoints 10 years ago
Jan Sandbrink b4c50b7c04 relax access to types resource 10 years ago
Alexander Bach b3725f2658 Remove redundant call parameters 10 years ago
Alexander Bach 92e23145d4 Some easy style fixes 10 years ago
Alexander Bach 409073f7e3 Generalized 404 error message 10 years ago
Alexander Bach d895b82db6 Some minor style fixes 10 years ago
Alexander Bach bd1ffaee10 Fix authorize usage 10 years ago
Alexander Bach 65c39db9cf Some minor style fixes 10 years ago
Alexander Bach 21c50fd41a Accessing a project without permission now returns 404 instead of 403 10 years ago
Jens Ulferts 6f54490368 force User.current to be set on API 10 years ago
Jens Ulferts 7cd45d42bc enforce authorization on versions of project api resource 10 years ago
Jens Ulferts ad65c39a2f authorization on version endpoint 10 years ago
Alex Coles e0191e759c Update year in copyright header to 2015 10 years ago
Hagen Schink 0fb2ccfa2a Respond with a nice 400 if we cannot parse the JSON request 10 years ago
Jens Ulferts aaf92ed396 specify charset on api response 10 years ago
Hagen Schink db8bfba3af Remove usage of reform from API V3 10 years ago
Alex Coles 45297523c2 Fix syntax (w/Rubocop) in lib code 10 years ago
Hagen Schink 2fda898f39 Implement optimistic locking for WP patch 10 years ago
Hagen Schink 48310129a6 Apply code conventions 10 years ago
Hagen Schink c5ceef6e03 Remove superfluous error handling 10 years ago
Hagen Schink 7d2728bbd5 Use representer to render errors 10 years ago
Hagen Schink 578eea817b Implement API V3 error handling according to the specs 10 years ago
Jens Ulferts 5848822d3d corrects scope of error handling module calls 10 years ago
Alex Coles f9b958bc7f Allow application/json type in API requests 10 years ago
Alex Coles dd0dc65753 Instruct Grape to handle Validation errors 10 years ago
Marek Takac ca0edb1a89 Refactored exceptions handling in root api 10 years ago
Alex Coles 0bf314f149 Specify a custom Formatter for hal+json 10 years ago
Marek Takac 023dcbfc3c Added build_representer helper 10 years ago
Marek Takac 3771625fd0 Updated API authorization method & activity resource spec 10 years ago
Marek Takac 17b2b030cf API authentication now respect application wide login_required setting 10 years ago
Marek Takac 33382223a7 Named params for API authorize method 11 years ago