Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package bitlbee-mastodon for
openSUSE:Factory checked in at 2022-03-22 19:40:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bitlbee-mastodon (Old)
and /work/SRC/openSUSE:Factory/.bitlbee-mastodon.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bitlbee-mastodon"
Tue Mar 22 19:40:30 2022 rev:3 rq:963921 version:1.4.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/bitlbee-mastodon/bitlbee-mastodon.changes
2020-04-11 23:47:40.263140604 +0200
+++
/work/SRC/openSUSE:Factory/.bitlbee-mastodon.new.25692/bitlbee-mastodon.changes
2022-03-22 19:40:35.891114959 +0100
@@ -1,0 +2,8 @@
+Tue Mar 22 11:37:35 UTC 2022 - Matej Cepl <[email protected]>
+
+- Update to 1.4.5:
+ - fix timeline command for accounts
+ - add resolve=1 to status URL search so foreign statuses get
+ imported
+
+-------------------------------------------------------------------
Old:
----
bitlbee-mastodon-1.4.4.tar.gz
New:
----
bitlbee-mastodon-1.4.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bitlbee-mastodon.spec ++++++
--- /var/tmp/diff_new_pack.unZ7Qm/_old 2022-03-22 19:40:36.395115487 +0100
+++ /var/tmp/diff_new_pack.unZ7Qm/_new 2022-03-22 19:40:36.399115492 +0100
@@ -1,7 +1,7 @@
#
# spec file for package bitlbee-mastodon
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: bitlbee-mastodon
-Version: 1.4.4
+Version: 1.4.5
Release: 0
Summary: A Mastodon plugin for Bitlbee
License: GPL-2.0-only
++++++ bitlbee-mastodon-1.4.4.tar.gz -> bitlbee-mastodon-1.4.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bitlbee-mastodon-1.4.4/HISTORY.md
new/bitlbee-mastodon-1.4.5/HISTORY.md
--- old/bitlbee-mastodon-1.4.4/HISTORY.md 2020-03-18 14:23:47.000000000
+0100
+++ new/bitlbee-mastodon-1.4.5/HISTORY.md 2021-07-05 12:50:39.000000000
+0200
@@ -1,5 +1,10 @@
# The History of this Plugin
+New features for 1.4.5:
+
+- fix timeline command for accounts
+- add resolve=1 to status URL search so foreign statuses get imported
+
New features for 1.4.4:
- fix list management command
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bitlbee-mastodon-1.4.4/README.md
new/bitlbee-mastodon-1.4.5/README.md
--- old/bitlbee-mastodon-1.4.4/README.md 2020-03-18 14:23:47.000000000
+0100
+++ new/bitlbee-mastodon-1.4.5/README.md 2021-07-05 12:50:39.000000000
+0200
@@ -65,8 +65,10 @@
In your **&bitlbee** channel, add a new account, change it's
**base_url** to point at your instance, and switch it on:
-> **<kensanata>** account add mastodon
[email protected]
+> **<kensanata>** account add mastodon @kensanata
> **<root>** Account successfully added with tag mastodon
+> **<kensanata>** account mastodon set base_url
https://mastodon.weaponvsac.space
+> **<root>** base_url = `https://mastodon.weaponvsac.space
> **<kensanata>** account mastodon on
> **<root>** mastodon - Logging in: Login
> **<root>** mastodon - Logging in: Parsing application registration
> response
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bitlbee-mastodon-1.4.4/configure.ac
new/bitlbee-mastodon-1.4.5/configure.ac
--- old/bitlbee-mastodon-1.4.4/configure.ac 2020-03-18 14:23:47.000000000
+0100
+++ new/bitlbee-mastodon-1.4.5/configure.ac 2021-07-05 12:50:39.000000000
+0200
@@ -16,7 +16,7 @@
AC_INIT(
[bitlbee-mastodon],
- [1.4.4],
+ [1.4.5],
[https://github.com/kensanata/bitlbee-mastodon/issues],
[bitlbee-mastodon],
[https://alexschroeder.ch/cgit/bitlbee-mastodon/about/],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bitlbee-mastodon-1.4.4/doc/HELP.md
new/bitlbee-mastodon-1.4.5/doc/HELP.md
--- old/bitlbee-mastodon-1.4.4/doc/HELP.md 2020-03-18 14:23:47.000000000
+0100
+++ new/bitlbee-mastodon-1.4.5/doc/HELP.md 2021-07-05 12:50:39.000000000
+0200
@@ -319,6 +319,8 @@
Usually you'll be providing a local or remote account to follow. In the
background, Bitlbee will run a search for the account you provided and follow
the first match. Sometimes there will be nicks in the channel which you are not
following, e.g. a nick is automatically added to the channel when a status of
theirs mentioning you is shown.
+This only works for accounts known on your instance. If you're the first one
on your instance, you need to interact with the account such that your instance
"imports" the remote account. The easiest way to do that is to use the
**timeline <@account>** command. this automatically adds the account to
your instance if it is missing, and the nick to your channel, making it easy to
follow.
+
Use **unfollow <nick>** to unfollow a nick. Synonyms: **allow**.
## block
@@ -383,7 +385,7 @@
You can also search for a specific status by searching the URL of said status.
This sounds strange but it will allow you to boost it, for example.
-If you want to show the statuses for a specific account or a hashtag, use
**timeline <nick|#hashtag>**.
+If you want to show the statuses for a specific account, even a remote one, or
a hashtag, use **timeline <nick|@account|#hashtag>**.
If you want to subscribe to a particular hashtag, see *[hashtag](#hashtag)*
for more.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bitlbee-mastodon-1.4.4/doc/mastodon-help.txt
new/bitlbee-mastodon-1.4.5/doc/mastodon-help.txt
--- old/bitlbee-mastodon-1.4.4/doc/mastodon-help.txt 2020-03-18
14:23:47.000000000 +0100
+++ new/bitlbee-mastodon-1.4.5/doc/mastodon-help.txt 2021-07-05
12:50:39.000000000 +0200
@@ -317,6 +317,8 @@
Usually you'll be providing a local or remote account to follow. In the
background, Bitlbee will run a search for the account you provided and follow
the first match. Sometimes there will be nicks in the channel which you are not
following, e.g. a nick is automatically added to the channel when a status of
theirs mentioning you is shown.
+This only works for accounts known on your instance. If you're the first one
on your instance, you need to interact with the account such that your instance
"imports" the remote account. The easiest way to do that is to use the
timeline <@account> command. this automatically adds the account to your
instance if it is missing, and the nick to your channel, making it easy to
follow.
+
Use unfollow <nick> to unfollow a nick. Synonyms: allow.
%
?mastodon block
@@ -381,7 +383,7 @@
You can also search for a specific status by searching the URL of said status.
This sounds strange but it will allow you to boost it, for example.
-If you want to show the statuses for a specific account or a hashtag, use
timeline <nick|#hashtag>.
+If you want to show the statuses for a specific account, even a remote one, or
a hashtag, use timeline <nick|@account|#hashtag>.
If you want to subscribe to a particular hashtag, see help mastodon hashtag
for more.
%
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bitlbee-mastodon-1.4.4/src/mastodon-lib.c
new/bitlbee-mastodon-1.4.5/src/mastodon-lib.c
--- old/bitlbee-mastodon-1.4.4/src/mastodon-lib.c 2020-03-18
14:23:47.000000000 +0100
+++ new/bitlbee-mastodon-1.4.5/src/mastodon-lib.c 2021-07-05
12:50:39.000000000 +0200
@@ -2596,11 +2596,12 @@
*/
void mastodon_search(struct im_connection *ic, char *what)
{
- char *args[2] = {
+ char *args[4] = {
"q", what,
+ "resolve", "1",
};
- mastodon_http(ic, MASTODON_SEARCH_URL, mastodon_http_search, ic,
HTTP_GET, args, 2);
+ mastodon_http(ic, MASTODON_SEARCH_URL, mastodon_http_search, ic,
HTTP_GET, args, 4);
}
/**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bitlbee-mastodon-1.4.4/src/mastodon-lib.h
new/bitlbee-mastodon-1.4.5/src/mastodon-lib.h
--- old/bitlbee-mastodon-1.4.4/src/mastodon-lib.h 2020-03-18
14:23:47.000000000 +0100
+++ new/bitlbee-mastodon-1.4.5/src/mastodon-lib.h 2021-07-05
12:50:39.000000000 +0200
@@ -68,7 +68,7 @@
#define MASTODON_ACCOUNT_FORMAT(suffix) MASTODON_ID_FORMAT("accounts",suffix)
#define MASTODON_ACCOUNT_URL MASTODON_ACCOUNT_FORMAT("")
-#define MASTODON_ACCOUNT_SEARCH_URL MASTODON_ACCOUNT_FORMAT("/search")
+#define MASTODON_ACCOUNT_SEARCH_URL MASTODON_API(1) "/accounts/search"
#define MASTODON_ACCOUNT_STATUSES_URL MASTODON_ACCOUNT_FORMAT("/statuses")
#define MASTODON_ACCOUNT_FOLLOWING_URL MASTODON_ACCOUNT_FORMAT("/following")
#define MASTODON_ACCOUNT_BLOCK_URL MASTODON_ACCOUNT_FORMAT("/block")