summaryrefslogtreecommitdiff
path: root/app/helpers/issuables_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* moved some more inline codePhil Hughes2017-07-251-0/+10
| | | | removed some global variable comments
* Fix issuable state counter cache keysSean McGivern2017-07-191-1/+1
| | | | | These cache a hash of counts by state, so the state isn't needed in the key itself.
* Added issuables_helper.js, tidied up droplab-dropdown JS, fixed filtered ↵Luke "Jared" Bennett2017-07-071-8/+0
| | | | search specs
* Tidy up close_reopen helpers and fix filtered-search-token paddingLuke "Jared" Bennett2017-07-071-18/+32
|
* Fixed MR single button submit failure and attempted to tidy up close_reopen ↵Luke "Jared" Bennett2017-07-071-12/+26
| | | | partials using issuable_helpers and setDisable will use true as default bool
* Revert parent param removalLuke "Jared" Bennett2017-07-071-2/+4
|
* Dont show toggle if only one action is available and do not show report as ↵Luke "Jared" Bennett2017-07-071-2/+5
| | | | abuse for current_user's issuables
* Removed merge_request/issue state_event param parent and removed ↵Luke "Jared" Bennett2017-07-071-28/+15
| | | | issuable_path helpers in favour of issuable_url helpers
* Added report issuable featureLuke "Jared" Bennett2017-07-071-0/+41
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-4/+4
|
* Make issuables_count_for_state publicspeed-up-issue-counting-for-a-projectSean McGivern2017-06-301-12/+12
| | | | This doesn't need to be public in CE, but EE uses it as such.
* Make finders responsible for counter cache keysSean McGivern2017-06-301-20/+1
|
* Cache total issue / MR counts for project by user typeSean McGivern2017-06-301-10/+19
| | | | | | This runs a slightly slower query to get the issue and MR counts in the navigation, but caches by user type (can see all / none confidential issues) for two minutes.
* Stop showing task status if no tasks are presentPhil Hughes2017-06-201-3/+4
| | | | | | | | | | | Previously the task status would be visible even if there where no tasks in the description. This fixes that by changing the regex to check for tasks without 0. This also fixes a bug where update the description inline would not update the task status text on screen. Closes #33880
* Fix up merge issuesfix-realtime-edited-text-for-issues-9-3Luke "Jared" Bennett2017-06-021-1/+3
|
* Merge remote-tracking branch 'origin/master' into ↵Luke "Jared" Bennett2017-06-021-6/+19
|\ | | | | | | fix-realtime-edited-text-for-issues-9-3
| * fixed issuable templates dropdown not showingPhil Hughes2017-05-251-1/+1
| |
| * fixed bug with can? check when user is not logged inPhil Hughes2017-05-241-1/+1
| |
| * Changed all data to come through the JSON script elementPhil Hughes2017-05-241-2/+15
| | | | | | | | [ci skip]
| * Fixed up the template dropdown to correctly workPhil Hughes2017-05-161-1/+3
| | | | | | | | [ci skip]
| * Added description template selectorPhil Hughes2017-05-151-0/+6
| | | | | | | | [ci skip]
* | Removed unneeded newline in issuables_helper_spec and removed unneeded ↵Luke "Jared" Bennett2017-06-021-2/+1
| | | | | | | | updated_at_by variable in issuable_app_data
* | Fixed issuables_helper_spec and added a test for issuable_app_dataLuke "Jared" Bennett2017-05-311-23/+23
| |
* | Remove EditableHelper and move method to IssuablesHelperLuke "Jared" Bennett2017-05-311-1/+12
| |
* | Fix helper methods returning wrong data types for vueLuke "Jared" Bennett2017-05-311-2/+6
| |
* | Move issuable_app_data to helperLuke "Jared" Bennett2017-05-311-0/+8
|/
* Merge branch 'fixes_for_multiple_issue_assignees' into 'master' Sean McGivern2017-05-121-2/+3
|\ | | | | | | | | | | | | Fix for Follow-up from "Backport of Multiple Assignees feature Closes #31888 See merge request !11178
| * fix for Follow-up from "Backport of Multiple Assignees featurefixes_for_multiple_issue_assigneesValery Sizov2017-05-111-2/+3
| |
* | Remove some weird code to add/remove the task statusPhil Hughes2017-05-111-5/+3
|/ | | | | Moved the data into the data method Renamed edited ago class name
* Merge request widget redesignFatih Acet2017-05-091-1/+4
|
* Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-0/+10
|
* Remove helpers assigned_issuables_count and cached_assigned_issuables_countuassign_on_member_removingValery Sizov2017-04-201-10/+2
|
* Remove assigned_(issues|merge_requests) methods from the issuableValery Sizov2017-04-181-1/+1
|
* Using IssuablesFinder(s) for UI countersValery Sizov2017-04-181-1/+2
|
* Merge branch '26595-fix-issue-preselected-template' into 'master' Rémy Coutable2017-03-301-1/+1
|\ | | | | | | | | | | | | Fix linking to new issue with selected template Closes #26595 See merge request !10155
| * Fix linking to new issue with selected templateEric Eastwood2017-03-291-1/+1
| | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/26595
* | Updated todos sidebar iconPhil Hughes2017-03-241-0/+15
|/ | | | | Refactored slightly so that the same logic is shared between both the expanded & the collapsed.
* Allow filtering by all started milestonesbetter-priority-sortingSean McGivern2017-03-151-4/+7
|
* link issuable reference to itself in headermhasbini2017-03-091-1/+18
|
* Fix linter errorsFilipa Lacerda2017-03-011-1/+1
|
* Improve a11y in sidebarFilipa Lacerda2017-02-281-1/+1
|
* Use Namespace#full_path instead of #path where appropriatedm-more-namespace-full-pathDouwe Maan2017-02-231-1/+1
|
* Enable Style/ClassCheckDouwe Maan2017-02-231-1/+1
|
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
|
* Move issuable reference display to a helper methodOswaldo Ferreira2017-01-271-0/+4
|
* Backport backend work for time tracking.Ruben Davila2017-01-151-0/+9
|
* Change earlier to task_status_short to avoid titlebar line wraps25941-odd-overflow-behavior-for-long-issue-headersdimitrieh2016-12-221-2/+2
|
* Don't include ignored params in cache keySean McGivern2016-12-011-0/+1
|
* Count all issuable states at onceSean McGivern2016-12-011-6/+3
| | | | | | | | | | Instead of doing n queries for n states, do one query to get all the counts grouped by state, and figure out what the count is for each state is from that. We can still cache the individual counts (it can't hurt), but this will help with initial load. Note that the `opened` scope on `Issuable` includes the `opened` and `reopened` states, which is why there's a special case.
* Refactor issuable_filters_present to reduce duplicationsSemyon Pupkov2016-11-281-5/+15
| | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/23546