gitea/models/repo
JakobDev c41bc4f127
Display when a repo was archived ()
This adds the date a repo is archived to Gitea and shows it in the UI
and API. A feature, that GitHub has been [introduced
recently](https://github.blog/changelog/2022-11-23-repository-archive-date-now-shown-in-ui/).

I currently don't know how to correctly deal with the Date in the
template, as different languages have different ways of writing a date.


![grafik](https://user-images.githubusercontent.com/15185051/234315187-7db5763e-d96e-4080-b894-9be178bfb6e1.png)

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
..
archiver.go Display when a repo was archived ()
attachment.go Make Release Download URLs predictable ()
attachment_test.go Implement FSFE REUSE for golang files ()
avatar.go Add context cache as a request level cache ()
collaboration.go Always reuse transaction ()
collaboration_test.go Rename almost all Ctx functions ()
fork.go Implement FSFE REUSE for golang files ()
fork_test.go refactor some functions to support ctx as first parameter ()
git.go Implement FSFE REUSE for golang files ()
issue.go Rename almost all Ctx functions ()
language_stats.go Round language stats percentage using largest remainder ()
main_test.go Implement FSFE REUSE for golang files ()
mirror.go Use ErrInvalidArgument in packages ()
pushmirror.go Use ErrInvalidArgument in packages ()
pushmirror_test.go Implement FSFE REUSE for golang files ()
redirect.go Implement FSFE REUSE for golang files ()
redirect_test.go Implement FSFE REUSE for golang files ()
release.go Make Release Download URLs predictable ()
repo.go Display when a repo was archived ()
repo_indexer.go Implement FSFE REUSE for golang files ()
repo_list.go Use context for `RepositoryList.LoadAttributes` ()
repo_list_test.go fix calReleaseNumCommitsBehind ()
repo_test.go Set repository link based on the url in package.json for npm packages ()
repo_unit.go Pull Requests: setting to allow edits by maintainers by default, tweak UI ()
star.go Implement FSFE REUSE for golang files ()
star_test.go Implement FSFE REUSE for golang files ()
topic.go Sort repo topic labels by name ()
topic_test.go Implement FSFE REUSE for golang files ()
update.go Rename `repo.GetOwner` to `repo.LoadOwner` ()
upload.go Implement FSFE REUSE for golang files ()
user_repo.go Refactor authors dropdown (send get request from frontend to avoid long wait time) ()
user_repo_test.go Implement FSFE REUSE for golang files ()
watch.go Implement FSFE REUSE for golang files ()
watch_test.go Implement FSFE REUSE for golang files ()
wiki.go Implement FSFE REUSE for golang files ()
wiki_test.go Implement FSFE REUSE for golang files ()