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/lib
AgeCommit message (Collapse)Author
2018-04-12Merge branch 'dm-archived-read-only' into 'master'Robert Speicher
Make archived projects completely read-only Closes #44788 See merge request gitlab-org/gitlab-ce!18136
2018-04-12Merge branch ↵Douwe Maan
'backport-of-rd-3429-enabling-maximum-file-size-limit-in-repository-causes-pushes-to-fail' into 'master' Backport of EE !4989 See merge request gitlab-org/gitlab-ce!18238
2018-04-12Merge branch 'rendering-markdown-multiple-projects' into 'master'Douwe Maan
Optimise rendering of Markdown documents that belong to different projects See merge request gitlab-org/gitlab-ce!18157
2018-04-12Merge branch 'fix/gb/fix-pipeline-statuses-illustrations' into 'master'Marin Jankovski
Fix empty state for build that does not have a trace Closes #45204 See merge request gitlab-org/gitlab-ce!18278
2018-04-12Backport of EE !4989Rubén Dávila
2018-04-11Merge branch 'fix/wiki-find-file-gitaly' into 'master'Robert Speicher
Fix finding wiki file when Gitaly is enabled Closes gitaly#1126 See merge request gitlab-org/gitlab-ce!18317
2018-04-11Fix finding wiki file when Gitaly is enabledAhmad Sherif
Fixes gitaly#1126
2018-04-11Merge branch 'zj-info-attributes' into 'master'Douwe Maan
Client implementation for InfoAttributes See merge request gitlab-org/gitlab-ce!18261
2018-04-11Merge branch '45159-fix-illustration' into 'master'Grzegorz Bizon
Resolve "Illustration for the case where the job has finished and the log was erased" Closes #45159 See merge request gitlab-org/gitlab-ce!18253
2018-04-11Client implementation for InfoAttributesZeger-Jan van de Weg
Clients can now request the attributes from `$GIT_DIR/info/attributes` through Gitaly. The Gitaly migration is described in gitlab-org/gitaly#1082. The parser algorithm was implemented in a way it could handle both file contents or a File handle, and both were already tested. Other than that, using the boy scout rule, I've removed a class, InfoAttributes, as it was delegating everything to the parser and therefor wasn't really needed in my opinion.
2018-04-11Support Markdown rendering using multiple projectsYorick Peterse
This refactors the Markdown pipeline so it supports the rendering of multiple documents that may belong to different projects. An example of where this happens is when displaying the event feed of a group. In this case we retrieve events for all projects in the group. Previously we would group events per project and render these chunks separately, but this would result in many SQL queries being executed. By extending the Markdown pipeline to support this out of the box we can drastically reduce the number of SQL queries. To achieve this we introduce a new object to the pipeline: Banzai::RenderContext. This object simply wraps two other objects: an optional Project instance, and an optional User instance. On its own this wouldn't be very helpful, but a RenderContext can also be used to associate HTML documents with specific Project instances. This work is done in Banzai::ObjectRenderer and allows us to reuse as many queries (and results) as possible.
2018-04-11Merge branch '37721-clean-outdated-flaky-specs-from-the-flaky-specs-report' ↵Grzegorz Bizon
into 'master' Resolve "Clean outdated flaky specs from the flaky specs report" Closes #37721 See merge request gitlab-org/gitlab-ce!18196
2018-04-11Merge branch 'zj-branch-containing-sha-opt-out' into 'master'Rémy Coutable
Branch with a commit detection defaults to Gitaly See merge request gitlab-org/gitlab-ce!18304
2018-04-11Merge branch 'zj-tag-containing-sha-opt-out' into 'master'Rémy Coutable
Tag with a commit detection defaults to Gitaly See merge request gitlab-org/gitlab-ce!18305
2018-04-11Add a test for job empty state with missing traceGrzegorz Bizon
2018-04-11Revert adding `Empty` extended status to avoid N+1 queriesGrzegorz Bizon
2018-04-11Extend specs for detailed build extended statusesGrzegorz Bizon
2018-04-11Fix empty state for build that doesn ot have a traceGrzegorz Bizon
It also adds a fallback that covers other edge cases that might surface later.
2018-04-11Correct permissions for creating merge requests from issuesBob Van Landuyt
This could only be possible for users that can create merge requests within a project. So they need to be a allowed to create a branch and create a merge request.
2018-04-11Fix file-specific variables collection item optionGrzegorz Bizon
2018-04-11Tag with a commit detection defaults to GitalyZeger-Jan van de Weg
By default this was an OPT_IN RPC, and now graduates to OPT_OUT as the acceptance testing was successful in: gitaly#1009 This follows the conventions of our [migration process](https://gitlab.com/gitlab-org/gitaly/blob/master/doc/MIGRATION_PROCESS.md)
2018-04-11Branch with a commit detection defaults to GitalyZeger-Jan van de Weg
By default this was an OPT_IN RPC, and now graduates to OPT_OUT as the acceptance testing was successful in: https://gitlab.com/gitlab-org/gitaly/issues/1008 This follows the conventions of our [migration process](https://gitlab.com/gitlab-org/gitaly/blob/master/doc/MIGRATION_PROCESS.md)
2018-04-10Rename delete_protected_branch ability to push_to_delete_protected_branch to ↵Douwe Maan
prevent confusion with destroy_protected_branch
2018-04-10Improve the architecture of RspecFlaky classes by introducing a new ↵Rémy Coutable
RspecFlaky::Report class Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-10Introduce RspecFlaky::ExamplesPruner to prune old flaky examplesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-09Merge branch 'feature/add_target_to_tags' into 'master'Robert Speicher
Expose the target commit ID through the tag API See merge request gitlab-org/gitlab-ce!18248
2018-04-09Fixes illustration for when job log was erasedFilipa Lacerda
2018-04-09Make email handler clearerRiccardo Padovani
2018-04-09Merge branch 'zj-find-license-opt-out' into 'master'Grzegorz Bizon
Move FindLicense RPC to OPT OUT status See merge request gitlab-org/gitlab-ce!18228
2018-04-08Expose the target commit ID through the tag APIAndrew Beresford
This is useful for annotated tags, where the deferenced target is not the same as the tag object. At the moment there is no way to differentiate the two through the tag API. This change adds a "target" property and leaves the existing "commit" property alone so that existing behaviour is not altered.
2018-04-08Projects and groups badges settings UIFrancisco Javier López
2018-04-07Use proper auth_scope for deploy tokenKamil Trzciński
2018-04-07Handle limit for datetime attributes on MySQLMayra Cabrera
The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC. A Forever lib class was included to handle future dates for PostgreSQL and MySQL, also changes were made to DeployToken to enforce Forever.date Also removes extra conditional from JwtController
2018-04-07Increase test suite around deploy tokens behaviorMayra Cabrera
Also, fixes broken specs
2018-04-07Fixes broken schema and minor changesMayra Cabrera
2018-04-07Include ProjectDeployTokensMayra Cabrera
Also: - Changes scopes from serializer to use boolean columns - Fixes broken specs
2018-04-07Support Deploy Tokens properly without hacking abilitiesKamil Trzciński
2018-04-07Addreses backend review suggestionsMayra Cabrera
- Remove extra method for authorize_admin_project - Ensure project presence - Rename 'read_repo' to 'read_repository' to be more verbose
2018-04-07Removes logic from Jwt and handle different scenarios on Gitlab::AuthMayra Cabrera
- When using 'read_repo' password and project are sent, so we used both of them to fetch for the token - When using 'read_registry' only the password is sent, so we only use that for fetching the token
2018-04-07Implement 'read_repo' for DeployTokensMayra Cabrera
This will allow to download a repo using the token from the DeployToken
2018-04-07Merge branch '42568-pipeline-empty-state' into 'master'Kamil Trzciński
Resolve "Wrong empty state for cancelled build, hides existing logs!" Closes #42568 See merge request gitlab-org/gitlab-ce!17646
2018-04-07Merge branch 'da-gitaly-calculate-repository-checksum' into 'master'Stan Hu
Repository checksum calculation is handled by Gitaly when feature is enabled See merge request gitlab-org/gitlab-ce!18210
2018-04-06Merge branch '17939-osw-patch-support-gfm' into 'master'Sean McGivern
Add support for patch link extension for commit links on GFM Closes #17939 See merge request gitlab-org/gitlab-ce!18229
2018-04-06Merge branch 'fix-500-error-when-mr-ref-is-not-yet-fetched' into 'master'Rémy Coutable
Fix 500 error when MR from fork has conflicts but worker has not run See merge request gitlab-org/gitlab-ce!18226
2018-04-06Move checksum calculation to Gitlab::Git::RepositoryDouglas Barbosa Alexandre
2018-04-06Checksum calculation is handled by Gitaly when feature is enabledDouglas Barbosa Alexandre
2018-04-06Add calculate_checksum method to the Gitaly repository clientDouglas Barbosa Alexandre
2018-04-06Add support for patch link extension for commit links on GFMOswaldo Ferreira
2018-04-06Merge branch 'sh-add-cleanup-rpc-gitaly' into 'master'Sean McGivern
Automatically cleanup stale worktrees and lock files upon a push Closes #44115 See merge request gitlab-org/gitlab-ce!18095
2018-04-06Extend API for importing a project export with overwrite supportFrancisco Javier López