Commit graph

17 commits

Author SHA1 Message Date
James Lopez
401a3bca40
Fix import_jid error on project import 2019-02-14 09:29:42 +01:00
James Lopez
57f082d969
Fix path disclosure on Project Import 2019-01-31 16:51:16 +01: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
Francisco Javier López
22b05a1ff7 Extend API for exporting a project with direct upload URL 2018-03-30 15:45:59 +00:00
Travis Miller
0d8aadeb9d eliminate need or opts argument in shared object 2018-02-28 20:47:37 -06:00
Travis Miller
737b7e3e7d review: normalize shared initizlier arguments 2018-02-28 20:47:37 -06:00
Travis Miller
c75187df8c Add project export API implementation 2018-02-28 20:47:36 -06:00
James Lopez
41a14498c7
update code based on feedback 2018-01-26 15:26:27 +01:00
James Lopez
865bb64a06
disable retry attempts for Import/Export until that is fixed 2018-01-26 15:26:26 +01: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
8ff9fc55cf some more refactoring 2017-09-05 17:47:45 +02:00
Grzegorz Bizon
9e211091a8 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
James Lopez
41c06c311b refactoring more things based on MR feedback 2016-06-02 14:44:59 +02:00
James Lopez
25a1c6541a add message to notes about missing author on import 2016-05-13 12:33:13 +02:00
James Lopez
a61456e44e refactored import to use shared error stuff and fixed a few issues with recent refactorings 2016-05-11 17:22:45 +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
0852f539aa refactored stuff, added a save and compress all class and moved mostly everything to lib 2016-04-14 16:57:25 +02:00
Renamed from app/services/projects/import_export/shared.rb (Browse further)