summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactor Blob support of external storage in preparation of job artifact blobsdm-blob-external-storageDouwe Maan2017-05-031-2/+10
|
* Merge branch 'fix-gitaly-not-found' into 'master' Douwe Maan2017-05-022-34/+32
|\ | | | | | | | | Re-enable ref operations with gitaly after not-found fix See merge request !10773
| * Re-enable ref operations with gitaly after not-found fixfix-gitaly-not-foundAlejandro Rodríguez2017-05-022-34/+32
| |
* | Merge branch '30272-bvl-reject-more-namespaces' into 'master' Douwe Maan2017-05-0210-20/+404
|\ \ | | | | | | | | | | | | | | | | | | Reject more reserved paths Closes #30272 See merge request !10413
| * | Update commentsBob Van Landuyt2017-05-021-0/+8
| | |
| * | Reuse Gitlab::Regex.full_namespace_regex in the DynamicPathValidatorBob Van Landuyt2017-05-021-0/+4
| | |
| * | Rename child namespaces in migrationhelpersBob Van Landuyt2017-05-012-2/+7
| | |
| * | Clear html cache for a projects milestonesBob Van Landuyt2017-05-011-0/+4
| | |
| * | Remove dependecy on `User`Bob Van Landuyt2017-05-011-20/+0
| | |
| * | Move ReservedPathsMigration into V1 namespaceBob Van Landuyt2017-05-0110-352/+362
| | |
| * | Minor style adjustmentsBob Van Landuyt2017-05-013-7/+6
| | |
| * | Clear cached markdown after renaming projectsBob Van Landuyt2017-05-013-3/+24
| | |
| * | Rename Projects & Namespaces based on entire pathsBob Van Landuyt2017-05-013-8/+13
| | |
| * | The dynamic path validator can block out partial pathsBob Van Landuyt2017-05-012-2/+2
| | | | | | | | | | | | So we can block `objects` only when it is contained in `info/lfs` or `gitlab-lfs`
| * | Use objects for renaming namespaces and projectsBob Van Landuyt2017-05-015-100/+119
| | |
| * | Rename projects in a migrationhelperBob Van Landuyt2017-05-013-23/+74
| | |
| * | Make renaming records in the database reusableBob Van Landuyt2017-05-013-48/+71
| | | | | | | | | | | | So we can use it for projects
| * | Rename namespace-paths in a migration helperBob Van Landuyt2017-05-013-0/+232
| | |
| * | Move `replace_sql` into `Database::MigrationHelpers`Bob Van Landuyt2017-05-011-0/+23
| | |
| * | Rename `NamespaceValidator` to `DynamicPathValidator`Bob Van Landuyt2017-05-013-3/+3
| | | | | | | | | | | | This reflects better that it validates paths instead of a namespace model
| * | Use the namespace validator for validating all pathsBob Van Landuyt2017-05-011-1/+1
| | | | | | | | | | | | | | | Since the namespacevalidator now knows the difference between a top-level and another path, this could all be handled there.
| * | Streamline the path validation in groups & projectsBob Van Landuyt2017-05-012-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Project` uses `ProjectPathValidator` which is now a `NamespaceValidator` that skips the format validation. That way we're sure we are using the same collection of reserved paths. I updated the path constraints to reflect the changes: We now allow some values that are only used on a top level namespace as a name for a nested group/project.
* | | #31560 Add repo parameter to gitaly:install and workhorse:installMike Ricketts2017-05-022-6/+6
| |/ |/|
* | Merge branch 'gitaly-branch-tag-count' into 'master' Sean McGivern2017-05-022-6/+31
|\ \ | | | | | | | | | | | | | | | | | | Use Gitaly for getting Branch/Tag counts Closes gitaly#157 See merge request !10780
| * | Use Gitaly for getting Branch/Tag countsKim "BKC" Carlbäcker2017-04-282-6/+31
| | | | | | | | | | | | | | | | | | - Backup-rake-spec fixed. Storage config broken - Use rugged to compare branch/tag-count in specs - upgrade gitaly
* | | Merge branch '26488-target-disabled-mr' into 'master' Sean McGivern2017-05-022-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix 404 when upstream disabled merge requests Closes #26488 See merge request !10427
| * | | Fix 404 when upstream has disabled merge requestsmhasbini2017-04-272-0/+4
| | | |
* | | | Merge branch 'dont-blow-up-when-email-has-no-references-header' into 'master' Douwe Maan2017-05-011-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't blow up when email has no References header Closes gitlab-ee#2247 See merge request !11014
| * | | | Don't blow up when email has no References headerdont-blow-up-when-email-has-no-references-headerSean McGivern2017-05-011-0/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | If an email doesn't match our incoming email patterns on the To header, we fall back to the References header. If there was no References header, we'd raise an exception, when we'd be better off acting as if it was empty.
| * | | Revert "Merge branch 'tc-no-todo-service-select' into 'master'"revert-c3c465acStan Hu2017-04-292-4/+4
| | | | | | | | | | | | This reverts merge request !10845
| * | | Merge branch 'tc-no-todo-service-select' into 'master' Robert Speicher2017-04-282-4/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid plucking Todo ids in TodoService Closes #30374 See merge request !10845
| | * | | Avoid plucking Todo ids and use sub-queries insteadtc-no-todo-service-selectToon Claes2017-04-272-4/+4
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids
* | | | Merge branch ↵Douwe Maan2017-05-011-3/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '28968-revert-allow-people-with-merge-access-to-create-branches' into 'master' Prevent people from creating branches if they don't have persmission to push Closes #28968 See merge request !10983
| * | | | Prevent people from creating branches if they don't have persmission to pushPawel Chojnacki2017-04-281-3/+1
| | |_|/ | |/| |
* | | | Fix Gitaly::Commit#is_ancestor30586-fix-gitaly-is-ancestorKim "BKC" Carlbäcker2017-04-282-13/+22
| |/ / |/| | | | | | | | - Upgrade Gitaly-version
* | | Merge branch 'grpc-fork-tests' into 'master' 24339-job-page-step-2Sean McGivern2017-04-281-1/+1
|\ \ \ | |/ / |/| | | | | | | | Unicorn worker termination tests See merge request !10818
| * | Add test that asserts unicorns terminateJacob Vosmaer2017-04-261-1/+1
| | |
* | | Merge branch 'dm-blob-viewers' into 'master' Tim Zallmann2017-04-281-4/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Refactor rich blob viewers and add Code|Rendered switch Closes #24287 See merge request !10566
| * | | Small code tweaksDouwe Maan2017-04-271-4/+0
| | | |
* | | | Merge branch '31138-improve-test-settings-for-services-in-empty-projects' ↵Douwe Maan2017-04-271-5/+4
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into 'master' improves test settings for chat notification services for empty projects Closes #31138 See merge request !10886
| * | | improves test settings for chat notification services for empty projects31138-improve-test-settings-for-services-in-empty-projectsTiago Botelho2017-04-271-5/+4
| | | |
* | | | Merge branch '30973-fix-network-graph-ordering' into 'master' Douwe Maan2017-04-271-6/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ordering of commits in the network graph. Closes #30973 See merge request !10936
| * | | | Fix ordering of commits in the network graph.Timothy Andrew2017-04-271-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - We upgraded `rugged` to 0.25.1.1 in !10286 for %9.1 - Prior to this upgrade, the default sort order for commits returned by `Gitlab::Git::Repository#find_commits` was `Rugged::SORT_DATE`, which the graph relied on. - While upgrading `rugged`, the MR also changed this default to `Rugged::SORT_NONE`, which broke commit ordering in the graph. - This commit adds an option to `Gitlab::Git::Repository#find_commits` to sort by date, and changes the graph builder `Network::Graph` so it explictly requests the `:date` sort order
* | | | | Merge branch '26585-remove-readme-view-caching' into 'master' Douwe Maan2017-04-272-25/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove view fragment caching for project READMEs Closes #26585 and #29594 See merge request !8838
| * | | | | Remove unused optional parameter `asciidoc_opts`Toon Claes2017-04-271-8/+4
| | | | | |
| * | | | | Refactor MarkupHelperDouwe Maan2017-04-272-14/+2
| | | | | |
| * | | | | Cache the rendered README, but post-process on showToon Claes2017-04-272-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the post-processing of the rendered README is dependent on the context (i.e. the current user), do the post-processing when the README is being displayed.
* | | | | | Merge branch '29505-allow-admins-sudo-to-blocked-users' into 'master' Rémy Coutable2017-04-271-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | Allow admins to sudo to blocked users See merge request !10842
| * | | | | Allow admins to sudo to blocked users.29505-allow-admins-sudo-to-blocked-usersTimothy Andrew2017-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Currently, (for example) admins can't delete snippets for blocked users, which is an unexpected limitation. - We modify `authenticate!` to conduct the `access_api` policy check against the `initial_current_user`, instead of the user being impersonated. - Update CHANGELOG for !10842
* | | | | | Merge branch 'blackst0ne/gitlab-ce-fix_emoji_parser'Sean McGivern2017-04-271-1/+4
|\ \ \ \ \ \