- 10 Oct, 2016 2 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Brennan Roberts authored
Stop the global search form's default "action" from fighting with dropdown items when using the keyboard to navigate the dropdown. `e.preventDefault()` is now called on the enter key when a dropdown item is already selected. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 07 Oct, 2016 8 commits
-
-
Robert Speicher authored
According to https://gitlab.com/gitlab-org/gitlab-ce/issues/23034#note_16586657, each test for this helper generated 1,833 queries. Now we only generate stubbed records, and only as many as we need for each test. This also corrects a slight logic bug in the helper itself. When the number of awards was greater than the limit (9 by default), _and_ the current user was one of them, we actually included 10 names, including "You", plus the remaining count. Now we return the correct number regardless.
-
Paco Guzman authored
ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup We use Sidekiq::Client.push_bulk to avoid Redis round trips
-
Stan Hu authored
!6678 removed the lease from Event#reset_project_activity, but it wasn't actually updating the project's last_activity_at timestamp properly. The WHERE clause would always return no matching projects. The spec passed occasionally because the created_at timestamp was automatically set to last_activity_at.
-
dev-chris authored
+ Don't expose all whitelisted domains
-
Nick Thomas authored
This commit alters views for the following models to use the markdown cache if present: * AbuseReport * Appearance * ApplicationSetting * BroadcastMessage * Group * Issue * Label * MergeRequest * Milestone * Project At the same time, calls to `escape_once` have been moved into the `single_line` Banzai pipeline, so they can't be missed out by accident and the work is done at save, rather than render, time.
-
Nick Thomas authored
Truncato is introduced as a dependency to intelligently shorten the rendered HTML to 200 characters; the previous approach could have resulted in invalid HTML being rendered.
-
Nick Thomas authored
-
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.
-
- 06 Oct, 2016 30 commits
-
-
Achilleas Pipinellis authored
-
victorwu416 authored
-
Stan Hu authored
The Sortable concern has a default scope that adds ORDER BY to all queries. EXPLAIN ANALYZE shows that this additional ORDER BY statement causes the SQL optimizer to use the wrong index, which leads to a load time of 2.9 s vs 0.073 ms just for the SELECT call. The minimal change here is to re-implement find_by using where and reorder to remove the ORDER BY clause in IssuesController#index. Closes #23075
-
Filipa Lacerda authored
-
Filipa Lacerda authored
-
tauriedavis authored
-
Filipa Lacerda authored
Adds tests for: - external_url link in environmnets list - must show deployment internal id in environments list - must show build name and id in environments list
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Akram FARES authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Justin DiPierro authored
-
Annabel Dunstone Gray authored
-
Filipa Lacerda authored
-
Bryce Johnson authored
-
Bryce Johnson authored
-
Phil Hughes authored
-
Douglas Barbosa Alexandre authored
-
Filipa Lacerda authored
-
Filipa Lacerda authored
-
Filipa Lacerda authored
-
Filipa Lacerda authored
Removes 'hidden-xs' class from user_avatar helper in order for it to be visible in environments list. Allows a class as an option to keep the hidden avatar behaviour in all the places it is needed.
-
Phil Hughes authored
Added validation so the user shouldnt be able to submit the form without the title present
-
Phil Hughes authored
Stop issue being dragged if it doesn't have an ID
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
Phil Hughes authored
This is because contributors can't create issues with labels
-
Phil Hughes authored
-
Phil Hughes authored
Changed how the data is passed into Vue resource
-
Phil Hughes authored
Added for attribute to title label
-
Phil Hughes authored
-
Phil Hughes authored
This was causing issues with moving from the done list
-