aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update the README file to mention the new keybindings for tab browsing. (#171)H Durer2018-03-051-18/+21
| |
| * Make "Content warning" a tab stop and toggle to show/hide the main contents. ↵H Durer2018-03-052-29/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | (#170) * Allow user to navigate interesting things in a buffer via tabbing (tab to go forward, M-tab and S-Tab to go back). This has always been possible while on a hyperlink but now works everywhere. Currently only hyperlinks are tab stops but in the future we will want to support other things and there are already TODO comments in the code to note where we may want to do this. * Add a new tab stop and link type: spoiler toggling. This initially hides the spoiler in a toot and makes the "Content warning" a link and tab stop. The action taken is to toggle the visibility of the toot.
| * Merge pull request #169 from hdurer/maybe-use-shr-fontsAlexander Griffith2018-03-051-1/+8
| |\ | | | | | | Add new customization flag to switch between fixed width / proportional fonts.
| | * Add a new customization flag to switch between using fixed width or ↵Holger Dürer2018-03-051-1/+8
| |/ | | | | | | | | | | proportional fonts. The default stays as is now to use fixed width fonts.
| * Merge pull request #168 from hdurer/tab-browsingAlexander Griffith2018-03-053-76/+329
| |\ | | | | | | | | | Allow user to navigate interesting things in a buffer via tabbing.
| | * Allow user to navigate interesting things in a buffer via tabbing (tab to go ↵Holger Dürer2018-03-053-76/+329
| |/ | | | | | | | | | | | | forward, M-tab and S-Tab to go back). This has always been possible while on a hyperlink but now works everywhere. Currently only hyperlinks are tab stops but in the future we will want to support other things and there are already TODO comments in the code to note where we may want to do this.
| * Merge pull request #154 from hdurer/multi-instance-in-plstoreH Durer2018-03-026-56/+104
| |\ | | | | | | Keep track of to which instance secrets in plstore belong
| | * Explicity set output variables to "unlimited" when saving plstore.Holger Durer2018-03-021-1/+6
| | | | | | | | | | | | | | | | | | | | | Alex Griffith reported ellipses in the output which seems to indicate the printing was somehow truncated. I cannot see anywhere in the code path for plstore-save that these variables be set explictly. See https://www.gnu.org/software/emacs/manual/html_node/elisp/Output-Variables.html for an explanation of these variables.
| | * Keep track of to which instance secrets in plstore belong.Holger Dürer2018-03-026-56/+99
| |/ | | | | | | | | | | | | | | | | | | | | While testing out issue 149 (https://github.com/jdenen/mastodon.el/issues/149) I had problems due to stale client information being cached. With this change we store various pieces of information (the client information in the plstore and the auth tokens) in alists keyed by the instance url (and the plstore key contains the instance url as well to allow us to store data per instance).
| * Merge pull request #161 from hdurer/dont-spam-user-with-image-fetch-messagesAlexander Griffith2018-03-021-1/+5
| |\ | | | | | | Stop url.el from spamming the user with "Connecting host: ..." messages in the minibuffer
| | * Stop url.el from spamming the user with "Connecting host: ..." messages in ↵Holger Durer2018-03-021-1/+5
| |/ | | | | | | | | | | | | the minibuffer. These happen during async loads, i.e. when the user might be doing something else completely. Especially with auto-update that are coming this is becoming annoying.
| * Merge pull request #160 from alexjgriffith/fix-buffer-switchingH Durer2018-03-022-16/+16
| |\ | | | | | | Fixes buffer switching issue and closes issue #158
| | * Fixes buffer switching issue and closes issue #158Alexander Griffith2018-03-012-16/+16
| | | | | | | | | | | | | | | | | | - Small logic fix in mastodon-tl--media to remove redundant newline - Replaced switch-to-buffer with with-current-buffer in mastodon-media--process-image-response - Squashed with merge to develop
| * | Merge pull request #157 from hdurer/async-images-check-deleted-buffersAlexander Griffith2018-03-011-25/+26
| |\| | | | | | | When processing async loaded images check for deleted buffers
| | * When processing the result of an async image fetch, ensure the buffer still ↵Holger Dürer2018-03-011-25/+26
| |/ | | | | | | | | | | exists. This should fix https://github.com/jdenen/mastodon.el/issues/156.
| * Merge pull request #153 from alexjgriffith/explicit-media-toggleAlexander Griffith2018-02-285-24/+78
| |\ | | | | | | explicit media toggle and small bug fixes
| | * Closes #152 and extends the fix for #150 as well as a host of bug fixesAlexander Griffith2018-02-285-24/+78
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now kill the http get request buffer once JSON has been extracted. mastodon-tl--as-string was implemented and replaced any occurrence of number-to-string or int-to-string Added variable mastodon-tl--display-media-p. By default it is 't but can be made a local buffer variable and set to nil. When nil rather than displaying the media it just provides a link Media::<link> Fixed checking for faves and boosts, they should now render properly. The return from json-read-from-string for nil is :json-false which evaluates to 't in elisp. Fixed the format string that gets printed when faving and boosting Fixed mastodon-tl--thread updating and requesting and changed its behaviour such that it tries to open the original toot thread rather than the boosted thread. Added tests for both the new mastodon-tl--as-string function and the mastodon-tl--toot-id utility. enter mastodon mode before defining local buffer variable mastodon-tl--buffer-spec. This fixes some oddities with the local buffer variable.
| * Merge pull request #151 from alexjgriffith/fix-numericpAlexander Griffith2018-02-262-2/+26
| |\ | | | | | | Check if an id is a number before attempting to convert it. Closes #150 in main timelines
| | * Merge branch 'develop' into fix-numericpAlexander Griffith2018-02-262-5/+539
| | |\ | | |/ | |/|
| * | Merge pull request #136 from hdurer/update-timestampsAlexander Griffith2018-02-252-5/+539
| |\ \ | | | | | | | | Use relative time description for posting timestamps and periodically update these to keep then up-to-date
| | * | use absolute time stamps when mastodon-tl--enable-relative-timestamps is nilAlexander Griffith2018-02-251-1/+3
| | | |
| | * | Review comments from alexjgriffith:Holger Dürer2017-06-191-26/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Simplify let structure in byline generation - Allow disabling of relative timestamps via customization Maybe still to do: - use of cl-macs in tests Punted to a later PR: - Using correct form in docstrings throughout
| | * | Add periodic updating of the timestamp displays.Holger Dürer2017-06-192-35/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Show the posting date in a more readable, relative to current time format.Holger Dürer2017-06-192-1/+91
| | | | | | | | | | | | | | | | This is still static, i.e. doesn't update as time progresses.
| | * | Bump version to 0.7.1Johnson Denen2017-06-198-8/+8
| | | |
| | * | Catch any errors thrown during url-retrieve.Holger Dürer2017-06-192-3/+30
| | | | | | | | | | | | | | | | | | | | 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.
| | * | More robust bad url detection.Holger Dürer2017-06-191-3/+4
| | | |
| | | * Added tests to ensure that ids passed to mastodon-tl--updated-json and ↵alexjgriffith2018-02-251-0/+20
| | | | | | | | | | | | | | | | mastodon-tl--more-json work as both strings and integers
| | | * Check if an id is a number before attempting to convert it. Closes #150alexjgriffith2018-02-241-2/+6
| | |/ | |/|
| * | Merge branch 'master' into developJohnson Denen2018-01-020-0/+0
| |\ \ | |/ / |/| |
* | | Bump version to 0.7.1Johnson Denen2017-06-198-8/+8
| | |
* | | Catch any errors thrown during url-retrieve.Holger Dürer2017-06-192-3/+30
| | | | | | | | | | | | | | | 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.
* | | More robust bad url detection.Holger Dürer2017-06-191-3/+4
| | |
| * | Bump version to 0.7.1Johnson Denen2017-06-198-8/+8
| | |
| * | Catch any errors thrown during url-retrieve.Holger Dürer2017-06-192-3/+30
| | | | | | | | | | | | | | | 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.
| * | More robust bad url detection.Holger Dürer2017-06-191-3/+4
|/ /
* | Merge pull request #135 from jdenen/developJohnson Denen2017-05-1812-174/+251
|\| | | | | Release 0.7.0
| * Bump to v0.7.0Johnson Denen2017-05-188-8/+8
| |
| * Merge branch 'master' into developJohnson Denen2017-05-180-0/+0
| |\ | |/ |/|
* | Bump to v0.6.3Johnson Denen2017-05-158-8/+8
| |
* | Use lexical-binding in all files.Holger Dürer2017-05-158-8/+13
| | | | | | | | | | We only support Emacs 24 and 25 so are free to use sane bindings by default. To keep the linter happy, we need to declare dependency on Emacs 24 in all files.
* | Close #76Johnson Denen2017-05-152-10/+2
| | | | | | | | | | * Delete version variable and function * Use package-file
* | removed accidentally duplicated mastodon-mode-hookAlexander Griffith2017-05-151-6/+0
| |
* | Added face customization closes #124Alexander Griffith2017-05-152-8/+37
| |
* | Add tests for mastodon-media.elHolger Dürer2017-05-153-9/+195
| | | | | | | | This also includes tweaks to make Travis happy — tests previously did pass on my laptop but Travis's environment is different.
* | Move the rendering of images fully into mastodon-media.el and use default ↵Holger Dürer2017-05-153-25/+160
| | | | | | | | | | | | | | images. Having all the logic in one file reduces interdependencies. Having default images is more pleasing during the incremental loading.
* | Make the image loading asynchronous.Holger Dürer2017-05-151-24/+46
| | | | | | | | | | | | | | Now that we are also loading avatars there is a lot of image loading to do to show the timeline. We can do the loading asynchronously to let the user have a look at the toots already while image loading is incrementally proceeding. We can no longer enforce caching of avatar loading since the variable is consulted when the response parsing happens at which point the dynamic binding we had used so far has gone out of scope again.
* | Show users' avatars plus other image work.Holger Dürer2017-05-153-45/+86
| | | | | | | | | | | | | | | | | | - Shows users' avatars (makes only sense if Emacs is built with imagemagick) - Scales media attachement previews to a max size (if Emacs is built with imagemagick) - Enable cacheing of image fetches Known issues: - We should really cache the avatars to avoid having multiple identical images in memory.
| * replaced declare-function with autoloadalexjgriffith2017-05-187-44/+44
| |
| * Replace uses of replace-regexp with search-forward and replace-match.Holger Dürer2017-05-183-4/+11
| |