Commit Graph

23 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
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
37d3e96e22 Fix no-javascript fallback ugliness of index page. Fixes #37 2015-10-08 00:19:22 -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
mutantmonkey
42aab4dca1 fix a merge conflict mistake for upload errors 2015-10-04 15:13:53 -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
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