Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-24 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-09-18 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-09-16 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-09-16 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-08-28 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-08-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-08-07 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-08-05 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-07-08 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-07-03 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-05-22 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-05-15 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-05-04 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-21 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-15 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-14 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-09 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-04-03 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-27 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-26 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-24 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-18 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-16 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-12 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-03-05 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-25 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-12 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-04 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-01-29 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-01-03 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-10-18 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-10-03 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-09-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-09-04 | Remove unnecessary freeze in app | Dinesh Panda | |
2019-08-23 | Add direct upload support for personal snippets | Jan Provaznik | |
2019-07-26 | Merge branch 'security-60551-fix-upload-scope' into 'master' | GitLab Release Tools Bot | |
Queries for Upload should be scoped by model See merge request gitlab/gitlabhq!3229 | |||
2019-07-23 | Remove dead MySQL code | Nick Thomas | |
None of this code can be reached any more, so it can all be removed | |||
2019-07-11 | Queries for Upload should be scoped by model | Adam Hegyi | |
2019-07-10 | Add a rubocop for Rails.logger | Mayra Cabrera | |
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102 | |||
2019-07-03 | Use #filename when generating upload URLs | Heinrich Lee Yu | |
We don't need to find the filename from the remote URL | |||
2019-07-01 | Support object storage at FileMover class | Oswaldo Ferreira | |
2019-06-17 | Persist tmp snippet uploads | Oswaldo Ferreira | |
It persist temporary personal snippets under user/:id namespaces temporarily while creating a upload record to track it. If an user gets removed while it's still a tmp upload, it also gets removed. If the tmp upload is sent, the upload gets moved to personal_snippets/:id as before. The upload record also gets updated to the new model type as well. | |||
2019-05-31 | Remove legacy artifact related code | Shinya Maeda | |
We've already migrated all the legacy artifacts to the new realm, which is ci_job_artifacts table. It's time to remove the old code base that is no longer used. | |||
2019-05-17 | Fix incorrect prefix used in new uploads for personal snippets | Stan Hu | |
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24550 fixed the case where the wrong path on disk was being searched, but it inadvertently ommitted the `/uploads/-/system` prefix when rendering the Markdown for personal snippet uploads when they were stored directly in object storage. A personal snippet path is stored using FileUploader#upload_path. The format for the path: Local storage: :random_hex/:filename. Object storage: personal_snippet/:id/:random_hex/:filename. upload_paths represent the possible paths for a given identifier, which will vary depending on whether the file is stored in local or object storage. upload_path should match an element in upload_paths. base_dir represents the path seen by the user in Markdown, and it should always be prefixed with uploads/-/system. store_dirs represent the paths that are actually used on disk. For object storage, this should omit the prefix /uploads/-/system. For example, consider the requested path /uploads/-/system/personal_snippet/172/ff4ad5c2/file.png. For local storage: base_dir: uploads/-/system/personal_snippet/172 upload_path: ff4ad5c2/file.png upload_paths: ["ff4ad5c2/file.png", "personal_snippet/172/ff4ad5c2/file.png"]. store_dirs: {1=>"uploads/-/system/personal_snippet/172/ff4ad5c2", 2=>"personal_snippet/172/ff4ad5c2"} For object storage: upload_path: personal_snippet/172/ff4ad5c2/file.png Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61671 | |||
2019-05-14 | Optimise upload path calls | Sean McGivern | |
String#underscore isn't particularly slow, but it's possible for us to call it many times in a users autocomplete request, with mostly-static values ('User', 'Group', etc.). We can memoise this and save a surprising amount of time (around 10% of the total request time in some cases). | |||
2019-05-07 | Clean up CarrierWave's import/export files | Stan Hu | |
Unlike uploads that have been uploaded with Tempfile, the project import/export archives are stored in a temporary cache directory and remain there if: 1. Object storage is enabled 2. `move_to_store` is set to `true`. CarrierWave will leave these files there until disk space runs out or a clean step is run manually. If `move_to_store` is set to `false`, CarrierWave will remove the files after storing them. However, unlike a local file, with object storage, the file is still copied, so setting `move_to_store` to `true` doesn't buy us anything. To ensure files are cleaned up, we can just inherit from the GitlabUploader implementation of `move_to_store`, which returns `true` if it's a local file, `false` otherwise. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60656 | |||
2019-05-05 | Run rubocop -a on CE files | Stan Hu | |
2019-04-30 | Remove deprecated uses of attribute_changed? | Heinrich Lee Yu | |
Prepares us for upgrade to Rails 5.2 |