Commit graph

19 commits

Author SHA1 Message Date
Simon Ser
2b6407eacb cmd/sh-api: add metric for GraphQL query duration 2022-07-15 09:05:56 +02:00
Simon Ser
541d829069 cmd/sh-api: register Prometheus DB stats collector 2022-07-15 09:05:55 +02:00
Simon Ser
a34b5f0331 cmd/sh-api: add /metrics handler for Prometheus 2022-07-15 09:05:50 +02:00
Umar Getagazov
8b11febce0 web: answer HEAD requests
Fixes: https://todo.sr.ht/~sircmpwn/searchhut/42
2022-07-15 08:58:19 +02:00
Drew DeVault
c2c75b565a Display search query time on results page 2022-07-13 15:34:29 +02:00
Drew DeVault
69a9e20a0a sh-admin: new command 2022-07-13 10:20:57 +02:00
Drew DeVault
19a9a3a3b5 sh-index: add -u flag to add URLs to schedule
This is useful for indexing parts of sites which are not reachable from
the index page.
2022-07-11 20:57:59 +02:00
Drew DeVault
009b2b31d4 web: add total pages indexed to home page 2022-07-11 20:40:53 +02:00
Umar Getagazov
67c60ef5c1 Use the real crawler UA at /about 2022-07-11 13:13:05 +02:00
Drew DeVault
76bc26d639 Adding missing /about bits 2022-07-10 15:02:55 +02:00
Drew DeVault
35a4faa05b sh-index: fetch user agent from config 2022-07-09 18:14:06 +02:00
Drew DeVault
7140d0e2e5 web: add search results page 2022-07-09 17:48:52 +02:00
Drew DeVault
6e5deed8f4 web: add .index to html tag 2022-07-09 17:14:00 +02:00
Drew DeVault
a1f6b8c8de sh-web: initial commit 2022-07-09 16:56:25 +02:00
Drew DeVault
c1f917efb4 sh-api: expand top-level server riggings 2022-07-09 15:39:04 +02:00
Drew DeVault
0d32cf49d7 Implement configuration loader
Implements: https://todo.sr.ht/~sircmpwn/searchhut/18
2022-07-09 15:31:16 +02:00
Drew DeVault
208f766963 Initial GraphQL API riggings 2022-07-09 13:25:27 +02:00
Drew DeVault
fbd0492ef1 cmd/sh-search: initial commit 2022-07-08 20:04:37 +02:00
Drew DeVault
050694c4f2 Initial commit 2022-07-08 19:46:11 +02:00