Felix Yan
671412631f
Add missing name for paste body field on clone page
...
The `name="p"` part is present in index but not the clone page. Without the change I am getting "Empty paste" when submitting any paste from the clone page.
2016-06-29 11:12:06 -05:00
Eliot Whalan
9825058fef
Revert "Fix up css for syntax page"
...
This reverts commit 5afb1564ce
.
2016-06-28 22:54:41 +10:00
Eliot Whalan
14e7df342d
Revert "Try again"
...
This reverts commit 7658c76460
.
2016-06-28 22:54:34 +10:00
Eliot Whalan
7658c76460
Try again
2016-06-28 22:53:35 +10:00
Eliot Whalan
5afb1564ce
Fix up css for syntax page
2016-06-28 22:51:33 +10:00
Eliot Whalan
975148d4c7
Fixup missing variable name
2016-06-28 10:56:44 +10:00
Eliot Whalan
55d3c2f3ab
Improve variable names
2016-06-28 08:10:20 +10:00
Eliot Whalan
ccfefb8043
Make id and delkey required for sql query
2016-06-28 08:07:55 +10:00
Eliot Whalan
b0d76a12b7
Remove setup function call
2016-06-27 08:11:24 +10:00
Eliot Whalan
c99d8aaf80
Revert "Only open db once"
...
This reverts commit c698f36a86
.
2016-06-27 08:09:34 +10:00
Eliot Whalan
86bc7cbca1
Fix incorrect db
2016-06-27 07:51:00 +10:00
Eliot Whalan
51995a8fd5
Call setup function in main
2016-06-27 07:47:42 +10:00
Eliot Whalan
c698f36a86
Only open db once
2016-06-27 07:46:58 +10:00
Eliot Whalan
62453be692
Let mysql to more searching
2016-06-26 21:16:14 +10:00
Eliot Whalan
3c4a9e0032
Let sql do the searching
2016-06-26 21:14:12 +10:00
Eliot Whalan
f562758f35
Fix up padding
2016-06-26 18:18:14 +10:00
Eliot Whalan
efddd09b10
Remove guess language option
2016-06-26 06:51:34 +10:00
Eliot Whalan
70701454a0
Fix lack of title on syntax page
2016-06-26 06:45:54 +10:00
Eliot Whalan
f7ce7d7abf
Try 20 years for 'forever expiry'
2016-06-25 09:02:31 +10:00
Eliot Whalan
cfc5dcf3eb
Fix up expiry math
2016-06-25 08:56:25 +10:00
Eliot Whalan
4740a10297
Add ghetto expiry fix
2016-06-25 08:53:34 +10:00
Eliot Whalan
576b83492a
Fix up expiry
2016-06-25 08:49:34 +10:00
Eliot Whalan
d327895d81
Add some temps prints for debugging
2016-06-25 08:40:51 +10:00
Eliot Whalan
a3f316962d
Remove unneed expiry query from save function
2016-06-25 08:38:58 +10:00
Eliot Whalan
252c2a7fbe
Add expiry checking
2016-06-25 08:33:56 +10:00
Eliot Whalan
21f613177b
Add expiry input
2016-06-25 08:24:56 +10:00
Eliot Whalan
9b6150a806
Begin testing expiry
2016-06-25 08:18:02 +10:00
Eliot Whalan
fd46fcf753
Add expiry table
2016-06-25 08:17:02 +10:00
Eliot Whalan
3a503ba55a
Add expiryTime to sql query
2016-06-25 08:16:03 +10:00
Eliot Whalan
3b29b01da7
Start expiry addition
2016-06-25 08:13:36 +10:00
Eliot Whalan
7de9192f8a
Remove unneeded check
2016-06-24 17:13:56 +10:00
Eliot Whalan
cda25cc55a
Add missing comma
2016-06-24 17:12:32 +10:00
Eliot Whalan
79eceb27d4
Fix up array error
2016-06-24 17:11:49 +10:00
Eliot Whalan
630ed5403d
Make pages adjust automatically
2016-06-24 16:50:51 +10:00
Eliot Whalan
725cd30069
Try automatic resizing of elements
2016-06-24 16:40:17 +10:00
Eliot Whalan
986a0fcd16
move functions up one scope
2016-06-24 16:38:45 +10:00
Eliot Whalan
62fc210f95
Try onload resizing with jquery
2016-06-24 16:37:21 +10:00
Eliot Whalan
704e1444e4
Fixup syntax box
2016-06-24 16:26:43 +10:00
Eliot Whalan
6919cb597b
Add page onload
2016-06-24 16:25:32 +10:00
Eliot Whalan
a25fbd518a
Add jquery resizing to all pages
2016-06-24 16:22:06 +10:00
Eliot Whalan
ef5704be63
try another query autosizing thing
2016-06-24 16:18:27 +10:00
Eliot Whalan
0fa8968498
Add jquery-autogrow
2016-06-24 16:14:36 +10:00
Eliot Whalan
b13d7d2035
Add sytle resize to text area
2016-06-24 16:05:39 +10:00
Eliot Whalan
282e9712da
Add placeholder text
2016-06-24 15:55:49 +10:00
Eliot Whalan
ad232fa642
Remove margin-right from buttons
2016-06-24 15:47:31 +10:00
Eliot Whalan
f68ba3ef8e
Escape and unescape title
2016-06-24 15:45:52 +10:00
Eliot Whalan
e3ac34ada2
Add title support to all pages and make it clearer
2016-06-24 15:39:12 +10:00
Eliot Whalan
04675d9ba8
Fixup missing return value
2016-06-24 15:33:14 +10:00
Eliot Whalan
40adfe9136
Add title support
2016-06-24 15:32:20 +10:00
Eliot Whalan
5fa15802d6
Add title
2016-06-24 15:24:15 +10:00