Commit graph

358 commits

Author SHA1 Message Date
Cotes Chung
25ec7649cd
chore(deps): upgrade the version of depdencies (#953, #994)
Resolves #953, #994
2023-05-13 07:13:16 +08:00
Cotes Chung
83bbe4ac93
feat(ui): redesign the sidebar 2023-05-13 02:05:33 +08:00
Cotes Chung
61fdbcb83a
perf(i18n): set the global default locales to "en" (#979)
Avoid missing labels caused by languages ​​outside of locales.
2023-05-06 07:22:29 +08:00
Song-Zi Vong
1719d81d00
fix(rss): double quotes in the post title will break the XML structure (#965) 2023-04-10 18:35:11 +08:00
Cotes Chung
d96b8811a7
refactor: remove version number from self host config 2023-03-17 05:52:32 +08:00
Cotes Chung
02b7bd5095
feat: change TOC plugin to tocbot (#774) 2023-03-16 03:00:29 +08:00
Cotes Chung
b69d3d7edd
refactor(build): modularize JS code
- replace gulp with rollup
- remove JS output from repo
2023-03-15 21:51:37 +08:00
Cotes Chung
5c6ec9d06b
fix: css selector string escaping vulnerability (#888)
Resolves #888
2023-02-15 05:19:26 +08:00
Cotes Chung
c3a840076e
refactor: replace the deprecated js api 2023-02-15 04:53:40 +08:00
Cotes Chung
3b89bf1df2 chore(release): 5.5.2 2023-01-31 00:07:24 +08:00
Cotes Chung
8bc9d25434 chore(release): 5.5.1 2023-01-30 06:15:34 +08:00
Cotes Chung
4b6722124d chore(release): 5.5.0 2023-01-30 05:04:10 +08:00
Cotes Chung
7887b5ab62
chore(release): 5.4.0 2022-12-28 01:28:09 +08:00
Cotes Chung
ab16fdc7fc
feat: add shimmer background when image loads 2022-12-24 23:51:47 +08:00
Cotes Chung
ca41c7ebff
chore(deps): use lazysizes to load images 2022-12-09 07:36:06 +08:00
Cotes Chung
7651d2851b
fix: hreflang tag attribute of feed misses site.alt_lang 2022-12-08 07:01:51 +08:00
Cotes Chung
fe2a3cdf51
chore(release): 5.3.2 2022-11-22 21:08:47 +08:00
Cotes Chung
773d3b1263
chore(icons): upgrade FontAwesome to v6.x 2022-11-22 20:49:19 +08:00
Cotes Chung
6774e0e1fb
fix: restore full-text search (#741)
Resolves #741
2022-11-05 04:58:23 +08:00
Cotes Chung
e107a2e759
chore(release): 5.3.1 2022-10-25 21:18:19 +08:00
Cotes Chung
339293d0d7
style: 4 space indents to the JS files 2022-10-25 19:26:44 +08:00
Cotes Chung
1fd665bf49
perf: modify checkbox icon with Liquid
Also optimize list padding start
2022-10-24 21:06:02 +08:00
Cotes Chung
647eea8dbd
perf: truncate post content for search results 2022-10-22 03:33:09 +08:00
Cotes Chung
b6a1a4172e
style(js): fix code style in JS 2022-10-22 03:26:22 +08:00
Cotes Chung
d96fa5aa0c
refactor: reduce language include file 2022-10-19 04:22:13 +08:00
Cotes Chung
6852ceb280
refactor: remove site config option prefer_datetime_locale 2022-10-19 04:22:12 +08:00
Cotes Chung
916fbf4a2c
build(gulp): append new line at end of JS files 2022-10-15 21:28:25 +08:00
Cotes Chung
304d75c500
chore(deps): upgrade Mermaid to 9.x
Close #694
2022-10-07 23:43:50 +08:00
Cotes Chung
3878815852
chore(release): 5.3.0 2022-09-23 21:11:29 +08:00
Cotes Chung
856ef11487
chore(release): 5.2.1 2022-06-18 00:09:22 +08:00
Cotes Chung
96af7291ea
fix(PWA): sometimes update notification is not triggered 2022-06-10 19:09:31 +08:00
Cotes Chung
baad801066
chore(release): 5.2.0 2022-06-09 17:59:27 +08:00
Cotes Chung
20caace68a
fix(PWA): avoid repeated notification of SW update 2022-06-08 16:09:18 +08:00
Cotes Chung
106c981bac
feat: add option to turn off PWA (#527) 2022-06-05 00:10:20 +08:00
Cotes Chung
d127183b97
feat(PWA): add Service Worker update notification 2022-06-04 23:54:06 +08:00
Cotes Chung
91308ae567
refactor: decouple the Archives from 404 page (#576)
Resolves #576
2022-05-24 23:47:24 +08:00
Cotes Chung
6d35f5f8da
perf: avoid the layout shift for post datetime 2022-04-26 04:55:37 +08:00
Zak Kemble
dd9d5a7207
fix: use jsonify to generate valid json (#521) 2022-03-03 21:49:05 +08:00
Cotes Chung
3969b28743 Bump version to 5.1.0 2022-02-14 23:59:48 +08:00
Cotes Chung
35e013f7fd Adapt the search input to Bootstrap 4.6 2022-02-14 22:15:38 +08:00
Cotes Chung
0f6b170e24 Use constants to define resources for utterances
Self-host the JS for `utterances` is not necessary, because the list of comments cannot be loaded if the network is offline.
2022-02-12 05:47:48 +08:00
Cotes Chung
dc42b6f800 Add assets submodule 2022-02-10 04:12:35 +08:00
Cotes Chung
2c5e67f02b Improve the SW cache list 2022-02-04 06:23:09 +08:00
Cotes Chung
a5d38e7fbc Improve local datetime display
- Protect author's location privacy
- Reduce locale configuration parameters
2022-01-28 23:45:29 +08:00
Tamme Schichler
4a2016a9e3 Don't include Google Analytics scripts without analytics id (#482) 2022-01-14 19:03:16 +08:00
Cotes Chung
f8f4dd889e Normalized attribute name in HTML
Add prefix `data-` for following attributes:
- `topbar-visible`
- `mode`
- `label-text`
- `title-succeed`
2022-01-13 00:23:08 +08:00
Cotes Chung
2cef631385 Hide topbar when mobile orientation in landscape mode (resolve #459) 2022-01-09 19:09:29 +08:00
Cotes Chung
9620eddd12 Simplify the top-bar title detect process 2022-01-08 02:57:16 +08:00
Cotes Chung
2d02a6415d Bump version to 5.0.2 2022-01-08 02:44:19 +08:00
Cotes Chung
837d0778b6 Avoid preview-image delaying the switching of the top bar title (mobile views)
Use Intersection Observer API to optimize the performance of title switching
2022-01-08 02:28:10 +08:00