Commit Graph

48 Commits

Author SHA1 Message Date
8321129ac8 sync: populate image cache 2022-12-31 14:33:51 +13:00
45da798791 doc/README: add changelog for v1.3.0 2022-12-31 14:29:52 +13:00
75f5ff35c9 chore: bump dockerfile, go.mod definitions to go1.19 2022-12-31 14:29:45 +13:00
92853a495c sync: cache image URLs for main homepage performance 2022-12-31 14:28:12 +13:00
5430f503e0 sync/reorder: add error cases, remove debug messaging 2022-12-31 14:27:55 +13:00
1e2ad32d54 config: add OverrideOrder option 2022-12-31 14:18:47 +13:00
cb454938cc api: move gitea api to subpackage 2022-12-31 14:06:56 +13:00
45ed36b327 split pages into multiple source files 2022-12-31 13:47:07 +13:00
65b520daa6 doc/changelog: v1.2.1 2021-04-12 13:49:01 +12:00
f7833f8dde also search the root directory for repo images 2021-04-12 13:47:07 +12:00
3c54a6eff4 self-host the build_success_brightgreen.svg image 2021-04-12 13:46:46 +12:00
78c7f82ef8 exclude 'build: success' badge from repos with 'article' topic 2021-04-12 13:32:58 +12:00
4f6814f3da html: add basic table styling 2021-04-12 13:22:24 +12:00
d21998a9fd html: use a free viewport 2021-04-12 13:16:30 +12:00
b1b08b932f doc/changelog: v1.2.0 2020-11-19 12:08:47 +13:00
90cd2b6440 api: remove oldestCommit support
For codesite-migrated repositories, looking at the oldest commit is
preferable to determine the "create date". But for forked projects,
looking at the oldest commit is incorrect for when we started the project
If inferring the real create date has to be manual, then let's rely on
the Gitea metadata - it's faster and can be modified by hand if needed
2020-11-19 12:06:57 +13:00
65e369deea implement homepage caching with periodic refresh 2020-11-19 11:57:17 +13:00
7f478c9e3c app: split router, templates into separate files 2020-11-19 11:24:10 +13:00
b21cd5585d api: replace generated Created/Updated timestamps with commit properties 2020-11-19 11:04:48 +13:00
818a93de1b api: new methods to get branches and commit info 2020-11-19 11:04:35 +13:00
30e31f9a08 api: extract common http handling code into apiRequest() 2020-11-19 11:04:08 +13:00
dccab8a15b app: log message about startup bind address 2020-11-19 11:02:36 +13:00
dbb915a226 app: swap panic for log.Fatalf 2020-11-19 10:16:33 +13:00
a27831e49b remove some extra logging 2020-11-08 13:29:08 +13:00
8d84f3fc1e doc/changelog: v1.1.1 2020-11-08 13:27:07 +13:00
51cfe695bf api: fix compatibility with newer gitea that paginates repo lists 2020-11-08 13:25:36 +13:00
e34ab1fd16 api: semaphore acquire can fail if context is already closed 2020-06-07 11:31:25 +12:00
63ee2ec4ee doc/changelog: v1.1.0 2020-05-24 18:52:18 +12:00
7b7d303e25 css: fix page reflow flash when loading shield badges 2020-05-24 18:40:43 +12:00
44be5c1249 css: fix cosmetic issue with header margin on repo pages with thumbnails 2020-05-24 18:40:22 +12:00
6ed253c7b9 css: fix cosmetic issue with background on some page heights 2020-05-24 18:40:07 +12:00
450944cd0b css: change pure-css background to more closely match original image 2020-05-24 18:39:50 +12:00
c655b10467 projects: show total number in brackets 2020-05-24 18:39:32 +12:00
2eb39cbeac support semaphore limiting + context-cancellation of Gitea API requests 2020-05-24 18:39:24 +12:00
66362fc856 doc/changelog: v1.0.0 + v1.0.1 changelog 2020-05-24 17:54:29 +12:00
8bf41bc242 css: replace background image with pure-CSS alternative 2020-05-24 17:49:51 +12:00
7dc82fef8b css: fix missing padding on gitea-generated h2/h3 markdown 2020-05-24 17:49:33 +12:00
200cf0ee2c automatic support for go get on deep subpackages 2020-05-05 19:41:26 +12:00
28e7e769b1 support redirecting project alternative names 2020-05-05 19:39:44 +12:00
7045794c8e handle path encoding for repository names containing special characters 2020-05-05 19:30:19 +12:00
902e1be59c lazy load images on homepage 2020-05-04 18:18:46 +12:00
124882da9a router: redirect repo.html and /repo/ to canonical repo 2020-05-04 17:18:57 +12:00
7cc7c7dc93 site.js: fix console error on non-index pages 2020-05-04 17:18:29 +12:00
b34ae0dcbd remove legacy "written in" handling
These sentences exist in codesite README.txt files, but the codesite2git
script removed all the tags from the README.md files in generated Git
repositories, so this clause will never be used
2020-05-04 17:12:09 +12:00
a892dbb5b2 reinstate project-sorting support 2020-05-02 15:19:58 +12:00
9228ea88a9 doc: update docker/dokku deployment instructions 2020-05-02 14:39:33 +12:00
89476839db doc: add screenshot 2020-05-02 14:25:38 +12:00
d7a964c186 initial commit 2020-05-02 14:16:49 +12:00