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-05-31Add changelog for protected branches abilities fixGrzegorz Bizon
2017-05-31Merge branch 'enable-gitaly-receive-pack' into 'master'Rémy Coutable
Allow PostReceivePack to be enabled with Gitaly Closes gitaly#246 See merge request !11809
2017-05-31Ask for an example project for bug reportsMark Fletcher
* Bugs reported in the GitLab Issue trackers should be reproducible * Asking reporters to reproduce on GitLab.com is reasonable * It lets us know whether the issue still exists in latest * It ensures that the steps to reproduce are solid * It gives Developers a live example to work from * Reporter can verify the fix in the example project once shipped [skip ci]
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-31Merge branch 'dm-oauth-config-for' into 'master'Rémy Coutable
Return nil when looking up config for unknown LDAP provider Closes #29342 See merge request !11804
2017-05-31Merge branch 'revert-5b67839b' into 'master'Sean McGivern
Revert "Merge branch 'grpc-1.3.4' into 'master'" See merge request !11813
2017-05-31Fix chat commands specs related to protected actionsGrzegorz Bizon
2017-05-31Fix builds controller specs related to protected actionsGrzegorz Bizon
2017-05-31Fix pipeline retry specs related to protected actionsGrzegorz Bizon
2017-05-31Fix environment model specs related to protected actionsGrzegorz Bizon
2017-05-31Fix build factory specs related to protected actionsGrzegorz Bizon
2017-05-31Fix job play service specs related to protected actionsGrzegorz Bizon
2017-05-31Fix play status specs related to protected actionsGrzegorz Bizon
2017-05-31Fix deploy chat command specs for protected actionsGrzegorz Bizon
2017-05-31Fix environment specs related to protected actionsGrzegorz Bizon
2017-05-31Use another scope to add the - prefix, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11407#note_30922591
2017-05-31Fix pipeline processing specs related to protected actionsGrzegorz Bizon
2017-05-31Fix build entity specs related to protected actionsGrzegorz Bizon
2017-05-31Check only a merge ability for protected actionsGrzegorz Bizon
2017-05-31Revert "Merge branch 'grpc-1.3.4' into 'master'"Jacob Vosmaer (GitLab)
This reverts merge request !11645
2017-05-31Add tag_list param to project apivanadium23
2017-05-31Fix Diff#too_large? and specsDouwe Maan
2017-05-31Allow PostReceivePack to be enabled with GitalyAlejandro Rodríguez
2017-05-31Return nil when looking up config for unknown LDAP providerDouwe Maan
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-31Make .gitmodules parsing more resilient to syntax errorsDouwe Maan
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-30Use helper to construct Finder paramsToon Claes
The ProjectsFinder and GroupFinder both support the same set of params. And the `/api/v4/projects` and `/api/v4/group/:id/projects` also support the same set of params. But they do not match the Finder params. So use a helper method to transform them.
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-30Use ProjectFinder to filter the projectsToon Claes
Instead of trying to do the heavy lifting in the API itself, use the existing features of the ProjectFinder.
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-30Handle `membership` in ProjectFinderToon Claes
The ProjectFinder supports the `non_public` parameter. This can be used to find only projects the user is member of.
2017-05-30Build options hash after finding the list of projectsToon Claes
Because this order makes more sense and makes the code easier to read.
2017-05-30Move ProjectsFinder to `present_projects` for simplificationToon Claes
To avoid passing parameters double, move all filtering to the `present_projects` helper.
2017-05-30Copy `filter_projects` helper to V3Toon Claes
The helper will be modified in V4, so copy the original to V4 to keep the current behavior in V3.
2017-05-30Fix Diff#to_hash and #init_from_hashDouwe Maan
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-30Merge branch 'gitaly-opt-out' into 'master'Rémy Coutable
Enable Gitaly by default in GitLab 9.3 Closes gitaly#242 See merge request !11796
2017-05-30Use update_pipeline_scheduleShinya Maeda
2017-05-30Merge branch 'bvl-fix-encoding-errors-when-validating-paths' into 'master'Douwe Maan
Avoid crash when trying to parse string with invalid UTF-8 sequence See merge request !11770
2017-05-30Avoid crash when trying to parse string with invalid UTF-8 sequenceBob Van Landuyt
2017-05-30added testsPhil Hughes
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