| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
For each buffer we add a timer that periodically checks all timestamps and updates them as needed.
The logic tries to be smart and
- only schedule an update when at least one timestamps display needs changing (although at the moment we update at least every 5 minutes), and
- only do a limited amount of work in each timer callback so as to not block Emacs's interactive work.
|
|
|
|
| |
This is still static, i.e. doesn't update as time progresses.
|
|
|
|
|
| |
On Emacs24 I've been able to reliably fail url fetching which exposed issues in loading a timeline (it aborts the loading).
This catches any errors, marking the image load as failed so that we won't retry (retries are a TODO item I guess) and then succeeds the function so the rest of the timeline loading can proceed.
|
|
|
|
|
|
|
| |
We do this by
- moving vars into the files where they are (mostly) used
- "declaring" vars used elsewhere with the (defvar <var-name>) pattern,
- declaring functions defined in others functions rather than loading the file via require.
|
|
|
|
|
|
|
|
|
|
| |
removed tests for previous version
documented mastodon-buffer-spec getters
moved mastodon-buffer-spec to mastodon.el
combined mastodon-tl--get and mastodon-tl--init, along with other cleanups
|
|
|
|
|
|
|
|
|
|
|
|
| |
changed more-json in mastodon-tl-tests to recieve an endpont
more evocative names and fixed whitespace
replaced remaining end eith endpoint-plist
added basic unit tests for endpoint selection
replaced equalp with equal in tests
|
|
|
|
| |
This also includes tweaks to make Travis happy — tests previously did pass on my laptop but Travis's environment is different.
|
|
|
|
|
|
|
| |
images.
Having all the logic in one file reduces interdependencies.
Having default images is more pleasing during the incremental loading.
|
| |
|
| |
|
|
|
|
| |
You can request more toots by hitting 'j' at the end of a timeline buffer
|
| |
|
| |
|
|
|
|
|
|
| |
- Remove client functions
- Use mastodon-http--post
- No more callback spaghetti
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Replace direct references to `mastodon--client-app-plist'
|
| |
|
|
|
|
| |
Abstract Email and Password prompts to `mastodon-auth--user-and-passwd' function
|
|
|
|
|
|
| |
Add `mastodon-auth--get-token-success'
Add test for `mastodon-auth--get-token-success'
Add test for `mastodon--get-access-token-triage'
|
| |
|
|
|
|
|
| |
Add `mastodon-auth--token-file' function
Add test for `mastodon-auth--token-file'
|
|
|
|
| |
Refactor tests to check plist return value
|
|
|
|
| |
Add mastodon-auth--register-client-app-triage test
|
| |
|
|
|