- 17 May, 2019 1 commit
-
-
Stan Hu authored
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
-
- 16 May, 2019 39 commits
-
-
Fatih Acet authored
Use process timer for jest timeout testing See merge request gitlab-org/gitlab-ce!28209
-
Douglas Barbosa Alexandre authored
Upgrade gitlab-shell to 9.2.0 See merge request gitlab-org/gitlab-ce!28372
-
Douglas Barbosa Alexandre authored
Add haml-lint.yml to FE for roulette See merge request gitlab-org/gitlab-ce!28301
-
Stan Hu authored
Main change is to bump .ruby-version to 2.6.3 so versions are consistent for the GDK.
-
Phil Hughes authored
Resolve CE/EE diffs in admin user access levels Closes gitlab-ee#10507 See merge request gitlab-org/gitlab-ce!28359
-
Phil Hughes authored
Resolve CE/EE diffs in mirror repos settings Closes gitlab-ee#11036 See merge request gitlab-org/gitlab-ce!28361
-
Phil Hughes authored
Explain render_if_exists opts caveat See merge request gitlab-org/gitlab-ce!28366
-
Sean McGivern authored
Document what to do if review jobs keep failing See merge request gitlab-org/gitlab-ce!28367
-
Sean McGivern authored
CE backport of "Configure the number of ES shards and replicas" See merge request gitlab-org/gitlab-ce!28329
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Lin Jen-Shin authored
Omit max-count for diverging_commit_counts behind feature flag See merge request gitlab-org/gitlab-ce!28157
-
Filipa Lacerda authored
Changed the placeholder text of the diff tree filter input Closes #58339 See merge request gitlab-org/gitlab-ce!28352
-
Luke Bennett authored
-
Sean McGivern authored
Disallow the review-deploy and review-qa-smoke jobs to fail See merge request gitlab-org/gitlab-ce!28314
-
Nick Thomas authored
-
Nick Thomas authored
Add :registrations_recaptcha feature flag Closes gitlab-ee#11389 See merge request gitlab-org/gitlab-ce!28296
-
Stan Hu authored
Fix. db:migrate is failed on MySQL 8 See merge request gitlab-org/gitlab-ce!28351
-
Stan Hu authored
Resolve "Error 500 viewing admin/projects page: undefined method `storage_size' for nil:NilClass" Closes #49915 See merge request gitlab-org/gitlab-ce!28355
-
Phil Hughes authored
Explain `render_if_exists` relative path See merge request gitlab-org/gitlab-ce!28356
-
Phil Hughes authored
Resolve CE/EE diffs in _flash_messages Closes gitlab-ee#11037 See merge request gitlab-org/gitlab-ce!28333
-
Luke Bennett authored
Part of single codebase changes.
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Luke Bennett authored
Part of single codebase changes.
-
Rémy Coutable authored
Update Rubocop to 0.69.0 and other gems See merge request gitlab-org/gitlab-ce!28345
-
Luke Bennett authored
-
Phil Hughes authored
Fixes style-lint issues for blocks.scss Closes #59838 See merge request gitlab-org/gitlab-ce!28251
-
Phil Hughes authored
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58339
-
Luke Bennett authored
Allows instance owners to toggle the recaptcha requirement on the user registration page by feature flag. Allows GitLab Growth team to measure reCAPTCHA's impact on registrations.
-
Rémy Coutable authored
Include MR information if possible when emailing notification of closing an issue Closes #19569 See merge request gitlab-org/gitlab-ce!15610
-
Michał Zając authored
-
Rémy Coutable authored
CE backport of "Fix a broken spec for EE" See merge request gitlab-org/gitlab-ce!28357
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Nick Thomas authored
-
Luke Bennett authored
Part of single codebase changes.
-
Filipa Lacerda authored
Fixes issues with show whitespace button in diffs Closes #42597 and #58852 See merge request gitlab-org/gitlab-ce!28242
-
sue445 authored
``` StandardError: An error has occurred, all later migrations canceled: Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'system = true AND note LIKE '\_%\_'' at line 1: UPDATE notes SET note = trim(both '_' from note) WHERE system = true AND note LIKE '\_%\_' ```
-
Nick Thomas authored
Add Let's Encrypt client See merge request gitlab-org/gitlab-ce!27624
-
Vladimir Shushlin authored
Part of adding Let's Encrypt certificates for pages domains Add acme-client gem Client is being initialized by private key stored in secrets.yml Let's Encrypt account is being created lazily. If it's already created, Acme::Client just gets account_kid by calling new_account method Make Let's Encrypt client an instance Wrap order and challenge classes
-
Nick Thomas authored
Properly clear the merge error upon rebase failure Closes #56139 See merge request gitlab-org/gitlab-ce!28319
-