Commit Graph

38 Commits (c42a79c53cbf1a628b5b7197d8698382ea1a917f)

Author SHA1 Message Date
Oliver Günther 507c2d26ea
Remove fromType, toType 7 years ago
Oliver Günther f3df45cef4
Extend backend relations API with WP type information 7 years ago
ulferts 0c0b16508b Fix/bump representable (#5465) 8 years ago
Jens Ulferts b25b266cbf
reduce duplication 8 years ago
Jens Ulferts bebf6ec086
fix filtering relations in v3 8 years ago
Oliver Günther 7cf11bb689 Update copyright notice 8 years ago
Jens Ulferts debaeb4b5f
eager load for representer 8 years ago
Markus Kahl bc444a86ec filters for relation API 8 years ago
Oliver Günther ff9c22771f
Correctly return HAL resources in from/to links 8 years ago
Markus Kahl 6023755e06 polish 8 years ago
Markus Kahl 304806b322 moved create relation into work package scope 8 years ago
Markus Kahl 6f91bd09b1 code climate 8 years ago
Markus Kahl cdf472d9ba more specs e.g. for validations including permissions 8 years ago
Markus Kahl 7f6d74a88e basic crud 8 years ago
Markus Kahl 994e0db591 add rel desc; brought representer up to spec 8 years ago
manuschiller 0b2ec6cfcb fix codeclimate: line was too long 8 years ago
manuschiller 1795f1bf47 fix empty params after whitelisting 8 years ago
manuschiller 0bb457076b fix empty params after whitelisting 8 years ago
manuschiller 3897ac4d2d Fix empty symbol properties of declared_params 8 years ago
Jens Ulferts 8136a3a26f implements a relations collection 8 years ago
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. 9 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