Martin Mahner
198e5252fb
Set a max_length for all snippets. Nobody needs more than 256k of space.
2013-03-22 19:41:39 +01:00
Martin Mahner
e9770293bb
Autofocus the textfield for a new snippet.
2013-03-22 19:41:39 +01:00
Martin Mahner
9321195ff4
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:41:39 +01:00
Martin Mahner
4e4463faf7
Removed auth, sites and content types. Without the admin we no longer need em.
2013-03-22 19:41:39 +01:00
Martin Mahner
22bce7a008
Removed Django admin. It was never useful anyway.
2013-03-22 19:41:39 +01:00
Martin Mahner
ecf7653bf9
Added a smtp comment
2013-03-22 19:41:39 +01:00
Martin Mahner
9b7a252bc9
Updated mysqldb
2013-03-22 19:41:39 +01:00
Martin Mahner
c922a30dca
Removed Raven/Sentry
2013-03-22 19:41:39 +01:00
Martin Mahner
ed29279b0a
Added dpaste.org to ALLOWED_HOSTS
2013-03-21 18:26:35 +00:00
Martin Mahner
da66c18479
No left and right padding, looks better on mobile
2013-03-20 13:45:52 +01:00
Martin Mahner
1f863b345f
Ability to link and open to diffs directly. Fixes issue #2 .
2013-03-20 13:41:31 +01:00
Martin Mahner
e14192d2d1
Save the recently used lexer to use it next time again. Fixes issue #3
2013-03-20 13:08:41 +01:00
Martin Mahner
d42a2d3c79
Don't display the compare button if the snippet has no replies. Fixes issue #6 .
2013-03-20 12:58:07 +01:00
Martin Mahner
ca1e12596c
Fixed curl example
2013-03-20 12:49:44 +01:00
Martin Mahner
a202d88324
Highlight the API example. Fixes issue #7
2013-03-20 12:09:11 +01:00
Martin Mahner
638a62d775
Line numbers are 1 based. Fixes issue #5 .
2013-03-20 12:03:39 +01:00
Martin Mahner
faf840a113
Decoupled functions
2013-03-19 21:13:13 +01:00
Martin Mahner
f3b5bad47c
Merge branch 'master' of github.com:bartTC/dpaste
2013-03-19 19:37:18 +00:00
Martin Mahner
cdc4bc49bd
enabled all lexers
2013-03-19 20:37:01 +01:00
Martin Mahner
8142f3476b
Merge branch 'master' of github.com:bartTC/dpaste
2013-03-19 19:30:05 +00:00
Martin Mahner
a5bc2ac164
Error page fixes
2013-03-19 20:29:31 +01:00
Martin Mahner
43c6960f6d
Added a missing init.py.
2013-03-19 19:26:15 +00:00
Martin Mahner
19e45995bf
Removed print
2013-03-19 20:20:15 +01:00
Martin Mahner
2287efb3b7
Added ALLOWED_HOSTS and LOGGING settings
2013-03-19 19:13:24 +00:00
Martin Mahner
2f8c22dc55
Setting fixes
2013-03-19 19:58:10 +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
4183c58cdd
Upgraded to Django 1.5. Fixed urls and paths
2013-03-19 14:46:06 +01:00
Martin Mahner
e894fa7324
Added bootstrap.
2013-03-19 14:41:11 +01:00
Martin Mahner
11b582cc6c
Custom error views to load dpaste error templates.
2013-03-19 14:18:43 +01:00
Martin Mahner
82622db10c
Moved all templates into the dpaste subdirectory.
...
This will make integration into projects again easier, it wont overwrite existing templates. Those projects only need to overwrite dpaste/base.html to integrate it into their project layout.
2013-03-19 14:11:52 +01:00
Martin Mahner
04fefe15a6
Little code cleanup.
2013-03-19 14:08:56 +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
Martin Mahner
833d0988db
Added some example settings.
2013-03-19 13:55:46 +01:00
Martin Mahner
d539631da7
More project restructuring to make the project look more like a Django 1.5 project.
2013-03-19 13:54:25 +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
Martin Mahner
bbb873d7b8
Added a rough list of available api tools.
2013-03-19 11:30:05 +01:00
Martin Mahner
f107a762df
Updated requirements needed for local installation.
2013-03-19 11:29:52 +01:00
Martin Mahner
f479fd6614
Merge pull request #1 from mgedmin/doc-improvements
...
Doc improvements: simplify Python code, show shell one-liner alternative
2013-03-19 02:21:35 -07:00
Marius Gedminas
741d926201
Mention a shell alias alternative using curl
2013-03-06 13:18:54 +02:00
Marius Gedminas
4e6352331f
Simplify/explain example code
2013-03-06 13:18:38 +02:00
Martin Mahner
72e9f786fa
Updated sentry points
2012-06-16 12:32:49 +02:00
Martin Mahner
73f9df98ac
Updated jquery
2012-06-16 00:08:47 +02:00
Martin Mahner
b36117ed1b
Added raven-js
2012-06-16 00:07:11 +02:00
Martin Mahner
9d2ef6219c
Added sentry logging
2012-06-15 23:57:52 +02:00
Martin Mahner
4b8c9fe1ef
Added sublime note.
2012-04-20 11:48:32 +02:00
Martin Mahner
74cd9345ae
Lint.
2012-04-20 11:48:26 +02:00
Martin Mahner
a46b7b6f5a
Merge branch 'master' of github.com:bartTC/dpaste.de
2012-04-15 16:54:35 +02:00
Martin Mahner
70c19d0e1c
Date correction
2012-04-15 16:54:26 +02:00
Martin Mahner
bd9ad00aee
Raw id field for performance
2012-04-15 14:30:25 +00:00