Commit graph

509 commits

Author SHA1 Message Date
Martin Mahner
7efff4fa19 Fixed leading whitespace in API 2018-03-12 13:45:52 +01:00
Martin Mahner
b1b7aa51a4 Added tests to make sure content is saved with leading whitespaces in the db. 2018-03-12 13:42:20 +01:00
Martin Mahner
6255885bea Fixed Travis 2018-03-12 13:12:19 +01:00
Martin Mahner
81f9718edc Highlight Whitespace tests 2018-03-12 13:04:18 +01:00
Martin Mahner
2a1841ac56 Full metal cleanup 2018-03-12 11:59:38 +01:00
Martin Mahner
8582114b90 CSP Settings 2018-01-08 12:21:52 +01:00
Martin Mahner
faf8874f50 Added django-csp setting 2018-01-07 17:26:07 +01:00
Martin Mahner
90e5008b03 Security Enhancements. 2018-01-07 17:20:59 +01:00
Martin Mahner
4924c88107 Use Pipenv 2018-01-07 17:20:50 +01:00
Martin Mahner
bea1aa811a Reset to 'standard' folders 2017-12-12 22:28:28 +01:00
Martin Mahner
451b9e9ada removed gunicorn dependency 2017-12-12 22:07:27 +01:00
Martin Mahner
352bb8da9a dpaste isn't django 2.0 ready yet. 2017-12-12 20:23:43 +01:00
Martin Mahner
d9bce49852 Merge remote-tracking branch 'origin/v3' into v3 2017-12-12 20:12:08 +01:00
Martin Mahner
f8dc4c0b71 Updated docs. 2017-12-12 20:12:03 +01:00
Martin Mahner
25713de3ae Update CHANGELOG 2017-10-24 18:56:45 +02:00
Martin Mahner
e7e61cf6e4 Fixes broken cmd_enter in Firefox. Closes #96. 2017-10-24 18:35:50 +02:00
Martin Mahner
5ab0f03443 Added Django 2.0a to test suite. 2017-09-27 11:22:45 +02:00
Martin Mahner
2fb745565d Removed context debris. 2017-09-13 09:35:55 +02:00
Martin Mahner
6ecde113b6 Fixed CSRF check in API. Closes #94. 2017-09-13 09:35:47 +02:00
Martin Mahner
cf61cc52d4 Fixed tests for Py3 2017-09-13 09:26:14 +02:00
Martin Mahner
f936bd43c3 Header fixes 2017-09-06 13:54:58 +02:00
Martin Mahner
f08c7de609 Fixed wordwrap and marking 2017-09-06 13:52:52 +02:00
Martin Mahner
4bdcbdcd20 Removed bootstrap. 2017-09-05 13:43:16 +02:00
Martin Mahner
3aa06d30e0 100% vanilla JS now. 2017-09-01 18:57:06 +02:00
Martin Mahner
1167d6fcdb Changelog 2017-09-01 12:34:57 +02:00
Martin Mahner
201f78e81b First iteration of JS vanilla'ization 2017-09-01 12:34:52 +02:00
Martin Mahner
470b8dd2b3 v3.0 2017-09-01 11:32:58 +02:00
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