Commit graph

512 commits

Author SHA1 Message Date
Martin Mahner
f45381223f Added missing travis dependencies. 2013-11-25 23:10:24 +01:00
Martin Mahner
b09bc89f76 Test multiple Django versions on Travis. 2013-11-25 23:00:55 +01:00
Martin Mahner
012a268b59 Test multiple Django versions on Travis. 2013-11-25 22:59:27 +01:00
Martin Mahner
f1be2e324e Fixed travis yml 2013-11-25 22:52:58 +01:00
Martin Mahner
a896d17aa0 Fixed coverage setting. 2013-11-25 22:51:59 +01:00
Martin Mahner
1789ba6159 Fixed local setting ignore. 2013-11-25 22:51:52 +01:00
Martin Mahner
f37aec963d Removed fabfile. 2013-11-25 22:51:47 +01:00
Martin Mahner
8b209acfb4 Tox. Runtests. Travis. Yay. 2013-11-25 22:44:36 +01:00
Martin Mahner
c4dbc7f812 Better typo for text preview. 2013-11-25 21:28:45 +01:00
Martin Mahner
3fb5ca9598 Better visual highlighted line 2013-11-25 20:14:14 +01:00
Martin Mahner
1d8cff1dde Moar tests. 2013-11-25 19:37:01 +01:00
Martin Mahner
6f563ee4ea Use Python's json now. 2013-11-25 19:36:57 +01:00
Martin Mahner
8e727cb940 Set to debug True by default. 2013-11-25 19:36:50 +01:00
Martin Mahner
75618d649b Fixed import. 2013-11-25 19:36:32 +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
715be017dd Removed caches since they are not used. Back to db based session storage. Re-added sessions backend. 2013-11-25 09:12:25 +01:00
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