aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* search: repair page.Denis 'GNUtoo' Carikli2025-06-152-4/+20
| | | | | | | | | | | | The search page is based on the website/builders/replicant-blog.scm page, and I started from there and tried to minimize the amount of code added to avoid duplication between the two pages. During that process, for some reasons my browser showed an old version of the page, and so I kept removing code and didn't see when it reverted to listing the articles. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: add forgetten HAUNT_PORT.Denis 'GNUtoo' Carikli2025-06-151-0/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* search: fix link.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add search page with instruction on how to search.Denis 'GNUtoo' Carikli2025-06-154-4/+119
| | | | | | | | | | | | | While the search could be implemented with things like Xapian which is available in most GNU/Linux distributions, not only this could be a lot of work, but it also makes the site not static anymore, which increase the attack surface of the server that runs the search. And finally it teach users the bad practice of relying on SAASS (service as a software substitute) or equivalent instead of doing the work themselves on their computers with the tools they want. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: tests: run them in parallel.Denis 'GNUtoo' Carikli2025-06-151-1/+12
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Rename convert.py to wordpresshtml2commonmark.py.Denis 'GNUtoo' Carikli2025-06-152-1/+1
| | | | | | The new name reflects more the goal of this script. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* tests: add forgetten test filesDenis 'GNUtoo' Carikli2025-06-154-0/+598
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: move scheme code in build/Denis 'GNUtoo' Carikli2025-06-152-39/+54
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: add target to automatically update the articles list.Denis 'GNUtoo' Carikli2025-06-154-5/+181
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: html/markdown: use real make targets.Denis 'GNUtoo' Carikli2025-06-151-41/+130
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: help: printf: fix number of arguments.Denis 'GNUtoo' Carikli2025-06-151-2/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* 37c3/FOSDEM 2024: Add Wordpress link, move CommonMark file.Denis 'GNUtoo' Carikli2025-06-152-0/+1
| | | | | | | | | | | | The existing CommonMark file was moved in the place where the html would be converted to CommonMark. When running 'make markdown', this avoids silently having two similar files under different names in the markdown directory. Instead any modifications of the file would show up in git and could be caught by humans more easily. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Update guile patch by backporting merged patch.Denis 'GNUtoo' Carikli2025-06-152-18/+16
| | | | | | | | | | | The guile patch was finally merged upstream in the commit bc2c612b89d3c4e7ef017a417af25b50f92fccee ("SRFI-19: Add support for ISO 8601 zones with a colon."). Since the patch changed a bit since the initial version, I backported the upstream commit. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py: licensing: Also add in Joonas's permission.Denis 'GNUtoo' Carikli2025-06-152-0/+7
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* haunt: Add Atom and RSS feeds.Denis 'GNUtoo' Carikli2025-06-151-1/+9
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* haunt: sort posts by most recent first.Denis 'GNUtoo' Carikli2025-06-151-1/+6
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py: licensing: Add permission for all blog posts authors's comments.Denis 'GNUtoo' Carikli2025-06-151-0/+7
| | | | | | | | Some people who are not blog post authors commented though so we'd have to look at what to do with these. They can probably be archived and displayed as well like a mailing list would be. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: Add in new licenses.Denis 'GNUtoo' Carikli2025-06-1556-1/+96
| | | | | | We now have a valid license for each of the articles. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* markdown: 37C3/FOSDEM 2024 report: Add authorship information.Denis 'GNUtoo' Carikli2025-06-151-0/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* tests.sh: Also test authorsihp information.Denis 'GNUtoo' Carikli2025-06-151-1/+9
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* tests.sh: fix license checks.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | This was broken from the start with the commit d4c78bb24dcc052a318dc73da8fc734d372394b2 ("Add very primitive tests."). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* haunt: Add metadata in the articles.Denis 'GNUtoo' Carikli2025-06-152-0/+22
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* markdown: 37C3/FOSDEM 2024 report: Add License.Denis 'GNUtoo' Carikli2025-06-151-0/+1
| | | | | | The two authors (dllud and GNUtoo) already agreed to use this license. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* tests: Add licensing checks for CommonMark files.Denis 'GNUtoo' Carikli2025-06-151-0/+10
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: use UTF-8.Denis 'GNUtoo' Carikli2025-06-1515-62/+69
| | | | | | | | | | | | | | | | | Guile use ISO-8859-1 by default for ports. Since the markdown contain some UTF-8 characters, the resulting HTML ended up with unknown characters replaced by some '??'. Converting some dashes or quotes to ASCII equivalent was done in previous commits and was not a big issue, but some files also have characters with accents, so keeping most of the UTF-8 characters as-is and moving directly to UTF-8 is a better solution. Some characters still don't work, and end up in some haunt build errors (which is better than silent faillures like before). They all have valid equivalents so they were replaced by their equivalents. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: help: Document build and deploy targets.Denis 'GNUtoo' Carikli2025-06-151-0/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile, links.txt: sort links to make it more reproducible.Denis 'GNUtoo' Carikli2025-06-152-61/+61
| | | | | | | | Without that fix, the order of the links.txt differs, and running 'make links.txt' often changes the order of the lines, making it harder to review any changes. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: help: fix outdated markdown target documentation.Denis 'GNUtoo' Carikli2025-06-151-5/+5
| | | | | | | | Since the commit 24ba2134fae77c76af8ab5880e1b21b519ed5941 ("Add generated markdown files."), we now have markdown files in git, so we need to force their recreation with make -B. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add very primitive tests.Denis 'GNUtoo' Carikli2025-06-153-0/+48
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: fix quotes.Denis 'GNUtoo' Carikli2025-06-157-37/+43
| | | | | | | | | Without this fix, site/new-replicant-60-0004-release-and-replicant-11-status.html has: "As for the details on what constitute a ???replaceable battery???, [...]". Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py: add output-file argument.Denis 'GNUtoo' Carikli2025-06-152-7/+11
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* markdown: regenerate after tags/licenses changes.Denis 'GNUtoo' Carikli2025-06-1571-86/+86
| | | | | | | For some reasons tags and licenses are moved in the metadata header, so we need to add-in the changes to the generated markdown files. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py: fix tags and licenses line breaks.Denis 'GNUtoo' Carikli2025-06-151-2/+2
| | | | | | | This was broken in the commit 32c41425a104e2a309f78507e31c578efa0fe632 ("convert.py: metadata: Convert prints to strings."). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py: metadata: Convert prints to strings.Denis 'GNUtoo' Carikli2025-06-151-2/+2
| | | | | | The get_metadata function was supposed to return text not print it. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py: Improve help.Denis 'GNUtoo' Carikli2025-06-151-2/+2
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: fix some broken links.Denis 'GNUtoo' Carikli2025-06-1530-138/+96
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: Fix em dash.Denis 'GNUtoo' Carikli2025-06-153-5/+7
| | | | | | | | | Some generated markdown have em dashes, such as 2010_11_fdroid-a-free-software-alternative-to-google-market.md so like with the commit e8885a941d90661a7bf45996a0ffcc1e4262d090 ("convert.py, markdown: Fix en dash.") we also needs to convert them to minuses. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: Fix en dash.Denis 'GNUtoo' Carikli2025-06-153-9/+13
| | | | | | | | | | | | Some generated markdown have en dashes, and without this fix, it ends up being displayed as '???' in the generated HTML files. As an example with site/replicant--37c3.html we have: Introduction to Replicant ??? December 28 10:00, Saal D Converting the en dashes into minus fixed it. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Revert "convert.py, markdown: Fix trailing whitespaces."Denis 'GNUtoo' Carikli2025-06-1524-70/+62
| | | | | | | | | | | | | This reverts commit 4ff9d384f766cee1d8e322b9f6b747161f55f85e ("convert.py, markdown: Fix trailing whitespaces."). Without this revert, in site/replicant--37c3.html we see 'Location: G5, Hall 3, Level 0 DECT: 8652' instead of: Location: G5, Hall 3, Level 0 DECT: 8652 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: Fix trailing whitespaces.Denis 'GNUtoo' Carikli2025-06-1524-62/+70
| | | | | | | | | Many lines have 2 spaces at the end. An example is the 'Location: [G5, Hall 3, Level 0][4] ' line inside the markdown/2023_12_replicant-37c3.md file. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: Fix right single quotation mark.Denis 'GNUtoo' Carikli2025-06-1561-369/+373
| | | | | | | | | | | | | | | Some generated markdown have right single quotation marks, and without this fix, it ends up being displayed as '???' in the generated HTML files. As an example with site/new-replicant-test-images-available.html we have: We are please to remind you that, as usual, Replicant is fully free software and doesn???t include any proprietary firmwares. Converting the right single quotation marks to apostrophes fixed it. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add Replicant banner.Denis 'GNUtoo' Carikli2025-06-154-3/+36
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* gitignore: site: only ignore site in top directory.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* gitignore: organize it in sections.Denis 'GNUtoo' Carikli2025-06-151-0/+4
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* gitignore: Fix WordPress pages path.Denis 'GNUtoo' Carikli2025-06-151-9/+9
| | | | | | | This was broken by the commit eb2d282a86f9a1895e091176f0c1fcf4df893fb0 ("Move articles in wordpress/articles."). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Makefile: Add deploy target.Denis 'GNUtoo' Carikli2025-06-151-1/+4
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* twentyeleven CSS: remove comment form related CSS.Denis 'GNUtoo' Carikli2025-06-151-166/+0
| | | | | | | | The haunt generated blog doesn't have the ability to comment directly within the blog and for now having the ability to comment through the mailing list is probably easier to implement. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* twentyeleven CSS: remove error404 related CSS.Denis 'GNUtoo' Carikli2025-06-151-51/+0
| | | | | | | The haunt generated blog doesn't have a specific 404 error file that works with the twentyeleven CSS. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* twentyeleven CSS: remove sections for Internet Explorer.Denis 'GNUtoo' Carikli2025-06-151-34/+0
| | | | | | | | | | | This CSS should be simplified, and starting to remove parts that are not used or with marginal use makes sense. People stuck on old Windows or Mac OS versions can probably use old versions of free software browsers instead, or browser like K-Meleon which look free software. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Sync markdown files with 'make markdown'.Denis 'GNUtoo' Carikli2025-06-1571-0/+86
| | | | | | | | The files were verified to work fine with 'make build', and the generated website seems to be the same than before (including with the same conversion issues). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>