Andrew Shu
d697a99bac
Move Swagger UI inline script to index.js
Remove unsafe-inline CSP from previous commit
2 months ago
Andrew Shu
f2b0b4f298
Specify unsafe-inline CSP for Swagger UI
Instead of injecting CSP nonce, which does not work
because nginx configuration is overwriting the header
2 months ago
Andrew Shu
f0f790b9f5
Revert "Move Swagger UI JS to separate file"
This reverts commit 049c3d0649
.
2 months ago
Andrew Shu
b6b524058c
Revert "Fix JS"
This reverts commit 6c66375afb
.
2 months ago
Andrew Shu
229625f1b0
Fix JS
2 months ago
Andrew Shu
210cd898e3
Move Swagger UI JS to separate file
Instead of injecting CSP nonce, which does not work
because nginx configuration is overwriting the header
2 months ago
Andrew Shu
2718966b2e
Fix CSP errors on inline elements in Swagger UI
* Move inline CSS to a separate file
* Inject a CSP nonce using Pyramid tween
2 months ago
Andrew Shu
9c4eaa9c55
Fix copying swagger-ui assets
* remote_src to handle when Ansible controller node differs from managed node
* Fix chmod setting for directory
2 months ago
Andrew Shu
e17a3953be
Use custom swagger-ui HTML template, copy assets from npm module
2 months ago
Bauke
cf5b9939f3
Fix Boussole initial compile and watcher issues
See merge request tildes/tildes!163
2 months ago
talklittle
3a857108d2
Restore project APT repos which are more up-to-date than Debian repo
Closes tildes-community/tildes-cf#31
See merge request tildes-community/tildes-cf!15
9 months ago
talklittle
0f1658fe06
Disable default redis service from APT
See merge request tildes-community/tildes-cf!11
9 months ago
talklittle
65bf6af141
Install prebuilt Redis and cmark-gfm from APT
See merge request tildes-community/tildes-cf!9
9 months ago
talklittle
4210b1e3e8
Use prebuilt Python 3.11 instead of building Python 3.9
Closes tildes-community/tildes-cf#14
See merge request tildes-community/tildes-cf!8
9 months ago
talklittle
58784c4465
Reload gunicorn from cronjob, delete gunicorn_reloader
Closes tildes-community/tildes-cf#3
See merge request tildes-community/tildes-cf!6
9 months ago
talklittle
6be3688d3c
GitLab CI testing
See merge request tildes-community/tildes-cf!2
9 months ago
talklittle
49886af37e
Add Docker provider for Vagrant development environment
See merge request tildes-community/tildes-cf!1
9 months ago
Bauke
462dbfb580
Map the content_security_policy header to the request_uri.
2 years ago
Andrew Shu
996d52b185
Use npm ci for Ansible task
Otherwise Ansible never creates the node_modules directory.
4 years ago
Deimos
436c3f24f0
Update pypi package versions (requirements.txt)
A few tiny changes needed related to a few of the libraries, but nothing
significant.
4 years ago
Deimos
240621df6a
Update Python version to 3.9.5
The minimal updates here were to update pygit2 and pip-tools.
However, prospector is currently broken as well, so the full code style
checks currently will not pass. This is not trivial to fix:
- Currently, pylint returns errors from some of the mypy annotations
- Upgrading pylint/astroid to the newest version fixes those errors,
but breaks prospector
- There is no newer release of prospector
I'm not totally sure how I want to fix this, I may need to fork
prospector.
4 years ago
Deimos
22039b2f48
Update Redis version to 6.2.4
4 years ago
Deimos
3319e0a179
Update PostgreSQL version to 13
4 years ago
Deimos
4cc100ab02
Switch to Debian 10 and Ansible
This changes the site to run on Debian 10 instead of Ubuntu 16.04. It
also fully converts the previous Salt setup to use Ansible instead.
Most of this was a relatively straightforward conversion, and it should
be very close to equivalent. One notable difference is that I removed
the setup for the "monitoring" server, since I wasn't confident that the
way of setting up self-hosted Sentry and Grafana was working any more.
I'll look to re-add that at some point, but it's not urgent.
4 years ago