Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.1.50 #381

Merged
merged 10 commits into from
Nov 6, 2024
Merged

v3.1.50 #381

merged 10 commits into from
Nov 6, 2024

Conversation

mvdicarlo
Copy link
Owner

No description provided.

leaftail1880 and others added 10 commits September 26, 2024 22:07
Transmits an array of them, one element per file. Default field is
called "alt".
The implementation is conceptually simple: it checks if we're allowed to
upload video, uploads it, then polls the processing status until
completion and then posts the post. What makes this difficult is that
the atproto library is completely busted in three dimensions.

First, the main module file contains what looks to me like a syntax
error. The TypeScript compiler agrees, so you can't even compile it. The
workaround is to avoid this main file and instead import stuff piecemeal
instead.

Then, while they allow you to specify a fetch handler, they still
unconditionally access a bunch of browser-specific stuff (Request,
Response, FormData) in the global scope, requiring us to jam those in
there so that it's happy.

Finally, the implementation of the video endpoints in the API is plain
wrong, missing required arguments (that you can't specify anyway because
then validation fails), not requesting the required access tokens and
hitting the wrong endpoint altogether. So we instead punt to manual
fetching in the same way that the website does.
Support alt text for custom website
…rt patreon / sstar (#380)

* feat: allow support for images inserted into the text mostly to support patreon / sstar
@mvdicarlo mvdicarlo merged commit 837c0d8 into master Nov 6, 2024
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.

3 participants