Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | fix: search all missing expected results | Alan Pearce | 2024-11-10 | -1/+1 |
| | | | | Fixes: https://todo.sr.ht/~alanpearce/searchix/1 | |||
* | fix: don't error when item not found | Alan Pearce | 2024-08-17 | -0/+4 |
| | ||||
* | fix: tell browsers not to capitalise search input | Alan Pearce | 2024-07-16 | -0/+1 |
| | ||||
* | fix: nil panics rendering last page of search results | Alan Pearce | 2024-07-13 | -1/+1 |
| | ||||
* | fix: panic rendering error pages | Alan Pearce | 2024-07-13 | -0/+2 |
| | ||||
* | refactor: ignore unused variable | Alan Pearce | 2024-07-13 | -1/+1 |
| | ||||
* | fix: opensearch searches not using input query | Alan Pearce | 2024-07-12 | -5/+3 |
| | ||||
* | refactor: remove unnecessary DocumentData struct | Alan Pearce | 2024-07-12 | -16/+6 |
| | ||||
* | feat: enable combined search | Alan Pearce | 2024-07-12 | -54/+158 |
| | ||||
* | fix: extra data after error parsing query string | Alan Pearce | 2024-07-12 | -0/+2 |
| | ||||
* | fix: panic rendering search results | Alan Pearce | 2024-07-11 | -1/+4 |
| | ||||
* | feat: more structured logging | Alan Pearce | 2024-07-01 | -118/+155 |
| | ||||
* | fix: panic on search error | Alan Pearce | 2024-07-01 | -0/+2 |
| | ||||
* | refactor: rename go module | Alan Pearce | 2024-06-29 | -55/+73 |
| | ||||
* | feat: add message for users with javascript disabled | Alan Pearce | 2024-06-25 | -0/+5 |
| | ||||
* | fix: panic rendering results | Alan Pearce | 2024-06-21 | -2/+16 |
| | ||||
* | fix: incorrect formatting of options results headers | Alan Pearce | 2024-06-21 | -2/+2 |
| | ||||
* | refactor: use encoding/xml for OpenSearchDescription | Alan Pearce | 2024-06-21 | -140/+70 |
| | ||||
* | refactor: switch to templ for HTML templates | Alan Pearce | 2024-06-21 | -84/+569 |
| | ||||
* | feat: add low-memory mode | Alan Pearce | 2024-06-09 | -16/+60 |
| | ||||
* | fix: create index metadata when index exists and meta doesn't | Alan Pearce | 2024-06-08 | -0/+8 |
| | ||||
* | feat: display results in a table, showing details on click | Alan Pearce | 2024-06-08 | -2/+13 |
| | ||||
* | feat: add detail pages for packages/options | Alan Pearce | 2024-06-08 | -27/+132 |
| | ||||
* | feat: use stale-while-revalidate instead of immutable asset paths | Alan Pearce | 2024-06-03 | -4/+4 |
| | ||||
* | feat: serve assets via immutable paths | Alan Pearce | 2024-05-31 | -3/+10 |
| | ||||
* | build: re-enable asset reloading in dev | Alan Pearce | 2024-05-31 | -1/+7 |
| | ||||
* | feat: make security headers stricter | Alan Pearce | 2024-05-30 | -1/+26 |
| | ||||
* | feat: enable sub-resource integrity for assets | Alan Pearce | 2024-05-30 | -0/+4 |
| | ||||
* | refactor: extract default config to own file | Alan Pearce | 2024-05-30 | -98/+105 |
| | ||||
* | fix: nil pointer exception when (re-)indexing | Alan Pearce | 2024-05-29 | -2/+3 |
| | ||||
* | feat: improve search relevance by boosting keyword matches | Alan Pearce | 2024-05-29 | -4/+46 |
| | ||||
* | fix: missing alternate forms of packages with the same name | Alan Pearce | 2024-05-29 | -1/+1 |
| | | | | e.g. for git: git, gitFull, gitMinimal, etc.. | |||
* | feat: support cleartext HTTP/2 (i.e. from a reverse proxy) | Alan Pearce | 2024-05-25 | -1/+8 |
| | ||||
* | refactor: don't log request Host, it's irrelevant to this server | Alan Pearce | 2024-05-25 | -6/+1 |
| | ||||
* | build: just use nix version as internal version | Alan Pearce | 2024-05-25 | -21/+3 |
| | ||||
* | refactor: split server cmd and module | Alan Pearce | 2024-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 NewMux | Alan Pearce | 2024-05-24 | -0/+6 |
| | ||||
* | refactor: use a single value for per-source import timeouts | Alan Pearce | 2024-05-23 | -69/+60 |
| | ||||
* | feat: stream files directly from fetcher to importer | Alan Pearce | 2024-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 errors | Alan Pearce | 2024-05-23 | -7/+36 |
| | ||||
* | fix(web): fetch host from request, not header, where it's expected | Alan Pearce | 2024-05-22 | -1/+1 |
| | ||||
* | fix: make fetcher check on creation that it supports Source.Importer | Alan Pearce | 2024-05-20 | -41/+57 |
| | ||||
* | fix(importer): abort import of current source in case of error | Alan Pearce | 2024-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 files | Alan Pearce | 2024-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 Pearce | 2024-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.Type | Alan Pearce | 2024-05-20 | -4/+8 |
| | ||||
* | refactor: make declaration/definition URLs from Source.Repo | Alan Pearce | 2024-05-20 | -19/+8 |
| | ||||
* | docs: add comments to default configuration | Alan Pearce | 2024-05-20 | -44/+51 |
| | ||||
* | feat(config): use enums' string representations to print defaults | Alan Pearce | 2024-05-20 | -0/+8 |
| | ||||
* | fix: nix cannot read date/time TOML values from default config | Alan Pearce | 2024-05-20 | -2/+25 |
| |