Commit Graph

154 Commits

Author SHA1 Message Date
Cotes Chung 945e8d1953 Bump version to 4.3.0 2021-09-30 02:32:57 +08:00
Cotes Chung 1bb54096f4 Improve the UX of clipboard button 2021-09-24 15:13:00 +08:00
Cotes Chung 2dfdb66e0a Refactor clipboard functions 2021-09-17 16:08:00 +08:00
Cotes Chung 4001ef7cba Prevent copying code line numbers on Safari 2021-09-16 18:42:50 +08:00
Cotes Chung e607e5fe86 Restore the copy URL function that was deleted by mistake 2021-09-16 17:55:52 +08:00
Cotes Chung d761d340a8 Bump version to 4.2.0 2021-09-16 01:40:38 +08:00
Cotes Chung f411ba33d8 Fix code style 2021-09-16 01:19:40 +08:00
Cotes Chung 34631a0c30 Update locale settings for code block clipboard (resolve #408) 2021-09-15 15:02:23 +08:00
Cotes Chung 53b0329e5a Improve the clipboard UX 2021-09-15 14:57:59 +08:00
Cotes Chung 2acf14ecf0 Replace Disqus lazy loading plugin with native JS 2021-09-14 20:45:17 +08:00
Cotes Chung 5e9a7b319e Add clipboard JS 2021-09-11 00:30:21 +08:00
Cotes Chung 8d164c2e6e Enable full-text search (fix #401) 2021-09-04 21:23:43 +08:00
Cotes Chung 780af9ac5f Remove unused variable on HTML & JS 2021-08-01 21:49:44 +08:00
Cotes Chung b7a483680e Bump version to 4.1.0 2021-07-22 00:51:20 +08:00
Cotes Chung 0b29c0321f Add layout localization 2021-07-21 23:50:16 +08:00
Cotes Chung c969eaa040 Recover the missing image link identifier class 2021-07-20 02:08:28 +08:00
Cotes Chung d52fa88337 Prevent the post date from shifting when loading 2021-07-11 17:04:13 +08:00
Cotes Chung 5f1e6e9350 Create the code language badge by Liquid
It prevents the language badges from flashing
2021-07-04 22:02:52 +08:00
Cotes Chung 3ecb59deb1 Bump version to 4.0.2
(cherry picked from commit a6d4db251fd8b5822e88bea3ccb1643a4af2cdff)
2021-06-23 23:02:55 +08:00
Cotes Chung 4fa7c6af6e Bump version to 4.0.1
(cherry picked from commit b887c439c6b83bb590dda09574202da133d21fe1)
2021-05-08 03:26:04 +08:00
Cotes Chung cf7d8a45ba Bump version to 4.0.0
(cherry picked from commit db82f71515de65db13abb4d6f95008343a234379)
2021-04-30 14:10:24 +08:00
Cotes Chung 6d254af55f Simplify the favicons 2021-04-29 19:58:37 +08:00
Cotes Chung 84bb4d0c4b Add image popup effect 2021-04-24 16:32:56 +08:00
Cotes Chung f0ce5ceb71 Fix tabs url for service worker 2021-04-20 04:22:28 +08:00
Cotes Chung a9acaa669d Reduce the external files required for gem installation 2021-04-20 04:22:28 +08:00
Cotes Chung 72e8ffafa6 Exclude JS source code from the output 2021-04-20 04:22:28 +08:00
Cotes Chung 4ed6988be3 Globally mark out image links 2021-04-17 15:00:21 +08:00
Cotes Chung d720d0f66c Bump version to 3.3.2
(cherry picked from commit 0b0e493ff024ee278d20bba056059aae9c0fac2d)
2021-04-11 01:39:27 +08:00
Cotes Chung aa54e901b1 Resume the pv cache source & add validation for the number of localStorage keys 2021-04-10 23:36:08 +08:00
Cotes Chung a03149cd40 Reduce PWA storage space 2021-04-10 14:51:04 +08:00
Cotes Chung 6341752986 Enhance detection of PV key validity in localStorage 2021-04-07 15:01:23 +08:00
Cotes Chung 4a0242e496 Simplify the PV config options
- Remove options `site.google_analytics.pv.enabled` and `site.google_analytics.pv.proxy_url`
- Rename options `site.google_analytics.pv.cache` to `site.google_analytics.pv.cache_path`
2021-04-06 23:15:36 +08:00
Cotes Chung 48e4c7e6d3 Fix the PV fetching failed when local cache is disabled
also improve the PV report logic
2021-04-06 02:32:53 +08:00
Cotes Chung 49346fd3c6 Bump version to 3.3.1
(cherry picked from commit 0b043daa341acd446c4ea536498ac2f52c82329a)
2021-04-02 21:15:50 +08:00
Cotes Chung dbe4c3d42f Bump version to 3.3.0
(cherry picked from commit 41741dc3366d1af5f0da541d723860cb96eb27db)
2021-04-02 16:17:40 +08:00
Cotes Chung 1ff38722a2 Rename copyright file for JS 2021-04-02 16:02:14 +08:00
Cotes Chung 1c0cd6b6b0 Remove a stale variable from timeago.js 2021-04-02 15:57:36 +08:00
Cotes Chung 9636612755 Fix the cache list on service worker
Adding '/index.html' to the cache storage
2021-03-23 15:42:10 +08:00
Cotes Chung 18f6c6ac4e Fix PWA error caused by service worker store the POST Request as cache key
fix #297, fix #301
2021-03-22 22:38:22 +08:00
Cotes Chung 89751c8e9f Bump version to 3.2.2
(cherry picked from commit f78747d84126c5ca5078574604be8e95000309fa)
2021-03-04 15:04:14 +08:00
Cotes Chung d2bb423220 Change the order of post meta & improve timeago 2021-03-03 18:32:06 +08:00
Cotes Chung 3e79ad6300 Bump version to 3.2.1
(cherry picked from commit 125c23f19b561c9db9293fe9a3dc2052185643be)
2021-02-10 23:50:06 +08:00
Cotes Chung d0a23c21ee Bump version to 3.2.0
(cherry picked from commit e13187cb1d82d71c6104fa1ecb93d5634590c164)
2021-02-10 21:27:18 +08:00
Cotes Chung 34b7a80a78 Bump version to 3.1.1 2021-02-05 02:05:55 +08:00
Cotes Chung 5669f792a7 Fix search results slow scrolling (#273)
also:
- improve its responsive design
- fix the js path in gulp
2021-02-05 01:24:15 +08:00
Cotes Chung d7443aad5d Bump version to 3.1.0 2021-02-03 01:42:10 +08:00
Cotes Chung 7a87ab4d05 Bump version to 3.0.3 2021-01-28 23:44:53 +08:00
Cotes Chung adc117972a Fix the year of copyright 2021-01-28 03:37:08 +08:00
Cotes Chung d8a42d9bb4 Bump version to 3.0.2 2021-01-27 03:41:12 +08:00
Cotes Chung ec522e5219 Bump version to 3.0.1 2021-01-26 22:28:35 +08:00
Cotes Chung 7d7c0da31b Bump version to 3.0.0 2021-01-26 21:40:46 +08:00
Cotes Chung 893db51ff0 Improve the copyrights of the assets 2021-01-26 20:24:47 +08:00
Cotes Chung da9f7b8218 Process JS files with gulp 2021-01-25 06:43:02 +08:00
Cotes Chung 0e9104a58f Fix a typo on css 2021-01-25 02:44:35 +08:00
Cotes Chung ab0e3f6ee4 Fix PV display when baseurl exists 2021-01-19 00:01:01 +08:00
Cotes Chung 3c72298563 Improve the smooth scrolling
- Add smooth scrolling to the footnotes
- Add hash to URL
2020-12-31 21:37:17 +08:00
Cotes Chung c381353f86 Use liquid to determine whether to render ToC 2020-12-28 02:30:32 +08:00
Cotes Chung aa6c33526a Fix the compatibility of the smooth scrolling in Safari
Safari(at least on v14) does not support CSS property `scroll-behavior`
2020-12-28 02:28:57 +08:00
Cotes Chung dfba411d61 Jump to the anchor position smoothly 2020-12-26 00:41:06 +08:00
Cotes Chung 8e5d8b8931 Feature: display the language of code snippets 2020-12-18 20:52:39 +08:00
Cotes Chung 5ffbfaec26 Beautify the pin label on home page 2020-12-17 15:30:49 +08:00
Cotes Chung cb984aa021 Simplify checkbox with fontawesome icon 2020-12-15 15:20:40 +08:00
Cotes Chung aba3d25d7a Always load browser default checkbox 2020-12-15 00:39:50 +08:00
Cotes Chung d61446fafc Create a more beautiful checkbox
The browser's default checkbox is too ugly, especially in dark mode
2020-12-14 02:13:31 +08:00
Cotes Chung 53a98feff3 Update pwa cache list 2020-12-11 23:08:57 +08:00
Cotes Chung cdaa79cf80 Improve JS loading sequence 2020-12-10 20:13:03 +08:00
Cotes Chung 8fa1f3b497 Clean up the discarded shell scripts 2020-11-19 21:47:46 +08:00
Cotes Chung cb908bbb2b Added caption sytle for hyperlinked images (#144). 2020-10-07 12:24:44 +08:00
Cotes Chung 8484a34195 Fix copy link function (#133) 2020-09-17 19:20:50 +08:00
Cotes Chung 038bccb3ca Fix JS object injection. 2020-08-19 23:45:10 +08:00
Cotes Chung 9b35380849 Improve JS code style. 2020-08-19 23:45:10 +08:00
Cotes Chung ad48a9ab06 Fixed empty PV issue. 2020-07-26 22:25:26 +08:00
Cotes Chung b2f0b4cb1b Improved post date display. 2020-07-23 20:57:11 +08:00
Cotes Chung 209058b84a Code improvement.
Passing parameters to includes
2020-07-22 23:02:11 +08:00
Cotes Chung 562fcd4fd8 Fixed posts' base-url on cache list. 2020-07-17 16:27:11 +08:00
Cotes Chung 22115f3797 Optimized update list & fixed sw cache list. 2020-07-16 21:00:19 +08:00
Cotes Chung c0ba181246 Improved the PV fetching.
Discard some of the old permalink PV records.
2020-07-14 03:24:25 +08:00
Cotes Chung 4d4e9a063e Ensure the LocalStroage keys are valid.
Also update the cache key name.
2020-06-24 02:57:02 +08:00
Cotes Chung e87ef0d40e Fixed the PV cache. 2020-06-24 02:57:02 +08:00
Cotes Chung edeb08aa28 Removed the line number of the snippet in the search results. 2020-06-17 21:22:44 +08:00
Cotes Chung 34d54f9349 Super feature: Pinned posts. 2020-06-06 18:51:56 +08:00
Cotes Chung 3caafbd50d Unified file naming style. 2020-06-05 06:14:40 +08:00
Cotes Chung b28724b4d4 Hide the empty trending tags from panel. 2020-06-02 02:34:24 +08:00
Cotes Chung 75c57d1725 Simplified the post JS file. 2020-06-02 02:34:24 +08:00
Cotes Chung 1a2767ca24 Combine local JS.
’yui-compressor’ is no longer used.
2020-05-30 17:48:16 +08:00
Cotes Chung 8db0e2d238 Speed up PV display. 2020-05-12 02:16:36 +08:00
Cotes Chung 6f42bbc6e5 Fix issue #37. 2020-04-23 22:11:50 +08:00
Cotes Chung 1ce1455ce2 Improved the PV fetching experience. 2020-04-04 01:03:00 +08:00
Cotes Chung 91bb726216 Format the pv number. 2020-03-19 20:34:13 +08:00
Cotes Chung 021311974f Replace the non-link elements.
Good for CSP.
2020-02-22 03:15:26 +08:00
Cotes Chung 4c631f6839 Enhanced JS function. 2020-02-21 04:48:07 +08:00
Cotes Chung 64125e6e42 Optimized the JS import sequence. 2020-02-21 04:48:07 +08:00
Cotes Chung 840eab9566 Feature: Added post sharing options.
Also added a license statement at the bottom of the posts.
2020-02-21 04:48:06 +08:00
Cotes Chung f302f798aa Change the tooltips placement.
Also modified code indentation.
2020-02-17 02:51:12 +08:00
Cotes Chung 8591e921e4 Added more project info in files. 2020-01-14 02:57:31 +08:00
Cotes Chung 3248343c22 A super huge improvement in search.
- Added a cleanup button within input form.
- Optimized TopBar responsive effect(for search layout).
- Redesign the search results layout.
2020-01-02 02:29:13 +08:00
Cotes Chung 3422e2a66f Fixed a potential JSONP callback exception. 2019-12-19 04:08:40 +08:00
Cotes Chung 9992e11228 Change the ToC hiding rule.
Adapt to bootstrap-toc plugins.
2019-12-16 00:06:45 +08:00
Cotes Chung 7f3ea0d79b Move file. 2019-12-02 03:05:23 +08:00
Cotes Chung 0e6edb0d1a Optimized JS to hide empty ToC. 2019-11-25 01:07:01 +08:00