Commit Graph

94 Commits (9d1707679cab4b846fc094187210694f91f1c9ee)

Author SHA1 Message Date
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 11 years ago
Marek Takac 17b2b030cf API authentication now respect application wide login_required setting 11 years ago
Marek Takac 33382223a7 Named params for API authorize method 11 years ago
Marek Takac 1ca62def08 Used named params in AuthorizationService constructor 11 years ago
Marek Takac bb8aa422b1 Refactored Authorization service 11 years ago
Marek Takac 6eb061c01e Simplified #star endpoint 11 years ago
Marek Takac 41eb6f6cd4 Refactored exception handling 11 years ago
Marek Takac d14f0258fc Refactoring of API authorize method 11 years ago
Marek Takac d01ef0584b Extract authenticate method from API authorize method 11 years ago
Marek Takac 940655312a Refactor API authorize method 11 years ago
Marek Takac 6a9d565689 Created basic queries API endpoint & disabled experimental queries API endpoints 11 years ago
Jens Ulferts 979f0455b7 fix api authentication 11 years ago
Marek Takac ac2c89c0d7 Initial foundations for API v3 11 years ago