summaryrefslogtreecommitdiff
path: root/lib/api/internal.rb
Commit message (Collapse)AuthorAgeFilesLines
* updated internal.rb and spec based on MR feedbackJames Lopez2016-02-261-3/+3
|
* fix for projects ending in .wikiJames Lopez2016-02-241-1/+8
|
* Improve Git access error messages.Douwe Maan2015-05-131-19/+7
|
* Respond with full GitAccess error if user has project read access.api-internal-errorsDouwe Maan2015-03-241-1/+1
|
* Refactor GitAccess to use instance variables.Douwe Maan2015-03-241-19/+17
|
* Don't leak information about private project existence via Git-over-SSH/HTTP.Douwe Maan2015-03-021-17/+22
|
* Improve broadcast message APIDmitriy Zaporozhets2015-02-181-0/+2
|
* Dont send 404 if no broadcast messages now because it flood gitlab-shell ↵Dmitriy Zaporozhets2015-02-181-2/+0
| | | | logs with 404 errors :(
* Add internal broadcast message API.Douwe Maan2015-02-071-0/+8
|
* Avoid using {...} for multi-line blocksDmitriy Zaporozhets2015-02-021-3/+1
|
* Replace regex methods by string ones since fasterCiro Santilli2014-12-281-2/+2
| | | | and more readable.
* Fix internal API for missing project or keyDmitriy Zaporozhets2014-12-011-4/+9
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Better message for failed pushes because of git hooksValery Sizov2014-11-181-1/+1
| | | | | | Conflicts: lib/gitlab/git_access.rb spec/lib/gitlab/git_access_spec.rb
* add gitlab-shell identificationValery Sizov2014-10-151-0/+4
|
* Improve wiki path parsing in internal apiDmitriy Zaporozhets2014-10-071-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Developers can push to wiki repo. Protected branches does not affect wiki ↵Dmitriy Zaporozhets2014-10-071-3/+10
| | | | | | repo any more Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make sure /api/allowed return 200 status codeDmitriy Zaporozhets2014-09-031-0/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* /api/allowed use POST nowDmitriy Zaporozhets2014-09-031-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rewrite GitAccess for gitlab-shell v2Dmitriy Zaporozhets2014-09-011-4/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Dont expose user email via APIDmitriy Zaporozhets2014-06-131-1/+0
| | | | | | | | | | | | | To prevent leaking of users info we reduce amount of user information retrieved via API for normal users. What user can get via API: * if not admin: only id, state, name, username and avatar_url * if admin: all user information * about himself: all informaion Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* first setup to protect protected branched to force updatesSteven Thonus2014-03-251-1/+3
|
* Use GitAccess in internal apiDmitriy Zaporozhets2014-03-201-41/+19
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add ldap check in application_controller and internal apiDmitriy Zaporozhets2014-03-101-1/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* In the case when a user can and has authenticated with ldap, howeverJurnell Cockhren2014-01-281-1/+3
| | | | | ldap is disabled in the gitlab config, this fixes the API still calling the ldap backend.
* Check if LDAP user was removed or blocked when use git over sshDmitriy Zaporozhets2013-10-071-0/+1
|
* extract server-side git commands to constantsJakub Zienkiewicz2013-07-301-3/+7
|
* allow all git-upload-* commands for deploy keysJakub Zienkiewicz2013-07-301-1/+1
|
* Refactor API classes. So api classes like Gitlab::Issues become API::IssuesDmitriy Zaporozhets2013-05-141-2/+2
|
* modify api to work with new deploy keysDmitriy Zaporozhets2013-05-061-2/+2
|
* Add support for git-archive in gitlab internal apiDmitriy Zaporozhets2013-04-201-1/+1
|
* Merge pull request #3209 from tsl0922/masterDmitriy Zaporozhets2013-04-181-0/+1
|\ | | | | Fix: API 500 error when project does not exists
| * Fix: API 500 error when project does not existstsl09222013-03-141-0/+1
| |
* | Merge branch 'use_gollum_wikis' of https://github.com/DanKnox/gitlabhq into ↵Dmitriy Zaporozhets2013-03-151-1/+9
|\ \ | |/ |/| | | | | | | | | | | | | | | | | DanKnox-use_gollum_wikis Conflicts: app/views/layouts/project_resource.html.haml app/views/wikis/edit.html.haml app/views/wikis/pages.html.haml app/views/wikis/show.html.haml spec/features/gitlab_flavored_markdown_spec.rb
| * Replace current Wiki system with Gollum Wikis.Dan Knox2013-03-091-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces the old database backed Wiki system with the excellent Gollum git based Wiki system. The UI has been updated to allow for utilizing the extra features that Gollum provides. Specifically: * Edit page now allows you to choose the content format. * Edit page allows you to provide a commit message for the change. * History page now shows Format, Commit Message, and Commit Hash. * A new Git Access page has been added with the Wiki Repo URL. * The default page has been changed to Home from Index to match the Gollum standard. The old Wiki model has been left in tact to provide for the development of a migration script that will move all content stored in the old Wiki system into new Gollum Wikis.
* | Reduce amount of user info provided with internal apiDmitriy Zaporozhets2013-03-111-1/+1
|/
* block user should not be able to pushDmitriy Zaporozhets2013-03-071-0/+3
|
* specs for api/internalDmitriy Zaporozhets2013-02-261-0/+6
|
* uppercase Gitlab version and revision constants. check api return gitlab ↵Dmitriy Zaporozhets2013-02-161-1/+3
| | | | version now
* deploy keys support for gitlab-shell apiDmitriy Zaporozhets2013-02-071-13/+18
|
* api check callDmitriy Zaporozhets2013-02-051-0/+6
|
* Fixed: post-receive, project remove, testsDmitriy Zaporozhets2013-02-051-15/+29
|
* Internal APIDmitriy Zaporozhets2013-02-041-0/+24