Format mastodon output
This commit is contained in:
@@ -628,3 +628,15 @@ Changed Mastodon status publishing to form-encoded API requests, added safe conf
|
||||
|
||||
### Assistant outcome
|
||||
Removed the duplicate `TRAEFIK_HOST` configuration, changed both Traefik router rules to use `LINKLOG_PUBLIC_URL`, standardized the value as a host name, and normalized scheme-less values to valid HTTP/HTTPS backend callback URLs. Compose validation, URL normalization, and the complete Dockerized backend suite passed with 22 tests.
|
||||
|
||||
### User
|
||||
Format Mastodon posts as `From my #LinkLog:`, the web page title, an optional comment, and `from: URL`.
|
||||
|
||||
### Assistant outcome
|
||||
Updated the Mastodon formatter to emit the configured prefix, title, optional comment, and source URL as blank-line-separated blocks. Tags remain on the source URL line. The focused posting test and complete Dockerized backend suite passed with 22 tests, and the running container is healthy on port 5469.
|
||||
|
||||
### User
|
||||
Only print the `from` line if there is no title. Put the title directly behind the colon, and put all tags on the last line.
|
||||
|
||||
### Assistant outcome
|
||||
Updated Mastodon formatting to place the title directly after `From my #LinkLog:`, omit the `from:` line when no title is available, and place tags on a separate final line. Added no-title regression coverage. The focused tests passed and the complete Dockerized backend suite passed with 23 tests.
|
||||
|
||||
@@ -115,6 +115,8 @@
|
||||
109. use VIVE that is in the current directory
|
||||
110. Posting to mastodon seems to fail, try to fix, add debug logging
|
||||
111. LINKLOG_PUBLIC_URL and TRAEFIK_HOST are the same and can be merged. (use LINKLOG_PUBLIC_URL), fix docker-compose to use said variable
|
||||
112. Format mastodon posts like From my #LinkLog: Title, optional comment, and from: URL
|
||||
113. Only print the 'from' line if there is no title. Put the title directly behind the colon, and put all tags on the last line.
|
||||
|
||||
## Future entries
|
||||
|
||||
|
||||
Reference in New Issue
Block a user