about summary refs log tree commit diff stats
path: root/internal
Commit message (Collapse)AuthorAgeLines
* fix: search all missing expected resultsAlan Pearce2024-11-10-1/+1
| | | | Fixes: https://todo.sr.ht/~alanpearce/searchix/1
* fix: don't error when item not foundAlan Pearce2024-08-17-0/+4
|
* fix: tell browsers not to capitalise search inputAlan Pearce2024-07-16-0/+1
|
* fix: nil panics rendering last page of search resultsAlan Pearce2024-07-13-1/+1
|
* fix: panic rendering error pagesAlan Pearce2024-07-13-0/+2
|
* refactor: ignore unused variableAlan Pearce2024-07-13-1/+1
|
* fix: opensearch searches not using input queryAlan Pearce2024-07-12-5/+3
|
* refactor: remove unnecessary DocumentData structAlan Pearce2024-07-12-16/+6
|
* feat: enable combined searchAlan Pearce2024-07-12-54/+158
|
* fix: extra data after error parsing query stringAlan Pearce2024-07-12-0/+2
|
* fix: panic rendering search resultsAlan Pearce2024-07-11-1/+4
|
* feat: more structured loggingAlan Pearce2024-07-01-118/+155
|
* fix: panic on search errorAlan Pearce2024-07-01-0/+2
|
* refactor: rename go moduleAlan Pearce2024-06-29-55/+73
|
* feat: add message for users with javascript disabledAlan Pearce2024-06-25-0/+5
|
* fix: panic rendering resultsAlan Pearce2024-06-21-2/+16
|
* fix: incorrect formatting of options results headersAlan Pearce2024-06-21-2/+2
|
* refactor: use encoding/xml for OpenSearchDescriptionAlan Pearce2024-06-21-140/+70
|
* refactor: switch to templ for HTML templatesAlan Pearce2024-06-21-84/+569
|
* feat: add low-memory modeAlan Pearce2024-06-09-16/+60
|
* fix: create index metadata when index exists and meta doesn'tAlan Pearce2024-06-08-0/+8
|
* feat: display results in a table, showing details on clickAlan Pearce2024-06-08-2/+13
|
* feat: add detail pages for packages/optionsAlan Pearce2024-06-08-27/+132
|
* feat: use stale-while-revalidate instead of immutable asset pathsAlan Pearce2024-06-03-4/+4
|
* feat: serve assets via immutable pathsAlan Pearce2024-05-31-3/+10
|
* build: re-enable asset reloading in devAlan Pearce2024-05-31-1/+7
|
* feat: make security headers stricterAlan Pearce2024-05-30-1/+26
|
* feat: enable sub-resource integrity for assetsAlan Pearce2024-05-30-0/+4
|
* refactor: extract default config to own fileAlan Pearce2024-05-30-98/+105
|
* fix: nil pointer exception when (re-)indexingAlan Pearce2024-05-29-2/+3
|
* feat: improve search relevance by boosting keyword matchesAlan Pearce2024-05-29-4/+46
|
* fix: missing alternate forms of packages with the same nameAlan Pearce2024-05-29-1/+1
| | | | e.g. for git: git, gitFull, gitMinimal, etc..
* feat: support cleartext HTTP/2 (i.e. from a reverse proxy)Alan Pearce2024-05-25-1/+8
|
* refactor: don't log request Host, it's irrelevant to this serverAlan Pearce2024-05-25-6/+1
|
* build: just use nix version as internal versionAlan Pearce2024-05-25-21/+3
|
* refactor: split server cmd and moduleAlan Pearce2024-05-24-8/+29
| | | | | It should now be possible to run the server from inside another go application by importing the main module and running its Start() function
* fix: check for nil pointers in NewMuxAlan Pearce2024-05-24-0/+6
|
* refactor: use a single value for per-source import timeoutsAlan Pearce2024-05-23-69/+60
|
* feat: stream files directly from fetcher to importerAlan Pearce2024-05-23-287/+288
| | | | | Use IndexMeta to store the information relevant to making conditional updates in future runs.
* fix: abort import of source on batch processing errorsAlan Pearce2024-05-23-7/+36
|
* fix(web): fetch host from request, not header, where it's expectedAlan Pearce2024-05-22-1/+1
|
* fix: make fetcher check on creation that it supports Source.ImporterAlan Pearce2024-05-20-41/+57
|
* fix(importer): abort import of current source in case of errorAlan Pearce2024-05-20-6/+22
| | | | | | | The switch to logger.Error is to make clear that the operation is aborted, whereas the remaining warning (fetching the git revision) is not so important so it remains a warning and does not skip the current iteration
* perf: make channel-nixpkgs importer only fetch necessary filesAlan Pearce2024-05-20-5/+14
| | | | i.e. don't fetch options.json when Source.Type = "packages"
* refactor: make repository URLs by Repo.Type (currently no change)Alan Pearce2024-05-20-12/+29
| | | | | "currently no change" because only GitHub repos are supported, but more ready to support other types
* refactor: use enum for Repository.TypeAlan Pearce2024-05-20-4/+8
|
* refactor: make declaration/definition URLs from Source.RepoAlan Pearce2024-05-20-19/+8
|
* docs: add comments to default configurationAlan Pearce2024-05-20-44/+51
|
* feat(config): use enums' string representations to print defaultsAlan Pearce2024-05-20-0/+8
|
* fix: nix cannot read date/time TOML values from default configAlan Pearce2024-05-20-2/+25
|