1206 Commits

Author SHA1 Message Date
Fabian Weisshaar
0a625d6853 Add missing migration files 2019-12-30 17:31:01 +01:00
TW
2107a66b8d
Merge pull request #448 from ThomasWaldmann/i18n
remove tr and cn translations from repo (see transifex)
2019-12-30 00:09:53 +01:00
Thomas Waldmann
79b1e2b93a remove tr and cn translations from repo (see transifex) 2019-12-29 17:22:13 +01:00
TW
ed673c68d0
Merge pull request #443 from elnappo/updates
[WIP] 36c3
2019-12-27 20:28:35 +01:00
Fabian Weisshaar
27f14631f3 update year 2019-12-27 17:58:33 +01:00
Fabian Weisshaar
65ebf8ad8c Update fontawesome, bootstrap and jquery, fix #444 2019-12-27 17:26:51 +01:00
TW
5edb9f768a
Merge pull request #410 from elnappo/secure-http
Add some security HTTP Headers
2019-12-27 16:58:01 +01:00
Fabian Weisshaar
86cf85c1b1
Create FUNDING.yml 2019-12-27 16:53:14 +01:00
Fabian Weisshaar
3eea92a057 Add GitHub social preview image 2019-12-27 16:00:09 +01:00
Fabian Weisshaar
58fcd4785c Remove Python 2.7 support, add Python 3.8 support 2019-12-27 15:35:47 +01:00
Fabian Weisshaar
bf2a06353d Update Django to v2.2, see #386 2019-12-27 15:35:47 +01:00
Fabian Weisshaar
bcae9584ff Add a link to user in host admin, fix #440 2019-12-27 15:35:47 +01:00
Fabian Weisshaar
daac6aeaee Add docs on how to disable user registration, see #438 2019-12-27 15:35:47 +01:00
Fabian Weisshaar
60a3fe559c Set HTTPONLY to CSRF cookies 2019-05-16 11:31:09 +02:00
Fabian Weisshaar
1732ace5a0 Add Referrer-Policy HTTP Header, #281 2019-05-16 11:30:34 +02:00
Fabian Weisshaar
5b930d07fc Add X-XSS-Protection and X-Content-Type-Option HTTP Header 2019-05-16 11:30:34 +02:00
TW
78616cdd78
Merge pull request #431 from elnappo/integrate_logo
Integrate new logo
2019-05-10 01:01:19 +02:00
Fabian Weisshaar
0a3bf17b2c Integrate new logo, thanks to @mirzazulfan #78 2019-05-03 11:18:32 +02:00
Mirza Zulfan
300e650261 New Logo 2019-04-30 22:55:19 +02:00
TW
fa092386b3
Merge pull request #430 from ThomasWaldmann/update-changes
update CHANGES
2019-04-16 15:46:34 +02:00
Thomas Waldmann
7625e5b041 update CHANGES 2019-04-15 23:48:16 +02:00
TW
abeefaedb9
Merge pull request #429 from ThomasWaldmann/bad-hosts
add BAD_HOSTS setting for nasty clients
2019-04-15 19:07:56 +02:00
Thomas Waldmann
4c49ef5613 add BAD_HOSTS setting for nasty clients
having one who updates every 5s with a invalid password.
this locks the database (due to it increasing auth fail count and msg)
all the time, so i can't even delete that host from django admin.

also: Response now get a status parameter, defaulting to 200.
2019-04-15 18:57:54 +02:00
TW
4581f90f2d
Merge pull request #428 from ThomasWaldmann/fix-herror
fix crash / add logging for reverse lookup on invalid ip address string
2019-04-14 22:24:21 +02:00
Thomas Waldmann
f4bdf5b37d fix crash / add logging for reverse lookup on invalid ip address string 2019-04-14 22:12:20 +02:00
TW
c320578879
Merge pull request #427 from ThomasWaldmann/i18n
translations updates
2019-04-14 21:24:19 +02:00
Thomas Waldmann
1feb5dbfb8 web UI languages: add greek, remove polish, prepare for spanish/chinese
greek is complete, polish was very incomplete and remove from git.

spanish and chinese have a high percentage of completed translations,
but not there yet. please help completing them!
2019-04-14 17:28:43 +02:00
Thomas Waldmann
96872b950d add spanish translation (es), incomplete still, 85% 2019-04-14 17:14:02 +02:00
Thomas Waldmann
5297ac68cc remove very incomplete polish translation
it was already gone on transifex, but still present in git.

only a few strings were translated here, not usable, so better
start this from scratch.
2019-04-14 17:14:02 +02:00
Thomas Waldmann
dcced1868f add greek translation (el)
thanks to tony baliatsas!
2019-04-14 17:14:02 +02:00
Thomas Waldmann
2f7c0ae91f i18n updated 2019-04-14 17:14:02 +02:00
TW
7ef42f5727
Merge pull request #426 from ThomasWaldmann/admin-api-auth-faults
add api_auth_faults to host admin
2019-04-09 23:14:15 +02:00
Thomas Waldmann
fa00ee6a3c add api_auth_faults to host admin 2019-04-09 23:12:35 +02:00
TW
1ff09a2ee5
Merge pull request #425 from ThomasWaldmann/fixes
Fixes
2019-04-09 22:34:29 +02:00
Thomas Waldmann
9a416fc6aa fix setuptools_scm usage related crash, fixes #423 2019-04-09 22:26:07 +02:00
Thomas Waldmann
a1c090eeb7 fix logging crash, fixes #424 2019-04-09 22:20:22 +02:00
TW
00ca1a236c
Merge pull request #422 from ThomasWaldmann/logging
improve logging
2019-04-09 21:18:47 +02:00
TW
c2c0bcbeea
trying to fix #399 (#421)
rev_lookup: try up to 5 times, more selective error handler, fixes #399
2019-04-09 21:16:48 +02:00
Thomas Waldmann
6f60f66e0d logging: more precise api auth failure logging, fixes #416
log the early failure at DEBUG and only the late failure at WARNING.
2019-04-09 20:28:42 +02:00
Thomas Waldmann
849c06d6d4 logging: demote "no auth" to DEBUG level, fixes #415 2019-04-09 20:28:25 +02:00
TW
f2bbbe7da6
Merge pull request #412 from ThomasWaldmann/setuptools-scm-manifest
setuptools-scm managing the manifest, setup.py package data management
2019-04-09 17:29:23 +02:00
TW
f7eb3059ab
Merge pull request #420 from ThomasWaldmann/api-auth-faults-mgmt-script
django-admin faults: show/reset api auth faults counter
2019-04-09 12:31:12 +02:00
Thomas Waldmann
b8daf1a8ef django-admin faults: show/reset api auth faults counter 2019-04-09 12:08:00 +02:00
Thomas Waldmann
e8eaf58295 fix pathes in transifex config for src/ based layout 2019-04-08 22:24:51 +02:00
Thomas Waldmann
a827f338d5 improve manifest / package data management, fixes #373
setuptools-scm manages the MANIFEST automatically considering all
committed files, we only need to define exceptions from that rule.

setup.py: remove package_data, not needed if we use:
- include_package_data=True
- exclude_package_data (if needed)
2019-04-08 22:24:51 +02:00
TW
974af1e72d
Merge pull request #409 from ThomasWaldmann/django-static
use "load static", fixes #403
2019-04-08 21:25:25 +02:00
Thomas Waldmann
a65b50f48c use "load static", fixes #403
django (since 1.10) supports this and internally will use staticfiles
if django.contrib.staticfiles is in INSTALLED_APPS (which is the case).

this should fix the deprecation warnings we got.

also: require django >= 1.11.0.
2019-04-08 21:16:00 +02:00
TW
9cfd9b8438
Merge pull request #405 from ThomasWaldmann/src-layout
src/ based project layout
2019-04-08 21:12:59 +02:00
TW
363c0fe41b
Merge pull request #408 from ThomasWaldmann/drop-py34
drop support for python 3.4, fixes #406
2019-04-04 21:06:37 +02:00
Thomas Waldmann
84f3c33061 drop support for python 3.4, fixes #406
you currently need either 2.7 or 3.5+.
2019-04-04 20:11:00 +02:00