154 Commits (29ee3dc6fde2ac9d3aa6945c92b0e9939d582971)
 

Author SHA1 Message Date
mrngm 29ee3dc6fd Merge pull request 'Add request_duration_seconds metric' (#72) from metrics into master 7 months ago
Daan Sprenkels 306705cb28 Optimize query for updating metricURLsTotalGauge 7 months ago
Daan Sprenkels c4ff0ab1b7 Add request_duration_seconds metric 7 months ago
Daan Sprenkels a26894dac8 Refactor metric collection 7 months ago
Daan Sprenkels 4f07bc4c2a Update bindata.go 7 months ago
Daan Sprenkels 9ff11cc14c Remove boltdb leftovers 7 months ago
Daan Sprenkels 38b27b4d11 mod: Remove explicit go-bindata dep; NFC 7 months ago
Daan Sprenkels 590003aa36 Update dependencies 7 months ago
Daan Sprenkels 30ab6f9228 Fix gopls issues 7 months ago
Daan Sprenkels 6603ad886f Merge branch 'master' of gitea.hashru.nl:dsprenkels/rushlink 7 months ago
Daan Sprenkels b8d1ca459c Fix gopls issues 7 months ago
Gerdriaan Mulder 5cb0a59f00 README: indicate change to ENV for configuration, refresh systemd unit file, introduce Gorm and db migration tool 7 months ago
mrngm 1fe9553cc9 Merge pull request 'Use SQL database instead of bolt' (#71) from sql into master 7 months ago
Daan Sprenkels 3f09c1517d migrate: Fix 'no such table: migrations' err 11 months ago
Daan Sprenkels f530a543f9 db: Test truncated keys are invalid; NFC 12 months ago
Daan Sprenkels f527f2fb38 Automigrate when opening db 12 months ago
Daan Sprenkels 1ecb11c65f db: Do not warn during paste key generation 12 months ago
Daan Sprenkels 0048004252 Use sql database instead of bolt 1 year ago
Daan Sprenkels f36fa30eff Rename current db to boltdb 1 year ago
Daan Sprenkels 104dbab335 db: Refactor switch; NFC 1 year ago
Daan Sprenkels a8eba1b0df db: Add a test for key validation; NFC 1 year ago
Daan Sprenkels 9d952edc67 Add a functional test for `/nr` 1 year ago
Daan Sprenkels 50baaeadf1 Fix /nr 1 year ago
Daan Sprenkels 26be9b5104 Validate key format before retrieving from database 1 year ago
Daan Sprenkels 6d3e8028cb Use high-entropy URLs for file uploads 1 year ago
Daan Sprenkels 1c09bb0a71 Fix incorrect router setup 1 year ago
Daan Sprenkels 03a04389ae Add a test for issue #66 1 year ago
Daan Sprenkels af6d762378 Stop rendering after an invalid Accept value 1 year ago
Daan Sprenkels 7a369a1dae Merge pull request 'Error with `400 Bad Request` when both 'file' and 'shorten' set' (#65) from issue-56 into master 1 year ago
Daan Sprenkels 8904b648b7 Error w/ 400 when both 'file' and 'shorten' set 2 years ago
Daan Sprenkels 70538f170f Add a test for issue #56 2 years ago
Daan Sprenkels bbfe64a3a2 Merge pull request 'Add request logging to panic recovery' (#63) from issue-61 into master 1 year ago
Daan Sprenkels 5a39d6a37c Add request logging to panic recovery 2 years ago
Daan Sprenkels 2883af7d31 Merge pull request 'Fix error handling in renderStatic' (#64) from issue-60 into master 1 year ago
Daan Sprenkels d37222f82a Fix error handling in renderStatic 2 years ago
mrngm badc22b8d0 Merge pull request 'db: Change db file mode to 660' (#62) from issue-58 into master 1 year ago
Daan Sprenkels a58b9815bc Remove unused newPasteHandlerURLEncoded func; NFC 2 years ago
Daan Sprenkels 0b2297a2e8 Add a test for issue #60 2 years ago
Daan Sprenkels 77e89251e7 db: Change db file mode to 660 2 years ago
Daan Sprenkels 847fd8072b Bump dependencies 2 years ago
Daan Sprenkels 5a5a0dc5ec Merge pull request 'Don't capture cursor in screenshot.' (#55) from mara/rushlink:master into master 2 years ago
Mara Bos dbb6a954e1 Don't capture cursor in screenshot. 2 years ago
Daan Sprenkels 2c889e0808 Prevent directory traversal in file upload 2 years ago
Daan Sprenkels 737a26fee3 test: Look for StatusFound instead of StatusOk; NFC 2 years ago
Daan Sprenkels 016ffa8949 meta: Do 410 Gone if paste deleted 2 years ago
Daan Sprenkels b9119a0df5 meta: Fix CanDelete string 2 years ago
Daan Sprenkels a4cec1e4b0 meta: Add a delete button 2 years ago
Daan Sprenkels b7ea5dfa4f Redirect to /xd42/meta after upload 2 years ago
Daan Sprenkels a0c8383555 template: Fix <pre> nesting 2 years ago
mrngm bbe787da5d Merge pull request 'Make rushlink script more portable.' (#48) from mara/rushlink:master into master 2 years ago