forgejo/tests
Jordan Atwood 01419d9c36 chore(ui): replace repo-code jQuery use, convert file to typescript (#9337)
This PR moves repo-code.js to repo-code.ts (with appropriate changes for the JS -> TS conversion), adds e2e tests for file folding and file line permalink copying to fully cover the features implemented in repo-code, then removes the jQuery usage in the file in favor of vanilla JS.

* chore(ui): replace jQuery uses in repo-code.ts

* chore(ui): add copy line permalink test

* chore(ui): add file folding test

* chore(ui): convert repo-code to ts

  This commit additionally removes the use of `document.selection` for IE8
support, as we no longer offer support for the browser.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9337
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Jordan Atwood <nightfirecat@nightfirec.at>
Co-committed-by: Jordan Atwood <nightfirecat@nightfirec.at>
2025-09-21 08:08:47 +02:00
..
e2e chore(ui): replace repo-code jQuery use, convert file to typescript (#9337) 2025-09-21 08:08:47 +02:00
fuzz
gitea-lfs-meta
gitea-repositories-meta fix(ui): move file rename notice to before pagination (#8818) 2025-08-10 21:35:34 +02:00
integration fix: use correct commit when fetching patch view for review comments (#9264) 2025-09-20 22:47:52 +02:00
testdata/data
mysql.ini.tmpl feat(log): better parseable and configurable ssh-logs (#9056) 2025-09-11 18:59:24 +02:00
pgsql.ini.tmpl feat(log): better parseable and configurable ssh-logs (#9056) 2025-09-11 18:59:24 +02:00
sqlite.ini.tmpl feat(log): better parseable and configurable ssh-logs (#9056) 2025-09-11 18:59:24 +02:00
test_utils.go fix(api): deactivate issue api for disabled or external issue-tracker (#8829) 2025-09-03 16:13:40 +02:00