Commit Graph

870 Commits

Author SHA1 Message Date
perennial dfce7ee782 Improve styling on Discovery 2 2024-09-26 17:33:08 +10:00
perennial 1572b0973e Improve styling on Discovery 2024-09-26 17:26:16 +10:00
perennial ec513c61b6 Fix Discovery 2024-09-26 17:14:18 +10:00
perennial 9a17253d70 Fix duplicated elements in fragments 2024-09-26 17:11:13 +10:00
perennial 3a3ffe99d8 Get most of the fragments working 2024-09-26 16:59:22 +10:00
perennial c29aefabf7 Redo thumbnail-dt fragment 2024-09-26 16:33:32 +10:00
perennial f5217fde8a Redo Artwork fragment 2024-09-26 16:29:42 +10:00
perennial 7a846122bd Convert Discovery, rework Artwork 2024-09-26 16:24:36 +10:00
perennial c41b6e2e98 Rough draft for Artwork page 2024-09-26 00:03:50 +10:00
perennial c6eacbc709 Improve styling on Settings page 2024-09-25 23:41:25 +10:00
perennial 746f6bd4ac Key-value table on Settings page 2024-09-25 23:14:12 +10:00
perennial 3c1433965c Revert "Redesign About page"
This reverts commit b2c7fc259225ca9e9f4c1953a1b4578fb0a3283e.
2024-09-25 22:58:13 +10:00
perennial 50045eaa63 Redesign About page 2024-09-25 22:50:24 +10:00
perennial e7e3bfffd8 Convert nav + about page + settings page draft
Also disable CSP
2024-09-25 22:45:37 +10:00
perennial 8392bf12bc ci: create crowdin-pull workflow (wip) 2024-10-08 21:50:56 +11:00
iacore f4fa8f41f7 update docs 2024-10-10 14:10:35 +00:00
perennial 091360a118 build.sh: load env file globally 2024-10-10 14:00:54 +11:00
iacore 169301bfb0 cleanup readme 2024-10-09 15:38:20 +00:00
iacore 4fc57b1d26 Cleanup cookie settings page 2024-10-09 14:40:38 +00:00
VnPower 239fe89915 Fix typo 2024-10-09 21:34:33 +07:00
iacore 0ea2ec816f [i18n] fix jet template rewriter 2024-10-09 14:31:15 +00:00
VnPower 3df85ee1f4 Remove obsolete strings 2024-10-09 21:04:27 +07:00
VnPower 480492b40c i18n: add exceptions 2024-10-09 20:06:14 +07:00
perennial efeef1aa10 docker: fix missing i18n directory 2024-10-09 23:38:07 +11:00
iacore b63215a55b [i18n] Add exceptions 2024-10-09 12:26:06 +00:00
iacore 356d83bc7f fix crowdin file location 2024-10-09 12:19:36 +00:00
iacore 35a1a457b7 link to how to setup Crowdin CLI 2024-10-09 12:14:14 +00:00
iacore c1e4ae2c3c cleanup 2024-10-09 11:24:22 +00:00
iacore 02938b2f3f [i18n] rewrite jet template
it's a stupid string rewriter that hopefully works
2024-10-09 11:21:00 +00:00
iacore d928803388 load locale 2024-10-09 10:26:52 +00:00
iacore e27dc301e2 Add cookie: Locale 2024-10-08 22:55:13 +00:00
perennial d3e1d4fadf docs: update mkdocs nav 2024-10-08 20:49:51 +11:00
perennial 24180e2922 i18n: more docker doc 2024-10-08 20:48:28 +11:00
perennial dcbc6572b3 i18n: add crowdin docker instructions 2024-10-08 20:43:37 +11:00
iacore 877fe4be32 ++docs 2024-10-08 09:27:18 +00:00
iacore ab424898f6 Document Crowdin CLI usage 2024-10-08 09:24:38 +00:00
perennial ebfbba0e36 Add Crowdin badges 2024-10-08 20:10:17 +11:00
iacore 7585747b16 document crowdin cli 2024-10-08 08:23:31 +00:00
iacore f323d67488 document i18n progress 2024-10-08 06:50:36 +00:00
iacore 051f238f36 [i18n] fix scanner 2024-10-08 06:37:26 +00:00
iacore 6dca053e7f document i18n todo 2024-10-08 06:23:48 +00:00
iacore 829d3dadec [i18n] make english locale read-only 2024-10-08 06:17:00 +00:00
iacore 6d225d5959 Cleanup global i18n 2024-10-08 06:14:19 +00:00
perennial 435305af15 rm unused log import 2024-10-08 13:33:43 +11:00
perennial c60f1a8c40 'fix' spurious ranking page issues 2024-10-08 01:03:03 +11:00
perennial 9bdaefd706 Return nil rather than an error in computeSliceBounds 2024-10-08 00:40:02 +11:00
perennial ca5f041013 Revert "Use Work interface when retrieving user artworks and novels"
This reverts commit 27749085da.

Didn't check for other calls to GetUserArtworks
2024-10-08 00:03:12 +11:00
perennial 27749085da Use Work interface when retrieving user artworks and novels
This commit consolidates retrieving user artworks and novels into
a single function, GetUserWorks.

A new Work interface abstracts common behavior between artworks and novels.

The computeSliceBounds utility function is also moved to the end of the file.
2024-10-07 23:46:54 +11:00
iacore 84d811101d Update Go dependencies 2024-10-07 12:40:05 +00:00
perennial b12b81455c Slicing safely in core/user.go
Prevents panic loop when accessing an invalid page on user route
2024-10-07 23:19:10 +11:00