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
path: root/app
AgeCommit message (Collapse)Author
2017-06-01Merge branch 'document-not-using-serialize' into 'master'Douwe Maan
Document not using ActiveRecord's serialize method See merge request !11821
2017-06-01Merge branch 'fix-n-plus-one-queries-for-user-access' into 'master'Yorick Peterse
Fix N+1 queries for non-members in comment threads See merge request !11827
2017-06-01Merge branch ↵Rémy Coutable
'31602-display-whether-shared-runner-is-enabled-in-the-admin-dashboard' into 'master' Display Shared Runner status in Admin Dashboard Closes #31602 See merge request !11783
2017-06-01Merge branch 'fix_diff_line_comments' into 'master'Sean McGivern
Fix: A diff comment on a change at last line of a file shows as two comments in discussion Closes #32353 See merge request !11802
2017-06-01Merge branch 'notebook-katex-fixes' into 'master'Filipa Lacerda
Fixes multi-line math in notebooks Closes #30900 and #33074 See merge request !11789
2017-06-01Fix N+1 queries for non-members in comment threadsSean McGivern
When getting the max member access for a group of users, we stored the results in RequestStore. However, this will only return results for project members, so anyone who wasn't a member of the project would be checked once at the start, and then once for each comment they made. These queries are generally quite fast, but no query is faster!
2017-06-01Merge branch 'dm-collapsed-blob' into 'master'Sean McGivern
Consistent diff and blob size limit names See merge request !11776
2017-06-01Merge branch 'dm-emails-are-not-user-references' into 'master'Sean McGivern
Don't match email addresses or foo@bar as user references See merge request !11837
2017-06-01Merge branch 'dm-discussions-n-plus-1' into 'master'Sean McGivern
Resolve N+1 query issue with discussions Closes #33013 See merge request !11775
2017-06-01Don't match email addresses or foo@bar as user referencesDouwe Maan
2017-06-01Merge branch 'master' into 'trigger-source'Grzegorz Bizon
# Conflicts: # db/schema.rb
2017-05-31Display Shared Runner status in Admin Dashboardvanadium23
2017-05-31Merge branch 'rename-builds-controller' into 'master'Kamil Trzciński
Rename BuildsController to JobsController Closes #30699 See merge request !11407
2017-05-31Move includes call to scopeDouwe Maan
2017-05-31Merge branch 'task-list-2' into 'master'Filipa Lacerda
Update task_list to version 2.0.0 Closes #22470 See merge request !11525
2017-05-31Merge branch 'issue-edit-inline' into 'master'Filipa Lacerda
Issue inline editing Closes #24873 See merge request !11322
2017-05-31Merge branch 'user-callout-dismissed-method-rename' into 'master'Douwe Maan
Fixed the show_user_callout method See merge request !11689
2017-05-31Fix: A diff comment on a change at last line of a file shows as two comments ↵Valery Sizov
in discussion
2017-05-31Ui improvements for count badges and permission badgesDimitrie Hoekstra
2017-05-31Merge remote-tracking branch 'upstream/master' into rename-builds-controllerLin Jen-Shin
* upstream/master: (63 commits) Update docs related to protected actions Add changelog for protected branches abilities fix Ask for an example project for bug reports Center loading spinner in issuable filters Fix chat commands specs related to protected actions Fix builds controller specs related to protected actions Fix pipeline retry specs related to protected actions Fix environment model specs related to protected actions Fix build factory specs related to protected actions Fix job play service specs related to protected actions Fix play status specs related to protected actions Fix deploy chat command specs for protected actions Fix environment specs related to protected actions Fix pipeline processing specs related to protected actions Fix build entity specs related to protected actions Check only a merge ability for protected actions Add tag_list param to project api Allow PostReceivePack to be enabled with Gitaly Remove some deprecated methods Add :owned param to ProjectFinder ...
2017-05-31Merge branch 'tc-improve-project-api-perf' into 'master'Douwe Maan
Improve /project API performance Closes #31855 and #31937 See merge request !11666
2017-05-31Merge branch 'winh-filter-dropdown-spinner' into 'master'Annabel Dunstone Gray
Center loading spinner in issuable filters Closes #33137 See merge request !11818
2017-05-31Merge branch 'fix/gb/use-merge-ability-for-protected-manual-actions' into ↵Kamil Trzciński
'master' Check only a merge ability for protected actions Closes #32618 See merge request !11648
2017-05-31Introduce source to pipeline entityKamil Trzcinski
2017-05-31Added Cop to blacklist the use of serializeYorick Peterse
This Cop blacklists the use of ActiveRecord's "serialize" method, except for cases where we already use this.
2017-05-31Merge branch '30892-add-api-support-for-pipeline-schedule' into 'master'Kamil Trzciński
Add API support for pipeline schedule Closes #30892 See merge request !11307
2017-05-31Merge remote-tracking branch 'upstream/master' into rename-builds-controllerLin Jen-Shin
* upstream/master: (116 commits) Revert "Merge branch 'grpc-1.3.4' into 'master'" Return nil when looking up config for unknown LDAP provider Avoid crash when trying to parse string with invalid UTF-8 sequence Enable Gitaly by default in GitLab 9.3 Don’t create comment on JIRA if link already exists Disable sub_group_issuables_spec.rb for mysql Fix math rendering on blob pages Add changelog Don't allow to pass a user to ProjectWiki#http_url_to_repo Revert "Merge branch '1937-https-clone-url-username' into 'master' " Fix bottom padding for build page Fix /unsubscribe slash command creating extra todos Fix omniauth-google-oauth2 dependencies in Gemfile.lock Update looks job log 'New issue'/'New merge request' dropdowns should show only projects with issues/merge requests feature enabled Fix spec for Members::AuthorizedDestroyService 31616-add-uptime-of-gitlab-instance-in-admin-area Set head pipeline when creating merge requests Create a separate helper to check if we show particular tab on a search page Add performance deltas between app deployments on Merge Request widget ...
2017-05-31Center loading spinner in issuable filterswinh
2017-05-31Fix environment specs related to protected actionsGrzegorz Bizon
2017-05-31Check only a merge ability for protected actionsGrzegorz Bizon
2017-05-31Remove some deprecated methodsToon Claes
To avoid the use of slow queries, remove some deprecated methods and encourage the use of ProjectFinder to find projects.
2017-05-30Add :owned param to ProjectFinderToon Claes
And use it in the API.
2017-05-30Make it possible to combine :trending with other paramsToon Claes
Now it is possible to combine the :non_public parameter. This might be useful when a user wants to know the trending projects they are member of.
2017-05-30UNION of SELECT/WHERE is faster than WHERE on UNIONToon Claes
Instead of applying WHERE on a UNION, apply the WHERE on each of the seperate SELECT statements, and do UNION on that. Local tests with about 2_000_000 projects: - 1_500_000 private projects - 40_000 internal projects - 400_000 public projects For the API endpoint `/api/v4/projects?visibility=private` the slowest query was: ```sql SELECT "projects".* FROM "projects" WHERE ... ``` The original query took 1073.8ms. The query refactored to UNION of SELECT/WHERE took 2.3ms. The original query was: ```sql SELECT "projects".* FROM "projects" WHERE "projects"."pending_delete" = $1 AND (projects.id IN (SELECT "projects"."id" FROM "projects" INNER JOIN "project_authorizations" ON "projects"."id" = "project_authorizations"."project_id" WHERE "projects"."pending_delete" = 'f' AND "project_authorizations"."user_id" = 23 UNION SELECT "projects"."id" FROM "projects" WHERE "projects"."visibility_level" IN (20, 10))) AND "projects"."visibility_level" = $2 AND "projects"."archived" = $3 ORDER BY "projects"."created_at" DESC LIMIT 20 OFFSET 0 [["pending_delete", "f"], ["visibility_level", 0], ["archived", "f"]] ``` The refactored query: ```sql SELECT "projects".* FROM "projects" WHERE "projects"."pending_delete" = $1 AND (projects.id IN (SELECT "projects"."id" FROM "projects" INNER JOIN "project_authorizations" ON "projects"."id" = "project_authorizations"."project_id" WHERE "projects"."pending_delete" = 'f' AND "project_authorizations"."user_id" = 23 AND "projects"."visibility_level" = 0 AND "projects"."archived" = 'f' UNION SELECT "projects"."id" FROM "projects" WHERE "projects"."visibility_level" IN (20, 10) AND "projects"."visibility_level" = 0 AND "projects"."archived" = 'f')) ORDER BY "projects"."created_at" DESC LIMIT 20 OFFSET 0 [["pending_delete", "f"]] ```
2017-05-30Change ProjectFinder so starred can be combined with other filtersToon Claes
The `starred` parameter couldn't be used in combination with `trending` or `non_public`. But this is changed now.
2017-05-30Add starred_by scope to ProjectToon Claes
Add a scope to search for the projects that are starred by a certain user.
2017-05-30Merge branch '30410-revert-9347-and-10079' into 'master'Douwe Maan
Resolve "Allow to disable username on checkout url" Closes #30410 and #30174 See merge request !11792
2017-05-30Merge branch '30502-fix-bottom-padding-job-page' into 'master'Annabel Dunstone Gray
Remove extra bottom padding on Job log page Closes #30502 See merge request !11791
2017-05-30Avoid crash when trying to parse string with invalid UTF-8 sequenceBob Van Landuyt
2017-05-30fixed inline mathPhil Hughes
2017-05-30fixed spacing before inline mathPhil Hughes
2017-05-30fixed spacing because of removed &Phil Hughes
2017-05-30fixed & being renderedPhil Hughes
2017-05-30Fixes multi-line math in notebooksPhil Hughes
Closes #30900
2017-05-30Merge branch '25373-jira-links' into 'master'Rémy Coutable
Don’t create comment on JIRA if link already exists Closes #25373 See merge request !11485
2017-05-30Define last_pipeline in PipelineScheduleEntityShinya Maeda
2017-05-30Remove bang from update!Shinya Maeda
2017-05-30Add own! method on PipleineScheduleShinya Maeda
2017-05-30Add API support for pipeline scheduleShinya Maeda
2017-05-30Merge branch 'back-port-locked-milestones-to-ce' into 'master'Phil Hughes
`canEdit` changes for conditional remove button on filtered search -- EE backport Closes gitlab-ee#2433 See merge request !11696