Commit graph

574 commits

Author SHA1 Message Date
Martin Mahner
15d4970343 Updated all dev requirements 2014-12-14 18:11:26 +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
641d156128 Rate limiting; allow 2r/s so we can do a POST and GET of a snippet faster 2014-12-12 21:30:15 +00:00
Martin Mahner
51d9d6a8a7 Some basic rate limiting 2014-12-12 21:25:51 +00: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
a546cc4d59 Further nginx improvements 2014-12-12 19:16:51 +00:00
Martin Mahner
39e687dbce Simplified nginx conf. Redirect .org to .de 2014-12-12 19:06:29 +00:00
Martin Mahner
b1e82903ac Apparently you no longer need a ‚fake‘ lazy lambda and can use ugettext right away in the settings.
I remember this was not possible since gettext requires settings itself and so you had a cross reference. Maybe I was just wrong too.
2014-10-28 12:14:30 +01:00
Martin Mahner
7821056b64 Further cleanup of all „One-Time snippet“ strings. 2014-10-28 12:05:47 +01:00
Martin Mahner
d8056a83ea Updated Django versions to test against. Removed Django 1.5 since its no longer supported by Django itself. Some Django 1.7 improvements. 2014-10-28 11:52:04 +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
030556ea05 Added Transifex script configuration 2014-10-27 15:16:04 -02: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
40d044e424 Merge remote-tracking branch 'origin/master' into i18n
Conflicts:
	dpaste/forms.py
2014-10-25 12:14:36 +02:00
Martin Mahner
cdd20df09d Merge pull request #65 from welshjf/doc_fixes
Doc typo fixes
2014-10-25 12:13:47 +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
Sergio Oliveira
7f602f60cd Fixed typo 2014-10-20 12:13:03 -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
Martin Mahner
99a3fcd361 Merge pull request #66 from welshjf/site_settings
New settings for private installations
2014-10-02 05:16:29 +02: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
Jacob Welsh
fa95dc64e8 Fix non-readthedocs sphinx build
Note, this means you have to set the environment variable
READTHEDOCS=True to use the RTD theme, which appears to have been the
intent.
2014-09-30 15:36:37 -05:00
Jacob Welsh
bdd29df7c7 Fix DPASTE_SLUG_CHOICES alphabet in documentation 2014-09-30 15:34:48 -05:00
Martin Mahner
66203c18fe Fixed misleading doc typo 2014-08-02 13:10:49 +02:00
Martin Mahner
dc54b35749 Prepared for next release. 2014-08-02 13:08:15 +02:00
Martin Mahner
22e095279d Updated changelog. 2014-08-02 12:57:08 +02:00
Martin Mahner
e729ac1a46 Updated Django versions used for testing. 2014-08-02 12:56:59 +02:00
Martin Mahner
ac87dac3cc Added unittests for the xss bug. 2014-08-02 12:56:46 +02:00
Martin Mahner
e74d456272 Merge branch 'master' of github.com:bartTC/dpaste 2014-08-01 21:33:37 +00:00
Martin Mahner
497e5f0c28 Fixed XSS bug, 'code' lexer syntax were not escaped properly. 2014-08-01 20:56:58 +00:00
Martin Mahner
fc9529572b Added a note that you have to disable ‚lexer‘ to use ‚filename‘.
Might be good to rethink the logic here.
2014-06-09 20:21:26 +02:00
Martin Mahner
9768ab9573 Added Dev Changelog 2014-06-09 20:19:07 +02: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
be724756b9 Changelog update and 2.6 Release 2014-06-08 20:31:51 +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