Commit Graph

38 Commits

Author SHA1 Message Date
andreimarcu
0a361a268c Get rid of highlightjs-line-numbers.js 2016-06-15 01:17:25 -07:00
andreimarcu
d6755486b2 Sanitize upload response (Fixes #79) 2016-06-15 00:16:57 -07:00
andreimarcu
88c00027ea Add line numbers for pastebin. Fixes #70 2015-11-12 11:17:53 -05:00
andreimarcu
c53c909165 Remove unnecessary margin on pastebins 2015-10-21 21:41:27 -04:00
andreimarcu
c77f8285d4 Fix/implement .story 2015-10-15 12:24:23 -04:00
mutantmonkey
e0d0e40368 add tab functionality to pastebin (resolves #48)
The tab key now inserts a tab instead of changing the focus.
2015-10-09 22:21:23 -07:00
andreimarcu
639d519712 Configurable maximum upload file size. Fixes #35 2015-10-08 01:38:50 -04:00
andreimarcu
040ffa89f7 Adjust margin 2015-10-08 01:18:21 -04:00
andreimarcu
37d3e96e22 Fix no-javascript fallback ugliness of index page. Fixes #37 2015-10-08 00:19:22 -04:00
andreimarcu
ed6ce1d1fa Small cosmetic changes 2015-10-07 23:49:21 -04:00
andreimarcu
a60a7cc9e6 Cache static files + Separate CSS more. Fixes #44 2015-10-07 23:35:48 -04:00
andreimarcu
edfb80daac Markdown display handler. Fixes #33 2015-10-07 15:00:42 -04:00
andreimarcu
c5250e529e Headers are now Linx-.. instead of X-... 2015-10-06 00:31:09 -04:00
mutantmonkey
73eba6aaad add LibreJS tags to JavaScript
Fixes #38
2015-10-04 18:42:56 -07:00
Andrei Marcu
46d6b7b98a Merge pull request #39 from mutantmonkey/robots.txt
add a file blacklist and add robots.txt
2015-10-04 21:21:06 -04:00
mutantmonkey
ad9d712a3a add a file blacklist and add robots.txt
Fixes #26
2015-10-04 18:16:27 -07:00
andreimarcu
d40cc5e1be More textarea consistency 2015-10-04 19:05:13 -04:00
andreimarcu
060ab351b0 Textarea consistency with pastebin 2015-10-04 18:56:30 -04:00
mutantmonkey
42aab4dca1 fix a merge conflict mistake for upload errors 2015-10-04 15:13:53 -07:00
mutantmonkey
70cff4431d tweak editor textarea style 2015-10-04 14:57:36 -07:00
mutantmonkey
f0e71325c4 Merge branch 'master' into csp 2015-10-04 14:39:29 -07:00
andreimarcu
3e2537ca68 Get rid of ace editor 2015-10-04 17:27:47 -04:00
mutantmonkey
44172ec98a clean up HTML, CSS, and JavaScript for CSP
In order to implement Content-Security-Policy, the inlined style, event
handlers, and scripts all have to go. This commit completes this work.
2015-10-04 14:13:29 -07:00
andreimarcu
d40803f165 More verbose errors 2015-10-04 12:47:20 -04:00
mutantmonkey
84f38026eb do some more HTML and JS cleanup 2015-10-04 00:14:21 -07:00
mutantmonkey
b83f11e80a remove inline js on pastebin pages 2015-10-03 23:58:56 -07:00
andreimarcu
335517bf17 Update upload.js with 200 status for delete 2015-10-04 02:28:00 -04:00
mutantmonkey
f216b06df5 remove most of CSS from JavaScript
The uploadElement is probably going to have to stay, unfortunately, but
the rest is gone.
2015-10-01 23:05:26 -07:00
andreimarcu
c339a8c770 Highlight dropzone when dragging 2015-10-01 12:46:34 -04:00
andreimarcu
fcb9afde0d Pass randomize and expires in upload 2015-09-30 23:55:03 -04:00
andreimarcu
31359499ac Switch to dropzonejs. Fixes #18 2015-09-30 23:37:00 -04:00
andreimarcu
d55cf33a5d Add support for pastebin display 2015-09-30 12:06:23 -04:00
andreimarcu
d98b63e8bd Performance improvements, custom 404+500, -nologs, PUT uploads fix 2015-09-25 12:00:14 -04:00
andreimarcu
b617d99746 Remove excessive js 2015-09-25 11:00:08 -04:00
andreimarcu
8caae56b39 json response + imported old drag and drop uploader 2015-09-25 00:58:38 -04:00
andreimarcu
350338baa4 Structure /static 2015-09-24 23:26:18 -04:00
andreimarcu
4f41ece944 Fix some css, add download link 2015-09-24 22:57:36 -04:00
andreimarcu
d869599da7 Bare /static support, some css/templates import 2015-09-24 16:04:51 -04:00