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