GitLab Bot
04cc87ee46
Add latest changes from gitlab-org/gitlab@master
2023-06-13 21:09:09 +00:00
GitLab Bot
4720346c2e
Add latest changes from gitlab-org/gitlab@master
2023-04-24 12:08:36 +00:00
GitLab Bot
f00510286b
Add latest changes from gitlab-org/gitlab@master
2023-04-04 12:15:02 +00:00
GitLab Bot
960d1d4c59
Add latest changes from gitlab-org/gitlab@master
2020-10-09 15:09:18 +00:00
GitLab Bot
4c5468b408
Add latest changes from gitlab-org/gitlab@master
2020-06-24 15:08:50 +00:00
GitLab Bot
e5731d5194
Add latest changes from gitlab-org/gitlab@master
2020-05-15 09:07:59 +00:00
GitLab Bot
d74fcc9b69
Add latest changes from gitlab-org/gitlab@master
2020-04-02 21:07:51 +00:00
GitLab Bot
2fd92f2dc7
Add latest changes from gitlab-org/gitlab@master
2020-03-04 21:07:54 +00:00
GitLab Bot
94be244a9f
Add latest changes from gitlab-org/gitlab@master
2019-10-15 03:06:19 +00:00
GitLab Bot
427b23c127
Add latest changes from gitlab-org/gitlab@master
2019-10-03 00:05:59 +00:00
Heinrich Lee Yu
76b0518f33
Use #filename when generating upload URLs
...
We don't need to find the filename from the remote URL
2019-07-04 03:46:26 +08:00
Rémy Coutable
3a2abc1d50
Enable the Layout/ExtraSpacing cop
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24 13:05:45 +01:00
Michael Kozono
d2d85c31fe
Avoid extra storage bucket perm and query
...
Specifically, the `ListAllMyBuckets` permission.
This works if you know the directory exists.
See more:
* https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23981
* https://stackoverflow.com/a/12288581/1992201
2018-12-21 10:34:05 -08:00
Jarka Košanová
4af1712d01
Extract code from Issues::MoveService
...
Extract code to make it easier reusable
- introduce AttributesRewriter and ContentRewriter
- support group entites when rewriting content
- make Uploader copy_to working for Namespaces
2018-11-12 08:57:25 +01:00
Jan Provaznik
bc999d5320
Fix filename for accelerated uploads
2018-07-18 14:21:32 +00:00
James Lopez
07ec2c7bd0
use fileuploader dynamic path method in uploads manager and add spec
2018-07-13 16:13:13 +02:00
Stan Hu
1181cf336f
Fix minor spec review comments in uploader specs
2018-07-03 09:57:15 -07:00
Micaël Bergeron
cebdd267e6
add support for file copy on object storage
2018-07-03 09:57:15 -07:00
Robert Speicher
6d165c740c
Make all uses of `fixture_file_upload` use relative paths
2018-06-07 09:54:41 -05:00
Sean McGivern
2387ef2b4a
Merge branch 'poc-upload-hashing-path' into 'master'
...
File uploads on objects storage should use hashed storage
Closes #4952
See merge request gitlab-org/gitlab-ee!4597
2018-03-08 09:25:56 -05:00
Micaël Bergeron
b03b31659b
fixing some broken merges
2018-03-02 16:19:17 -05:00
Micaël Bergeron
0f1d348d68
port the object storage to CE
2018-03-01 10:34:30 -05:00
Kamil Trzciński
a2f375e8f7
Merge remote-tracking branch 'origin/master' into object-storage-ee-to-ce-backport
2018-02-28 21:28:43 +01:00
Kamil Trzciński
79a5e7fb53
Merge commit '7e424eb852716495073881710e8a8851b4a4cd5a' into object-storage-ee-to-ce-backport
2018-02-28 21:14:25 +01:00
Sean McGivern
a7dae52e9d
Merge branch '4163-move-uploads-to-object-storage' into 'master'
...
Move uploads to object storage
Closes #4163
See merge request gitlab-org/gitlab-ee!3867
2018-02-28 20:58:15 +01:00
Nick Thomas
6b0c6e69e1
Use hashed storage in the specs
2018-02-07 13:40:46 +00:00
Micaël Bergeron
939391af7b
improvements from feedback
2018-02-06 08:48:56 -05:00
Micaël Bergeron
d84650917a
remove file after `Upload#destroy`
...
it will also automatically prune empty directories for
`FileUploader`-based uploaders.
2018-02-06 08:48:35 -05:00
Micaël Bergeron
ce84d18353
apply fixes from feedback
2018-02-02 09:32:20 -05:00
Micaël Bergeron
74ddc80590
add the uploader context to the upload model
2018-02-02 09:28:15 -05:00
Micaël Bergeron
2057a6acde
port of 594e6a0a625^..f74c90f68c6
2018-02-01 12:14:46 -05:00
Takuya Noguchi
2b6307f6ad
Enable RuboCop Style/RegexpLiteral
2018-02-01 02:06:07 +09:00
Gabriel Mazetto
d087b4dac4
FileUploader should check for hashed_storage?(:attachments) to use disk_path
2017-11-21 18:38:25 +01:00
Gabriel Mazetto
c06eb779a3
Use the Hashed Storage compatible layer to store Attachments
2017-10-30 14:30:41 +01:00
Robert Speicher
72a7b30c9f
Change all `:empty_project` to `:project`
2017-08-02 17:47:31 -04:00
Robert Speicher
9513bd18c4
Ensure all project factories use `:repository` trait or `:empty_project`
2017-08-01 14:51:52 -04:00
DJ Mountney
1d1363e2bb
Bring in security changes from the 9.2.5 release
...
Ran:
- git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch
- git checkout -b 9-2-5-security-patch origin/v9.2.2
- git apply patchfile.patch
- git commit
- [Got the sha ref for the commit]
- git checkout -b upstream-9-2-security master
- git cherry-pick <SHA of the patchfile commit>
- [Resolved conflicts]
- git cherry-pick --continue
2017-06-07 21:16:20 -07:00
Robert Speicher
5c41338fa3
Handle relative and absolute Upload paths in the Uploaders
2017-03-06 14:41:10 -05:00
Robert Speicher
3a0be1c5fc
Add `RecordsUploads` module to record Upload records via callbacks
2017-03-06 14:41:09 -05:00
Robert Speicher
a8c62dfe5c
Minor refactoring of Uploaders
...
- Moves a duplicate `file_storage?` definition into the common
`GitlabUploader` ancestor.
- Get the `uploads` base directory from a class method rather than
hard-coding it where it's needed. This will be used in a subsequent MR
to store Uploads in the database.
- Improves the specs for uploaders.
2017-02-24 16:41:27 -05:00
Jacob Vosmaer
0406a3579f
Don't delete files from spec/fixtures
2017-01-03 15:37:32 +01:00
Jacob Vosmaer
6731ab5d76
Add Gitlab::Middleware::Multipart
2016-12-15 12:26:36 +01:00
Rémy Coutable
6b7e9c7655
Remove VideoJS and clean the integration
...
Handle videos in:
- MD preview in notes: commit, issue/MR, MR diff
- New notes in: commit, issue/MR, MR diff
- Persisted notes in: commit, issue/MR, MR diff
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-20 11:36:42 +02:00
Eric Hayes
c266c7fa18
First support of videos in issues, MRs and notes
...
* Registered video MIME types
* Currently supporting browser-supported formats with extensions that match the mime type
2016-07-19 18:51:09 +02:00