Commit Graph

60 Commits

Author SHA1 Message Date
mappu 0407a52fb6 doc/README: update for v1.4.1 2024-03-19 19:08:46 +13:00
mappu c3b3e19a42 repo: ensure we render massaged html when in fallback mode 2024-03-19 19:08:12 +13:00
mappu 0d806965ab gitea/api: add cooldown to debounce markdown api failures 2024-03-19 19:08:03 +13:00
mappu 52166fcf30 doc/README: add changelog for v1.4.0 2024-03-19 18:54:33 +13:00
mappu fda3899a23 markdown: fall back to internal renderer if gitea's is unavailable 2024-03-19 18:52:16 +13:00
mappu 1adacc0d49 production: build with go1.22 2024-03-19 18:42:18 +13:00
mappu 8de7d565a1 gitea: optionally support authenticated api 2024-03-19 18:42:13 +13:00
mappu 1b3a720323 use go1.16+ embed for static assets 2024-03-19 18:42:02 +13:00
mappu eda45221cd repo: on any failure to build repo page, redirect to gitea page 2024-03-19 18:25:42 +13:00
mappu bd04f5c117 doc/README: update for v1.3.1 bugfix 2022-12-31 14:55:21 +13:00
mappu cb16a667cc banner: use reposCacheByName 2022-12-31 14:55:15 +13:00
mappu b84b7bdb4e sync: idx values from reposAlphabeticalOrder do not match reposCache indexes 2022-12-31 14:55:00 +13:00
mappu 8321129ac8 sync: populate image cache 2022-12-31 14:33:51 +13:00
mappu 45da798791 doc/README: add changelog for v1.3.0 2022-12-31 14:29:52 +13:00
mappu 75f5ff35c9 chore: bump dockerfile, go.mod definitions to go1.19 2022-12-31 14:29:45 +13:00
mappu 92853a495c sync: cache image URLs for main homepage performance 2022-12-31 14:28:12 +13:00
mappu 5430f503e0 sync/reorder: add error cases, remove debug messaging 2022-12-31 14:27:55 +13:00
mappu 1e2ad32d54 config: add OverrideOrder option 2022-12-31 14:18:47 +13:00
mappu cb454938cc api: move gitea api to subpackage 2022-12-31 14:06:56 +13:00
mappu 45ed36b327 split pages into multiple source files 2022-12-31 13:47:07 +13:00
mappu 65b520daa6 doc/changelog: v1.2.1 2021-04-12 13:49:01 +12:00
mappu f7833f8dde also search the root directory for repo images 2021-04-12 13:47:07 +12:00
mappu 3c54a6eff4 self-host the build_success_brightgreen.svg image 2021-04-12 13:46:46 +12:00
mappu 78c7f82ef8 exclude 'build: success' badge from repos with 'article' topic 2021-04-12 13:32:58 +12:00
mappu 4f6814f3da html: add basic table styling 2021-04-12 13:22:24 +12:00
mappu d21998a9fd html: use a free viewport 2021-04-12 13:16:30 +12:00
mappu b1b08b932f doc/changelog: v1.2.0 2020-11-19 12:08:47 +13:00
mappu 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
mappu 65e369deea implement homepage caching with periodic refresh 2020-11-19 11:57:17 +13:00
mappu 7f478c9e3c app: split router, templates into separate files 2020-11-19 11:24:10 +13:00
mappu b21cd5585d api: replace generated Created/Updated timestamps with commit properties 2020-11-19 11:04:48 +13:00
mappu 818a93de1b api: new methods to get branches and commit info 2020-11-19 11:04:35 +13:00
mappu 30e31f9a08 api: extract common http handling code into apiRequest() 2020-11-19 11:04:08 +13:00
mappu dccab8a15b app: log message about startup bind address 2020-11-19 11:02:36 +13:00
mappu dbb915a226 app: swap panic for log.Fatalf 2020-11-19 10:16:33 +13:00
mappu a27831e49b remove some extra logging 2020-11-08 13:29:08 +13:00
mappu 8d84f3fc1e doc/changelog: v1.1.1 2020-11-08 13:27:07 +13:00
mappu 51cfe695bf api: fix compatibility with newer gitea that paginates repo lists 2020-11-08 13:25:36 +13:00
mappu e34ab1fd16 api: semaphore acquire can fail if context is already closed 2020-06-07 11:31:25 +12:00
mappu 63ee2ec4ee doc/changelog: v1.1.0 2020-05-24 18:52:18 +12:00
mappu 7b7d303e25 css: fix page reflow flash when loading shield badges 2020-05-24 18:40:43 +12:00
mappu 44be5c1249 css: fix cosmetic issue with header margin on repo pages with thumbnails 2020-05-24 18:40:22 +12:00
mappu 6ed253c7b9 css: fix cosmetic issue with background on some page heights 2020-05-24 18:40:07 +12:00
mappu 450944cd0b css: change pure-css background to more closely match original image 2020-05-24 18:39:50 +12:00
mappu c655b10467 projects: show total number in brackets 2020-05-24 18:39:32 +12:00
mappu 2eb39cbeac support semaphore limiting + context-cancellation of Gitea API requests 2020-05-24 18:39:24 +12:00
mappu 66362fc856 doc/changelog: v1.0.0 + v1.0.1 changelog 2020-05-24 17:54:29 +12:00
mappu 8bf41bc242 css: replace background image with pure-CSS alternative 2020-05-24 17:49:51 +12:00
mappu 7dc82fef8b css: fix missing padding on gitea-generated h2/h3 markdown 2020-05-24 17:49:33 +12:00
mappu 200cf0ee2c automatic support for go get on deep subpackages 2020-05-05 19:41:26 +12:00