Commit Graph

85 Commits

Author SHA1 Message Date
Lacey Williams Henschel
b20f071c57 ❄️ Add CSRF_TRUSTED_ORIGINS
We should do this with env variables, but I wanted to see if it worked first
2023-05-01 12:10:27 -07:00
Frank Wiles
b4defd6348 Remove assumption developer has git installed
We were running `git describe --tags` to get a local
version for display in the admin.  Catch exceptions thrown when
git does not exist and use a static string instead.
2023-04-30 12:55:47 -05:00
Frank Wiles
7cc358c153 Make CSRF cookie http only 2023-04-28 13:38:05 -05:00
Greg Newman
92c7016ef7 Merge branch 'main' into 152-new-header 2023-04-26 14:07:02 -04: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
06de2bc220 Add mailing list app and basic model 2023-04-20 14:53:24 -07:00
Frank Wiles
98ac797ae1 Add temp landing page 2023-04-19 06:02:34 -05:00
Lacey Williams Henschel
5c9607ccac ❄️ Add new STORAGES setting 2023-04-14 13:58:03 -07:00
Lacey Williams Henschel
e658968b4e ⬆️ Upgrade to Django 4.2 and related changes 2023-04-14 13:36:28 -07:00
Greg Newman
3b9f1e4014 🎨 effort from design session
* direction on cards
* direction on library list page

Work needs to be completed to tighten up and polish.
2023-04-11 13:41:31 -04: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