Darren
3809545536
remove pycache
2022-03-03 03:29:49 -05:00
Darren
6e5d3c8489
merge master into dp4
...
Signed-off-by: Darren <git@darrennathanael.com>
2022-03-03 03:27:35 -05:00
Martin Mahner
adc8573134
Code cleanup
2021-12-14 08:39:08 +01:00
Martin Mahner
cb7719b59f
Update tests.py
2020-01-21 23:24:13 +01:00
Martin Mahner
d0f7e2eda6
Use Black's default line length of 88
2020-01-08 13:19:52 +01:00
Martin Mahner
d8e3d62f29
More cleanup and more helper
2019-12-08 12:47:39 +01:00
Martin Mahner
0c9b346c4d
Add cache control headers with respect to Snippet expire time.
2019-12-08 09:07:23 +01:00
Martin Mahner
3de7837ac2
Extra context variables
2019-12-07 17:04:44 +01:00
Martin Mahner
101060e6e5
Document Docker installation
2019-12-07 13:03:18 +01:00
Martin Mahner
f86f298a03
Try to automate migrations.
2019-12-07 12:21:04 +01:00
Martin Mahner
e3d4725e52
Fix Django 3.0 tests with CSP issues
2019-12-07 12:05:53 +01:00
Martin Mahner
c9ab955545
Drop pipenv in favor of Docker/Virtualenv.
...
Basically https://chriswarrick.com/blog/2018/07/17/pipenv-promises-a-lot-delivers-very-little/
2019-12-07 11:37:30 +01:00
Martin Mahner
dc3e797be8
Further cleanup along settings and debris.
2019-12-07 09:38:07 +01:00
Martin Mahner
e54790c8f9
Quote cleanup, fStrings and Deprecation fixes.
2019-12-07 07:20:52 +01:00
Martin Mahner
34b970cf5d
New AppConfig settings APPLICATION_NAME and EXTRA_HEAD_HTML
2019-12-05 11:36:24 +01:00
Martin Mahner
63a8500cc8
Django 3.0 compatibility.
2019-12-05 09:41:05 +01:00
Martin Mahner
7759df5158
Use pytest for testsuite runs.
2019-12-05 09:40:39 +01:00
Martin Mahner
7acfa1f475
Ship compiled static files with Pypi package. #125
2019-07-12 16:14:18 +02:00
Martin Mahner
42812855b2
Code cleanup and setup.cfg
2019-01-25 13:47:00 +01:00
Martin Mahner
e0fc68e4e0
Fixed StaticInline config
2018-09-17 21:56:52 +02:00
Martin Mahner
00c6f058b9
Black'ed the entire codebase
...
black dpaste/ --skip-string-normalization --exclude="migrations"
2018-07-04 12:06:48 +02:00
Martin Mahner
5702672ab4
Use in-memory sqlite db for testing.
2018-06-23 15:47:30 +02:00
Martin Mahner
99629d6cd6
Settiings check and cleanup.
2018-06-23 15:17:03 +02:00
Martin Mahner
5fb4a7248e
Better Appconfig Example
2018-06-22 13:04:08 +02:00
Martin Mahner
14cfcd9226
Added local settings AppConfig Example.
2018-06-22 12:56:52 +02:00
Martin Mahner
053808f2bf
Removed MAX_SNIPPETS_PER_USER
...
No need to purge them from the session, they are purged from the db anyway.
2018-06-22 11:42:41 +02:00
Martin Mahner
c685f6a5ac
Removed inline tag in favor of a separate app.
2018-04-29 17:44:34 +02:00
Martin Mahner
3e88b66cfa
Removed unicode literals
2018-04-29 12:00:00 +02:00
Martin Mahner
336ae3b968
More generic code cleanup
2018-03-24 08:56:38 +01:00
Martin Mahner
2596c1722f
Manifest Storage to overcome caching issues.
2018-03-14 09:07:15 +01:00
Martin Mahner
3224f22f8a
Merge branch 'master' into v3
2018-03-12 16:49:26 +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
90e5008b03
Security Enhancements.
2018-01-07 17:20:59 +01:00
Michael Marx
48c77e6ad8
Added a french translation ( #99 )
2018-01-04 20:50:52 +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
2fb745565d
Removed context debris.
2017-09-13 09:35:55 +02: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
4b6dbb34d5
Use Postgres for testing.
2016-12-02 13:38:13 +01: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
b51c16bcbc
Code cleanup and update for Django 1.10. Fixed all warnings.
2016-09-04 20:06:07 +02:00
Martin Mahner
021101d9e0
Fix for missing languages in about menu.
2016-03-25 11:43:06 +01:00
Martin Mahner
d2a704c075
Code Updates for Django 1.8+
2016-03-23 14:02:19 +01:00
Martin Mahner
1692d4572c
No longer hide the base settings, have them in base.
2015-08-12 06:19:01 +02:00
Martin Mahner
74e474b390
Removed media path settings, there are no file uploads
2015-01-09 08:49:26 +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
ea27bf9e0f
Language support!
2014-10-28 11:22:43 +01:00