Commit Graph

84 Commits

Author SHA1 Message Date
GitLab Bot 0b194c4854 Add latest changes from gitlab-org/gitlab@master 2021-07-14 12:09:23 +00:00
GitLab Bot cb0a625459 Add latest changes from gitlab-org/gitlab@master 2021-06-18 21:10:06 +00:00
GitLab Bot c8cc2fe990 Add latest changes from gitlab-org/gitlab@master 2021-06-18 15:10:16 +00:00
GitLab Bot bd1e3cbdeb Add latest changes from gitlab-org/gitlab@master 2021-06-08 03:10:25 +00:00
GitLab Bot 57f6fa3cd7 Add latest changes from gitlab-org/gitlab@master 2021-02-22 18:10:55 +00:00
GitLab Bot 6965dc27dc Add latest changes from gitlab-org/gitlab@master 2021-01-12 03:10:47 +00:00
GitLab Bot 9517d0eb2c Add latest changes from gitlab-org/gitlab@master 2020-11-11 12:09:06 +00:00
GitLab Bot 6035fcc36e Add latest changes from gitlab-org/gitlab@master 2020-10-14 09:08:46 +00:00
GitLab Bot dd240e5cc4 Add latest changes from gitlab-org/gitlab@master 2020-09-30 15:09:46 +00:00
GitLab Bot 4fa04f789e Add latest changes from gitlab-org/gitlab@master 2020-09-02 12:10:35 +00:00
GitLab Bot 57ac0bc8f7 Add latest changes from gitlab-org/gitlab@master 2020-09-01 00:10:35 +00:00
GitLab Bot 27622f7417 Add latest changes from gitlab-org/gitlab@master 2020-08-24 15:10:11 +00:00
GitLab Bot 3825437c53 Add latest changes from gitlab-org/gitlab@master 2020-08-13 21:10:04 +00:00
GitLab Bot 5edd0d173f Add latest changes from gitlab-org/gitlab@master 2020-08-07 18:09:53 +00:00
GitLab Bot 4c5468b408 Add latest changes from gitlab-org/gitlab@master 2020-06-24 15:08:50 +00:00
GitLab Bot 018431c70e Add latest changes from gitlab-org/gitlab@master 2020-06-11 15:08:36 +00:00
GitLab Bot ea335f33ff Add latest changes from gitlab-org/gitlab@master 2020-05-26 21:07:45 +00:00
GitLab Bot dc889678d1 Add latest changes from gitlab-org/gitlab@master 2020-03-12 15:09:39 +00:00
GitLab Bot 561e1b470f Add latest changes from gitlab-org/gitlab@master 2020-03-02 21:08:01 +00:00
GitLab Bot 47d1f417f0 Add latest changes from gitlab-org/gitlab@master 2020-02-13 00:08:46 +00:00
GitLab Bot 7cdd70dcec Add latest changes from gitlab-org/gitlab@master 2019-11-28 15:06:57 +00:00
GitLab Bot b3e4ec8e8a Add latest changes from gitlab-org/gitlab@master 2019-10-23 09:06:03 +00:00
Brett Walker 3489dc3d72 Allow disabling group/project email notifications
- Adds UI to configure in group and project settings
- Removes notification configuration for users when
disabled at group or project level
2019-08-15 17:37:36 +00:00
Aleksei Lipniagov 3c25e8734f Fix :wiki_can_not_be_created_total counter 2019-08-09 17:52:38 +03:00
Vladimir Shushlin 0e62440722 Fix factory default for pages_access_level
Pages access level currently depends on project visibilty
which is ignored by factory, this commit fixes that
2019-07-17 19:52:03 +00:00
Felipe Artur be33946819 Delete unauthorized Todos when project is private
Delete Todos for guest users when project visibility
level is updated to private.
2019-06-05 10:51:52 -03:00
Heinrich Lee Yu 0e2aaeb83b Fix project auto dev ops failure 2019-04-23 08:31:23 +08:00
Thong Kuah 85b29c1c2f Add frozen_string_literal to spec/services
Probably useful as we often move these files to "new" files.
2019-04-12 10:14:54 +12:00
Imre Farkas 9bc5ed14fe Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE 2019-04-09 15:38:58 +00:00
Andreas Brandl 46b1b9c1d6 Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"
This reverts merge request !26823
2019-04-05 13:02:56 +00:00
Imre Farkas d9d7237d2e Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE 2019-04-05 11:45:47 +00:00
Stan Hu 82b6e5378a Send project name with Gitaly repository requests
When hashed storage is in use, it's helpful to have the project
name associated with the request.

Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
2019-02-05 21:33:09 -08:00
Felipe Artur 1653f7b1c6 Delete confidential issue todos for guests
Fix leaking information of confidential issues on TODOs
when user is downgraded to guest access.
2018-12-14 10:38:52 -02:00
Tuomo Ala-Vannesluoma c84b60b164 Make GitLab pages support access control 2018-10-05 13:41:11 +00:00
Gabriel Mazetto 7b7969bf15 Rename feature flag to skip_hashed_storage_upgrade to be less confusing 2018-08-22 05:41:15 +02:00
Gabriel Mazetto 61c35b6ca1 Fixed `stub_feature_flag behavior` for `disabled?` flags.
Previous code would not work with `disabled?` because that method would
send two parameters (second always `nil`) which we are not mocking.

Instead of mock yet another state, I decide to fix it where it belongs.
2018-08-22 05:41:15 +02:00
Gabriel Mazetto a440c2be01 Add FeatureFlag to disable hashed storage migration when renaming
We usually want a feature flag to be disabled by default and
hide the feature until it's enabled.

This is an unconventional use: when the flag is enabled, it will
"DISABLE" the behavior.
2018-08-22 05:41:15 +02:00
Valery Sizov 10df0eb7cb Resolve "Hashed storage: extend "Enable hashed storage for all new projects" to "for all new and renamed projects"" 2018-08-03 14:34:28 +00:00
Jarka Kadlecová bdc8396e25 Remove todos when project feature visibility changes 2018-07-31 12:32:08 +02:00
Jarka Kadlecová 501fb04ec6 Delete todos when users loses target read permissions 2018-07-30 13:29:18 +02:00
Jacob Vosmaer (GitLab) a0808df0b6 Find and mark more Git disk access locations 2018-06-05 15:51:14 +00:00
Matija Čupić aac8d1f336
Add check for nil auto_devops in Projects::UpdateService 2018-05-28 21:10:51 +02:00
Zeger-Jan van de Weg ec4423665c
Gitlab::Shell works on shard name, not path
Direct disk access is done through Gitaly now, so the legacy path was
deprecated. This path was used in Gitlab::Shell however. This required
the refactoring in this commit.

Added is the removal of direct path access on the project model, as that
lookup wasn't needed anymore is most cases.

Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-04-25 13:36:22 +02:00
Nick Thomas 457a99c612 Merge branch 'pages_force_https' into 'master'
HTTPS only Pages

Closes #28857

See merge request gitlab-org/gitlab-ce!16273
2018-03-23 15:48:28 +00:00
Sean McGivern bb9d360c0a Merge branch 'mark-legacy-git-access' into 'master'
Route path lookups through legacy_disk_path

See merge request gitlab-org/gitlab-ce!17743
2018-03-23 10:20:45 +00:00
Rob Watson 9d45951fca Add HTTPS-only pages
Closes #28857
2018-03-22 19:58:36 +01:00
Jacob Vosmaer 008a6a6ce6 Route path lookups through legacy_disk_path 2018-03-21 18:18:32 +01:00
Zeger-Jan van de Weg 77f0906e4c
Change Gitlab::Shell#add_namespace to #create_namespace
Prior to this change, this method was called add_namespace, which broke
the CRUD convention and made it harder to grep for what I was looking
for. Given the change was a find and replace kind of fix, this was
changed without opening an issue and on another feature branch.

If more dynamic calls are made to add_namespace, these could've been
missed which might lead to incorrect bahaviour. However, going through
the commit log it seems thats not the case.
2018-03-14 09:56:22 +01:00
Stan Hu 9c8e9046c7 Fix Error 500 when updating a project
If no parameters were specified for project features but Wikis were disabled,
we would get "NoMethodError: undefined method `[]' for nil:NilClass".

Closes #44019
2018-03-08 07:03:53 -08:00
Valery Sizov 86de1e291c Add spec to prove that we don't create wiki when we update project's name 2018-02-28 12:06:51 +02:00