fda3899a23
markdown: fall back to internal renderer if gitea's is unavailable
2024-03-19 18:52:16 +13:00
1adacc0d49
production: build with go1.22
2024-03-19 18:42:18 +13:00
8de7d565a1
gitea: optionally support authenticated api
2024-03-19 18:42:13 +13:00
1b3a720323
use go1.16+ embed for static assets
2024-03-19 18:42:02 +13:00
eda45221cd
repo: on any failure to build repo page, redirect to gitea page
2024-03-19 18:25:42 +13:00
bd04f5c117
doc/README: update for v1.3.1 bugfix
2022-12-31 14:55:21 +13:00
cb16a667cc
banner: use reposCacheByName
2022-12-31 14:55:15 +13:00
b84b7bdb4e
sync: idx values from reposAlphabeticalOrder do not match reposCache indexes
2022-12-31 14:55:00 +13:00
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