Commit Graph

5 Commits (fefda09c2b18397945d487f2a6ce97f499317fe5)

Author SHA1 Message Date
Zef Hemel f3a84e35c0 Cleaned up path file extension checking and handling conflicting copies 2024-07-13 13:51:49 +02:00
Семён Новиков 7e39bcfc6c Quick and dirty fix for the ".conflicted." pages navigation issue
This will allow user to Ctrl-K to conflicted page, but refreshing the
page still gives 404.
2024-07-13 13:37:32 +02:00
Semyon Novikov 09e7f1f906
Fix up validatePageName routine (#912)
* Fix up validatePageName routine

File extensions can contain numbers too.
My main motivation was to enable myself hosting `woff2` files right from
my space, like I do for `ttf` files.

Also added some tests.

* Fix up typo and add more numeric samples

* Add missing semicolons

(sorry, I'm not really js/ts programmer)

* Make linter happy
2024-07-03 07:50:26 +02:00
Maks 8a3782e946
improve dependency management (#770)
* use import_map.json instead of per-file import

* remove test_deps.ts in favor of import_map

* remove common/deps.ts in favor of import_map

* use import_map instead of server/deps.ts

* make all plug-api files usable without an import_map

* make all lib files usable without an import_map

* remove web/deps.ts in favor of import_map

* fix plug build

* remove plug-api/deps.ts in favor of lib/deps.ts

* fix server deps bundled in client deps
2024-03-16 15:29:24 +01:00
Zef Hemel 60d3199d64
Giant code reorganization (#690)
Code restructure
2024-02-08 21:00:45 +01:00