summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Restore Leave button on dashboard groups pageadmin-group-memberDouwe Maan2015-07-291-4/+3
|
* Show Leave button when you're the last owner, so that the error explains the ↵Douwe Maan2015-07-281-1/+1
| | | | reason
* Disable adding members from admin area when appropriateDouwe Maan2015-07-281-16/+18
|
* Add specific ability for managing group membersDouwe Maan2015-07-285-7/+16
|
* Merge branch 'fix-api-mr-notes-ordering' into 'master'Douwe Maan2015-07-283-3/+7
|\ | | | | | | | | | | | | | | Return comments in created order in merge request API Closes #1832 See merge request !985
| * Return comments in created order in merge request APIStan Hu2015-07-163-3/+6
| | | | | | | | Closes #1832
* | Merge branch 'fix-quotes-in-branch' into 'master'Douwe Maan2015-07-287-5/+39
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix commit data retrieval when branch name has single quotes Quotes in ref names need to be escaped properly in JavaScript. Closes #1724 See merge request !1046
| * | Fix commit data retrieval when branch name has single quotesStan Hu2015-07-267-5/+39
| | | | | | | | | | | | Closes #1724
* | | Merge branch 'rs-issue-2010' into 'master' Valery Sizov2015-07-283-16/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Render Note field hints consistently for "new" and "edit" forms - The "Edit" form didn't have Markdown hints. - The "New" form had a paperclip icon for attachments, the "edit" form didn't. Closes #2010 Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2525 See merge request !1049
| * | | Render Note field hints consistently for "new" and "edit" formsrs-issue-2010Robert Speicher2015-07-263-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The "Edit" form didn't have Markdown hints. - The "New" form had a paperclip icon for attachments, the "edit" form didn't. Closes #2010 Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2525
* | | | Merge branch 'rake-update-commit-count' into 'master'Valery Sizov2015-07-272-0/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add rake task 'gitlab:update_commit_count' Starting with migration `20150717130904` commit count is stored in the database. For existing projects it defaults to `0` and is updated to the correct value when commits are pushed. The newly introduced rake task updates the commit count for all projects which have not been updated yet. ![gitlab-rake-update-commit-count](https://gitlab.com/gitlab-org/gitlab-ce/uploads/4785009e0f3fc4c3199fe65dfb8e60e0/gitlab-rake-update-commit-count.png) Refs !986, !989, #2040, #2089. See merge request !1040
| * | | | Add rake task 'gitlab:update_commit_count'Daniel Gerhardt2015-07-242-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with migration `20150717130904` commit count is stored in the database. For existing projects it defaults to `0` and is updated to the correct value when commits are pushed. The newly introduced rake task updates the commit count for all projects which have not been updated yet. Refs !986, !989, #2040.
* | | | | Merge branch 'rs-dev-issue-306' into 'master' Valery Sizov2015-07-272-2/+12
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | Create project services on Project creation Closes internal https://dev.gitlab.org/gitlab/gitlab-ee/issues/306#note_53354 See merge request !1045
| * | | | Create project services on Project creationrs-dev-issue-306Robert Speicher2015-07-252-0/+9
| | | | |
| * | | | Only create :admin user in the one test where it's usedRobert Speicher2015-07-251-2/+3
| | | | |
* | | | | Merge branch 'fix-notes-refresh-relative-url' into 'master'Stan Hu2015-07-262-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix live notes refresh in relative URL deployments ### What does this MR do? This MR fixes URLs used for refreshing notes--the relative_url prefix was appended twice ### Why was this MR needed? In case of `relative_url` installation, opening a page which does refresh notes (i.e. merge request), the page generates lots of 404 errors in the browser console. It turns out that the relative_url is prepended to the link twice. Supersedes !233 See merge request !1048
| * | | | Fix live notes refresh in relative URL deploymentsStan Hu2015-07-262-1/+1
|/ / / /
* | | | Merge branch 'fix-reload-with-full-diff-url' into 'master'Stan Hu2015-07-255-13/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the "Reload with full diff" URL button On the first load, the merge request tabs would be requested in JSON format to render the HTML. This would cause the "Reload with full diff" button to create a link to `diff.json`. Instead, generate the path in HTML mode. Closes #2041 See merge request !1019
| * | | | Fix the "Reload with full diff" URL buttonStan Hu2015-07-235-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the first load, the merge request tabs would be requested in JSON format to render the HTML. This would cause the "Reload with full diff" button to create a link to diff.json. Closes #2041
* | | | | Merge branch 'rs-issue-2092' into 'master' Douwe Maan2015-07-256-5/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dynamically check `:admin_*` ability in two more spots. Closes #2092 Depends on !1037 See merge request !1042
| * | | | | Dynamically check `:admin_*` ability in IssuableBaseServicers-issue-2092Robert Speicher2015-07-243-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | Closes #2092
| * | | | | Dynamically check `:admin_*` ability on issuable formRobert Speicher2015-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Closes #2092
| * | | | | Add Issuable#to_ability_nameRobert Speicher2015-07-242-2/+12
| | | | | |
* | | | | | Merge branch 'master' of github.com:gitlabhq/gitlabhqStan Hu2015-07-243-1/+6
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Merge pull request #9472 from Leibniz137/indent_unfolded_code_1_charStan Hu2015-07-223-1/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | Gitlab Issue 707: Indent unfolded code 1 character
| | * | | | | Gitlab Issue 707: Indent unfolded code 1 characterngentile2015-07-223-1/+6
| |/ / / / /
* | | | | | Merge branch 'fix-error-500-when-no-head' into 'master'Valery Sizov2015-07-243-2/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix error 500 when no HEAD is available Steps to reproduce: 1. Create a project with a README 2. In the actual remote, type: `git symbolic-ref HEAD refs/heads/nowhere` 3. Check that HEAD is gone via `git ls-remote .` 4. Go to the projects page and see the Error 500 Error: ``` NoMethodError - undefined method `sha' for nil:NilClass: app/helpers/projects_helper.rb:281:in `readme_cache_key' app/views/projects/_readme.html.haml:10:in `_app_views_projects__readme_html_haml___2036282917939462960_70154565285700' actionview (4.1.11) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.11) lib/action_view/template.rb:339:in `instrument' actionview (4.1.11) lib/action_view/template.rb:143:in `render' rack-mini-profiler (0.9.0) lib/mini_profiler/profiling_methods.rb:108:in `block in profile_method' actionview (4.1.11) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.11) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.11) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.11) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.11) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.11) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.11) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' app/views/projects/show.html.haml:47:in `_app_views_projects_show_html_haml__1458303859692972698_70154948164180' actionview (4.1.11) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.11) lib/active_support/notifications.rb:159:in `block in instrument' ``` Closes https://github.com/gitlabhq/gitlabhq/issues/9484, but there may be some other issue there. See merge request !1041
| * | | | | | Fix Error 500 when browsing projects with no HEADStan Hu2015-07-243-2/+22
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Steps to reproduce: 1. Create a project with a README 2. In the actual remote, type: `git symbolic-ref HEAD refs/heads/nowhere` 3. Check that HEAD is gone via `git ls-remote .` 4. Go to the projects page and see the Error 500 Closes https://github.com/gitlabhq/gitlabhq/issues/9484
* | | | | | Merge branch 'rs-issue-2058' into 'master' Valery Sizov2015-07-242-1/+3
|\ \ \ \ \ \ | | |_|/ / / | |/| | / / | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add admin_merge_request ability to Developer level and up This was necessary because this permission is checked dynamically by `app/views/shared/issuable/_context` when on a Merge Request. Closes #2058 See merge request !1037
| * | | | Add "Manage merge requests" permission to docsRobert Speicher2015-07-241-0/+1
| | | | |
| * | | | Add admin_merge_request ability to Developer level and upRobert Speicher2015-07-241-1/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | This was necessary because this permission is checked dynamically by `app/views/shared/issuable/_context` when on a Merge Request. Closes #2058
* | | | Merge branch 'auth-icons-labels' into 'master' Valery Sizov2015-07-2426-108/+140
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow custom label to be set for authentication providers. Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2341 Beside the above, I've: - Refactored `OauthHelper` to have clearer method names and behaviour - Moved some of `OauthHelper` behaviour to `Gitlab::OAuth::Provider` - Renamed `OauthHelper` to `AuthHelper` since LDAP, SAML, Kerberos aren't OAuth - Updated the icons for GitHub and GitLab In the examples below, "OurAuth" is a SAML provider with a custom label. ![Screen_Shot_2015-07-02_at_16.29.52](https://gitlab.com/gitlab-org/gitlab-ce/uploads/7d425bde69dc34e1667ebd5375d0266d/Screen_Shot_2015-07-02_at_16.29.52.png) ![Screen_Shot_2015-07-02_at_16.31.40](https://gitlab.com/gitlab-org/gitlab-ce/uploads/cbb273321ecdf4cab3d3ef0dc35553e7/Screen_Shot_2015-07-02_at_16.31.40.png) ![Screen_Shot_2015-07-02_at_16.32.39](https://gitlab.com/gitlab-org/gitlab-ce/uploads/d8dd6e1d0dc45a788e869cdcdc99e178/Screen_Shot_2015-07-02_at_16.32.39.png) ![Screen_Shot_2015-07-02_at_16.33.18](https://gitlab.com/gitlab-org/gitlab-ce/uploads/7dbfe8b0ae229c32a08d6c7442976d83/Screen_Shot_2015-07-02_at_16.33.18.png) See merge request !927
| * | | | Allow custom label to be set for authentication providers.auth-icons-labelsDouwe Maan2015-07-2326-107/+139
| |/ / /
* | | | Merge branch 'rs-changes-suppressed-link' into 'master' Douwe Maan2015-07-244-5/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix and style the "Changes suppressed" link. At some point the "Changes suppressed. Click to show" link stopped behaving as expected, so this fixes it. I also thought it looked bad: ![Screen_Shot_2015-07-23_at_4.06.49_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/0a1552e4edb659f065bd202b93bc61ef/Screen_Shot_2015-07-23_at_4.06.49_PM.png) So I gave it some room to breathe: ![Screen_Shot_2015-07-23_at_4.00.25_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/abc0704e597ed010cade81782ac9099e/Screen_Shot_2015-07-23_at_4.00.25_PM.png) See merge request !1038
| * | | | Fix and style the "Changes suppressed" link.rs-changes-suppressed-linkRobert Speicher2015-07-234-5/+18
| | | | |
* | | | | Merge branch 'rs-issue-2012' into 'master' Douwe Maan2015-07-243-10/+41
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Make username parameter for Users#show case-insensitive Closes #2012 See merge request !996
| * | | | Add User.find_by_username!rs-issue-2012Robert Speicher2015-07-233-1/+17
| | | | |
| * | | | Make username parameter for Users#show case-insensitiveRobert Speicher2015-07-182-11/+26
| | | | | | | | | | | | | | | | | | | | Closes #2012
* | | | | Merge branch 'update_changelog1' into 'master' Valery Sizov2015-07-231-6/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update changelog in master See merge request !1036
| * | | | | update changelogValery Sizov2015-07-231-3/+2
| | | | | |
| * | | | | update changelog1Valery Sizov2015-07-231-3/+9
|/ / / / /
* | | | | Clarify some things in monthly.mdSytse Sijbrandij2015-07-231-5/+5
| | | | |
* | | | | Merge branch 'changes_for_gmail_inbox_actions' into 'master' Douwe Maan2015-07-234-102/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes for gmail inbox actions Related to the ongoing efforts to get Gmail inbox actions for GitLab.com in #1517 Not using `mdash` would break the rendering of the html email by switching `Content-Transfer-Encoding` to `quoted-printable` for every email. Removed the rake task and docs to prevent users from sending dummy emails which might cause application rejection. See merge request !1024
| * | | | Remove docs and rake task for gmail actions to prevent problems with ↵changes_for_gmail_inbox_actionsMarin Jankovski2015-07-223-101/+0
| | | | | | | | | | | | | | | | | | | | registration.
| * | | | Use mdash to prevent breaking html emails.Marin Jankovski2015-07-221-1/+1
| | |/ / | |/| |
* | | | Merge branch 'remove-source-branch' into 'master' Valery Sizov2015-07-235-3/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug causing "Remove source-branch" option not to work for merge requests from the same project. Fixes #2049. See merge request !1025
| * | | | Return true/false from AutoMergeService#merge!remove-source-branchDouwe Maan2015-07-231-0/+4
| | | | |
| * | | | Fix Remove source-branch for MRs from same projectDouwe Maan2015-07-225-3/+12
| | | | |
* | | | | Merge branch 'revert_even_cache' into 'master' Valery Sizov2015-07-232-8/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert cache for events https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1014#note_1661322 See merge request !1027
| * | | | | revert cache for eventsrevert_even_cacheValery Sizov2015-07-232-8/+8
|/ / / / /