Commit Graph

26 Commits

Author SHA1 Message Date
GitLab Bot cba9857205 Add latest changes from gitlab-org/gitlab@master 2021-07-28 03:08:41 +00:00
GitLab Bot 7e5b78ee03 Add latest changes from gitlab-org/gitlab@master 2021-07-21 12:09:35 +00:00
GitLab Bot 119f0431e4 Add latest changes from gitlab-org/gitlab@master 2021-05-03 09:10:02 +00:00
GitLab Bot 1d3a583ac1 Add latest changes from gitlab-org/gitlab@master 2020-10-07 15:08:40 +00:00
GitLab Bot 0ca5c1a237 Add latest changes from gitlab-org/gitlab@master 2020-07-29 18:09:50 +00:00
GitLab Bot 3ef9553486 Add latest changes from gitlab-org/gitlab@master 2020-06-12 12:08:56 +00:00
GitLab Bot 33795139ea Add latest changes from gitlab-org/gitlab@master 2020-02-19 18:09:10 +00:00
GitLab Bot 25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +00:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
gfyoung dfbe5ce435 Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
Shinya Maeda 1c931f0784 Rework to minimize changes 2018-03-06 16:53:24 +09:00
🙈 jacopo beschi 🙉 729f05f0e3 Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
Douwe Maan b1849ee2e6 Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
Douwe Maan 0b15570e49 Add ApplicationWorker and make every worker include it 2017-12-05 11:59:39 +01:00
Brian Neel 9770c57fab Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
Kamil Trzcinski 5f7257c27d Initial work on GitLab Pages update 2017-01-31 22:53:57 +00:00
Kamil Trzcinski 6e70870a2e Move most of PagesWorker logic UpdatePagesService 2017-01-31 22:53:57 +00:00
Kamil Trzcinski e9e8a2f608 Asynchronously remove pages 2017-01-31 22:53:56 +00:00
Kamil Trzcinski 2c2447771f Rename pages namespace or project path when changed
- Move UploadsTransfer to ProjectTransfer and inherit from this to UploadsTransfer and PagesTransfer
2017-01-31 22:53:56 +00:00
Kamil Trzcinski 4afab3d4b6 Revert "Store pages in shared/pages/fqdn/fqdn/public or shared/pages/fqdn/subpath/public - makes it simpler to implement CNAMEs in future"
This reverts commit 86a2a78f0d13a678899460638add6b862059433e.
2017-01-31 22:53:55 +00:00
Kamil Trzcinski 94fdf58a87 Store pages in shared/pages/fqdn/fqdn/public or shared/pages/fqdn/subpath/public - makes it simpler to implement CNAMEs in future 2017-01-31 22:53:55 +00:00
Kamil Trzcinski 35dd2e1283 Fix tests 2017-01-31 22:50:40 +00:00
Kamil Trzcinski d28f1a7f4a Split PagesWorker 2017-01-31 22:50:40 +00:00
Kamil Trzcinski ac09f857cd Remove locking and add force to FileUtils methods 2017-01-31 22:50:40 +00:00
Kamil Trzcinski 732a821d4f Fix specs 2017-01-31 22:50:40 +00:00
Kamil Trzcinski 120f9abaa1 Add GitLab Pages
- The pages are created when build artifacts for `pages` job are uploaded
- Pages serve the content under: http://group.pages.domain.com/project
- Pages can be used to serve the group page, special project named as host: group.pages.domain.com
- User can provide own 403 and 404 error pages by creating 403.html and 404.html in group page project
- Pages can be explicitly removed from the project by clicking Remove Pages in Project Settings
- The size of pages is limited by Application Setting: max pages size, which limits the maximum size of unpacked archive (default: 100MB)
- The public/ is extracted from artifacts and content is served as static pages
- Pages asynchronous worker use `dd` to limit the unpacked tar size
- Pages needs to be explicitly enabled and domain needs to be specified in gitlab.yml
- Pages are part of backups
- Pages notify the deployment status using Commit Status API
- Pages use a new sidekiq queue: pages
- Pages use a separate nginx config which needs to be explicitly added
2017-01-31 22:50:39 +00:00