2.73
2000 commits (2000 out of 3340 generated)
e79f891
default  ·  2025-03-04
Version 2.73 RELEASED.
666faab
default  ·  2025-03-04
Updated RELEASE_NOTES.
7b13180
default  ·  2025-03-03
Deleted (by now) any ways of setting a note's publish date.
9260a1e
default  ·  2025-03-02
Posts from the command line accept the DATE env var.
8bd364b
default  ·  2025-03-02
msg_note() accepts a nullable post date.
1434dc2
default  ·  2025-03-02
Updated documentation.
b2d2cc7
default  ·  2025-02-28
Updated RELEASE_NOTES.
32ae33d
default  ·  2025-02-28
Updated documentation.
d1f99fd
default  ·  2025-02-28
Updated documentation.
332e28b
default  ·  2025-02-28
Updated documentation.
5374426
default  ·  2025-02-28
Updated RELEASE_NOTES.
ba3518e
default  ·  2025-02-28
Deleted old debug code.
ddaed55
default  ·  2025-02-28
Updated documentation.
be3be93
default  ·  2025-02-28
SVG support can be enabled by setting enable_svg to true in server.json.
6776a73
default  ·  2025-02-27
Some tweaks to timeline_request().
1cce6d8
default  ·  2025-02-27
Also check for blocked hashtags in timeline_request().
7cc984c
default  ·  2025-02-27
More hashtag block tweaks.
995ea87
default  ·  2025-02-27
More hashtag block tweaks.
9cc610f
default  ·  2025-02-27
Cosmetic cleanup of po files.
2806634
default  ·  2025-02-27
Updated po.
f076439
default  ·  2025-02-27
Added web UI for the blocked hashtags.
190d1d6
default  ·  2025-02-27
New function blocked_hashtag_check().
771e987
default  ·  2025-02-27
New function hashtag_in_msg().
07b343d
grunfink  ·  2025-02-21
Merge pull request 'Fix memory leak in multipart parsing' (#307) from inz/snac2:multipart-leak into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/307
e761dac
Santtu Lakkala  ·  2025-02-21
Fix memory leak in multipart parsing

Also remove usage of strchr() on non-NUL-terminated buffer.
7e6a3fd
grunfink  ·  2025-02-20
Merge pull request 'Fix uninitialised memory access' (#306) from inz/snac2:uninit into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/306
6d82708
Santtu Lakkala  ·  2025-02-20
Fix uninitialised memory access

Avoid calling xs_type() on uninitialised memory when xs_extend() is
called with NULL data.
d40834e
grunfink  ·  2025-02-17
Merge pull request 'doc/snac8: elaborate regex blocking' (#305) from Menelmacar/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/305
0af0c28
Menelmacar  ·  2025-02-17
doc/snac8: elaborate regex blocking

It seems regex blocking only works with lower case letters, since the case will be ignored anyway this is fine. This updates the documentation to express this.
349d660
default  ·  2025-02-17
Show the POST status also as string.
3844bbf
default  ·  2025-02-17
Add fake HTTP status error 399 to http_status_text().
c12a7e3
default  ·  2025-02-17
Return ASAP if srv_open() fails.
ef80717
default  ·  2025-02-15
Updated po.
1554a20
default  ·  2025-02-15
The interface language preference can now be set.
91d2beb
default  ·  2025-02-15
srv_open() now loads all .po files into srv_langs.
f0f93b8
default  ·  2025-02-15
Optimized lang_str().
d8ae88e
default  ·  2025-02-14
Some message tweaks.
e020ca8
default  ·  2025-02-14
xs_po.h new file.
78bd026
default  ·  2025-02-14
html_footer() now receives an optional snac *user argument.
02bc18e
default  ·  2025-02-14
Redefined L() to use lang_str().
9a56475
default  ·  2025-02-14
New function lang_str().
c523216
default  ·  2025-02-14
More variable renaming.
8660503
default  ·  2025-02-14
More variable renaming.
bf9d8cb
default  ·  2025-02-14
More variable renaming.
fc6a975
default  ·  2025-02-14
More variable renaming.
26d0f5c
default  ·  2025-02-14
Some variable renaming.
fa9a6ab
default  ·  2025-02-14
Merge branch 'master' of comam.es:git/snac2
b19b715
default  ·  2025-02-14
Disable "shortnames" of the image/svg+xml mediaType.
722eb68
default  ·  2025-02-14
New Makefile target.
92a70be
default  ·  2025-02-14
Minor string tweak.
292b2fd
default  ·  2025-02-13
Force the Content-Security-Policy header, instead of just suggesting it in the docs.
e237a35
default  ·  2025-02-13
Drop SVG attachments, as they may include JavaScript.
4ccb52d
default  ·  2025-02-13
Added a default MAX_JSON_DEPTH inside xs_json.h.
af8a95b
Santtu Lakkala  ·  2025-02-13
Limit JSON depth
0980302
default  ·  2025-02-11
Don't show the bookmark emoji to strangers.
2f4e7a2
default  ·  2025-02-11
Bumped version.
f58642b
default  ·  2025-02-11
Added some checks to xs_regex_split_n().
5c27885
default  ·  2025-02-11
In sanitize(), also accept attribute values between single quotes.
165e380
default  ·  2025-02-11
Updated documentation.
3d705b2
default  ·  2025-02-10
Version 2.72 RELEASED.
fa26062
default  ·  2025-02-10
Updated RELEASE_NOTES.
6b88ecf
default  ·  2025-02-09
Merge branch 'master' of comam.es:git/snac2
3db7d9f
default  ·  2025-02-09
Fixed function tid() for some architectures.
d9b6b7c
default  ·  2025-02-09
Minor xs_html tweak.
699762e
default  ·  2025-02-08
Updated README.
3c5ccc9
default  ·  2025-02-08
Updated RELEASE_NOTES.
99d28c3
default  ·  2025-02-08
Fixed crash in incomplete poll post.
54fe489
default  ·  2025-02-08
Show links to followed hashtags just below the list of lists.
1787102
default  ·  2025-02-07
mastoapi: notify the maximum configured attachments.
cfe73e1
default  ·  2025-02-07
Updated RELEASE_NOTES.
413862f
default  ·  2025-02-07
Updated documentation.
5de52cb
default  ·  2025-02-07
Added support for multiple attachments in the same post.
3099d17
default  ·  2025-02-06
Fixed a crash in xs_multipart_form_data().
f4fee17
default  ·  2025-02-06
If 'def_timeline_entries' is not set, 'max_timeline_entries' is used (instead of the default).
22a23db
default  ·  2025-02-06
Minor tweak to inbox_list().
2bfbe62
default  ·  2025-02-06
Fixed bug in xs_httpd_request().
c5bdd89
grunfink  ·  2025-02-06
Merge pull request 'Rewrite http header parsing' (#298) from inz/snac2:http-header-parse into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/298
4ed3a01
default  ·  2025-02-06
Added an anchor to the post link in the date.
f979604
Alexandre Oliva  ·  2025-02-06
Merged 383bf2e2eeadcacfa519be7a56c9a301.
8e1a2c5
Alexandre Oliva  ·  2025-02-06
Merged 53ad5cdf0371fc068fa03bf287fc94be.
2b28fe8
default  ·  2025-02-06
Updated RELEASE_NOTES.
164a9b9
grunfink  ·  2025-02-06
Merge pull request 'Rewrite query string decoding' (#299) from inz/snac2:qs-parse into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/299
1089b24
Santtu Lakkala  ·  2025-02-05
Rewrite http header parsing
0155ccf
Santtu Lakkala  ·  2025-02-05
Rewrite query string decoding
de8fd83
default  ·  2025-02-05
More HTML tweaks.
a5aea19
default  ·  2025-02-05
Minor HTML tweak.
bec4836
default  ·  2025-02-05
Fixed JSON string parsing.
3318f15
default  ·  2025-02-05
Fixed compilation failure in FreeBSD.
61d399a
default  ·  2025-02-05
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
0da9369
default  ·  2025-02-05
Fixed crash in xs_fcgi_request().
43812a3
grunfink  ·  2025-02-05
Merge pull request 'Add short_description_raw option' (#266) from ltning/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/266
4842abb
default  ·  2025-02-05
Updated RELEASE_NOTES.
acfe4b4
grunfink  ·  2025-02-05
Merge pull request 'Allow multiple editors at the same time' (#297) from inz/snac2:temp-file into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/297
6b4b331
grunfink  ·  2025-02-05
Merge pull request 'Fix link detection. Fixes: #290' (#296) from inz/snac2:link-detect into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/296
1d37e33
default  ·  2025-02-05
Added a 'Context' link to each notification.
a356ca2
Santtu Lakkala  ·  2025-02-01
Allow multiple editors at the same time

Instead of a hard-coded message file, use mkstemp() to have an unique
temp file for each invocation.
52c4571
Santtu Lakkala  ·  2025-01-31
Fix link detection. Fixes: #290
8f76c4d
default  ·  2025-02-05
Updated RELEASE_NOTES.
4df4f0c
default  ·  2025-02-05
Fixed bug in search.
879fcd8
default  ·  2025-02-05
Updated TODO.
114ed37
ltning  ·  2025-02-04
Merge branch 'master' into master
2c10e23
default  ·  2025-02-04
Updated RELEASE_NOTES.
a2dde5d
default  ·  2025-02-04
Only split real strings in xs_split_n().
d1d9e13
default  ·  2025-02-04
Bumped version.
be91047
default  ·  2025-02-04
Don't append non-strings in xs_readline().
636d026
default  ·  2025-02-04
More xs_url_dec() fixes.
608a92d
default  ·  2025-02-04
Merge branch 'master' of comam.es:git/snac2
a33cdf2
default  ·  2025-02-04
Another crash fix.
d809857
default  ·  2025-02-04
Updated RELEASE_NOTES.
6f2afe1
default  ·  2025-02-04
Version 2.71 RELEASED.
f942acf
default  ·  2025-02-04
Bumped version.
e1e4c0c
default  ·  2025-02-04
Updated RELEASE_NOTES.
9afcb98
grunfink  ·  2025-02-04
Merge pull request 'Fix memory leaks' (#294) from inz/snac2:memory-leak into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/294
a798e28
default  ·  2025-02-04
Merge branch 'master' of comam.es:git/snac2
51dc5aa
default  ·  2025-02-04
Fixed crash.
11d1adc
Santtu Lakkala  ·  2025-02-04
Fix memory leaks

Fix a memory leak on each login; the allocated OpenSSL BIOs were only
freed partially.

Also add a missing deallocation during server socket creation.
a3d4575
default  ·  2025-02-02
Updated documentation.
35ce3d1
default  ·  2025-02-01
Updated documentation.
ed6c632
default  ·  2025-01-31
Version 2.70 RELEASED.
d0c81d3
default  ·  2025-01-31
Updated RELEASE_NOTES.
317106f
default  ·  2025-01-30
Updated documentation.
e5d1fe4
default  ·  2025-01-30
Updated RELEASE_NOTES.
3799a6a
default  ·  2025-01-30
Updated TODO.
ebb3921
default  ·  2025-01-29
Updated README.
4acb3f6
default  ·  2025-01-29
Call timeline_add_mark() after history_add() for better timestamp checks.
aec6438
default  ·  2025-01-28
Deleted useless code.
9b2c3d2
default  ·  2025-01-28
Merge branch 'master' of /home/angel/git/snac2
06ba117
default  ·  2025-01-28
Some tweaks to the already seen mark code.
8156e4f
default  ·  2025-01-28
Updated RELEASE_NOTES.
ca9ff05
default  ·  2025-01-28
Some CSS tweaks.
bf07718
default  ·  2025-01-28
Added some default styling to CSS class snac-no-more-unseen-posts.
d9d2ded
default  ·  2025-01-28
Set the CSS class snac-no-more-unseen-posts.
492b91e
default  ·  2025-01-28
Backport from xs.
1766d6b
default  ·  2025-01-27
Added a 'No more unseen posts' mark.
f6044d3
ltning  ·  2025-01-27
Merge branch 'master' into master
82bcc4b
default  ·  2025-01-27
Minor optimization in timeline retrieving.

Functions now receive an optional int *more, set to 1 if
there are more than the 'show' requested.
6097ba5
default  ·  2025-01-26
New command-line option 'unmute'.
5d26796
default  ·  2025-01-25
Fixed crash in the notification area after deleting a post.
b2f5f95
default  ·  2025-01-25
Fixed repeated entries in the instance public timeline.
896a368
default  ·  2025-01-25
Another tweak to fix repeated notifications.
71537bd
default  ·  2025-01-25
Bumped version.
5c303d5
default  ·  2025-01-24
Improved notification messages.
1cb7b37
default  ·  2025-01-24
Version 2.69 RELEASED.
4140d46
default  ·  2025-01-24
Updated RELEASE_NOTES.
a72d09a
default  ·  2025-01-24
Set value 'purge_days' to 1 by default when creating the relay user.
3f3419d
default  ·  2025-01-24
Updated documentation.
6d1a286
grunfink  ·  2025-01-23
Merge pull request 'Linux sandbox fixes' (#287) from shtrophic/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/287
95d32cb
default  ·  2025-01-23
Improved notify repetition code.
cc1d425
shtrophic  ·  2025-01-23
Sandbox fixes

- allow reading `/dev/urandom` as it is shown as a failed syscall when
  tracing
- resolve `/etc/ssl/cert.pem` in case it is a symlink
0394f83
default  ·  2025-01-23
Added some code to supress repeated notifications.
fda3057
default  ·  2025-01-23
More hashtag following tweaks.
0f0e33f
default  ·  2025-01-22
Fixed bug in 'in reply to' checking.
ced28f9
default  ·  2025-01-22
Updated documentation.
0cae9a5
default  ·  2025-01-22
Minor visual tweak.
a51c996
default  ·  2025-01-22
More tweaks to hashtag following code.
ac663a6
default  ·  2025-01-22
Moved followed hashtag check to its own function.
f5e75f9
default  ·  2025-01-22
Updated RELEASE_NOTES.
e34feba
grunfink  ·  2025-01-22
Merge pull request 'When reading timeline in ascending order, return results in descending order' (#284) from nowster/snac2:min_id_reverse into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/284
070a9db
default  ·  2025-01-22
Also accept 'Update' activities for 'Application' objects.
7cd62dd
default  ·  2025-01-22
Don't account as such announces by our own relay.
e6baf0d
Paul Martin  ·  2025-01-21
When reading timeline in ascending order, return results in descending order
2611c81
default  ·  2025-01-21
Hide the 'relay' user from the greeting list.
468b7a3
default  ·  2025-01-21
Updated documentation.
ece1b9e
default  ·  2025-01-21
Updated RELEASE_NOTES.
3d677f6
default  ·  2025-01-21
Added more Markdown (contributed by an-im-dugud).
7add876
default  ·  2025-01-20
Updated RELEASE_NOTES.
4416e3a
default  ·  2025-01-20
Fixed check for the basedir (contributed by an-im-dugud).
9e283af
default  ·  2025-01-20
Minor HTML tweak.
2ee79f5
default  ·  2025-01-20
Fixed usage text.
fab45bc
default  ·  2025-01-20
Updated RELEASE_NOTES.
fbc5015
default  ·  2025-01-20
Documented the SNAC_BASEDIR environment variable.
5b21c95
default  ·  2025-01-20
Added support for the SNAC_BASEDIR environment variable.

If it's set, the basedir argument in command-line commands must not be given.
e56e30f
default  ·  2025-01-20
Updated documentation.
b4add13
default  ·  2025-01-20
Show the post language under the date 'title'.
202d99c
default  ·  2025-01-20
Added the USER_AGENT to HTTP errors.
f7ae252
default  ·  2025-01-19
Don't notify us for our own posts from the relay.
5b7279b
default  ·  2025-01-19
Only relay public posts.
b3ca9a5
default  ·  2025-01-19
changed note* commands checking.
e42cf9b
default  ·  2025-01-19
New command 'note_mention'.
4127ec4
default  ·  2025-01-19
Also relay notes to the relays that follow us.
a80b15e
default  ·  2025-01-19
Updated documentation.
9be32a3
default  ·  2025-01-19
Updated RELEASE_NOTES.
ba5d978
default  ·  2025-01-19
Update user config from admin/followed-hashtags.
2ab9db4
default  ·  2025-01-19
Added controls for the followed hashtags.
f3c9bd1
default  ·  2025-01-17
Fixed the greeting.html template to have a closing head tag.
04803b6
default  ·  2025-01-16
Changed Boost/Like order in the /authorize_interaction page.
18b2228
default  ·  2025-01-16
Updated TODO.
8b1ee84
default  ·  2025-01-16
Updated RELEASE_NOTES.
9de9295
default  ·  2025-01-16
Updated documentation.
b993e26
default  ·  2025-01-16
Implemented Mastodon-like /authorize_interaction.
ba4c350
default  ·  2025-01-15
Updated RELEASE_NOTES.
ad5455f
default  ·  2025-01-15
Updated RELEASE_NOTES.
a3995f7
grunfink  ·  2025-01-15
Merge pull request 'Implement faster min_id handling' (#277) from nowster/snac2:fast_min_id into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/277
0078f9d
default  ·  2025-01-15
Updated RELEASE_NOTES.
d7c24d1
grunfink  ·  2025-01-15
Merge pull request 'Implement limit= on notification fetches' (#276) from nowster/snac2:notification_limits into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/276
061fa60
default  ·  2025-01-15
Updated RELEASE_NOTES.
f4a2add
default  ·  2025-01-15
Reduced RSA key size to 2048.
b5c5c5c
Paul Martin  ·  2025-01-15
Implement faster min_id handling
9686ccd
Paul Martin  ·  2025-01-14
Implement limit= on notification fetches
a016045
default  ·  2025-01-13
Don't describe as 'fatal' what are just non-retriable connection errors.
ddc8781
default  ·  2025-01-12
Minor improvements to start / end event time showing.
5aaa619
default  ·  2025-01-12
Better dangling hashtag checking.
6d0b0cd
default  ·  2025-01-12
Show event start / end times.

This code is a ugly as fuck.
6154ce7
default  ·  2025-01-12
If an Event has an URL, use it.
f88a32d
default  ·  2025-01-12
mastoapi: fixed Events not being shown.
5d2a5f1
default  ·  2025-01-12
Updated RELEASE_NOTES.
8ab30e7
default  ·  2025-01-12
Updated TODO.
a0fd51e
default  ·  2025-01-12
Updated RELEASE_NOTES.
9fd234d
default  ·  2025-01-12
Backport from xs.
e220270
default  ·  2025-01-12
Merge branch 'master' of comam.es:git/snac2
1ac3f65
default  ·  2025-01-12
Renamed msg_place() to msg_actor_place().
9d650bd
default  ·  2025-01-12
Added sandbox.o dependency to Makefile.NetBSD.
9d4d740
default  ·  2025-01-11
mastoapi: obey the "unlisted" visibility set by apps.
ff44142
default  ·  2025-01-11
Moved creation of "quiet public" posts to msg_note(), where it belongs.
6a5ea97
default  ·  2025-01-10
If a post has a location, show it.
9fec8fc
default  ·  2025-01-10
Fixed crash.
ef7c257
default  ·  2025-01-10
Fixed crash in msg_place() because I'm a moron.
538f697
default  ·  2025-01-10
If a location is defined, user actors include a 'Place' object.
ea2eb32
default  ·  2025-01-10
Show the location in the public page.
ed72987
default  ·  2025-01-10
New user settings latitude and longitude.
aab3274
default  ·  2025-01-10
Actor caching lowered to 3 hours.
131fbc1
default  ·  2025-01-10
Always return a shared inbox for the 'relay' user.
361f6b6
default  ·  2025-01-10
Updated RELEASE_NOTES.
f97fbe3
default  ·  2025-01-09
Bumped debug level of actor cache hits.
41cb63c
default  ·  2025-01-09
Added some actor object caching.
12fcc05
default  ·  2025-01-09
Merge branch 'master' of /home/angel/git/snac2
c253604
default  ·  2025-01-09
Added a way to archive ignored messages.
25b22d8
default  ·  2025-01-09
Some fixes to receive and update 'Event' objects correctly.
74cd356
default  ·  2025-01-08
Deleted useless check.
935a0a5
default  ·  2025-01-08
Fixed crash on NULL hashtag href.
a6dce99
default  ·  2025-01-08
Do a lower case search of hashtags in the content.
b510858
default  ·  2025-01-08
Also check for the lowecase URL of the hashtags.
932227b
default  ·  2025-01-08
Bumped copyright year.
6af6194
default  ·  2025-01-08
Show hashtags that are not already linked from the post content.
fc9140b
default  ·  2025-01-07
Added a tweak to follow LitePub (Pleroma-style, https://litepub.social/) relays.

Usage: create a magic user named 'relay' and make it follow a relay actor (examples:
https://relay.c.im/actor or https://relay.ie9.org/actor).

Unfollowing returns a 400 status and posts keep arriving (at least with ie9.org),
so this is a problem at this moment.
1039c2d
default  ·  2025-01-07
Version 2.68 RELEASED.
cdfa5ee
default  ·  2025-01-07
Updated RELEASE_NOTES.
64f2d3d
default  ·  2025-01-07
Minor semantic tweak.
b2bd4e1
default  ·  2025-01-07
Updated documentation.
4528029
Eirik Oeverby  ·  2025-01-06
Add short_description_raw option
3b818f5
Eirik Oeverby  ·  2025-01-06
Add short_description_raw option
3aeae5e
default  ·  2025-01-06
Updated TODO.
039e9b0
default  ·  2025-01-06
Updated documentation.
fa9d27d
default  ·  2025-01-06
Updated RELEASE_NOTES.
00eb86d
default  ·  2025-01-06
New command-line operation 'note_unlisted'.
f6e06be
default  ·  2025-01-06
In the /share page, set the charset explicitly to utf-8.
4a1270d
default  ·  2025-01-06
Updated documentation.
3b73cf5
default  ·  2025-01-06
Updated Makefile dependencies.
51f3f49
default  ·  2025-01-06
Don't fail Linux sandboxing if /usr/sbin/sendmail does not exist.
9ded9d6
default  ·  2025-01-06
Updated README.
fb9aaa5
default  ·  2025-01-06
Updated RELEASE_NOTES.
f1295a4
default  ·  2025-01-06
Minor rework to sandbox code.
dde9847
default  ·  2025-01-06
Updated RELEASE_NOTES.
30ad900
default  ·  2025-01-06
Updated RELEASE_NOTES.
265c536
default  ·  2025-01-06
Updated documentation.
c3be99b
default  ·  2025-01-06
Fixed sandboxing of the unix socket.
3d18a32
default  ·  2025-01-05
Updated documentation.
10d0acc
default  ·  2025-01-05
Updated RELEASE_NOTES.
9fcff14
default  ·  2025-01-05
New configuration directive "max_public_entries".
e2a8a9c
default  ·  2025-01-05
Updated RELEASE_NOTES.
9b04a3c
default  ·  2025-01-05
Disable sandboxing by default for now.
d479352
default  ·  2025-01-05
Fixed crash in sandbox code under OpenBSD.
80ba62e
default  ·  2025-01-05
Updated documentation.
99be968
default  ·  2025-01-05
Updated tip for the search box.
bcd34f4
default  ·  2025-01-05
More sandbox compilation tweaks under Alpine Linux.
9c0dbd7
default  ·  2025-01-05
Added some autodetection for Linux landlocking on older systems.
6a08d52
default  ·  2025-01-05
Updated README.
e2fccec
default  ·  2025-01-05
New compilation variable WITHOUT_SANDBOX, to disable all sandboxing.
dd550c8
default  ·  2025-01-05
Updated RELEASE_NOTES.
5af94da
default  ·  2025-01-05
Minor sandbox fix for Debian stable.
4985b3e
default  ·  2025-01-05
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
fced3aa
grunfink  ·  2025-01-05
Merge pull request 'Port sandboxing to linux via landlock' (#226) from shtrophic/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/226
a69968f
default  ·  2025-01-05
Updated RELEASE_NOTES.
3a1cae7
default  ·  2025-01-05
Moved post language setting to msg_note(), where it really belongs.

On the way, posting from the Mastodon API sets the language accordingly.
17d7e00
default  ·  2025-01-05
Use the site's CSS in the /share page.
c7178f9
default  ·  2025-01-05
Updated RELEASE_NOTES.
79d8f5f
default  ·  2025-01-05
The 'note' cmdline looks at the LANG env var to set the post's language.
b7ab926
default  ·  2025-01-05
More /share tweaks.
9bf6ef7
default  ·  2025-01-04
Updated TODO.
cea29e9
default  ·  2025-01-04
Updated RELEASE_NOTES.
fec6029
default  ·  2025-01-04
Updated documentation.
1e63ba8
default  ·  2025-01-04
Merge branch 'master' of comam.es:git/snac2
6f50152
default  ·  2025-01-04
Read CSV files to import from the import/ user subdirectory.
6bb87b8
default  ·  2025-01-04
Updated RELEASE_NOTES.
d1a850a
default  ·  2025-01-04
Updated documentation.
2413fae
default  ·  2025-01-04
The 'export_csv' operation exports into the user subdirectory.
5e8500f
default  ·  2025-01-04
Ensure all user directories have import/ and export/ subdirectories.
914bb61
default  ·  2025-01-04
More search by URL tweaks.
a504544
default  ·  2025-01-04
Updated RELEASE_NOTES.
0b32ca4
default  ·  2025-01-04
Updated README.
7f2be13
default  ·  2025-01-02
Serve BASE_URL/style.css.

I thought I was already doing this 🤦(not that it really matters much).
0007932
default  ·  2025-01-02
Minor tweak to the /share webpoint.
4b87557
default  ·  2025-01-01
When search for URLs, rewrite the query string to be the real post id.
c1bc0c7
default  ·  2025-01-01
Fix for some repeated search results.
f72fbce
default  ·  2025-01-01
Bumped version.
7f60472
default  ·  2025-01-01
The shared post is really sent.
d135b3d
default  ·  2025-01-01
Updated RELEASE_NOTES.
de6934a
grunfink  ·  2025-01-01
Merge pull request 'Fix verify_links' (#261) from nowster/snac2:verify_links into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/261
a22bec3
Paul Martin  ·  2024-12-31
Fix verify_links

Stored in user.json as a string, but it was assumed to be a dict.
4f34926
default  ·  2024-12-31
Fixed warning.
9518bc6
default  ·  2024-12-31
Merge branch 'master' of comam.es:git/snac2
dc4fcd6
grunfink  ·  2024-12-31
Merge pull request 'Added "Like" to operations (for upstream)' (#260) from dheadshot/snac2-dhfork:upstreambranch into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/260
33b6f2a
default  ·  2024-12-31
More work in the Mastodon-share webpoint.
5c33066
default  ·  2024-12-31
Started support for Mastodon-like /share endpoint.
7d86e9e
DHeadshot  ·  2024-12-31
Added "Like" to operations for upstream branch
c6fc02e
default  ·  2024-12-31
Skip enqueue_output() to local users (already served by the local shared-inbox).
066ce90
default  ·  2024-12-30
Convert to lowercase when checking for followed hashtags.
03b5954
default  ·  2024-12-30
Don't search for hashtags in non-public posts.
7131a5c
default  ·  2024-12-30
Always enqueue a message into the local shared-inbox.
a0ca57c
shtrophic  ·  2024-12-30
update landloc.h
bbce5e3
shtrophic  ·  2024-12-30
use correct macros for compatibility
25e1f7f
default  ·  2024-12-30
Started support for hashtag following.
fafeb6c
grunfink  ·  2024-12-30
Merge pull request 'mastoapi: implement timeline min_id' (#254) from nowster/snac2:min_id into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/254
e9f6db3
default  ·  2024-12-29
Updated RELEASE_NOTES.
aaf9958
grunfink  ·  2024-12-29
Merge pull request 'Adding support for IPv6' (#256) from hb9hnt/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/256
946b383
default  ·  2024-12-28
Updated documentation.
fd21d7a
default  ·  2024-12-28
Updated TODO.
62e7ef2
Beni Keller  ·  2024-12-26
Adding support for IPv6
655a448
Paul Martin  ·  2024-12-24
mastoapi: implement timeline min_id
629a795
shtrophic  ·  2024-12-26
use compat macros to compile on kernels without LANDLOCK_ACCESS_NET_*
1a44f56
shtrophic  ·  2024-12-26
import updated landloc.h
2384a54
default  ·  2024-12-26
Make xmpp and mailto URLs clickable.
a7ca400
shtrophic  ·  2024-12-23
Merge tag '2.67'

Version 2.67 RELEASED.
ea0c128
default  ·  2024-12-23
Accept 'Audio' as a valid entry type.

Also, done a tweak to read attributedTo fields that are a JSON object,
with the id in the "id" field (returned by bandwagon.fm).
89a8c2e
default  ·  2024-12-22
Version 2.67 RELEASED.
bba997c
default  ·  2024-12-22
Updated RELEASE_NOTES.
0bbecf5
default  ·  2024-12-22
mastoapi: allow search for post URLs.
240f212
default  ·  2024-12-21
Account names can also contain periods (in account search).
05d6e41
default  ·  2024-12-21
If an attachment includes an icon, show it.
5ffd443
default  ·  2024-12-21
Updated RELEASE_NOTES.
0000450
default  ·  2024-12-21
mastoapi: fixed audio attachments.
1167b64
default  ·  2024-12-20
mastoapi: minor tweak to notification list (Tusky was in a forever request loop).
156d528
default  ·  2024-12-20
Add contact metrics to og:description.
55fb7dc
default  ·  2024-12-20
Updated RELEASE_NOTES.
4877528
default  ·  2024-12-20
Merge branch 'master' of comam.es:git/snac2
664f9cb
default  ·  2024-12-20
Mastoapi: added badlogin support.
b2316c0
grunfink  ·  2024-12-20
Merge pull request 'Implement mastoapi markers' (#247) from nowster/snac2:markers into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/247
fa253f0
Paul Martin  ·  2024-12-19
Implement mastoapi markers for notifications and home.
af98f4e
shtrophic  ·  2024-12-19
Merge tag '2.66'

Version 2.66 RELEASED.
29ac915
default  ·  2024-12-19
Updated documentation.
d63106c
default  ·  2024-12-19
Updated RELEASE_NOTES.
57a8716
default  ·  2024-12-19
Added bad login throttling.
f82c7a5
default  ·  2024-12-19
Propagate FastCGI variable REMOTE_ADDR.
70ee328
default  ·  2024-12-19
Merge branch 'master' of comam.es:git/snac2
7e028f6
default  ·  2024-12-19
Minor search tweak.
3909685
default  ·  2024-12-19
Updated RELEASE_NOTES.
13d4fde
default  ·  2024-12-19
Avoid adding repeated attachments.
bde5748
default  ·  2024-12-19
Minor webfinger tweak.
8c53411
default  ·  2024-12-19
Merge branch 'master' of comam.es:git/snac2
103dc7d
default  ·  2024-12-19
In content_search(), also test the 'url' post field (if it exists).
bcfefbe
default  ·  2024-12-19
Updated RELEASE_NOTES.
7b8f766
default  ·  2024-12-19
Searching for URLs brings a post to the user timeline.
844825f
default  ·  2024-12-19
content_search() also checks for the post id.
e9f3d51
default  ·  2024-12-17
Updated RELEASE_NOTES.
7fe80a8
default  ·  2024-12-17
Updated RELEASE_NOTES.
b9e0c6e
default  ·  2024-12-16
Added pidfile locking.
1aab3c5
default  ·  2024-12-15
Updated RELEASE_NOTES.
b010be8
default  ·  2024-12-15
Fixed bad url in timeline link.
e79cd9f
default  ·  2024-12-15
Bumped version.
c6562fa
default  ·  2024-12-15
New function timeline_link_header().
e8ae492
default  ·  2024-12-15
Fixed crash in mastoapi_status() Emoji list.
b2d301d
default  ·  2024-12-15
mastoapi: deleted useless code.
ee60773
default  ·  2024-12-15
mastoapi: fixed incorrect field 'bot' for newly created accounts.
e94db27
grunfink  ·  2024-12-13
Merge pull request 'Makefile: enable static compilation with musl' (#229) from Shamar/snac2:build-with-musl into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/229
41081dd
Giacomo Tesio  ·  2024-12-12
examples: add instructions to statically link snac with musl libc
4ea4293
Giacomo Tesio  ·  2024-12-09
Merge branch 'master' into build-with-musl
7808d70
default  ·  2024-12-09
Version 2.66 RELEASED.
c78dd5f
default  ·  2024-12-09
Updated RELEASE_NOTES.
aa130da
default  ·  2024-12-09
Updated RELEASE_NOTES.
8afc834
default  ·  2024-12-09
Fixed a bug in the 'Approve' and 'Discard' buttons.
f625b7f
shtrophic  ·  2024-12-08
don't try to make files directory-readable
fb81452
shtrophic  ·  2024-12-08
make log output specific to landlock status
7d07d3b
shtrophic  ·  2024-12-08
cleanup rules
932a2cf
shtrophic  ·  2024-12-07
Merge branch 'master' into master
43947cc
shtrophic  ·  2024-12-07
update landloc.h
2a29fc1
default  ·  2024-12-07
Added image/avif mime type.
bd74ffd
Giacomo Tesio  ·  2024-12-05
Merge branch 'master' into build-with-musl
e52b4bf
shtrophic  ·  2024-12-05
import landloc.h
7e743e8
shtrophic  ·  2024-12-05
Merge remote-tracking branch 'upstream/master'
221eeab
default  ·  2024-12-05
Updated RELEASE_NOTES.
198d801
default  ·  2024-12-05
Updated documentation.
3b89725
default  ·  2024-12-05
Updated documentation.
4b17a84
default  ·  2024-12-05
Updated RELEASE_NOTES.
b27031c
default  ·  2024-12-05
Added web UI for the 'show_contact_metrics' toggle.
e6d8cc2
default  ·  2024-12-04
mastoapi: also fill metrics from credentials_get().
2edce5e
default  ·  2024-12-04
mastoapi: show contact metrics if the user want.
a45a0d6
default  ·  2024-12-04
Also show contact metrics in the public page, if the user wants.
93bc87e
default  ·  2024-12-04
New user variable show_contact_metrics.
a6e13e4
default  ·  2024-12-04
msg_collection() now includes an argument for totalItems.
e0ba66a
default  ·  2024-12-04
Check for existing id.
203db3b
default  ·  2024-12-04
Fixed bug in blocked instance rejection.
22d05cd
default  ·  2024-11-26
Version 2.65 RELEASED.
fa56729
default  ·  2024-11-26
Updated RELEASE_NOTES.
ebb1b00
default  ·  2024-11-25
Updated documentation.
a30b2b6
default  ·  2024-11-25
Fixed typo.
5165df0
default  ·  2024-11-25
Updated RELEASE_NOTES.
b3be8e0
default  ·  2024-11-25
New cmdline ops 'import_list' and 'import_block_list'.
2eff3ff
default  ·  2024-11-25
Most CSV import code has been moved to their own functions.
f549af8
default  ·  2024-11-25
Updated RELEASE_NOTES.
15f352f
default  ·  2024-11-25
When importing CSV lists, also follow that accounts.
13647f7
default  ·  2024-11-24
Fixed missing else in html people list.
474a750
default  ·  2024-11-24
Changed help for the search box.
6e32dd1
default  ·  2024-11-24
Updated RELEASE_NOTES.
3f8db42
default  ·  2024-11-24
The search box also searches accounts (via webfinger).
a5a7ab9
default  ·  2024-11-24
Backport from xs.
e0fb6a7
default  ·  2024-11-24
Fixed bio processing in the public page.
45f29ed
default  ·  2024-11-24
Updated documentation.
a2665c3
default  ·  2024-11-24
Minor tweak to user_persist().
9fee970
default  ·  2024-11-24
Updated RELEASE_NOTES.
76654f1
default  ·  2024-11-24
Bumped version.
93f70d6
default  ·  2024-11-24
Added web UI for the 'approve_followers' checkbox.
0db1cf0
default  ·  2024-11-24
New web actions "Approve" and "Discard".
0ddbe7e
default  ·  2024-11-24
Pending follow notifications are shown as "Follow Request".
9fb84bc
default  ·  2024-11-24
The people page shows 'Approve' and 'Discard' buttons for pending follows.
96576d2
default  ·  2024-11-24
On unfollow, also delete from the pending follow list.
129049e
default  ·  2024-11-24
New function pending_check() and pending_del().
b91177c
default  ·  2024-11-24
New function pending_get() and pending_list().
7287776
default  ·  2024-11-24
New function pending_add().
35b35ec
default  ·  2024-11-24
Return the 'manuallyApprovesFollowers' actor field according to user configuration.
cbd89bd
shtrophic  ·  2024-11-23
Merge remote-tracking branch 'upstream/master'
36c3030
default  ·  2024-11-23
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.
c88d7e7
default  ·  2024-11-23
Minor tweak to new metadata.
09d2684
default  ·  2024-11-23
The 'metadata' field in user.json is now a string instead of a dict.
775fb14
default  ·  2024-11-21
Version 2.64 RELEASED.
b0dd7f5
default  ·  2024-11-21
Updated RELEASE_NOTES.
b6107c8
Giacomo Tesio  ·  2024-11-20
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
```
4867587
shtrophic  ·  2024-11-20
Merge branch 'master' into master
c507e30
default  ·  2024-11-20
New function xs_unicode_right_to_left().
781c0ed
default  ·  2024-11-20
mastoapi: fixed crash in posts without 'published' field.
80ff16b
shtrophic  ·  2024-11-19
make sendmail executable if configured
6743113
shtrophic  ·  2024-11-19
Merge remote-tracking branch 'upstream/master'
972783f
shtrophic  ·  2024-11-19
only rwc /dev/shm when WITHOUT_SHM is undefined
3a91185
default  ·  2024-11-19
Updated documentation.
fc9ba8f
default  ·  2024-11-19
More usage of get_in_reply_to().
085caa7
default  ·  2024-11-19
New function get_in_reply_to().
4daacf6
default  ·  2024-11-18
Updated TODO.
41aa022
default  ·  2024-11-18
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
5cef1ec
grunfink  ·  2024-11-18
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
a7974cb
François Kooman  ·  2024-11-18
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.
437829a
default  ·  2024-11-17
mastoapi: more tweaks to notifications code.
442b46a
default  ·  2024-11-17
mastoapi: added more checks in the notifications code.
2416945
default  ·  2024-11-17
In the insert cmdline op, don't re-add if it's already in the timeline.
ec5ba68
default  ·  2024-11-17
Updated TODO.
876c892
default  ·  2024-11-17
The server creates a pidfile inside the base directory.
0858f57
default  ·  2024-11-17
Updated TODO.
017140f
shtrophic  ·  2024-11-16
remove unused headers
559f23c
shtrophic  ·  2024-11-16
add distinction between RWC with directories and without, include FS_REFER permission
90a959c
default  ·  2024-11-16
Updated TODO.
29caa37
default  ·  2024-11-16
Allow underscores in hashtags.
75f6159
shtrophic  ·  2024-11-12
sandboxing port to linux via landlock
f221302
default  ·  2024-11-14
Minor tweak to proxy code (some URLs were not correctly formed).
6a22a58
default  ·  2024-11-14
Version 2.63 RELEASED.
07f1231
default  ·  2024-11-14
Updated RELEASE_NOTES.
edc810c
default  ·  2024-11-13
Updated documentation.
000db2c
default  ·  2024-11-12
Updated dependencies.
19b9998
default  ·  2024-11-12
The proxy token seed is created on startup and never stored.
50fa2ae
default  ·  2024-11-12
mastoapi: a lot of proxy code.
4971e54
default  ·  2024-11-12
mastoapi: added some proxy code.
bbe061c
default  ·  2024-11-12
make_url() now accepts generating proxied urls by token.
af92863
default  ·  2024-11-12
Added new proxy authorization by token.
36c6538
default  ·  2024-11-11
Bumped version (I forgot to do it several commits ago 🤦).
f7860a9
default  ·  2024-11-11
Updated TODO.
9283bc3
default  ·  2024-11-11
Fixed crash in xs_multipart_form_data() (from the tooot application).
33375ac
default  ·  2024-11-10
Fixed possible crash in proxy code.
a657274
default  ·  2024-11-10
In the RSS description, don't convert the bio from Markdown.
d9b94a5
default  ·  2024-11-10
RSS feeds are now 2.0 instead of 0.91.
5e37c78
grunfink  ·  2024-11-09
Merge pull request 'Fix "empty input line" warning by groff' (#222) from sergiodj/snac2:fix-groff-warning into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/222
c3339ad
Sergio Durigan Junior  ·  2024-11-09
Fix "empty input line" warning by groff

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2096943
default  ·  2024-11-08
Updated TODO.
56ee613
default  ·  2024-11-08
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
21cd4dd
grunfink  ·  2024-11-08
Merge pull request 'Updated FreeBSD rc script' (#221) from draga79/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/221
446eca7
draga79  ·  2024-11-08
Updated FreeBSD rc script

On FreeBSD, the snac process is now managed by the daemon(8) utility - this means it will be restarted in case of crash, etc.
cf980ba
default  ·  2024-11-07
Fixed crash in posts from the links browser.
b2555fb
default  ·  2024-11-07
Merge branch 'master' of comam.es:git/snac2
585adea
default  ·  2024-11-07
Fixed some URLs that should not be proxied.
c7e8f37
default  ·  2024-11-07
Moved make_url() to data.c.
34dbddb
default  ·  2024-11-07
Updated dependencies.
a59699d
default  ·  2024-11-07
Updated TODO.
3e9222c
default  ·  2024-11-07
Fixed 'strict_public_timelines' being applied to the private timeline.
a6bf1ee
default  ·  2024-11-07
Use the raw_path for proxying (as some media may include ? arguments).
e4e58d2
default  ·  2024-11-07
Don't proxy our own URLs.
7dc42f5
default  ·  2024-11-07
Propagate the caching headers.
eb6d3d0
default  ·  2024-11-07
Omit the 'image' field if there are any attachment.
0f8ade8
default  ·  2024-11-07
Propagate 'last-modified' and 'etag' fields while proxying.

But does it work?
916dc76
default  ·  2024-11-07
Also use the proxy in replace_shortnames().
3313dc8
default  ·  2024-11-07
Changed make_url().
484dd12
default  ·  2024-11-07
More proxy_media work.
80a084e
default  ·  2024-11-07
New function make_url(), that takes 'proxy_media' into account.
2769e6b
default  ·  2024-11-07
Version 2.62 RELEASED.
eef38a3
default  ·  2024-11-05
Updated documentation.
9de791b
default  ·  2024-11-05
Updated RELEASE_NOTES.
8d06540
default  ·  2024-11-05
New server variable 'strict_public_timelines'.
c00b211
default  ·  2024-11-05
Updated TODO.
1675127
default  ·  2024-11-05
Minor xs tweak.
e194fa9
default  ·  2024-11-05
Merge branch 'master' of comam.es:git/snac2
bbc94bd
default  ·  2024-11-05
Updated RELEASE_NOTES.
f70b948
default  ·  2024-11-05
Updated TODO.
abb4caa
default  ·  2024-11-04
Updated TODO.
a594243
default  ·  2024-11-03
Fixed processing of URLs with two @ inside.
6501187
default  ·  2024-11-03
Updated TODO.
8ba3fff
default  ·  2024-10-30
Updated documentation.
38d411a
default  ·  2024-10-30
Updated TODO.
a1231c1
default  ·  2024-10-30
Don't notify 'Block' activities if the 'disable_block_notifications' server setting is true.
6a7881e
default  ·  2024-10-29
Set some HTML url fields to be type 'url'.
c104493
default  ·  2024-10-28
Updated TODO.
1548fb0
default  ·  2024-10-28
Save the 'collapse_threads' from the web UI.
bf6dd80
default  ·  2024-10-28
Show the collapse_threads field in the user settings.
a80ba1c
default  ·  2024-10-28
Use the 'collapse_threads' field from user.json.
5914279
default  ·  2024-10-28
Some work towards collapsing threads by default.
a0fc1b3
default  ·  2024-10-28
Fixed crash.
220f611
default  ·  2024-10-27
Updated TODO.
ebd8b61
default  ·  2024-10-27
Skip all repeated attachments, not only images.
ab72acf
default  ·  2024-10-27
Updated TODO.
4563b9c
default  ·  2024-10-27
If an attached image URL is already in the post content, don't show it.
be98082
default  ·  2024-10-27
New command line action 'insert'.
0d6659a
grunfink  ·  2024-10-27
Merge pull request 'Wrap user mention in post around span to ensure frontends do not display a link preview for it' (#213) from nyanide/snac2:evil into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/213
9ee991c
Kirby  ·  2024-10-27
Wrap user mention in post around span to ensure frontends do not display a link preview for it

Some frontends won't recognize a user mention/tag as an actual mention
unless a span with a special class is wrapped around it, so it will
erronously generate a link preview for it if the span is missing:

https://ak.ari.lt/objects/8e18d701-9fdb-4ba8-8652-30dc2fef58ab
d031437
default  ·  2024-10-26
In notifications, show the emoji of the EmojiReact.
cff5d4d
default  ·  2024-10-25
Fixed HTML typo.
b44af1b
default  ·  2024-10-25
Fixed typo.
560db69
default  ·  2024-10-25
Accept any URL schema (not just http) in format_line().
8de46e3
default  ·  2024-10-23
Version 2.61 RELEASED.
35b6257
default  ·  2024-10-23
Updated RELEASE_NOTES.
0f42fbf
default  ·  2024-10-23
More HTML tweaks.
6a971af
default  ·  2024-10-22
Updated documentation.
14fe8fa
default  ·  2024-10-20
Updated documentation.
c165be8
default  ·  2024-10-19
In tag_index(), don't repeat tags in indexes.
75911f5
default  ·  2024-10-19
Call list_distribute() from timeline_request().
3810647
default  ·  2024-10-19
Updated usage().
d4ec39d
default  ·  2024-10-19
Return an empty list in list_timeline() if (still) there is no list timeline.
3032361
default  ·  2024-10-19
Also import lists.csv.
56d5de2
default  ·  2024-10-19
Also import following_accounts.csv.
5572bd0
default  ·  2024-10-19
Some work in CSV importing.
49b2a1d
default  ·  2024-10-19
tp-02-account-migration-from-mastodon-to-snac.md new file.
fb7b136
default  ·  2024-10-19
Updated test procedure.
bfb6c26
default  ·  2024-10-19
Added some checks.
cb3bb90
default  ·  2024-10-19
Tweaked HTML for the timeline pages.
e1df0d0
default  ·  2024-10-19
Tweaked HTML for the notifications page.
c30036f
default  ·  2024-10-19
Fixed Draft: label title.
06376f7
default  ·  2024-10-13
Updated TODO.
cd32824
default  ·  2024-10-13
Touch the timeline in user_persist() (to avoid over-zealous caching in /public).
770f75c
default  ·  2024-10-11
Updated TODO.
5b759a6
default  ·  2024-10-11
mastoapi: fixed timeline/public (it was showing less posts that it should).
861dc82
default  ·  2024-10-10
Version 2.60 RELEASED.
ae5ab1f
default  ·  2024-10-09
Updated RELEASE_NOTES.
8ab1539
default  ·  2024-10-09
Updated RELEASE_NOTES.
6ffc31c
default  ·  2024-10-09
After several tests, migration to Mastodon seems to work 🎉🥳.
121df9c
default  ·  2024-10-09
In migrate_account(), always download the alias actor.
24e8fb4
default  ·  2024-10-08
Updated RELEASE_NOTES.
107e7c0
default  ·  2024-10-08
Fixed emojis in the public profile.
3879649
default  ·  2024-10-08
More migration work.
26a808c
default  ·  2024-10-08
Fixed typo.
0cac1a8
default  ·  2024-10-08
Updated documentation.
bc12e5e
default  ·  2024-10-08
Updated documentation.
3b147ee
default  ·  2024-10-08
New file doc/tp/tp-account-migration-from-snac-to-mastodon.md.
076d749
default  ·  2024-10-08
Updated documentation.
12373b0
default  ·  2024-10-08
Added -pedantic compilation flag.
e49c837
default  ·  2024-10-06
Don't cache a page if an error is set.
7774a68
default  ·  2024-10-06
New HTML variable error (still unused).
b7e78e6
default  ·  2024-10-03
More hashtag regex improvements.
d8487e5
default  ·  2024-10-03
Updated documentation.
25ff20c
default  ·  2024-10-03
Add the apostrophe as another stop char for hashtags.
0e21b38
default  ·  2024-10-03
Updated TODO.
8c26deb
default  ·  2024-10-03
Fixed URL in README.md.
5607051
default  ·  2024-09-27
Added a warning to the 'migrate' command.
d49ae2d
default  ·  2024-09-27
When editing a draft, the checkbox is kept set.
2d2a685
default  ·  2024-09-20
More migration work.
3a5c781
default  ·  2024-09-19
Move migration work.
a0d1d13
default  ·  2024-09-19
Changed some migration terminology.
26674e1
default  ·  2024-09-19
Updated RELEASE_NOTES.
d5f0aca
default  ·  2024-09-19
Log fake uids in webfinger_request_fake().
836b663
default  ·  2024-09-18
Use webfinger_request_fake() in export_csv().
ee63e2a
default  ·  2024-09-18
New function webfinger_request_fake().
97cc35f
default  ·  2024-09-18
Started account migration code.
00716d1
default  ·  2024-09-18
Added 'export_csv' to the usage message.
7a83532
default  ·  2024-09-18
Also export following_accounts.csv.
53f339a
default  ·  2024-09-18
Also export lists.csv.
748d604
default  ·  2024-09-18
Started support for CSV data export.
5f5d4be
default  ·  2024-09-18
Use user_persist() to publish the actor after setting the aka.
b1e7de2
default  ·  2024-09-18
The aka is returned in the alsoKnownAs actor field.
0f3c60d
default  ·  2024-09-18
New command-line command 'aka'.
3155a80
default  ·  2024-09-16
While processing a 'Move', retry failed actor retrieval (it may be a transient server error).
e751def
default  ·  2024-09-16
Bumped development version.
7cb291c
default  ·  2024-09-16
Updated RELEASE_NOTES.
5402d03
default  ·  2024-09-16
Fixed minor memory leak.
a09e505
grunfink  ·  2024-09-16
Merge pull request 'URL decode data after splitting the arguments' (#196) from ndagestad/snac2:mastodon_login into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/196
ba5cbb6
Nicolai Dagestad  ·  2024-09-15
URL decode data after splitting the arguments

Data decoding should happen after the parsing if not, a '?', '&', '#'
or other character decoded will interfere with the parsing. e.g. the
users password contains a '&', then it is truncated on that character,
and login will fail.
b3c00cc
default  ·  2024-09-15
Version 2.59 RELEASED.
57c9f4b
default  ·  2024-09-15
Skip ugly line breaks at the beginning of a post's content.
16a1b20
default  ·  2024-09-15
Updated TODO.
31ce1af
default  ·  2024-09-14
Minor code cleaning.
c659494
default  ·  2024-09-14
Also purge bookmark.idx and draft.idx.
e0a2eb4
default  ·  2024-09-14
Some tweaks to draft post code.
352108e
default  ·  2024-09-14
Set the "Only for mentioned people" checkbox properly.
46708ef
default  ·  2024-09-14
Updated RELEASE_NOTES.
7e85cd5
default  ·  2024-09-14
Fixed crash in xs_multipart_form_data().
b6f84c3
default  ·  2024-09-13
Updated documentation.
05cff0a
default  ·  2024-09-13
Updated RELEASE_NOTES.
6869c49
default  ·  2024-09-12
Minor fix to avoid 'Block' notifications to be invisible.
650f135
default  ·  2024-09-06
Updated RELEASE_NOTES.
7431843
default  ·  2024-09-06
Updated TODO.
a9082bd
default  ·  2024-09-06
Minor default CSS fix.
d515126
default  ·  2024-09-06
Minor tweak.
2ec86d3
default  ·  2024-09-06
Hiding a draft deletes it.
ac0c7bc
default  ·  2024-09-06
More work in post drafts.
7286216
default  ·  2024-09-06
Some new draft functions.
97c4af0
default  ·  2024-09-06
New checkbox in html_note() for marking a post as a draft.
acb3f92
default  ·  2024-09-05
Version 2.58 RELEASED.
c724fab
default  ·  2024-09-04
Updated TODO.
09e13eb
default  ·  2024-09-04
More minor default CSS tweaks.
7030fd2
default  ·  2024-09-04
Minor default CSS tweak.
ae81574
default  ·  2024-09-04
Updated RELEASE_NOTES.
6778350
default  ·  2024-09-04
If style.css does not exist, it's created with the default one.
d8e77ac
default  ·  2024-09-04
Added some CSS styling to the list-of-lists.
39b2db7
default  ·  2024-08-31
Updated RELEASE_NOTES.
36e98b8
default  ·  2024-08-31
New 'hide_delete_post_button' server directive.
5e5abd7
default  ·  2024-08-31
Minor logging tweak.
0218e96
default  ·  2024-08-30
Backport from xs.
bff33fc
default  ·  2024-08-29
timeline_del() also deletes from the pinned and bookmark caches.
b512678
default  ·  2024-08-29
Updated RELEASE_NOTES.
08de491
default  ·  2024-08-29
mastoapi: added bookmark list.
54520f0
default  ·  2024-08-29
mastoapi: added support for [un]bookmarking.
67f0efa
default  ·  2024-08-29
Added web UI for [un]bookmarking.
72c31c2
default  ·  2024-08-29
Pinned posts are no longer shown in the private timeline.
8ea199a
default  ·  2024-08-29
The list of bookmarked posts also work.
0c3c79f
default  ·  2024-08-29
The list of pinned posts now works.
52e8bfe
default  ·  2024-08-29
Added links to pinned and bookmarked posts as if they were lists.

They still not work.
5358136
default  ·  2024-08-29
Show bookmarked posts with an emoji.
1022f6d
default  ·  2024-08-29
Bookmarking can be done from the command line.
9a67b19
default  ·  2024-08-29
Simplified pinning functions.
3ff7e62
default  ·  2024-08-29
Adding to and object cache always create the cache directory.
a22dfef
default  ·  2024-08-29
Merge branch 'master' of /home/angel/git/snac2
9a730ff
default  ·  2024-08-29
New function object_user_cache_fn().
b8c1529
default  ·  2024-08-27
Updated TODO.
5cbb315
default  ·  2024-08-26
Updated RELEASE_NOTES.
70f0bce
default  ·  2024-08-26
Added a 'featured' property to the actor object.

When this URL is requested via ActivityPub, it returns the pinned posts.
367597e
default  ·  2024-08-25
Only archive error content that is not NULL.
1509570
default  ·  2024-08-24
Updated dependencies.
9649db9
default  ·  2024-08-24
Stop archiving no_valid_recipients q_item.
60e9072
default  ·  2024-08-24
Archive and try to avoid crashing on unexpected 'content' field data type.
e648336
default  ·  2024-08-24
Fixed typo.
cd8ff6a
default  ·  2024-08-23
Updated RELEASE_NOTES.
1370d6b
default  ·  2024-08-23
Searches are now case-insensitive for all alphabets.
8586e44
default  ·  2024-08-23
Some optimizations.
d2daba7
default  ·  2024-08-17
Updated TODO.
34028cd
default  ·  2024-08-16
Ignore 'Remove' messages.
3ae5c1c
default  ·  2024-08-16
Don't archive actor retry errors.
e89d21b
default  ·  2024-08-16
Ignore 'Read' messages.
ab93ca3
default  ·  2024-08-16
Ignore 'Reject' messages.
e4f4bad
default  ·  2024-08-12
Updated RELEASE_NOTES.
e92331b
default  ·  2024-08-12
Updated dependencies.
755fdbd
default  ·  2024-08-12
Variable renaming in xs_unix_socket, because it collides in Illumos.
45278af
default  ·  2024-08-11
Backport from xs.
3dbeee8
default  ·  2024-08-11
Minor search improvement.
3663c81
default  ·  2024-08-11
Updated RELEASE_NOTES.
501912d
default  ·  2024-08-11
Bumped version.
382ff03
default  ·  2024-08-11
content_search() also search into alt-text from attachments.
35503ed
default  ·  2024-08-09
mastoapi: also use mastoapi_timeline() with lists.
9457a73
default  ·  2024-08-09
Use mastoapi_timeline() also for the instance timeline and tags.
61d8b46
default  ·  2024-08-09
More mastoapi_timeline() tweaks.
339dc1a
default  ·  2024-08-09
Use index_desc_first() / index_desc_next() in mastoapi_timeline().
f5332ec
default  ·  2024-08-09
Added some functions that return index filenames.
db7a68d
default  ·  2024-08-09
New function mastoapi_timeline().
3f01787
default  ·  2024-08-08
Version 2.57 RELEASED.
d9994c9
default  ·  2024-08-07
Fixed leaked EmojiReact notifications.
d91a016
default  ·  2024-08-06
mastoapi: show EmojiReact notifications as 'favourites'.
88fc843
default  ·  2024-08-05
Use xs_between() where applicable.
b856664
default  ·  2024-08-05
Tweaked unveil() / pledge() to deal with UNIX sockets.
54edf4e
default  ·  2024-08-05
Updated documentation.
d2b3a7d
default  ·  2024-08-05
Updated documentation.
3911aec
default  ·  2024-08-05
Updated RELEASE_NOTES.
8a6c613
default  ·  2024-08-05
Add support to unix sockets in snac_init().
972c3dc
default  ·  2024-08-05
Added support for listening on unix sockets.
e9b108a
default  ·  2024-08-05
Minor logging tweaks.
78d34e4
default  ·  2024-08-01
Updated documentation.
d83cea3
default  ·  2024-08-01
Updated TODO.
20af5d6
default  ·  2024-08-01
In 'Move' notifications, show the old account below the originator one.
f14ea27
default  ·  2024-07-31
Notify Moves, even if they fail.
053e9de
default  ·  2024-07-31
Updated RELEASE_NOTES.
1001744
default  ·  2024-07-31
Notify objects include the original message.
a09ea11
default  ·  2024-07-30
Archive bad Move messages.
1ee9814
default  ·  2024-07-30
Added initial support for the input message 'Move' (untested).
05d4fca
default  ·  2024-07-30
Updated RELEASE_NOTES.
1542a1a
default  ·  2024-07-30
Treat 'EmojiReact' as a 'Like'.

These messages will have special treatment eventually.
f8fa716
default  ·  2024-07-30
Notify blocks.
21c9245
default  ·  2024-07-30
On send, consider HTTP status 422 (UNPROCESSABLE_CONTENT) as a fatal error.
033c176
default  ·  2024-07-27
Updated RELEASE_NOTES.
ae02f65
default  ·  2024-07-27
mastoapi: don't generate stupid, non-existent header fields.
e113f95
default  ·  2024-07-27
mastoapi: in /v2/search, store found local actors.
7a20b14
default  ·  2024-07-24
mastoapi: opening a token file updates its file date and its app's.
de628c5
default  ·  2024-07-23
Use MD5_HEX_SIZE in more places.
c061325
default  ·  2024-07-23
New constant MD5_HEX_SIZE.
5921ec5
default  ·  2024-07-23
Reimplemented index_list_desc() by way of index_desc_first() and index_desc_next().
78f383f
default  ·  2024-07-23
New functions index_desc_first() and index_desc_next() (unused).
ff08f73
default  ·  2024-07-19
Updated RELEASE_NOTES.
5f6a424
default  ·  2024-07-19
Added support for markdown-like ![alt text](image url).
6e3b621
default  ·  2024-07-19
Added support for Markdown ~~strikethrough text~~.
f3b392e
default  ·  2024-07-18
Show bold+italic (text between ***) correctly.
cd96728
default  ·  2024-07-11
Updated RELEASE_NOTES.
5257520
default  ·  2024-07-11
Bumped version.
1b8d1ab
default  ·  2024-07-11
Add the 'required' HTML attr to one-option polls (radio buttons).
5a42184
default  ·  2024-07-11
Do nothing on polls without any vote.
a7344d2
default  ·  2024-07-08
Version 2.56 RELEASED.
7500898
default  ·  2024-07-08
Updated RELEASE_NOTES.
ae5aa60
default  ·  2024-07-08
Updated RELEASE_NOTES.
4175c70
default  ·  2024-07-03
Added web UI for the auto-boost option.
645900c
default  ·  2024-07-02
Updated RELEASE_NOTES.
ec5c72f
default  ·  2024-07-02
Minor search tweaks.
aa3e351
default  ·  2024-07-01
Minor tweak.
6f772e4
default  ·  2024-06-27
Fixed a minor bug in processing Markdown-style links having anchors.
c016b68
default  ·  2024-06-22
Metadata having gemini urls are now clickable.
ddff08a
default  ·  2024-06-20
Merge branch 'master' of /home/angel/git/snac2
428e573
default  ·  2024-06-20
Minor tweak.
9231601
default  ·  2024-06-19
Updated RELEASE_NOTES.
866f6f7
default  ·  2024-06-18
Updated RELEASE_NOTES.
d50e994
default  ·  2024-06-18
Bumped version.
c0333ea
default  ·  2024-06-18
Added auto boosting (contributed by sarahpw).

If `auto_boost` is set to `true` in am account's user.json, all mentions
to that account are automatically boosted to all its followers.

This is very similar to the behaviour of a 'Group' actor.
9be8016
default  ·  2024-06-18
Don't show the instance announcement in public pages.
534cf2c
default  ·  2024-06-18
Also send Updates to collected inboxes.
f766507
default  ·  2024-06-17
Only send notes and poll to the collected inboxes.
5b1e771
default  ·  2024-06-17
Deleted repeated code.
d7f2a91
default  ·  2024-06-15
Minor tweak to rel=me links.
9145c22
default  ·  2024-06-12
All metadata links include the rel='me' attribute.
aca6b2c
default  ·  2024-06-12
Backport from xs (faster dicts).
84fc8d7
grunfink  ·  2024-06-10
Merge pull request 'Fix typos on manpages' (#182) from sergiodj/snac2:typos-from-debian-lintian into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/182
a8a404a
Sergio Durigan Junior  ·  2024-06-09
Fix typos on manpages

These typos were detected by Debian's lintian.

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
9385141
default  ·  2024-06-09
Version 2.55 RELEASED.
35de164
default  ·  2024-06-09
Updated RELEASE_NOTES.
d47c81c
default  ·  2024-06-09
Updated RELEASE_NOTES.
2e9e2eb
default  ·  2024-06-09
Don't return a Basic realm if there is no body.
c648fab
default  ·  2024-06-09
mastoapi: Reverted empty ctype rejection.
6e8adc8
default  ·  2024-06-08
mastoapi: Added missing field in list creation.
bbb365e
default  ·  2024-06-08
Many Mastodon apps don't send Content-Type in DELETE, so ignore it.
e026c2b
default  ·  2024-06-08
Version 2.54 RELEASED.
44130a0
default  ·  2024-06-08
Use timeline_top_level() in list timelines in the web UI.
6de04d9
default  ·  2024-06-07
Updated RELEASE_NOTES.
aba3c7b
grunfink  ·  2024-06-07
Merge pull request 'mastoapi: fix get list response & duplicate actor adding' (#180) from louis77/snac2:fix-lists into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/180
3fb0a0a
Louis Brauer  ·  2024-06-06
mastoapi: fix create list response & duplicate actor adding
d668fdd
default  ·  2024-06-06
Fixed CW dropdown in public instance timeline.
5b8c96e
default  ·  2024-06-02
Merge branch 'master' of comam.es:git/snac2
b1dceb0
default  ·  2024-06-02
Added h-card to the class of mention links.
e53c60b
default  ·  2024-06-02
Updated TODO.
7a6b94a
default  ·  2024-06-01
mastoapi: fix crashes on unset content-type.
9a1fc79
default  ·  2024-05-31
Avoid unnecessary calls to verify links.
4ff19df
default  ·  2024-05-31
Fixed typo.
21efd9c
default  ·  2024-05-31
mastoapi: added an 'emojis' field to mastoapi_poll().
41b43e7
default  ·  2024-05-31
Updated RELEASE_NOTES.
66642bc
default  ·  2024-05-31
Improved OPTIONS method.
763ddae
default  ·  2024-05-31
Updated RELEASE_NOTES.
b210c43
default  ·  2024-05-31
Updated RELEASE_NOTES.
6d29cfd
default  ·  2024-05-31
Don't propagate the user change after dismissing the announcement.
fb3bda7
default  ·  2024-05-31
Add class .snac-announcement into utils.
affab3a
default  ·  2024-05-31
Minor tweaks.
f1712db
default  ·  2024-05-31
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
fe52b76
grunfink  ·  2024-05-31
Merge pull request 'Implement instance announcements' (#173) from louis77/snac2:announcements into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/173
c80a30e
default  ·  2024-05-31
mastoapi: return an empty /v1/trends/statuses.
9d87960
default  ·  2024-05-31
mastoapi: return an empty /v1/trends/tags.
a5e331c
default  ·  2024-05-31
mastoapi: more list tweaks.
71c0799
default  ·  2024-05-31
mastoapi: more list tweaks.
15bca09
default  ·  2024-05-31
mastoapi: some tweaks to list entry points.
a41b66c
default  ·  2024-05-31
Updated RELEASE_NOTES.
f7baafb
grunfink  ·  2024-05-31
Merge pull request 'Fix login issues with Mastodon, IceCube, Toot! on iOS' (#174) from louis77/snac2:apps into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/174
795790d
Louis Brauer  ·  2024-05-30
Fix login with IceCubes and Mastodon on iOS
7e0ac64
Louis Brauer  ·  2024-05-30
Make Oauth login page actually readable on mobile devices
ac3b5dc
Louis Brauer  ·  2024-05-30
Merge branch 'master' into announcements
c3bcb2b
Louis Brauer  ·  2024-05-30
Implement instance announcements
eed9324
default  ·  2024-05-30
Updated RELEASE_NOTES.
b8633c7
default  ·  2024-05-30
Added a class to the new "Alt...".
a5ec96a
default  ·  2024-05-30
Added an "Alt..." details just below attachments with them.

The alt text is still also generated as 'alt' and 'name' attributes,
but this is more usable from phones and tablets.
a2ee9d8
default  ·  2024-05-30
Updated RELEASE_NOTES.
a2e0868
default  ·  2024-05-30
Fixed minor leak.
d56d4be
grunfink  ·  2024-05-30
Merge pull request 'Mastodon PATCH API for user profile updates' (#169) from louis77/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/169
af8f1ef
Louis Brauer  ·  2024-05-29
Implement image uploads for Tokodon
45a2aab
Louis Brauer  ·  2024-05-28
Fix parsing of boundary for multipart/form-data
25ef07b
Louis Brauer  ·  2024-05-27
More or less smaller fixes :)
8fc788e
Louis Brauer  ·  2024-05-27
Merge remote-tracking branch 'origin/master'
dfa0911
Louis Brauer  ·  2024-05-27
Implement empty response for /accounts/:id/featured_tags
8be440b
Louis Brauer  ·  2024-05-27
Merge branch 'master' into master
26fbda7
Louis Brauer  ·  2024-05-27
Translate status codes to canonical status texts
Use those in HTTP responses instead of "OK"/"ERROR".
Apps like Tokodon show only the status text in unexpected responses.
637a88f
Louis Brauer  ·  2024-05-27
Use ISO C99 __func__ instead of GNU __FUNCTION__
4621a25
Louis Brauer  ·  2024-05-27
Merge remote-tracking branch 'origin/master'
81cf309
Louis Brauer  ·  2024-05-27
Implement Mastodon PATCH endpoint for account profile updates
5bc2017
default  ·  2024-05-27
Backport from xs.
36764b8
default  ·  2024-05-27
Minor tweak to markdown-like links.
0e21d35
Louis Brauer  ·  2024-05-26
Use enum instead of numeric status codes for HTTP statuses
36969bc
default  ·  2024-05-26
Updated documentation.
4979bcc
default  ·  2024-05-26
Updated documentation.
261466f
default  ·  2024-05-26
Updated documentation.
fbdcbc8
default  ·  2024-05-26
Updated RELEASE_NOTES.
db5a72b
default  ·  2024-05-26
Bumped version.
8e0ccc6
default  ·  2024-05-26
Added markdown-like links.
37b6c79
default  ·  2024-05-26
Minor code reformatting.
411a0f0
grunfink  ·  2024-05-26
Merge pull request 'Enable deletion of avatar and header image in user settings' (#168) from louis77/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/168
9749a65
Louis Brauer  ·  2024-05-25
Enable deletion of avatar and header image in user settings
84a767d
Louis Brauer  ·  2024-05-25
Merge pull request 'master' (#1) from grunfink/snac2:master into master

Reviewed-on: https://codeberg.org/louis77/snac2/pulls/1
a292080
default  ·  2024-05-25
Backport from xs (fix regex.h compilation with tcc).
f631fc5
default  ·  2024-05-24
Added a 'title' to each list timeline.
a727bb2
default  ·  2024-05-24
Don't show list links in read only timelines.
bd4511e
default  ·  2024-05-24
Show 'Nothing found for tag' message.
8ebad8d
default  ·  2024-05-24
Minor list show tweaks.
a787c81
default  ·  2024-05-24
Added links to the lists in html_timeline().
fcead8e
default  ·  2024-05-24
Also delete the list .idx.bak.
8cf7559
default  ·  2024-05-23
Added more const.
63e0ca5
default  ·  2024-05-22
Also return an application/ld+json object in webfinger.
76f20bb
grunfink  ·  2024-05-22
Merge pull request 'Change WebFinger content type to RFC-required type' (#167) from steve-bate/snac2:pr-webfinger-content-type into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/167
8fd070b
default  ·  2024-05-22
Fixed warning.
59bdaca
Steve Bate  ·  2024-05-22
Change WebFinger content type to RFC-required type
c9c9b0b
default  ·  2024-05-22
Updated README.
ed97324
default  ·  2024-05-21
Another approach to disabling SHM.
cdfaf6d
default  ·  2024-05-21
New compilation variable WITHOUT_SHM, to disable shared memory functions.
4777fc8
default  ·  2024-05-21
Added const everywhere.
b95fbe4
default  ·  2024-05-16
Version 2.53 RELEASED.
e7fa6d9
default  ·  2024-05-15
Skip hidden posts in content_search().
0a6df8e
default  ·  2024-05-15
Renamed content_check() to content_match().
0a6cfba
default  ·  2024-05-15
Moved functions around.
ff8d49a
default  ·  2024-05-15
Use xs_regex_match() where applicable.
d531649
default  ·  2024-05-15
Updated RELEASE_NOTES.
2ed0a08
default  ·  2024-05-15
Convert the regex to lowercase in content_search().

Is this a good idea?
3431171
default  ·  2024-05-15
User search can also be done by tag.
281f934
default  ·  2024-05-14
content_search() also searches the instance timeline.
ba00443
default  ·  2024-05-12
Updated RELEASE_NOTES.
61b9ad8
default  ·  2024-05-12
Updated TODO.
ab9a1d4
default  ·  2024-05-11
Updated TODO.
9acba48
default  ·  2024-05-11
Add some special treatment to Event object display.
0a11d70
default  ·  2024-05-11
Fixed git conflict.
4d53a7b
default  ·  2024-05-11
In timeline_request(), call enqueue_actor_request on actor errors.
6f3763f
default  ·  2024-05-11
Show 'Event' object types as Notes.
e1ce85d
default  ·  2024-05-11
Unified post-like object type match.
3954361
default  ·  2024-05-11
Updated TODO.
a0d98f3
default  ·  2024-05-11
Bumped version.
32646aa
default  ·  2024-05-11
Updated RELEASE_NOTES.
1762e0f
default  ·  2024-05-11
Added an incremental max seconds value to every content search page.
f2a3372
default  ·  2024-05-10
Added a search box.
767c2d9
default  ·  2024-05-10
Also add the 'More...' link if there was a search timeout.
c2c0f3b
default  ·  2024-05-10
More search tweaks la la la la.
d12ebce
default  ·  2024-05-10
More search tweaks MUAHAHAHA.
5d1577a
default  ·  2024-05-10
More web ui search tweaks baaaaah I'm boring.
1632e00
default  ·  2024-05-10
More content_search() tweaks.
1531e81
default  ·  2024-05-10
Added a skip argument to content_search().
2b27a0d
default  ·  2024-05-10
Some tweaks to web ui search.
430afe1
default  ·  2024-05-09
Added a title to search results.
a5766a6
default  ·  2024-05-09
The /admin page now accepts ?q=regex for a content search.
7b0e928
default  ·  2024-05-09
Updated dependencies.
cccc545
default  ·  2024-05-09
Added a maximum results argument to content_search().
8de93b9
default  ·  2024-05-09
mastoapi: some search by content tweaks.
2c8d4ce
default  ·  2024-05-09
mastoapi: Added content search.
06599de
default  ·  2024-05-09
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
bbb99b3
grunfink  ·  2024-05-09
Merge pull request 'Set avatars and custom emoji as square (fixes display in Dillo)' (#166) from kvibber/snac2:style-tweaks-on-2.52 into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/166
c17a225
Kelson Vibber  ·  2024-05-09
Merge branch 'master' into style-tweaks-on-2.52
be420ca
Kelson Vibber  ·  2024-05-09
Set avatars and custom emoji as square (fixes display in Dillo)

The minimalist web browser Dillo has recently started up development
again. Its CSS implementation only applies the explicitly stated
width and height of an image, so avatars were displaying at 2.5 em high,
and the full original width.
https://dillo-browser.github.io/
979f2ad
default  ·  2024-05-08
Rewritten content_search() to read from both timelines.
34c8968
default  ·  2024-05-08
Minor tweaks to content_search().
52ba7f0
default  ·  2024-05-08
Renamed to content_search().
dc74cac
default  ·  2024-05-08
Added a timeout flag to search_by_content().
3ab733c
default  ·  2024-05-08
New function search_by_content().
5d51928
default  ·  2024-05-08
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
01de131
grunfink  ·  2024-05-08
Merge pull request 'allow unboosting your own posts' (#165) from khm/snac2:unboost-self into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/165
d27a60d
khm  ·  2024-05-08
allow unboosting your own posts
fa8b401
default  ·  2024-05-08
More HTML simplification.
2322de4
default  ·  2024-05-07
Added a title to the instance timeline.
d3cdbf1
default  ·  2024-05-07
Added a title to list timelines.
3355d55
default  ·  2024-05-07
New op #3 to list_maint() (get list name).
82ec4ea
default  ·  2024-05-07
Minor "Back to top" "More..." link refactoring.
b57409a
default  ·  2024-05-07
Fixed typo.
6b1721c
default  ·  2024-05-07
List timelines can now be (manually) navigated from the web UI.

URLs are {srv_baseurl}/{user}/list/{list_id} (you must know the list id).
c5ae10a
default  ·  2024-05-07
Version 2.52 RELEASED.
7df69f8
default  ·  2024-05-06
Logging, logging, logging everywhere.
f67c4cf
default  ·  2024-05-06
More logging!
c884f70
default  ·  2024-05-06
mastoapi: also fix polls from Pleroma.
c31a4ae
default  ·  2024-05-05
Minor RSS title beautifying.
ddd2af7
default  ·  2024-05-05
Search by tag returns RSS if the appropriate header is defined.
45357b8
default  ·  2024-05-05
New function timeline_to_rss().
580299b
default  ·  2024-05-05
Updated RELEASE_NOTES.
aa95a45
default  ·  2024-05-05
More logging.
b4293f3
default  ·  2024-05-05
More logging.
79df266
default  ·  2024-05-05
Added some more logging.
be9cf2f
default  ·  2024-05-04
Enqueue an object request for closed polls.

It seems that Pleroma does not send poll updates on close (or never).
fc76ae4
default  ·  2024-05-04
New function enqueue_object_request().
7ea5748
default  ·  2024-05-04
More Pleroma poll tweaks.
2f499e9
default  ·  2024-05-04
Fixed Pleroma polls.
20bc826
default  ·  2024-05-02
Backport from xs.
4817585
default  ·  2024-05-02
Updated RELEASE_NOTES.
82a9005
default  ·  2024-05-02
Updated RELEASE_NOTES.
9abd294
default  ·  2024-05-02
Merge branch 'master' of comam.es:git/snac2
528f646
default  ·  2024-05-02
Fixed confusion in Undo + Follow processing.
d0d7c2c
default  ·  2024-05-01
Updated RELEASE_NOTES.
6a77c63
default  ·  2024-04-30
Also add announces to lists.
4e23570
default  ·  2024-04-30
Added more internal integrity checks.

index_add_md5() barfs if the md5 is not valid.
9683096
default  ·  2024-04-30
Also purge lists.
da18efd
default  ·  2024-04-29
More tweaks to mastoapi lists.
f122180
default  ·  2024-04-29
More work in lists.
7f32230
default  ·  2024-04-29
New function list_distribute().
29fb430
default  ·  2024-04-29
More work in lists.
9a13e33
default  ·  2024-04-29
More work in lists.
8275a5f
default  ·  2024-04-29
Start of list support.
a297b55
default  ·  2024-04-28
Updated RELEASE_NOTES.
a3cf5d2
default  ·  2024-04-27
Updated TODO.
6bcb248
default  ·  2024-04-27
mastoapi: Fixed login bug.
be935b3
default  ·  2024-04-27
mastoapi: minor tweaks.
1345409
default  ·  2024-04-23
Updated TODO.
2d2c1bd
default  ·  2024-04-22
Updated documentation.
6ed3491
default  ·  2024-04-22
Added queue timeout tweaks to default server.json.
16a4a09
default  ·  2024-04-22
New server.json knobs "queue_timeout" and "queue_timeout_2".
cf1c2b1
default  ·  2024-04-22
Backport from xs.
9cfce7a
default  ·  2024-04-22
Deleted useless recalculation of queue_retry_max.
ebf6a4b
default  ·  2024-04-22
URLs like {srv_baseurl}/{user}/admin/p/{md5} are valid.

But only if {md5} is in the user's timeline.
62cc167
default  ·  2024-04-20
Updated TODO.
5daab81
default  ·  2024-04-19
Added the default 'protocol' field to 'server.json'.
040c43f
default  ·  2024-04-19
Updated RELEASE_NOTES.
922c94c
default  ·  2024-04-19
Updated documentation.
64adb17
default  ·  2024-04-19
Only add Emoji tags when needed.
26840e0
default  ·  2024-04-18
Some tweaks to previous patch.
100c9cf
grunfink  ·  2024-04-18
Merge pull request 'Ability to federate with hidden networks #93 (update for v2.49)' (#149) from iwojima/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/149
44d126e
default  ·  2024-04-17
Improved non-public reply check.
2e31253
default  ·  2024-04-17
Don't skip orphan private posts that are for us.
86f1d74
default  ·  2024-04-15
Updated RELEASE_NOTES.
0275658
default  ·  2024-04-14
Backport from xs.
81cf1e2
default  ·  2024-04-14
Better redirection URL building in oauth_post_handler().
c9df670
default  ·  2024-04-14
Log status in mastoapi_post_handler().
ad4199d
default  ·  2024-04-14
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
b150bfe
grunfink  ·  2024-04-14
Merge pull request 'Prevent some browsers from caching servers basic auth request' (#159) from louis77/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/159
cf5718b
louis  ·  2024-04-13
Prevent some browsers from caching servers basic auth request
dba0630
default  ·  2024-04-12
Commented out received unboosts (see code for an explanation).
a7bd9b6
default  ·  2024-04-11
In object_unadmire(), don't call index_gc() if index_del() did nothing.
e362dfc
default  ·  2024-04-11
Also purge like and announce index backups.
46f2e32
default  ·  2024-04-11
Undo for Likes and Announces are no longer dropped.
1a9bb5f
default  ·  2024-04-11
Fixed bug in form processing.
7b75a17
default  ·  2024-04-11
Updated RELEASE_NOTES.
21c0bdb
default  ·  2024-04-11
Added Unlike and Unboost buttons to web interface.
877fb07
default  ·  2024-04-11
mastoapi: 'unfavourite' and 'unreblog' actions now fully work.
1a6bb79
default  ·  2024-04-10
New function msg_repulsion.
a6958d6
default  ·  2024-04-10
Added cmdline 'boost' as an alias to 'announce'.
90ee416
default  ·  2024-04-10
Changed admiration message ids from dummy ones to having an md5 of the object.
abb4f16
default  ·  2024-04-09
Bumped version.
887b9ae
default  ·  2024-04-09
Merge branch 'master' of comam.es:git/snac2
ebc2f36
default  ·  2024-04-09
Added rel="alternate" links to ActivityPub objects for the public timeline and single posts.
378aafd
default  ·  2024-04-07
Updated README.
441c42d
default  ·  2024-04-07
Added new OpenBSD guide link to README.
f07931e
grunfink  ·  2024-04-07
Merge pull request 'Change the link name of voron/snac-style in README' (#157) from eyrie/snac2-commit:eyrie-patch-1 into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/157
c35c84d
grunfink  ·  2024-04-07
Merge pull request 'some clarifications with the examples' (#156) from antics/snac2:antics-patch-1 into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/156
2570b0e
eyrie  ·  2024-04-07
Change the link name of voron/snac-style in README
e2243e7
antics  ·  2024-04-06
some clarifications with the examples
86626e5
default  ·  2024-04-04
Version 2.51 RELEASED.
685a1fb
default  ·  2024-04-04
Updated TODO.
1ddf1d5
default  ·  2024-04-04
Updated TODO.
27816a9
default  ·  2024-04-03
Updated RELEASE_NOTES.
0f9a859
default  ·  2024-04-03
Added some error logging regarding the emojis.json file.
a0429d4
default  ·  2024-04-02
Updated RELEASE_NOTES.
b6f8d8e
default  ·  2024-04-02
On OpenBSD, don't enable sendmail if email notifications are disabled.
b8975b4
default  ·  2024-03-31
Updated RELEASE_NOTES.
d2585b6
default  ·  2024-03-26
Updated RELEASE_NOTES.
9334b53
default  ·  2024-03-26
Updated documentation.
fd424dc
default  ·  2024-03-26
Updated documentation.
a453c01
default  ·  2024-03-25
Some software return a list of icons instead of one, because why not.
7d83679
default  ·  2024-03-25
Updated dependencies.
adf0a13
default  ·  2024-03-25
If an emoji in emojis.json is an URL to an image, it's stored in the tag list.
bc752b7
default  ·  2024-03-25
Emojis are now read from ~/emojis.json.
5a8c4ca
default  ·  2024-03-25
Added an additional check for blocked instances.
abf4279
default  ·  2024-03-25
Backport from xs.
8ff9d84
default  ·  2024-03-24
Updated documentation.
ec304ba
default  ·  2024-03-24
Added 'announce' command to usage.
398cdfa
default  ·  2024-03-24
Updated TODO.
b598cb5
default  ·  2024-03-24
Reject my own messages in is_msg_for_me().
58848dd
default  ·  2024-03-24
Added a message saying Pongs are seen through the log.
840fde4
default  ·  2024-03-24
Only reply to direct Ping activities.
f0a0320
default  ·  2024-03-24
In the 'ping' cmdline, really resolve via webfinger if necessary.
90c15ea
default  ·  2024-03-23
Updated RELEASE_NOTES.
6fb0b9c
default  ·  2024-03-23
Bumped version.
21400ca
default  ·  2024-03-22
Don't be overzealous in avoid notifications for Likes and Announces.
38110ae
default  ·  2024-03-22
Version 2.50 RELEASED.
2d2ee20
default  ·  2024-03-22
Updated RELEASE_NOTES.
dcc379d
default  ·  2024-03-22
Updated TODO.
2f4a881
default  ·  2024-03-20
Added a tip to delete the attachment.
0577051
default  ·  2024-03-20
Editing a post doesn't lose the attachment and its alt text.
8f983d3
default  ·  2024-03-18
Tweaked HTML structure of the people page.
df08b88
default  ·  2024-03-16
Updated documentation.
f58cb00
default  ·  2024-03-15
Updated RELEASE_NOTES.
582ac9f
default  ·  2024-03-15
Updated RELEASE_NOTES.
6f1bc0e
default  ·  2024-03-15
Updated documentation.
9a7283f
default  ·  2024-03-15
Added attachments to usage.
15ac482
default  ·  2024-03-15
The command-line 'note' also allows attachments.
c12acc0
default  ·  2024-03-15
Also hide Older... posts details if it's empty.
d50b039
default  ·  2024-03-15
Set display to none for children details that are empty.
73a5fc6
default  ·  2024-03-15
Added a type Note to poll options.
7aa5250
default  ·  2024-03-15
Backport from xs.
b7eb534
default  ·  2024-03-14
Updated TODO.
eb29b69
default  ·  2024-03-14
Updated RELEASE_NOTES.
504bfa1
default  ·  2024-03-13
mastoapi: added more dummy fields to accounts.
df917f3
default  ·  2024-03-13
mastoapi: return a dummy header field in accounts.
b2e3841
default  ·  2024-03-13
Call actor_get_refresh() from actor_request().
262302a
default  ·  2024-03-12
Don't call enqueue_actor_refresh() with a NULL user.
b9dbc5b
default  ·  2024-03-12
Fixed log message.
66c42da
default  ·  2024-03-12
Queue actor request renamed to actor_refresh.
f332acc
default  ·  2024-03-12
More actor refreshing tweaks.
cd0e211
default  ·  2024-03-12
Don't call enqueue_actor_request() with a NULL user.
f485dbd
default  ·  2024-03-12
Added actor refreshing via the user queue.
3a1d531
default  ·  2024-03-12
Updated documentation.
cc0fc68
default  ·  2024-03-12
Updated documentation.
7a1751c
default  ·  2024-03-12
Updated documentation.
866dec0
default  ·  2024-03-12
Updated RELEASE_NOTES.
05fc062
default  ·  2024-03-12
Some formatting tweaks.
a0377b6
default  ·  2024-03-12
Updated dependencies.
ec423d9
default  ·  2024-03-11
Added -lrt to Makefile.NetBSD.
48941cf
default  ·  2024-03-11
Also call content_check() from timeline_request().
bb28b1c
default  ·  2024-03-11
Also accept Article objects.
60c2a50
default  ·  2024-03-11
New function content_check().
7312f4c
iwojim0  ·  2024-03-09
Ability to federate with hidden networks #93 (update for v2.49)
951e6b2
default  ·  2024-03-09
Replaced all xs_dict_iter() with xs_dict_next().
91bb061
default  ·  2024-03-09
Replaced most xs_dict_iter() with xs_dict_next().
00b019b
default  ·  2024-03-09
Backport from xs.
e12af77
default  ·  2024-03-09
Backport from xs.
093f4af
default  ·  2024-03-08
Shortened the maximum conversation levels.

Set to a compilation define in MAX_CONVERSATION_LEVELS.
c2fb2a4
default  ·  2024-03-07
Bumped version.
7fe866d
default  ·  2024-03-07
Returns empty anchors for hidden posts or muted actors.

This will help keeping the previous position after 'Hide' or 'MUTE'.
f28e520
grunfink  ·  2024-03-06
Merge pull request 'Add defines for time to enable macos builds.' (#148) from andypiper/snac2:macos-build-fix into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/148
c28ab1e
default  ·  2024-03-06
mastoapi: Added a dummy streaming_api URL.
e608f3a
Andy Piper  ·  2024-03-06
Add defines for time to enable macos builds.
ea4dd9b
default  ·  2024-03-04
Version 2.49 RELEASED.
30e6125
default  ·  2024-03-04
More logging tweaks.
ae6df3d
default  ·  2024-03-04
More logging tweaks.
61647de
default  ·  2024-03-04
Logging tweaks.
86d2452
default  ·  2024-03-03
Updated RELEASE_NOTES.
d659516
default  ·  2024-03-02
Fixed incorrect link to booster.
1ac162c
default  ·  2024-03-02
Don't show the :shortname: as a title tag.

It sometimes breaks usernames and it's pointless anyway.
4b48f6a
default  ·  2024-03-02
Updated RELEASE_NOTES.
127f409
default  ·  2024-03-02
mastoapi: added search by tag.
5431f6a
default  ·  2024-03-01
Updated RELEASE_NOTES.
d4c0c23
default  ·  2024-03-01
Merge branch 'master' of comam.es:git/snac2
5cb4d24
default  ·  2024-03-01
mastoapi: Correctly show 'Video' objects in /timelines/home.
e2e9ce9
default  ·  2024-03-01
Updated RELEASE_NOTES.
6972422
default  ·  2024-03-01
mastoapi: Fixed bug in account searching.
96c75d9
default  ·  2024-02-28
Updated RELEASE_NOTES.
33e4103
default  ·  2024-02-28
mastoapi: check the url before checking.
91207fb
default  ·  2024-02-28
mastoapi: fixed a bug in validated links.
99f486c
default  ·  2024-02-28
Version 2.48 RELEASED.
cefc43d
default  ·  2024-02-28
Updated RELEASE_NOTES.
067747c
default  ·  2024-02-27
Also trim , at the end of http links.
336f731
default  ·  2024-02-24
Updated TODO.
8126fb9
grunfink  ·  2024-02-24
Merge pull request 'html.c: html_user_body: snac-property: Put &nbsp; (empty space) instead of <br> & other' (#142) from Yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/142
d42aaa1
Yonle  ·  2024-02-23
default css: also darken <input> and <textarea>

Signed-off-by: Yonle <yonle@lecturify.net>
5a2ab08
Yonle  ·  2024-02-23
html.c: html_user_body: snac-property: Put &nbsp; (empty space) instead of <br>

Signed-off-by: Yonle <yonle@lecturify.net>
145e662
grunfink  ·  2024-02-22
Merge pull request 'utils.c: *default_srv_config: add configuration for min_account_age' (#139) from Yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/139
e8caedc
Yonle  ·  2024-02-22
utils.c: *default_srv_config: add configuration for min_account_age

Signed-off-by: Yonle <yonle@lecturify.net>
4816bd5
default  ·  2024-02-22
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
695ffa1
grunfink  ·  2024-02-22
Merge pull request 'utils.c: *default_srv_config: change max_timeline_entries default to 50' (#138) from Yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/138
1af00ab
default  ·  2024-02-22
Also reject posts from accounts that are too old to be true.
4a97294
default  ·  2024-02-22
Updated RELEASE_NOTES.
9161ce3
Yonle  ·  2024-02-22
utils.c: *default_srv_config: change max_timeline_entries default to 50

Signed-off-by: Yonle <yonle@lecturify.net>
2b2bb4b
default  ·  2024-02-22
Updated documentation.
f523e8c
default  ·  2024-02-22
Added a new `min_account_age` parameter to server.json.

By setting this value to a number of seconds, any activity from accounts
created newer than that, will be rejected.
1061414
default  ·  2024-02-22
Also apply 1em patch to utils.c.
14eac63
grunfink  ·  2024-02-22
Merge pull request 'front: style.css: reduce children post left padding' (#129) from Yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/129
2b831f8
default  ·  2024-02-22
Updated TODO.
d4364e8
default  ·  2024-02-22
Added *another argument* to html_timeline() to select where posts are taken from.

This way, the /instance logged-in timeline can show posts that are not
really into a user's timeline.
69d3362
default  ·  2024-02-21
Reverted ae6aafeb881c075a49eddd834bcfc21e9fc63b18.

This breaks the experimental /instance timeline for now.
3852393
default  ·  2024-02-21
Updated RELEASE_NOTES.
e955337
default  ·  2024-02-21
Log (and not notify) repeated likes and announces.
ae6aafe
default  ·  2024-02-21
In html_timeline(), always pick the msg from the global object storage.

This allows the logged instance timeline to work.

Does this have more implications? Not sure.
49b226a
default  ·  2024-02-21
Started an instance page.
bc3c7dd
default  ·  2024-02-21
More local -> read_only argument renamings.
b40e71c
default  ·  2024-02-21
Added a page argument to html_timeline().
2b81428
default  ·  2024-02-21
Renamed 'local' argument to 'read_only', as it was a bit confusing.
4fa0264
default  ·  2024-02-21
Updated RELEASE_NOTES.
26c2f46
Yonle  ·  2024-02-20
front: style.css: reduce children post left padding

Signed-off-by: Yonle <yonle@lecturify.net>
e6ef328
default  ·  2024-02-20
Call verify_links() instead of enqueue_verify_links() from purge_user().
4806c4e
default  ·  2024-02-20
Increased logging level for enqueue_verify_links().
65ae0f8
default  ·  2024-02-20
Enqueue a link verification from the user purge.
a3b9ef5
default  ·  2024-02-20
The link verification time is stored as a time_t.

This way, it will be easier in an eventual future to test if
a link verification is too old to be trusted.
d583a35
default  ·  2024-02-20
Enqueue a verify_links q_item in admin/user-setup.
3434911
default  ·  2024-02-20
New verify_links q_item.
ada3e97
default  ·  2024-02-20
Updated RELEASE_NOTES.
75e1f93
default  ·  2024-02-20
Backport from xs.
d1ad664
default  ·  2024-02-19
Updated documentation.
06660fb
grunfink  ·  2024-02-16
Merge pull request 'webfinger: add profile-page relation to links' (#126) from khm/snac2:profile-page into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/126
cae37df
khm  ·  2024-02-16
webfinger: fix whitespace
5bebe5f
khm  ·  2024-02-16
webfinger: fix stupid typo
62dfe46
khm  ·  2024-02-16
webfinger:  add webfinger profile page to links
5d4e0b0
default  ·  2024-02-16
Fixed bug in get_attachments().
c172e91
default  ·  2024-02-16
Added verify_links to usage().
e6de555
default  ·  2024-02-16
Added a 'verified link' title to them.
0ede5e8
default  ·  2024-02-16
Fixed crash in verify_links().
2da394a
default  ·  2024-02-16
Added 'accept' and 'user-agent' headers to verify_links().
79f79c0
default  ·  2024-02-16
Updated RELEASE_NOTES.
39d3f5b
default  ·  2024-02-16
Bumped version.
572c52f
default  ·  2024-02-16
More verify link logging.
fcf9f9e
default  ·  2024-02-15
Updated depedencies.
c3b5057
default  ·  2024-02-15
New function verify_links().
b75e44a
default  ·  2024-02-15
Backport from xs.
263e239
default  ·  2024-02-15
Moved verified links to its own json file.
2afcb4b
default  ·  2024-02-15
mastoapi: fill the verified_at fields in mastoapi_account() for local users.
b4208bf
default  ·  2024-02-15
Renamed validated_metadata to validated_links.
f5d6223
default  ·  2024-02-14
Always return rel=me in msg_actor() links.
09d680e
default  ·  2024-02-14
Also add the rel=me to metadata links in msg_actor().
ec35ad4
default  ·  2024-02-14
mastoapi: added verified_at dates for verified links.
d106f86
default  ·  2024-02-14
Show validation checks and rel=me in links in the public page.
f066ac6
default  ·  2024-02-14
Updated TODO.
43e3a0f
default  ·  2024-02-14
Added some experimental code to hide follower-only failed replies.
72c2f25
default  ·  2024-02-14
Updated TODO.
ae90ea6
default  ·  2024-02-14
Updated TODO.
552bb37
default  ·  2024-02-12
Version 2.47 RELEASED.
4685562
default  ·  2024-02-12
Updated RELEASE_NOTES.
6caedc4
default  ·  2024-02-11
Unify list markup in README.
8430a3e
default  ·  2024-02-11
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
51d2332
grunfink  ·  2024-02-11
Merge pull request 'docs(README.md): Add link to FreeBSD installation guide' (#122) from gyptazy/snac2:add-freebsd-install-link into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/122
a0846fb
Florian Paul Azim Hoberg  ·  2024-02-10
docs(README.md): Add link to FreeBSD installation guide
0930ce7
default  ·  2024-02-10
New function is_msg_from_private_user().
151c5aa
default  ·  2024-02-10
mastoapi: Skip non-public posts from timelines by tag.
6ae84c9
default  ·  2024-02-09
Updated RELEASE_NOTES.
5acf139
default  ·  2024-02-09
mastoapi: added support for /api/v1/timelines/tag/.
14a0cbd
default  ·  2024-02-07
Updated RELEASE_NOTES.
5702e25
default  ·  2024-02-07
Made descs a bit longer.
c33fa82
default  ·  2024-02-07
If it's a one-post-only page, show the post content instead of the bio.
89b64de
default  ·  2024-02-07
Some og:description tweaks.
80c31a2
default  ·  2024-02-07
Deactivated stale actors behind a compiler directive.
4533877
default  ·  2024-02-05
Updated RELEASE_NOTES.
7efa3ce
default  ·  2024-02-05
Added a navigation footer (i.e., an optional "More..." link) to the notification page.
4e35b4b
default  ·  2024-02-05
Added paging to notify_list(), and use it in the notifications page.
67fbc68
default  ·  2024-02-05
Bumped version.
85bf347
default  ·  2024-02-05
Added a notification index.
3f2c2a9
default  ·  2024-02-05
Updated RELEASE_NOTES.
199d71d
default  ·  2024-02-05
Skip our own notifications.
729ad47
default  ·  2024-02-05
notify_list() no longer has a new_only argument.
823cb05
default  ·  2024-02-05
Don't serve a cached admin page if it's older than the server start time.
74ce67a
default  ·  2024-02-05
In build_mentions(), avoid adding a user handle more than once.
ceda5ba
default  ·  2024-02-03
Also add dark mode CSS to utils.c.
29f2160
default  ·  2024-02-03
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
abe3937
grunfink  ·  2024-02-03
Merge pull request 'style.css: support prefers-color-scheme: dark' (#119) from khm/snac2:dark into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/119
a942a9c
khm  ·  2024-02-03
style.css: support prefers-color-scheme: dark
ffa943a
default  ·  2024-02-01
Updated TODO.
e054a47
default  ·  2024-02-01
Updated TODO.
2d9083d
default  ·  2024-02-01
Updated documentation.
ca8bf9b
default  ·  2024-02-01
Updated documentation.
8cc8458
default  ·  2024-02-01
Updated RELEASE_NOTES.
2e72a62
default  ·  2024-02-01
New field in 'New Post...' to include an inReplyTo URL.
5563a41
default  ·  2024-01-31
Added the date to each notification.
644138b
default  ·  2024-01-30
Minor tweak to host-meta.
b3e289b
default  ·  2024-01-29
Version 2.46 RELEASED.
5abec4c
default  ·  2024-01-29
Updated RELEASE_NOTES.
5f65f5d
default  ·  2024-01-29
Updated documentation.
386dc31
default  ·  2024-01-29
Updated TODO.
bb6e80b
default  ·  2024-01-29
Updated RELEASE_NOTES.
8fe7645
grunfink  ·  2024-01-29
Merge pull request 'add support for Subway Tooter app' (#111) from pswilde/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/111
d797862
Paul Wilde  ·  2024-01-28
formatting
f0c46a7
Paul Wilde  ·  2024-01-28
cleanup
ddfd8aa
Paul Wilde  ·  2024-01-28
cleanup
9568ec8
Paul Wilde  ·  2024-01-28
cleanup
376d849
Paul Wilde  ·  2024-01-28
cleanup
4324b84
Paul Wilde  ·  2024-01-28
remove unused xs_formdata.h file
a88254b
Paul Wilde  ·  2024-01-28
Merge branch 'master' of https://codeberg.org/pswilde/snac2
253e627
Paul Wilde  ·  2024-01-28
make compatible with subway tooter app
d86b96b
Paul Wilde  ·  2024-01-28
Merge remote-tracking branch 'upstream/master'
d839654
default  ·  2024-01-28
Moved the favicon link out of the CSS loop.
5c8992d
grunfink  ·  2024-01-28
Merge pull request 'feature(favicon): Add favicon support (#107)' (#109) from gyptazy/snac2:feature/107-add-favicon-support-1st-ite into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/109
fe89262
Florian Paul Azim Hoberg  ·  2024-01-27
feature(favicon): Add favicon support (#107)
2410c73
Paul Wilde  ·  2024-01-26
Merge remote-tracking branch 'upstream/master'
d5c2c44
default  ·  2024-01-26
Updated RELEASE_NOTES.
40076e9
default  ·  2024-01-26
mastoapi: avoid crashing on empty payloads.
6056567
default  ·  2024-01-26
Updated RELEASE_NOTES.
6e8e943
default  ·  2024-01-26
Some tweaks to retry timeouts.
2965f1e
Paul Wilde  ·  2024-01-26
added host-meta endpoint for subwaytooter app
1060baa
Paul Wilde  ·  2024-01-26
added host-meta endpoint for subwaytooter app
7de892b
default  ·  2024-01-24
Updated README.
2d4860d
default  ·  2024-01-24
Use get_attachments() in mastoapi_status().
5b3a2fb
default  ·  2024-01-24
Use get_attachments() in html_entry().
08898af
default  ·  2024-01-24
New function get_attachments() (still unused).
24cd0c1
default  ·  2024-01-24
Don't send anything to the collected inboxes if collection is disabled.
9a5e0a2
default  ·  2024-01-24
Updated RELEASE_NOTES.
0b08649
default  ·  2024-01-24
Added a fix to also show the mutual emoji in the people page.
1affef4
default  ·  2024-01-24
Moved the mutual and bot emojis after the link, where they belong.
928eeec
default  ·  2024-01-24
Show a handshake emoji for mutual relations (following + follower).
581b076
default  ·  2024-01-23
Fixed typo.
c00a544
default  ·  2024-01-23
Bumped version.
2896cb2
default  ·  2024-01-23
Updated RELEASE_NOTES.
8f34c2e
default  ·  2024-01-23
mastoapi: added /v1/statuses put support (note edit).
f5031ed
default  ·  2024-01-23
mastoapi: added support for status/.../source.
5c787c1
default  ·  2024-01-21
Updated documentation.
d9ed219
default  ·  2024-01-21
Updated TODO.
788ec4e
default  ·  2024-01-21
Updated RELEASE_NOTES.
d85113b
default  ·  2024-01-21
Delay creating the shared memory struct after the socket is successfully created.
49d7070
default  ·  2024-01-19
Mastoapi: fixed an error the edited_at field.
5208f9d
default  ·  2024-01-18
Also process Video in timeline_request().
5e7c225
default  ·  2024-01-18
Do a very basic conversion of content if it's markdown.

Peertube videos have this.
65040b6
default  ·  2024-01-18
New function get_atto(), to get the attributedTo field.
1aff468
default  ·  2024-01-18
Deleted breakpoint.
54fff00
default  ·  2024-01-18
Fixed bad actor value in the button bar for Peertube videos.
f162c07
default  ·  2024-01-18
Added some support for Peertube videos.
02998eb
default  ·  2024-01-18
Version 2.45 RELEASED.
40ff2a7
default  ·  2024-01-18
Updated TODO.
3ca051c
default  ·  2024-01-17
Updated TODO.
fcb3dcc
default  ·  2024-01-17
Updated RELEASE_NOTES.
8e4b1d7
default  ·  2024-01-17
Updated RELEASE_NOTES.
4351fe6
default  ·  2024-01-16
Updated TODO.
5b0fa0a
default  ·  2024-01-14
Started support for Peertube's Video object.
ee0c638
default  ·  2024-01-14
Ensure to now overwrite the Accept + Follow object on repeated follows.
33a0386
default  ·  2024-01-14
In posts, fixed bad link urls if written between parentheses.
7ca08ae
default  ·  2024-01-14
Fixed crashes in command-line options.
d021162
grunfink  ·  2024-01-13
Merge pull request 'Fixed a bug introduced yesterday that caused double notifications' (#103) from draga79/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/103
6890a15
Stefano Marinelli  ·  2024-01-13
Fixed a bug introduced yesterday that cause double notifications
6c55658
default  ·  2024-01-13
Rewritten a sentence to be clearer in README.md.
a0cb5c6
grunfink  ·  2024-01-12
Merge pull request 'Added support for ntfy notifications with enhanced privacy when utilizing a self-hosted server, eliminating the need for external services.' (#102) from draga79/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/102
d8e7fe6
default  ·  2024-01-12
In README.md, document how to add -lrt to make (for older distributions).
bb13495
default  ·  2024-01-12
Don't hardcode the -lrt, as OpenBSD does not have it.
034a08a
default  ·  2024-01-12
Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS.
9185cc4
default  ·  2024-01-12
Minor tweak for better corruption detection.
82d5755
Stefano Marinelli  ·  2024-01-12
ntfy code cleanup
13a0560
Stefano Marinelli  ·  2024-01-12
Updated RELEASE_NOTES.md to add ntfy.sh support
2af9481
Stefano Marinelli  ·  2024-01-12
Added support for ntfy notifications. You can configure either a self-hosted server or use the official ntfy.sh, and you have the option to use a private token to protect access and topics.
5532a3e
default  ·  2024-01-11
More tries to fix crashes in mastoapi_account().
adf5623
default  ·  2024-01-11
Avoid invalid actors in mastoapi_status().
4f7a138
default  ·  2024-01-11
Better checking for CC creation in msg_note().
4a0cef0
default  ·  2024-01-11
Updated RELEASE_NOTES.
f701501
default  ·  2024-01-11
Silenced some unused argument warnings.
8868f7a
default  ·  2024-01-11
Updated RELEASE_NOTES.
eaeb776
default  ·  2024-01-11
Set the 'bot' field in verify_credentials to the matching value.
285fb58
grunfink  ·  2024-01-11
Merge pull request 'Improve support for Mona iOS app' (#100) from jamesoff/snac2:monaapp-support into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/100
c3fb6ba
James Seward  ·  2024-01-11
Support DELETE for Mastodon subscriptions

While testing Mona, I noticed that after deleting my account entry for
my snac server, Mona would repeatedly try to delete the subscription it
thought it had created, resulting in many unhandled DELETE calls.

This accepts the call and returns 200 for it, which makes Mona happy.
ca27d02
James Seward  ·  2024-01-11
Add missing fields to account verification

This allows the Mona iOS app to successfully sign in.

I wasn't sure what a suitable value for `last_status_at` would be so I
just copied `published` since it's the right format.

This also just sets the `bot` field to false regardless of the user's
configuration, which probably isn't ideal.
32ce4b0
default  ·  2024-01-11
Added an unveil() call for "/tmp".

It seems that it's needed for shm_open() to succeed,
whatever the first argument points to.

No idea why.
2693c08
default  ·  2024-01-11
If the actor from a message from the shared-inbox fails, propagate.

It may be because the actor request needs to be authenticated.
eacfa5b
default  ·  2024-01-11
Avoid a webfinger request in msg_note().
e447d18
default  ·  2024-01-10
Updated RELEASE_NOTES.
f826f02
default  ·  2024-01-10
Updated documentation.
fdb3286
default  ·  2024-01-10
New command-line option 'state'.
df266ec
default  ·  2024-01-10
Updated RELEASE_NOTES.
cc535e9
default  ·  2024-01-10
Added more webfinger checks, just to be sure.
7f6a793
default  ·  2024-01-10
Fixed minor collision in webfinger caching.
f0d1851
default  ·  2024-01-10
Call srv_archive_error() on input q_item errors.
1d3157f
default  ·  2024-01-10
Version 2.44 RELEASED.
4f92529
default  ·  2024-01-10
Updated RELEASE_NOTES.
06302c6
default  ·  2024-01-10
Minor code cleaning.
472ade7
default  ·  2024-01-10
Updated RELEASE_NOTES.
5172dc1
default  ·  2024-01-08
Webfinger queries are cached, as they should.
d053999
default  ·  2024-01-08
New state variable top_job_fifo_size.
62b2c28
default  ·  2024-01-08
Renamed some thread states.
80de92d
default  ·  2024-01-08
Updated RELEASE_NOTES.
b401cd2
default  ·  2024-01-08
Added some state flags for threads.
0289860
default  ·  2024-01-08
Non-important variable renaming.
93e7138
default  ·  2024-01-08
Rewritten part of the job threads to be leaner and faster.
22cb139
grunfink  ·  2024-01-07
Merge pull request 'Added compatibility with NetBSD' (#99) from draga79/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/99
4d9a19f
Stefano Marinelli  ·  2024-01-07
Addes NetBSD rc script example
c6fa103
Stefano Marinelli  ·  2024-01-07
Updated README.md for NetBSD compiling instructions
0414dfa
Stefano Marinelli  ·  2024-01-07
Added Makefile.NetBSD to compile on NetBSD

To compile on NetBSD, just use "make -f Makefile.NetBSD" and "make -f Makefile.NetBSD install"
ec7de17
default  ·  2024-01-07
Updated RELEASE_NOTES.
aa1524b
default  ·  2024-01-07
Better behaviour on broken queue items.
3d1f604
default  ·  2024-01-07
Backport from xs.
f5f4979
default  ·  2024-01-06
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
e25a99c
grunfink  ·  2024-01-06
Merge pull request 'improvement(nginx): Adjust nginx template to proper SSL/TLS cipher & protocols' (#98) from gyptazy/snac2:feature/adjust-nginx-ssl-tls-config into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/98
f86f688
Florian Paul Azim Hoberg  ·  2024-01-05
improvement(nginx): Adjust nginx template to proper SSL/TLS cipher & protocols
Fixes: #97
8800ed3
default  ·  2024-01-05
More tweaks regarding shared inboxes.
5e2f4e9
default  ·  2024-01-04
dequeue() unlinks the file, even if it's been unable to parse it.
2218889
default  ·  2024-01-04
In the people page, followers and following lists are foldable.
755d997
default  ·  2024-01-04
Updated copyright year.
26d277a
default  ·  2024-01-03
Updated RELEASE_NOTES.
f299731
grunfink  ·  2024-01-03
Merge pull request 'Added FreeBSD documentation and rc script' (#96) from draga79/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/96
746db40
draga79  ·  2024-01-03
Update doc/snac.8

Added FreeBSD
edd1e0a
draga79  ·  2024-01-03
Updated README.md for FreeBSD instructions
f94cfcc
draga79  ·  2024-01-03
Addes FreeBSD rc script example
6fe31dd
default  ·  2024-01-03
Added example configuration for the Apache2 server.
e003f87
default  ·  2024-01-03
Moved most server state to a structure.
607335a
default  ·  2024-01-03
Try to avoid host header misconfigurations in check_signature().
6bd8aed
default  ·  2024-01-03
Made check_signature() a bit clearer.
556c72f
default  ·  2024-01-02
Updated RELEASE_NOTES.
12123fe
default  ·  2023-12-29
Updated documentation.
b31abde
default  ·  2023-12-29
Minor tweaks to /.well-known/nodeinfo returned data.
3414ab4
default  ·  2023-12-28
In 'Follow', ensure the actor object to be followed is here.

Due to the routing change made for the shared inboxes, local users
are not in the data storage, so this fixes it.
ecdb5ac
default  ·  2023-12-27
In xs_fcgi_response(), don't add the b_size to the total size if body is NULL.
7c2e290
default  ·  2023-12-27
The actor link is now an anchored link to the people page for connected users.
bf435af
default  ·  2023-12-27
Backport from xs.
94a6274
default  ·  2023-12-26
Also log the job_fifo len in status.txt.
ae8f556
default  ·  2023-12-26
Really do what is described in previous commit.
4fe99ed
default  ·  2023-12-26
Don't create a link to the people page from the public one.
92c27a3
default  ·  2023-12-26
The "boosted" link in html_entry() points to the user in the people page.

This way, it's easier to do something on someone whom we follow,
like MUTE them, limit, etc.
e8b94c1
default  ·  2023-12-26
New page status.txt.

It just return an empty page as a query, but some status logging is done.
d9ca841
default  ·  2023-12-21
Don't wrap the content in <p></p>; just add a final <p>.
adcfc21
default  ·  2023-12-20
Check some fwrite() return values in xs_fcgi_response().
808849b
default  ·  2023-12-19
Don't collect our own shared inbox.
dd51da3
default  ·  2023-12-19
Correctly insert polls and attachments inside CW.
90bab08
default  ·  2023-12-18
More shared inbox tweaks.
be3e5c9
default  ·  2023-12-18
Added some crash checks.
52f2712
default  ·  2023-12-18
Fixed follow / unfollow mess for shared inboxes.
45c5c71
default  ·  2023-12-18
Fixed Accept + Follow for shared inboxes.
de6d61f
default  ·  2023-12-18
Also strip cgi variables (things after ?) in key request for checking.
195c21a
default  ·  2023-12-18
Avoid crashing on missing 'method' or 'path' headers in httpd_connection().
af912db
default  ·  2023-12-17
actor_request() accepts again an optional snac argument.
adf4213
default  ·  2023-12-17
Deleted debug messages.
cbcd573
default  ·  2023-12-17
Also check for the .../followers rcpt for non-public messages.
04745f5
default  ·  2023-12-17
Blah blah blah is_msg_for_me() blah blah blah
9b18d7b
default  ·  2023-12-17
Even more is_msg_for_me() tweaks.
29b6b5c
default  ·  2023-12-17
Even more is_msg_for_me() updates.
935c091
default  ·  2023-12-17
More is_msg_for_me() tweaks.
fd63754
default  ·  2023-12-17
Added a prefix to srv_archive_qitem().
f8196b4
default  ·  2023-12-17
New function srv_archive_qitem().
ad718e5
default  ·  2023-12-17
Fixed shared inbox distribution logic for Delete messages.
f93b5ad
default  ·  2023-12-16
Fixed a misleding log text.
7ebe4a1
default  ·  2023-12-16
CSS code must be emitted as preformatted and not escaped.
5736f38
default  ·  2023-12-16
Added more code to discard Delete messages earlier.
f703a34
default  ·  2023-12-16
New cmdline command 'update', to post an update for a user.

Only useful for testing, so it's left undocumented.
f32c7dd
default  ·  2023-12-15
More tweaks to is_msg_for_me().
3e3dee8
default  ·  2023-12-15
Avoid propagating Undo messages innecesarily.
0dd4739
default  ·  2023-12-15
Added some spacing to the Operations... form.
e9f391e
default  ·  2023-12-15
Added a special check for Undo + Follow.
91b656f
grunfink  ·  2023-12-15
Merge pull request 'html.c: media: disable preloading' (#87) from Yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/87
b1b1627
Yonle  ·  2023-12-15
html.c: media: disable preloading

Signed-off-by: Yonle <yonle@lecturify.net>
3779587
default  ·  2023-12-15
Updated RELEASE_NOTES.
9e07559
default  ·  2023-12-15
Updated RELEASE_NOTES.
e2733ca
default  ·  2023-12-15
Merge branch 'master' of triptico.com:git/snac2
9e07114
default  ·  2023-12-15
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
35f68ae
grunfink  ·  2023-12-15
Merge pull request 'format.c: add <bdi>' (#86) from Yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/86
a5c740f
Yonle  ·  2023-12-15
format.c: add <bdi>

Signed-off-by: Yonle <yonle@lecturify.net>
878943a
default  ·  2023-12-14
More debug tweaks.
a0c6b93
default  ·  2023-12-14
More log tweaks.
888a79e
default  ·  2023-12-11
Call process_input_message() from the shared-inbox input.

This way, some garbage like unrequested Deletes from Mastodon
and other transient errors (like unaccessible authors) can be
short-circuited before propagating the message to the users.
b1ecaba
default  ·  2023-12-11
Added a special drop for Delete messages from unknown actors.
e78f0bf
default  ·  2023-12-11
Fixed error message.
25b0829
default  ·  2023-12-11
Do not retry Delete messages on actor error.
bfdaf38
default  ·  2023-12-11
More logging tweaks.
c06b74c
default  ·  2023-12-11
Revert "Reverted actor_request() without user."

This reverts commit 8d0a69cd759813b1304605d1676fbca063f0ccdc.
8d0a69c
default  ·  2023-12-11
Reverted actor_request() without user.

Some sites require even Person requests to be signed.
c693c7c
default  ·  2023-12-11
Some logging tweaks.
88294c5
default  ·  2023-12-11
Log actor_request() errors.
09b926c
default  ·  2023-12-10
More functions do not require the user argument.
0e6c5f9
default  ·  2023-12-10
actor_request() does not need a user argument.
8823325
default  ·  2023-12-10
The 'actor' command from the command-line allows non-signed queries.
90179f8
default  ·  2023-12-10
activitypub_request() may have a NULL user.

In the NULL user case, only non-signed requests will be done,
but it's probably enough for actor requests in most cases.
1c19404
default  ·  2023-12-10
Minor reordering code to process_input_message().
95ccff5
default  ·  2023-12-10
process_input_message() returns -1 on errors.
d7fe3ba
default  ·  2023-12-10
Call is_msg_for_me() from global queue input messages.
8f172f5
default  ·  2023-12-08
Usage of shared inboxes is now configurable from the server.json file.
755ef0e
default  ·  2023-12-08
Purge unused tags completely.
c9b8f8c
default  ·  2023-12-08
Show a note's summary as a header.
8bdebf2
default  ·  2023-12-08
Backport from xs.
ce0e782
default  ·  2023-12-06
Also check inside Update messages in is_msg_for_me().
bad729c
default  ·  2023-12-06
Started work to support shared inboxes.
7a18a60
default  ·  2023-12-06
Show the md5 of the original post in its link in html_actor_icon().
cd26ab3
default  ·  2023-12-05
Updated RELEASE_NOTES.
01c21d5
default  ·  2023-12-05
mastoapi: fixed crash processing kbin boosts.
756b0c9
default  ·  2023-12-05
mastoapi: correctly print the auth key in the sepcial urn:ietf... case.
04e5151
default  ·  2023-12-03
Updated RELEASE_NOTES.
b17aa7d
default  ·  2023-12-03
Backport from xs.
5f047d4
default  ·  2023-12-03
Backport from xs.
a658e5d
default  ·  2023-12-03
Don't show polls as 'votable' from the public timeline.
8b3471a
default  ·  2023-12-03
Backport from xs.
f1afe44
default  ·  2023-12-03
Fill the 'fields' list in mastoapi_account().
f5bf8ef
default  ·  2023-12-03
mastoapi: patched dates to match the funny timezone Mastodon uses.
68b7947
default  ·  2023-12-03
mastoapi: return some dummy values in verify_credentials.
8b5c146
default  ·  2023-11-30
A very minor HTML tweak.
d6b3333
default  ·  2023-11-29
Use a configurable line height in replace_shortnames().
a60aa33
default  ·  2023-11-29
Updated RELEASE_NOTES.
6a37dca
default  ·  2023-11-29
Added a title to an image shortname.
5b270b9
default  ·  2023-11-29
Deleted redundant code.
f3e7aff
default  ·  2023-11-29
Deleted redundant code.
d1b2fcf
default  ·  2023-11-29
New function replace_shortnames().
9419b80
default  ·  2023-11-29
Got rid of dead code.
b1a9279
default  ·  2023-11-29
html_timeline() now uses xs_html.
6c6dd06
default  ·  2023-11-29
The "More..." links in html_timeline() use now xs_html.
a6da1fd
default  ·  2023-11-29
History in html_timeline() uses xs_html.
593475f
default  ·  2023-11-29
Updated RELEASE_NOTES.
5a89180
default  ·  2023-11-29
Fixed typo.
9af9f29
default  ·  2023-11-29
html_notifications() is now fully xs_html.
b846c94
default  ·  2023-11-29
Fixed crash in activitypub_request() when there is no payload.
230a548
default  ·  2023-11-28
html_entry() returns an xs_html.
89b796f
default  ·  2023-11-28
Blah blah blah html_entry() blah blah blah.
bd2540e
default  ·  2023-11-28
xs_html() doesn't filter the top string, just returns the generated string.
97b7100
default  ·  2023-11-28
Children in html_entry() is (almost) xs_html.
a0ae088
default  ·  2023-11-28
More HTML gabagool.
d00ee22
default  ·  2023-11-28
More html_entry() tweaks.
6821d3d
default  ·  2023-11-28
Fixed poll xs_html.
5b2f361
default  ·  2023-11-28
Fixed an excessive sanitization.
e092a77
default  ·  2023-11-28
Attachments in html_entry() use now xs_html.
8e7438b
default  ·  2023-11-28
Finally, html_people() is the first page totally managed by xs_html.
814bfdc
default  ·  2023-11-28
New function html_user_body() (still unused).
c963a29
default  ·  2023-11-28
More xs_html refactoring.
645a27d
default  ·  2023-11-28
Converted public user into to xs_html.
179a7ae
default  ·  2023-11-28
Converted top_nav to xs_html.
5d3b22b
default  ·  2023-11-28
Refactored to xs_html the poll part of html_entry().
04b2532
default  ·  2023-11-27
More html_entry() refactoring.
ae121bb
default  ·  2023-11-27
More html_entry() refactoring.
2111886
default  ·  2023-11-27
Some html_entry() refactoring.
800bb01
default  ·  2023-11-27
Minor html_entry() tweaks.
a20e8b8
default  ·  2023-11-27
New function html_user_head().
de8c8c3
default  ·  2023-11-27
Updated RELEASE_NOTES.
85e5fc0
default  ·  2023-11-27
New function html_instance_body() (still unused).
c50e6c4
default  ·  2023-11-27
New function html_instance_head().
3ac738b
default  ·  2023-11-27
More HTML tweaks.
c34d701
default  ·  2023-11-27
Revert "More minor HTML tweaks."

This reverts commit fab8b57e31bb8e5ca76d4d3b0d10f588c4273899.
fab8b57
default  ·  2023-11-27
More minor HTML tweaks.
72acd8f
default  ·  2023-11-27
Backport from xs.
cac8eba
default  ·  2023-11-27
html_msg_icon() is full xs_html.
1663adb
default  ·  2023-11-27
Backport from xs.
5a4de9c
default  ·  2023-11-26
Minor html tweak.
c0c3e75
default  ·  2023-11-26
Minor html tweaks.
9ea3876
default  ·  2023-11-26
html_top_controls() is fully xs_html.
3f94080
default  ·  2023-11-26
The user settings form has been converted to xs_html.
6417d23
default  ·  2023-11-26
Use html_note() in html_top_controls().
daad4ee
default  ·  2023-11-26
Convert the 'Operations...' top control to xs_html.
1d7619a
default  ·  2023-11-26
Started refactoring html_top_controls().
6be3b06
default  ·  2023-11-26
Backport from xs.
63dbb5d
default  ·  2023-11-25
More xs_html tweaks.
1359a56
default  ·  2023-11-25
Got rid of old html_button().
29010d6
default  ·  2023-11-25
html_entry_controls() is now pure xs_html.
c71047c
default  ·  2023-11-25
Fixed html_note() where cw_text is XSTYPE_NULL.
f4633b9
default  ·  2023-11-23
Use xs_html in the static greeting page.
7d7110c
default  ·  2023-11-23
New function html_base_head().
073140e
default  ·  2023-11-23
The post edit box also uses html_note().
9880ac3
default  ·  2023-11-23
Use html_note() for the reply form.
8b4ae8b
default  ·  2023-11-23
html_footer() is pure xs_html.
cac1ce0
default  ·  2023-11-23
html_people_list() returns an xs_html.
d2a5a55
default  ·  2023-11-23
Use html_note() from html_people_list().
741302c
default  ·  2023-11-23
New function html_note() (still unused).
1466331
default  ·  2023-11-22
Minor xs_html tweaks.
b660338
default  ·  2023-11-22
More work in dm_textarea towards a generic html_note().
258850f
default  ·  2023-11-22
Backport from xs.
4e8beaa
default  ·  2023-11-22
Some xs_html usage in html_notifications().
7236e15
default  ·  2023-11-21
More refactoring of html_people_list().
f3ad5f0
default  ·  2023-11-21
More refactoring of html_people_list().
009a1da
default  ·  2023-11-20
Refactored part of html_people_list() using xs_html.
4e01a3b
default  ·  2023-11-20
Some xs_html refactoring.
73b1ef1
default  ·  2023-11-20
html_actor_icon() returns an xs_html.
1ad4a93
default  ·  2023-11-20
html_actor_icon() uses xs_html.
4fe2ccd
default  ·  2023-11-20
html_actor_icon() returns an xs_str instead of adding to another one.
a6a5190
default  ·  2023-11-20
The RSS is created using xs_html.
7dd1c8a
default  ·  2023-11-20
Use xs_html in html_footer().
bc5d0d4
default  ·  2023-11-20
Replaced encode_html_strict() with xs_html_encode().
b68ed66
default  ·  2023-11-20
Version 2.43 RELEASED.
18ff999
default  ·  2023-11-20
Updated RELEASE_NOTES.
b8e5a00
default  ·  2023-11-19
Fixed history disabling.
4afb384
default  ·  2023-11-19
Updated documentation.
45d9078
default  ·  2023-11-19
Updated RELEASE_NOTES.
3c6d323
default  ·  2023-11-19
History can be disabled.
562bea2
default  ·  2023-11-18
Updated TODO.
621c651
default  ·  2023-11-17
Updated dependencies.
80c5bac
default  ·  2023-11-17
Backport from xs.
acf3cdc
default  ·  2023-11-17
Backport from xs.
57ab8df
default  ·  2023-11-09
Updated RELEASE_NOTES.
8c6c422
default  ·  2023-11-09
More HTML fixes.
cd74f80
default  ·  2023-11-09
Fixed stray end of a tag.
73ce97a
default  ·  2023-11-09
Updated RELEASE_NOTES.
8a5067c
default  ·  2023-11-08
When purging tag indexes, also delete the .bak files.
b199f22
default  ·  2023-11-08
Tag indexes are also purged.
42629c9
default  ·  2023-11-08
Show the "Search results for #tag" title.
8417a80
default  ·  2023-11-08
Added a tag argument to html_timeline().
7787fc7
default  ·  2023-11-08
Fixed 'show more' in tag search.
c150221
default  ·  2023-11-08
Local tag links now point to the search by tag URL.
55d3ef5
default  ·  2023-11-08
Tags can now be searched for from the server base URL.
895cf82
default  ·  2023-11-08
New code for indexing tags.
d8db262
default  ·  2023-11-04
Updated RELEASE_NOTES.
770fc33
default  ·  2023-11-01
Use an md5 instead of a fixed file name in avatars and headers.
922e0bc
default  ·  2023-10-31
Backport from xs.
5e8eb5f
default  ·  2023-10-28
mastoapi: implemented /api/v1/accounts/lookup.
71225fc
default  ·  2023-10-22
Updated documentation.
7a71046
default  ·  2023-10-22
Updated RELEASE_NOTES.
92fe933
default  ·  2023-10-22
Also delete the user directory in deluser().
0d78dee
default  ·  2023-10-22
New function deluser(), to delete a user.

Only unfollows by now.
575a152
default  ·  2023-10-19
Backport from xs.
0ab03a8
default  ·  2023-10-18
Updated documentation.
7365f8f
default  ·  2023-10-18
Updated documentation.
5188717
default  ·  2023-10-18
Updated documentation.
31479ea
default  ·  2023-10-18
Updated RELEASE_NOTES.
24d8ead
default  ·  2023-10-17
Bumped version.
6cd3e76
default  ·  2023-10-17
Added FastCGI support.
d17aa86
default  ·  2023-10-17
Version 2.42 RELEASED.
b7d0f29
default  ·  2023-10-16
mastoapi: Don't exclude posts of type Page or Article.
759042d
default  ·  2023-10-16
Drop updates for unknown posts.
22cc5f4
default  ·  2023-10-16
Drop replies to hidden posts.
b95d4d7
default  ·  2023-10-16
Updated RELEASE_NOTES.
85a9ebc
default  ·  2023-10-16
Added web UI for setting the 'private' flag.
a38495b
default  ·  2023-10-16
Updated RELEASE_NOTES.
8018f8c
default  ·  2023-10-16
Fixed crash.
fbb773a
default  ·  2023-10-14
Backport from xs.
3b88cfe
default  ·  2023-10-13
Fixed bug that crashed Tusky.
3385bda
default  ·  2023-10-13
Minor URI tweak.
3578965
default  ·  2023-10-13
Updated RELEASE_NOTES.
7c1550e
default  ·  2023-10-13
mastoapi: boosted posts by others are correctly returned.
b08d455
default  ·  2023-10-13
mastoapi: show any boosted note, not only by us.
c8975f9
default  ·  2023-10-13
Updated RELEASE_NOTES.
253e7f9
default  ·  2023-10-13
Don't allow creating users which user name strings only differ in case.
e127269
default  ·  2023-10-13
Updated TODO.
2ea5fbc
default  ·  2023-10-11
Updated TODO.
39932b2
default  ·  2023-10-09
mastoapi: also process "Document" type attachments.
e9d2d14
default  ·  2023-10-09
Backport from xs.
986b87c
default  ·  2023-10-09
Updated RELEASE_NOTES.
72f1f1b
default  ·  2023-10-09
Updated RELEASE_NOTES.
1b3f768
default  ·  2023-10-09
mastoapi: some tweaks to better match the returned data in timelines.
4676f8c
default  ·  2023-10-08
The HTML user page does not show an error, only the empty header.
8524ace
default  ·  2023-10-07
Hide posts from the public web for accounts with 'private' == true.
8676d87
default  ·  2023-10-06
Merge branch 'master' of /home/angel/git/snac2
eb04c8e
default  ·  2023-10-06
On output, consider HTTP status 405 (not allowed) as a fatal error.
1cd5f57
default  ·  2023-10-06
Updated TODO.
1cb202d
default  ·  2023-10-04
Updated RELEASE_NOTES.
b1868d8
default  ·  2023-10-04
New function encode_html_strict().
9e87652
default  ·  2023-09-29
Updated RELEASE_NOTES.
60e8953
default  ·  2023-09-29
Give more retry time to timedout connections.
9cce2ee
default  ·  2023-09-27
Some tweaks to the logging system.
eb8430d
default  ·  2023-09-25
Added forgotten header.
c314e99
default  ·  2023-09-25
Backport from xs.
5f5e4b5
default  ·  2023-09-23
Backport from xs.
291331c
default  ·  2023-09-23
Backport from xs.
ac8790c
default  ·  2023-09-22
If a metadata starts with https:, convert it to a link.
5278e89
default  ·  2023-09-21
Added more calls to xs_match().
749dbef
default  ·  2023-09-21
Used xs_match() in some places.
f31eb8d
default  ·  2023-09-21
Updated dependencies.
8775424
default  ·  2023-09-21
Backport from xs.
8698b3f
grunfink  ·  2023-09-21
Merge pull request 'OAuth Login Page Clean-Up' (#80) from kvibber/snac2:oauth-page-cleanup into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/80
3931640
Kelson Vibber  ·  2023-09-21
Put hostname in OAuth page title for web-based clients like Elk
d9b6688
Kelson Vibber  ·  2023-09-21
Add title to OAuth page for web-based clients like Elk
03f956b
Kelson Vibber  ·  2023-09-21
Explicitly support dark mode to fix mismatched colors in clients like Tusky
1ccd1b2
default  ·  2023-09-18
Updated RELEASE_NOTES.
f8c62fe
default  ·  2023-09-18
Pinned posts are never purged.
5afa5ab
default  ·  2023-09-18
Also purge the 'pinned' folder.
217b3da
default  ·  2023-09-18
Updated RELEASE_NOTES.
e14ad56
default  ·  2023-09-18
mastoapi: Added fields list in verify_credentials.
f556cb5
default  ·  2023-09-18
Show metadata in the public HTML page.
c4b2d3b
default  ·  2023-09-18
If an account has metadata, return them as attachment PropertyValues in msg_actor().
5a3c7cf
default  ·  2023-09-18
Added web UI to store profile metadata (as key/value pairs).
931b871
default  ·  2023-09-17
Also accept s HTML tags.
8ebfa10
default  ·  2023-09-17
Use xs_match() in some places for more clarity.
952da47
default  ·  2023-09-17
Backport from xs.
2edbb75
default  ·  2023-09-15
Also accept Update activities for Page and Article.
4d4852b
default  ·  2023-09-15
Backport from xs.
0745041
default  ·  2023-09-13
Merge branch 'master' of triptico.com:git/snac2
4105e73
default  ·  2023-09-13
Backport from xs.
f9b9b14
default  ·  2023-09-09
Updated TODO.
56f8032
default  ·  2023-09-09
Updated TODO.
53a906b
default  ·  2023-09-06
Updated RELEASE_NOTES.
b1e9a00
default  ·  2023-09-06
Bumped version.
d32141e
default  ·  2023-09-06
Process Follow Group and Unfollow Group buttons.
7eef1b4
default  ·  2023-09-06
Added new buttons to Follow/Unfollow Groups.
4883bbe
default  ·  2023-09-05
Updated link in README.
18c11ab
default  ·  2023-09-04
Backport from xs.
8535fc8
default  ·  2023-09-03
Backport from xs.
e3fbb80
default  ·  2023-09-02
Improved heart <3 emoji.
073a2d9
default  ·  2023-09-02
Discard output messages to blocked instances.
4e87a11
default  ·  2023-09-01
Consider error status 400 as fatal in output messages.
57c84d1
default  ·  2023-08-31
Some fixes to 'Undo' messages.

msg_undo() now generates valid messages for objects that are only
referenced by its id.
dfeb466
default  ·  2023-08-31
Got rid of old d_char.
b5b59bd
default  ·  2023-08-30
Backport from xs.
9279708
default  ·  2023-08-30
Version 2.41 RELEASED.
442ba99
default  ·  2023-08-29
Minor tweak to avoid possible undefined behaviour.
29896e2
default  ·  2023-08-28
Renamed label 'Older entries...' back to 'More...'.
0ee61d5
default  ·  2023-08-25
mastoapi: ensure attachment and tag lists are tags.
5518bb5
default  ·  2023-08-24
In HTML images, move the loading=lazy BEFORE the src attribute.

This may (or may not, not completely sure) avoid this Firefox bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1647077
4bc619e
default  ·  2023-08-23
mastoapi: process tag lists that are not lists correctly.
3cc2098
default  ·  2023-08-23
Updated RELEASE_NOTES.
2f8e464
default  ·  2023-08-23
Only show the 'audience' field in the 'Page' post.
505084b
default  ·  2023-08-23
Added some support for 'Article' object types.
7e63766
default  ·  2023-08-22
Also propagate the 'conversation' field, if there is one.
ab0ab30
default  ·  2023-08-21
Updated RELEASE_NOTES.
1d00c4e
default  ·  2023-08-21
The nodeinfo file returns more useful information.
3495c69
default  ·  2023-08-21
Backport from xs.
cf0aa96
default  ·  2023-08-20
mastoapi: some tweaks for posts from lemmy.
b9f4bea
default  ·  2023-08-19
Only use a Link as an attachment if there are no other.
76ed295
default  ·  2023-08-19
Updated RELEASE_NOTES.
76936d7
default  ·  2023-08-19
Updated RELEASE_NOTES.
31fff8b
default  ·  2023-08-19
Show current vote count on mouseover.
fa2d818
default  ·  2023-08-19
Updated RELEASE_NOTES.
d85d97b
default  ·  2023-08-19
Fixed typo in documentation.
12669d1
default  ·  2023-08-19
Updated documentation.
26f2c40
default  ·  2023-08-19
The hash 'more_headers' is added to the response HTTP headers.
1f9c18c
default  ·  2023-08-19
Updated RELEASE_NOTES.
dae2e40
default  ·  2023-08-19
history_add() now creates an etag.
5c7b26b
default  ·  2023-08-19
static_get() and history_get() both share the same code.
3bdc484
default  ·  2023-08-19
Merge branch 'master' of triptico.com:git/snac2
5de1a9c
default  ·  2023-08-19
Rewritten history_get() prototype to match static_get().
69dbacd
default  ·  2023-08-18
Bumped version.
b320147
default  ·  2023-08-18
Updated RELEASE_NOTES.
46cfc37
default  ·  2023-08-18
Be more strict when serving note objects.
8b17629
default  ·  2023-08-17
Simplified smiley processing.
93bdf79
default  ·  2023-08-17
mastoapi: in instance, return the list of supported mime types from the internal list.
6ede649
default  ·  2023-08-17
Convert 'Link' attachments that have a media extension to something more useful.
b3b4a4e
default  ·  2023-08-17
Return the history in reverse order, which has more sense.
d26b31e
default  ·  2023-08-16
mastoapi: minor fix in verify_credentials.
a291d3d
default  ·  2023-08-16
Updated README.
033f690
default  ·  2023-08-16
Version 2.40 RELEASED.
2bea378
default  ·  2023-08-14
mastoapi: Some tweaks to process posts with 'name' and 'image' fields.
8f09e4c
default  ·  2023-08-14
Updated RELEASE_NOTES.
8b28a68
default  ·  2023-08-14
Header banners can now be uploaded.
8c87b68
default  ·  2023-08-14
Fixed some warning.
3f7e3c1
default  ·  2023-08-14
Unify the instance description text.
16c1406
default  ·  2023-08-14
Discard avatar uploads that are not images.
2696f62
default  ·  2023-08-14
If the user has a header image, show it the public page.
f09340c
default  ·  2023-08-14
If a user 'header' field is defined, use it.
1d61530
default  ·  2023-08-14
Updated documentation.
78b410a
default  ·  2023-08-14
Updated README.
882178d
default  ·  2023-08-14
Updated RELEASE_NOTES.
ab41e65
default  ·  2023-08-14
Don't show children in the instance timeline.
5c3cebb
default  ·  2023-08-14
Updated documentation.
3d2d753
default  ·  2023-08-14
mastoapi: show the instance's title and short_description, if they exist.
86571f3
default  ·  2023-08-14
The instance URL can now show a timeline.
64111f8
default  ·  2023-08-14
Some work towards an instance timeline.
8970df9
default  ·  2023-08-14
Updated RELEASE_NOTES.
4c14a2e
default  ·  2023-08-14
Sanitize local user names in the greeting page.
a1d083f
default  ·  2023-08-14
Backport from xs.
c8d535a
default  ·  2023-08-13
Ignore 'Add' activities ASAP.
d3de540
default  ·  2023-08-13
Don't archive Accept + Create activities as errors.

They may be (or not, not remember from the doc), but I don't care.
3104821
default  ·  2023-08-13
Added default CSS for Limit and Unlimit buttons.
25a8355
default  ·  2023-08-13
Backport from xs.
8d04fc9
default  ·  2023-08-13
Backport from xs.
2f0d604
default  ·  2023-08-13
More mastoapi tweaks.
a090620
default  ·  2023-08-13
Use some new xs_stock values.
5bec358
default  ·  2023-08-13
Updated RELEASE_NOTES.
b2920e9
default  ·  2023-08-12
Added avatar_static to validate_credentials object.
07be372
default  ·  2023-08-12
Some mastoapi tweaks to support the semaphore.social web client.
94149d2
default  ·  2023-08-12
Archive unattended method errors.
ee31fa4
default  ·  2023-08-12
Fixed crash.
d48819d
default  ·  2023-08-12
Some mastoapi instance object tweaks.
d291bb1
default  ·  2023-08-12
Allow a NULL snac struct in html_entry().
72839e5
default  ·  2023-08-12
mastoapi: fixed /api/timelines/public to not need a bearer token.
cac1c6f
default  ·  2023-08-12
Rewritten actor_get() to not depend on a user.
4996972
default  ·  2023-08-12
Rewritten is_msg_public() to not depend on a user.
b5cab5b
default  ·  2023-08-12
Backport from xs.
70b0146
default  ·  2023-08-11
Change filename order in srv_archive_error().
36ee16d
default  ·  2023-08-11
Archive JSON errors in activitypub_post_handler.
d305f89
default  ·  2023-08-11
Set the default poll end time to 1 hour.
04bb824
default  ·  2023-08-10
Updated RELEASE_NOTES.
574c0ca
default  ·  2023-08-10
Fixed some mastoapi minor errors.
4c6f1a7
default  ·  2023-08-10
Added web UI for limit/unlimit actions.
fff4ff4
default  ·  2023-08-09
More strict retries.
203dd88
default  ·  2023-08-09
Be more strict in not retrying on permanent errors.
912cfb5
default  ·  2023-08-09
Backport from xs.
18976dc
default  ·  2023-08-09
Revert "Implemented hide_followers_only."

Posts from groups give false positives from hide_followers_only,
so the full idea is discarded.

This reverts commit b3797d24162bd2c8637d267ae0a08f3cd6e45dff.
cdb201c
default  ·  2023-08-09
Revert "Added web interface for hide_followers_only."

This reverts commit 84e8cb419ba95a53ae4d2a1c9f4bb60d55dfc5f5.
84e8cb4
default  ·  2023-08-09
Added web interface for hide_followers_only.
b3797d2
default  ·  2023-08-09
Implemented hide_followers_only.
3e5bb10
default  ·  2023-08-08
Renamed json dump functions to new xs spec.
3611af7
default  ·  2023-08-08
Updated RELEASE_NOTES.
33e313e
default  ·  2023-08-08
Updated TODO.
65df883
default  ·  2023-08-08
Fixed votersCount.
4318e8f
default  ·  2023-08-08
Updated TODO.
7c8a6b7
default  ·  2023-08-08
Backport from xs.
135e690
default  ·  2023-08-07
Limited users can announce our own posts.
a3f1387
default  ·  2023-08-07
Only create the limited/ folder in calling limit().
bf79c8c
default  ·  2023-08-07
Some fixes to limiting actors.
4d9dfa9
default  ·  2023-08-07
Updated RELEASE_NOTES.
6f2e407
default  ·  2023-08-07
Added hints to web UI buttons.
106791f
default  ·  2023-08-06
Added command-line interface for limit/unlimit users.
28adb6c
default  ·  2023-08-06
Drop announces from limited users.
1763e33
default  ·  2023-08-06
Added support for limiting followed users.
66e34b3
default  ·  2023-08-06
Version 2.39 RELEASED.
bd0afd9
default  ·  2023-08-05
Updated RELEASE_NOTES.
6949d7d
default  ·  2023-08-05
Backport from xs.
15f7559
default  ·  2023-08-05
Added xs_json_load() wherever possible.
381a2f5
default  ·  2023-08-05
Use xs_json_load() in some places.
d8f2bb1
default  ·  2023-08-05
Partial import of xs_json_load() from xs.
294675a
default  ·  2023-08-04
Moved avatars to artwork/.
f67ce8f
default  ·  2023-08-04
[susie.utf-8] New file.
f5a3dbf
default  ·  2023-08-03
Use xs_json_dump_pp() wherever possible.
2137d2f
default  ·  2023-08-03
Backport from xs.
d455280
default  ·  2023-08-02
Fixed a log message level.
34adb67
default  ·  2023-08-02
Updated RELEASE_NOTES.
a3226b5
default  ·  2023-08-02
Don't redir to 'snac-posts', now that the top page is smaller.
4d18ed9
default  ·  2023-08-02
Bumped version.
1884647
default  ·  2023-07-29
Updated TODO.
368b1eb
default  ·  2023-07-29
Fixed outbox to be an OrderedCollection of Create+Note, not Note.
7c393ef
default  ·  2023-07-29
Merge branch 'master' of triptico.com:git/snac2
751eb05
default  ·  2023-07-29
msg_create() is of type @wrapper.

This means that it also generate the same id for the same Note.
78f7042
default  ·  2023-07-28
Updated TODO.
0f8c0cd
default  ·  2023-07-28
Updated comment in headers.
b22786b
grunfink  ·  2023-07-26
Merge pull request 'html.c: Fix non-list tag object for external custom emoji' (#77) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/77
b2a274d
Yonle  ·  2023-07-25
html.c: Fix non-list tag object for external custom emoji

Signed-off-by: Yonle <yonle@lecturify.net>
52d3b5c
default  ·  2023-07-26
Call fflush() after admin prompts without newlines.
ede2a38
default  ·  2023-07-25
If an image has no description, try the post 'name' field.
085c5a5
default  ·  2023-07-25
Simplified attachment iteration in HTML rendering.
e6baead
default  ·  2023-07-25
Allow the 'attachment' field of a post to be single object instead of a list.

It seems that Gotosocial does this.
2ee74c9
default  ·  2023-07-24
Added a 'Back to top' link at the end of the page.
4af9557
default  ·  2023-07-24
Deleted a comment that is no longer true.
e428b57
default  ·  2023-07-24
Improved Accept + implicit Follow code.
dc5c1ce
default  ·  2023-07-24
Added support for Accept objects that only provide an object id.

This allows following Guppe groups.
1882c25
grunfink  ·  2023-07-24
Merge pull request 'Major rollback & Put "User Settings" outside of "Operations...."' (#76) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/76
3c1dc41
Yonle  ·  2023-07-24
html.c: Put "User Settings" outside of "Operations".

Signed-off-by: Yonle <yonle@lecturify.net>
25bb8f0
Yonle  ·  2023-07-24
Rollback to 86f507410bc5a1e6ce8bcd34f94400a380143d64 for some reasons.

Signed-off-by: Yonle <yonle@lecturify.net>
34963e0
grunfink  ·  2023-07-24
Merge pull request 'Web Client: Do not hard link on <a> element' (#75) from yonle/snac2:nohardlink into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/75
e776bf7
Yonle  ·  2023-07-24
html.c: Rollback to e9adaa1f7a, Put "User Settings..." outside of "Operations..."'s <details> element

Signed-off-by: Yonle <yonle@lecturify.net>
68d03d6
Yonle  ·  2023-07-23
html.c: No need to redirect to #snac-posts again.

Form has been minimized with <details> since commit c409d2e,
So there is no need to redirect user to user/admin#snac-posts again.

Signed-off-by: Yonle <yonle@lecturify.net>
75e061a
Yonle  ·  2023-07-23
html.c & httpd.c: Fix hardlink.

Some people may still want to post in the web client with such different
way, Such as posting from Yggdrasil / SSH port forwarder, and so on.

This commit gives the workaround for that purpose, However things will
go messed up when current path were ends with / (Like: user/, admin/).

But overall, If user just uses it like normal, Then things will just
worked well as expected.

Signed-off-by: Yonle <yonle@lecturify.net>
4003883
default  ·  2023-07-24
Updated RELEASE_NOTES.
e95d422
default  ·  2023-07-24
Bumped version.
f67ac25
default  ·  2023-07-24
Moved user settings to its own page.
86f5074
default  ·  2023-07-24
Updated documentation.
ca0262f
default  ·  2023-07-24
Updated CSS in utils.c.
f23d2c0
default  ·  2023-07-24
Fixed minor memory leak.
ad4fccd
grunfink  ·  2023-07-24
Merge pull request 'Allow several tags & fix video element width, and more.' (#74) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/74
a940d14
default  ·  2023-07-23
Fixed link in README.
ae1f0ac
Yonle  ·  2023-07-23
default css: handle overflow text

Signed-off-by: Yonle <yonle@lecturify.net>
7710ca7
Yonle  ·  2023-07-23
format.c: Encode all HTML characters when we're in pre element until we are out.

Signed-off-by: Yonle <yonle@lecturify.net>
5672fe2
Yonle  ·  2023-07-23
format.c: Allow several tags

Signed-off-by: Yonle <yonle@lecturify.net>
11aafbc
Yonle  ·  2023-07-21
default css: Set max width for video attachment

Signed-off-by: Yonle <yonle@lecturify.net>
4823f20
default  ·  2023-07-19
If a message has an audience, its URL is shown after the content.

Messages coming from channels, communities (Lemmy) or magazines (kbin.social),
have this field set with the "parent" url.
7950783
default  ·  2023-07-19
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
b5eb51c
grunfink  ·  2023-07-19
Merge pull request '[Really optional PR?] html.c / UX: Give admin page more space & other...' (#71) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/71
7e273a7
Yonle  ·  2023-07-18
html.c: RSS: fix.

Feed title, and description is not properly rendered.
So here goes a fix that instead of using encode_html TWICE,

We use sanitize() for feed description instead.

Signed-off-by: Yonle <yonle@lecturify.net>
d3e0f7a
Yonle  ·  2023-07-18
html.c: custom emoji <img>: Resize height to 2em, and put veritcal-align to middle.

Signed-off-by: Yonle <yonle@lecturify.net>
2700567
default  ·  2023-07-18
Avoid too deep nesting of html_entry().
6e5c7d4
default  ·  2023-07-18
Increased recursion level for timeline_request().
fe0d820
Yonle  ·  2023-07-16
html.c / UX: Give admin page more space

Signed-off-by: Yonle <yonle@lecturify.net>
e6d5ce2
default  ·  2023-07-17
Version 2.38 RELEASED.
35987eb
default  ·  2023-07-15
Avoid incomplete messages in timeline_request().
c409d2e
grunfink  ·  2023-07-15
Merge pull request '[Really optional] Whenever to have Placeholder on some inputs? & other stuff' (#69) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/69
7e40e0d
Yonle  ·  2023-07-14
html.c: invalid html tag: else? just show it as encoded text.

Signed-off-by: Yonle <yonle@lecturify.net>
98c72db
Yonle  ·  2023-07-14
html.c: *prev_src at edit: Just use encode_html.

Signed-off-by: Yonle <yonle@lecturify.net>
299886d
Yonle  ·  2023-07-14
utils.c: "User id" does not need "\n".

Signed-off-by: Yonle <yonle@lecturify.net>
1dc61ac
Yonle  ·  2023-07-14
html.c: Probably put placeholder on certain input and textboxes

Signed-off-by: Yonle <yonle@lecturify.net>
3d6f1ee
default  ·  2023-07-14
Updated RELEASE_NOTES.
3e21aaf
default  ·  2023-07-14
Fixed crash on empty static and history objects.
43d2e80
default  ·  2023-07-14
Use the right object id when storing Announce + Create + Note objects.
eee1916
default  ·  2023-07-14
Fixed prototypes.
510bd60
grunfink  ·  2023-07-14
Merge pull request 'html.c: Don't let public get into timeline.html_' (#67) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/67
77f5b51
Yonle  ·  2023-07-14
html.c: Don't let public get into timeline.html_

Signed-off-by: Yonle <yonle@lecturify.net>
4ab22b2
default  ·  2023-07-13
If a Page has an image, show it as an attachment.
64d3bb7
default  ·  2023-07-13
Fixed Link HTML.
c4bb189
default  ·  2023-07-13
Added support for lemmy-style "Link" attachments.
8d7f329
default  ·  2023-07-13
Updated RELEASE_NOTES.
a2874b4
default  ·  2023-07-13
Bumped version.
a549ff4
default  ·  2023-07-13
Updated RELEASE_NOTES.
f6401e1
default  ·  2023-07-13
Updated documentation.
9b19a26
default  ·  2023-07-13
Increased log level for Announce error requests.
2caeb55
default  ·  2023-07-13
Added support for the 'Page' ActivityPub object.

So that you can follow and interact with lemmy channels.
a05aa96
default  ·  2023-07-13
Added a maximum level of recursion to timeline_request().
0bdd1f0
default  ·  2023-07-13
Always log send status in post_message().
545af94
default  ·  2023-07-13
New function post_message(), to send a message bypassing the output queue.

This is used when accepting Follow requests; this way, follows are
confirmed as fast as possible.

If the message cannot be immediately sent, it's queued as always.
137f775
default  ·  2023-07-13
Minor prototype tweak.
5ddde84
default  ·  2023-07-13
Version 2.37 RELEASED.
76e1608
default  ·  2023-07-13
Fixed memory leaks.
ff8e400
grunfink  ·  2023-07-13
Merge pull request 'XSS: Also encode in admin page, and other....' (#65) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/65
b428386
Yonle  ·  2023-07-12
utils.c: Prompt does not need \n
5291bb8
Yonle  ·  2023-07-12
xs_mime.h: .opus mime is audio/ogg
2d584d2
Yonle  ·  2023-07-12
html.c: Also encode html characters in admin page
47adfa1
Yonle  ·  2023-07-12
activitypub.c: Remove unused variable.
a0e813d
default  ·  2023-07-11
Fixed HTML re-encoding in the user bio.
158b360
default  ·  2023-07-11
When sanitize() is called, encode_html() is no longer needed.
28a91ab
default  ·  2023-07-11
Added new CSS classes snac-embedded-video and snac-embedded-audio.
a18c719
default  ·  2023-07-11
Fixed crash.
45d45f6
default  ·  2023-07-11
Updated RELEASE_NOTES.
1c5a689
default  ·  2023-07-11
Fixed some memory leaks.
a5272a2
grunfink  ·  2023-07-11
Merge pull request 'Attempt to prevent XSS.' (#64) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/64
63741cb
Yonle  ·  2023-07-11
html.c: Escape XML characters & View unknown type attachment link

Signed-off-by: Yonle <yonle@lecturify.net>
eb7bee9
grunfink  ·  2023-07-11
Merge pull request 'xs_mime.h: Add various mimetypes for audios & videos' (#63) from yonle/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/63
c6e3bca
Yonle  ·  2023-07-11
xs_mime.h: Add various mimetypes for audios & videos
068c823
default  ·  2023-07-11
Updated RELEASE_NOTES.
3642cd2
default  ·  2023-07-10
Simplified inbox_list().
1a94d7c
default  ·  2023-07-10
Revert "New server config array "webfinger_domains"."

This reverts commit f2e0b7747813445138d5b65363fd3a74c7a2454a.
92b3b71
default  ·  2023-07-10
[examples/snac-global.service] New file.
d2aa572
default  ·  2023-07-09
Fixed failed mkdir() in restricted environments.
c562a45
default  ·  2023-07-08
Bumper version.
f2e0b77
default  ·  2023-07-08
New server config array "webfinger_domains".
321d9fb
default  ·  2023-07-07
Version 2.36 RELEASED.
cc91dd4
default  ·  2023-07-06
Updated TODO.
332c708
default  ·  2023-07-06
Updated RELEASE_NOTES.
0dd570d
default  ·  2023-07-06
Pinned posts also appear in the public timeline.
e2789ce
default  ·  2023-07-05
index_list() and index_list_desc() always return a list, even if empty.
08e4745
default  ·  2023-07-05
Tweaked static_get() logging.
eef3c41
default  ·  2023-07-05
Posts can be pinned/unpinned from the web interface.
57ba1d5
default  ·  2023-07-05
Pinned posts appear at the top of the public timeline.
fe9fc2d
default  ·  2023-07-05
Updated documentation.
8faa066
default  ·  2023-07-05
Merge branch 'master' of triptico.com:git/snac2
c47df76
default  ·  2023-07-05
Backport from xs.
38ee86f
default  ·  2023-07-04
Also call process_tags() when in the public timeline's bio.
7e5b02b
default  ·  2023-07-04
Fixed weird prototype of process_tags().
6fce560
default  ·  2023-07-04
The actor bio now accepts tags.
9c7cc7b
default  ·  2023-07-04
index_list() and index_list_desc() don't return deleted entries.
9bf872d
default  ·  2023-07-04
Updated RELEASE_NOTES.
b1f1f35
default  ·  2023-07-04
Updated TODO.
8a39223
default  ·  2023-07-04
The content warning check and description is propagated from the replied message.
339fe5e
default  ·  2023-07-04
Also fill the sensitive content fields in the edit dialog.
b55dbf1
default  ·  2023-07-04
The sensitive content can have a description.
f29986f
default  ·  2023-07-04
Updated TODO.
66991f4
default  ·  2023-07-04
Updated TODO.
bf08fba
default  ·  2023-07-04
Call index_del() from _object_user_cache().
78b468f
default  ·  2023-07-04
More unfollow notification tweaks.
51c3fc9
default  ·  2023-07-04
Updated RELEASE_NOTES.
7db4de8
default  ·  2023-07-04
Also show unfollows in the notification area.
5b3c7d4
default  ·  2023-07-03
Backport from xs.
7eeeeb3
default  ·  2023-07-02
Updated RELEASE_NOTES.
f6901ad
default  ·  2023-07-02
Updated TODO.
d343b40
default  ·  2023-07-02
Added HTTP caching to static data.
b5495ab
default  ·  2023-07-01
Fixed footer link.
c423cc7
default  ·  2023-07-01
Added CSS classes to notification and people pages.
80cbabf
default  ·  2023-06-30
Updated TODO.
b5c8739
default  ·  2023-06-29
Updated README.
e64471b
default  ·  2023-06-29
Added class snac-post-header to the people list.
f4c7f4b
default  ·  2023-06-29
Added a new snac-post-header CSS class.
6851b07
default  ·  2023-06-29
New file doc/susie-qr.png.
a03384c
default  ·  2023-06-29
Updated RELEASE_NOTES.
a114d50
default  ·  2023-06-29
Call is_instance_blocked() from activitypub_post_handler().
057827e
default  ·  2023-06-29
Added command-line interface for [un]blocking full instances.
61957a8
default  ·  2023-06-29
Added instance blocking to data storage.
090c7cc
default  ·  2023-06-28
Updated TODO.
afebf08
default  ·  2023-06-28
Fixed unpinning indexing.
4b1f060
default  ·  2023-06-28
Add a pin emoji to pinned posts.
af18068
default  ·  2023-06-28
Added some error control to pinning.
394240b
default  ·  2023-06-28
Also purge pinned.idx.
d1add05
default  ·  2023-06-28
In mastoapi, notes can be pinned / unpinned.
3559a0f
default  ·  2023-06-28
New pinning in data storage.
1568472
default  ·  2023-06-28
Added some lost fields in mastoapi_status().
24ded09
default  ·  2023-06-28
Updated TODO.
9a47a7c
default  ·  2023-06-28
Don't discard notes from people we don't follow in mastoapi.
e0b870c
default  ·  2023-06-28
Merge branch 'master' of triptico.com:git/snac2
7669550
default  ·  2023-06-28
Updated TODO.
bd81708
default  ·  2023-06-28
New CSS class snac-post-header, that wraps the avatar + name + link of a post.
e9711f9
default  ·  2023-06-28
Skip leading zeros en poll closing time.
833540d
default  ·  2023-06-27
Updated RELEASE_NOTES.
3047f62
default  ·  2023-06-27
For polls, shows a 'Closes in d:h:m:s' string.
f543185
default  ·  2023-06-27
Backport from xs.
1c6cc98
default  ·  2023-06-26
Also break the og:description in the first period in the bio.
983f137
default  ·  2023-06-26
Added autocomplete=off to all forms.
7a8cc80
default  ·  2023-06-26
Updated documentation.
e8be616
default  ·  2023-06-26
Minor logging tweak.
15beffc
default  ·  2023-06-26
Updated RELEASE_NOTES.
baf557b
default  ·  2023-06-26
In adduser(), don't copy the system-wide css.
b2598ca
default  ·  2023-06-26
If the user style.css does not exist, return the server-wide version.
7a0efc3
default  ·  2023-06-26
Increased log level for 'not for us' messages.
d48f1f9
default  ·  2023-06-25
Updated README.
f7be2d1
default  ·  2023-06-24
Revert "Deleted the link to snac on OpenBSD."

This reverts commit 5db10733d5f07e6e513b8ef15325d92195630808.
2f3ed55
default  ·  2023-06-24
The WWW-Authenticate real also includes the user.
3da32bd
default  ·  2023-06-24
Fixed missing end quote in the WWW-Authenticate header.
5db1073
default  ·  2023-06-24
Deleted the link to snac on OpenBSD.
b35eb10
default  ·  2023-06-23
Updated TODO.
5e2054a
default  ·  2023-06-21
Updated README.
96b8791
default  ·  2023-06-19
Defend from kbin.social messages not having a content-type header.
42803e2
default  ·  2023-06-18
Fixed crash in _object_fn_by_md5().
5278232
default  ·  2023-06-18
Delete unnecessary function information in _object_fn().
b331f36
default  ·  2023-06-18
Improved checks to _object_fn_by_md5().
51ef347
default  ·  2023-06-18
Added some more checks to _object_fn_by_md5().
551bf92
default  ·  2023-06-18
Added the caller function name to _object_fn_by_md5() and _object_fn().
7eb80e9
default  ·  2023-06-18
Renamed the HTTP Basic auth realm to something more informative.
0a6a3a0
default  ·  2023-06-18
Avoid checking for deleted entries (starting with '-') in index_gc().
98d49ba
default  ·  2023-06-16
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
4b75b2a
grunfink  ·  2023-06-16
Merge pull request 'added titles to images and emojis' (#54) from Haijo7/snac2:titles into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/54
553ef7b
Haijo7  ·  2023-06-16
added titles to images and emojis
a260f5f
default  ·  2023-06-16
Increased debug level for NOT collecting inboxes.
723efdb
default  ·  2023-06-16
Added some logging on corrupted md5 ids.
1b1cb2d
default  ·  2023-06-16
Bumped version.
5be2239
default  ·  2023-06-16
Quick fix to "Script self-injection in edit box".

In the 'Edit...' box, the sourceContent (which was written by a user)
has its < replaced with &lt; . This issue does not propagate to the
public timeline nor to the recipients of the post.

Reference: https://codeberg.org/grunfink/snac2/issues/53
5776102
default  ·  2023-06-15
Version 2.35 RELEASED.
ded12dc
default  ·  2023-06-15
Fixed look of users without creationg date in the people page.
478cb2c
default  ·  2023-06-15
Use xs_stock_* values wherever possible.
8d9289a
default  ·  2023-06-15
Backport from xs.
25ca709
default  ·  2023-06-15
Updated RELEASE_NOTES.
262de20
default  ·  2023-06-15
Fixed voting / replying confusion.
09e0d99
default  ·  2023-06-15
Increased log level for enqueue_request_replies().
14b2f69
default  ·  2023-06-15
If a ~/log/ folder exists, also write the log there.
9a4ff57
default  ·  2023-06-15
Updated RELEASE_NOTES.
2076267
default  ·  2023-06-15
Avoid returning 'ghost' no-longer-followers in followers_list().
dccb6cd
default  ·  2023-06-15
Updated TODO.
2bed69d
default  ·  2023-06-15
Use the _a.json extension for actor object links into following/.
297b82c
default  ·  2023-06-15
following_list() creates links to the actors if they don't exist.
e97092c
default  ·  2023-06-15
Maintain a link to the author object in the following/ subdirectory.
1307b62
default  ·  2023-06-14
Use utimes() to 'touch' the actor file in actor_get().
f839dc1
default  ·  2023-06-13
Updated RELEASE_NOTES.
f5e437a
default  ·  2023-06-13
Fixed crash in check_signature().
a3d33bf
default  ·  2023-06-13
Stop lying about code style being ANSI C.
e0c6fb7
default  ·  2023-06-13
New function webfinger_request_signed().
e26d057
default  ·  2023-06-13
Updated RELEASE_NOTES.
b5f63b6
default  ·  2023-06-13
In sanitize(), delete unsupported HTML tags instead of showing them.
5654960
default  ·  2023-06-13
Also accept HTML tag <ol>.
38986ce
default  ·  2023-06-12
Updated RELEASE_NOTES.
3977a12
default  ·  2023-06-12
Avoid writing a NULL header in mastoapi_account().
6f72a19
grunfink  ·  2023-06-12
Merge pull request 'add mastodon profile header to mastodon api' (#46) from Haijo7/snac2:mastodon-profile-header into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/46
8fb74b6
default  ·  2023-06-12
Updated RELEASE_NOTES.
5da16e9
default  ·  2023-06-12
Updated TODO.
4295890
Haijo7  ·  2023-06-12
removed additinal empty string
b9dee83
default  ·  2023-06-12
Fix links with # in it.
0157ac6
default  ·  2023-06-12
Updated TODO.
564b5b1
Haijo7  ·  2023-06-12
add mastodon profile header to mastodon api
f1294bd
default  ·  2023-06-11
Added a comment about Announces of non-Notes.
7bbd47e
default  ·  2023-06-11
Updated RELEASE_NOTES.
aa7ed9b
default  ·  2023-06-11
Added Web UI to set the account 'bot' flag.
d9d4ffb
default  ·  2023-06-11
Hidden conversations are not rendered instead of given a 'display: none'.
5cdfd64
default  ·  2023-06-11
No more archiving of borked Likes.
cf2cfca
default  ·  2023-06-11
Also reject Like messages in is_msg_for_me().
1dd88aa
default  ·  2023-06-11
Log malformed Likes from wafrn.net (who else?).
6c0381b
default  ·  2023-06-11
Merge branch 'master' of triptico.com:git/snac2
71855e8
default  ·  2023-06-11
If ~/error/ exists, also log messages to a file there.
52d54ed
grunfink  ·  2023-06-11
Merge pull request 'set bot to true for bots in mastodon api' (#45) from Haijo7/snac2:masto-api-user-type into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/45
9b1c5cc
Haijo7  ·  2023-06-11
set bot to true in mastodon account if user type is service
2544ec9
Haijo7  ·  2023-06-11
add user type to mastodon profile
f6b836e
default  ·  2023-06-11
Fixed comment.
723343f
default  ·  2023-06-11
Disable `timeline_request_replies()` temporarily.
e45ffa0
default  ·  2023-06-11
Use a different variable name to store the id of 'embedded' children.
1d9e734
default  ·  2023-06-11
Updated RELEASE_NOTES.
422b314
grunfink  ·  2023-06-11
Merge pull request 'Mastodon API private timeline fixes' (#44) from poesty/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/44
fb5f34b
poesty  ·  2023-06-11
Only allow logged-in user to use statuses API
15137fc
poesty  ·  2023-06-10
Only allow logged-in user to use search API
2b64892
poesty  ·  2023-06-10
Use MID_TO_MD5 for ID comparison
56c44eb
poesty  ·  2023-06-10
Ignore non-followed users' notes without boosts in private timeline
8619854
poesty  ·  2023-06-09
Ignore timestamps in mastoapi_id when filtering entries
ab470e9
default  ·  2023-06-09
Updated TODO.
e22da86
default  ·  2023-06-07
Minor tweak to snac-poll-form.
22565f5
default  ·  2023-06-07
New CSS classes snac-poll-form and snac-poll-result.
b77ef13
default  ·  2023-06-07
Don't enqueue a request_replies message if it's already there.
ecde1c2
default  ·  2023-06-07
New function enqueue_request_replies().

This way, the (potentially expensive and slow) call to
timeline_request_replies() is detached from actions like
replying a message from the web ui.
e926fa2
default  ·  2023-06-07
Changed timeline_request_replies() to receive an id and not an object.
f90d4b2
default  ·  2023-06-07
New function timeline_request_replies().

This function downloads and stores all replies to a message, recursively.

Increases traffic.

Mastodon instances request the user actor again and again without caching
(when the 'replies' Collection is downloaded). Maybe I'm not doing something
correctly?
125317a
default  ·  2023-06-07
Some prototype update.
33f1f91
default  ·  2023-06-05
Updated documentation.
8c91956
default  ·  2023-06-05
Replace an sprintf() with an snprintf().
fafdbbf
default  ·  2023-06-05
Replaced usage of random() with xs_rnd_buf().
e788a5b
default  ·  2023-06-05
Some prototype tweaks.
65f5173
default  ·  2023-06-05
Moved srv_running variable to httpd.c.
531433a
default  ·  2023-06-04
Document the basedir style.css file.
8501199
default  ·  2023-06-04
Also accept Update + Service messages.
0d81734
default  ·  2023-06-04
If a user config field 'bot' is set to true, identies as such.
3a8005f
default  ·  2023-06-04
Updated some data types.
c69d0c1
default  ·  2023-06-03
Version 2.34 RELEASED.
6564ad4
default  ·  2023-06-02
Updated RELEASE_NOTES.
5ac17bd
grunfink  ·  2023-06-02
Merge pull request 'Added icon for bots' (#40) from Haijo7/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/40
21bb4f3
Haijo7  ·  2023-06-02
Added icon for bots
13ab8c7
default  ·  2023-06-02
More notify tweaks (I'm getting sick of this).
84152d6
default  ·  2023-06-02
Fixed bug in notify() (the poll id was not set).
b0337f5
default  ·  2023-06-02
Fixed bug in vote discarding in notify().
2e19c19
default  ·  2023-06-02
Use a select instead of a checkbox for setting multiple-choice polls.
97b8dde
default  ·  2023-06-02
Updated RELEASE_NOTES.
99588a8
grunfink  ·  2023-06-02
Merge pull request 'fixed typo in string "people that follows you"' (#38) from Haijo7/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/38
a9a4afa
grunfink  ·  2023-06-02
Merge pull request 'open image in new tab when clicked, add css class for attachments' (#39) from Haijo7/snac2:image-link into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/39
2a8d34a
Haijo7  ·  2023-06-02
open image in new tab when clicked, add css class for attachments
f903d07
Haijo7  ·  2023-06-01
fixed typo in string "people that follows you"
47cb5f0
default  ·  2023-06-01
Add a check Unicode char to mark those polls that were voted by the user.
a7881f0
default  ·  2023-06-01
Added an 'uninstall' Makefile target.
e66b3ff
default  ·  2023-06-01
Disallow empty or repeated options in msg_question().
af88b78
default  ·  2023-06-01
Fixed typo in notify().
e87d5b7
default  ·  2023-06-01
Another tweak in notify().
344356e
default  ·  2023-06-01
Fixed notification bug.
76aa864
default  ·  2023-06-01
Fixed another CSS typo.
5a1b3d8
default  ·  2023-06-01
Updated RELEASE_NOTES.
2cdcc8e
default  ·  2023-06-01
Updated RELEASE_NOTES.
1023ee8
default  ·  2023-06-01
Fixed typo.
a510475
default  ·  2023-06-01
Updated default css.
fac52ff
default  ·  2023-06-01
Show the user@host identified next to the user avatar (contributed by Haijo7).
37878fb
default  ·  2023-06-01
Updated RELEASE_NOTES.
d6aa3d3
default  ·  2023-06-01
More poll notify tweaks.
513d81c
default  ·  2023-06-01
Now you can vote from the mastoapi.
182ba33
default  ·  2023-06-01
Minor refactoring to mastoapi_poll().
91ed98d
default  ·  2023-05-31
Always notify about our own closed polls.
c55a2e4
default  ·  2023-05-31
Don't notify about closed polls that we didn't vote for.
3b72b0f
default  ·  2023-05-31
New function was_question_voted().
796a111
default  ·  2023-05-31
New function mastoapi_poll().
bec8e88
default  ·  2023-05-31
Started voting on mastoapi (non-working).
a3eb84b
default  ·  2023-05-31
Fixed poll id in mastoapi.
c40ef36
default  ·  2023-05-31
Updated RELEASE_NOTES.
96481a3
default  ·  2023-05-31
Don't show votes to polls as descendants in mastoapi.
db1bc85
default  ·  2023-05-31
Votes are shown in mastoapi.
5aa9043
default  ·  2023-05-31
Don't even call html_entry() for children with "name".
60fc87d
default  ·  2023-05-31
Don't hide replies to polls (that are not votes).
ca2e0fc
default  ·  2023-05-30
Backport from xs.
6c2ca0d
default  ·  2023-05-30
Don't store votes in the notification area.
45b1907
default  ·  2023-05-30
Updated RELEASE_NOTES.
bcc2eb6
default  ·  2023-05-30
Show the finished poll notification correctly in mastoapi.
f2a91d8
default  ·  2023-05-30
Label closed polls correctly in the notification area.
dc9d652
default  ·  2023-05-30
Add ended polls to the notification area.
0444b77
default  ·  2023-05-30
Made msg_question() non-editable.
42918d4
default  ·  2023-05-30
Create polls from the web interface.
142b4d6
default  ·  2023-05-30
Added a poll pull-down and options (still unused).
b98a284
default  ·  2023-05-30
Wrap attachments in notes behind a "details".
e02beac
default  ·  2023-05-30
Replaced "Image" with "File".
6e6fa93
default  ·  2023-05-30
Better poll close checks.
27218d0
default  ·  2023-05-30
Moved "Closed" poll string to where it belongs.
32f31e4
default  ·  2023-05-30
Log when a poll is closed.
29eb314
default  ·  2023-05-30
Added some limits to poll options.
be39b52
default  ·  2023-05-30
Create the base message of msg_question() from msg_note().
7659362
default  ·  2023-05-29
Enqueue a close_question user q_item.
05ac2a0
default  ·  2023-05-29
Keep the original question order after updates.
d7b7457
default  ·  2023-05-29
update_question() also updates the count of voters.
aea0ea4
default  ·  2023-05-29
In update_question(), send the updated question to all voters.
60ea9b3
default  ·  2023-05-29
Disallow updating closed polls.
22fea17
default  ·  2023-05-29
Disallow voting your own polls.
32ce1fb
default  ·  2023-05-29
Close the question over due date in update_question().
654e171
default  ·  2023-05-29
New macro ISO_DATE_SPEC.
e913d03
default  ·  2023-05-29
Fixed some bugs in update_question().
8551c69
default  ·  2023-05-29
New function update_question().
bf96512
default  ·  2023-05-29
Added the 'replies' dict to each question.
5062454
default  ·  2023-05-27
Version 2.33 RELEASED.
ec1ee8a
default  ·  2023-05-27
Added the missing field "header" to mastodon acoount.
11ab582
default  ·  2023-05-25
Updated RELEASE_NOTES.
efec8a6
default  ·  2023-05-25
If sem_open() fails, try again with sem_init().
18c842d
default  ·  2023-05-24
Updated documentation.
fdb35f3
default  ·  2023-05-24
Also accept 'cite' as a valid HTML tag.
f8838c6
default  ·  2023-05-24
Updated RELEASE_NOTES.
bf6fcee
default  ·  2023-05-24
In mastoapi, don't show poll votes in timelines.
e75b76d
default  ·  2023-05-24
Tweaked log message.
34eb717
default  ·  2023-05-24
Fixed multiple choice polls.
9cdb53d
default  ·  2023-05-24
Hide the children for polls.
6eb0aa1
default  ·  2023-05-24
Show the poll as closed if we already voted for it.
5d8e370
default  ·  2023-05-24
More prototype tunnings.
07b9fa9
default  ·  2023-05-24
Polls can now be voted.
67b21a9
default  ·  2023-05-24
Show HTML form code for oneOf polls.
0d8a040
default  ·  2023-05-24
Added some experimental 'Question' posting code.
9bc4825
default  ·  2023-05-24
New function msg_question() (unused).
50fe76e
default  ·  2023-05-24
Call timeline_touch() on successful 'Update' messages.
4f0ab18
default  ·  2023-05-24
Show a ballot box emoji in the score if the enttry it's a poll.
2b6d6d3
default  ·  2023-05-24
Finished polls are shown.
c356379
default  ·  2023-05-24
Some prototype tweaks.
a73636f
default  ·  2023-05-24
Questions (polls) are now stored (but not yet shown).
adcdb28
default  ·  2023-05-21
Updated TODO.
9fc019e
default  ·  2023-05-21
Updated RELEASE_NOTES.
2ab5b01
default  ·  2023-05-21
Bumped version.
49362f5
default  ·  2023-05-21
Convert image links in notes to attachments.
3cd7331
default  ·  2023-05-21
Updated TODO.
f136426
default  ·  2023-05-21
Minor refactor to msg_note().
63053ab
default  ·  2023-05-21
Minor prototype change.
d055b63
default  ·  2023-05-20
More image tweaks.
1970374
default  ·  2023-05-20
More image updates.