Commit graph

246 commits

Author SHA1 Message Date
Martin Mahner
984fcae343 Missing libs 2013-11-25 00:12:05 +01:00
Martin Mahner
3881f6bafc Coveralls 2013-11-25 00:08:31 +01:00
Martin Mahner
902efaed97 Coverage 2013-11-24 23:56:34 +01:00
Martin Mahner
b4f01103dc Moar cleanup. 2013-11-24 23:37:01 +01:00
Martin Mahner
43f82ba42b Python 3 compatibility. 2013-11-24 23:09:46 +01:00
Martin Mahner
d14bde889f Cleaned settings. 2013-11-24 23:02:16 +01:00
Martin Mahner
cca489f71e Added bare installation docs. 2013-11-24 21:06:52 +01:00
Martin Mahner
3ce888ad9f Cleaned up app and project based requirements. 2013-11-24 21:06:46 +01:00
Martin Mahner
14d014bcba Fixed urlpattern warning. 2013-11-24 19:46:47 +01:00
Martin Mahner
ba0cbcd7c5 UI fixes for error pages. 2013-11-24 19:19:47 +01:00
Martin Mahner
c1c43dd51a A better API that supports more values. 2013-11-24 19:18:56 +01:00
Martin Mahner
82cbb9f141 UI Improvements. 2013-11-24 18:25:30 +01:00
Martin Mahner
33a37aed8d Go back to homepage by clicking on the page title. 2013-11-24 18:20:00 +01:00
Martin Mahner
f1a0dbab49 Allow to delete all snippets at once. 2013-11-24 18:16:29 +01:00
Martin Mahner
5cea272b15 UI improvements. Bootstrap sucks. 2013-11-24 17:58:57 +01:00
Martin Mahner
6960f67026 Text snippets are now rendered as text. 2013-11-24 17:05:43 +01:00
Martin Mahner
691c21dd0f Allow to set the initial lexer via GET. 2013-11-23 16:31:13 +01:00
Martin Mahner
1fce9e38f6 Reorganised settings. Removed Redis cache from base settings. 2013-11-23 16:08:11 +01:00
Martin Mahner
77c259ee39 Merge branch 'master' into develop 2013-11-23 15:55:53 +01:00
Martin Mahner
8b25d62c49 Merge pull request #22 from mgedmin/better-raw-responses
Better raw responses
2013-10-22 10:21:33 -07: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
Marius Gedminas
520332e151 Trailing newline on raw responses
Without this you cannot easily share patches:

    user@machine1 $ git diff | curl -F 'content=<-' https://dpaste.de/api/
    user@machine2 $ curl https://dpaste.de/xxxx/raw/ | git apply
    fatal: corrupt patch at line 67
2013-10-22 11:01:15 +03:00
Martin Mahner
fb20e91a7d Added session cache backend. Added redis. Updated requirements. 2013-09-28 12:34:57 +02:00
Martin Mahner
c711639bac About improvements 2013-09-27 19:40:14 +00:00
Martin Mahner
3db308f750 Fixed missing import 2013-09-27 19:30:23 +00:00
Martin Mahner
11f0096816 More precise url handling 2013-09-27 19:28:07 +00:00
Martin Mahner
bf39d704d7 Fixed a bug that raised an error if a lexer is unknown 2013-09-27 19:27:46 +00:00
Martin Mahner
e34c46f9aa Fixed snippet delete function. 2013-09-27 17:54:05 +02: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
4c96e1eb17 Update test_api.py 2013-08-15 21:42:26 +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
03dc21c550 Updated requirements. 2013-08-15 19:11:15 +02:00
Martin Mahner
e3de35fa15 No need for a sendmail compatible smtp anymore. 2013-08-15 19:09:10 +02:00
Martin Mahner
1d6fea38c4 Cleaned up models. 2013-08-15 19:06:15 +02:00
Martin Mahner
02f067805b Merge remote-tracking branch 'origin/master' 2013-07-19 09:54:25 +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
9bb1a52f89 Listen on all sort of domains 2013-06-05 18:46:55 +00:00
Martin Mahner
9b1d06a919 Added a https www-to-non-www redirect. 2013-06-05 20:44:31 +02:00
Martin Mahner
f6f04901d6 Create python files on Gist by default 2013-06-05 17:44:56 +00:00
Martin Mahner
6a17c7d457 Increased worker size 2013-06-05 17:41:45 +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
3c871c4b90 Bumped up version 2013-05-31 11:48:48 +02:00
Martin Mahner
27f97ed458 Removed message 2013-05-31 09:47:02 +00:00
Martin Mahner
0530c8cb30 Less longer htst header 2013-05-30 20:42:27 +00:00
Martin Mahner
49edeecca0 Clickjacking middleware 2013-05-28 23:00:41 +00:00
Martin Mahner
30dd414a0f SSL example 2013-05-28 22:37:16 +00:00
Martin Mahner
a7afa9a944 SSL settings 2013-05-28 22:35:01 +00:00
Martin Mahner
668c2d71f4 SSL server config 2013-05-27 09:26:36 +00:00