[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 945de24d3e 57/63: Merge branch 'develop' into ins
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 945de24d3e 57/63: Merge branch 'develop' into insert-status-for-fold |
Date: |
Sun, 4 Aug 2024 04:00:44 -0400 (EDT) |
branch: elpa/mastodon
commit 945de24d3ecb65316d1418c7e678e3c945c525b0
Merge: 351bd73875 5621b2df84
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
Merge branch 'develop' into insert-status-for-fold
---
lisp/mastodon.el | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index c77170500c..cd32a2dc7a 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -414,24 +414,27 @@ not, just browse the URL in the normal fashion."
"Check if QUERY resembles a fediverse URL."
;; calqued off
https://github.com/tuskyapp/Tusky/blob/c8fc2418b8f5458a817bba221d025b822225e130/app/src/main/java/com/keylesspalace/tusky/BottomSheetActivity.kt
;; thx to Conny Duck!
+ ;; mastodon at least seems to allow only [a-z0-9_] for usernames, plus "."
+ ;; but not at beginning or end, see
https://github.com/mastodon/mastodon/issues/6830
+ ;; objects may have - in them
(let* ((uri-parsed (url-generic-parse-url query))
(query (url-filename uri-parsed)))
(save-match-data
(or (string-match "^/@[^/]+$" query)
(string-match "^/@[^/]+/[[:digit:]]+$" query)
- (string-match "^/user[s]?/@?[[:alnum:]]+$" query) ; @: pleroma or
soapbox
+ (string-match "^/user[s]?/@?[[:alnum:]_]+$" query) ; @: pleroma or
soapbox
(string-match "^/notice/[[:alnum:]]+$" query)
(string-match "^/objects/[-a-f0-9]+$" query)
(string-match "^/notes/[a-z0-9]+$" query)
(string-match "^/display/[-a-f0-9]+$" query)
- (string-match "^/profile/[[:alpha:]]+$" query)
- (string-match "^/p/[[:alpha:]]+/[[:digit:]]+$" query)
- (string-match "^/[[:alpha:]]+$" query)
- (string-match "^/u/[[:alpha:]]+$" query)
- (string-match "^/c/[[:alnum:]]+$" query)
+ (string-match "^/profile/[[:alpha:]_]+$" query)
+ (string-match "^/p/[[:alpha:]_]+/[[:digit:]]+$" query)
+ (string-match "^/[[:alpha:]_]+$" query)
+ (string-match "^/u/[[:alpha:]_]+$" query)
+ (string-match "^/c/[[:alnum:]_]+$" query)
(string-match "^/post/[[:digit:]]+$" query)
(string-match "^/comment/[[:digit:]]+$" query) ; lemmy
- (string-match "^/user[s]?/[[:alnum:]]+/statuses/[[:digit:]]+$"
query) ; hometown
+ (string-match "^/user[s]?/[[:alnum:]_]+/statuses/[[:digit:]]+$"
query) ; hometown
(string-match "^/notes/[[:alnum:]]+$" query))))) ; misskey post
(defun mastodon-live-buffers ()
- [nongnu] elpa/mastodon c75c4b7753 60/63: Revert "readme: multisession", (continued)
- [nongnu] elpa/mastodon c75c4b7753 60/63: Revert "readme: multisession", ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 1887a2d414 11/63: readme: multisession, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon a9c6c04ac6 09/63: comments on mastodon-tl--goto-item-pos, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 4d335d45f4 16/63: index, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon a7fec25557 17/63: Merge branch 'multisession' into develop, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon f19f3bc273 08/63: replace persist with multisession, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon c8565612b9 22/63: fold long posts, unfolding cmd. FIX #572., ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon d60d1d4c31 34/63: read CW when setting, not when sending, also display it. FIX #569., ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon d7816ab59f 35/63: add item-json prop to fave/boost strings, so (un)folding works, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon f16fcb15a8 27/63: use mastodon-use-emojify in toot.el, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 945de24d3e 57/63: Merge branch 'develop' into insert-status-for-fold,
ELPA Syncer <=
- [nongnu] elpa/mastodon 6b0a0eb1fa 49/63: readme, index, info, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 46b66e332a 58/63: commentary, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 7b4d77b86b 10/63: tl: no-refresh for next-item in --single-toot, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon b8e8328a35 04/63: use with-toot-item and clean up functions that use it, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 6721f40cfd 30/63: unfold toot: replace whole item on unfolding (so we have props!), ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 41404473ea 05/63: toot.el: user-error not message when needed, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 534644d2bd 13/63: toot: default to emoji.el, emojify customize, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 3ba86999d3 26/63: flymake toot.el, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 43cd626f6a 28/63: Merge branch 'emoji.el' into develop, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon c95a19b2d5 33/63: index update, ELPA Syncer, 2024/08/04