Commit graph

532 commits

Author SHA1 Message Date
Martin Mahner
fc44b12504 Merge pull request #91 from lb1c/patch-1
Update installation.rst
2017-07-14 11:57:41 +02:00
Martin Mahner
6caa5bff48 Fixed curl docs. Closes #92 2017-06-05 20:31:45 +02:00
lb1c
fef7dd79ee Update installation.rst 2017-05-19 15:30:27 +02:00
Martin Mahner
4ae6e0aaa6 Added Django 1.11 to the test list. 2017-04-29 08:53:14 +02:00
Martin Mahner
54de452f19 further cleanup 2017-03-18 14:08:36 +01:00
Martin Mahner
b64d25bfaf Merge pull request #89 from koddsson/dynamic-base-url-in-about-page
Dynamic base url in about page
2017-03-10 08:38:33 +01:00
Kristján Oddsson
0e980b1eaf Change variable name from base_url to site_url
So it's more in-line with other global context variables ie.
`site_name`.

See https://github.com/bartTC/dpaste/pull/89#issuecomment-285331008
2017-03-09 14:27:09 +00:00
Kristján Oddsson
ec533a9dcc Replace hard-coded urls in about page with base_url
Display the `DPASTE_BASE_URL` instead of the hard-coded value
`dpaste.de`.
2017-03-09 11:13:29 +00:00
Kristján Oddsson
e6781d9dbc Expose base_url in global context for templates
Since `DPASTE_BASE_URL` is a dynamic setting that can be changed when
the application is self-hosted, the templates need to have access to the
variable when rendering the templates so that they do not erroneously
display the dpaste.de url.
2017-03-09 11:10:50 +00:00
Martin Mahner
95aca3588d Minor cleanup before highlight refactor. 2017-01-21 21:35:38 +01:00
Martin Mahner
0123fc1512 Removed tree 2017-01-21 14:46:05 +01:00
Martin Mahner
e1c3d21f38 Merge branch 'master' into cleanup 2017-01-21 14:45:51 +01:00
Martin Mahner
780aaa8315 Merge remote-tracking branch 'origin/master' 2017-01-21 00:42:33 +01:00
Martin Mahner
d44ae88e0e Removed mptt from dev requirements. 2017-01-21 00:42:31 +01:00
Martin Mahner
dc35409e0e Update README.rst 2017-01-20 13:28:02 +01:00
Martin Mahner
ab5277d48b Added all ctx processors to test runner. 2017-01-20 13:05:30 +01:00
Martin Mahner
a1ffb99d34 Merge remote-tracking branch 'origin/master' 2017-01-20 12:01:28 +01:00
Martin Mahner
e96a457053 Dont cover wsgi files. 2017-01-20 12:00:53 +01:00
Martin Mahner
47d9d39cc9 Removed unused middleware 2017-01-20 10:59:50 +00:00
Martin Mahner
2df0fd35b3 Fixed changelog date 2017-01-20 11:54:57 +01:00
Martin Mahner
fe60a1fc18 Bumped up to v2.13 2017-01-20 11:53:40 +01:00
Martin Mahner
f6d8c1c742 Fixed missing exception for 404 views in Django 1.9+ 2017-01-19 22:46:41 +01:00
Martin Mahner
12a15fffaf Added all current Python3 interpreter for testing. This is now in line with Django's testing scheme. 2017-01-19 13:34:07 +01:00
Martin Mahner
41ea174ca6 Fixed tox settings 2017-01-19 13:13:02 +01:00
Martin Mahner
f6e54738dd Removed mptt from installation docs. 2017-01-19 12:38:56 +01:00
Martin Mahner
f9813a6fbe Updated test runners. 2017-01-19 12:16:20 +01:00
Martin Mahner
a6a5bc726b Backwards incompatible: Removed Gist button feature. 2017-01-19 12:16:07 +01:00
Martin Mahner
ae27acf1f9 Backwards incompatible: django-mptt removal.
Removal of django-mptt and therefor the removal of a tree based snippet list, due to performance reasons with large snippet counts.

Snippets still have a 'parent' relation if it's an answer of another snippet, however this is no longer a Nested Set. The UI is simplified too and the user can now only compare an answer to it's parent snippet. I believe this is the major use case anyway.
2017-01-19 12:10:35 +01:00
Martin Mahner
a6982b7414 Added Hebrew translation. 2016-12-02 14:54:11 +01:00
Martin Mahner
335fa38ab1 Copy url button 2016-12-02 14:44:12 +01:00
Martin Mahner
d765a0ccda Stub test for leading whitespace bug. 2016-12-02 13:38:47 +01:00
Martin Mahner
4b6dbb34d5 Use Postgres for testing. 2016-12-02 13:38:13 +01:00
Martin Mahner
d92a169805 2.12 Release 2016-09-06 15:14:27 +02:00
Martin Mahner
6505f07a2a Moved template variables into a context processor. Fixed content type handling with Django 1.10. 2016-09-06 15:08:03 +02:00
Martin Mahner
722971e854 Trying different version identifiers. Refs #82. 2016-09-06 14:31:30 +02:00
Martin Mahner
1cc6a1a05e Added atom plugin. Closes #75. 2016-09-04 20:14:30 +02:00
Martin Mahner
fcfa2c60fb 2.11 Release 2016-09-04 20:09:22 +02:00
Martin Mahner
b51c16bcbc Code cleanup and update for Django 1.10. Fixed all warnings. 2016-09-04 20:06:07 +02:00
Martin Mahner
a39697bdeb Added Django 1.10 to local dev and tests. 2016-09-04 20:05:44 +02:00
Martin Mahner
9a64fdca29 Merge pull request #81 from ferringb/cleanup_snippets
cleanup_snippets: use self.stdout rather than sys.stdout
2016-09-04 19:45:34 +02:00
Brian Harring
0bf4a7587a cleanup_snippets: use self.stdout rather than sys.stdout
The point of using these handles rather than sys.* is to support things
like this: https://docs.djangoproject.com/ja/1.9/ref/django-admin/#output-redirection

It also makes unit testing the output simpler.
2016-08-10 23:17:50 +00:00
Martin Mahner
81175e4d43 Merge pull request #80 from ferringb/master
Use https:// for jquery script download by default.
2016-08-09 22:55:07 +02:00
Brian Harring
fd4beeec73 Use https:// for jquery script download by default.
Google offers SSL for the resource, so we might as well use that
as the default to cut off MITM angles.
2016-08-08 23:50:03 +00:00
Martin Mahner
f76292da69 Merge pull request #79 from nixon/headline_url
use snippet_new url for headline
2016-07-03 19:37:14 +02:00
nixon
2638096448 use snippet_new url for headline 2016-07-03 10:04:48 -05:00
Martin Mahner
5901421657 Make Webalizer work with rotated logfiles. 2016-06-18 10:54:20 +00:00
Martin Mahner
c07c45dc31 Merge remote-tracking branch 'origin/master' 2016-06-04 07:02:12 +00:00
Martin Mahner
f604568bea Have logfiles in standard folder 2016-06-04 07:02:07 +00:00
Martin Mahner
ae7246eeaa Merge pull request #76 from rougeth/r-lexer
Added R lexer
2016-06-04 09:01:19 +02:00
Marco Rougeth
c3ba7de621 Added R lexer 2016-06-03 15:24:45 -03:00