2.56
2000 commits (2000 out of 2638 generated)
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.
a597eb7
default  ·  2023-05-20
Improved default avatars.
c27b953
default  ·  2023-05-20
Updated images.
9cf3a51
default  ·  2023-05-20
New image.
ca12b4c
default  ·  2023-05-19
Updated TODO.
ecdb7f5
default  ·  2023-05-18
Version 2.32 RELEASED.
50f249a
default  ·  2023-05-18
Updated RELEASE_NOTES.
d4695a9
default  ·  2023-05-18
Mastoapi: added block / unblock.
3738ecc
default  ·  2023-05-18
Updated RELEASE_NOTES.
35f5b9f
default  ·  2023-05-17
Updated documentation.
b2a784b
default  ·  2023-05-17
Updated documentation.
ef1db81
default  ·  2023-05-17
Updated documentation.
237947f
default  ·  2023-05-17
Updated RELEASE_NOTES.
ef59df5
default  ·  2023-05-17
Fixed bug in drop_dm_from_unknown web processing.
b3f2d15
default  ·  2023-05-17
Added web interface for drop_dm_from_unknown.
93d1649
default  ·  2023-05-17
New config option 'drop_dm_from_unknown'.
6a2979c
default  ·  2023-05-17
Updated RELEASE_NOTES.
b5eaabe
default  ·  2023-05-17
When updating the user info, also spam the following list.
83aad1b
default  ·  2023-05-17
Added some comments.
970ad7a
default  ·  2023-05-17
Got rid of xs_encdec.h.
7f1b87a
default  ·  2023-05-17
Backport from xs.
81cec4a
default  ·  2023-05-17
Don't autocomplete local users if they are already added.
9bc10da
default  ·  2023-05-17
In mastoapi account search, return local users at the end.
e6eb1ad
default  ·  2023-05-15
Also find local users in /api/v1/search.
32b53e8
default  ·  2023-05-15
Updated RELEASE_NOTES.
3e1944a
default  ·  2023-05-15
Deleted repeated code.
40fa322
default  ·  2023-05-15
mastoapi_account() returns the acct field as user@host.
bcf2670
default  ·  2023-05-15
Made mastoapi account search case-insensitive.
bd8886f
default  ·  2023-05-15
Don't repeat accounts when searching.
d3c1b31
default  ·  2023-05-15
Bumped version.
e9588a7
default  ·  2023-05-15
Add /v1/account/search support.
59b049f
default  ·  2023-05-15
Backport from xs.
08e43f2
grunfink  ·  2023-05-13
Merge pull request 'Reformat the codeblocks in README.md' (#35) from bouncepaw/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/35
c079d53
bouncepaw  ·  2023-05-13
Reformat the codeblocks in README.md

1. Remove the extra indent
2. Add `sh` language
47ce735
default  ·  2023-05-13
Version 2.31 RELEASED.
6b597ff
default  ·  2023-05-13
Only show the bio in the top of the page for public pages.
ac39a3b
default  ·  2023-05-13
Updated RELEASE_NOTES.
5bd9b58
default  ·  2023-05-13
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
f66080f
grunfink  ·  2023-05-13
Merge pull request 'Added user-agent to webfinger query' (#34) from poesty/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/34

This is to avoid that when sending webfinger queries to some instances (e.g. GoToSocial), we cannot fetch their resources because of the 418 status code returned by the other side.
962a45c
poesty  ·  2023-05-12
Added user-agent to webfinger query
24f802b
default  ·  2023-05-12
Use a different approach towards incomplete mentions.

This time, incomplete mentions are completed using a) the host of
the first mention, if there are any, or b) the current host.
cada652
default  ·  2023-05-12
Merge branch 'master' of triptico.com:git/snac2
bdb1ce3
default  ·  2023-05-12
Added more comment marks.
3ada6b6
default  ·  2023-05-12
Updated RELEASE_NOTES.
13129a6
default  ·  2023-05-12
Updated RELEASE_NOTES.
5325da0
default  ·  2023-05-12
Added some code comments.
d35c949
default  ·  2023-05-12
Resolve (partially) the issue with mentions without server.

Mastodon (mainly from the API) usually include mentions without server,
which is just stupid. This patch tries to resolve these broken mentions in
process_tags() by looking for a user name starting with it in the already
pre-populated tag list. As of now, this only works if the message is an
inReplyTo and the broken mention is the one of the original
(attributedTo) poster.
2e27a80
default  ·  2023-05-12
Minor refactor to msg_note(): the tag list is created here, not in process_tags().
3d4bf23
default  ·  2023-05-12
Minor function prototype tweak.
7e17310
default  ·  2023-05-11
Updated RELEASE_NOTES.
6d82dde
default  ·  2023-05-11
Added support from exclude notification types.
9c4e491
default  ·  2023-05-11
Backport from xs.
2a07311
default  ·  2023-05-11
In /relationship, the id[] can be a list.
2a7f5f7
default  ·  2023-05-10
Updated RELEASE_NOTES.
a15ec49
default  ·  2023-05-09
Fixed conflict.
d911509
grunfink  ·  2023-05-09
Merge pull request 'Fixed the issue of semaphore name conflicts.' (#33) from poesty/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/33
3bd8345
poesty  ·  2023-05-09
Fixed the issue of semaphore name conflicts.
28720d4
default  ·  2023-05-09
Backport from xs.
d562c3c
default  ·  2023-05-09
Backport from xs.
510477c
default  ·  2023-05-08
Updated documentation.
de12b8d
default  ·  2023-05-08
Fill the mastoapi instance contact_account field, if possible.
920ff76
default  ·  2023-05-08
Print the total running time at httpd stop.
7b349dd
default  ·  2023-05-08
Backport from xs.
6bad235
default  ·  2023-05-08
Moved sem_close() further to the end.
e2e7bc2
default  ·  2023-05-08
Added a source (web, mastoapi, etc) to lastlog_write().
29fb145
default  ·  2023-05-07
Updated RELEASE_NOTES.
2824ba5
default  ·  2023-05-07
Added some includes needed for last sem_open() / uintptr_t changes.
0a93eae
default  ·  2023-05-07
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
3093bd2
grunfink  ·  2023-05-07
Merge pull request 'Use named semaphores' (#32) from saagarjha/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/32

This fixes httpd on macOS. It's fine if you don't want to merge this into snac itself; I can ask MacPorts to carry the patch themselves.
e25960c
Saagar Jha  ·  2023-05-07
Fix pointer-to-int cast

Resolves "warning: performing pointer subtraction with a null pointer
has undefined behavior [-Wnull-pointer-subtraction]"
578c94b
Saagar Jha  ·  2023-05-07
Use named semaphores

Unnamed semaphores are not supported on macOS.
699702c
default  ·  2023-05-07
Bumped version.
14950d6
grunfink  ·  2023-05-07
Merge pull request 'Fixed webfinger and curl issues' (#31) from poesty/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/31
e65760a
poesty  ·  2023-05-07
Merge pull request 'master' (#1) from grunfink/snac2:master into master

Reviewed-on: https://codeberg.org/poesty/snac2/pulls/1
6a1cc55
default  ·  2023-05-07
Version 2.30 RELEASED.
7d3a909
poesty  ·  2023-05-07
Fixed webfinger and curl issues
51d225d
default  ·  2023-05-06
Updated RELEASE_NOTES.
eed24fd
default  ·  2023-05-06
Fixed a bug in Tusky's image send.
5b7a22e
default  ·  2023-05-05
Updated examples/docket-entrypoint.sh.

snac init now prompts for an optional admin email address.
daaf863
default  ·  2023-05-05
The 'ping' command-line requests the actor for better error info.
8cd79df
default  ·  2023-05-05
Fixed bug in ping cmdline debug output.
c1772cb
default  ·  2023-05-05
Updated RELEASE_NOTES.
d3a3621
default  ·  2023-05-05
Implemented 'Ping' and 'Pong' activities.

According to https://humungus.tedunangst.com/r/honk/v/tip/f/docs/ping.txt
cd71bd0
default  ·  2023-05-04
Updated documentation.
212d135
default  ·  2023-05-04
Fixed mastoapi debug levels.
ec6f94e
default  ·  2023-05-04
New url /oauth/x-snac-get-token.
f6ef275
default  ·  2023-05-04
Made the post action configurable in login_page.
980a8d5
default  ·  2023-05-04
Fixed more warnings.
185aac2
default  ·  2023-05-04
Added -Wextra to C flags.
753eadf
default  ·  2023-05-04
Added some const here and there.
511f506
default  ·  2023-05-04
Deleted real unused parameters.
cd19efc
default  ·  2023-05-04
Updated dependencies.
d46bf88
default  ·  2023-05-04
Updated documentation.
dd290c8
default  ·  2023-05-04
Updated documentation.
a9f0f2f
default  ·  2023-05-04
Avoid crash in optional mastoapi argument.
cf8d911
default  ·  2023-05-04
Updated documentation.
cf2b334
default  ·  2023-05-03
Ensure no actor data is left in actor_get().
18f799a
default  ·  2023-05-03
Updated RELEASE_NOTES.
0bd609f
default  ·  2023-05-03
Fixed missing notifications in certain circunstancies.
be5f08e
default  ·  2023-05-02
Use xs_replace_n() where it suits.
29815a3
default  ·  2023-05-02
Backport from xs.
f1756a5
default  ·  2023-05-01
Updated RELEASE_NOTES.
4595a36
default  ·  2023-05-01
Partial support for mastoapi unfavourite / unreblog.
c21bbd5
default  ·  2023-05-01
New functions index_del_md5(), index_del() and object_unadmire().
84902d8
default  ·  2023-05-01
Purge / gc the instance timeline index.
a7d4513
default  ·  2023-05-01
In /api/v1/statuses, get the object from the storage instead of from the timeline.

This was affecting clicking on posts from the instance timeline, that were not
in the logged-in user timeline.
21a2a01
default  ·  2023-04-30
Return immediately from actor_get() if it's a local user.
6917f0a
default  ·  2023-04-30
Updated RELEASE_NOTES.
cfa0df3
default  ·  2023-04-30
The instance timeline now works.
e31c481
default  ·  2023-04-30
actor_get() returns an actor message for local users.
ede4d6f
default  ·  2023-04-30
Some instance timeline work.
6b632e1
default  ·  2023-04-30
Bumped version.
049818a
default  ·  2023-04-29
Public posts are also added to an instance public timeline index.
fbd30cf
default  ·  2023-04-28
Version 2.29 RELEASED.
d0e0827
default  ·  2023-04-28
Incomplete mastoapi apps are purged.
765f637
default  ·  2023-04-28
New function mastoapi_purge() (still dummy).
b620fe9
default  ·  2023-04-28
Ensure the new app client_id is unique.
e0cc575
default  ·  2023-04-27
Updated RELEASE_NOTES.
a28d717
default  ·  2023-04-27
Hide hidden posts from timelines.
458d621
default  ·  2023-04-27
Updated documentation.
dd4ba79
default  ·  2023-04-26
Fixed video attachments.
9bb08cf
default  ·  2023-04-26
Fixed crash in mastoapi search.
e2ef581
default  ·  2023-04-26
Update lastlog.txt everytime a Bearer token is validated.
9e7ace4
default  ·  2023-04-25
Updated README.
74e644a
default  ·  2023-04-25
Updated dependencies.
b8eace3
default  ·  2023-04-25
Store the what-is-snac URL as a CPP constant.
3fb91ea
default  ·  2023-04-24
Skip muted morons from timelines and statuses.
b6da5b7
default  ·  2023-04-24
Added emojis to mastoapi_account().
f625d88
default  ·  2023-04-24
Added custom emojis to Statuses.
9456a57
default  ·  2023-04-24
Added the hashtag list to mastoapi_status().

What is this for?
cfca2ad
default  ·  2023-04-24
Added mentions to mastoapi_status().
3d20adc
default  ·  2023-04-24
Added some more Instance values.
4153818
default  ·  2023-04-24
Added snac limits (no real limits) to the Instance object.
ec961a6
default  ·  2023-04-24
Updated TODO.
997b17d
default  ·  2023-04-23
Moved JSON output validation to httpd.c.
177bf03
default  ·  2023-04-23
Fixed bad JSON for accounts that do not have a 'summary' field.
04ba281
default  ·  2023-04-23
Fixed a bug in the instance timeline.
21fa6c7
default  ·  2023-04-23
Strip the query string in msg_follow().
6d07c2b
default  ·  2023-04-23
Updated RELEASE_NOTES.
8d4d702
default  ·  2023-04-23
Added an instance timeline.
82cd5fd
default  ·  2023-04-23
Don't return that much entries in the mastoapi timeline.
43989ad
default  ·  2023-04-23
Updated RELEASE_NOTES.
043cd5c
default  ·  2023-04-23
Fixed warning.
4fca7c8
default  ·  2023-04-23
Added mastoapi unfollow.
291f251
default  ·  2023-04-23
Added mastoapi follow.
ed4bf22
default  ·  2023-04-23
Updated RELEASE_NOTES.
88850bd
default  ·  2023-04-23
Attend mastoapi relationships.

Now, the follow/unfollow buttons appear on each account's page.
5b93e90
default  ·  2023-04-23
Added mastoapi code for account search.
99529a9
default  ·  2023-04-23
Version 2.28 RELEASED.
7ec54e2
default  ·  2023-04-23
Updated TODO.
17ab335
default  ·  2023-04-22
Updated RELEASE_NOTES.
6bf36f1
default  ·  2023-04-22
Updated README.
2b80873
default  ·  2023-04-22
History functions fail on ids with /.
51bee24
default  ·  2023-04-22
Fail on static data ids with / in them.
1de8095
default  ·  2023-04-22
Updated TODO.
b46dfa8
default  ·  2023-04-21
Updated RELEASE_NOTES.
8804227
default  ·  2023-04-21
New function mastoapi_put_handler().
66d5acc
default  ·  2023-04-21
Use static_get_meta() when preparing the attachment.
8c4850d
default  ·  2023-04-21
New functions to get and set metadata into static files.
73e7195
default  ·  2023-04-21
Added mastoapi support for adding images.
70aea72
default  ·  2023-04-21
Updated README.
c2e4678
default  ·  2023-04-21
Updated README.
8340ff6
default  ·  2023-04-21
Updated RELEASE_NOTES.
39a8a5e
default  ·  2023-04-21
Updated TODO.
526d4e8
default  ·  2023-04-21
Added a new compilation variable NO_MASTODON_API.

The Mastodon API is a big and ugly beast; if you don't want
it in your snac, you can compile it out by running

make CFLAGS=-DNO_MASTODON_API

And your snac binary will be as slim as always.
7c5fb6f
default  ·  2023-04-20
Merge branch 'master' of /home/angel/git/snac2
46f23ec
default  ·  2023-04-20
Commented out more debugging code.
8ceed64
default  ·  2023-04-20
Commented out more code.
46bf844
default  ·  2023-04-20
Commented out test code.
04e61ea
default  ·  2023-04-20
More complete mastodon api instance object.

But Megalodon keeps crashing.
62447ef
default  ·  2023-04-20
snac_init() now prompts for the admin_address.
7af3afa
default  ·  2023-04-20
The default greeting.html now include %admin_email%.
bd539b8
default  ·  2023-04-20
Replace %admin_email% in greeting.html.
350a489
default  ·  2023-04-20
Deleted debug code.
76445d1
default  ·  2023-04-20
Use server.json "admin_email" in mastoapi instance object.
11a89ef
default  ·  2023-04-20
Backport from xs.
d55db28
default  ·  2023-04-19
Backport from xs.
3ccf4e3
default  ·  2023-04-16
arc4random() does not exist in not-so-old systems, so revert this.

Revert "Replaced random() with arc4random()."

This reverts commit f658f345cac7b24d6fa61f08b4ec09823d28b11a.
f658f34
default  ·  2023-04-16
Replaced random() with arc4random().
8205159
default  ·  2023-04-16
Replaced strcpy() with strncpy().

To shut up some compiler whining.
80cd4ea
default  ·  2023-04-16
Updated documentation.
52e3d60
default  ·  2023-04-16
Also accept /api/v2 urls.
0240c87
default  ·  2023-04-16
New function user_open_by_md5().
2ec5814
default  ·  2023-04-16
Temporary fix to this account show error.
cc48f25
default  ·  2023-04-16
Return context ancestors in the right order.
604c1f0
default  ·  2023-04-16
Fixed use-after-free in reply messages.
fd0440d
default  ·  2023-04-16
Don't strip the api version in mastoapi post handler.
6640bd7
default  ·  2023-04-16
Updated RELEASE_NOTES.
048ee35
default  ·  2023-04-16
New button to clear all notifications.
7bec30e
default  ·  2023-04-16
Updated RELEASE_NOTES.
81100cb
default  ·  2023-04-15
Posts can now be sent (still no images).
5ec593d
default  ·  2023-04-15
Force failure in Mastodon API before it gets to a crash-on-startup situation.
512058b
default  ·  2023-04-15
Added entrypoint /push/subscription.

The returned object is just wild guessing, I don't understand all
this things. Anyway, the offical app keeps crashing.
95d90e5
default  ·  2023-04-15
Added some more dummy entry points.
84077aa
default  ·  2023-04-15
Added the 'header' field to verify_credentials.

Megalodon accepted, but now crashes on input.
ec51d59
default  ·  2023-04-15
Some fixes to allow Megalodon to work.

The instance object was wrong and the oauth args can appear as JSON.
9e7a77c
default  ·  2023-04-14
New mastoapi to clear all notifications.
58b2a47
default  ·  2023-04-14
Set the timeline check time after showing the notifications.
bd21d14
default  ·  2023-04-14
New function timeline_touch().
9ce6fb0
default  ·  2023-04-14
Updated RELEASE_NOTES.
4473107
default  ·  2023-04-14
Updated TODO.
30567ba
default  ·  2023-04-14
Delete the private HTML cache on edits.
81f94d4
default  ·  2023-04-14
More notification web page tweaks.
a64a25a
default  ·  2023-04-14
More notification web tweaks.
a050be9
default  ·  2023-04-14
Don't show the full tree in notifications.
cb616d6
default  ·  2023-04-14
New notifications web page.
f38de8c
default  ·  2023-04-14
Show a top link to the (future) notifications area, including a count of new ones.
995fd81
default  ·  2023-04-14
notify_list() returns the notifications in reverse order.
7718ed2
default  ·  2023-04-14
Updated TODO.
e6f8af4
default  ·  2023-04-14
Updated TODO.
35c611b
default  ·  2023-04-14
Fixed crash in notification list.
815c39d
default  ·  2023-04-14
Added a dummy 'created_at' field for accounts that don't have a date.

This avoid a crash in Tusky.
c66cd2e
default  ·  2023-04-13
Fixed crash in notify_get().
a6d664a
default  ·  2023-04-13
Updated RELEASE_NOTES.
51208b1
default  ·  2023-04-13
Implemented mastoapi notifications.
1a27e67
default  ·  2023-04-13
New functions notify_get() and notify_list().
211bedd
default  ·  2023-04-13
New function notify_check_time().
bcde97c
default  ·  2023-04-13
New function notify_add().
2d5d635
default  ·  2023-04-13
Started working on a notification list.
c2f5748
default  ·  2023-04-13
Version 2.27 RELEASED.
cb44135
default  ·  2023-04-13
Updated RELEASE_NOTES.
225c45d
default  ·  2023-04-13
More log level tweaks.
a558ad8
default  ·  2023-04-13
Changed mastoapi log levels.
e47cb4f
default  ·  2023-04-13
f_ctime() returns the oldest of ctime and mtime.
963f2cf
default  ·  2023-04-13
Updated RELEASE_NOTES.
ff4cee0
default  ·  2023-04-12
The snac page has been renamed to what-is-snac.
ec48b8e
default  ·  2023-04-12
Relationships can only be queried if logged in.
bb61b04
default  ·  2023-04-12
Dummy /accounts/relationships.
e146c2a
default  ·  2023-04-12
Also return (some) information for non-local users.
5366bd1
default  ·  2023-04-12
Updated RELEASE_NOTES.
0d4406e
default  ·  2023-04-12
Added the mastodon account data.
668f69d
default  ·  2023-04-12
Added the mastodon personal timeline.
a2cab2b
default  ·  2023-04-12
Updated RELEASE_NOTES.
ed957b4
default  ·  2023-04-12
Added support for like and boost lists.
0184297
default  ·  2023-04-12
Updated RELEASE_NOTES.
082dd46
default  ·  2023-04-12
Updated TODO.
8d9e466
default  ·  2023-04-12
Added forgotten user cleanup in mastoapi_post_handler().
7fecec1
default  ·  2023-04-12
Updated documentation.
168e1ce
default  ·  2023-04-12
Updated README.
7c80fb1
default  ·  2023-04-12
Updated RELEASE_NOTES.
4e6c08a
default  ·  2023-04-12
Updated RELEASE_NOTES.
885031b
default  ·  2023-04-12
Don't generate invalid JSON if an attachment has no description.
aa86357
default  ·  2023-04-12
Use the ctime instead of the published date in mastoapi_id().
5046531
default  ·  2023-04-12
New functions object_ctime() and object_ctime_by_md5().
93008cf
default  ·  2023-04-12
New function f_ctime().
889f319
default  ·  2023-04-11
Commented out debugging messages.
c0a48f1
default  ·  2023-04-11
Added support for likes and boosts.
036be9d
default  ·  2023-04-11
Added some comments.
a7f3ba6
default  ·  2023-04-11
Added many dummy lists.
df78584
default  ·  2023-04-11
Added support for statuses/:id and statuses/:id/context.
a4051f7
default  ·  2023-04-11
Started work in /api/v1/statuses.
79224ca
default  ·  2023-04-11
New function mastodon_status().
7c9846e
default  ·  2023-04-10
Added /api/v1/instance.
d4711bb
default  ·  2023-04-10
Updated RELEASE_NOTES.
aa0b873
default  ·  2023-04-10
Merge https://codeberg.org/grunfink/snac2
5ae1071
grunfink  ·  2023-04-10
Merge pull request 'Fix some overflow bugs' (#29) from saagarjha/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/29
9e9d740
default  ·  2023-04-10
Added image attachments.
3fb651b
default  ·  2023-04-10
Added some tweaks for AndStatus, that does some things different (still non-working).

AndStatus expects a 'state' field to be propagated and doesn't send
the 'client_secret' as a GET argument, but in a Basic authorization header.
1cfa00e
default  ·  2023-04-10
New function mastoapi_id(), that creates mostly-compatible Ids.

Most apps (all?) sort entries by status Id, so they must be time-sorted (somewhat).
862dafd
default  ·  2023-04-10
Some timeline fixes.
ea9c030
Saagar Jha  ·  2023-04-10
Fix heap overflow from curl-originating buffers

Most of xs.h seems to expect that buffers are rounded up to block size,
so we should preserve that invariant here. (In particular, xs_expand
will avoid calling xs_realloc if the new size fits in the same block,
which means that if we don't pad out the data it will expand out of the
memory we're allocated.)
632bbe4
Saagar Jha  ·  2023-04-10
Avoid reading too much data in xs_data_new
ea49eba
default  ·  2023-04-10
More mastoapi timeline work.
429be77
default  ·  2023-04-10
Also delete the app in token revokation.
74098ec
default  ·  2023-04-10
Backport from xs.
578d70d
default  ·  2023-04-10
More work in status entries.
a65f191
default  ·  2023-04-09
Limit the number of entries returned using the max_id.
02a5006
default  ·  2023-04-09
More mastoapi work.
ca89f8b
default  ·  2023-04-09
Fixed avatar.
ccce01d
default  ·  2023-04-09
More mastoapi work.
4ced03b
default  ·  2023-04-09
OAuth login now works.
752058b
default  ·  2023-04-08
More mastoapi work.
bbbce7a
default  ·  2023-04-08
The /oauth/authorize URL generates a login page.
4964a56
default  ·  2023-04-08
More mastoapi work.
eba6987
default  ·  2023-04-08
Added some OAuth scaffold code.
353e393
default  ·  2023-04-08
New file mastoapi.c.
74817a4
default  ·  2023-04-05
Updated RELEASE_NOTES.
1fe34ff
default  ·  2023-04-05
New function lastlog_write().
7c00a99
default  ·  2023-04-05
Updated RELEASE_NOTES.
5d26f31
default  ·  2023-04-05
Fixed overzealous rejection of Announces.
1cdd6d1
default  ·  2023-04-05
Version 2.26 RELEASED.
14cbf12
default  ·  2023-04-04
More log level tweaks.
976083b
default  ·  2023-04-02
Some log tweaks.
c728549
default  ·  2023-04-01
Updated RELEASE_NOTES.
1722b28
default  ·  2023-04-01
Bumped version.
b19c686
default  ·  2023-04-01
Deleted OpenSSL that uses deprecated functions.
c83b601
default  ·  2023-03-31
In is_msg_public(), also look at 'Announce' messages.
4070c00
default  ·  2023-03-30
Updated TODO.
6ee71cd
default  ·  2023-03-30
Backport from xs.
1b22dbb
default  ·  2023-03-30
Backport from xs.
e187302
default  ·  2023-03-26
Updated TODO.
efe0a09
default  ·  2023-03-18
Backport from xs.
ba78706
default  ·  2023-03-08
Version 2.25 RELEASED.
9da3149
default  ·  2023-03-08
Updated documentation.
21e562c
default  ·  2023-03-08
Inbox collection can be disabled from the config file.
cef1b92
default  ·  2023-03-08
Updated documentation.
1956c05
default  ·  2023-03-08
Updated documentation.
278575c
default  ·  2023-03-08
Backport from xs.
158bc12
default  ·  2023-03-08
Show Unicode symbols for replaced control codes.
b0f39a8
default  ·  2023-03-07
Updated RELEASE_NOTES.
ec31697
default  ·  2023-03-07
Collected addresses are also purged.
a2d36aa
default  ·  2023-03-07
Renamed _purge_subdir() to _purge_user_subdir().
985bb47
default  ·  2023-03-07
Enable back inbox recollection.
2dadfff
default  ·  2023-03-07
Updated TODO.
7139477
default  ·  2023-03-07
Disabled inbox recollection temporarily (for global re push).
35995d0
default  ·  2023-03-07
Reject messages not for me.
2250ad7
default  ·  2023-03-07
Sanitize control codes in JSON code.
23177e9
default  ·  2023-03-07
is_msg_for_me() also accepts msgs where a followed is cc'ed.
946c297
default  ·  2023-03-06
Some improvements to is_msg_for_me().
b032e3d
default  ·  2023-03-06
Fixed is_msg_for_me().
e3e45b7
default  ·  2023-03-06
New function is_msg_for_me().
1152450
default  ·  2023-03-06
Changed the way invalid codes in strings are stripped.
60f77b6
default  ·  2023-03-06
msg_update() sends copies the 'to' and 'cc' fields in notes.
7512116
default  ·  2023-03-06
Don't send public admirations of non-public messages.
49f2f49
default  ·  2023-03-06
Strip dangerous control codes in sanitize().
79ea0bf
default  ·  2023-03-03
Reject MUTEd actor messages ASAP with a 403 status.
1254602
default  ·  2023-03-03
Merge branch 'master' of triptico.com:git/snac2
d030697
default  ·  2023-03-03
Changed the way the content-length is set.
caedaca
default  ·  2023-03-03
Updated TODO.
45f4902
default  ·  2023-03-03
Send to collected inboxes AFTER sending to explicit recipients.
aaf6ff2
default  ·  2023-03-02
Add the baseurl to the user agent in the signed GET.
b2ce932
default  ·  2023-03-02
Added the url to srv_archive().
8451d66
default  ·  2023-03-02
Log the user-agent when serving the actor.
1ca94da
default  ·  2023-03-02
Added user-agent in non-signed http connections.
5036cb5
default  ·  2023-03-02
Connection jobs are treated as urgent.
e705e5c
default  ·  2023-03-02
Show a bigger piece of a connection error.
4773d6c
default  ·  2023-03-02
Output to the shared inboxes only the public messages.
987f1d2
default  ·  2023-03-02
Bumped version.
d53d9af
default  ·  2023-03-02
Enqueue messages to the collected inboxes first.
29b1249
default  ·  2023-03-02
Simplified is_msg_public().
e74ae0f
default  ·  2023-03-02
Renamed inboxes/ to inbox/.
5e3c50d
default  ·  2023-03-02
New inbox collection functions.
eb0c7ea
default  ·  2023-03-01
Minor refactoring to actor_request().

Including commented out experimental code for collecting sharedInboxes.
d75a22a
default  ·  2023-03-01
New function srv_archive_error().
105683d
default  ·  2023-03-01
Moved srv_archive() to data.c.
fd47743
default  ·  2023-02-28
Backport from xs.
ec48ec3
default  ·  2023-02-26
Don't inline empty avatars in og:avatar meta property.
91d670a
default  ·  2023-02-26
Merge branch 'master' of /home/angel/git/snac2
2c2c0df
default  ·  2023-02-26
Added some property og meta headers.
e4b6054
default  ·  2023-02-25
Changed debug level for purge log messages.
cb9e82a
default  ·  2023-02-25
Version 2.24 RELEASED.
8de4987
default  ·  2023-02-25
Updated TODO.
3a9ea8a
default  ·  2023-02-24
Also purge stray index files.
1d82d13
default  ·  2023-02-24
In activitypub_request(), retry failed signed requests as non-signed.
1630519
default  ·  2023-02-23
Deleted index_del_md5() and index_del().
285dbe1
default  ·  2023-02-23
Call index_gc() on the user indexes.
307c942
default  ·  2023-02-23
New function index_gc().
4eec215
default  ·  2023-02-23
Serialize some data writes.
90838f0
default  ·  2023-02-23
Minor actor name code refactoring.
80b6824
default  ·  2023-02-23
Updated TODO.
5a5835b
default  ·  2023-02-22
Deleted the index_lock() nonsense.
0f328d0
default  ·  2023-02-22
New function index_unlock().
4508630
default  ·  2023-02-22
Added index locks a bit stronger.
23c433e
default  ·  2023-02-22
Added a warning.
60c50c0
default  ·  2023-02-22
Create sleep mutex and cond variable only once.
295507f
default  ·  2023-02-22
Close everything if xs_socket_accept() returns NULL.
3283536
default  ·  2023-02-22
Deleted useless code.
2bfebba
default  ·  2023-02-22
Don't wait for 3 seconds if there were some q_items processed.
372aa42
default  ·  2023-02-21
Updated RELEASE_NOTES.
3a97721
default  ·  2023-02-20
Unrolled the recipient-to-inbox process in process_user_queue_item().

Instead of calling inbox_list(), waiting for it to end and then
sending to all the "uniqueized" inboxes, the sending is done everytime
a unique inbox is found.
9d02e70
default  ·  2023-02-20
Show the avatar in the nav menu.
188d224
default  ·  2023-02-20
Updated RELEASE_NOTES.
fdda3c9
default  ·  2023-02-20
New checkbox 'Only for mentioned people'.
9ac8ae9
default  ·  2023-02-20
Updated RELEASE_NOTES.
58c01be
default  ·  2023-02-20
Use actor_request() again in get_actor_inbox().

This was faster, but some actors not already here (i.e. some
mentions) were not posted.
5230435
default  ·  2023-02-20
New boolean argument 'priv' to msg_note().
9083bef
default  ·  2023-02-20
Don't try to send to empty email addresses.
235c92e
default  ·  2023-02-20
Updated documentation.
b57b958
default  ·  2023-02-20
Updated RELEASE_NOTES.
27bc74a
default  ·  2023-02-20
Bumped version.
f1f3e3b
default  ·  2023-02-20
Email notifications can be disabled.
a3804c2
default  ·  2023-02-19
Version 2.23 RELEASED.
6be2942
default  ·  2023-02-17
Updated RELEASE_NOTES.
1727d5f
default  ·  2023-02-17
Updated TODO.
19ed903
default  ·  2023-02-16
Backport from xs.
75fbc38
default  ·  2023-02-15
Rewritten text 'More...' as 'Load more...'.
0e9f240
default  ·  2023-02-15
Updated TODO.
fa77473
default  ·  2023-02-15
Updated RELEASE_NOTES.
2de7573
default  ·  2023-02-15
Updated TODO.
08aa610
default  ·  2023-02-15
Added form field code for uploading the avatar.
306f5bd
default  ·  2023-02-15
Added support for receiving un uploaded avatar.
d3da67e
default  ·  2023-02-15
Don't request the actor in get_actor_inbox().
1af9678
default  ·  2023-02-14
Even more tweaks to connection reply logging.
e71c72f
default  ·  2023-02-14
More tweaks to connection reply logging.
e144b0d
default  ·  2023-02-14
Add OK or ERROR to HTTP response.
f832e6a
default  ·  2023-02-14
Some tweaks to connection reply logging.
7e27ccf
default  ·  2023-02-14
Try to show a piece of the error after connecting.
296625c
default  ·  2023-02-12
Updated documentation.
d817264
default  ·  2023-02-12
Added a user config override for 'purge_days'.
0f4db7c
default  ·  2023-02-12
New file ~user/user_o.json, for the admin to override user settings.
dca071b
default  ·  2023-02-11
Version 2.22 RELEASED.
4fc6efb
default  ·  2023-02-11
Updated RELEASE_NOTES.
2c45b65
default  ·  2023-02-11
Added 'fattr' to the pledge() list.
9acf779
default  ·  2023-02-11
Updated RELEASE_NOTES.
28d1da0
default  ·  2023-02-11
Don't fail silently if the job fifo is not ready.
f325b56
default  ·  2023-02-10
Improved Delete button fix.
2a47bdd
default  ·  2023-02-10
Bumped version.
ce2ed34
default  ·  2023-02-10
Updated RELEASE_NOTES.
ed44462
default  ·  2023-02-10
Fixed actor / post Delete confusion bug.
f4d337c
default  ·  2023-02-10
Version 2.21 RELEASED.
381129f
default  ·  2023-02-10
Move the #fds log line to dbglevel 0.
5f89816
default  ·  2023-02-10
Show (dbglevel 1) the number of file descriptors available.
03325d0
default  ·  2023-02-10
Show the fd rlimit at httpd startup.
b48a4dd
default  ·  2023-02-10
Updated TODO.
4dc4030
default  ·  2023-02-10
Updated RELEASE_NOTES.
d4979d9
default  ·  2023-02-10
Added more job_fifo concurrency protections.
3ba3815
default  ·  2023-02-10
Fixed 32bit arch warnings when passing the thread id.
a92fb94
default  ·  2023-02-09
Updated RELEASE_NOTES.
677c392
default  ·  2023-02-09
Updated RELEASE_NOTES.
4849b9d
default  ·  2023-02-09
Updated documentation.
090a28b
default  ·  2023-02-09
The number of threads can be forced from the config file.
308a0e0
default  ·  2023-02-08
Updated RELEASE_NOTES.
436dbf9
default  ·  2023-02-08
Followers can be deleted.
2ed2914
default  ·  2023-02-08
Print errno in user file opening errors.
f5d3859
default  ·  2023-02-08
Added the user to the notification.
5d126d0
default  ·  2023-02-08
Only show the 'in reply to' link if level == 0.
03ed4d5
default  ·  2023-02-08
Updated TODO.
95926fb
default  ·  2023-02-08
Use timeline_here() for parents in html_entry().
b64d0f3
default  ·  2023-02-08
New function timeline_here().
3fcc139
default  ·  2023-02-08
timeline_top_level() now looks for the entries in the user caches.
b8cd0d6
default  ·  2023-02-08
New function timeline_fn_by_md5().
819211c
default  ·  2023-02-08
Updated TODO.
09a4423
default  ·  2023-02-07
Debug level tweaks.
8ff5db2
default  ·  2023-02-07
Updated RELEASE_NOTES.
944bd60
default  ·  2023-02-07
Deleted old output message processing in user queue.
4cca157
default  ·  2023-02-07
Output messages are now processed by the pool of threads.
8f63c62
default  ·  2023-02-07
Log unexpected q_item types.
7be01b7
default  ·  2023-02-07
Output messages are sent with send_to_inbox_raw().
3ddf76c
default  ·  2023-02-07
New function send_to_inbox_raw().
67f2d43
default  ·  2023-02-07
New utility function mkdirx().
392c514
default  ·  2023-02-07
Ensure the setgid bit is set in the base directory.
fabe6a5
default  ·  2023-02-07
Tweaked user and group permissions for new files and dirs.
b8b0b96
default  ·  2023-02-07
Changed some debug levels.
967a96b
default  ·  2023-02-07
Updated documentation.
6a45392
default  ·  2023-02-07
Updated RELEASE_NOTES.
f253ea6
default  ·  2023-02-07
Added web interface for the Telegram information.
2db57c9
default  ·  2023-02-07
Added internals for Telegram notifications.
f6d5135
default  ·  2023-02-06
process_queue() now posts the q_item to the thread pool.

Instead of calling process_queue_item() itself.
b2d186c
default  ·  2023-02-06
The pool of threads now process q_items.

Also, the purge is commanded as a q_item.
b16ceaf
default  ·  2023-02-06
Identify the job threads by number.
8b465a5
default  ·  2023-02-06
Incoming connections are processed by the pool of threads.
451d964
default  ·  2023-02-06
More thread work.
06fc40e
default  ·  2023-02-06
Simplified job_post() and job_wait().
6bcc6bf
default  ·  2023-02-06
New functions job_post() and job_wait() (untested).
2ee6bdc
default  ·  2023-02-06
Backport from xs.
66d974a
default  ·  2023-02-06
Started work towards the pool of threads.
307e0aa
default  ·  2023-02-06
Input connections cannot be non-threaded.
9c98b59
default  ·  2023-02-05
Updated RELEASE_NOTES.
a019604
default  ·  2023-02-05
Updated documentation.
f36fb45
default  ·  2023-02-05
The 'note' command now accepts -e and -.
7a2cce4
default  ·  2023-02-05
Updated RELEASE_NOTES.
f34bbff
default  ·  2023-02-05
Updated documentation.
c4e78f2
default  ·  2023-02-05
Updated RELEASE_NOTES.
70c73d0
default  ·  2023-02-05
New user option 'purge_days'.
143c735
default  ·  2023-02-05
Reworked purge_user() to be clearer.
9cb6216
default  ·  2023-02-05
timeline_get_by_md5() reads from the user cachedirs instead of the global object.

This way, user defined purging will be easier to implement.
71a7569
default  ·  2023-02-05
Deleted the type argument from object_get_my_md5() and object_get().

It was never used.
bad9f3a
default  ·  2023-02-05
Renamed timeline_get() to timeline_get_by_md5(), as that is what id does.
12aedfa
default  ·  2023-02-05
New function timeline_get().
8983eb1
default  ·  2023-02-05
Minor README tweak.
11c7d6e
default  ·  2023-02-04
Version 2.20 RELEASED.
7dd3c8a
default  ·  2023-02-03
Updated TODO.
e602221
default  ·  2023-02-03
Merge branch 'master' of /home/angel/git/snac2
68c48a7
default  ·  2023-02-03
Updated TODO.
43c83ce
default  ·  2023-02-03
More debug level changes.
d490898
default  ·  2023-02-03
Elevated debug level to bad user / invalid user messages.
928f22f
default  ·  2023-02-02
Email notifications have been moved to the global queue.
c639553
default  ·  2023-02-02
New function queue() (the global queue).
108ed07
default  ·  2023-02-02
Renamed process_queue_item() to process_user_queue_item().
8d22c44
default  ·  2023-02-02
process_queue() has been renamed to process_user_queue().
106c94e
default  ·  2023-02-02
queue() renamed to user_queue().
ee77e45
default  ·  2023-02-02
dequeue() does not need a snac argument.
56c4711
default  ·  2023-02-02
enqueue_output() adds the keyid and seckey args to the q_item.
829cdb6
default  ·  2023-02-02
Move the #main-key adding back to the origin.
adff9c5
default  ·  2023-02-02
New function http_signed_request_raw().
4634392
default  ·  2023-02-02
Minor header tweaks.
ec07b0c
default  ·  2023-02-02
Backport from xs.
6c03390
default  ·  2023-02-01
Moved the angry emoticon above the sad one to avoid clashes.
12131b6
default  ·  2023-02-01
Added the angry emoticon.
c252432
default  ·  2023-01-31
New function process_queue_item().
f0ef1d4
default  ·  2023-01-31
Reworked enqueue_message().
274ae3d
default  ·  2023-01-31
Reworked enqueue_email().
4e62b40
default  ·  2023-01-31
Reworked enqueue_output().
0233d73
default  ·  2023-01-31
Started rewriting the queue.
cabbdbe
default  ·  2023-01-31
Deleted dead code.
94c4790
default  ·  2023-01-31
Unified queue message field names.
ba4df29
default  ·  2023-01-31
More symbol renaming.
74d30a5
default  ·  2023-01-31
Some symbol renaming.
2d7074a
default  ·  2023-01-31
Deleted old paths to purge.
bad3768
default  ·  2023-01-28
Attached images have a hashed name instead of a time one.
d38ed6b
default  ·  2023-01-28
Updated RELEASE_NOTES.
4e86847
default  ·  2023-01-28
Image attachments in posts can now have descriptions ('alt text').
d3cf86c
default  ·  2023-01-28
New post field 'alt_text'.
876bebd
default  ·  2023-01-28
Backport from xs.
5163f93
default  ·  2023-01-27
Bumped version.
756e8cb
default  ·  2023-01-27
More tweaks to the default avatar.
aecfcac
default  ·  2023-01-27
Some tweaks to the default avatar.
a3ed240
default  ·  2023-01-27
New function default_avatar_base64().
0607ebc
default  ·  2023-01-27
New file susie-cool.png.
209dc9c
default  ·  2023-01-26
Updated TODO.
28e1eb2
default  ·  2023-01-25
Version 2.19 RELEASED.
0756fc6
default  ·  2023-01-25
Updated TODO.
8cdc8e6
default  ·  2023-01-25
Updated documentation.
b3f2e92
default  ·  2023-01-25
Updated RELEASE_NOTES.
fd1e281
default  ·  2023-01-24
Use a shorter timeout for first output connections.
4baf56c
default  ·  2023-01-24
Backport from xs.
af604f9
default  ·  2023-01-24
Updated RELEASE_NOTES.
428d756
default  ·  2023-01-24
Added edit support for posts.
2921dbe
default  ·  2023-01-22
Always make ids unique.
4aabc7a
default  ·  2023-01-22
Updated TODO.
7199c00
default  ·  2023-01-20
In msg_note(), store the original content in the sourceContent field.
a38c7ae
default  ·  2023-01-17
Updated year in copyright notices.
e46559c
default  ·  2023-01-17
Updated TODO.
8196c2c
default  ·  2023-01-17
Updated RELEASE_NOTES.
b262961
default  ·  2023-01-17
Process HTML Unicode entities specially in process_tags().
8e1f443
default  ·  2023-01-17
Bumped version.
56ee90e
default  ·  2023-01-17
Updated TODO.
3f7ff12
default  ·  2023-01-14
Version 2.18 RELEASED.
01376cd
default  ·  2023-01-13
Minor message corrections.
66da90b
default  ·  2023-01-13
Updated documentation.
6406877
default  ·  2023-01-13
Usage of unveil() and pledge() can be disabled from config.
ed6a94e
default  ·  2023-01-13
Updated RELEASE_NOTES.
3cb1725
Andrew Alderwick  ·  2023-01-13
Added OpenBSD's unveil() and pledge() support.
a99f742
default  ·  2023-01-13
Updated RELEASE_NOTES.
11ba44f
default  ·  2023-01-13
Some mention formatting tweaks.
e58eb06
default  ·  2023-01-13
Minor URL formatting tweaks.
964b11e
default  ·  2023-01-13
Updated TODO.
1d0ab9c
default  ·  2023-01-12
Added (partial) support for #HashTags in posts.
bb0d8f2
default  ·  2023-01-12
Backport from xs.
16be679
default  ·  2023-01-11
Show the More... link above the 'About this site'.
6b344b8
default  ·  2023-01-11
Deleted unused argument in timeline_request().
40b3f73
default  ·  2023-01-11
Deleted unused argument in timeline_admire().
75f8554
default  ·  2023-01-11
Deleted unused arguments in timeline_add().
1aac24c
default  ·  2023-01-11
More keyId/signature tweaks.
1438d04
default  ·  2023-01-10
Log tweaks.
b2da294
default  ·  2023-01-10
Updated TODO.
23eb05e
default  ·  2023-01-10
Use the already loaded actor in check_signature().
d2eae2b
default  ·  2023-01-10
Backport from xs.
061291c
default  ·  2023-01-10
Backport from xs.
c37dd39
default  ·  2023-01-09
Updated RELEASE_NOTES.
029367f
default  ·  2023-01-09
Show the mentioned people after a CC:.
f5ac531
default  ·  2023-01-09
Log check_signature() errors.
d4e7df4
default  ·  2023-01-09
Updated TODO.
9eb960a
default  ·  2023-01-08
Backport from xs.
db365bc
default  ·  2023-01-08
Updated RELEASE_NOTES.
da7e57f
default  ·  2023-01-08
Backport from xs.
631f16a
default  ·  2023-01-08
Updated dependencies.
eb22dc5
default  ·  2023-01-08
Updated documentation.
54d1013
default  ·  2023-01-08
More work in check_signature() error archiving.
7bcac99
default  ·  2023-01-08
Don't use goto in check_signature().

It seems to interfere with cleanup functions in llvm.
1f949b4
default  ·  2023-01-08
Move the ~/error directory to where it belongs.
448c4ad
default  ·  2023-01-08
The headers of signature errors are archived in the ~/error directory (if exists).
384cb74
default  ·  2023-01-08
Minor refactor to check_signature().
315a43a
default  ·  2023-01-07
Added support for HTTP signature pseudo-headers (created) and (expires).

They are used in Lemmy.
9525be7
default  ·  2023-01-06
Updated RELEASE_NOTES.
47e6e47
default  ·  2023-01-04
The purge ttl for stray global objects have been shortened.
845df51
default  ·  2023-01-03
Don't generate empty children popups.
abd56da
default  ·  2022-12-27
Version 2.17 RELEASED.
913231d
default  ·  2022-12-25
Add a link rel=alternate to the user RSS.
7b516b9
default  ·  2022-12-25
Updated TODO.
b564d8b
default  ·  2022-12-24
More curl timeout tweaks.
292d7c3
default  ·  2022-12-24
Fixed log level for 'serving actor'.
850259b
default  ·  2022-12-23
Added a working space to timeline_request().
e762d94
default  ·  2022-12-23
Don't rewrite the id unless it's different.
f9f6d96
default  ·  2022-12-23
Corrected a debug level.
e100027
default  ·  2022-12-23
Updated RELEASE_NOTES.
f83ff46
default  ·  2022-12-23
Fixed crash on some webfinger errors.
890e448
default  ·  2022-12-23
Updated RELEASE_NOTES.
0bba515
default  ·  2022-12-23
timeline_request() fixes the canonical id for the object.
a24b27b
default  ·  2022-12-23
Don't generate inReplyTo as an empty string.
03251e6
default  ·  2022-12-21
Bumped version.
865be66
default  ·  2022-12-21
Updated RELEASE_NOTES.
9b3ede8
grunfink  ·  2022-12-21
Merge pull request 'Fix 500 errors in (OpenBSD) relayd.' (#26) from alderwick/snac2:relayd-compat into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/26
75d0b1a
Andrew Alderwick  ·  2022-12-20
Fix 500 errors in (OpenBSD) relayd.
61bdccb
default  ·  2022-12-20
Version 2.16 RELEASED.
97ac962
default  ·  2022-12-20
Updated RELEASE_NOTES.
dda6037
default  ·  2022-12-19
The 'Older...' details are back, now better.
020b854
default  ·  2022-12-18
Deleted the 'Older...' details tag because it's becoming too confusing.
09c782e
default  ·  2022-12-18
Updated RELEASE_NOTES.
bc7a6c2
default  ·  2022-12-18
Log write errors in _object_add() more prominently.
4cecff5
default  ·  2022-12-18
Updated RELEASE_NOTES.
e31734c
default  ·  2022-12-18
Conversations can be collapsed.
294e183
default  ·  2022-12-18
Updated RELEASE_NOTES.
9573f3d
default  ·  2022-12-17
Updated RELEASE_NOTES.
97e040e
default  ·  2022-12-17
Backport from xs.
d8b7991
default  ·  2022-12-17
Updated RELEASE_NOTES.
3acc164
default  ·  2022-12-16
Backport from xs.
40c748b
default  ·  2022-12-16
Don't force HTTP/1.1 connections by default.
8461fbf
default  ·  2022-12-16
Log the actor request.
e6c48cc
default  ·  2022-12-16
In msg_note(), delete all cc recipients also in the to.
25acaf1
default  ·  2022-12-16
Replaced all calls to post() with enqueue_message().
427f734
default  ·  2022-12-16
New function enqueue_message().
286eb29
default  ·  2022-12-15
Lower debug level to repeated follows.
df61287
default  ·  2022-12-15
Log repeated Follow messages.
32eb3fb
default  ·  2022-12-15
Also show the 'updated' timestamp.
3d2ce3a
default  ·  2022-12-15
Updated RELEASE_NOTES.
83fe02b
default  ·  2022-12-15
Updated TODO.
ac50a77
default  ·  2022-12-15
Bumped version.
6a7007e
default  ·  2022-12-15
Added support for Update + Note on input.
a0459df
default  ·  2022-12-15
Don't create a parent index if it already exists.
4874134
default  ·  2022-12-15
Updated RELEASE_NOTES.
d2febc4
grunfink  ·  2022-12-15
Merge pull request 'Improve Docker image generation' (#24) from ogarcia/snac2:docker into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/24
89f6924
Óscar García Amor  ·  2022-12-14
Improve Docker image generation
953d109
default  ·  2022-12-14
Version 2.15 RELEASED.
23f1fcf
default  ·  2022-12-14
Updated RELEASE_NOTES.
366a48e
default  ·  2022-12-14
Updated RELEASE_NOTES.
7466241
default  ·  2022-12-14
Fixed a deletion error.
645e7ec
default  ·  2022-12-14
Some code reordering to placate scan-build's wrath.
f5086fe
default  ·  2022-12-13
Updated TODO.
6266f9e
default  ·  2022-12-13
Updated RELEASE_NOTES.
6056077
default  ·  2022-12-13
Fixed crash when unfollowing.
a67a82d
default  ·  2022-12-13
In server_get_handler(), body must be a dynamic string.
17afbbe
default  ·  2022-12-13
Updated RELEASE_NOTES.
56ce91e
default  ·  2022-12-13
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
99c3ec1
grunfink  ·  2022-12-13
Merge pull request 'Serve robots.txt (disallow all)' (#23) from kensanata/snac2:robots into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/23
e09a405
default  ·  2022-12-13
Updated RELEASE_NOTES.
1eb5c7a
grunfink  ·  2022-12-13
Merge pull request 'Add docker-compose support' (#22) from tobyjaffey/snac2:docker into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/22
63f02f4
Alex Schroeder  ·  2022-12-12
Serve robots.txt (disallow all)
4afa513
Toby Jaffey  ·  2022-12-12
Add docker-compose support, so a working development server with HTTPS can be started with:
    docker-compose build && docker-compose up
aa82e14
default  ·  2022-12-11
Backport from xs.
0337c71
default  ·  2022-12-11
Backport from xs.
79270ab
default  ·  2022-12-11
Log the response date in send_to_inbox() errors.
8eb2cc7
default  ·  2022-12-10
Updated TODO.
14a516b
default  ·  2022-12-10
Call pthread_detach() and spawning the purge.
bf3cfe2
default  ·  2022-12-10
Bumped development version.
7336a8e
default  ·  2022-12-10
Updated RELEASE_NOTES.
1de96f2
grunfink  ·  2022-12-10
Merge pull request 'Ensure that pd variable stays in scope while curl request runs' (#20) from tobyjaffey/snac2:fix_19 into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/20
4b37678
Toby Jaffey  ·  2022-12-10
Ensure that pd variable stays in scope while curl request runs
Fix for #19
2fd7e20
default  ·  2022-12-10
Use object_likes_len() and object_announces_len() in the post score.
83a68d6
default  ·  2022-12-10
New function index_len().
6fd5d14
default  ·  2022-12-10
In process_queue(), do not retry for 404 or 410 status.
32b52bb
default  ·  2022-12-09
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
16a7fc0
grunfink  ·  2022-12-09
Merge pull request 'Makefile improvements' (#18) from CyberTaIlor/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/18
1b73c54
default  ·  2022-12-09
Backport from xs.
9858d27
Anna “CyberTailor”  ·  2022-12-09
Makefile improvements

* Don't overwrite CFLAGS from env
* Respect CPPFLAGS and LDFLAGS
* Create bindir in "install"
6087b45
default  ·  2022-12-09
Version 2.14 RELEASED.
b2562af
default  ·  2022-12-08
Updated documentation.
e2e533c
default  ·  2022-12-08
Updated RELEASE_NOTES.
e39a6d3
default  ·  2022-12-08
Updated RELEASE_NOTES.
5c6d44c
default  ·  2022-12-08
Added support for /.well-known/nodeinfo.
0a0896b
default  ·  2022-12-08
Updated TODO.
0d88142
default  ·  2022-12-08
Updated RELEASE_NOTES.
5e837aa
default  ·  2022-12-08
Don't show the 'Boost' button for private messages.
f62e015
default  ·  2022-12-08
Updated TODO.
a6c70ce
default  ·  2022-12-08
Updated RELEASE_NOTES.
3d9254c
default  ·  2022-12-08
Updated RELEASE_NOTES.
3dd9d9b
default  ·  2022-12-08
Updated RELEASE_NOTES.
cef10f5
default  ·  2022-12-08
Added level of debug for 'Delete' messages.
2dba85e
default  ·  2022-12-08
Also add 'redir' hidden field to Replies.
a1673e6
default  ·  2022-12-08
Some tweaks to improve the page position after like or boost.
a5b8dd7
default  ·  2022-12-08
Wrapped too long string literals.
4159e41
default  ·  2022-12-08
Updated RELEASE_NOTES.
8222776
default  ·  2022-12-08
Little tweak to previous change to avoid a memleak.
7565b8f
grunfink  ·  2022-12-08
Merge pull request 'Fix mentions with one @ sign' (#16) from kensanata/snac2:fix-mention-with-one-at-sign into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/16
4c996c7
Alex Schroeder  ·  2022-12-07
Fix mentions with one @ sign

In a mention like the following, the old code had a problem: It would
split the name by '@' and get a list of two elements. Since this is
less than three, it would then try to get the domain name from the
href ("social.alexschroeder.ch") and concatenate it with the name,
resulting in "alex@social.alexschroeder.ch@social.alexschroeder.ch".
The reason was that the code expects an initial "@". In that case,
splitting "@alex@social.alexschroeder.ch" would result in three
elements, and no domain name guessing would happen. If, on the other
hand, the name was "@foo" then finding the domain name in the URL and
appending it so that you get @foo@domain.name is the correct solution.

    "tag": [
        {
            "type": "Mention",
            "href": "https://social.alexschroeder.ch/alex",
            "name": "alex@social.alexschroeder.ch"
        }
    ],

The fix consists in prepending an "@" if the name does not start with
"@" and leaving the rest of the code unchanged.
df1b151
default  ·  2022-12-07
Ask for just 1 more entry beyond the current page to test if there are more.
979389f
default  ·  2022-12-07
Fixed last minute typo.
28816aa
default  ·  2022-12-07
Minor tweaks to paged timeline output.
060a9fc
grunfink  ·  2022-12-07
Merge pull request 'Pagination of the private and public page' (#13) from kensanata/snac2:pagination into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/13
4726de6
default  ·  2022-12-06
Fixed memory leak.
c60a4d9
default  ·  2022-12-06
Backport from xs.
a221237
Alex Schroeder  ·  2022-12-04
Pagination of the public and private page

Use the query parameters skip and show to control what you can see,
e.g. /alex/admin?skip=0&show=4

Don't use or save the timeline cache if either is set.

The following functions were changed from accepting a single max
parameter to accepting both skip and show:
timeline_simple_list, timeline_list, index_list_desc.
345f644
default  ·  2022-12-06
Updated TODO.
9fa3fca
grunfink  ·  2022-12-06
Merge pull request 'Add loading="lazy" to all images' (#15) from kensanata/snac2:lazy-loading into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/15
b60addc
Alex Schroeder  ·  2022-12-06
Add loading="lazy" to all images

Only load images when they're visible.

"The loading attribute on an <img> element … can be used to instruct
the browser to defer loading of images/iframes that are off-screen
until the user scrolls near them."
https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading#images_and_iframes
8fb3180
default  ·  2022-12-06
Updated TODO.
deced47
default  ·  2022-12-05
Updated TODO.
5041014
grunfink  ·  2022-12-05
Merge pull request 'Handle /favicon.ico' (#12) from kensanata/snac2:favicon into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/12
d159765
default  ·  2022-12-04
Updated RELEASE_NOTES.
32d9f0f
default  ·  2022-12-04
Updated documentation.
48ebc54
default  ·  2022-12-04
New command line option 'resetpwd'.
7787a2d
default  ·  2022-12-04
New function new_password().
eda9e94
Alex Schroeder  ·  2022-12-04
Handle /favicon.ico

Reply with the susie.png.
6714084
default  ·  2022-12-04
Merge branch 'master' of triptico.com:git/snac2
2d01443
default  ·  2022-12-04
Updated TODO.
05f7ab6
default  ·  2022-12-04
Fixed example.
0e86119
default  ·  2022-12-04
Fixed crash in new code (moron me...)
926e903
default  ·  2022-12-04
Updated RELEASE_NOTES.
785c859
default  ·  2022-12-04
Match the CW checkbox status to what is currently configured.
1c8ff95
grunfink  ·  2022-12-04
Merge pull request 'Add an option to always show sensitive content' (#9) from kensanata/snac2:optional-cw into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/9
7e07b01
default  ·  2022-12-04
Bumped version.
fb4d1f0
default  ·  2022-12-04
Updated RELEASE_NOTES.
881d05e
grunfink  ·  2022-12-04
Merge pull request 'Use "new" instead of "New" for log messages' (#11) from kensanata/snac2:lower-case-log-messages into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/11
dcfc527
grunfink  ·  2022-12-04
Merge pull request 'Fix arguments in callto xs_fmt' (#10) from kensanata/snac2:segfault-in-upgrade into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/10
20f862a
Alex Schroeder  ·  2022-12-04
Use "new" instead of "New" for log messages

The messages for new "Like" and new "Delete" started with an uppercase
n instead of a lowercase n like all the other log messages.
5b1d2be
Alex Schroeder  ·  2022-12-04
Fix arguments in callto xs_fmt

Without this, db_upgrade segfaults.
a3fa7db
Alex Schroeder  ·  2022-12-03
No sensitive content in the public timeline

Don't use h3 in the public timeline. Use the details tag, as before,
but default to "open" if the config setting is set. Only do this in
the private timeline (where local == 0, as set by html_get_handler).
e4c2671
Alex Schroeder  ·  2022-12-02
Add an option to always show sensitive content

- add a cw key to user.json
- add a cw checkbox to user setup form
- handle the cw parameter when updating user setup
- when rendering an entry, look at the cw config: if set, use a h3
  heading for the summary; otherwise use details + summar + SENSITIVE
  CONTENT like before
4b6e1df
default  ·  2022-12-04
Updated TODO.
fd2b150
default  ·  2022-12-04
Don't create obsolete directories in adduser().
30e3f2f
default  ·  2022-12-04
Updated documentation.
70901fa
default  ·  2022-12-04
Updated TODO.
70d1cf7
default  ·  2022-12-04
Version 2.13 RELEASED.
d023807
default  ·  2022-12-04
Set default debug level to 1 for most object db functions.
bc0f9d1
default  ·  2022-12-04
Deleted debug code in html_entry().
144d3c2
default  ·  2022-12-04
Don't show the messages' md5.
002bec4
default  ·  2022-12-03
In _object_user_cache(), don't call index_add() if link() fails.

It will most probably fail because the object is already there.
85d0f40
default  ·  2022-12-03
From timeline_admire(), add to both caches.
2bf9134
default  ·  2022-12-03
Added :shrug2:
bd0149e
default  ·  2022-12-03
Don't try to admire empty messages.
76bfc36
default  ·  2022-12-03
Updated TODO.
3929778
default  ·  2022-12-03
Don't store messages in public/ that are not public.

They weren't shown anyway, but it's better to be sure.
3c95c8a
default  ·  2022-12-03
Set default max_timeline_entries to 128.