Commit Graph

35 Commits

Author SHA1 Message Date
Matthew Connelly 6f51b67915 Update github username, add attribution for stylesheet 2015-11-27 18:48:14 +00:00
Matthew Connelly 04ba3427ff code and syntactic cleanup 2015-11-27 18:15:20 +00:00
Matthew Connelly a4544cb8ce added start opts 2015-11-16 00:59:23 +00:00
Matthew Connelly 0e8911ae70 well that was a stupid idea 2015-11-16 00:47:37 +00:00
Matthew Connelly 9857074291 Added cpanfile for easier dependency installation, rename app.pl -> app.psgi for ~compliance~ 2015-11-15 22:28:26 +00:00
Matthew Connelly 977d24e82d correct an incorrect config variable 2015-11-14 07:45:42 +00:00
Matthew Connelly 88161345ae sigh. 2015-11-14 07:37:53 +00:00
Matthew Connelly bfb3bf8622 debugging should not be enabled by default 2015-11-14 07:31:03 +00:00
Matthew Connelly e499fe9df8 fixed the /utterly stupid/ bug where pastes would not show at all. turns out i forgot about the change in parameter handling in getpaste 2015-11-14 07:22:21 +00:00
Matthew Connelly 491b43c5fb minor layout change to make the default expiry match the configured default
also remove redundant undef in getpaste
2015-11-14 07:14:11 +00:00
Matthew Connelly e059aba5cc i hate myself 2015-11-14 06:54:24 +00:00
Matthew Connelly dbff8b3d72 this is my true hell 2015-11-14 06:52:53 +00:00
Matthew Connelly 5bdbd4f10b how embarrassing 2015-11-14 06:48:53 +00:00
Matthew Connelly 34c26e49de rather than complicated queries that i'm probably doing wrong, let's just make expired paste purges happen every half a minute. i only put the "expunge every" thing in there to prevent performance degredation anyway 2015-11-14 06:45:29 +00:00
Matthew Connelly b357de7371 i don't have a testing thing locally so i'm flooding with commits sorry 2015-11-14 06:38:45 +00:00
Matthew Connelly c9889911bb database abstraction killed the perl star 2015-11-14 06:37:29 +00:00
Matthew Connelly 6b01131e87 i'm in sql abstraction hell 2015-11-14 06:33:48 +00:00
Matthew Connelly 1b524d7996 beep bop boop 2015-11-14 06:26:00 +00:00
Matthew Connelly 7cb1fe36bb more minor refactoring, confirmed that the fix for the deploy warning works without leaking out of its scope 2015-11-14 05:43:46 +00:00
Matthew Connelly c4764314b3 i am so confused 2015-11-14 05:36:04 +00:00
Matthew Connelly b64f83b8af maybe now 2015-11-14 05:17:51 +00:00
Matthew Connelly 69489585bf Potential fix for schema deploy issue 2015-11-14 05:16:46 +00:00
Matthew Connelly 4d7adc1cef try to fix the "possible precedence issue" 2015-11-14 05:13:33 +00:00
Matthew Connelly 69f78015b7 yaml will be the death of me 2015-11-14 05:12:01 +00:00
Matthew Connelly e73864fcea a lot of changes, hoo boy.
made the expiry check interval configurable (expire_every in config.yml)
fixed a bug where an expired paste could still be viewed for a short period after expiring in some situations
consolidated the paste fetching and parameter validation functions somewhat
fixed some bugs with expiry handling
hopefully haven't broken anything, changes are untested
2015-11-14 04:39:28 +00:00
Matthew Connelly 986ea029ee Updated dependency list, minor change to layout, made start script more agnostic, swapped out having the application listen on a TCP port, to using unix sockets. 2015-10-13 01:59:46 +01:00
Matthew Connelly 5b76238849 Fixed IPv4/v6 check not working when hosted over SSL 2015-08-21 02:34:52 +01:00
Matthew Connelly f3689428a2 Updated the IP script in layouts/main to use pts0.eu for the what-is-my-IP service due to HSTS preloading on maff.scot 2015-05-03 18:47:25 +01:00
Matthew Connelly 865dd2120d add a jquery hook to add hrefs to anchors 2015-04-18 20:26:31 +01:00
Matthew Connelly e921575138 use CSS for line numbers rather than tables 2015-04-18 19:48:05 +01:00
Matthew Connelly ec4b723e68 disable line numbering in pygments 2015-04-18 18:13:10 +01:00
Matthew Connelly 65cb180296 Fixed a bug where DB pruning would delete pastes with no expiration date as well as pastes that had legitimately expired 2015-04-15 04:38:27 +01:00
Matthew Connelly aa63c16177 Fix issue in validation that would prevent users from specifying month:1:day:2 to have a paste expire 1m2days from submission 2015-04-13 04:09:42 +01:00
Matthew Connelly a59341a12c sexy sexy BSD license 2015-04-13 04:00:11 +01:00
Matthew Connelly 7a3a80c791 First commit 2015-04-13 03:56:29 +01:00