Commit graph

22 commits

Author SHA1 Message Date
Joe Ardent
c7fc10069a don't hash the slug with the visit key
this makes it easy to see if a single visitor visited multiple pages
2024-04-03 13:52:23 -07:00
Joe Ardent
d1f45e98ef update readme with slugs table 2024-03-31 17:29:48 -07:00
Joe Ardent
89a985e960 add slugs check 2024-03-31 17:05:44 -07:00
Joe Ardent
1617eae174 update systemd unit file 2024-03-31 14:18:42 -07:00
Joe Ardent
25c9ebcbef add systemd unit file 2024-03-30 13:59:31 -07:00
Joe Ardent
f4057ecf5d good enough 2024-03-30 13:07:56 -07:00
Joe Ardent
c00d2f7d4c clarify security 2024-03-29 13:30:30 -07:00
Joe Ardent
4917fefbec Fix bug in default period calc, update readme. 2024-03-29 08:59:14 -07:00
Joe Ardent
f476d6a117 really use remote IP for hashing 2024-03-28 23:32:07 -07:00
Joe Ardent
e96a993f9a tidy 2024-03-28 22:21:16 -07:00
Joe Ardent
aad60a5752 Make the sample javascript first register the hit, then fetch the count. 2024-03-28 22:16:18 -07:00
Joe Ardent
bc05fe87b3 put hit register into transaction 2024-03-28 19:10:44 -07:00
Joe Ardent
a2c466f5ac use text for key 2024-03-28 09:37:39 -07:00
Joe Ardent
66c51f8391 display the hitcount in the example pages 2024-03-27 21:29:37 -07:00
Joe
a0574cf066 hmm 2024-03-27 12:03:08 -07:00
Joe
813ea8770a adding hour-based visitation key, other stuff 2024-03-27 11:54:34 -07:00
Joe Ardent
3d96092799 add bare '/hits' route 2024-03-17 16:21:40 -07:00
Joe Ardent
369915854c tidy, buff the readme 2024-03-17 15:54:03 -07:00
Joe Ardent
a0a5f8a575 split handler into registration fn and count-fetcher 2024-03-17 15:44:50 -07:00
Joe Ardent
f6e49ff98f Quiet, clippy! 2024-03-17 15:29:01 -07:00
Joe Ardent
b802372f7a remove templates, tidy handler 2024-03-17 15:09:09 -07:00
Joe Ardent
1ea0379411 backend works in theory, but I don't have a way to display the count, and no tests. 2024-03-17 14:57:17 -07:00