Commit Graph

22 Commits (253abdb94e78c1224625dcd2db057a9a176c6473)

Author SHA1 Message Date
Jan Sandbrink 338f9d40d0 Fix (untested) relation representer 9 years ago
Jan Sandbrink 6e9ed008fb Enforce passing of current_user into representers 9 years ago
Jan Sandbrink dcd2a3b03c rework error instantiation 9 years ago
Alex Coles 57618b25ec Replace dynamic finder usages with #find_by, etc. 10 years ago
Alexander Bach 870518f217 Unified permission checks 10 years ago
Alexander Bach e73609c3ae Unified permission checks 10 years ago
Jan Sandbrink dea02be5b8 return proper error when adding invalid relations 10 years ago
Jan Sandbrink a250ede762 return proper error when adding invalid relations 10 years ago
Jan Sandbrink b1ba33c75b specify classes explicitly rather than implicitly 10 years ago
Jan Sandbrink f0863f9d53 allow to patch existing API endpoints 10 years ago
Jan Sandbrink a72ea0d5af more consequently use route_param 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
Marek Takac 99bda3c64a Set relations delete endpoint to use correct id 10 years ago
Marek Takac ff6714bfaf Changed delete to destroy when removing relation 10 years ago
Marek Takac 3d6948662e Changed the way relation is saved in relations API 10 years ago
Alex Coles a89522e2df Remove calls to #to_json in RelationsAPI 10 years ago
Richard e50db0208a Use full error messages for relations validation. 10 years ago
Richard 62c9f793bb Rename relations api namespace from id to relation_id. 10 years ago
Richard b5f1346a4f Track down super irritating related to/by bug 10 years ago
Marek Takac 68a526844d Added authorization to creating and deleting relations 10 years ago
Marek Takac 651d524194 Added endpoint for deleting relationships 10 years ago
Marek Takac 613b71df0f Added endpoint for creating relations 10 years ago