Slatian
22d1802337
Documented the theming part a bit better
2022-12-06 12:14:52 +01:00
Slatian
f41b7f87e7
Added some pretty liberal limits on query length to make it more difficult to cause a DOS condition.
...
(the go http package by default limits the header length to 1 Megabyte, which is great at preventing someone from causing trpuble at the http layer, but doesn't work too well when there is a pretty expensive search going on in the background)
2022-12-06 12:02:14 +01:00
Slatian
b2a9947fb9
Removed debugging outputs
2022-12-06 12:02:14 +01:00
Slatian
b431a15441
Added experimental support for "-site:" and "lang:" queries
2022-12-06 12:02:14 +01:00
Slatian
b4a2e5e269
Added a robots.txt file
2022-12-06 11:23:04 +01:00
cblgh
9f912b8323
improve crawling rules wrt path-suffixed sites, close #6
2022-03-07 11:24:20 +01:00
cblgh
98e8d74eb5
add basic theming support
2022-02-20 15:36:43 +01:00
cblgh
5b61996305
add information regarding most recent indexing
2021-11-10 16:52:59 +01:00
cblgh
6f8cd11af2
handle broken pipe?:)
2021-11-01 10:51:55 +01:00
cblgh
4f0b90d083
improve site:<domain> ux, add clear button
2021-11-01 09:28:03 +01:00
cblgh
0bf202d65b
add comment about usage
2021-11-01 09:28:03 +01:00
cblgh
e28cdccb7c
add search by site:<domain> functionality
2021-11-01 09:28:03 +01:00
cblgh
bd03b61420
finalize fts + ui
2021-11-01 09:28:03 +01:00
cblgh
793a9867cc
wip fts
2021-11-01 09:28:03 +01:00
cblgh
e0f200bdba
set LIEU_DEV='' env variable for quicker html dev
2021-05-12 13:52:51 +02:00
cblgh
6cd59b2f3d
make index tagline & search placeholder customizable
2021-05-11 20:55:07 +02:00
cblgh
e0f9c73fd0
/webring redirects to webring link
2021-05-11 20:46:42 +02:00
cblgh
44914e0f21
merge eotl changes :)
2021-05-11 20:39:14 +02:00
cblgh
5fa9106153
refactor: remove unused fields, rename struct
2021-05-11 20:13:50 +02:00
cblgh
9ffff1dc1a
refactor index handling of empty queries
2021-04-25 18:48:34 +02:00
cblgh
180fb9663d
fmt
2021-04-25 12:20:39 +02:00
cblgh
c002ee6790
simplify route handlers by using handler struct
2021-04-25 11:12:43 +02:00
cblgh
380ba5e450
parse templates once, not for every request
2021-04-25 10:53:15 +02:00
basebuilder
19ce97e6dc
make Handlers render termplates with partials
2021-04-13 22:32:53 +00:00
cblgh
58000fba47
go fmt
2021-02-04 17:44:58 +01:00
cblgh
3b7d89ab5e
go fmt
2021-02-04 17:44:58 +01:00
cblgh
456887637e
handle more errors, close sql.Rows
2021-02-04 15:53:03 +01:00
cblgh
3bf70aeac5
handle more errors, close sql.Rows
2021-02-04 15:53:03 +01:00
cblgh
af8c62fbbe
fix crash on empty query
2021-02-03 21:59:04 +01:00
cblgh
5bedcac01e
fix crash on empty query
2021-02-03 21:59:04 +01:00
cblgh
28d052f4c3
launch
2021-02-03 09:12:30 +01:00