Commit Graph

75 Commits

Author SHA1 Message Date
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.
2023-04-06 06:24:29 -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_`
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
2023-04-06 06:00:01 -05: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
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
c69440fd83 AWS settings 2023-04-03 12:30:04 -07:00
Lacey Williams Henschel
5c7e39370c Allow user to update photo to their GH photo 2023-03-02 09:59:34 -08:00
Greg Newman
afa09a49eb blackened 2023-03-01 10:20:44 -05:00
Greg Newman
891cc54afc 🐛 fixes forum permissions
Sets default forum permissions for authenticated users.  Staff was the only persona that was allowed to access the forums without this setting.
2023-03-01 10:00:42 -05:00
Frank Wiles
e5057f076e Fix env/setting mismatch 2023-02-27 10:49:48 -06:00
Frank Wiles
0e51087e82 Use default file storage in CI 2023-02-27 10:00:31 -06:00
Frank Wiles
45b9b7fb79 Fix typo in settings 2023-02-27 09:39:43 -06:00
Frank Wiles
8fc5d76057 Setup django-storages for S3 compatible storage when deployed 2023-02-26 14:48:47 -06:00
Lacey Williams Henschel
7791706ee5 User can upload their own profile photo 2023-02-22 12:58:18 -08:00
Lacey Williams Henschel
8ad302ad21 ❄️ Add media settings 2023-02-15 14:44:20 -08:00
Lacey Williams Henschel
811adaa38d 👕 Linter 2023-02-13 12:20:49 -08:00
Lacey Williams Henschel
45ee2c7a9b Add libraries by versions and categories, redirect libraries by category
- Adds /versions/{pk}/libraries-by-category/{slug}/
- Redirects /libraries-by-category/{slug}/ to ^
2023-02-13 12:17:46 -08:00
Lacey Williams Henschel
cb826490fc 🔧 Remove extra "libraries" from URL pattern 2023-02-13 12:05:37 -08:00
Lacey Williams Henschel
ea283f114a 🔧 Fixes for library-detail-by-version view 2023-02-13 12:02:35 -08:00
Lacey Williams Henschel
be8ee1f5fa Add URL for library detail by version 2023-02-13 11:56:41 -08:00
Lacey Williams Henschel
35f73bc8b2 👕 Linter 2023-02-13 11:51:06 -08:00
Lacey Williams Henschel
7e7db0b218 Add libraries-by-version list view
Note: This does NOT address the categories functionality. This commit adds the new URL, but if the user filters by category on that page, the page redirects to `/libraries-by-category/` and doesn't respect the version.
2023-02-13 11:50:23 -08:00
Lacey Williams Henschel
d32db6eb1d 🔧 Use slug in version detail URL and not PK 2023-02-13 09:53:25 -08:00
Frank Wiles
bf3b0a83f7 Fix test settings 2023-02-10 10:29:39 -06:00
Greg Newman
5cd743d413 Merge pull request #112 from revsys/88-library-search
🚜 WIP working search
2023-02-10 11:24:47 -05:00
Greg Newman
28d64a4ef8 🚜 WIP working search
* Bootstrapped API viewset to search libraries
* Updated templates
* Added htmx for search
* Search results template to display results

Issue: #88
2023-02-10 11:04:33 -05:00
Lacey Williams Henschel
9e4b77f4a3 🔥 Remove the libraries-by-letter view 2023-02-09 10:21:36 -08:00
Lacey Williams Henschel
a05be78b75 📝 Change URL path for version detail 2023-01-30 09:42:00 -08:00
Lacey Williams Henschel
49e83dfcad Set up a local dir for markdown content unit testing 2023-01-19 18:41:13 -08:00
Lacey Williams Henschel
3428012a49 Retrieve markdown from Docker container, render as HTML 2023-01-19 15:37:49 -08:00
Lacey Williams Henschel
541029e6c5 ❄️ Add BASE_CONTENT 2023-01-19 10:33:56 -08:00
Lacey Williams Henschel
dd94fd5f33 ❄️ Add ENV_NAME to kube 2023-01-17 12:53:39 -08:00
Lacey Williams Henschel
be71771df0 👕 Linter 2023-01-17 12:41:30 -08:00
Lacey Williams Henschel
17c22db2a3 ⬆️ Add django-admin-env-notice 2023-01-17 12:39:15 -08:00
Frank Wiles
fec5bd1345 Assume https URLs 2023-01-16 15:07:52 -06:00
Lacey Williams Henschel
a063ebeb3d 👕 Linter 2023-01-12 09:59:01 -08:00
Lacey Williams Henschel
6032ab0839 ❄️ Add SSL settings for django-allauth 2023-01-12 09:51:10 -08:00
Lacey Williams Henschel
e45745f693 ❄️ Make sure we're not hitting the GH API in tests 2022-12-15 10:03:18 -08:00
Lacey Williams Henschel
b53f4c0e1f ❄️ Add github token 2022-12-01 10:50:21 -08:00
Lacey Williams Henschel
55b9967d95 🔧 Refactoring for clarity 2022-11-30 14:56:26 -08:00
Greg Newman
d9424f104d 🚧 Donate view
* Added donate TemplateView and pulled in copy from existing site
* Pulled paypal donate forms from existing site
* Added license.txt file to static which is linked to from the copy
* Added links to the donate view

Issue: #34
2022-11-30 10:14:04 -05:00
Lacey Williams Henschel
3b0f013a2f Add ability to log in with Google 2022-11-29 12:56:11 -08:00
Lacey Williams Henschel
80743c8a70 👚 Add tests and lint 2022-11-29 12:18:59 -08:00
Lacey Williams Henschel
da8b9c349c ⬆️ Add django-allauth 2022-11-29 08:56:54 -08:00
Greg Newman
1d62e449a3 🚧 stats view/template 2022-11-13 14:20:03 -05:00
Greg Newman
a1398229dd 🚧 resources 2022-11-09 11:16:53 -05:00
Greg Newman
889aec59c5 🚧 support and contact urls 2022-11-04 09:58:41 -04:00
Greg Newman
c6ffa8d793 :rotating-light: blacken 2022-10-24 16:05:31 -04:00