Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-23Enable Style/DotPositionDouwe Maan
2017-01-06Speed up group milestone index by passing group_id to IssuesFinderAdam Niedzielski
2016-12-20Milestoneish SQL performance partially improved and memoizedJames Edwards-Jones
Memoize Milestoneish#issues_visible_to_user and counts to reduce lookups Milstoneish SQL optimised with project, but still slow on GlobalMilestone
2016-11-23Add a starting date to milestonesValery Sizov
2016-10-07Add markdown cache columns to the database, but don't use them yetNick Thomas
This commit adds a number of _html columns and, with the exception of Note, starts updating them whenever the content of their partner fields changes. Note has a collision with the note_html attr_accessor; that will be fixed later A background worker for clearing these cache columns is also introduced - use `rake cache:clear` to set it off. You can clear the database or Redis caches separately by running `rake cache:clear:db` or `rake cache:clear:redis`, respectively.
2016-09-23Use select(:foo) instead of map(&:foo) in GlobalMilestoneAhmad Sherif
2016-09-23Ensure milestones passed to GlobalMilestone is an ActiveRecord::RelationAhmad Sherif
2016-09-23Reduce number of queries when calling GlobalMilestone#{labels,participants}Ahmad Sherif
2016-09-23Eager-load assignee and labels associations for GlobalMilestore issuablesAhmad Sherif
2016-03-29Ruby fixesPhil Hughes
2016-03-29Standardised the output of the JSON to always include the namePhil Hughes
The frontend will then always use the name as the ID - like previous
2016-03-07Updates from last code review.Rubén Dávila
2016-03-05Refactor Merge Requests tab into a custom partialRubén Dávila
* Add Labels tab to Groups * Add decorator for label so it's aware of Milestones.
2016-03-05Eager load Issues/MRs project for Milestone.Rubén Dávila
With this change we avoid doing N+1 queries when viewing Milestone's Issues/MRs from a Group context.
2016-03-05Refactor GlobalMilestone queries.Rubén Dávila
Make methods return ActiveRecord Relations instead of Arrays.
2016-01-08Add two custom Date/Time conversion formatsRobert Speicher
2016-01-08Remove stamp gemRobert Speicher
Closes #5908
2015-12-23Fix Error 500 when global milestones have slashesStan Hu
Closes #4226
2015-12-07Merge branch 'gsmethells/gitlab-ce-sort-by-due-date'Douwe Maan
2015-12-07Satisfy RubocopDouwe Maan
2015-12-05Fix Error 500 when creating global milestones with Unicode charactersStan Hu
Two issues: 1. The constraints in the resources were incorrect. Here's what it was before: ``` group_milestone GET /groups/:group_id/milestones/:id(.:format) groups/milestones#show {:id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/, :group_id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/} ``` In this case, id is actually the title of the milestone, which can be anything at the moment. After: ``` group_milestone GET /groups/:group_id/milestones/:id(.:format) groups/milestones#show {:id=>/[^\/]+/, :group_id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/} ``` 2. `parameterize` would strip all Unicode characters, leaving a blank string. Rails would report something like: ActionView::Template::Error (No route matches {:action=>"show", :controller=>"groups/milestones", :group_id=>#<Group id: 48, name: "ops-dev", path: "ops-dev", owner_id: nil, created_at: "2015-11-15 08:55:30", updated_at: "2015-12-02 06:23:26", type: "Group", description: "", avatar: "sha1.c71e73d51af1865c1bbbf6208e10044d46c9bb93.png", public: false>, :id=>"", :title=>"肯定不是中文的问题"} missing required keys: [:id]): This change uses the babosa library to create a better slug, which surprisingly isn't actually used by the global milestone controllers. Instead, they use the title passed as a query string for some reason. Closes https://github.com/gitlabhq/gitlabhq/issues/9881 Fix constraints
2015-12-03sort milestones by due_dateGreg Smethells
2015-11-16Some code and doc improvementsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-16Refactor global and group milestones logicDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>