summaryrefslogtreecommitdiff
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Redirect /import to project page if no importing at all and repo existsfix/13367-redirect-to-project-page-if-no-importRémy Coutable2016-02-171-3/+9
| | | | Fixes #13367.
* Merge branch 'rs-issue-13467' into 'master' Douwe Maan2016-02-161-2/+2
|\ | | | | | | | | | | | | Ensure Commit#show responds 404 instead of 500 when given an invalid ID Closes #13467 See merge request !2823
| * Ensure Commit#show responds 404 instead of 500 when given an invalid IDrs-issue-13467Robert Speicher2016-02-151-2/+2
| | | | | | | | Closes #13467
* | Provide explicit html format when rendering git_not_found pagers-git_not_foundRobert Speicher2016-02-151-1/+1
| | | | | | | | | | Prior, if the request format was, for example, .zip, we'd get an `ActionView::MissingTemplate` error.
* | Properly render the `errors/git_not_found` pageRobert Speicher2016-02-151-1/+1
|/
* Merge branch 'olirogers/gitlab-ce-project-milestone-order' into 'master' Douwe Maan2016-02-121-5/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix milestone order in project and issue edit lists to due_date _Originally opened at !2579 by @olirogers._ - - - This MR orders the milestones by due date (earliest first) in the project and edit issue view. These suggestions were made be @orih in #6001 and fixes #6001. This continues the work of !1934 to order milestones. I found this annoying when creating milestones, found #6001 but no attached MR. This is my first for this project - comments and criticisms welcome. See merge request !2780
| * Fix milestone order in project and issue edit lists to due_dateolirogers/gitlab-ce-project-milestone-orderOliver Rogers2016-02-101-5/+6
| |
* | Move builds badge implementation to new badges controllerGrzegorz Bizon2016-02-112-10/+11
| |
* | Inherit build badge access permissions from projectGrzegorz Bizon2016-02-111-10/+4
| |
* | Respond to proper format for build badge requestGrzegorz Bizon2016-02-111-2/+8
| |
* | Move badge implementation to builds controllerGrzegorz Bizon2016-02-112-16/+10
| |
* | Skip authentication when requesting commit status badgeGrzegorz Bizon2016-02-111-1/+7
| |
* | Improve CI status badge implementationGrzegorz Bizon2016-02-111-3/+2
| |
* | Add CI status badge implementation to commit controllerGrzegorz Bizon2016-02-111-0/+6
| |
* | Render 404 if there is no project for old CI status badgeGrzegorz Bizon2016-02-111-0/+1
| |
* | Add deprecation warning for old CI status badge actionGrzegorz Bizon2016-02-111-1/+4
| | | | | | | | | | We keep this only for backwards compatibility with projects that have been migrated from GitLab CI. New project badge will go elsewhere.
* | Replaces "Create merge request" link with one to the MR when one existsDouglas Barbosa Alexandre2016-02-102-6/+20
|/
* Merge branch 'fix-explore-filter' into 'master' Dmitriy Zaporozhets2016-02-103-9/+50
|\ | | | | | | | | | | | | Add ajax filtering to all paged project lists. Fixes #13182 See merge request !2728
| * MR feedbackJosh Frye2016-02-093-6/+6
| |
| * Extract events rendering to own action.Josh Frye2016-02-093-15/+19
| |
| * Starred, All, and Trending on explore are paged also group projects. Need ↵Josh Frye2016-02-092-2/+39
| | | | | | | | ajax filter.
* | Merge remote-tracking branch 'dev/master' into 'master'Robert Speicher2016-02-0910-81/+13
|\ \ | |/ |/|
| * Merge branch 'master' into ci-permissionsKamil Trzcinski2016-02-057-13/+43
| |\ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * \ Merge remote-tracking branch 'origin/master' into ci-permissionsKamil Trzcinski2016-02-047-18/+33
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # app/views/projects/builds/index.html.haml
| * | | Rename allow_guest_to_access_builds to public_buildsKamil Trzcinski2016-02-041-1/+1
| | | |
| * | | Clean Ci::ApplicationController from unused permission related codeKamil Trzcinski2016-02-032-50/+2
| | | |
| * | | Add CI setting: allow_guest_to_access_buildsKamil Trzcinski2016-02-021-0/+1
| | | | | | | | | | | | | | | | Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled.
| * | | Make the CI permission model simplerKamil Trzcinski2016-02-028-32/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions.
* | | | Add option to include the sender name in body of Notify email. fix #7824huacnlee/gitlab-ce-feature/option-to-include-author-info-in-mailJason Lee2016-02-091-0/+1
| | | |
* | | | Merge branch 'rs-broadcast-markdown' into 'master' Douwe Maan2016-02-091-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow limited Markdown in Broadcast Messages Closes #11853 See merge request !2695
| * | | | Allow limited Markdown in Broadcast Messagesrs-broadcast-markdownRobert Speicher2016-02-061-0/+4
| | |_|/ | |/| | | | | | | | | | Closes #11853
* | | | Merge branch 'kkm/gitlab-ce-user-diff-view-pref-cookie' into 'master' Rémy Coutable2016-02-083-0/+9
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remember user's inline/tabular diff view preference in a cookie _Originally opened at !1677 by @kkm._ --- As per #3071, some users (we have a local EE installation) prefer 2-column view in diff. In this MR I add an implementation for this feature, using a cookie. Fixes #3071. See merge request !2723
| * | | Add a controller test for the new 'diff_view' cookieRémy Coutable2016-02-051-3/+1
| | | |
| * | | Remember user's inline/tabular diff view preference in a cookiekkm2016-02-053-0/+11
| | | |
* | | | Merge branch 'fix-double-page' into 'master' Dmitriy Zaporozhets2016-02-051-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix double paging ![Screen_Shot_2016-02-05_at_10.27.34_AM](/uploads/a21ad6c47ddecad29d377497ee2a167d/Screen_Shot_2016-02-05_at_10.27.34_AM.png) ![Screen_Shot_2016-02-05_at_10.27.44_AM](/uploads/3badb423df25f009886138c65cfe8347/Screen_Shot_2016-02-05_at_10.27.44_AM.png) See merge request !2727
| * | | | Fix double pagingJosh Frye2016-02-051-1/+1
| | | | |
* | | | | Merge branch 'improve-broadcast-messages' into 'master' Dmitriy Zaporozhets2016-02-051-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve admin broadcast messages page * Show latest broadcast messages first on admin page * Use nice looking pagination Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Fixes #13211 cc @rspeicher @DouweM See merge request !2725
| * | | | Improve admin broadcast messages pageDmitriy Zaporozhets2016-02-051-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | * Show latest broadcast messages first on admin page * Use nice looking pagination Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Implement changes from MR feedbackJosh Frye2016-02-041-6/+6
| | | |
* | | | Various filter fixesJosh Frye2016-02-045-12/+22
| | | |
* | | | Paginate + ajax filter dashboard projectsJosh Frye2016-02-043-8/+21
| | | |
* | | | Page project list on dashboardJosh Frye2016-02-041-0/+2
|/ / /
* | | Merge branch 'rs-backport-ldap-2fa' into 'master' Dmitriy Zaporozhets2016-02-041-2/+7
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Support Two-factor Authentication for LDAP users Closes #12653 See merge request !2688
| * | Support Two-factor Authentication for LDAP usersrs-backport-ldap-2faRobert Speicher2016-02-031-2/+7
| | | | | | | | | | | | Closes #12653
* | | Add sort dropdown to dashboard projects pagedashboard-sort-dropdownDmitriy Zaporozhets2016-02-031-0/+1
|/ / | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Support download access by PRIVATE-TOKEN headerStan Hu2016-02-031-0/+2
| | | | | | | | | | | | | | | | | | Currently there is no way to download a raw file without embedding the token in the URL, which exposes the token in the URL. There should be an way of sending this information via the header as the API does. Closes https://github.com/gitlabhq/gitlabhq/issues/8137
* | Merge branch 'support-akismet' into 'master' Robert Speicher2016-02-032-0/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Support Akismet spam checking for creation of issues via API Currently any spam detected by Akismet for non-members via API will be logged in a separate table in the admin page. Closes #5612 See merge request !2266
| * | Refactor Admin::SpamLogsController to block user before destroyingDouglas Barbosa Alexandre2016-02-021-23/+7
| | |
| * | Support Akismet spam checking for creation of issues via APIStan Hu2016-02-022-0/+35
| |/ | | | | | | | | | | | | Currently any spam detected by Akismet by non-members via API will be logged in a separate table in the admin page. Closes #5612
* | Merge branch 'git-raw-workhorse' into 'master' Jacob Vosmaer2016-02-022-18/+9
|\ \ | | | | | | | | | | | | | | | | | | Send raw Git blobs via gitlab-workhorse See merge request !2451