Commit graph

2908 commits

Author SHA1 Message Date
grunfink
dcfc527a85 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
2022-12-04 09:45:51 +00:00
Alex Schroeder
20f862a651 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.
2022-12-04 10:35:01 +01:00
Alex Schroeder
5b1d2bebe9 Fix arguments in callto xs_fmt
Without this, db_upgrade segfaults.
2022-12-04 10:23:48 +01:00
Alex Schroeder
a3fa7dbaec 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).
2022-12-04 10:05:53 +01:00
Alex Schroeder
e4c26715a1 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
2022-12-04 10:05:53 +01:00
default
4b6e1df907 Updated TODO. 2022-12-04 07:35:07 +01:00
default
fd2b1509a8 Don't create obsolete directories in adduser(). 2022-12-04 07:19:45 +01:00
default
30e3f2fc3d Updated documentation. 2022-12-04 07:18:24 +01:00
default
70901fa168 Updated TODO. 2022-12-04 06:50:56 +01:00
default
70d1cf784a Version 2.13 RELEASED. 2022-12-04 06:43:46 +01:00
default
d023807942 Set default debug level to 1 for most object db functions. 2022-12-04 06:40:17 +01:00
default
bc0f9d116f Deleted debug code in html_entry(). 2022-12-04 06:37:30 +01:00
default
144d3c29a9 Don't show the messages' md5. 2022-12-04 06:34:42 +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
2bf9134fda Added :shrug2: 2022-12-03 20:54:44 +01:00
default
bd0149ee0d Don't try to admire empty messages. 2022-12-03 20:45:58 +01:00
default
76bfc366ea Updated TODO. 2022-12-03 20:31:41 +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
3c95c8a7a3 Set default max_timeline_entries to 128. 2022-12-03 20:09:45 +01:00
default
30e1a8ce08 Add this user admires to the public timeline. 2022-12-03 19:37:52 +01:00
default
c70bd2a85d Show the development version. 2022-12-03 19:28:16 +01:00
default
67a81a7bf9 Upgrade timeline/ to private/. 2022-12-03 18:41:44 +01:00
default
f205d20688 Always show who boosted something, not only when it's on level 0. 2022-12-03 18:08: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
2614a8b3cb Show stray parents in the origin. 2022-12-02 21:36:12 +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
c06136a8ac Fixed one post queries. 2022-12-02 19:39:17 +01:00
default
33c8a73c17 Fixed RSS and outbox to use the new data storage. 2022-12-02 19:30:59 +01:00
default
c00e3afcdc Big data storage change. 2022-12-02 19:14:59 +01:00
default
450d5a30a3 Updated RELEASE_NOTES. 2022-12-02 06:55:54 +01:00
default
09036893c0 Fixed conflict. 2022-12-02 06:53:11 +01:00
default
aba9a69aa6 Updated RELEASE_NOTES. 2022-12-01 19:59:40 +01:00
grunfink
7ad6ff63a5 Merge pull request 'Close a tag in history list' (#8) from kensanata/snac2:close-tag into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/8
2022-12-01 18:41:07 +00:00
grunfink
8ac071ae8d Merge pull request 'this is actually a pipe not a file, it should be closed as a pipe' (#6) from themusicgod1/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/6
2022-12-01 18:40:49 +00:00
default
e62b6b87be Close a tag in history list. 2022-12-01 19:39:22 +01:00
default
e98dbe4eb5 Added the profile="" argument to Person content-type. 2022-12-01 19:38:11 +01:00
Alex Schroeder
675b0242d6 Close a tag in history list 2022-12-01 14:31:16 +01:00
Anonymous
893634027f this is actually a pipe not a file, it should be closed as a pipe 2022-11-30 17:10:35 -06:00
default
c7c1ee69fc Updated TODO. 2022-11-30 18:17:22 +01:00
default
cd9071d120 Updated TODO. 2022-11-30 09:10:57 +01:00
default
75a303f8c2 Updated README. 2022-11-28 18:15:55 +01:00
default
8b4dbfd708 Deleted dump of debugging code. 2022-11-28 17:54:32 +01:00