gitea/models/migrations
JakobDev c41bc4f127
Display when a repo was archived (#22664)
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>
2023-04-26 10:46:26 -04:00
..
base Enable forbidigo linter (#24278) 2023-04-24 05:50:58 -04:00
fixtures Remove wrongly added column on migration test fixtures (#23456) 2023-03-14 19:49:59 +08:00
v1_6 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_7 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_8 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_9 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_10 Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
v1_11 Enable forbidigo linter (#24278) 2023-04-24 05:50:58 -04:00
v1_12 Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
v1_13 Remove most path-based golangci exclusions (#24214) 2023-04-19 22:08:01 -04:00
v1_14 Remove most path-based golangci exclusions (#24214) 2023-04-19 22:08:01 -04:00
v1_15 Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
v1_16 Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
v1_17 Drop migration for ForeignReference (#23605) 2023-03-23 15:01:55 -04:00
v1_18 Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
v1_19 Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
v1_20 Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00
migrations.go Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00