619 Commits

Author SHA1 Message Date
Frank Wiles
4224f7437a Merge pull request #184 from sdarwin/kube_migrations
Move helm database migrations to Job
0.0.147
2023-04-26 08:58:17 -05:00
Lacey Williams Henschel
6d44410f1d Merge pull request #193 from cppalliance/186-mailing-list-concept
Display the mailing list archive: proof of concept
0.0.146
2023-04-25 10:12:57 -07:00
Lacey Williams Henschel
357ba0f277 Command to generate fake mailing list data 2023-04-20 17:47:41 -07:00
Lacey Williams Henschel
8a418b72bc 🎨 Slightly better template 2023-04-20 17:47:21 -07:00
Lacey Williams Henschel
b40089eb35 📝 Change context obj name
To avoid template collision with "messages", which is reserved in Django
2023-04-20 17:47:07 -07:00
Lacey Williams Henschel
0f1908d65e Add mailing list message detail view 2023-04-20 17:42:50 -07:00
Lacey Williams Henschel
3131aba7b6 🚧 Mailing list - list URL 2023-04-20 17:26:54 -07:00
Lacey Williams Henschel
1a23b956be 🏦 Better mailing list model 2023-04-20 15:06:04 -07:00
Lacey Williams Henschel
06de2bc220 Add mailing list app and basic model 2023-04-20 14:53:24 -07:00
Lacey Williams Henschel
f6ddc8076b ⬆️ Add django-mptt 2023-04-20 14:29:53 -07:00
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
sdarwin
a0ee73dec3 Move helm database migrations to Job 2023-04-10 13:30:20 -06: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