Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Enforce restricted visibilities for snippets | Vinnie Okada | 2015-03-08 | 1 | -9/+13 | |
| | | | | | | | | | | | | | | | | | | Add new service classes to create and update project and personal snippets. These classes are responsible for enforcing restricted visibility settings for non-admin users. | |||||
| * | | Allow admins to override restricted visibility | Vinnie Okada | 2015-03-08 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | Allow admins to use restricted visibility levels when creating or updating projects. | |||||
* | | | Use `project_member` instead of `team_member`. | Douwe Maan | 2015-03-15 | 1 | -14/+14 | |
| | | | ||||||
* | | | Use `group_member` instead of `users_group` or `membership`. | Douwe Maan | 2015-03-15 | 1 | -5/+5 | |
| |/ |/| | ||||||
* | | use constant-time string compare for internal api authentication | Jörg Thalheim | 2015-03-06 | 1 | -1/+4 | |
|/ | | | | | | | Ruby str_equal uses memcmp internally to compare String. Memcmp is vunerable to timing attacks because it returns early on mismatch (on most x32 platforms memcmp uses a bytewise comparision). Devise.secure_compare implements a constant time comparision instead. | |||||
* | Merge branch 'project-existence-leak' into 'master' | Dmitriy Zaporozhets | 2015-03-03 | 1 | -17/+22 | |
|\ | | | | | | | | | | | | | | | | | | | Don't leak information about private project existence via Git-over-SSH/HTTP. Fixes #2040 and https://gitlab.com/gitlab-org/gitlab-ce/issues/343. Both `Grack::Auth` (used by Git-over-HTTP) and `Api::Internal /allowed` (used by gitlab-shell/Git-over-SSH) now return a generic "Not Found" error when the project exists but the user doesn't have access to it. See merge request !1578 | |||||
| * | Don't leak information about private project existence via Git-over-SSH/HTTP. | Douwe Maan | 2015-03-02 | 1 | -17/+22 | |
| | | ||||||
* | | Enable ParenthesesAsGroupedExpression rule | Dmitriy Zaporozhets | 2015-03-02 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #8890 from sue445/feature/project_api_avatar_url | Jeroen van Baarsen | 2015-03-01 | 1 | -0/+1 | |
|\ \ | |/ |/| | Expose avatar_url in projects API | |||||
| * | Expose avatar_url in projects API | sue445 | 2015-03-01 | 1 | -0/+1 | |
| | | | | | | | | | | | | * Impl Project#avatar_url * Refactor ApplicationHelper: Use Project#avatar_url * Update changelog | |||||
* | | Merge branch 'master' into mmonaco/gitlab-ce-api-user-noconfirm | Dmitriy Zaporozhets | 2015-02-27 | 21 | -151/+614 | |
|\ \ | |/ | | | | | | | Conflicts: lib/api/users.rb | |||||
| * | Improve error messages when file editing fails | Vinnie Okada | 2015-02-22 | 1 | -1/+2 | |
| | | | | | | | | | | Give more specific errors in API responses and web UI flash messages when a file update fails. | |||||
| * | Improve broadcast message API | Dmitriy Zaporozhets | 2015-02-18 | 2 | -2/+4 | |
| | | ||||||
| * | Dont send 404 if no broadcast messages now because it flood gitlab-shell ↵ | Dmitriy Zaporozhets | 2015-02-18 | 1 | -2/+0 | |
| | | | | | | | | logs with 404 errors :( | |||||
| * | Remove Group#owner_id from API since it is not used any more | Dmitriy Zaporozhets | 2015-02-17 | 2 | -2/+2 | |
| | | ||||||
| * | Edit group members via API | Vinnie Okada | 2015-02-11 | 3 | -10/+31 | |
| | | | | | | | | | | Add an API endpoint to update the access level of an existing group member. | |||||
| * | Add internal broadcast message API. | Douwe Maan | 2015-02-07 | 2 | -0/+12 | |
| | | ||||||
| * | Refactor and improve sorting objects in API for projects, issues and merge ↵ | Dmitriy Zaporozhets | 2015-02-05 | 4 | -58/+72 | |
| | | | | | | | | requests | |||||
| * | Explicitly define ordering in models using default_scope | Dmitriy Zaporozhets | 2015-02-05 | 1 | -2/+0 | |
| | | ||||||
| * | Merge pull request #8712 from jvanbaarsen/add-merge-request-files-endpoint | Dmitriy Zaporozhets | 2015-02-04 | 2 | -5/+27 | |
| |\ | | | | | | | Added a way to retrieve MR files | |||||
| | * | Added a way to retrieve MR files | Jeroen van Baarsen | 2015-02-04 | 2 | -5/+27 | |
| | | | | | | | | | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | |||||
| * | | Merge pull request #8723 from jubianchi/api-groups-path | Dmitriy Zaporozhets | 2015-02-03 | 3 | -34/+23 | |
| |\ \ | | | | | | | | | Access groups using path | |||||
| | * | | Acces groups with their path in API | jubianchi | 2015-02-03 | 3 | -34/+23 | |
| | | | | ||||||
| * | | | Rubocop: Style/CaseIndentation enabled | Dmitriy Zaporozhets | 2015-02-02 | 1 | -5/+2 | |
| | | | | ||||||
| * | | | Avoid using {...} for multi-line blocks | Dmitriy Zaporozhets | 2015-02-02 | 4 | -9/+7 | |
| | | | | ||||||
| * | | | Rubocop enabled for: Use spaces inside hash literal braces | Dmitriy Zaporozhets | 2015-02-02 | 4 | -5/+5 | |
| |/ / | ||||||
| * | | Convert hashes to ruby 1.9 style | Dmitriy Zaporozhets | 2015-02-02 | 2 | -3/+3 | |
| |/ | ||||||
| * | Merge pull request #8609 from ↵ | Dmitriy Zaporozhets | 2015-01-27 | 1 | -8/+29 | |
| |\ | | | | | | | | | | | | | jubianchi/issues/6289-api-handle-error-project-repo Handle errors on API when a project does not have a repository | |||||
| | * | Handle errors on API when a project does not have a repository (Closes #6289) | jubianchi | 2015-01-19 | 1 | -8/+29 | |
| | | | ||||||
| * | | Merge branch 'feature_api_project_edit' into 'master' | Dmitriy Zaporozhets | 2015-01-22 | 1 | -0/+43 | |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Implement edit via API for projects I've picked up https://github.com/gitlabhq/gitlabhq/pull/8055 fixed the few hound warnings and replaced all double quotes in the spec file where possible. # From the original PR: Implements edit via API for projects. Edit was part of missing features in feature request Full CRUD operations via API for projects. http://feedback.gitlab.com/forums/176466-general/suggestions/3904506-full-crud-operations-via-api-for-projects Feature is implemented using existing UpdateService for projects. Permission to change visibility level and name are checked in addition to check for permission to administer project. Doesn't allow updating project namespace id, because there was existing API-method for transferring project to a group. Documentation added to doc/api/projects.md. Uses API request PUT /projects/:id . Tests included for: 1. Success for changing path 2. Success for changing name 3. Success for changing visibility level 4. Success for changing all other attributes 5. Success for changing name & path to existing name & path but in different namespace 6. Failure if not authenticated 7. Failure if path exists in project's namespace 8. Failure if name exists in project's namespace 9. Failure if not sufficient permission to change name 10. Failure if not sufficient permission to change visibility level 11. Failure if not sufficient permission to change other attributes Allows updating following parameters: * name * path * visibility_level * public * default_branch * issues_enabled * wiki_enabled * snippets_enabled * merge_requests_enabled * description See merge request !310 | |||||
| | * | | Implement edit via API for projects | Mika Mäenpää | 2015-01-22 | 1 | -0/+43 | |
| | | | | ||||||
| * | | | Fix the test and add documentation for the "per-milestone issues API call" | Hannes Rosenögger | 2015-01-22 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Add per-milestone issues API call | Justin Whear | 2015-01-22 | 1 | -0/+15 | |
| |/ / | ||||||
| * | | developer can push to protected branches | Valery Sizov | 2015-01-20 | 1 | -6/+2 | |
| |/ | ||||||
| * | Merge pull request #8464 from dserodio/group-api-description | Dmitriy Zaporozhets | 2015-01-18 | 2 | -2/+2 | |
| |\ | | | | | | | Add description attribute to group API (GET and POST) | |||||
| | * | Add description attribute to group API (GET and POST) | Daniel Serodio | 2015-01-16 | 2 | -2/+2 | |
| | | | ||||||
| * | | Merge pull request #8307 from cirosantilli/project-api-comment-typo | Jeroen van Baarsen | 2015-01-18 | 1 | -1/+1 | |
| |\ \ | | |/ | |/| | Typo in project API events comment | |||||
| | * | Typo in project API events comment | Ciro Santilli | 2014-11-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge pull request #8096 from cirosantilli/regex-to-string | Dmitriy Zaporozhets | 2015-01-15 | 1 | -2/+2 | |
| |\ \ | | | | | | | | | Replace regex methods by string ones since faster and more readable | |||||
| | * | | Replace regex methods by string ones since faster | Ciro Santilli | 2014-12-28 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | and more readable. | |||||
| * | | | Add search filter option on project api for authorized projects. | Marin Jankovski | 2015-01-12 | 1 | -3/+4 | |
| | | | | ||||||
| * | | | Fix failing tests due to updates on the return messages. | Marin Jankovski | 2015-01-07 | 4 | -8/+8 | |
| | | | | ||||||
| * | | | Add a message when unable to save an object through api. | Marin Jankovski | 2015-01-07 | 8 | -15/+15 | |
| | | | | ||||||
| * | | | Forward the messages in api response. | Marin Jankovski | 2014-12-30 | 6 | -8/+8 | |
| | | | | ||||||
| * | | | Message for api files and groups. | Marin Jankovski | 2014-12-30 | 3 | -5/+5 | |
| | | | | ||||||
| * | | | Clearer message if adding comment to commit via api fails. | Marin Jankovski | 2014-12-30 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Update branch api not found messages to 'Branch not found'. | Marin Jankovski | 2014-12-30 | 2 | -5/+6 | |
| | | | | ||||||
| * | | | Add group filtering by name for API | Dmitriy Zaporozhets | 2014-12-30 | 1 | -5/+8 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
| * | | | Merge pull request #7675 from yglukhov/patch_notes_api | Dmitriy Zaporozhets | 2014-12-29 | 1 | -0/+33 | |
| |\ \ \ | | | | | | | | | | | Implemented notes (body) patching in API. | |||||
| | * | | | Implemented notes (body) patching in API. | uran | 2014-12-25 | 1 | -0/+33 | |
| | | | | |