aboutsummaryrefslogtreecommitdiff
path: root/internal/internal.go
AgeCommit message (Collapse)Author
2026-02-08internal: include the robots.txt from _wui/doc/ and _wui/ directoryShulhan
The robots.txt in _wui/doc/ is for awwan.org, while in _wui/ is for tour.awwan.org. This remove the unneeded robots.txt from _tour/ directory that we previously assume for tour.
2025-12-27all: update all dependencies and fix linter warningsShulhan
In the internal/, fix the "reuse lint" warnings due to embedded SPDX headers string that contains "\n" considered as invalid. Realign struct Statement based on fieldaligment check.
2025-01-12all: update all dependenciesShulhan
2025-01-12go.mod: update all dependenciesShulhan
This changes remove the replace module and back to upstream. Maintaining fork is not easy and take a lot of time. As we seen in crypto fork, we are 10 minor version behind upstream.
2024-03-22all: replace module "share" with "pakakeh.go"Shulhan
The "share" project has been moved to SourceHut with new name "pakakeh.go".
2023-12-16_wui/doc: change the HTML element "dt" to have bold fontShulhan
This is for CHANGELOG so the subject of changes highlighted make it different with the changes description.
2023-12-10go.mod: update module ciigoShulhan
2023-11-17internal: use the node SysPath to convert markup fileShulhan
This fix an error NewFileMarkup: stat /doc/awwan.adoc: no such file or directory When adoc file changes.
2023-11-15internal: use mlog for all loggingShulhan
While at it, format the log string to be consistent.
2023-11-11internal: use separate DirWatcher instead of using instance of MemfsWuiShulhan
In MemfsWui we exclude the "adoc" files but when calling Watch we pass it as to be included. When the adoc file changes, sometimes the changes not detected, probably there is a bug in the memfs.Watch. For now, we use separate instance of DirWatcher to watch any changes on adoc, html, js, md, and files.
2023-10-29cmd/www-awwan: move command "embed" as part of internal buildShulhan
2023-10-29go.mod: update share module to tipShulhan
The latest share module fix the generated embedded Go regarding regex for Includes and Excludes not compiled, which causes some files get included when running the instance with Watch method.
2023-10-29all: rename directory "_www" to "_wui"Shulhan
Since we now have website, the directory name "_www" become misleading. The actual website files is located under "_www/doc", the "_www" directory is for web-user interface which includes documentation that has the same content as our websites.
2023-10-29internal: use separate DirWatcher instead of using memfs instanceShulhan
Using separate DirWatcher will prevent the watched files being included during embed.
2023-10-29_www/doc: update todo and READMEShulhan
In todo we remove completed and unknown tasks which makes the current awwan implementation is feature complete in CLI perspective. While at it, fix missing index.css not included in internal memfs.
2023-10-29internal: set the template file when converting markupShulhan
2023-10-29internal: add missing copyright headersShulhan
2023-10-29all: replace environment AWWAN_DEVELOPMENT with flag "-dev"Shulhan
Using flag "-dev" is more explicit than using environment variable.
2023-10-25_www: setup eslint to lint the TypeScript fileShulhan
ESLint help us to make the code consistent and possible errors in the future changes.
2023-10-18_www/doc: convert the background image to jpgShulhan
Using jpg reduce the image size from ~130 KB to ~48 KB.
2023-10-10all: setup integration tests using mkosi with systemd-nspawnShulhan
This is the initial setup as experiments. All of the steps and settings are documented in https://kilabit.info/journal/2023/using_systemd_mkosi/ .
2023-09-28internal: replace esbuild api.Build with api.BuildContextShulhan
Using api.BuildContext [1] is more efficient than building again because some of the data from the previous build is cached and can be reused if the original files haven't changed since the previous build. While at it, we update the github.com/evanw/esbuild module to latest release. [1] https://esbuild.github.io/api/#rebuild
2023-05-14all: update module share and ciigo to latest versionShulhan
This changes replace share package lib/io with lib/os, since the former has been deprecated.
2023-03-26all: move code for development to package internalShulhan