Martin Mahner
1692d4572c
No longer hide the base settings, have them in base.
2015-08-12 06:19:01 +02:00
Martin Mahner
2c0bd362a2
Updated messages.
2015-08-12 06:02:27 +02:00
Pesach Weinstock
71369bafdb
- Moving south migrations into deprecated directory
...
which is still supported by south 1.0+, but will not
get in the way of Django 1.7+ built-in migrations. See
http://south.readthedocs.org/en/latest/releasenotes/1.0.html#library-migration-path
and
https://docs.djangoproject.com/en/1.7/topics/migrations/#upgrading-from-south
2015-01-29 16:21:10 -05:00
Martin Mahner
a42f1d93e7
Merge remote-tracking branch 'origin/master'
2015-01-09 08:49:43 +00:00
Martin Mahner
74e474b390
Removed media path settings, there are no file uploads
2015-01-09 08:49:26 +00:00
Martin Mahner
011d641c3b
Updated message strings.
2014-12-29 11:43:16 +01:00
Martin Mahner
dfd0f25f11
Added wsgi application file
2014-12-14 17:28:28 +00:00
Martin Mahner
4939467620
Removed South from the default settings since it’s no longer compatible with latest Django 1.7.
2014-12-14 18:11:57 +01:00
Martin Mahner
b25b9b888e
Cleaned up all imports using isort.
2014-12-14 18:03:35 +01:00
Martin Mahner
611e0f6ea9
Apply network block middleware on all POSTs
2014-12-12 22:58:06 +01:00
Martin Mahner
459e60a138
Added a middleware to repel anonymous proxy and tor clients
2014-12-12 21:02:25 +00:00
Martin Mahner
4dfab6533a
Need to fix fallback value, in case the list is too short it would fail
2014-12-12 20:58:21 +00:00
Martin Mahner
7821056b64
Further cleanup of all „One-Time snippet“ strings.
2014-10-28 12:05:47 +01:00
Martin Mahner
6ca849cc91
Made the i18n url a fixed string, in Django 1.4 the named urlpattern does not exist yet. This looks like the best way to support all versions. Once 1.4 is deprecated we make this a revserse again.
2014-10-28 11:36:19 +01:00
Martin Mahner
ea27bf9e0f
Language support!
2014-10-28 11:22:43 +01:00
Sergio Oliveira
174080d259
Updated ES
2014-10-27 15:15:44 -02:00
Sergio Oliveira
a7a1a6238f
Updated pt_BR and es translations
2014-10-27 14:28:41 -02:00
Martin Mahner
d014c4df3f
DEBUG is now False by default.
2014-10-25 12:09:06 +02:00
Martin Mahner
1185b5128b
Updated german language.
2014-10-25 12:08:58 +02:00
Martin Mahner
8683c4c30d
Further language cleanup.
2014-10-25 12:08:11 +02:00
Sergio Oliveira
dce3d6b9bd
Fixed typo
2014-10-20 12:15:37 -02:00
Sergio Oliveira
ae2de8ef9c
Fixed typo
2014-10-20 12:15:37 -02:00
Martin Mahner
832645f129
First pass of a German language.
2014-10-17 08:43:44 +02:00
Sergio Oliveira
434aeed6d1
Updated i18n strings
2014-10-16 09:27:17 -03:00
Marco Rougeth
ca75059f10
Add pt_BR translations
2014-10-16 09:27:08 -03:00
Jacob Welsh
85a02edb8f
New settings for private installations
...
- The site name in the titles and "about" page can be changed from
dpaste.de
- The Gist feature can be disabled (both the UI and the code that does
the POST)
- A different URL can be given for jquery(.min).js besides google, such
as beside the local static files
2014-10-01 19:31:28 -05:00
Martin Mahner
ac87dac3cc
Added unittests for the xss bug.
2014-08-02 12:56:46 +02:00
Martin Mahner
497e5f0c28
Fixed XSS bug, 'code' lexer syntax were not escaped properly.
2014-08-01 20:56:58 +00:00
Martin Mahner
3bc2eb0c84
Add support to set a lexer with a given filename. Closes issue #63 .
...
This allows third-party API utils to set the lexer automatically based on the open filename.
2014-06-09 20:18:08 +02:00
Martin Mahner
fbe6aeedb7
Split testcases so we dont rely on a DB order.
2014-06-09 20:04:39 +02:00
Martin Mahner
5c0012b3dd
Removed Recent Changes.
2014-06-08 20:27:40 +02:00
Martin Mahner
0b50fd9bd1
No „View Raw“ button when viewing a one-time snippet, since it was already deleted at this time. Closes issue #62 .
2014-06-08 20:25:11 +02:00
Martin Mahner
ae61e6f9aa
Added settings docs for Gist changes made in issue #58 .
2014-06-08 20:21:59 +02:00
Marco Rougeth
9f1650693b
Add support to tzinfo
2014-06-08 20:16:58 +02:00
Martin Mahner
34181e03f7
Added a API value to set the expire time of snippets. Closes issue #64 .
2014-06-08 20:15:59 +02:00
Martin Mahner
afafd4fb3b
The expiration choice ‚never‘ is now enabled by default.
2014-06-08 20:09:36 +02:00
Marco Rougeth
f7e954491c
Abstracting Gist's options
2014-05-05 00:02:54 -03:00
Marco Rougeth
f094e72788
Fixing TypeError when creating gist
2014-05-04 23:52:37 -03:00
Marco Rougeth
8c7b752f7e
Add bootstrap3 support
2014-05-02 00:59:23 -03:00
Martin Mahner
1d7ba5a417
Usage update.
2014-04-12 11:33:41 -04:00
Martin Mahner
fa5c752ab9
Slightly simpler and cleaner API example.
2014-04-12 11:32:26 -04:00
Martin Mahner
8ebd3d1a82
Fixed indentation in about example.
2014-04-12 11:17:36 -04:00
Martin Mahner
550ad5a908
The 'code' lexer renders code snippets with no highlights now.
2014-04-12 11:01:09 -04: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
bbd68ee2c9
Fixed lexer key validation. Fixed tests.
2014-03-13 15:55:27 +01:00
Martin Mahner
a3b8c8a7a7
Fixed different fallback values for max-snippets setting.
...
Refs issue #51 .
2014-03-13 15:48:36 +01:00
Martin Mahner
68cb1c27ec
Merge remote-tracking branch 'origin/master'
2014-03-13 15:42:13 +01:00
Martin Mahner
1a0093ec0a
Added a generic 'code' lexer (which actually falls back to Python) to have a better distinction to 'text'.
...
Refs issue #52 .
2014-03-13 15:42:07 +01:00
Martin Mahner
e3f82db006
Fixed indentation that stole 1 whitespace. 4 spaces became 3.
2014-03-13 15:39:57 +01:00
Martin Mahner
1ed8e087fd
Added little hook to add extra context to homepage
2014-03-01 06:33:52 +00:00