default
|
7787a2ded9
|
New function new_password().
|
2022-12-04 21:14:18 +01:00 |
|
Alex Schroeder
|
5b1d2bebe9
|
Fix arguments in callto xs_fmt
Without this, db_upgrade segfaults.
|
2022-12-04 10:23:48 +01:00 |
|
default
|
d023807942
|
Set default debug level to 1 for most object db functions.
|
2022-12-04 06:40:17 +01:00 |
|
default
|
002bec4def
|
In _object_user_cache(), don't call index_add() if link() fails.
It will most probably fail because the object is already there.
|
2022-12-03 21:59:19 +01:00 |
|
default
|
85d0f40e65
|
From timeline_admire(), add to both caches.
|
2022-12-03 21:34:10 +01:00 |
|
default
|
3929778ea1
|
Don't store messages in public/ that are not public.
They weren't shown anyway, but it's better to be sure.
|
2022-12-03 20:28:23 +01:00 |
|
default
|
30e1a8ce08
|
Add this user admires to the public timeline.
|
2022-12-03 19:37:52 +01:00 |
|
default
|
67a81a7bf9
|
Upgrade timeline/ to private/.
|
2022-12-03 18:41:44 +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
|
adfc9217d7
|
Use xs_set_result() in timeline_top_level().
|
2022-12-02 21:24:17 +01:00 |
|
default
|
0c525335ee
|
New function object_here_by_md5().
|
2022-12-02 21:19:46 +01:00 |
|
default
|
908e068e36
|
New function object_parent().
|
2022-12-02 21:16:34 +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
|
67d57252ea
|
The old timeline is no longer maintained.
|
2022-12-02 20:28:27 +01:00 |
|
default
|
c00e3afcdc
|
Big data storage change.
|
2022-12-02 19:14:59 +01:00 |
|
default
|
5309a68e95
|
Fixed status codes for follower_add() and follower_del().
|
2022-11-28 11:24:19 +01:00 |
|
default
|
3c7cccba3d
|
Changed following_list() to return a list of actors.
|
2022-11-28 11:06:46 +01:00 |
|
default
|
07fec71273
|
Upgraded followers to the new db.
|
2022-11-28 10:46:42 +01:00 |
|
default
|
9c136dacdf
|
New function object_user_cache_in().
|
2022-11-28 08:34:19 +01:00 |
|
default
|
9a0a03dd9f
|
New function object_del_if_unref().
|
2022-11-27 09:45:06 +01:00 |
|
default
|
e8c487add7
|
Added some tweaks to file locking.
|
2022-11-26 19:19:52 +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
|
d03b988c99
|
Don't call object_del() from timeline_del().
Only delete from each user's cache, not from the global database.
|
2022-11-26 13:34:43 +01:00 |
|
default
|
8e7efad27f
|
Only call the expensive index_del() if unlink() did not fail.
|
2022-11-26 06:20:41 +01:00 |
|
default
|
14dd5b64c9
|
Added comment.
|
2022-11-26 06:11:37 +01:00 |
|
default
|
8e83821eee
|
_object_user_cache() also update the indexes.
|
2022-11-26 05:58:13 +01:00 |
|
default
|
d00a01f32e
|
New function object_user_cache_del().
|
2022-11-26 05:51:48 +01:00 |
|
default
|
f403d6f8d3
|
Renamed object_user_cache() to object_user_cache_add().
|
2022-11-26 05:46:21 +01:00 |
|
default
|
405bf6b8e4
|
Maintain a one-element index with each entry's parent.
|
2022-11-26 05:29:09 +01:00 |
|
default
|
1243e26a0d
|
New function object_add_ow().
|
2022-11-26 05:18:48 +01:00 |
|
default
|
ad202c5ccb
|
Avoid calling time() so many times.
|
2022-11-26 05:08:56 +01:00 |
|
default
|
afb970a757
|
purge_server() deletes using object_del().
|
2022-11-26 05:05:57 +01:00 |
|
default
|
9867f321b5
|
Delete redundant call to timeline_update_indexes().
|
2022-11-25 21:26:48 +01:00 |
|
default
|
2c34ec8d6c
|
New function timeline_update_indexes().
|
2022-11-25 21:21:59 +01:00 |
|
default
|
c0e3193529
|
New function object_user_cache().
|
2022-11-25 17:48:43 +01:00 |
|
default
|
e93a79e06d
|
Also purge the public/ and private/ caches.
|
2022-11-25 17:42:01 +01:00 |
|
default
|
6c6b5a30c4
|
Do hard links to objects in each user's public and private caches.
|
2022-11-25 17:26:12 +01:00 |
|
default
|
87d3ec2acc
|
Renamed indexes.
timeline.idx to private.idx, local.idx to public.idx.
|
2022-11-25 17:07:23 +01:00 |
|
default
|
4a41f3a1f0
|
New function timeline_object_add().
|
2022-11-25 14:19:00 +01:00 |
|
default
|
40a9e6e984
|
Fixed typo.
|
2022-11-25 13:54:26 +01:00 |
|
default
|
ee75b3f5f6
|
In purge_server(), don't purge objects with 2 (or more) hard links.
This way, an object can be protected from the purge by creating
a hard link to it.
|
2022-11-25 13:51:56 +01:00 |
|
default
|
2d7c327cbf
|
New function mtime_nl().
|
2022-11-25 13:33:13 +01:00 |
|
default
|
4bbebe8e4e
|
Started maintaining timeline.idx and local.idx.
|
2022-11-25 12:42:42 +01:00 |
|
default
|
9df1cb129e
|
Use macro XS_ALL were possible.
|
2022-11-25 12:21:26 +01:00 |
|
default
|
e2c332c68a
|
On Update + Person, call object_del() before actor_add().
|
2022-11-25 12:09:30 +01:00 |
|