Commit graph

394 commits

Author SHA1 Message Date
default
5d26f31a8a Fixed overzealous rejection of Announces. 2023-04-05 23:23:19 +02:00
default
1cdd6d1996 Version 2.26 RELEASED. 2023-04-05 09:19:51 +02:00
default
1722b2891d Bumped version. 2023-04-01 04:22:36 +02:00
default
ba787061d8 Version 2.25 RELEASED. 2023-03-08 20:17:33 +01:00
default
e3e45b7c98 New function is_msg_for_me(). 2023-03-06 14:28:53 +01:00
default
60f77b6cad msg_update() sends copies the 'to' and 'cc' fields in notes. 2023-03-06 11:26:43 +01:00
default
b2ce9323db Added the url to srv_archive(). 2023-03-02 17:13:17 +01:00
default
5036cb5e11 Connection jobs are treated as urgent. 2023-03-02 12:38:02 +01:00
default
987f1d288b Bumped version. 2023-03-02 09:30:23 +01:00
default
29b12498dd Simplified is_msg_public(). 2023-03-02 09:15:40 +01:00
default
5e3c50d6e1 New inbox collection functions. 2023-03-02 08:43:50 +01:00
default
d75a22adab New function srv_archive_error(). 2023-03-01 08:25:36 +01:00
default
cb9e82acf7 Version 2.24 RELEASED. 2023-02-25 18:17:51 +01:00
default
1630519066 Deleted index_del_md5() and index_del(). 2023-02-23 18:43:52 +01:00
default
307c9420c3 New function index_gc(). 2023-02-23 10:42:09 +01:00
default
2bfebba7be Don't wait for 3 seconds if there were some q_items processed. 2023-02-22 08:39:54 +01:00
default
5230435b31 New boolean argument 'priv' to msg_note(). 2023-02-20 09:32:44 +01:00
default
27bc74ab5c Bumped version. 2023-02-20 06:01:19 +01:00
default
a3804c2c89 Version 2.23 RELEASED. 2023-02-19 12:36:49 +01:00
default
0f4db7cf26 New file ~user/user_o.json, for the admin to override user settings. 2023-02-12 09:17:38 +01:00
default
dca071b14d Version 2.22 RELEASED. 2023-02-11 14:11:08 +01:00
default
28d1da0a81 Don't fail silently if the job fifo is not ready. 2023-02-11 06:28:36 +01:00
default
2a47bdd572 Bumped version. 2023-02-10 15:09:55 +01:00
default
f4d337c549 Version 2.21 RELEASED. 2023-02-10 14:02:50 +01:00
default
b64d0f338d New function timeline_here(). 2023-02-08 13:28:03 +01:00
default
3fcc139d66 timeline_top_level() now looks for the entries in the user caches. 2023-02-08 13:21:44 +01:00
default
4cca157641 Output messages are now processed by the pool of threads. 2023-02-07 13:31:48 +01:00
default
3ddf76c2aa New function send_to_inbox_raw(). 2023-02-07 10:29:06 +01:00
default
67f2d4318d New utility function mkdirx(). 2023-02-07 09:25:01 +01:00
default
fabe6a5006 Tweaked user and group permissions for new files and dirs. 2023-02-07 09:01:57 +01:00
default
2db57c9df9 Added internals for Telegram notifications. 2023-02-07 07:37:23 +01:00
default
f6d51357af process_queue() now posts the q_item to the thread pool.
Instead of calling process_queue_item() itself.
2023-02-06 20:29:18 +01:00
default
b2d186cd0f The pool of threads now process q_items.
Also, the purge is commanded as a q_item.
2023-02-06 20:07:29 +01:00
default
70c73d0336 New user option 'purge_days'. 2023-02-05 19:09:22 +01:00
default
71a7569467 Deleted the type argument from object_get_my_md5() and object_get().
It was never used.
2023-02-05 17:45:00 +01:00
default
bad9f3a8c6 Renamed timeline_get() to timeline_get_by_md5(), as that is what id does. 2023-02-05 17:39:40 +01:00
default
12aedfadfd New function timeline_get(). 2023-02-05 13:35:50 +01:00
default
11c7d6ebff Version 2.20 RELEASED. 2023-02-04 19:58:00 +01:00
default
928f22fbba Email notifications have been moved to the global queue. 2023-02-02 05:21:16 +01:00
default
8d22c448d4 process_queue() has been renamed to process_user_queue(). 2023-02-02 04:50:51 +01:00
default
106c94ef86 queue() renamed to user_queue(). 2023-02-02 04:47:59 +01:00
default
ee77e45abb dequeue() does not need a snac argument. 2023-02-02 04:44:30 +01:00
default
463439283a Minor header tweaks. 2023-02-02 03:49:38 +01:00
default
274ae3d142 Reworked enqueue_email(). 2023-01-31 21:49:43 +01:00
default
4e62b409af Reworked enqueue_output(). 2023-01-31 21:15:16 +01:00
default
ba4df29abd More symbol renaming. 2023-01-31 18:38:56 +01:00
default
74d30a561c Some symbol renaming. 2023-01-31 18:33:45 +01:00
default
4e86847f72 Image attachments in posts can now have descriptions ('alt text'). 2023-01-28 18:22:42 +01:00
default
5163f93c02 Bumped version. 2023-01-27 18:31:16 +01:00
default
a3ed2408fc New function default_avatar_base64(). 2023-01-27 18:17:11 +01:00
default
28e1eb2586 Version 2.19 RELEASED. 2023-01-25 18:39:30 +01:00
default
fd1e281cba Use a shorter timeout for first output connections. 2023-01-24 15:06:58 +01:00
default
a38c7aeadc Updated year in copyright notices. 2023-01-17 09:50:16 +01:00
default
8e1f4430ff Bumped version. 2023-01-17 09:21:42 +01:00
default
3f7ff12331 Version 2.18 RELEASED. 2023-01-14 18:16:25 +01:00
default
40b3f739d2 Deleted unused argument in timeline_admire(). 2023-01-11 20:47:36 +01:00
default
75f8554e38 Deleted unused arguments in timeline_add(). 2023-01-11 20:40:13 +01:00
default
1aac24ca75 More keyId/signature tweaks. 2023-01-11 09:38:19 +01:00
default
23eb05ee99 Use the already loaded actor in check_signature(). 2023-01-10 18:21:00 +01:00
default
47e6e47323 The purge ttl for stray global objects have been shortened. 2023-01-04 09:41:02 +01:00
default
abd56da2ba Version 2.17 RELEASED. 2022-12-27 10:36:21 +01:00
default
03251e6fb9 Bumped version. 2022-12-21 10:28:29 +01:00
default
61bdccb8cc Version 2.16 RELEASED. 2022-12-20 08:27:43 +01:00
default
427f7341fa New function enqueue_message(). 2022-12-16 07:09:25 +01:00
default
ac50a77abd Bumped version. 2022-12-15 11:06:49 +01:00
default
953d109f10 Version 2.15 RELEASED. 2022-12-14 10:08:49 +01:00
default
bf3cfe24c9 Bumped development version. 2022-12-10 14:49:46 +01:00
default
83a68d635d New function index_len(). 2022-12-10 11:19:26 +01:00
default
6087b4540d Version 2.14 RELEASED. 2022-12-09 16:39:45 +01:00
Alex Schroeder
a221237637 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.
2022-12-06 18:27:33 +01:00
default
48ebc54b6e New command line option 'resetpwd'. 2022-12-04 21:26:24 +01:00
default
7787a2ded9 New function new_password(). 2022-12-04 21:14:18 +01:00
default
7e07b0192c Bumped version. 2022-12-04 11:38:41 +01:00
default
70d1cf784a Version 2.13 RELEASED. 2022-12-04 06:43:46 +01:00
default
c70bd2a85d Show the development version. 2022-12-03 19:28:16 +01:00
default
d00026ac06 Upgraded local/ to public/. 2022-12-03 17:58:49 +01:00
default
af6d31ff83 New function timeline_simple_list(). 2022-12-03 07:27:26 +01:00
default
2614a8b3cb Show stray parents in the origin. 2022-12-02 21:36:12 +01:00
default
a133427e8d More old code cleaning. 2022-12-02 20:56:51 +01:00
default
3e2891b100 Renamed timeline_here() to object_here(). 2022-12-02 20:44:51 +01:00
default
4819c4248d More old code deletions. 2022-12-02 20:39:31 +01:00
default
c06136a8ac Fixed one post queries. 2022-12-02 19:39:17 +01:00
default
c00e3afcdc Big data storage change. 2022-12-02 19:14:59 +01:00
default
07fec71273 Upgraded followers to the new db. 2022-11-28 10:46:42 +01:00
default
9a0a03dd9f New function object_del_if_unref(). 2022-11-27 09:45:06 +01:00
default
2ad703e520 timeline_top_level() works. 2022-11-26 18:52:51 +01:00
default
159a591f45 New function timeline_top_level() (untested). 2022-11-26 18:04:05 +01:00
default
4f261ec7b9 New function index_first(). 2022-11-26 17:35:18 +01:00
default
2d7c327cbf New function mtime_nl(). 2022-11-25 13:33:13 +01:00
default
e2c332c68a On Update + Person, call object_del() before actor_add(). 2022-11-25 12:09:30 +01:00
default
200a6a0c91 The global object database is also purged. 2022-11-25 11:37:05 +01:00
default
45be9a1cb1 New command-line command 'upgrade'. 2022-11-25 10:53:16 +01:00
default
d215f8ce46 Use the new hide API. 2022-11-24 09:49:54 +01:00
default
4553528507 New API for hidden threads. 2022-11-24 09:39:16 +01:00
default
9d7b35940f Renamed listfile functions to index. 2022-11-24 08:00:35 +01:00
default
180c3405a0 Added listfile prototypes to snac.h. 2022-11-23 20:50:35 +01:00
default
01a62669f6 actor_get() and actor_add() now use the object database. 2022-11-23 16:13:51 +01:00
default
2a5f10583b Version 2.12 RELEASED. 2022-11-23 15:46:43 +01:00
default
3e3e091cdb New function db_upgrade(). 2022-11-23 13:32:23 +01:00
default
0644518fd5 Version 2.11 RELEASED. 2022-11-18 19:23:39 +01:00
default
654326aa8b New function enqueue_output_to_actor(). 2022-11-18 08:21:40 +01:00
default
e01f23cbe2 Fixed Follow bug, introduced by latest sharedInbox change. 2022-11-18 08:10:47 +01:00
default
f0e17d6753 Queue messages to inboxes instead of actors. 2022-11-17 18:33:54 +01:00
default
236ca9af6b Call sanitize() as soon as possible. 2022-11-16 13:13:31 +01:00
default
8da08eadf8 Version 2.10 RELEASED. 2022-11-13 15:19:39 +01:00
default
73323a7fc0 Some formatting refactoring. 2022-11-13 08:41:50 +01:00
default
e313fc8bee Version 2.09 RELEASED. 2022-11-09 11:53:42 +01:00
default
8b252dab84 New 'Hide' button. 2022-11-04 08:48:15 +01:00
default
f09dc906a9 Version 2.08 RELEASED. 2022-11-03 08:27:15 +01:00
default
773be130ed More work in the people page. 2022-11-02 10:49:16 +01:00
default
5ee9504b18 Be more aggressive in HTML sanitization. 2022-10-28 18:06:42 +02:00
default
cec36f2de3 Version 2.07 RELEASED. 2022-10-26 09:05:37 +02:00
default
3acc70b270 Fixed a nasty macro expansion bug. 2022-10-26 06:43:47 +02:00
default
c0a3783ec8 New function srv_free(). 2022-10-25 10:38:20 +02:00
default
084731fec2 Send notification emails through the queue. 2022-10-21 19:07:20 +02:00
default
ddce319a12 Version 2.06 RELEASED. 2022-10-21 18:07:55 +02:00
default
a16600e330 Better 'Delete' message logging. 2022-10-20 10:34:32 +02:00
default
3462ecc950 New function purge_all(). 2022-10-17 11:00:34 +02:00
default
71eb5bb27c Version 2.05 RELEASED. 2022-10-16 20:47:45 +02:00
default
d9a15b8af7 Attachments are now starting to get real. 2022-10-16 18:03:28 +02:00
default
72c63ba5b8 Version 2.04 RELEASED. 2022-10-14 08:49:39 +02:00
default
6807fecc73 Version 2.03 RELEASED. 2022-10-10 09:18:52 +02:00
default
78ec3b077b Media can be attached to notes.
The web interface limits this (by now) to only one
attachment, given the URL.
2022-10-10 09:03:15 +02:00
default
266207a9a5 Version 2.02 RELEASED. 2022-10-07 18:15:37 +02:00
default
ae06064e4d New command-line option purge. 2022-10-04 18:46:12 +02:00
default
da7bf43385 New function adduser(). 2022-10-04 09:40:16 +02:00
default
4bb40857b2 New function initdb(). 2022-10-04 08:51:24 +02:00
default
5994b4a313 Version 2.01 RELEASED. 2022-10-03 19:17:12 +02:00
default
f82124a705 The history is shown at the bottom of the local timeline. 2022-10-02 18:16:58 +02:00
default
d29c00bd8f An 'Update' message is set to everyone when data is changed. 2022-10-02 17:42:36 +02:00
default
849913dc59 Use the time functions of xs_time.h. 2022-10-02 09:27:17 +02:00
default
82e9a03925 Implemented 'Delete'. 2022-10-01 19:37:47 +02:00
default
2c00c7b0b5 New web action 'Unfollow'. 2022-10-01 09:12:33 +02:00
default
3797355f94 New MUTE web action. 2022-10-01 07:45:36 +02:00
default
a52840414d Use doubles instead of floats. 2022-09-30 09:59:13 +02:00
default
3d544233a6 Timeline is cached. 2022-09-30 09:56:29 +02:00
default
392c014c26 New function check_signature() (incomplete). 2022-09-29 14:44:24 +02:00
default
f124d7accb Added support for one-entry timeline. 2022-09-29 13:15:57 +02:00
default
2be2c07e9c The input queue also has retries. 2022-09-28 20:41:07 +02:00
default
e7e89d2d57 New function ftime(). 2022-09-28 17:18:30 +02:00
default
ce2757552c More HTML work. 2022-09-28 09:46:21 +02:00
default
a636cf8b25 New function static_get(). 2022-09-28 09:29:09 +02:00
default
fc6a125146 New function html_msg_icon(). 2022-09-28 07:05:23 +02:00
default
b2c8264003 Added dummy HTTP handlers for html. 2022-09-28 05:22:08 +02:00
default
32661d2be7 The outbox returns now some entries. 2022-09-28 04:48:23 +02:00
default
f1dbd8e700 New variable USER_AGENT. 2022-09-27 18:01:51 +02:00
default
05bf4b2c3c New function msg_follow(). 2022-09-27 15:28:08 +02:00
default
0b6540f503 Notes can be posted WOW!. 2022-09-27 14:07:36 +02:00
default
26a3b260d5 Started function not_really_markdown(). 2022-09-27 09:38:46 +02:00
default
fd6f71bfe3 More work but signatures seem to still fail. 2022-09-26 11:19:45 +02:00
default
acc467c034 New function msg_admiration(). 2022-09-26 10:08:14 +02:00
default
d1a2a7438d New metadata 'referrer', that contains an actor.
This field contains the actor that boosted an entry.
2022-09-26 07:13:39 +02:00
default
6f7f98ded3 Fixed a bug in the digest header. 2022-09-25 18:50:53 +02:00
default
6169932733 New function timeline_request(). 2022-09-25 18:28:15 +02:00
default
bb70101fec New function timeline_admire(). 2022-09-25 17:42:39 +02:00
default
5792ef5d24 Process 'Create' messages (untested). 2022-09-25 07:58:25 +02:00
default
58de0798f2 New function srv_archive(). 2022-09-25 07:28:42 +02:00
default
a6712ba79a Also store the req object in enqueue_input(). 2022-09-24 10:03:27 +02:00
default
c181c57f56 New function enqueue_input(). 2022-09-23 23:09:09 +02:00
default
6e6c315494 New function activitypub_get_handler(). 2022-09-23 20:59:19 +02:00
default
1d694a245a xs_httpd_request() also returns the payload. 2022-09-23 20:28:23 +02:00
default
bbf5471039 New function process_queue(). 2022-09-23 19:37:01 +02:00
default
cf59d68491 New functions send_to_inbox() and send_to_actor(). 2022-09-23 19:07:45 +02:00
default
6586be50a0 Fixed bug in actor_request(). 2022-09-23 18:46:30 +02:00
default
11134e58a3 webfinger_get_handler() returns the status. 2022-09-23 17:40:59 +02:00
default
40193b1320 webfinger_request() returns the status. 2022-09-23 17:36:40 +02:00
default
bdc166111d [activitypub.c] New file. 2022-09-23 17:33:33 +02:00
default
5803b928b5 Minor actor tweak. 2022-09-22 18:52:42 +02:00
default
4f4f321a53 Added some actor functions. 2022-09-22 18:50:39 +02:00
default
b8436ddfde Renamed enqueue() to enqueue_output(). 2022-09-22 17:12:46 +02:00
default
28c7961e67 New macro valid_status(). 2022-09-22 11:50:53 +02:00
default
00a8929581 New function webfinger_request() (incomplete). 2022-09-22 10:15:24 +02:00
default
6e4294f8e8 Added a webfinger handler. 2022-09-21 21:12:49 +02:00
default
e7c886beb7 More httpd work. 2022-09-21 18:27:30 +02:00
default
7efb6d5833 New flag srv_running. 2022-09-21 18:13:11 +02:00
default
d76131b473 Added http signed request code (untested). 2022-09-20 21:00:16 +02:00
default
922b04b4d7 New function dequeue(). 2022-09-20 12:50:37 +02:00
default
e923a4f5ec New function queue(). 2022-09-20 12:43:49 +02:00
default
5d843a488e New function enqueue(). 2022-09-20 12:00:13 +02:00
default
065773c703 Added muted functions. 2022-09-20 11:38:18 +02:00
default
591613a49e Add following code. 2022-09-20 11:31:56 +02:00
default
9a01f731d7 More timeline work. 2022-09-20 10:49:24 +02:00
default
732654e73a Added some timeline functions. 2022-09-20 10:02:00 +02:00
default
acff91e0ad More follower data code. 2022-09-20 09:48:13 +02:00
default
5e438f8353 New function user_list(). 2022-09-19 23:33:11 +02:00
default
dd1a5ff147 Renamed user functions. 2022-09-19 23:03:18 +02:00
default
8be433c9b6 New function hash_password() and check_password(). 2022-09-19 22:58:27 +02:00
default
c88d4f1e15 [data.c] new file. 2022-09-19 22:41:30 +02:00
default
1ad66e5166 New functions snac_debug() and snac_log(). 2022-09-19 22:23:33 +02:00
default
32c188ae8f New functions snac_open() and snac_free(). 2022-09-19 22:19:14 +02:00
default
b1a1717fd9 Improved server debug functions. 2022-09-19 21:30:19 +02:00
default
91adc48178 Added time functions. 2022-09-19 21:24:55 +02:00
default
0d86568346 Start of work. 2022-09-19 21:13:40 +02:00
default
de917a07d2 More dummy files. 2022-09-19 20:47:22 +02:00