- 07 Oct, 2016 1 commit
-
-
Nick Thomas authored
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.
-
- 04 Oct, 2016 2 commits
-
-
Lin Jen-Shin authored
-
Paco Guzman authored
We remove some arguments that are rarely used or used just to simplify setups on specs. Modified Mentionable#create_new_cross_references method we don’t need to calculate previous references to avoid the duplication because we do that at database level when creating references extracted from the current entity state. MergeRequests won’t create cross_references for commits that are included so we change a spec to use a different merge request to make references to commits to other branches
-
- 03 Oct, 2016 4 commits
-
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
which merges previous exclude_ignored_jobs and failed_but_allowed, so that we don't treat ignored a special case in HasStatus.
-
- 01 Oct, 2016 2 commits
-
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
also respect this ignorance. Address feedback from: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6604#note_16273363
-
- 30 Sep, 2016 1 commit
-
-
Lin Jen-Shin authored
-
- 29 Sep, 2016 1 commit
-
-
Lin Jen-Shin authored
-
- 22 Sep, 2016 2 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 20 Sep, 2016 3 commits
-
-
Timothy Andrew authored
- Move things common to `Issue` and `MergeRequest` into `Issuable` - Move more database-specific functions into `Gitlab::Database` - Indentation changes and other minor refactorings.
-
Timothy Andrew authored
1. Change multiple updates to a single `update_all` 2. Use cascading deletes 3. Extract an average function for the database median. 4. Move database median to `lib/gitlab/database` 5. Use `delete_all` instead of `destroy_all` 6. Minor refactoring
-
Timothy Andrew authored
1. Dispatch between the two strategies automatically based on the current database type. 2. The MySQL version needs to run multiple statements, so the `cycle_analytics` model is modified to support this.
-
- 19 Sep, 2016 2 commits
-
-
Z.J. van de Weg authored
-
Timothy Andrew authored
-
- 18 Sep, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 17 Sep, 2016 1 commit
-
-
Timothy Andrew authored
1. Use Arel for composable queries. 2. For a project with ~10k issues, the page loads in around 600ms. Previously, a project with ~5k issues would have a ~20s page load time.
-
- 14 Sep, 2016 1 commit
-
-
Timothy Andrew authored
-
- 13 Sep, 2016 1 commit
-
- 12 Sep, 2016 1 commit
-
-
Lin Jen-Shin authored
-
- 01 Sep, 2016 1 commit
-
-
Felipe Artur authored
-
- 31 Aug, 2016 1 commit
-
-
Andrew Smith authored
-
- 30 Aug, 2016 2 commits
-
-
barthc authored
-
Sean McGivern authored
-
- 29 Aug, 2016 1 commit
-
-
Clement Ho authored
-
- 28 Aug, 2016 1 commit
-
-
barthc authored
prevent authored awardable thumbs votes prevent authored awardable thumbs votes
-
- 25 Aug, 2016 1 commit
-
-
De Wet Blomerus authored
-
- 23 Aug, 2016 1 commit
-
-
Patricio Cano authored
-
- 22 Aug, 2016 1 commit
-
-
Valery Sizov authored
-
- 19 Aug, 2016 3 commits
-
-
Felipe Artur authored
-
Douwe Maan authored
-
- 18 Aug, 2016 1 commit
-
-
Sean McGivern authored
-
- 16 Aug, 2016 1 commit
-
-
Timothy Andrew authored
!581 has a lot of changes that would cause merge conflicts if not properly backported to CE. This commit/MR serves as a better foundation for gitlab-org/gitlab-ee!581. = Changes = 1. Move from `has_one {merge,push}_access_level` to `has_many`, with the `length` of the association limited to `1`. This is _effectively_ a `has_one` association, but should cause less conflicts with EE, which is set to `has_many`. This has a number of related changes in the views, specs, and factories. 2. Make `gon` variable loading more consistent (with EE!581) in the `ProtectedBranchesController`. Also use `::` to prefix the `ProtectedBranches` services, because this is required in EE. 3. Extract a `ProtectedBranchAccess` concern from the two access level models. This concern only has a single `humanize` method here, but will have more methods in EE. 4. Add `form_errors` to the protected branches creation form. This is not strictly required for EE compatibility, but was an oversight nonetheless.
-
- 15 Aug, 2016 3 commits
-
-
Patricio Cano authored
-
Patricio Cano authored
- Refactored SpamCheckService into SpamService
-
Patricio Cano authored
- Added controller actions as reusable concerns - Added controller tests
-