Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-08 | Use pages root directory from API | Janis Altherr | |
2023-05-08 | Upgrade golangci-lint to v1.52.2 on CI | Jaime Martinez | |
2023-04-12 | Update golangci-lint tool | Kassio Borges | |
2023-04-04 | Redirect to unique domain | Kassio Borges | |
2022-07-15 | Revert: open files lazily when serving content | Vladimir Shushlin | |
This reverts merge request https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/803 because it caused an incident when serving large compressed files Changelog: fixed | |||
2022-07-07 | Open files lazily when serving content | feistel | |
Changelog: performance | |||
2022-03-11 | Add correlation_id to all exception captures | Kassio Borges | |
2022-02-18 | refactor: use testhelpers.Close() | yigithankardas | |
2022-01-26 | Merge branch 'feat/errorlint' into 'master' | Jaime Martinez | |
build: enable errorlint and use modern error checking See merge request gitlab-org/gitlab-pages!648 | |||
2022-01-24 | test: replace tmpdir workaround with native T tmp | feistel | |
2022-01-24 | lint: fix errorlint issues | feistel | |
2022-01-20 | lint: solve internal/serving/disk/symlink linter issues | feistel | |
2022-01-19 | feat: switch to content negotiation library | feistel | |
Changelog: changed | |||
2021-12-24 | feat: enable Etag caching | Vladimir Shushlin | |
Changelog: added | |||
2021-12-16 | feat: implement ETag support for zip serving | feistel | |
Changelog: added | |||
2021-12-15 | feat: hide handling cache headers behind the faeture flag | Vladimir Shushlin | |
vfsServing.ServeCompressedFile logic is quite comples, and I'm afraid that we may handle something not the right way So I want to hide this behind the feature flag before cutting the release Changelog: fixed | |||
2021-12-14 | Merge branch 'remove/ff-enable-redirects' into 'master' | Vladimir Shushlin | |
refactor: remove FF_ENABLE_REDIRECTS feature flag Closes #618 See merge request gitlab-org/gitlab-pages!582 | |||
2021-12-14 | Merge branch 'fix/sha-lookups' into 'master' | Jaime Martinez | |
test: add sha256 to mocked lookups and fix tests See merge request gitlab-org/gitlab-pages!634 | |||
2021-12-08 | chore: fix linter issue | Jaime Martinez | |
2021-12-08 | chore: apply suggestion from review | Jaime Martinez | |
2021-12-08 | chore: fix lint issue | Jaime Martinez | |
2021-12-08 | fix: use if statement instead of switch | Jaime Martinez | |
2021-12-08 | refactor: handle error outside Root caller | Jaime Martinez | |
and pretend to serve content even if the request has been cancelled to prevent making extra operations if this happens early in the request chain. For example, if we know the request was cancelled there is no point in checking the redirects or the custom 404 file handler. | |||
2021-12-08 | fix(vfs): handle context.Canceled errors | Jaime Martinez | |
As not found resources to reduce the number of 500 errors reported in the logs and Sentry. Closes https://gitlab.com/gitlab-org/gitlab-pages/-/issues/669. Changelog: changed. | |||
2021-12-08 | lint: fix formatting errors | feistel | |
2021-12-08 | test: add sha256 to mocked lookups and fix tests | feistel | |
2021-12-07 | chore: upgrade to labkit 1.11.0 | Jaime Martinez | |
And report stack trace with error tracking to Sentry. Changelog: other | |||
2021-11-17 | Merge branch 'fix/native-fs-error' into 'master' | Jaime Martinez | |
refactor: remove vfs.ErrNotExist and switch to go native fs error See merge request gitlab-org/gitlab-pages!569 | |||
2021-11-16 | feat: handle extra headers when serving from compressed zip archive | feistel | |
Related to https://gitlab.com/gitlab-org/gitlab-pages/-/issues/466 Changelog: added | |||
2021-11-11 | refactor: remove vfs.ErrNotExist and switch to go native fs error | feistel | |
2021-11-08 | style: uppercase sha256 | feistel | |
SHA is an initialism. See https://github.com/golang/go/wiki/CodeReviewComments#initialisms | |||
2021-11-08 | refactor: read and use file_sha256 as cache key for zip VFS | feistel | |
Now that the Rails API is serving the archive file_sha256 in the lookup response, we can move away from using the base URL as the key to cache the archive. Changelog: change | |||
2021-09-16 | refactor: remove FF_ENABLE_REDIRECTS feature flag | feistel | |
2021-09-09 | refactor: avoid os.Is.. in favor of errors.Is | feistel | |
2021-09-09 | refactor: move away from ioutil (deprecated) | feistel | |
2021-09-02 | refactor: replace magic numbers with http status codes | feistel | |
2021-08-25 | chore: process the first 1000 rules only | Jaime Martinez | |
2021-08-20 | Splat and placeholder support in _redirects | Nathan Friend | |
This commit adds support for Netlify-style splats (*) and :placeholders in the _redirects file. Changelog: added | |||
2021-05-20 | Remove serverless code from Pages | feistel | |
2021-04-22 | Follow error strings convention | feistel | |
2021-03-01 | Use actual structs in Config struct instead of pointers to them | Balasankar "Balu" C | |
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org> | |||
2021-02-08 | Add test for file outside allowedPaths | Jaime Martinez | |
(cherry picked from commit b519027459919125c5227fcb60519bdd18b4c780) | |||
2021-02-08 | Refactor http client usage in httprage | Jaime Martinez | |
Moves the http.Client initialization inside the `httprange` package to the zip VFS. This makes the type `Resource` depend on an http.Client that needs to be passed on initialization. It also makes the zip VFS initialize the client. It's possible to reconfigure it to register a file protocol by calling vfs.Reconfigure explicitly. | |||
2021-01-04 | Fix for query strings being stripped | Robert May | |
This ensures the query string is persisted when redirecting to add a trailing slash. | |||
2020-11-30 | Remove default config | Jaime Martinez | |
Add todo to reconfigure other vfs | |||
2020-11-30 | Call reconfigure explicitly | Jaime Martinez | |
2020-11-30 | Add Reconfigure to serving and VFS interfaces | Jaime Martinez | |
2020-11-30 | Use sync.Once instead of checking for nil | Jaime Martinez | |
2020-11-30 | Increase time for flaky test | Jaime Martinez | |
Cleanup | |||
2020-11-30 | Move flag definition to main | Jaime Martinez | |
Add zip config to appConfig |