948 Commits

Author SHA1 Message Date
Natalia
d83778bf91 Do not embed creation forms for all news types, only show links. 0.0.258 2023-06-21 23:00:38 -03:00
Natalia
635fb2e63c Group news creation forms into a single view (UI needs improvement, #436). 2023-06-21 23:00:38 -03:00
Lacey Williams Henschel
81fe8c0694 Return commit data in view using manager methods 0.0.257 2023-06-21 15:20:42 -07:00
Lacey Williams Henschel
c59f88154b Add manager methods to get commit data 2023-06-21 15:20:42 -07:00
Lacey Williams Henschel
3fd030ac5c Retrieve the versioned docs url for each library 0.0.256 2023-06-20 12:21:18 -07:00
Lacey Williams Henschel
cbceea9ff0 Method to translate Github repo slug into Boost slug 2023-06-20 12:21:18 -07:00
Greg Newman
f092b03091 🚜 dark mode 0.0.255 2023-06-20 15:14:51 -04:00
Greg Newman
d6d05e8fcb 🐛 fixes what makes tests fail 2023-06-20 15:14:51 -04:00
Greg Newman
ca840d1cbe 🔨 remove unused image
* remove unused user image
* use property instead of the tag type
2023-06-20 15:14:51 -04:00
Natalia
2d7a566420 Test fixes. 2023-06-20 15:14:51 -04:00
Greg Newman
6ab2691656 🔨 remove Lottie
* Removes Lottie and related scripts
* Removes CSS from base.html

closes #202
2023-06-20 15:14:51 -04:00
Greg Newman
c7112efd17 🚜 if this is a link open in new tab
If the entry is a link, don’t go to a detail page, just open it in a new tab

Issue: #438
2023-06-20 15:14:51 -04:00
Greg Newman
89106f88d4 🐛 fix icon conditionals
Issue: #438
2023-06-20 15:14:51 -04:00
Greg Newman
0d93a638a0 🚜 show avatar or icon
* If no image exists show fontawesome user icon
* Center controls

Issue: #438
2023-06-20 15:14:51 -04:00
Greg Newman
b51ad7c781 🚜 swap out icons for icons of post type
Issue: #438
2023-06-20 15:14:51 -04:00
Greg Newman
0bba9fdcb3 fixes borders 2023-06-20 15:14:51 -04:00
Natalia
06cd04f263 Expose view for user preferences (email notifications so far).
Added tests for the new form and view for updating user preferences.
0.0.254
2023-06-20 12:24:40 -03:00
Lacey Williams Henschel
e32aa9e3ec Link to GitHub tag on library details page 0.0.253 2023-06-19 16:23:30 -07:00
Lacey Williams Henschel
63cd961a7e Remove unused template fields and view methods 0.0.252 2023-06-19 14:52:19 -07:00
Natalia
8a9af8a137 Fixed code style issues. 0.0.251 2023-06-16 22:04:04 -03:00
Lacey Williams Henschel
2c9e420dc7 Run pip-compile upgrade
Mainly for `cryptography` to address Vulnerable OpenSSL included in cryptography wheels
0.0.250
2023-06-16 11:32:00 -07:00
Natalia
2fddbceed0 Reverted incorrect migration: it became obsolete with the adding of News model 0.0.249 2023-06-16 15:25:20 -03:00
Lacey Williams Henschel
25d24fbc3d #252 Make category link version-sensitive 0.0.248 2023-06-16 11:16:00 -07:00
Spencer Strickland
ff725f5c6c homepage beta styles + start of news 0.0.247 2023-06-16 12:56:00 -05:00
Lacey Williams Henschel
42a43c027d Update python-dev installation 0.0.246 2023-06-16 13:21:53 -03:00
Lacey Williams Henschel
67a4ba4e2a Upgrade cryptography 2023-06-16 13:21:53 -03:00
Natalia
80eae90184 Initial model for User's preferences, specifically for email notifications.
Part of #343. The news' notifications module was also changed to the user
preferences is honored when sending news emails.

Also exclude migrations from the black check.
0.0.245
2023-06-16 13:00:16 -03:00
Natalia
812ed9ea15 Added specialized News model to differentiate general Entry from News 0.0.244 2023-06-15 22:57:02 -03:00
Lacey Williams Henschel
688ae87e76 Add methods to retrieve adoc content for libraries
(Part of #394 and #252)

- Add method to the GitHub API class to retrieve a specific file from a repo by its tag and path (to retrieve README or adocc files)
- Add method to Library model to retrieve the description content and render it
- Fail gracefully if no content is found
- Add caching logic for redis and database caching
0.0.243
2023-06-15 15:08:42 -07:00
Natalia
0459b19549 Do not run pre-commit on all files 0.0.242 2023-06-14 16:37:06 -03:00
Natalia
2e0f083dad Run pre-commit checks before landing changes.
Add `pre-commit` to the requirements list, and updated the version it uses.
Also removed the `sample.adoc` since the relevant test always creates it (and
it was causing spurious lint check errors).
2023-06-14 16:37:06 -03:00
Natalia
c66bcccab8 Lint fixes after running pre-commit run -a. 0.0.241 2023-06-14 15:13:54 -03:00
Spencer Strickland
63ff1e7e51 homepage_beta rebuild 0.0.240 2023-06-14 11:24:57 -05:00
Spencer Strickland
e6a0ea8260 beta homepage work 2023-06-14 11:24:57 -05:00
Lacey Williams Henschel
825dbc019b Cache asciidoc content in db (Part of #394)
- Add RenderedContent model and related helper methods
- Change StaticContentView `get()` logic to try the cache, then the db, then S3
- Change StaticContentView to update db appropriately
- Refactoring for readability/maintainability
0.0.239
2023-06-09 14:43:05 -07:00
Frank Wiles
d648997ced Temp fix issue with compose/migrations
- Fixes #426
0.0.238
2023-06-09 13:04:32 -05:00
Lacey Williams Henschel
a447ffd7ed Strip footer from asciidoc content (Part of #394) 0.0.237 2023-06-07 14:17:06 -07:00
Lacey Williams Henschel
4e26f55dd1 Extract content of HTML body from rendered asciidoc content (Part of #394)
- Make web service depend on redis
- Add function to extract body from html content
- In view, extract body before returning converted ascciidoc in response
0.0.236
2023-06-07 13:11:20 -07:00
Natalia
96aabf4412 Send email notifications for news approcal and moderation (Part of #343)
This work includes the adding of helpers to send emails (new notifications
module).
0.0.235
2023-06-07 12:04:32 -03:00
Natalia
008e0de61a Set publish date when creating news. 0.0.234 2023-06-07 11:58:18 -03:00
sdarwin
bd9182495b Organize branch names 0.0.233 2023-06-07 08:07:02 -06:00
Natalia
9ec7a37bb5 Rework of news entries ACLs.
This includes a helper to efficiently query for all moderators.
0.0.232
2023-06-06 17:04:26 -03:00
Lacey Williams Henschel
754deec2e5 Have celery service wait on web service 0.0.231 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
7c63ba59e4 Ensure web service is available to celery service 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
41b40cd1f3 Command to convert based on file input 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
ce158a92ff ⬆️ Install asciidoctor properly 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
7e27b468f1 🚧 WIP asciidoc 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
12a7b499c9 Add docstrings 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
5514071a93 Simplifications for PR 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
44aafb8a1e Linter 2023-06-06 11:14:50 -07:00