gitlabhq/lib
Sebastian Ziebell fd01f3aacd API: fixes a few return codes for project snippets
When using project snippets via API the functions now provide status codes for
different situations other then only returning 404 error. If required parameters are missing,
e.g. `title` when creating a project snippet a 400 (Bad request) error is returned. The snippet
delete function now is idempotent and returns a 200 (Ok) regardless if the snippet with the
given id is available or not. Changing return codes of these functions has the advantage that
the 404 error is used only for resources, which are not available.

Tests added to check these status codes when handling project snippets.
2013-02-13 12:09:16 +01:00
..
api API: fixes a few return codes for project snippets 2013-02-13 12:09:16 +01:00
assets move assets from lib directory to vendor 2012-05-29 17:56:48 +05:00
gitlab Merge branch 'easy-to-find-commit-on-network-graph' of https://github.com/hiroponz/gitlabhq into hiroponz-easy-to-find-commit-on-network-graph 2013-02-12 19:02:05 +02:00
redcarpet/render Fix parsing of ref-like Urls in links and images in GFM 2013-01-16 22:39:56 +01:00
tasks Merge pull request #2971 from yuters/patch-1 2013-02-12 22:17:24 -08:00
api.rb Merge branch 'master' into fixes/api 2013-02-08 10:32:42 +01:00
event_filter.rb Added EventFilter class. Compeleted first version of dashbaord filtering 2012-11-05 20:12:26 +02:00
extracts_path.rb Fix bug when it has been switched to tag. 2013-02-05 19:08:25 +09:00
file_size_validator.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
gitolited.rb No gitolite in project any more 2013-02-11 19:16:59 +02:00
static_model.rb Fixed styles, ProjectHook specs etc 2013-01-05 00:35:38 +02:00