Commit Graph
84 Commits
Author SHA1 Message Date
Martin Donath dcd6f7648d zensical:docs - add comment on title handling
Signed-off-by: Martin Donath <martin.donath@squidfunk.com>
2025-11-11 19:07:17 +01:00
Krysztal Huang 98d4bdd822 zensical:fix - crashed while processing Chinese characters in path
Signed-off-by: Krysztal112233 <krysztal.huang@outlook.com>
2025-11-12 02:06:29 +08:00
Martin Donath 9af791b997 Merge pull request #54 from Skaronator/master
fix: missing commas in bootstrap template
2025-11-11 18:06:10 +01:00
Martin Donath d7471b57a1 Merge pull request #61 from zensical/chore/copyright
workspace:chore - update copyright
2025-11-11 12:54:14 +01:00
squidfunk 26624ce69a workspace:chore - update copyright
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2025-11-11 12:53:44 +01:00
Martin Donath a8cc6269f4 Merge pull request #60 from zensical/chore/copyright
workspace:chore - update copyright
2025-11-11 12:33:39 +01:00
squidfunk 7e9860441c workspace:chore - update copyright
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2025-11-11 12:33:07 +01:00
Martin Donath a21f01ef0d Merge pull request #59 from zensical/chore/copyright
workspace:chore - update copyright to reflect DCO
2025-11-11 12:26:16 +01:00
squidfunk 5b9b15c798 workspace:chore - update copyright to reflect DCO
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2025-11-11 12:25:58 +01:00
Martin Donath 16e6008e16 Merge pull request #45 from aljazerzen/fix-sdist
workspace:fix - maturin source dist .github dir
2025-11-11 12:14:33 +01:00
Martin Donath 6efe48e476 workspace:style - change includes to alphabetical order
Signed-off-by: Martin Donath <martin.donath@squidfunk.com>
2025-11-11 12:14:00 +01:00
Martin Donath cce7f2ce96 Merge pull request #58 from aljazerzen/fix-serve-addrs
zensical-serve:fix - deduplicate server bind addrs
2025-11-11 11:02:10 +01:00
Martin Donath 08d6d03436 zensical-serve:docs - clarify socket address deduplication
Signed-off-by: Martin Donath <martin.donath@squidfunk.com>
2025-11-11 10:58:18 +01:00
Aljaž M. Eržen 3801c9242f zensical-serve:fix - deduplicate server bind addrs
`ToSocketAddrs` might sometimes return duplicate addresses [^1][1]
[^2][2]. This results in the server trying to open socket multiple times
and failing with "Address already in use".

This PR fixes it by deduplicating address in `server::Builder::bind`.

It does this in O(n^2) time, but this should not matter here.

[1]: https://users.rust-lang.org/t/a/2071
[2]: https://stackoverflow.com/questions/40782933

Signed-off-by: aljazerzen <aljaz@erzen.si>
2025-11-11 10:25:50 +01:00
Aljaž Mur Eržen 0295d3a1da workspace:fix - maturin source dist .github dir
Signed-off-by: aljazerzen <aljaz@erzen.si>
2025-11-11 07:59:22 +01:00
Niklas Wagner fd7ea83e1a fix: missing commas in bootstrap template part2
Signed-off-by: Niklas Wagner <Skaro@Skaronator.com>
2025-11-10 21:03:10 +01:00
Niklas Wagner f86b373867 fix: missing commas in bootstrap template
Signed-off-by: Niklas Wagner <Skaro@Skaronator.com>
2025-11-10 20:24:39 +01:00
Martin Donath 976ac4bfd8 Merge pull request #53 from zensical/fix/path-slashes
zensical:fix - base URL uses backslashes on Windows
2025-11-10 18:58:24 +01:00
squidfunk b40de2723e zensical:fix - base URL uses backslashes on Windows
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2025-11-10 18:54:21 +01:00
Martin Donath 4758de0ee4 Merge pull request #50 from zensical/fix/edit-uri
zensical:fix - edit_uri can't be set explicitly
2025-11-10 16:33:13 +01:00
squidfunk dce869c097 zensical:fix - edit_uri doesn't use docs_dir for default
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2025-11-10 16:25:02 +01:00
squidfunk 20818f0131 zensical:fix - edit_uri can't be set explicitly
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2025-11-10 16:22:03 +01:00
Martin Donath ad3bb2d15c Merge pull request #42 from RobertDeRose/fix/open-with-browser
workspace:fix - open browser only after server starts
2025-11-10 16:00:20 +01:00
Martin Donath 360b8d5d92 zensical:docs - add comment for function opening browser
Signed-off-by: Martin Donath <martin.donath@squidfunk.com>
2025-11-10 15:33:37 +01:00
Robert DeRose ed40182796 workspace:fix - open browser only after server starts
Signed-off-by: Robert DeRose <RobertDeRose@users.noreply.github.com>
2025-11-10 08:42:59 -05:00
Martin Donath 874867e894 Merge pull request #26 from zensical/fix/config-parsing
zensical:chore - bump version
v0.0.5
2025-11-07 19:42:50 +01:00
squidfunk 1296892da6 zensical:chore - bump version 2025-11-07 19:42:11 +01:00
Martin Donath 8cae458e9f Merge pull request #23 from zensical/fix/config-parsing
Configuration parsing bugfixes
2025-11-07 19:33:29 +01:00
Alex Voss 69c5bc645a zensical:fix warn when .github exists on new 2025-11-07 13:24:15 -05:00
squidfunk 6c47c6d48c zensical:fix - disable tracing by default 2025-11-07 19:11:44 +01:00
squidfunk 27f7f1b6fc zensical:fix - extra templates incorrectly handled 2025-11-07 15:41:52 +01:00
squidfunk 083656a564 zensical:fix - add protocol to printed serve URL 2025-11-07 14:07:13 +01:00
squidfunk fdc412a261 workspace:fix - use tomli for TOML parsing in Python < 3.11 2025-11-07 14:06:33 +01:00
squidfunk 74de4812ec workspace:fix - use tomli for TOML parsing in Python < 3.11 2025-11-07 13:51:48 +01:00
squidfunk 2e171f527a workspace:fix - offline plugin breaks config parser 2025-11-07 13:46:14 +01:00
Martin Donath c22cfbc33e Merge pull request #14 from zensical/release
Prepare 0.0.4 release
v0.0.4
2025-11-06 13:47:45 +01:00
squidfunk cc4e6e44cb workspace:chore - release 0.0.4 2025-11-06 13:46:46 +01:00
Martin Donath c961b98a31 Merge pull request #13 from zensical/ghpages
zensical:fix - GH Action not working, not created
2025-11-06 13:42:09 +01:00
Alex Voss 558b72557c zensical:fix GH Action not working, not created 2025-11-05 18:55:44 -05:00
Martin Donath 2add27a5c7 Merge pull request #11 from zensical/extracss
zensical:fix extra_css/js in wrong location
2025-11-05 23:01:06 +01:00
Alex Voss e0485025d5 zensical:fix extra_css/js in wrong location
fix for https://github.com/zensical/zensical/issues/9
2025-11-05 16:44:05 -05:00
Martin Donath d09c34601e Merge pull request #7 from zensical/feature/allow-running-with-python-m
zensical:feature - allow running as a script with `pyton -m zensical`
2025-11-05 17:55:17 +01:00
Timothée Mazzucotelli cbe1d25ffc zensical:feature - allow running as a script with pyton -m zensical 2025-11-05 17:40:22 +01:00
Martin Donath 78102f97b9 Merge pull request #6 from zensical/docs/discord
Update Discord invite link
2025-11-05 17:33:36 +01:00
squidfunk d7f00b0238 workspace:chore - update Discord invite link 2025-11-05 17:32:44 +01:00
squidfunk d1bb2eec9c workspace:fix - include LICENSE.md in package 2025-11-05 16:35:58 +01:00
squidfunk 65e1b31258 workspace:chore - update issue templates 2025-11-05 13:34:33 +01:00
squidfunk 1d9185fab8 workspace:chore - fix copyright 2025-11-05 13:22:23 +01:00
squidfunk e54c19bbb1 workspace:chore - update README 2025-11-05 10:43:53 +01:00
squidfunk 11bd8c0068 workspace:chore - update README v0.0.3 2025-11-05 10:01:53 +01:00