Commit Graph

112 Commits

Author SHA1 Message Date
Lacey Williams Henschel
fd06816e6f 🐛 Restore accidentally-deleted URL pattern and test 2023-05-25 11:21:02 -07:00
Natalia
32a1ff4532 Provide news entry edition and deletion. 2023-05-24 16:26:18 -03:00
Natalia
2ec0b68ab8 Automatically approve unapproved news that do not require moderation. 2023-05-24 16:25:53 -03:00
Natalia
4396a2ad14 Added new view for News moderation list.
Includes support for the news approve view and news details view to redirect
to a safe URL on approval, to allow moderators to stay in the moderation list.
2023-05-24 13:37:20 -03:00
Lacey Williams Henschel
fb582afe9c Add temp privacy policy page 2023-05-23 16:31:44 -07:00
Lacey Williams Henschel
a691306569 Add mini versions of library list pages 2023-05-23 16:28:52 -07:00
Lacey Williams Henschel
6ad9f148b0 Add libraries by category view 2023-05-23 12:50:51 -07:00
Lacey Williams Henschel
5187b51cf2 clean up 2023-05-23 10:26:16 -07:00
Lacey Williams Henschel
84145c4668 Remove django-filters 2023-05-23 10:26:16 -07:00
Lacey Williams Henschel
f5d87f960c ⬆️ Add django-filters 2023-05-23 10:26:16 -07:00
Lacey Williams Henschel
a0f6411ad1 WIP moving to query strings 2023-05-23 10:26:16 -07:00
Natalia
18f6eb3e67 Provide News creation and approval views.
More for #273: this branch provides a new form and view to create news (limited
to authenticated users). For now, every new entry, requires moderation. Approval
can be done via the web UI when visiting a news detail page and having the right
permissions.

Next branch would provide:
* moderator whitelisting
* news list needing moderation view
* email sending on news submission

Missing tests
2023-05-18 20:12:44 -03:00
Natalia
929b82155b News app: provide models and minimal list and detail views. 2023-05-12 17:43:32 -03:00
Greg Newman
05803a7fc3 🔨 removes scratch
Scratch the scratch
2023-05-11 07:03:57 -04:00
Lacey Williams Henschel
d930cf7437 Merge pull request #290 from cppalliance/fix-kube-value
:❄️ Make STATIC_CACHE_TIMEOUT a string
2023-05-10 11:57:23 -07:00
Lacey Williams Henschel
579d61fc82 :❄️ Make STATIC_CACHE_TIMEOUT a string 2023-05-10 11:49:19 -07:00
Greg Newman
28057f4d61 🚜 updated templates from design call #3
* A lot of design/ui tweaks
* new releases temp template
* updated news temp template
* many more changes
2023-05-10 14:21:56 -04:00
Greg Newman
20124d646f 🚜 stubbed out community page
For the design call I’ve stubbed out the community page.

Issue: #235
2023-05-10 09:08:09 -04:00
Lacey Williams Henschel
35d1bf3f53 Add ability to select a Version of a library 2023-05-09 13:36:11 -07:00
Lacey Williams Henschel
30cc9ca63a Merge pull request #261 from cppalliance/255-static-cache
Shorten static content cache timeout and serve from a setting
2023-05-09 10:10:26 -07:00
Natalia
1aecc94521 Initial cleanup and adding of new celery task 2023-05-07 20:17:28 -03:00
Lacey Williams Henschel
b88eb50755 Shorten static content cache timeout and serve from a setting 2023-05-04 15:58:21 -07:00
Lacey Williams Henschel
eb23b08e11 ❄️ Make separate redis db for static content 2023-05-03 14:11:17 -07:00
Lacey Williams Henschel
3368a74d8d Merge branch 'main' of github.com:CPPAlliance/boost.org into 153-caching 2023-05-03 13:55:50 -07:00
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
662ebe46f6 Merge branch 'main' of github.com:CPPAlliance/boost.org into 153-caching 2023-04-25 13:26:16 -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
06de2bc220 Add mailing list app and basic model 2023-04-20 14:53:24 -07:00
Lacey Williams Henschel
b11b129619 Merge branch 'main' of github.com:CPPAlliance/boost.org into 153-caching 2023-04-19 10:47:34 -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
ed2e2494d3 Add caching logic to static content 2023-04-05 14:48:58 -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
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