summaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* search cgi: follow the search database's attribute and elementRalph Amissah2026-09-141-101/+101
| | | | | | | | | | | | | | | The database's rows now carry data-indent= rather than a bare indent=, and <code> rather than the obsolete <tt>, because the cgi renders those rows into html where neither of the old forms is valid. The stylesheet here holds its own copy of the rule, so it follows: p[indent="h0i0"] -> p[data-indent="h0i0"] (100 selectors) tt { ... } -> code { ... } This is paired with the sisudoc-spine commit "epub, html, db: use of elements & attributes, fix". Either alone loses the indent styling of search results. (assisted by Claude-Code)
* search: allow a db path from the environmentRalph Amissah2026-09-141-2/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow a db path from the environment, and refuse what it cannot read Three changes related to opening the database: - provide an environment override for the db path: SPINE_SEARCH_DB_PATH overrides the compiled-in db_sqlite_path, beside the other environment.get calls. Path was the one setting without an override, (SERVER_NAME, REQUEST_SCHEME, SCRIPT_NAME, QUERY_STRING could come from the environment). This adds consistency and makes testing the search form database builds easier (as it no longer requires rebuilding the binary with a patched configuration for readily accessible db path) - selected_db is required to be a plain filename within the configured directory, the database is opened read only, and a database that is not there is named rather than created. - The form now reads PRAGMA user_version, as stamped by spine, and refuses a database built to another schema version, naming both versions and the two commands that rebuild it. A database carrying neither of the tables it joins is refused the same way. sqlite_db_schema_version_- is expected and has to be in sync/step with the sqlite_db_schema_version in sisudoc-spine src/sisudoc/outputs/io_out/sqlite.d; the two tests added there under test/ check that they agree. (assisted by Claude-Code)
* change search result symbols for show index & textRalph Amissah2026-06-251-4/+9
|
* org headers rearranged (& odd hilighting issue)Ralph Amissah2026-05-042-18/+18
|
* src/ext_deplends updated arsd:{core.d,cgi.d}Ralph Amissah2026-03-052-1324/+2174
|
* 2026 (+ org-mode header minor)Ralph Amissah2026-01-103-22/+22
|
* src/ext_deplends updated arsd:{core.d,cgi.d}Ralph Amissah2025-08-282-62/+697
|
* ext_depends/arsd/{core,cgi}.d downloaded/updatedRalph Amissah2025-02-162-270/+3793
|
* 2025Ralph Amissah2025-01-013-4/+4
|
* nix build flake.nix fixRalph Amissah2024-12-032-0/+2
|
* READMEs & additional copyright (as sisudoc-spine)Ralph Amissah2024-05-072-0/+186
|
* arsd.core.d importRalph Amissah2024-05-071-0/+1
|
* 0.16.0 sync ver. & src dir name with sisudoc spineRalph Amissah2024-04-111-1/+1
|
* 0.15.0sisudoc-spine-search_v0.15.0Ralph Amissah2024-04-111-2/+2
|
* spine search, reorganize, little thingssisudoc-spine-search_v0.14.0Ralph Amissah2024-03-152-1930/+4
| | | | | | - src introduce module - reorganize src dir - rename org file
* 2024Ralph Amissah2024-01-061-4/+3
|
* arsd cgi.d updatedRalph Amissah2023-09-062-232/+1068
|
* search form, "next ❯❯" removed for initial stateRalph Amissah2023-06-232-16/+32
|
* cosmetic, use of ❮ ❯ & ፨ unicode charsRalph Amissah2023-06-192-18/+22
| | | | | | | | | | - use of ❮ & ❯ unicode chars for prev & next, replacing &lt; &gt; aka. < > - use of ፨ (paragraph separator) replacing previously used ※ (reference mark) (either would be fairly appropriate and may end up using more or less interchangeably)
* arsd/cgi.d updated now includes arsd/core.d ldc2 1.32.2Ralph Amissah2023-06-092-269/+7022
|
* cgi search, cosmetic on sisu spine infoRalph Amissah2023-04-202-3/+7
|
* 2023, year rollover, old habitRalph Amissah2023-01-011-2/+2
|
* nix flake, things nixRalph Amissah2022-12-3126-0/+0
|
* sort how you want this to beRalph Amissah2022-12-1128-0/+262134