aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-media.el
Commit message (Collapse)AuthorAgeFilesLines
* add sensitive property to images, so we can blur them one day.marty hiatt2023-12-231-37/+41
|
* add image-description text propertymarty hiatt2023-12-081-1/+2
|
* remove ;; Version: strings in buffers other than mastodon.elmarty hiatt2023-11-101-1/+0
|
* Fix "empty body" warningsStefan Monnier2023-08-271-31/+30
| | | | | | | | * lisp/mastodon-media.el (mastodon-media--process-image-response): Remove unused `unwind-protect`. * lisp/mastodon-views.el (mastodon-views--delete-filter): Fix paren error which made a `y-or-n-p` ineffective.
* indent -media.elmarty hiatt2023-08-021-1/+1
|
* don't dbl quote video overlay fontmarty hiatt2023-05-301-1/+1
|
* re-do vid overlay clean upmarty hiatt2023-05-111-18/+13
|
* overlay for mediamarty hiatt2023-05-111-14/+19
|
* add play symbol after videos in tl.marty hiatt2023-05-111-1/+6
|
* fix media testsmarty hiatt2023-05-111-1/+1
|
* audit media.elmarty hiatt2023-05-101-22/+23
|
* remove all ;; Package-Requires: declarations save for main filemarty hiatt2023-03-271-1/+0
| | | | main file is set in .dir-locals.el now
* manually(!) apply stephan monnier's patch, save the ts workmarty hiatt2023-03-211-5/+2
| | | | thanks stephan!
* remove first empty line in docstringsmarty hiatt2023-01-091-6/+2
|
* update copyright/author attributionmarty hiatt2022-11-271-0/+2
|
* caption + props for media urls as well as actual mediamarty hiatt2022-11-251-22/+13
| | | | adds fun mastodon-tl--propertize-img-str-or-url, to prop both.
* indentation and stale TODOsmarty hiatt2022-09-121-3/+2
|
* bump version in boilerplatemarty hiatt2022-08-271-1/+1
|
* flychecks and docstringsmousebot2022-04-051-1/+2
|
* don't add play with mpv help-echo if media type is "unknown"mousebot2022-03-111-1/+3
| | | | | | "unknown" type is given when a media image fails to load or similar. nil is e.g. when a profile picture isn't given, and missing.png is used as a replacement
* display image caption in help echomousebot2022-03-101-3/+7
|
* Merge branch 'develop' into mpv-play-at-pointmousebot2022-02-111-1/+1
|\
| * update homepage and copyright boilerplatemousebot2022-02-051-1/+1
| |
* | disable moving image overlaymousebot2022-01-151-14/+14
| | | | | | | | | | due to the bug the displays it before (point-min) if you load a timeline more than once :/
* | try an all-the-icons icon. not too sure about it tho.mousebot2022-01-111-1/+6
| | | | | | | | its unicode
* | add play symbol as after-string overlay to gifv and video typesmousebot2022-01-111-3/+12
| | | | | | | | also update the help-echo for the command to play them
* | add function to play gif/video at point. uses mpv.elmousebot2022-01-111-1/+1
|/ | | | oops fix the mpv require statement
* bump version to a round numbermousebot2021-12-171-1/+1
|
* boilerplate maintainer contactmousebot2021-12-171-0/+1
|
* depend on emacs 27.1, flychecks, docstrings, etc.mousebot2021-12-171-1/+1
| | | | strictly, the 27.1 dependency is only for proper-list-p in -http.el.
* bump version, change homepage link, readmemousebot2021-12-171-2/+2
|
* fetch media_attachments' "type" from server and store as propertymousebot2021-11-091-14/+20
| | | | | | | | | | | - if the type is not "image", it is displayed in`'help-echo' property. - the idea is to use this to handle gifs/videos differently to images. but for now i'm not sure how to actually render such media. but this way, at least the item could be viewed externally if the user wants to see it, or at least they know they're missing out on something. - NB: EWW can't handle content type "video/mp4".
* Reformat all code.Holger Dürer2021-11-061-2/+2
| | | | | | | | | | | 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.
* Fix compilation warnings.Holger Dürer2021-11-011-1/+4
| | | | | | | | | | | | This is mostly reflowing / reworkding docstrings to keep within 80 characters limit and adding autoloads. There are two warning remaining that I don't understand: - mastodon-async.el:359:16: Warning: reference to free variable ‘url-http-end-of-headers’ - mastodon-http.el:139:8: Warning: value returned from (string-equal json-string "") is unused When adding autoloads this sorts them for better readability.
* enable-image-caching customize optionmousebot2021-10-291-3/+10
|
* Merge branch 'develop' into imgcachingmousebot2021-10-241-5/+0
|\
| * move defcustom attachment-height from media to tootmousebot2021-10-221-5/+0
| | | | | | | | | | | | | | | | - this makes the autoload fun mastodon-toot have access to the variable, so that it can be successfully called without mastodon-mode having been enabled previously. - maybe there is another work around for making variables available to autoloaded functions, but i failed to find it!
* | handle caching of imagesmousebot2021-10-221-4/+14
|/ | | | | we now store images ourselves for caching rather than relying on url-automatic-caching.
* revert leftover caching things from merging image-previews branchmousebot2021-10-201-3/+1
|
* Merge branch 'img-previews' into developmousebot2021-10-201-2/+9
|\
| * disambiguate media--attachment-height and preview-max-heightmousebot2021-10-151-3/+3
| |
| * first test merge of hdurer's WIP: Posting of imagesmousebot2021-10-151-0/+5
| |
| * handle caching of imagesmousebot2021-10-091-4/+8
| | | | | | | | | | we now store images ourselves for caching rather than relying on url-automatic-caching.
* | Revert "handle cached images"mousebot2021-10-181-10/+4
|/ | | | | | -- caching images with url.el locks up mastodon.el This reverts commit 0129bcf466a4913bdda095b977cd06560c406a30.
* handle cached imagesmousebot2021-10-091-4/+10
| | | | | | | | when we fetch images, check if they are cached, and if so use the cached version. for now, images aren't cached explicitly, but this should work if the user has `url-automatic-caching' enabled.
* flycheck: docstrings, autoloads, etcmousebot2021-10-031-9/+12
|
* package-lint: bump to emacs 26.1, disable stream keybindingsmousebot2021-09-221-1/+1
|
* use inbuilt image scaling if emacs version => 27.1mousebot2021-09-131-5/+12
| | | | and put point at point-min on profile load
* foll reqs/faves bindings global, autoloads and declarations, readmemousebot2021-06-011-3/+4
|
* bump masto version, bump emacs version to 25.1, dependency in readmemousebot2021-05-311-2/+2
|