summaryrefslogtreecommitdiff
path: root/data.c
AgeCommit message (Collapse)Author
2023-01-31Some symbol renaming.default
2023-01-31Deleted old paths to purge.default
2023-01-17Updated year in copyright notices.default
2023-01-13Usage of unveil() and pledge() can be disabled from config.default
2023-01-13Added OpenBSD's unveil() and pledge() support.Andrew Alderwick
2023-01-12Backport from xs.default
2023-01-11Deleted unused argument in timeline_admire().default
2023-01-11Deleted unused arguments in timeline_add().default
2023-01-04The purge ttl for stray global objects have been shortened.default
2022-12-18Log write errors in _object_add() more prominently.default
2022-12-16Replaced all calls to post() with enqueue_message().default
2022-12-16New function enqueue_message().default
2022-12-15Don't create a parent index if it already exists.default
2022-12-14Fixed a deletion error.default
2022-12-13Fixed crash when unfollowing.default
2022-12-10New function index_len().default
2022-12-07Merge pull request 'Pagination of the private and public page' (#13) from ↵grunfink
kensanata/snac2:pagination into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/13
2022-12-06Fixed memory leak.default
2022-12-06Pagination of the public and private pageAlex Schroeder
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-04New function new_password().default
2022-12-04Fix arguments in callto xs_fmtAlex Schroeder
Without this, db_upgrade segfaults.
2022-12-04Set default debug level to 1 for most object db functions.default
2022-12-03In _object_user_cache(), don't call index_add() if link() fails.default
It will most probably fail because the object is already there.
2022-12-03From timeline_admire(), add to both caches.default
2022-12-03Don't store messages in public/ that are not public.default
They weren't shown anyway, but it's better to be sure.
2022-12-03Add this user admires to the public timeline.default
2022-12-03Upgrade timeline/ to private/.default
2022-12-03Upgraded local/ to public/.default
2022-12-03New function timeline_simple_list().default
2022-12-02Use xs_set_result() in timeline_top_level().default
2022-12-02New function object_here_by_md5().default
2022-12-02New function object_parent().default
2022-12-02More old code cleaning.default
2022-12-02Renamed timeline_here() to object_here().default
2022-12-02More old code deletions.default
2022-12-02The old timeline is no longer maintained.default
2022-12-02Big data storage change.default
2022-11-28Fixed status codes for follower_add() and follower_del().default
2022-11-28Changed following_list() to return a list of actors.default
2022-11-28Upgraded followers to the new db.default
2022-11-28New function object_user_cache_in().default
2022-11-27New function object_del_if_unref().default
2022-11-26Added some tweaks to file locking.default
2022-11-26timeline_top_level() works.default
2022-11-26New function timeline_top_level() (untested).default
2022-11-26New function index_first().default
2022-11-26Don't call object_del() from timeline_del().default
Only delete from each user's cache, not from the global database.
2022-11-26Only call the expensive index_del() if unlink() did not fail.default
2022-11-26Added comment.default
2022-11-26_object_user_cache() also update the indexes.default