Commit graph

17 commits

Author SHA1 Message Date
GitLab Bot
0c3f121493 Add latest changes from gitlab-org/gitlab@master 2019-11-11 21:06:20 +00:00
Mayra Cabrera
0ab89d8e36 Add a rubocop for Rails.logger
Suggests to use a JSON structured log instead

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-10 19:26:47 +00:00
gfyoung
7ec8af5017 Enable even more frozen string for lib/gitlab
Enables frozen string for the following:

* lib/gitlab/hook_data/**/*.rb
* lib/gitlab/i18n/**/*.rb
* lib/gitlab/import/**/*.rb
* lib/gitlab/import_export/**/*.rb
* lib/gitlab/kubernetes/**/*.rb
* lib/gitlab/legacy_github_import/**/*.rb
* lib/gitlab/manifest_import/**/*.rb
* lib/gitlab/metrics/**/*.rb
* lib/gitlab/middleware/**/*.rb

Partially addresses gitlab-org/gitlab-ce#47424.
2018-11-16 17:41:14 -08:00
James Lopez
27442862cf
refactor code based on feedback 2018-09-07 13:42:49 +02:00
James Lopez
a2aa505805
Refactor code to remove object storage flag from Import/Export
Updated docs, refactor import/export code
Fix AvatarUploader path issue
Fix project export upload webhook error
2018-09-06 16:52:42 +02:00
James Lopez
a2bf164154
Update Import/Export to use object storage (based on aa feature flag) 2018-07-06 15:46:18 +02:00
James Lopez
532a0b6018 Merge branch 'fix/import-rce-10-3' into 'security-10-3'
[10.3] Fix RCE via project import mechanism

See merge request gitlab/gitlabhq!2294

(cherry picked from commit dcfec507d6f9ee119d65a832393e7c593af1d3b2)

86d75812 Fix RCE via project import mechanism
2018-01-16 17:04:51 -08:00
James Lopez
65549a5866 add project name and namespace to filename on project export
added changelog
2016-07-15 12:55:28 +02:00
James Lopez
91a183bc57 fix log statements in import/export 2016-07-07 09:49:46 +02:00
James Lopez
95f630daeb even more debug 2016-07-06 10:29:31 +02:00
James Lopez
25a1c6541a add message to notes about missing author on import 2016-05-13 12:33:13 +02:00
James Lopez
cffae0d22e fixing more export problems 2016-05-11 14:51:25 +02:00
James Lopez
49e6fc40b9 fix bad refactor 2016-05-11 13:17:49 +02:00
James Lopez
a5d59f075a added better error handling. Also refactored some of the code and fixed a few issues in project_tree_saver 2016-05-10 17:15:20 +02:00
James Lopez
58b0b1a661 picking export stuff from the UI branch 2016-05-03 11:13:10 +02:00
James Lopez
4256743686 refactored path stuff 2016-04-22 12:18:11 +02:00
James Lopez
0852f539aa refactored stuff, added a save and compress all class and moved mostly everything to lib 2016-04-14 16:57:25 +02:00