[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon f7ec0268e0 32/52: FIX #502. add "exclusive" param
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon f7ec0268e0 32/52: FIX #502. add "exclusive" param to create/edit lists. |
Date: |
Mon, 30 Oct 2023 16:01:26 -0400 (EDT) |
branch: elpa/mastodon
commit f7ec0268e0fcf4d9f6f80ae3d246d878d9350cc8
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
FIX #502. add "exclusive" param to create/edit lists.
---
lisp/mastodon-views.el | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 423f1a151b..a6f319b25d 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -290,10 +290,13 @@ If ID is provided, use that list."
(replies-policy (completing-read "Replies policy: " ; give this a
proper name
'("followed" "list" "none")
nil t nil nil "list"))
+ (exclusive (when (y-or-n-p "Exclude items from home timeline? ")
+ "true"))
(url (mastodon-http--api (format "lists/%s" id)))
(response (mastodon-http--put url
`(("title" . ,name-choice)
- ("replies_policy" .
,replies-policy)))))
+ ("replies_policy" . ,replies-policy)
+ ("exclusive" . ,exclusive)))))
(mastodon-http--triage response
(lambda ()
(with-current-buffer response
@@ -332,10 +335,12 @@ Prompt for name and replies policy."
(replies-policy (completing-read "Replies policy: " ; give this a
proper name
'("followed" "list" "none")
nil t nil nil "list")) ; default
+ (exclusive (when (y-or-n-p "Exclude items from home timeline? ")
+ "true"))
(response (mastodon-http--post (mastodon-http--api "lists")
`(("title" . ,title)
- ("replies_policy" . ,replies-policy))
- nil)))
+ ("replies_policy" . ,replies-policy)
+ ("exclusive" . ,exclusive)))))
(mastodon-views--list-action-triage
response "list %s created!" title)))
- [nongnu] elpa/mastodon 0fc64df90d 14/52: fix minor-view disaster disastrously: put it all init-sync, (continued)
- [nongnu] elpa/mastodon 0fc64df90d 14/52: fix minor-view disaster disastrously: put it all init-sync, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 1e40c8d19f 17/52: docstrings, autoloads, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 0bd2bea47d 27/52: override shr-linkmap 'u' binding, to update. 'w' is copy-url already, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 78ff4a75ea 36/52: item-type list for list, not user (stray value), ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 826c228d09 34/52: edit list: exclusive proper true/false strings, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon cf7b3710c6 48/52: Merge branch 'develop', ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 1ce402833e 50/52: flychecks, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon a8c80d25b7 52/52: update cmd index, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 7676946d83 51/52: update cmd index, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon e954ae162c 31/52: no y-or-n-p for (un)bookmarking, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon f7ec0268e0 32/52: FIX #502. add "exclusive" param to create/edit lists.,
ELPA Syncer <=
- [nongnu] elpa/mastodon 47865bd215 30/52: tl--prev-toot-id: don't assume our funs return anything., ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon f1bc8d83d4 35/52: display replies policy & exclusive status for lists, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 3dc21b91b1 38/52: tl--update: add lists, and note abt what we shd actually do, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 40e8123b84 47/52: Merge branch 'triage-response-data' into develop, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon e380f74a44 49/52: profile--item-json is no cmd, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 5f237982e5 40/52: a quick hack to toggle display of a user's boosts in timeline. FIX# 503, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 87a6bc9d7d 45/52: readme contributing, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 31643d6f63 16/52: Merge branch 'minor-view' into develop, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon a53d9824fe 19/52: change some error calls to user-error calls, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 4a9c2015ee 26/52: fix elpaignore, ELPA Syncer, 2023/10/30