Commit Graph

54 Commits

Author SHA1 Message Date
GitLab Bot c1ea2a9164 Add latest changes from gitlab-org/gitlab@master 2021-05-19 21:12:42 +00:00
GitLab Bot 0ae8428c8e Add latest changes from gitlab-org/gitlab@master 2021-05-11 21:10:21 +00:00
GitLab Bot 7b2635a55d Add latest changes from gitlab-org/gitlab@master 2020-12-01 12:09:17 +00:00
GitLab Bot c19dce027b Add latest changes from gitlab-org/gitlab@master 2020-11-13 21:09:31 +00:00
GitLab Bot 4fd77e112f Add latest changes from gitlab-org/gitlab@master 2020-11-05 00:09:16 +00:00
GitLab Bot d9b44a6bb1 Add latest changes from gitlab-org/gitlab@master 2020-10-21 09:08:50 +00:00
GitLab Bot ae93b28401 Add latest changes from gitlab-org/gitlab@master 2020-04-14 21:09:52 +00:00
GitLab Bot 97f0ae7454 Add latest changes from gitlab-org/gitlab@master 2020-04-14 09:09:34 +00:00
GitLab Bot 495c22d124 Add latest changes from gitlab-org/gitlab@master 2020-04-06 18:09:37 +00:00
GitLab Bot 53b1f4eaa2 Add latest changes from gitlab-org/gitlab@master 2020-04-02 15:08:01 +00:00
GitLab Bot 3cd08f4bf9 Add latest changes from gitlab-org/gitlab@master 2020-03-13 00:09:34 +00:00
GitLab Bot 77237c5a6b Add latest changes from gitlab-org/gitlab@master 2020-03-05 00:07:49 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
dineshpanda e908e11776 Avoid calling freeze on already frozen strings in lib/gitlab 2019-09-04 09:52:02 +05:30
Alexandru Croitor 5af535d919 Limit the size of issuable description and comments
Limiting the size of issuable description and comments to 1_000_000,
which is close to ~1MB of ASCII characters, which represents 99.9% of
all descriptions and comments we have in DB at the moment. This should
help prevent DoS attacks when comments contain refference strings.

Also this change updates regexp matching the namespaces paths by
limiting the namespaces paths to Namespace::NUMBER_OF_ANCESTORS_ALLOWED,
as we allow 20 levels deep groups.

see https://gitlab.com/gitlab-org/gitlab-ce/issues/61974#note_191274234
2019-08-22 10:43:13 +03:00
Luke Duncalfe 634a03bf60 Redirect project.wiki.git to project wiki home
https://gitlab.com/gitlab-org/gitlab-ce/issues/19186
2019-07-26 11:49:36 +12:00
Dmitriy Zaporozhets 9be95e2b2f
Remove deprecated /u/:username routes
Also release `u` from TOP_LEVEL_ROUTES

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-06-26 09:18:13 +03:00
Sarah Groff Hennigh-Palermo 9377eb1822 Build visual_review_toolbar with webpack
It takes a lot of lines to move a script
2019-05-29 20:24:15 +00:00
Sarah Groff Hennigh-Palermo b8b1b02994 Add new version of script
More aligned design. More functionality.
2019-05-17 15:01:01 +00:00
Dmitriy Zaporozhets 9f3f45bfb0 Add v2 to reserved top level routes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-04-04 13:04:03 +03:00
Heinrich Lee Yu 219d24fe52
Fix slow project reference pattern regex 2019-01-31 16:51:16 +01:00
George Tsiolis 733ae94921 Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
gfyoung c858f70d07 Enable frozen string for lib/gitlab/*.rb 2018-10-22 07:00:50 +00:00
Stan Hu 656831e173 Remove Koding integration and documentation
This integration no longer works and does not appear to be supported.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
2018-10-12 22:18:51 -07:00
Mario de la Ossa bf3d1900cb
Backport of gitlab-org/gitlab-ee!6876 2018-08-20 22:20:41 -06:00
Douwe Maan 2a402a3e50
Redirect favicon.(png|ico) to actual favicon asset or upload 2018-06-18 12:27:00 +02:00
Alexis Reigel 949c30d42b
remove all .ico favicon variations, use png always
the ci status icons are generated client side, wo we don't need the
static files anymore.
2018-06-05 16:20:22 +02:00
Douwe Maan c51eb79bbe Merge branch 'master' into '26388-push-to-create-a-new-project'
# Conflicts:
#   lib/gitlab/path_regex.rb
2018-02-06 19:14:43 +00:00
Douwe Maan a03d29da1d Validate User username only on Namespace, and bubble up appropriately 2018-02-06 12:09:03 -06:00
Tiago Botelho 1e56b3f476 Moves project creationg to git access check for git push 2018-02-06 16:52:29 +00:00
Tiago Botelho dc229c076c Abstracts ProjectMoved and ProjectCreated into a BaseProject 2018-02-06 13:35:35 +00:00
Tiago Botelho e42a548f1d Move new project on push logic to a service 2018-02-06 13:35:35 +00:00
Nick Thomas 11d0787961
Speed up Unicorn specs by using a dummy Rack application instead of GitLab 2017-11-22 19:51:57 +00:00
Bob Van Landuyt 9b0899cb80 Remove EE-specific group paths 2017-11-07 19:52:10 +01:00
Bob Van Landuyt 58d1d6a5c7 Free up some group reserved words 2017-11-07 19:52:09 +01:00
Bob Van Landuyt 5dde0536c3 Free up `avatar`, `group_members` and `milestones` as paths 2017-11-07 19:52:09 +01:00
Bob Van Landuyt 5d14337baf Free up `labels` as a group name 2017-11-07 19:52:09 +01:00
Douwe Maan 79e889122b Merge branch 'bvl-group-trees' into 'master'
Show collapsible tree on the project show page

Closes #30343

See merge request gitlab-org/gitlab-ce!14055
2017-10-17 10:03:03 +00:00
Valery Sizov 4f76a2e573 Remove boards from the list of reserved top paths 2017-10-13 11:28:56 +03:00
Shinya Maeda 1f14e9c2bc Remove unnecessary TOLLEVEL routes from path_regex.rb 2017-10-11 16:36:59 +09:00
Bob Van Landuyt 741fb49378 Merge branch 'master' into bvl-group-trees 2017-10-10 17:53:42 +02:00
Bob Van Landuyt 80780018a9 Update `children` route to handle projects and groups 2017-10-04 22:46:49 +02:00
Shinya Maeda 20abcbffae Add google_api to TOP_LEVEL_ROUTES. Import/Export model failure fix. Fix static analysys. 2017-10-04 16:04:45 +09:00
Felipe Artur f5bb1789ee Fix specs BACKPORT 2017-09-04 16:55:29 -03:00
Bob Van Landuyt bf114b3111 Add contents of `public` as forbidden top-level routes 2017-07-25 09:18:54 +02:00
Bob Van Landuyt 1dcf799c76 Remove a bunch of reserved top level routes
These don't seem to be used anywhere, so can be removed.
2017-07-25 09:18:54 +02:00
Bob Van Landuyt 6f26f6f79f Allow groups with the name system 2017-07-18 16:23:38 +02:00
Shinya Maeda d228662fb7 Add dash for GROUP_ROUTES 2017-07-07 15:35:12 +09:00
Shinya Maeda f8a2f6f115 Wrap additional routes by dash(-). And remove those routes from path_regex.rb. 2017-07-07 15:35:12 +09:00
Shinya Maeda 5b0954759c Basic BE change
Fix static-snalysis

Move the precedence of group secure variable before project secure variable. Allow project_id to be null.

Separate Ci::VariableProject and Ci::VariableGroup

Add the forgotton files

Add migration file to update type of ci_variables

Fix form_for fpr VariableProject

Fix test

Change the table structure according to the yorik advice

Add necessary migration files. Remove unnecessary migration spec.

Revert safe_model_attributes.yml

Fix models

Fix spec

Avoid self.variable. Use becomes for correct routing.

Use unique index on group_id and key

Add null: false for t.timestamps

Fix schema version

Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable

Rename the rest of them

Add the rest of files

Basic BE change

Fix static-snalysis

Move the precedence of group secure variable before project secure variable. Allow project_id to be null.

Separate Ci::VariableProject and Ci::VariableGroup

Add the forgotton files

Add migration file to update type of ci_variables

Fix form_for fpr VariableProject

Fix test

Change the table structure according to the yorik advice

Add necessary migration files. Remove unnecessary migration spec.

Revert safe_model_attributes.yml

Fix models

Fix spec

Avoid self.variable. Use becomes for correct routing.

Use unique index on group_id and key

Add null: false for t.timestamps

Fix schema version

Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable

Rename the rest of them

Add the rest of files

Implement CURD

Rename codes related to VariableGroup and VariableProject FE part

Remove unneccesary changes

Make Fe code up-to-date

Add protected flag to migration file

Protected group variables essential package

Update schema

Improve doc

Fix logic and spec for models

Fix logic and spec for controllers

 Fix logic and spec for views(pre feature)

Add feature spec

Fixed bugs. placeholder. reveal button. doc.

Add changelog

Remove unnecessary comment

godfat nice catches

Improve secret_variables_for arctecture

Fix spec

Fix StaticAnlysys & path_regex spec

Revert "Improve secret_variables_for arctecture"

This reverts commit c3216ca212322ecf6ca534cb12ce75811a4e77f1.

Use ayufan suggestion for secret_variables_for

Use find instead of find_by

Fix spec message for variable is invalid

Fix spec remove variable.group_id = group.id

godffat spec nitpicks

Use include Gitlab::Routing.url_helpers for presenter spec
2017-07-07 15:33:17 +09:00