Commits on Source (5)
-
Benjamin Hättasch authored
This is necessary since django-bootstrap4 expects a bootstrap javascript version that already includes popper Bump jquery to 3.5.1 Bump bootstrap to 4.6.0 Remove separate popper lib Adjust paths in settings. This also makes sure that the local jquery version is always used, which was previously not the case for admin views that depended on code.jquery.com Remove explicit popper loading that was introduced in 2c359090 to mitigate the effects of the update in c0b3478c
-
Benjamin Hättasch authored
Add django-csp to dependencies Load middleware Add config that matches current usage but with most possible restriction
-
Benjamin Hättasch authored
Set content security policy for frame-ancestors to "*" for this view
-
Benjamin Hättasch authored
-
Nadja Geisler authored
Introduce CSP and update js dependencies accordingly See merge request kif/akplanning!98
Showing
- AKPlan/urls.py 3 additions, 1 deletionAKPlan/urls.py
- AKPlanning/settings.py 14 additions, 5 deletionsAKPlanning/settings.py
- requirements.txt 1 addition, 0 deletionsrequirements.txt
- static_common/common/vendor/bootstrap/bootstrap-4.3.1.min.js 0 additions, 7 deletionsstatic_common/common/vendor/bootstrap/bootstrap-4.3.1.min.js
- static_common/common/vendor/bootstrap/bootstrap-4.6.0.js 7045 additions, 0 deletionsstatic_common/common/vendor/bootstrap/bootstrap-4.6.0.js
- static_common/common/vendor/bootstrap/bootstrap-4.6.0.min.js 7 additions, 0 deletionsstatic_common/common/vendor/bootstrap/bootstrap-4.6.0.min.js
- static_common/common/vendor/jquery/jquery-3.3.1.slim.min.js 0 additions, 2 deletionsstatic_common/common/vendor/jquery/jquery-3.3.1.slim.min.js
- static_common/common/vendor/jquery/jquery-3.5.1.js 10872 additions, 0 deletionsstatic_common/common/vendor/jquery/jquery-3.5.1.js
- static_common/common/vendor/jquery/jquery-3.5.1.min.js 2 additions, 0 deletionsstatic_common/common/vendor/jquery/jquery-3.5.1.min.js
- static_common/common/vendor/jquery/jquery-3.5.1.slim.js 8777 additions, 0 deletionsstatic_common/common/vendor/jquery/jquery-3.5.1.slim.js
- static_common/common/vendor/jquery/jquery-3.5.1.slim.min.js 2 additions, 0 deletionsstatic_common/common/vendor/jquery/jquery-3.5.1.slim.min.js
- static_common/common/vendor/popper/popper-1.14.7.min.js 0 additions, 5 deletionsstatic_common/common/vendor/popper/popper-1.14.7.min.js
- templates/admin/base_site.html 1 addition, 4 deletionstemplates/admin/base_site.html
- templates/base.html 0 additions, 3 deletionstemplates/base.html
... | ... | @@ -8,5 +8,6 @@ django-simple-history==3.0.0 |
django-registration-redux==2.9 | ||
django-debug-toolbar==3.2.1 | ||
django-bootstrap-datepicker-plus==3.0.5 | ||
django-csp==3.7 | ||
mysqlclient==2.0.3 # for production deployment | ||
pytz==2021.1 |
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.