Commit Graph

932 Commits

Author SHA1 Message Date
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
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