| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
this means the triage callback always needs to handle 1 arg.
|
| |
|
| |
|
|
|
|
|
|
|
| |
When you start a reply (to a local user or federated), there's one
extra white-space after the list of mentioned users:
`@user1@host.local @user2@host.federated__` (the underscores represent
white-spaces). This PR removes the extra space.
|
| |
|
|
|
|
| |
also update all calls to it, no need for nil nil everywhere.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Add a header comment explicitly switching off lexical binding
- Harmonize naming (always start with module and double hyphen)
- Ensure all tests have at least a minimal doc string.
- Move tests from `mastodon-auth-test.el` to `mastodon-auth-tests.el`
|
|
|
|
|
| |
- Remove redundant let binding of vars
- Re-indent various things to better fit reasonably on a screen.
|
|
|
|
|
|
|
|
|
|
|
| |
Basically, in Emacs for each file: select all text and
`indent-region`.
- This also removes one redundant comment, and
- fixes an error with json decoding where the `json-read-from-string`
was actually not within the intended `unless` clause (which explains
the warning about "result of (string-equal "" json-string) will be
ignored" which I never understood.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When responding to toots the full acct for both local and federated accounts are now added to the new toot buffer.
Changes
- Added a function in mastodon.el to return the current user acct
- Added mastodon-toot--process-local, which takes an acct and appends the current server if it is local returns an empty string if the acct matches the current user and does only adds a prefix @ if the acct is federated
- mastodon-toot--mentions will return a formatted string of mentions or an empty string
- adds tests for mastodon-toot--mentions
- adds a missing , in mastodon-http--post
- `mastodon-toot--reply` now passes `mastodon-toot` a toot-id rather than the whole json
- 'mastodon-toot--reply-to-id is now a local var in a new toot
|
| |
|
|
|
|
|
|
| |
- Remove client functions
- Use mastodon-http--post
- No more callback spaghetti
|
| |
|
|
|