Commit Graph

920 Commits

Author SHA1 Message Date
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
Lacey Williams Henschel
0ff65b95a7 Apply some style to the asciidoc content 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
ee55a1fa28 Have celery service wait on web service 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
b183c5bf44 Add option to delete temp file 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
a3cdcf097c Add comments, cleanup 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
624cbe6525 Serve asciidoc content from template, refactor tests 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
60713d0c37 Return converted html from task 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
e84b1d1682 Add function to get content type 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
4e3156300f Add help page path to static content json paths 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
e3f37294aa Add celery task to convert adoc to html 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
04fb00e4b0 Ensure web service is available to celery service 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
d1b3da670c Command to convert based on file input 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
9e5e13da98 ⬆️ Install asciidoctor properly 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
2b31b07bbd 🚧 WIP asciidoc 2023-06-06 11:14:50 -07:00
Donovan
2564f459ce boost-homepage-redesign
close #413
0.0.230
2023-06-01 16:25:20 -07:00
Greg Newman
5c9d8a63d3 Merge branch 'main' into library-issues
# Conflicts:
#	templates/libraries/list.html
0.0.229
2023-06-01 19:09:00 -04:00
Greg Newman
62adb98d0a hooks up library view types
* View by cards
* View by flat list
* View by category lists

fixes #400
2023-06-01 19:06:53 -04:00
Greg Newman
9b988a5763 🐛 fixes version select position
fixes #399
2023-06-01 18:31:20 -04:00
Lacey Williams Henschel
02d6ee0040 Install asciidoctor in actions 0.0.228 2023-06-01 11:35:34 -07:00
Lacey Williams Henschel
f6f1b10a5d Command to convert based on file input 2023-06-01 11:35:34 -07:00
Lacey Williams Henschel
232223f6f0 ⬆️ Install asciidoctor properly 2023-06-01 11:35:34 -07:00
Lacey Williams Henschel
97505d6f85 🚧 WIP asciidoc 2023-06-01 11:35:34 -07:00
Natalia
3e6ae221b4 Allow entry creation, update and listing to include an image.
Part of #273
0.0.227
2023-06-01 15:21:47 -03:00
Greg Newman
5d981b487f 🔨 refactor html for better spacing
fixes #409
0.0.226
2023-05-31 19:22:34 -04:00
Greg Newman
483c2d506a 🐛 Fixes space at top of command palatte 2023-05-31 19:22:34 -04:00
Greg Newman
783e535dd0 🔨 refactor html for better spacing
fixes #409
2023-05-31 19:17:59 -04:00
Greg Newman
e473b67830 🐛 Fixes space at top of command palatte 2023-05-31 19:14:02 -04:00
Greg Newman
6d1cf03993 🐛 reduce bottom margin by 1px
closes issue #398
0.0.225
2023-05-31 19:00:23 -04:00
Greg Newman
bef6bfced9 🐛 reduce bottom margin by 1px
closes issue #398
2023-05-31 19:00:23 -04:00