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
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
Lacey Williams Henschel
d0c0cad62f
⬆️ Upgrade django-allauth, wheel, redis, celery, pytest, pip-tools, requests
2023-03-29 14:05:50 -07:00
Lacey Williams Henschel
8ddab2e985
⬆️ Upgrade Django, celery, and django-machina
2023-03-29 13:34:26 -07:00
Lacey Williams Henschel
eaa6c952f8
Merge pull request #167 from cppalliance/contributor-upload-process
...
Add authors and maintainers to the library upload process
0.0.131
2023-03-27 13:36:31 -07:00
Lacey Williams Henschel
37b56805b9
🔧 Improve catching duplicates
2023-03-27 13:32:00 -07:00
Lacey Williams Henschel
57753b0d74
🔥 Remove dead code
2023-03-27 12:39:34 -07:00
Lacey Williams Henschel
7ffa23164c
🔧 Refactor maintainers into GitHub process
2023-03-27 12:39:18 -07:00
Lacey Williams Henschel
87cb14e991
🔧 Refactor contributor methods into GitHub processes
2023-03-27 12:08:52 -07:00
Lacey Williams Henschel
47eeaee2ef
🔧 Refactor fake email function into util
2023-03-27 12:08:19 -07:00
Lacey Williams Henschel
134eb743cd
Merge pull request #166 from CPPAlliance/upload-libraries-changes
...
Upload libraries changes
0.0.130
2023-03-24 15:08:41 -07:00
Lacey Williams Henschel
60595cadca
🔥 Skip this check
2023-03-24 15:03:17 -07:00
Lacey Williams Henschel
c54fdcf26c
🔥 Dead code
2023-03-24 14:57:08 -07:00
Lacey Williams Henschel
0c62320304
🔧 ☔ Final refactoring and tests
2023-03-24 14:37:38 -07:00
Lacey Williams Henschel
d87b190bce
🔧 Shuffle more methods around into clearer classes
2023-03-24 11:11:29 -07:00
Lacey Williams Henschel
5801bc2cae
🔧 Add the user call to the GH client class
2023-03-24 11:02:50 -07:00
Lacey Williams Henschel
15ee8a6464
🚧 Abstract the API stuff into a class, refactoring
2023-03-24 10:59:33 -07:00
Lacey Williams Henschel
f19cb79e39
🚧 Light refactoring
2023-03-24 10:00:14 -07:00
Lacey Williams Henschel
523adc6e08
👕 Linter
2023-03-23 13:21:29 -07:00
Lacey Williams Henschel
8eaa78e2c9
🚧 Refactor GitHub API calls into own class
2023-03-23 13:21:09 -07:00