Commit graph

2997 commits

Author SHA1 Message Date
default
2edce5e0ec mastoapi: show contact metrics if the user want. 2024-12-04 21:45:49 +01:00
default
a45a0d68e3 Also show contact metrics in the public page, if the user wants. 2024-12-04 18:05:41 +01:00
default
93bc87ecb6 New user variable show_contact_metrics. 2024-12-04 07:06:50 +01:00
default
a6e13e40da msg_collection() now includes an argument for totalItems. 2024-12-04 06:25:46 +01:00
default
e0ba66a53e Check for existing id. 2024-12-04 05:53:12 +01:00
default
203db3b09e Fixed bug in blocked instance rejection. 2024-12-04 05:51:17 +01:00
default
22d05cded1
Version 2.65 RELEASED. 2024-11-26 17:15:54 +01:00
default
fa5672941d
Updated RELEASE_NOTES. 2024-11-26 17:14:35 +01:00
default
ebb1b00457 Updated documentation. 2024-11-25 10:43:56 +01:00
default
a30b2b61b4 Fixed typo. 2024-11-25 10:34:12 +01:00
default
5165df0ceb
Updated RELEASE_NOTES. 2024-11-25 10:30:28 +01:00
default
b3be8e0673 New cmdline ops 'import_list' and 'import_block_list'. 2024-11-25 10:24:47 +01:00
default
2eff3ffb66
Most CSV import code has been moved to their own functions. 2024-11-25 10:08:50 +01:00
default
f549af8005
Updated RELEASE_NOTES. 2024-11-25 09:09:56 +01:00
default
15f352fe83 When importing CSV lists, also follow that accounts. 2024-11-25 08:15:34 +01:00
default
13647f790d Fixed missing else in html people list. 2024-11-24 20:33:22 +01:00
default
474a750e69 Changed help for the search box. 2024-11-24 20:25:17 +01:00
default
6e32dd16d8
Updated RELEASE_NOTES. 2024-11-24 20:22:58 +01:00
default
3f8db422ce The search box also searches accounts (via webfinger). 2024-11-24 20:21:48 +01:00
default
a5a7ab9ba5 Backport from xs. 2024-11-24 18:49:17 +01:00
default
e0fb6a7064 Fixed bio processing in the public page. 2024-11-24 18:36:33 +01:00
default
45f29ede87 Updated documentation. 2024-11-24 10:33:42 +01:00
default
a2665c3cc9 Minor tweak to user_persist(). 2024-11-24 09:37:59 +01:00
default
9fee970809 Updated RELEASE_NOTES. 2024-11-24 09:30:40 +01:00
default
76654f1bfa Bumped version. 2024-11-24 09:26:54 +01:00
default
93f70d6759 Added web UI for the 'approve_followers' checkbox. 2024-11-24 09:25:59 +01:00
default
0db1cf05d1 New web actions "Approve" and "Discard". 2024-11-24 09:14:59 +01:00
default
0ddbe7e53b Pending follow notifications are shown as "Follow Request". 2024-11-24 08:58:02 +01:00
default
9fb84bcb3a The people page shows 'Approve' and 'Discard' buttons for pending follows. 2024-11-24 08:54:43 +01:00
default
96576d2c5d On unfollow, also delete from the pending follow list. 2024-11-24 08:46:26 +01:00
default
129049edf4 New function pending_check() and pending_del(). 2024-11-24 08:37:19 +01:00
default
b91177cb46 New function pending_get() and pending_list(). 2024-11-24 08:31:01 +01:00
default
7287776fd1 New function pending_add(). 2024-11-24 08:17:38 +01:00
default
35b35ec3af Return the 'manuallyApprovesFollowers' actor field according to user configuration. 2024-11-24 08:03:51 +01:00
default
36c3030231 In user_persist(), only publish the actor to the world if a relevant field has changed.
This way, changing user preferences does not trigger an automatic send storm.
2024-11-23 17:33:49 +01:00
default
c88d7e72f0 Minor tweak to new metadata. 2024-11-23 17:16:31 +01:00
default
09d268495c The 'metadata' field in user.json is now a string instead of a dict. 2024-11-23 17:08:57 +01:00
default
775fb14706
Version 2.64 RELEASED. 2024-11-21 15:12:22 +01:00
default
b0dd7f59a2
Updated RELEASE_NOTES. 2024-11-21 07:21:32 +01:00
Giacomo Tesio
b6107c8777 Makefile: enable static compilation with musl
Assuming a Debian GNU/Linux system with wget, tar, git, make
and musl-gcc

```
mkdir build
cd build
export BUILD_TARGET=$PWD
export CC="musl-gcc"

echo download and build zlib
wget http://zlib.net/current/zlib.tar.gz
tar xvf zlib.tar.gz
cd zlib-1.3.1/
./configure --prefix=$BUILD_TARGET --static
make
make install
cd ..

echo download and build openssl
wget https://github.com/openssl/openssl/releases/download/openssl-3.4.0/openssl-3.4.0.tar.gz
tar xvf openssl-3.4.0.tar.gz
cd openssl-3.4.0
CC="musl-gcc -fPIE -pie -static -idirafter /usr/include/ -idirafter /usr/include/x86_64-linux-gnu/" ./Configure no-shared no-async --prefix=$BUILD_TARGET --openssldir=$BUILD_TARGET/ssl linux-x86_64
make depend
make
make install
cd ..

echo download and build curl
wget https://curl.se/download/curl-7.88.1.tar.gz
tar xvf curl-7.88.1.tar.gz
cd curl-7.88.1
./configure --disable-shared --enable-static --disable-silent-rules --disable-debug --disable-warnings --disable-werror --disable-curldebug --disable-symbol-hiding --disable-ares --disable-rt --disable-ech --disable-dependency-tracking --disable-libtool-lock --enable-http --disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-mqtt --disable-manual --disable-libcurl-option --disable-ipv6 --disable-openssl-auto-load-config --disable-versioned-symbols --disable-verbose --disable-sspi --disable-crypto-auth --disable-ntlm --disable-ntlm-wb --disable-tls-srp --enable-unix-sockets --disable-cookies --disable-socketpair --disable-http-auth --disable-doh --disable-mime --disable-dateparse --disable-netrc --disable-progress-meter --disable-dnsshuffle --disable-get-easy-options --disable-alt-svc --disable-websockets --without-brotli --without-zstd --without-libpsl --without-libgsasl --without-librtmp --without-winidn --with-openssl=$BUILD_TARGET/ --disable-threaded-resolver --with-zlib=$BUILD_TARGET/ --prefix=$BUILD_TARGET/
make
make install
cd ..

echo download and build snac2
git clone https://codeberg.org/grunfink/snac2.git
cd snac2 # assuming this commit in master
make CFLAGS="-g -Wall -Wextra -pedantic -static -DWITHOUT_SHM" PREFIX=$BUILD_TARGET LDFLAGS="-L$BUILD_TARGET/lib64 -lcurl -lssl -lcrypto -lz"
make install PREFIX=$BUILD_TARGET
cd ..

echo a statically linked snac is ready at $BUILD_TARGET/bin
```
2024-11-20 21:51:43 +01:00
default
c507e30607
New function xs_unicode_right_to_left(). 2024-11-20 18:10:02 +01:00
default
781c0edcc6 mastoapi: fixed crash in posts without 'published' field. 2024-11-20 15:59:36 +01:00
default
3a91185248
Updated documentation. 2024-11-19 15:51:32 +01:00
default
fc9ba8f026 More usage of get_in_reply_to(). 2024-11-19 06:59:53 +01:00
default
085caa7747 New function get_in_reply_to(). 2024-11-19 06:46:14 +01:00
default
4daacf6b9d
Updated TODO. 2024-11-18 20:38:30 +01:00
default
41aa022e0d Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2024-11-18 15:23:17 +01:00
grunfink
5cef1ecc1c Merge pull request 'do not autocapitalize "Login: " masto api field' (#227) from fkooman/snac2:no-autocapitalize into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/227
2024-11-18 14:20:28 +00:00
François Kooman
a7974cbaa7 do not autocapitalize "Login: " masto api field
on Chrome/Safari the Mastodon API OAuth login page auto capitalizes
the first char of the "Login: " field. This disabled that.
2024-11-18 11:46:14 +01:00
default
437829a833 mastoapi: more tweaks to notifications code. 2024-11-17 11:08:25 +01:00