1
0
Fork 0
forgejo/routers/web/repo
Şahin Akkaya f097799953
Implement code frequency graph (#29191)
### Overview
This is the implementation of Code Frequency page. This feature was
mentioned on these issues: #18262, #7392.

It adds another tab to Activity page called Code Frequency. Code
Frequency tab shows additions and deletions over time since the
repository existed.

Before:
<img width="1296" alt="image"
src="https://github.com/go-gitea/gitea/assets/32161460/2603504f-aee7-4929-a8c4-fb3412a7a0f6">

After:
<img width="1296" alt="image"
src="https://github.com/go-gitea/gitea/assets/32161460/58c03721-729f-4536-a663-9f337f240963">

---

#### Features
- See additions deletions over time since repository existed
- Click on "Additions" or "Deletions" legend to show only one type of
contribution
- Use the same cache from Contributors page so that the loading of data
will be fast once it is cached by visiting either one of the pages

---------

Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit 875f5ea6d83c8371f309df99654ca3556623004c)
2024-02-26 22:30:26 +01:00
..
actions Move permission check from ArtifactsDeleteView to the route 2024-02-25 10:52:11 +01:00
badges
flags
setting Merge pull request '[BUG] Don't overwrite protected branch accidentally' (#2473) from gusted/forgejo-error-duplicate into forgejo 2024-02-26 14:55:09 +00:00
activity.go Implement contributors graph (#27882) 2024-02-17 23:24:31 +01:00
attachment.go
blame.go Merge pull request '[FEAT] Enable ambiguous character detection in configured contexts' (#2427) from gusted/forgejo-ambigious-characters into forgejo 2024-02-24 12:25:31 +00:00
branch.go
cherry_pick.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
code_frequency.go Implement code frequency graph (#29191) 2024-02-26 22:30:26 +01:00
commit.go
compare.go Start to migrate from util.OptionalBool to optional.Option[bool] (#29329) 2024-02-26 22:30:26 +01:00
contributors.go Deduplicate translations for contributors graph (#29256) 2024-02-19 22:58:33 +01:00
download.go
editor.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
editor_test.go
find.go
githttp.go
githttp_test.go
helper.go
helper_test.go
issue.go [BUG] Fix pull request reopen conditions 2024-02-17 15:38:16 +01:00
issue_content_history.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
issue_dependency.go
issue_label.go
issue_label_test.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
projects.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
projects_test.go
pull.go Start to migrate from util.OptionalBool to optional.Option[bool] (#29329) 2024-02-26 22:30:26 +01:00
pull_review.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
release.go Show commit status for releases (#29149) 2024-02-19 22:58:33 +01:00
release_test.go
render.go
repo.go Start to migrate from util.OptionalBool to optional.Option[bool] (#29329) 2024-02-26 22:30:26 +01:00
search.go [FEAT] add fallback repo search using git grep 2024-02-20 13:00:34 +00:00
topic.go
treelist.go
view.go [FEAT] Enable ambiguous character detection in configured contexts 2024-02-23 13:12:17 +01:00
view_test.go
wiki.go [FEAT] Enable ambiguous character detection in configured contexts 2024-02-23 13:12:17 +01:00
wiki_test.go