mutantmonkey
73f127306c
Improve UI a bit ( #161 )
* Remove right margin from expiration dropdown on index
* Use flexbox for bin/story display
* Move Paste/Save button after expire dropdown, instead of before
6 years ago
mutantmonkey
8f3108148b
Add option to force random filenames ( fixes #86 ) ( #159 )
6 years ago
Andrei Marcu
b731e17c1e
Cosmetic tweaks & fixes
6 years ago
Simon Alfassa
fd0f3d9e46
Make the web page mobile friendly
7 years ago
Benjamin Neff
6290f408ff
Allow to paste images ( #153 )
dropzone.js doesn't support pasting itself yet, so adding it externally
and calling `.addFile()` to upload the pasted image.
Fixes #130
6 years ago
mutantmonkey
10938a3e0b
Remove Google URL shortener ( fix #146 ) ( #150 )
6 years ago
culdev
8f384dc5ce
Use value instead of selectedOptions.
8 years ago
andreimarcu
9467be9717
No margin/border without line numbers
9 years ago
Atrox
027f5cce42
Add ability to short urls for uploaded content ( #85 )
Add ability to short urls for uploaded content
9 years ago
andreimarcu
0a361a268c
Get rid of highlightjs-line-numbers.js
9 years ago
andreimarcu
d6755486b2
Sanitize upload response ( Fixes #79 )
9 years ago
andreimarcu
88c00027ea
Add line numbers for pastebin. Fixes #70
9 years ago
mutantmonkey
e0d0e40368
add tab functionality to pastebin ( resolves #48 )
The tab key now inserts a tab instead of changing the focus.
9 years ago
andreimarcu
639d519712
Configurable maximum upload file size. Fixes #35
9 years ago
andreimarcu
37d3e96e22
Fix no-javascript fallback ugliness of index page. Fixes #37
9 years ago
andreimarcu
c5250e529e
Headers are now Linx-.. instead of X-...
9 years ago
mutantmonkey
73eba6aaad
add LibreJS tags to JavaScript
Fixes #38
9 years ago
mutantmonkey
42aab4dca1
fix a merge conflict mistake for upload errors
9 years ago
andreimarcu
3e2537ca68
Get rid of ace editor
9 years ago
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.
9 years ago
andreimarcu
d40803f165
More verbose errors
9 years ago
mutantmonkey
84f38026eb
do some more HTML and JS cleanup
9 years ago
mutantmonkey
b83f11e80a
remove inline js on pastebin pages
9 years ago
andreimarcu
335517bf17
Update upload.js with 200 status for delete
9 years ago
mutantmonkey
f216b06df5
remove most of CSS from JavaScript
The uploadElement is probably going to have to stay, unfortunately, but
the rest is gone.
9 years ago
andreimarcu
c339a8c770
Highlight dropzone when dragging
9 years ago
andreimarcu
fcb9afde0d
Pass randomize and expires in upload
9 years ago
andreimarcu
31359499ac
Switch to dropzonejs. Fixes #18
9 years ago
andreimarcu
d55cf33a5d
Add support for pastebin display
9 years ago
andreimarcu
b617d99746
Remove excessive js
9 years ago
andreimarcu
8caae56b39
json response + imported old drag and drop uploader
9 years ago