Martin Mahner
a6a5bc726b
Backwards incompatible: Removed Gist button feature.
2017-01-19 12:16:07 +01:00
Martin Mahner
b51c16bcbc
Code cleanup and update for Django 1.10. Fixed all warnings.
2016-09-04 20:06:07 +02:00
Martin Mahner
d2a704c075
Code Updates for Django 1.8+
2016-03-23 14:02:19 +01:00
Martin Mahner
b25b9b888e
Cleaned up all imports using isort.
2014-12-14 18:03:35 +01:00
Martin Mahner
ea27bf9e0f
Language support!
2014-10-28 11:22:43 +01:00
Martin Mahner
0a3e2b5082
Fixed duplicate slugs.
...
Before a slug could get generated again, which threw an error since it was not unique, but treated as a kind of primary key.
Now if the same slug gets generated again, we generate one other slug with one more character.
2014-04-12 10:10:46 -04:00
Martin Mahner
fac97b61fa
Slug length and choices are now settings.
2013-11-29 18:46:28 +01:00
Martin Mahner
fb5bef707f
Moved about page to 'paste' to fix 3rd party integration.
2013-11-29 18:46:11 +01:00
Martin Mahner
14d014bcba
Fixed urlpattern warning.
2013-11-24 19:46:47 +01:00
Marius Gedminas
508d86ba31
Allow raw snippets without trailing slash
...
Fixes an asymmetry where both of
curl https://dpaste.de/xXxx
curl https://dpaste.de/xXxx/
work, but
curl https://dpaste.de/xXxx/raw/
fails without a trailing slash (because curl doesn't follow redirects by
default).
2013-10-22 11:01:15 +03:00
Martin Mahner
6e641290e2
Fixed couple of merge issues
2013-09-27 17:50:58 +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
4ba94ce64e
Shorter random URLs and no longer a trailing slash.
2013-09-27 17:39:12 +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
e3de35fa15
No need for a sendmail compatible smtp anymore.
2013-08-15 19:09:10 +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
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
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
6302145007
Unittests for the API
2013-03-22 21:03:10 +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
1e0b32b7d1
Removed Django admin. It was never useful anyway.
2013-03-21 19:40:48 +01:00
Martin Mahner
f7916a6960
Huge design overhaul.
2013-03-19 19:17:07 +01:00
Martin Mahner
4183c58cdd
Upgraded to Django 1.5. Fixed urls and paths
2013-03-19 14:46:06 +01:00
Martin Mahner
11b582cc6c
Custom error views to load dpaste error templates.
2013-03-19 14:18:43 +01:00
Martin Mahner
9593853696
Splittet urlpatterns into several files. Will make it much easier to implement this as an app into an existing project.
2013-03-19 14:06:26 +01:00