Eliot Whalan
|
9d97f561c2
|
Change db.close to defer db.close
|
2016-07-04 10:03:22 +10:00 |
Eliot Whalan
|
cf42af990a
|
Save function return response struct
|
2016-07-04 10:02:06 +10:00 |
Eliot Whalan
|
d87b462b1d
|
Create paste duratation function
|
2016-07-04 09:59:31 +10:00 |
Eliot Whalan
|
032f910981
|
Fixup missing variable name
|
2016-06-28 10:56:44 +10:00 |
Eliot Whalan
|
45f160e1f1
|
Improve variable names
|
2016-06-28 08:10:20 +10:00 |
Eliot Whalan
|
8796dfe73b
|
Make id and delkey required for sql query
|
2016-06-28 08:07:55 +10:00 |
Eliot Whalan
|
f45c5396b7
|
Remove setup function call
|
2016-06-27 08:11:24 +10:00 |
Eliot Whalan
|
73bbfb2f14
|
Revert "Only open db once"
This reverts commit c698f36a86 .
|
2016-06-27 08:09:34 +10:00 |
Eliot Whalan
|
91782a7ef5
|
Fix incorrect db
|
2016-06-27 07:51:00 +10:00 |
Eliot Whalan
|
98eef33af3
|
Call setup function in main
|
2016-06-27 07:47:42 +10:00 |
Eliot Whalan
|
9cc646db7a
|
Only open db once
|
2016-06-27 07:46:58 +10:00 |
Eliot Whalan
|
219a870162
|
Let mysql to more searching
|
2016-06-26 21:16:14 +10:00 |
Eliot Whalan
|
a1d4ee2287
|
Let sql do the searching
|
2016-06-26 21:14:12 +10:00 |
Eliot Whalan
|
a2a9504e46
|
Fix lack of title on syntax page
|
2016-06-26 06:45:54 +10:00 |
Eliot Whalan
|
849b081fb8
|
Try 20 years for 'forever expiry'
|
2016-06-25 09:02:31 +10:00 |
Eliot Whalan
|
5603204373
|
Fix up expiry math
|
2016-06-25 08:56:25 +10:00 |
Eliot Whalan
|
d3083a96dc
|
Add ghetto expiry fix
|
2016-06-25 08:53:34 +10:00 |
Eliot Whalan
|
b1e5e8203e
|
Fix up expiry
|
2016-06-25 08:49:34 +10:00 |
Eliot Whalan
|
eb13a51303
|
Add some temps prints for debugging
|
2016-06-25 08:40:51 +10:00 |
Eliot Whalan
|
985565b348
|
Remove unneed expiry query from save function
|
2016-06-25 08:38:58 +10:00 |
Eliot Whalan
|
30f4ff1275
|
Add expiry checking
|
2016-06-25 08:33:56 +10:00 |
Eliot Whalan
|
22c61cdcef
|
Begin testing expiry
|
2016-06-25 08:18:02 +10:00 |
Eliot Whalan
|
d17154b353
|
Add expiryTime to sql query
|
2016-06-25 08:16:03 +10:00 |
Eliot Whalan
|
63dff38c3c
|
Start expiry addition
|
2016-06-25 08:13:36 +10:00 |
Eliot Whalan
|
6420d7dfed
|
Remove unneeded check
|
2016-06-24 17:13:56 +10:00 |
Eliot Whalan
|
79f53f9adc
|
Add missing comma
|
2016-06-24 17:12:32 +10:00 |
Eliot Whalan
|
746a08a56a
|
Fix up array error
|
2016-06-24 17:11:49 +10:00 |
Eliot Whalan
|
4ecfbd0c88
|
Escape and unescape title
|
2016-06-24 15:45:52 +10:00 |
Eliot Whalan
|
49b352b19a
|
Fixup missing return value
|
2016-06-24 15:33:14 +10:00 |
Eliot Whalan
|
dc1ad54fa3
|
Add title support
|
2016-06-24 15:32:20 +10:00 |
Eliot Whalan
|
da55f3847c
|
Add title
|
2016-06-24 15:24:15 +10:00 |
Eliot Whalan
|
5e25d4cc88
|
Add clone paste handler
|
2016-06-24 12:59:29 +10:00 |
Eliot Whalan
|
ac2eb12dfb
|
Add download button
|
2016-06-24 12:17:23 +10:00 |
Eliot Whalan
|
36675bc4ff
|
Add content headers
|
2016-06-24 12:10:54 +10:00 |
Eliot Whalan
|
0c8ff3ea04
|
Fixup download handler
|
2016-06-24 12:05:14 +10:00 |
Eliot Whalan
|
98ded1615a
|
Add download handler
|
2016-06-24 11:46:50 +10:00 |
Eliot Whalan
|
cb27aab401
|
Correct template name
|
2016-06-24 11:24:24 +10:00 |
Eliot Whalan
|
a31b02e352
|
Add index.html to template cache
|
2016-06-24 11:22:48 +10:00 |
Eliot Whalan
|
a3d5f547d3
|
Cache templates
|
2016-06-24 11:16:58 +10:00 |
Eliot Whalan
|
e1f18e7ef0
|
Revert to fprintf
|
2016-06-24 11:06:29 +10:00 |
Eliot Whalan
|
7b7995dcab
|
Add missing handler functions
|
2016-06-24 11:04:26 +10:00 |
Eliot Whalan
|
a778ffdd33
|
Move from fprintf to write
|
2016-06-24 11:01:23 +10:00 |
Eliot Whalan
|
8da5425ada
|
Introduce clone and download functions
|
2016-06-24 08:11:30 +10:00 |
Eliot Whalan
|
552dffe453
|
Add home to struct
|
2016-06-23 21:00:46 +10:00 |
Eliot Whalan
|
82d977eb85
|
Add more buttons and add row div
|
2016-06-23 20:59:12 +10:00 |
Eliot Whalan
|
e49ddf6cef
|
Add noclasses variable to pygments
|
2016-06-23 20:47:45 +10:00 |
Eliot Whalan
|
b692b2fba8
|
Fixup incorrecr variable
|
2016-06-23 20:43:59 +10:00 |
Eliot Whalan
|
5c9c3ef187
|
Try syntax highlighting
|
2016-06-23 20:41:45 +10:00 |
Eliot Whalan
|
673e6ceb4e
|
Reintroduce textarea
|
2016-06-23 20:19:48 +10:00 |
Eliot Whalan
|
2bdada3d66
|
Bring back print statement part 2
|
2016-06-23 20:15:13 +10:00 |