about summary refs log tree commit diff stats
path: root/internal/server
Commit message (Collapse)AuthorAgeLines
* 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-16/+1
|
* 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
|
* fix(web): fetch host from request, not header, where it's expectedAlan Pearce2024-05-22-1/+1
|
* fix: missing last page of search resultsAlan Pearce2024-05-17-1/+2
|
* feat: support searching packagesAlan Pearce2024-05-17-102/+117
|
* fix(logging): track whether headers are written properlyAlan Pearce2024-05-17-3/+20
|
* refactor: use interface to unify Options and PackagesAlan Pearce2024-05-16-5/+5
|
* feat: add caching header (except on error pages)Alan Pearce2024-05-15-1/+12
|
* feat: monitor import jobs via sentryAlan Pearce2024-05-15-12/+1
|
* feat: add browser search engines via opensearch descriptionAlan Pearce2024-05-15-1/+51
| | | | https://developer.mozilla.org/en-US/docs/Web/OpenSearch
* style: use consistent naming for config valueAlan Pearce2024-05-15-21/+21
|
* feat: render HTML error pagesAlan Pearce2024-05-15-12/+61
|
* refactor(templates): render partials with less hackinessAlan Pearce2024-05-15-8/+11
|
* build: remove duplicate debug log on dev file watcher updateAlan Pearce2024-05-15-1/+0
|
* perf: move scripts to head to enable fetching in parallelAlan Pearce2024-05-15-5/+5
|
* build: bake git hash into build for headers and --versionAlan Pearce2024-05-14-0/+15
|
* style: make port a string for easier nix integrationAlan Pearce2024-05-13-1/+2
|
* refactor: combine import and web server into one binaryAlan Pearce2024-05-13-12/+10
|
* refactor(config): simplify configurationAlan Pearce2024-05-13-46/+30
| | | | | | | | | | | | | | commit 8225dbdb692c99b39dcafe2e5ec6ddc4daf08fb5 Author: Alan Pearce <alan@alanpearce.eu> Date: Mon May 13 19:18:26 2024 +0200 refactor: consolidate configuration to reduce command-line options commit 5616d4c5a9bc6c0c14f744f812fa6609f859dc34 Author: Alan Pearce <alan@alanpearce.eu> Date: Mon May 13 17:41:58 2024 +0200 refactor: move config file parsing to program entry points
* feat: allow adding extra HTML to the body via configurationAlan Pearce2024-05-12-17/+18
|
* refactor: merge search and results pagesAlan Pearce2024-05-12-88/+77
|
* build: optimise and fix handing of csp headers in dev modeAlan Pearce2024-05-12-3/+4
|
* refactor: split http.Server and http.ServeMux creationAlan Pearce2024-05-11-276/+295
|
* fix: missing menu on search pagesAlan Pearce2024-05-11-0/+1
|
* refactor: deduce index path automatically from config.DataPathAlan Pearce2024-05-11-2/+1
|
* build: optionally embed frontend filesAlan Pearce2024-05-10-9/+8
|
* fix: missing menu on search pageAlan Pearce2024-05-10-0/+1
|
* refactor: clean up flags and environment variablesAlan Pearce2024-05-09-16/+5
|
* feat: dynamically link to sourcesAlan Pearce2024-05-09-0/+2
|
* refactor: pass Source object to templatesAlan Pearce2024-05-09-14/+20
|
* style: reformat with golines and enforce on commitAlan Pearce2024-05-09-1/+4
|
* feat: enable index path to be configuredAlan Pearce2024-05-09-1/+2
|
* feat: allow configuration of log levelAlan Pearce2024-05-09-8/+9
|
* feat: enable setting config file path via command lineAlan Pearce2024-05-09-1/+2
|
* feat: import sources from configuration in go code and index optionsAlan Pearce2024-05-09-35/+35
|
* refactor: log index loading progress at startupAlan Pearce2024-05-08-1/+2
|
* feat: paginate search resultsAlan Pearce2024-05-08-5/+52
|
* perf: create search indexes in parallel with server startupAlan Pearce2024-05-07-8/+11
|
* feat: search multiple sourcesAlan Pearce2024-05-07-15/+33
|
* style: show pages for different sourcesAlan Pearce2024-05-07-8/+33
|
* style: split homepage and search pageAlan Pearce2024-05-07-9/+26
|
* feat: search one set of optionsAlan Pearce2024-05-07-17/+26
|
* refactor: rely on html/template functionality moreAlan Pearce2024-05-07-19/+14
|
* refactor: extract templating into own fileAlan Pearce2024-05-07-69/+81
|
* refactor: make data path (partially) configurableAlan Pearce2024-05-07-1/+1
|
* feat: render markdown examplesAlan Pearce2024-05-06-2/+17
|
* feat: render markdown in option descriptionsAlan Pearce2024-05-05-45/+38
|