Commit Graph

96 Commits (b4e24a39bcbd2dd34ff3fe0155c58017d35baee8)

Author SHA1 Message Date
Markus Kahl 7f88ba5b22 removed attachments#show; only #download remains 9 years ago
Jan Sandbrink 85f60d8bbc Also allow to add attachments to a WP with permission to add WPs 9 years ago
Jan Sandbrink 6e9ed008fb Enforce passing of current_user into representers 9 years ago
Jan Sandbrink f121e610db Pass current_user into all AttachmentRepresenters 9 years ago
Jan Sandbrink 3f269e43ae Add link to delete an attachment to its representer 9 years ago
Jan Sandbrink 5d473e9a9c fix HTTP response of DELETE attachment 9 years ago
Jan Sandbrink b332ef06aa make collection representer explicitly unpaginated 9 years ago
Jan Sandbrink fd3312a0f2 extract attachment storing into service 9 years ago
Jan Sandbrink 88e052a53e style 9 years ago
Jan Sandbrink dcd2a3b03c rework error instantiation 9 years ago
Alex Coles a6212fb304 Fix syntax (w/Rubocop) in lib code 9 years ago
Jan Sandbrink 8e015c9e95 add specs for metadata representer 10 years ago
Jan Sandbrink 08fa23d82e please the hound 10 years ago
Jan Sandbrink 6075d3d7c9 extract method 10 years ago
Jan Sandbrink c4e51404c2 move uploaded file creation out of api endpoint 10 years ago
Jan Sandbrink 7d443154b3 parse attachment metadata using a representer 10 years ago
Jan Sandbrink 603f30f794 some cleanup 10 years ago
Jan Sandbrink ee05610d5d add specs for the unhappy pathes 10 years ago
Jan Sandbrink 9a9d6aca2c ensure correct file size errors are displayed 10 years ago
Jan Sandbrink 9cd03b0586 correct (but ugly) upload error handling 10 years ago
Jan Sandbrink db3b9da3a8 make attachment upload WORK 10 years ago
Jan Sandbrink 8585637981 list attachments of a WP via APIv3 10 years ago
Jan Sandbrink b41539f9fb delete attachments via APIv3 10 years ago
Jan Sandbrink cde374a6d5 rework attachments endpoint according to spec 10 years ago
Jan Sandbrink 900b2a4c45 Backporting APIv3 categories to OP 4.0 10 years ago
Jan Sandbrink a9e9881c4f style 10 years ago
Jan Sandbrink b1ba33c75b specify classes explicitly rather than implicitly 10 years ago
Jan Sandbrink 5a104cbcf2 fully qualify class for better dev mode 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
Jan Sandbrink 83a42d82b9 fix auto loading of DateTimeFormatter during dev 10 years ago
Jan Sandbrink cf54634a55 satisfy hound 10 years ago
Jan Sandbrink c6323dbc10 refactor output of dates and times 10 years ago
Alex Coles e0191e759c Update year in copyright header to 2015 10 years ago
Hagen Schink 746f7cce74 Use API V3's path helper 10 years ago
Hagen Schink 6ec63bc9af Update reform and its dependencies 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
Alex Coles 47b57c576c Use paths instead of URLs in Resource links 10 years ago
Alex Coles 92e8384266 Add missing Copyright headers in lib (API) code 10 years ago
Alex Coles 0bf314f149 Specify a custom Formatter for hal+json 10 years ago
Marek Takac cf1d1bf9d9 Added specs for attachment API resource 10 years ago
Marek Takac 4bd16203ec Added authorization for API show attachment endpoint 10 years ago
Marek Takac 5f050d3537 Created show attachment API endpoint 11 years ago
Marek Takac e1ad040b3a Created API attachment representer 11 years ago
Marek Takac 11a4fcb69d Created API attachment model 11 years ago