summaryrefslogtreecommitdiff
path: root/spec/helpers/issuables_helper_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Resolve "Improve tooltips of collapsed sidebars"Dennis Tang2018-04-191-2/+6
|
* Fixed dashboard filtering testsJan Provaznik2018-04-031-25/+4
|
* Don't convert issuable_initial_data into JSONjprovazn-issuable-dataJan Provaznik2018-02-261-16/+16
| | | | | | | | | | Instead of converting hash into JSON inside issuable_initial_data method, return hash and convert to JSON later. This allows us to easily extend basic issuable data with resource specific values. For example for Epic these data should include also labels, so we can then do something like: issuable_initial_data(@epic).merge(labels: @epic.labels).to_json
* Merge branch '41247-timestamp' into 'master'Robert Speicher2018-01-181-3/+3
|\ | | | | | | | | | | | | Use last_edited_at instead of updated_at for displaying issuable last change Closes #41247 See merge request gitlab-org/gitlab-ce!16406
| * Return last edited time instead of update time41247-timestampJan Provaznik2018-01-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | For issuable models we keep two timestamps: updated_at which is updated whenever any model attribute is changed, last_edited_at which is changed when only title or description is changed. In UI bellow description we display who and when updated the item. But last_edited_by (used for 'who') is mistakenly combined with updated_at (when), last_edited_at should be used instead. Closes #41247
* | Remove unnecessary query from labels filterFelipe Artur2018-01-181-0/+29
|/
* Backport epic tasklistClement Ho2017-11-291-0/+1
|
* CE port of code changed for epicsjk-epic-changes-ce-portJarka Kadlecova2017-11-021-0/+32
|
* Remove issuable finder count cachingSean McGivern2017-08-311-106/+0
| | | | | | | We're going to cache the total open count separately, and then just perform these counts on the list. We already do that to get the pagination information, through Kaminari, and a future change will make Kaminari reuse the query results from earlier in the request.
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-2/+2
|
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-011-2/+2
|
* Use Ghost user when edited_by, merged_by deleted34930-fix-edited-byJarka Kadlecova2017-07-191-0/+20
|
* Support multiple Redis instances based on queue typePaul Charlton2017-07-111-1/+1
|
* Make finders responsible for counter cache keysSean McGivern2017-06-301-24/+22
|
* Cache total issue / MR counts for project by user typeSean McGivern2017-06-301-6/+43
| | | | | | 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.
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-20/+20
|
* Merge remote-tracking branch 'origin/master' into ↵Luke "Jared" Bennett2017-06-021-27/+2
|\ | | | | | | fix-realtime-edited-text-for-issues-9-3
* | Removed unneeded newline in issuables_helper_spec and removed unneeded ↵Luke "Jared" Bennett2017-06-021-1/+0
| | | | | | | | updated_at_by variable in issuable_app_data
* | Fixed issuables_helper_spec and added a test for issuable_app_dataLuke "Jared" Bennett2017-05-311-0/+26
| |
* | Remove EditableHelper and move method to IssuablesHelperLuke "Jared" Bennett2017-05-311-0/+18
|/
* Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-0/+17
|
* Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-231-20/+20
| | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
* Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
|
* Prefer leading style for Style/DotPositionDouwe Maan2017-02-231-20/+20
|
* Move issuable reference display to a helper methodOswaldo Ferreira2017-01-271-0/+40
|
* Refactor issuable_filters_present to reduce duplicationsSemyon Pupkov2016-11-281-0/+21
| | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/23546
* Small improvements thanks to Robert's feedbackRémy Coutable2016-09-301-26/+34
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Cache the issuable counters for 2 minutesRémy Coutable2016-09-301-2/+95
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Changed file namePhil Hughes2016-08-191-0/+16
Updated spec HAML