- 15 Aug, 2016 1 commit
-
-
Patricio Cano authored
- Added controller actions as reusable concerns - Added controller tests
-
- 02 Aug, 2016 1 commit
-
-
Robert Speicher authored
Now we link to the standard `IssuesController#new` action, and let it redirect if we're using an external tracker.
-
- 01 Aug, 2016 2 commits
-
-
Robert Speicher authored
Prior, in order to display the correct link to "Issues" in the project navigation, we were performing a check against the project to see if it used an external issue tracker, and if so, we used that URL. This was inefficient. Now, we simply _always_ link to `namespace_project_issues_path`, and then in the controller we redirect to the external tracker if it's present. This also removes the need for the url_for_issue helper. Bonus!
-
zs authored
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 |
-
- 27 Jul, 2016 1 commit
-
-
Patricio Cano authored
Refactor spam validation to a concern that can be easily reused and improve legibility in `SpamCheckService`
-
- 26 Jul, 2016 5 commits
-
-
Stan Hu authored
-
Stan Hu authored
NotesHelper#note_editable? and ProjectTeam#human_max_access currently take about 16% of the load time of an issue page. This MR preloads the maximum access level of users for all notes in issues and merge requests with several queries instead of one per user and caches the result in RequestStore.
-
Patricio Cano authored
-
Patricio Cano authored
-
Patricio Cano authored
-
- 14 Jul, 2016 2 commits
-
-
Cairo Noleto authored
fixies #19747
-
- 12 Jul, 2016 1 commit
-
-
Valery Sizov authored
-
- 01 Jul, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 24 Jun, 2016 3 commits
-
-
Felipe Artur authored
-
Felipe Artur authored
-
Yorick Peterse authored
This commit changes the way certain documents are rendered (currently only Notes) and how documents are redacted. Previously both rendering and redacting would run on a per document basis. The result of this was that for every document we'd have to run countless queries just to figure out if we could display a set of links or not. This commit changes things around so that redacting Markdown documents is no longer tied into the html-pipeline Gem. This in turn allows it to redact multiple documents in a single pass, thus reducing the number of queries needed. In turn rendering issue/merge request notes has been adjusted to take advantage of this new setup. Instead of rendering Markdown somewhere deep down in a view the Markdown is rendered and redacted in the controller (taking the current user and all that into account). This has been done in such a way that the "markdown()" helper method can still be used on its own. This particular commit also paves the way for caching rendered HTML on object level. Right now there's an accessor method Note#note_html which is used for setting/getting the rendered HTML. Once we cache HTML on row level we can simply change this field to be a column and call a "save" whenever needed and we're pretty much done.
-
- 14 Jun, 2016 2 commits
-
-
Phil Hughes authored
-
Phil Hughes authored
Added a button into the sidebar for issues & merge requests to allow users to manually create todo items Closes #15045
-
- 03 Jun, 2016 4 commits
-
-
Alfredo Sumaran authored
-
Sean McGivern authored
-
Alfredo Sumaran authored
-
Alfredo Sumaran authored
-
- 06 May, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
-
- 30 Apr, 2016 1 commit
-
-
Grzegorz Bizon authored
Closes #15533
-
- 28 Apr, 2016 1 commit
-
-
Yorick Peterse authored
This button depends on Issue#can_be_worked_on? which in turn depends on Issue#related_branches. By rendering this button asynchronously we can finally remove all usages of Issue#related_branches and Issue#referenced_merge_requests from the issues "show" page.
-
- 22 Apr, 2016 1 commit
-
-
Phil Hughes authored
Closes #15515
-
- 21 Apr, 2016 1 commit
-
-
Phil Hughes authored
-
- 20 Apr, 2016 2 commits
-
-
Mehmet Beydogan authored
Add due_date text field to sidebar issue#show Add ability sorting issues by due date ASC and DESC Add ability to filtering issues by No Due Date, Any Due Date, Due to tomorrow, Due in this week options Add handling issue due_date field for MergeRequest Update CHANGELOG Fix ambigous match for issues#show sidebar Fix SCREAMING_SNAKE_CASE offenses for due date contants Add specs for due date sorting and filtering on issues
-
Phil Hughes authored
Created issuable singleton to house the filtering
-
- 19 Apr, 2016 1 commit
-
-
Phil Hughes authored
-
- 18 Apr, 2016 1 commit
-
-
Timothy Andrew authored
-
- 13 Apr, 2016 2 commits
-
-
Jacob Schatz authored
-
Yorick Peterse authored
Currently this works by loading the HAML partials via XHR. While this is not the nicest setup it _is_ the easiest setup using the tools we currently have. Loading this data asynchronously doesn't make loading the related MRs/branches itself faster, it merely ensures that loading the issue itself is not slowed down. Fixes gitlab-org/gitlab-ce#14949
-
- 12 Apr, 2016 1 commit
-
-
Timothy Andrew authored
- Previously, the controller held the logic to calculate related branches, which was: `<branches ending with `issue.iid`> - <branches with a merge request referenced in the current issue>` - This logic belongs in the `related_branches` method, not in the controller. This commit makes this change. - This means that `Issue#related_branches` now needs to take a `User`. When we find the branches that have a merge request referenced in the current issue, this is limited to merge requests that the current user has access to. - This is not directly related to #14566, but is a related refactoring.
-
- 25 Mar, 2016 5 commits
-
-
Jacob Schatz authored
Add user avatar to user selection
-
Alfredo Sumaran authored
-
Jacob Schatz authored
-
Jacob Schatz authored
-
Jacob Schatz authored
-