Commit Graph

145 Commits

Author SHA1 Message Date
Michael Herrmann 89aee17c2e First implementation of Docker support 2023-11-14 08:43:22 +08:00
Michael Herrmann f592a1f0b9 Update admin index.html 2023-11-13 13:07:05 +08:00
Michael Herrmann 76b68c0308 Change support email to support@winget.pro 2023-11-09 14:20:54 +08:00
Michael Herrmann c440acec04 Set AWS_S3_FILE_OVERWRITE=False
This prevents user-uploaded files from accidentally overwriting others
with the same name.
2023-10-23 07:15:28 +02:00
Michael Herrmann bb9e9ef519 Fix internal server error on winget:index 2023-10-16 17:58:27 +02:00
Michael Herrmann b0a86ade97 Let users create and change other users 2023-10-16 17:24:17 +02:00
Michael Herrmann 06f88eae8e Reformat code 2023-10-16 17:24:11 +02:00
Michael Herrmann 3552f8b518 Reformat code 2023-10-16 17:24:06 +02:00
Michael Herrmann 8953acc2f7 Reformat code 2023-10-16 17:23:59 +02:00
Michael Herrmann d802c48f6c Add installer switches 2023-10-09 17:21:03 +02:00
Michael Herrmann b16ef0e4ee Improve Installer#__str__() 2023-10-09 14:32:55 +02:00
Michael Herrmann 6d1a39e076 Add link to REST API to Welcome page 2023-10-09 14:23:19 +02:00
Michael Herrmann 8238d5335a Small improvement to Welcome page 2023-10-09 14:23:19 +02:00
Michael Herrmann f5409f1a78 Only show file name, not URL, in Installer#__str__ 2023-10-09 13:22:04 +02:00
Michael Herrmann 46d7fd4d16 Re-order version fields 2023-10-09 13:10:41 +02:00
Michael Herrmann c5e85593ff Don't leak our Nginx version to clients 2023-10-09 09:58:35 +02:00
Michael Herrmann bf1255e724 Log request time in Nginx access logs 2023-10-09 09:58:35 +02:00
Michael Herrmann 6fd8b0f02a Simplify code 2023-10-09 08:58:33 +02:00
Michael Herrmann bf089ac491 Add more API tests for creating nested installers 2023-10-09 08:53:35 +02:00
Michael Herrmann d2e1aef67b Reduce duplicate code 2023-10-09 08:22:10 +02:00
Michael Herrmann fc0d49e0ba Simplify code 2023-10-09 08:18:13 +02:00
Michael Herrmann 08f2e7997a Add support for nested installers 2023-10-09 08:06:46 +02:00
Michael Herrmann 7e3bb1e0ea Small test improvement 2023-10-09 07:47:08 +02:00
Michael Herrmann dde619915c Improve Welcome instructions for superusers 2023-10-06 12:29:17 +02:00
Michael Herrmann f4a5b9975b Fix PermissionError during test teardown on Windows 2023-10-06 12:01:58 +02:00
Michael Herrmann 10bb277da2 Improve temp dir handling in tests
Specifically, on Windows, TestCaseThatUploadsFiles currently shows
errors on interpreter exit. These are caused by
TemporaryDirectory.cleanup() not being able to delete files because they
are still open in python.exe. Now at least, the errors appear during
tearDown().
2023-10-06 11:26:34 +02:00
Michael Herrmann ddd51cd84c Silence unnecessary Django warnings 2023-10-06 10:25:58 +02:00
Michael Herrmann b1f5dac774 Fix logging config 2023-08-29 09:19:30 -07:00
Michael Herrmann b51a9dfe47 Revert accidental changes in previous commit 2023-08-24 15:20:47 -07:00
Michael Herrmann 8d495a3a83 Fix problem with setting AWS_S3_PROXIES 2023-08-24 09:16:57 -07:00
Michael Herrmann 313d6033e9 Fix change forgotten in previous commit 2023-08-24 06:30:58 -07:00
Michael Herrmann b4254b00c2 Add setting AWS_S3_PROXIES 2023-08-24 06:23:58 -07:00
Michael Herrmann e4f163de74 Let superusers see installers of other users 2023-08-17 15:42:34 +02:00
Michael Herrmann 2528226da0 Rename setting SECRET_KEY to DJANGO_SECRET_KEY 2023-08-14 12:16:06 +02:00
Michael Herrmann b160206eaf Make several .bashrc settings optional 2023-08-14 12:11:26 +02:00
Michael Herrmann af63ebb04e Fix install.sh for Ubuntu 22.04 on Linode 2023-08-14 10:54:47 +02:00
Michael Herrmann 572cc20bbe Show server errors in /var/log/gunicorn.log 2023-08-14 10:04:31 +02:00
Michael Herrmann badcf68ccc Fix bug in install script 2023-08-14 08:13:16 +02:00
Michael Herrmann f46d6f1f74 Only enable certbot crontab when certbot is used 2023-08-11 19:24:46 +02:00
Michael Herrmann b9671eb675 Make it possible to use a pre-generated SSL cert 2023-08-11 19:11:26 +02:00
Michael Herrmann 3898421d42 Fix small mistakes in README 2023-08-11 16:48:19 +02:00
Michael Herrmann 39ce8fe8c1 Remove accidentally committed line 2023-08-11 16:47:31 +02:00
Michael Herrmann 7558fd88c4 Add missing config change 2023-08-11 16:45:54 +02:00
Michael Herrmann 329fe8a1c9 Remove obsolete space in comment 2023-08-11 16:43:11 +02:00
Michael Herrmann 6e704848bf Make it possible to host update files on S3 2023-08-11 16:42:29 +02:00
Michael Herrmann 7778792e85 Allow multiple users per tenant 2023-08-03 16:00:50 +02:00
Michael Herrmann 5ccf836ed5 Bump Django to 3.2.20 to fix CVE-2023-36053 2023-07-17 09:09:27 +02:00
Michael Herrmann 129c4129e7 Add LICENSE 2023-06-30 09:23:05 +02:00
Michael Herrmann 75f275a84f Update README.md 2023-06-30 09:20:16 +02:00
Michael Herrmann 2d84e5800a Allow file uploads up to 4 GB 2023-06-30 08:00:11 +02:00