summaryrefslogtreecommitdiff
path: root/app/controllers/concerns
Commit message (Collapse)AuthorAgeFilesLines
* Cache highlighted diff lines for merge requestsPaco Guzman2016-08-031-3/+3
| | | | Introducing the concept of SafeDiffs which relates diffs with UI highlighting.
* State specific default sort order for issuableszs2016-08-013-8/+91
| | | | | | | | | | | | | | | Provide more sensible default sort order for issues and merge requests based on the following table: | type | state | default sort order | |----------------|--------|--------------------| | issues | open | last created | | issues | closed | last updated | | issues | all | last created | | merge requests | open | last created | | merge requests | merged | last updated | | merge requests | closed | last updated | | merge requests | all | last created |
* Refactor service settings viewissue_8110Felipe Artur2016-07-201-5/+5
|
* Add project service documentation and update integration documentationFelipe Artur2016-07-191-0/+35
|
* Merge branch 'master' into rename-repo-filestiagonbotelho2016-07-191-1/+0
|\
| * Collapsed diffs lines/size don't accumulate to overflow diffs.19820-safer-diffsPaco Guzman2016-07-181-1/+0
| |
* | Merge branch 'master' into rename-repo-filestiagonbotelho2016-07-181-6/+4
|\ \ | |/
| * Merge branch '17341-firefox-u2f' into 'master' Robert Speicher2016-07-151-6/+4
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow U2F devices to be used in Firefox - Adds U2F support for Firefox - Improve U2F feature detection logic - Have authentication flow be closer to the spec (single challenge instead of a challenge for each `signRequest`) - Closes #17341 - Related to #15337 See merge request !5177
| | * Use a single challenge for U2F authentication.Timothy Andrew2016-07-141-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. According to the spec, either we have a single challenge with a number of `signRequests`, or a number of `signRequests`, each with it's own challenge. 2. Previously, we had both these - per-request challenges, as well as a single extra challenge. 3. This commit changes this so that the per-request challenges are removed, leaving only a single challenge, as per the v1.1 U2F API. 4. The existing implementation didn't work in Firefox, because the Firefox (extension) implementation is less flexible with regard to the inputs. 5. Fix teaspoon specs. 6. References: https://fidoalliance.org/specs/fido-u2f-v1.0-nfc-bt-amendment-20150514/fido-u2f-javascript-api.html#h2_background
| | * Load Javascript U2F library selectively.Timothy Andrew2016-07-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Only on supported Chrome versions 2. Mainly, this lets us simplify the javascript-based U2F check to `window.u2f`, where `window.u2f` can either be loaded from the GitLab server (for Chrome) or from the Firefox extension. 3. This is a better way to provide browser detection for U2F.
* | | refactors update action to change commit_params with the correct pathtiagonbotelho2016-07-121-1/+0
| | |
* | | changes the usasge of path to file_path on blob_controller for ↵tiagonbotelho2016-07-121-1/+1
| | | | | | | | | | | | compatibillity with the create action
* | | removes debugging prints from codetiagonbotelho2016-07-121-8/+0
| | |
* | | refactors blob_controllertiagonbotelho2016-07-121-0/+8
| | |
* | | removes debugging prints from codetiagonbotelho2016-07-121-8/+0
| | |
* | | refactors blob_controllertiagonbotelho2016-07-121-0/+8
| | |
* | | removes debugging prints from codetiagonbotelho2016-07-121-8/+0
| | |
* | | refactors blob_controllertiagonbotelho2016-07-121-0/+8
| | |
* | | removes debugging prints from codetiagonbotelho2016-07-121-8/+0
| | |
* | | refactors blob_controllertiagonbotelho2016-07-121-0/+8
| | |
* | | creates the update_file method in repository.rb and applies changes accordinglytiagonbotelho2016-07-121-1/+2
| | |
* | | successfully adds the new version with the updated name on the projects repotiagonbotelho2016-07-121-1/+2
|/ /
* | Handle more than two paths in MergeRequest#diffsSean McGivern2016-07-111-1/+3
| |
* | Make expand_all param more explicitSean McGivern2016-07-081-1/+1
| |
* | DRY up diff_for_path actionsSean McGivern2016-07-081-0/+23
|/ | | | | | 1. Move render method to a concern, not a helper. 2. Let DiffHelper#diff_options automatically add the path option. 3. Move more instance var definitions to before filters.
* Exclude requesters from Project#members, Group#members and User#membersexplicit-requesters-scopeRémy Coutable2016-07-011-2/+3
| | | | | | And create new Project#requesters, Group#requesters scopes. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Raise a new Gitlab::Access::AccessDeniedError when permission is not enough ↵Rémy Coutable2016-06-181-26/+8
| | | | | | | | to destroy a member This is a try for a new approach to put the access checks at the service level. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Redirect to the member's source on request withdrawalRémy Coutable2016-06-181-1/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* New Members::DestroyServiceRémy Coutable2016-06-181-2/+4
| | | | | | | This is to ensure we don't send unwanted notifications when deleting a project. In other words, stop abusing AR callbacks and use services. Signed-off-by: Rémy Coutable <remy@rymai.me>
* UI and copywriting improvements13948-access-request-to-projects-and-groupsRémy Coutable2016-06-142-38/+58
| | | | | | | | | + Move 'Edit Project/Group' out of membership-related partial + Show the access request buttons only to logged-in users + Put the request access buttons out of in a more visible button + Improve the copy in the #remove_member_message helper Signed-off-by: Rémy Coutable <remy@rymai.me>
* Factorize access request routes into a new :access_requestable route concernRémy Coutable2016-06-141-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Factorize #request_access and #approve_access_request into a new ↵Rémy Coutable2016-06-141-0/+38
| | | | | | AccessRequestActions controller concern Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'notes-are-awardables' into 'master' Douwe Maan2016-06-061-1/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes are awardables ## What does this MR do? Makes sure we can :thunder_cloud_rain: comments/notes. ## What are the relevant issue numbers? Follows up upon !2901, depends on !3785 Closes #3655 ## Screenshots (if relevant) TODO See merge request !4291
| * Backend awardables on commentsZJ van de Weg2016-06-061-1/+10
| |
* | Implement authentication (login) using a U2F device.Timothy Andrew2016-06-061-1/+58
|/ | | | | | - Move the `authenticate_with_two_factor` method from `ApplicationController` to the `AuthenticatesWithTwoFactor` module, where it should be.
* Merge branch 'awardables' of gitlab.com:gitlab-org/gitlab-ce into awardablesFatih Acet2016-05-181-0/+2
|\
| * Fix latests concernsZJ van de Weg2016-05-181-0/+2
| |
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into awardablesFatih Acet2016-05-182-2/+2
|\ \ | |/ |/| | | | | | | | | | | # Conflicts: # app/controllers/projects/merge_requests_controller.rb # app/models/note.rb # db/schema.rb # spec/models/note_spec.rb
| * Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage'Dmitriy Zaporozhets2016-05-181-1/+1
| |\ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| | * Change deprecated usage of rendering without response bodyMehmet Emin İNAÇ2016-03-161-1/+1
| | | | | | | | | | | | | | | `render nothing: true` has been deprecated. For more information see [pr](https://github.com/rails/rails/pull/20336)
| * | Codestyle: make sure we have space around operatorsGabriel Mazetto2016-05-131-1/+1
| | |
* | | Merge branch 'master' into awardablesZeger-Jan van de Weg2016-05-111-0/+2
|\ \ \ | |/ /
| * | Use compact syntaxAlfredo Sumaran2016-04-211-4/+1
| | |
| * | Allow filtering by Owned projectsAlfredo Sumaran2016-04-181-0/+5
| | |
* | | Create table for award emojiZeger-Jan van de Weg2016-05-061-0/+20
|/ /
* | Use respond_to instead of a conditional to paginate milestonesRémy Coutable2016-03-231-4/+0
| |
* | Fix an issue causing the Dashboard/Milestones page to be blankRémy Coutable2016-03-231-1/+4
| |
* | Merge branch 'master' into 2489-soft-delete-issuesZeger-Jan van de Weg2016-03-213-3/+3
|\ \
| * | Use the configured Kaminari "per page" defaultrs-use-kaminari-defaultRobert Speicher2016-03-193-3/+3
| |/
* | Minor improvements on IssuableActionsZeger-Jan van de Weg2016-03-212-21/+23
| |