Lacey Williams Henschel
cc58f56a86
Merge pull request #192 from cppalliance/153-fix-tests
...
☔ Fix mocked S3 tests for the static content view
0.0.145
2023-04-20 10:34:39 -07:00
Lacey Williams Henschel
a59741b2f2
🔥 Unused import
2023-04-19 13:18:03 -07:00
Lacey Williams Henschel
dc9424520c
☔ Picky test things
2023-04-19 13:15:17 -07:00
Lacey Williams Henschel
25e2ff3362
☔ Fix mocked S3 tests
2023-04-19 13:07:14 -07:00
Lacey Williams Henschel
9b86150f76
Merge pull request #188 from cppalliance/153-cleanup
...
Static content logging, docs, exception handling
0.0.144
2023-04-19 09:25:04 -07:00
Frank Wiles
1af815d0f2
Merge pull request #191 from cppalliance/190-temp-landing-page
...
190 temp landing page
0.0.143
2023-04-19 06:08:42 -05:00
Frank Wiles
1e959c2132
Fix links
2023-04-19 06:05:21 -05:00
Frank Wiles
98ac797ae1
Add temp landing page
2023-04-19 06:02:34 -05:00
Lacey Williams Henschel
8d980068db
⚡ Improve exception handling and logging
2023-04-18 16:22:48 -07:00
Lacey Williams Henschel
9982ab3076
📚 Add docs on how we deal with static content
2023-04-18 16:15:39 -07:00
Lacey Williams Henschel
dd00808e8e
📚 Add env var docs
2023-04-18 15:51:13 -07:00
Lacey Williams Henschel
f58d03d4c7
🔈 Add logging
2023-04-18 15:31:05 -07:00
Lacey Williams Henschel
75b43cda62
Merge pull request #187 from cppalliance/183-django-upgrade
...
⬆️ Upgrade to Django 4.2 and related changes
0.0.142
2023-04-14 14:49:56 -07:00
Lacey Williams Henschel
c56027d160
⬆️ Have CI use Postgres 12 like Docker does
...
Might be why the PR CI is failing?
2023-04-14 14:14:05 -07:00
Lacey Williams Henschel
69fa54cfe0
⬆️ Upgrade model-bakery
2023-04-14 14:05:12 -07:00
Frank Wiles
ba568a2c6e
Fix test that is no longer valid
0.0.141
2023-04-14 16:04:17 -05:00
Lacey Williams Henschel
5c9607ccac
❄️ Add new STORAGES setting
2023-04-14 13:58:03 -07:00
Frank Wiles
a4e1d2b02f
Adjust static content paths for /develop/doc/
...
- Add feature to static site finding that looks for `/index.html` if URL
ends with a slash
2023-04-14 15:56:19 -05:00
Lacey Williams Henschel
e658968b4e
⬆️ Upgrade to Django 4.2 and related changes
2023-04-14 13:36:28 -07:00
Frank Wiles
d20033c011
Miss a change / typo
...
Helps to have the environment name match the setting name.
0.0.140
2023-04-06 06:24:29 -05:00
Frank Wiles
b1079c664c
Add Kubernetes secret mapping for static S3
...
- Adds mapping of k8s secrets to env variables for use by the WSGI
process
0.0.139
2023-04-06 06:14:35 -05:00
Frank Wiles
d3b417f8ab
Adjust static content settings names
...
Realized we have a conflict in settings names between S3 hosted
static content and S3 hosted uploaded media content. Prefixing
static content with `STATIC_CONTENT_`
0.0.138
2023-04-06 06:09:09 -05:00
Frank Wiles
10fc6c42e5
Small static content fixes
...
- We don't need to be setting DEFAULT_FILE_STORAGE after static changes
- Need to be able to correctly pass binary files (images, etc) so need
to avoid converting to UTF-8 after retrieving from S3
- Moved to simpler CBV
0.0.137
2023-04-06 06:00:01 -05:00
Frank Wiles
8eb5317b94
Merge pull request #177 from cppalliance/153-static-content-url
...
153 static content url
0.0.136
2023-04-06 05:36:15 -05:00
Frank Wiles
0376a138f3
Merge pull request #179 from sdarwin/gha_update
...
Update action versions in github actions
0.0.135
2023-04-06 05:35:07 -05:00
sdarwin
849689b73f
Update action versions in github actions
2023-04-05 10:54:04 -06:00
Lacey Williams Henschel
4800e7c487
☔ Skip the live API test
2023-04-05 08:59:47 -07:00
Lacey Williams Henschel
83e12164ab
Cleanup -- all should work now!
2023-04-05 08:58:18 -07:00
Lacey Williams Henschel
296e67609f
☔ Fix some tests
...
Also changed the config because the test path I had, ironically, led to an html file with a redirect, and that was throwing me for a loop
2023-04-05 08:29:37 -07:00
Lacey Williams Henschel
9ad183fa5a
🔧 Add a second config option
2023-04-05 08:18:06 -07:00
Lacey Williams Henschel
23289868cf
🚧 Progress on config for static content
...
Works now with the most basic setup: replace /site/develop/ with just / in the url
2023-04-05 07:19:45 -07:00
Lacey Williams Henschel
f8138d498f
🚧 Getting back to a working state without config
...
Includes these failing tests:
```
=============================== short test summary info ================================
FAILED core/tests/test_renderer.py::test_get_s3_keys - AssertionError: assert '/site/develop/tools/auto_index/index.html' in []
FAILED core/tests/test_views.py::test_static_content_template_view[/site/develop/rst.css] - django.http.response.Http404: Page not found
```
2023-04-05 06:40:36 -07:00
Lacey Williams Henschel
8fab4fca68
🚧 Progress on static content
2023-04-04 21:15:45 -07:00
Lacey Williams Henschel
d5efd6eb43
❄️ Add static content config file
...
For testing/proof of concept
2023-04-04 21:08:43 -07:00
Lacey Williams Henschel
947318ba65
☔ Fix test
2023-04-04 12:20:39 -07:00
Lacey Williams Henschel
5444e3babe
✨ Set the content-type for static content in the response
2023-04-04 12:20:30 -07:00
Lacey Williams Henschel
e0ce223c82
🚧 Separate markdown and static views, fix tests, add template
2023-04-04 12:15:31 -07:00
Lacey Williams Henschel
70b69c56fb
🚧 Hook the Markdown view up to the S3 call
2023-04-04 10:17:39 -07:00
Lacey Williams Henschel
84c33d082d
Comment out tests for now
2023-04-04 10:16:52 -07:00
Lacey Williams Henschel
4fb2dc646c
Merge pull request #176 from cppalliance/static-content
...
WIP #153 Retrieving data from S3
0.0.134
2023-04-04 09:24:37 -07:00
Lacey Williams Henschel
c359f325cd
❄️ Change setting names for AWS
2023-04-04 09:23:04 -07:00
Lacey Williams Henschel
272061508e
🚧 Progress on s3 retrieval
2023-04-03 13:18:21 -07:00
Lacey Williams Henschel
eb213ffba1
WIP: Getting to know boto3
2023-04-03 12:30:33 -07:00
Lacey Williams Henschel
c69440fd83
AWS settings
2023-04-03 12:30:04 -07:00
Lacey Williams Henschel
b49451e4a8
⬆️ Add minio and boto3
2023-03-31 10:29:25 -07:00
Lacey Williams Henschel
69a8a54803
Merge pull request #172 from cppalliance/upgrade-deps
...
Upgrade deps
0.0.133
2023-03-30 11:37:47 -07:00
Lacey Williams Henschel
ad33d8f488
⬆️ Upgrade cryptography
...
Installed as part of django-allauth, but this version has a patch that makes dependabot happy.
2023-03-30 11:25:24 -07:00
Lacey Williams Henschel
908614fa45
⬆️ Upgrade redis again
2023-03-30 11:18:45 -07:00
Lacey Williams Henschel
8e3b7afd0d
Merge pull request #171 from cppalliance/upgrade-django-and-deps
...
Upgrade django and deps
0.0.132
2023-03-30 10:26:12 -07:00
Lacey Williams Henschel
1592b3827b
⬆️ Upgrade black and django-click
...
Version incompatibility wouldn't let black run
2023-03-30 10:16:14 -07:00