Martin Mahner
130605a04c
Added csrf support. Closes issue #34 .
2013-12-17 22:52:21 +01:00
Martin Mahner
91d40c521a
Added X-Content-Type-Options='nosniff' to the Raw view.
2013-12-17 18:11:25 +01:00
Martin Mahner
6f563ee4ea
Use Python's json now.
2013-11-25 19:36:57 +01:00
Martin Mahner
1069b3a88d
Simplificiation of a snippet GET. No check for Multiple objects, if it really happens, fail loud.
2013-11-25 09:12:51 +01:00
Martin Mahner
c1c43dd51a
A better API that supports more values.
2013-11-24 19:18:56 +01:00
Martin Mahner
f1a0dbab49
Allow to delete all snippets at once.
2013-11-24 18:16:29 +01:00
Martin Mahner
3db308f750
Fixed missing import
2013-09-27 19:30:23 +00:00
Martin Mahner
e34c46f9aa
Fixed snippet delete function.
2013-09-27 17:54:05 +02:00
Martin Mahner
0e251a0392
Merge branch 'develop'
...
Conflicts:
dpaste/urls/dpaste.py
dpaste/views.py
2013-09-27 17:47:09 +02:00
Martin Mahner
2c072e2789
Huge cleanup. Simplified lexer massively. Cleaned up view code. Cleaned up syntax highlighting.
2013-08-15 20:42:02 +02:00
Martin Mahner
2b402680f8
Allow anybody to delete a snippet.
...
I got too many requests in the past, most of because people created snippets via the API and can't delete them, or because of legal issues.
2013-07-19 09:54:18 +02:00
Martin Mahner
f6f04901d6
Create python files on Gist by default
2013-06-05 17:44:56 +00:00
Martin Mahner
8db8977910
Create a Github gist from a snippet.
...
I'm not yet sure how useful it is, since its creates Gists in a anomymous space and not under your account, but if you want to save Snippets permanently, thats the way to go.
2013-06-05 19:40:41 +02:00
Martin Mahner
241180a350
Updated to Django 1.5.1
2013-03-29 19:09:59 +01:00
Martin Mahner
4978538a97
Removed Django-Piston, added a very simple view to handle API calls. Fully backwards compatible. Fixes all tests.
2013-03-29 19:09:22 +01:00
Martin Mahner
a1e44486d2
Autofocus the textfield for a new snippet.
2013-03-22 19:40:31 +01:00
Martin Mahner
368c8101ce
Now that there is no admin anymore I need a quick way to check the total snippet count, to see if something goes wrong or I'm DOSed.
2013-03-22 19:33:11 +01:00
Martin Mahner
faf840a113
Decoupled functions
2013-03-19 21:13:13 +01:00
Martin Mahner
e7e38d409d
Lexer handling.
2013-03-19 19:47:09 +01:00
Martin Mahner
f7916a6960
Huge design overhaul.
2013-03-19 19:17:07 +01:00
Martin Mahner
11b582cc6c
Custom error views to load dpaste error templates.
2013-03-19 14:18:43 +01:00
Martin Mahner
ee0fc79a3e
Renamed pastebin > dpaste.
...
This is a way simpler project structure, its also backwards compatible. Its a huge cleanup and should make further development and also 3rd party integration much easier.
2013-03-19 13:33:35 +01:00