Skip to content

Conversation

jimallman
Copy link
Member

This is a ton of recent work, finally being merged back to the default branch. Onward!

As usual, we capture high-level intent in requirements.in, then freeze
the as-built versions in requirements.txt. See pipdeptree.out for a full
explanation of module dependencies.
NB - This now includes some modules from the *internal* requirements
from synthetic_tree_viewer/setup.py [testing]
This lists details like API method URLs, vs. the main Pyramid config
file. Adapted from the old web2py app.
NB - This might not be needed after all, if get_conf is supported in all
page templates.
NB - We'll keep the existing URL pattern, rather than simplifying it, to
support links saved previously.
This is syntactically correct, but needs testing in a proper CGI
environment to be sure.
jimallman added 30 commits May 13, 2024 17:10
This also requires cleanup and standardized calls for an
authenticated user, or substitutes for anonymous commenters.
Required to pre-compile nested comment threads before we render to a
Jinja2 template.
Includes correct assignment of logged-in vs. visitor info.
Traditionally, datetime objects have often been "naive" with
no sense of time zone. Recent versions of Python 3 encourage
making time zones explicit to avoid problems.
The subrequest that brings local comments should also respect the URL of
the original (main) request and repeat. This is not working! :-/
This is required for Github auth and APIs
It won't help the webapp load comments at the target
synthtree+nodeid, but it's handy for users to back-track
from a Github issue to the original page.
This persists across the subrequest w/o being mangled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant