Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
367262e
fix(i18n): correct fr-FR translations (#1949)
denis-games Sep 16, 2024
3ab3b84
refactor: replace deprecated meta element
cotes2020 Sep 18, 2024
5a63244
fix(pwa): site baseurl not passed to `app.js` (#1955)
cotes2020 Sep 18, 2024
fac6116
build(dev-deps): bump 7 dependencies versions
cotes2020 Sep 23, 2024
fbcdf8c
Merge branch 'master' into production
cotes2020 Sep 23, 2024
fd0df83
chore(release): 7.1.1
semantic-release-bot Sep 23, 2024
7374906
Merge branch 'production'
semantic-release-bot Sep 23, 2024
e6b87d2
chore: remove `h1` element from site title (#1960)
kungfux Sep 24, 2024
93f616b
fix: pagination error when pinned posts exceed the page size (#1965)
cotes2020 Sep 26, 2024
740bd84
chore(i18n): update hungarian translation (#1976)
borosbence Oct 1, 2024
8a064a5
feat: show toc on mobile screens (#1964)
kungfux Oct 11, 2024
03e302c
chore: close toc-popup gracefully with Esc key (#1990)
kungfux Oct 13, 2024
6f46113
refactor: improve toc popup module
cotes2020 Oct 19, 2024
c1bd9eb
refactor: reduce duplicate scss
cotes2020 Oct 20, 2024
d4f7f39
refactor: simplify sidebar animation
cotes2020 Oct 22, 2024
74ed063
ci: block invalid pull requests (#2010)
cotes2020 Oct 25, 2024
c7f9675
ci: skip test for invalid PRs (#2013)
cotes2020 Oct 26, 2024
4ef3cd8
ci: improve workflow triggers (#2017)
cotes2020 Oct 29, 2024
86b13c9
chore: improve feed interoperability (#2024)
kungfux Nov 1, 2024
42dea8e
build(deps): update `wdm` gem version for compatibility (#2028)
supreethmv Nov 3, 2024
2f84497
chore: change stale label to `inactive`
cotes2020 Nov 8, 2024
d51345e
ci: reduce unnecessary pr-filter runs (#2033)
cotes2020 Nov 8, 2024
65f960c
perf: speed up page rendering and jekyll build process (#2034)
cotes2020 Nov 16, 2024
c69914e
ci: avoid repeated runs of stylelint (#2057)
cotes2020 Nov 23, 2024
35c794c
perf: modular sass architecture (#2052)
cotes2020 Nov 24, 2024
5756b8f
build(deps-dev): upgrade dependencies
cotes2020 Nov 24, 2024
1164769
build(deps): update dependencies version
cotes2020 Nov 24, 2024
5265b03
feat: support vertical scrolling for toc in desktop mode (#2064)
cotes2020 Nov 27, 2024
82ba82e
Merge branch 'master' into production
cotes2020 Nov 28, 2024
3df83fd
chore(release): 7.2.0
semantic-release-bot Nov 28, 2024
2966fc1
Merge branch 'production'
semantic-release-bot Nov 28, 2024
b4019f3
fix: ensure pageviews are fetched after DOM is loaded (#2071)
kungfux Nov 30, 2024
8e55e4d
build: correct the js rollup watch path (#2074)
cotes2020 Nov 30, 2024
a16aa7d
fix: correct the import condition for theme script (#2075)
kungfux Nov 30, 2024
4180992
style: add indentation to js code
cotes2020 Dec 3, 2024
8280adb
fix(toc): resume fade up animation in desktop mode (#2085)
cotes2020 Dec 3, 2024
7ea3545
refactor: reduce the height of the TOC bottom overlay in desktop mode
cotes2020 Dec 5, 2024
976e1a1
fix(build): exclude `purgecss.js` from output files (#2090)
cotes2020 Dec 5, 2024
6c112c6
Merge branch 'master' into production
cotes2020 Dec 5, 2024
7630356
chore(release): 7.2.1
semantic-release-bot Dec 5, 2024
f55cc31
fix: js files in subdirectories are excluded from the site output (#2…
cotes2020 Dec 6, 2024
d87c2de
Merge branch 'hotfix/7.2.2' into production
cotes2020 Dec 6, 2024
0360c9e
chore(release): 7.2.2
semantic-release-bot Dec 6, 2024
2f00d41
fix: refreshing mermaid theme may fail (#2113)
cotes2020 Dec 11, 2024
1b4e318
fix(ui): gap between TOC entries is inconsistent (#2119)
cotes2020 Dec 15, 2024
e0c3faf
fix(ui): slow script loading hides TOC fade-up effect in desktop (#2120)
cotes2020 Dec 15, 2024
e741aa4
Merge branch 'hotfix/7.2.3' into production
cotes2020 Dec 15, 2024
c174f62
chore(release): 7.2.3
semantic-release-bot Dec 15, 2024
32051da
fix: toc not visible when switching from mobile to desktop mode (#2139)
cotes2020 Dec 21, 2024
1b93f6d
docs: update the setting name for the comments
cotes2020 Dec 21, 2024
8a4d0bc
fix(ui): left borderline of TOC is notched (#2140)
cotes2020 Dec 21, 2024
774ee93
Release v7.2.4 (#2141)
cotes2020 Dec 21, 2024
5e41d87
chore(release): 7.2.4
semantic-release-bot Dec 21, 2024
f2d881f
fix: solve merge conflicts applying v7.2.4
jwsung91 Feb 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ name: CD

on:
push:
branches:
- production
tags-ignore:
- "**"
branches: [production]
tags-ignore: ["**"]

jobs:
release:
if: ${{ ! startsWith(github.event.head_commit.message, 'chore(release)') }}
permissions:
contents: write
issues: write
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
name: "CI"
name: CI

on:
push:
branches:
- "master"
- "hotfix/**"
- master
- "hotfix/*"
paths-ignore:
- ".github/**"
- "!.github/workflows/ci.yml"
- ".gitignore"
- .gitignore
- "docs/**"
- "README.md"
- "LICENSE"
- README.md
- LICENSE
pull_request:
paths-ignore:
- ".github/**"
- "!.github/workflows/ci.yml"
- .gitignore
- "docs/**"
- README.md
- LICENSE

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Lint Commit Messages
on: pull_request

on:
push:
branches:
- master
- "hotfix/*"
pull_request:

jobs:
commitlint:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/pr-filter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: PR Filter

on:
pull_request_target:
types: [opened, reopened]

jobs:
check-template:
if: github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Check PR Content
id: intercept
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const script = require('.github/workflows/scripts/pr-filter.js');
await script({ github, context, core });
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
required: true
BUILDER:
required: true
workflow_dispatch:

jobs:
launch:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/scripts/pr-filter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
function hasTypes(markdown) {
return /## Type of change/.test(markdown) && /-\s\[x\]/i.test(markdown);
}

function hasDescription(markdown) {
return (
/## Description/.test(markdown) &&
!/## Description\s*\n\s*(##|\s*$)/.test(markdown)
);
}

module.exports = async ({ github, context, core }) => {
const pr = context.payload.pull_request;
const body = pr.body === null ? '' : pr.body;
const markdown = body.replace(/<!--[\s\S]*?-->/g, '');
const action = context.payload.action;

const isValid =
markdown !== '' && hasTypes(markdown) && hasDescription(markdown);

if (!isValid) {
await github.rest.pulls.update({
...context.repo,
pull_number: pr.number,
state: 'closed'
});

await github.rest.issues.createComment({
...context.repo,
issue_number: pr.number,
body: `Oops, it seems you've ${action} an invalid pull request. No worries, we'll close it for you.`
});

core.setFailed('PR content does not meet template requirements.');
}
};
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
pull-requests: write

env:
STALE_LABEL: stale
STALE_LABEL: inactive
EXEMPT_LABELS: "pending,planning,in progress"
MESSAGE: >
This conversation has been automatically marked as stale because it has not had recent activity.
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/style-lint.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ package-lock.json
!.vscode/tasks.json

# Misc
# _sass/dist
# assets/js/dist
_sass/vendors
assets/js/dist
31 changes: 31 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"ignoreFiles": ["_sass/vendors/**"],
"extends": "stylelint-config-standard-scss",
"rules": {
"no-descending-specificity": null,
"shorthand-property-no-redundant-values": null,
"at-rule-no-vendor-prefix": null,
"property-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null,
"color-function-notation": "legacy",
"alpha-value-notation": "number",
"selector-not-notation": "simple",
"color-hex-length": "long",
"declaration-block-single-line-max-declarations": 3,
"scss/operator-no-newline-after": null,
"rule-empty-line-before": [
"always",
{
"ignore": ["after-comment", "first-nested"]
}
],
"value-keyword-case": [
"lower",
{
"ignoreProperties": ["/^\\$/"]
}
],
"media-feature-range-notation": "prefix"
}
}
6 changes: 1 addition & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,4 @@ platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo-data"
end

gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

group :jekyll_plugins do
gem 'jekyll-compose'
end
gem "wdm", "~> 0.2.0", :platforms => [:mingw, :x64_mingw, :mswin]
5 changes: 3 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,9 @@ exclude:
- tools
- README.md
- LICENSE
- "*.config.js"
- package*.json
- purgecss.js
- rollup.config.js
- "package*.json"

jekyll-archives:
enabled: [categories, tags]
Expand Down
6 changes: 3 additions & 3 deletions _data/locales/fr-FR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tabs:
categories: Catégories
tags: Tags
archives: Archives
about: A propos de
about: À propos

# the text displayed in the search bar & search results
search:
Expand All @@ -32,12 +32,12 @@ copyright:
license:
template: Cet article est sous licence :LICENSE_NAME par l'auteur.
name: CC BY 4.0
link: https://creativecommons.org/licenses/by/4.0/
link: https://creativecommons.org/licenses/by/4.0/deed.fr

# Displayed in the footer
brief: Certains droits réservés.
verbose: >-
Sauf mention contraire, les articles de ce site sont publiés sous licence
Sauf mention contraire, les articles de ce site sont publiés
sous la licence Creative Commons Attribution 4.0 International (CC BY 4.0) par l'auteur.

meta: Propulsé par :PLATFORM avec le thème :THEME
Expand Down
27 changes: 20 additions & 7 deletions _data/locales/hu-HU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,23 @@ tabs:
categories: Kategóriák
tags: Címkék
archives: Archívum
about: Rólam
about: Bemutatkozás

# the text displayed in the search bar & search results
search:
hint: keresés
cancel: Mégse
no_results: Oops! Nincs találat a keresésre.
no_results: Hoppá! Nincs találat a keresésre.

panel:
lastmod: Legutóbb frissítve
trending_tags: Népszerű Címkék
toc: Tartalom
links: Blog linkek

copyright:
# Shown at the bottom of the post
license:
template: A bejegyzés :LICENSE_NAME licenccel rendelkezik.
template: A bejegyzést a szerző :LICENSE_NAME licenc alatt engedélyezte.
name: CC BY 4.0
link: https://creativecommons.org/licenses/by/4.0/

Expand All @@ -42,7 +41,7 @@ copyright:
Creative Commons Attribution 4.0 International (CC BY 4.0) licenccel rendelkeznek,
hacsak másképp nincs jelezve.

meta: Készítve :PLATFORM motorral :THEME témával
meta: Készítve :THEME témával a :PLATFORM platformra.

not_found:
statement: Sajnáljuk, az URL-t rosszul helyeztük el, vagy valami nem létezőre mutat.
Expand Down Expand Up @@ -73,7 +72,21 @@ post:
title: Link másolása
succeed: Link sikeresen másolva!

# Date time format.
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
df:
post:
strftime: "%Y. %B. %e."
dayjs: "YYYY. MMMM D."
archives:
strftime: "%B"
dayjs: "MMM"

# categories page
categories:
category_measure: kategória
post_measure: bejegyzés
category_measure:
singular: kategória
plural: kategória
post_measure:
singular: bejegyzés
plural: bejegyzés
8 changes: 4 additions & 4 deletions _data/origin/cors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Sour
# Libraries

toc:
css: https://cdn.jsdelivr.net/npm/tocbot@4.29.0/dist/tocbot.min.css
js: https://cdn.jsdelivr.net/npm/tocbot@4.29.0/dist/tocbot.min.js
css: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.css
js: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.js

fontawesome:
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/all.min.css
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7.1/css/all.min.css

search:
js: https://cdn.jsdelivr.net/npm/[email protected]/dest/simple-jekyll-search.min.js

mermaid:
js: https://cdn.jsdelivr.net/npm/mermaid@11.0.2/dist/mermaid.min.js
js: https://cdn.jsdelivr.net/npm/mermaid@11.4.0/dist/mermaid.min.js

dayjs:
js:
Expand Down
1 change: 0 additions & 1 deletion _includes/analytics/cloudflare.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
src="https://static.cloudflareinsights.com/beacon.min.js"
data-cf-beacon='{"token": "{{ site.analytics.cloudflare.id }}"}'
></script>
<!-- End Cloudflare Web Analytics -->
5 changes: 2 additions & 3 deletions _includes/analytics/fathom.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
<script
src="https://cdn.usefathom.com/script.js"
data-site="{{ site.analytics.fathom.id }}"
defer>
</script>
<!-- End Fathom Code -->
defer
></script>
2 changes: 1 addition & 1 deletion _includes/analytics/google.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script defer src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.id }}"></script>
<script>
document.addEventListener('DOMContentLoaded', function (event) {
document.addEventListener('DOMContentLoaded', () => {
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
Expand Down
13 changes: 6 additions & 7 deletions _includes/analytics/matomo.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
<script>
document.addEventListener('DOMContentLoaded', () => {
var _paq = (window._paq = window._paq || []);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
var u="//{{ site.analytics.matomo.domain }}/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', {{ site.analytics.matomo.id }}]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
});
</script>
<!-- End Matomo Code -->
File renamed without changes.
Loading
Loading