Earl Warren
85515977fb
[BRANDING] add the forgejo webhook type & update webhook docs URLs
...
templates/swagger/v1_json.tmpl updated with `make generate-swagger`
(cherry picked from commit 88899c492e
)
(cherry picked from commit 7171bd9617
)
(cherry picked from commit 1a742446c1
)
(cherry picked from commit d7c189d7b2
)
Conflicts:
routers/web/web.go
(cherry picked from commit cbdea868e4
)
(cherry picked from commit 6cd150483b
)
(cherry picked from commit 47246da8d3
)
(cherry picked from commit f2aa0e6b76
)
(cherry picked from commit 5a4fc69a16
)
(cherry picked from commit 48e444ca09
)
(cherry picked from commit 888e537811
)
(cherry picked from commit 5121f493c9
)
(cherry picked from commit 9394e55fdf
)
(cherry picked from commit 3a2ce51768
)
(cherry picked from commit 719ead3a65
)
(cherry picked from commit 83e6f82e2a
)
(cherry picked from commit 494a429b21
)
(cherry picked from commit 4d775db6b4
)
(cherry picked from commit b68f777dc2
)
(cherry picked from commit 5b934023fa
)
(cherry picked from commit 3b1ed8b16c
)
(cherry picked from commit 6bc4a46c9f
)
(cherry picked from commit 8064bb24a3
)
Conflicts:
templates/admin/hook_new.tmpl
templates/org/settings/hook_new.tmpl
templates/repo/settings/webhook/base_list.tmpl
templates/repo/settings/webhook/new.tmpl
templates/user/settings/hook_new.tmpl
https://codeberg.org/forgejo/forgejo/pulls/1181
(cherry picked from commit 55f5588a91
)
(cherry picked from commit a428bc06b3
)
(cherry picked from commit d2186eceb9
)
(cherry picked from commit b4e126e9af
)
(cherry picked from commit e4c7a92c2d
)
(cherry picked from commit a7165c8146
)
Conflicts:
templates/admin/hook_new.tmpl
templates/repo/settings/webhook/new.tmpl
https://codeberg.org/forgejo/forgejo/pulls/1420
[BRANDING] add the forgejo webhook type & update webhook docs URLs (squash) gitea logo for gitea webhooks
Refs: https://codeberg.org/forgejo/forgejo/issues/1367
(cherry picked from commit 2d8c1b9373
)
(cherry picked from commit 9135a5e1db
)
(cherry picked from commit 270f4020b0
)
(cherry picked from commit 33e5e2f0d8
)
(cherry picked from commit 7af8bcf479
)
Conflicts:
tests/integration/links_test.go
https://codeberg.org/forgejo/forgejo/pulls/1548
(cherry picked from commit ce2a434dcf
)
(cherry picked from commit c2fa42b4fd
)
(cherry picked from commit 3858c8d4db
)
(cherry picked from commit ebb0ae4920
)
(cherry picked from commit 93d354c418
)
(cherry picked from commit d5b08a2a4b
)
(cherry picked from commit e5e5caffaa
)
(cherry picked from commit 974d405700
)
(cherry picked from commit e654fbccb1
)
2023-12-11 15:42:58 +01:00
Lunny Xiao
439a0cca2c
Test more templates for if they contain an error ( #27367 )
2023-10-02 07:56:55 +00:00
wxiaoguang
52fb936773
Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" ( #25974 )
...
Replace #25892
Close #21942
Close #25464
Major changes:
1. Serve "robots.txt" and ".well-known/security.txt" in the "public"
custom path
* All files in "public/.well-known" can be served, just like
"public/assets"
3. Add a test for ".well-known/security.txt"
4. Simplify the "FileHandlerFunc" logic, now the paths are consistent so
the code can be simpler
5. Add CORS header for ".well-known" endpoints
6. Add logs to tell users they should move some of their legacy custom
public files
```
2023/07/19 13:00:37 cmd/web.go:178:serveInstalled() [E] Found legacy public asset "img" in CustomPath. Please move it to /work/gitea/custom/public/assets/img
2023/07/19 13:00:37 cmd/web.go:182:serveInstalled() [E] Found legacy public asset "robots.txt" in CustomPath. Please move it to /work/gitea/custom/public/robots.txt
```
This PR is not breaking.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-21 12:14:20 +00:00
flynnnnnnnnnn
e81ccc406b
Implement FSFE REUSE for golang files ( #21840 )
...
Change all license headers to comply with REUSE specification.
Fix #16132
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-11-27 18:20:29 +00:00
Kyle D
c8ded77680
Kd/ci playwright go test ( #20123 )
...
* Add initial playwright config
* Simplify Makefile
* Simplify Makefile
* Use correct config files
* Update playwright settings
* Fix package-lock file
* Don't use test logger for e2e tests
* fix frontend lint
* Allow passing TEST_LOGGER variable
* Init postgres database
* use standard gitea env variables
* Update playwright
* update drone
* Move empty env var to commands
* Cleanup
* Move integrations to subfolder
* tests integrations to tests integraton
* Run e2e tests with go test
* Fix linting
* install CI deps
* Add files to ESlint
* Fix drone typo
* Don't log to console in CI
* Use go test http server
* Add build step before tests
* Move shared init function to common package
* fix drone
* Clean up tests
* Fix linting
* Better mocking for page + version string
* Cleanup test generation
* Remove dependency on gitea binary
* Fix linting
* add initial support for running specific tests
* Add ACCEPT_VISUAL variable
* don't require git-lfs
* Add initial documentation
* Review feedback
* Add logged in session test
* Attempt fixing drone race
* Cleanup and bump version
* Bump deps
* Review feedback
* simplify installation
* Fix ci
* Update install docs
2022-09-02 15:18:23 -04:00