summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-06Backport from xs.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-06Updated TODO.default
2022-12-06Merge pull request 'Add loading="lazy" to all images' (#15) from ↵grunfink
kensanata/snac2:lazy-loading into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/15
2022-12-06Add loading="lazy" to all imagesAlex Schroeder
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
2022-12-06Updated TODO.default
2022-12-05Updated TODO.default
2022-12-05Merge pull request 'Handle /favicon.ico' (#12) from kensanata/snac2:favicon ↵grunfink
into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/12
2022-12-04Updated RELEASE_NOTES.default
2022-12-04Updated documentation.default
2022-12-04New command line option 'resetpwd'.default
2022-12-04New function new_password().default
2022-12-04Handle /favicon.icoAlex Schroeder
Reply with the susie.png.
2022-12-04Merge branch 'master' of triptico.com:git/snac2default
2022-12-04Updated TODO.default
2022-12-04Fixed example.default
2022-12-04Fixed crash in new code (moron me...)default
2022-12-04Updated RELEASE_NOTES.default
2022-12-04Match the CW checkbox status to what is currently configured.default
2022-12-04Merge pull request 'Add an option to always show sensitive content' (#9) ↵grunfink
from kensanata/snac2:optional-cw into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/9
2022-12-04Bumped version.default
2022-12-04Updated RELEASE_NOTES.default
2022-12-04Merge pull request 'Use "new" instead of "New" for log messages' (#11) from ↵grunfink
kensanata/snac2:lower-case-log-messages into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/11
2022-12-04Merge pull request 'Fix arguments in callto xs_fmt' (#10) from ↵grunfink
kensanata/snac2:segfault-in-upgrade into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/10
2022-12-04Use "new" instead of "New" for log messagesAlex Schroeder
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-04Fix arguments in callto xs_fmtAlex Schroeder
Without this, db_upgrade segfaults.
2022-12-04No sensitive content in the public timelineAlex Schroeder
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-04Add an option to always show sensitive contentAlex Schroeder
- 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-04Updated TODO.default
2022-12-04Don't create obsolete directories in adduser().default
2022-12-04Updated documentation.default
2022-12-04Updated TODO.default
2022-12-04Version 2.13 RELEASED.default
2022-12-04Set default debug level to 1 for most object db functions.default
2022-12-04Deleted debug code in html_entry().default
2022-12-04Don't show the messages' md5.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-03Added :shrug2:default
2022-12-03Don't try to admire empty messages.default
2022-12-03Updated TODO.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-03Set default max_timeline_entries to 128.default
2022-12-03Add this user admires to the public timeline.default
2022-12-03Show the development version.default
2022-12-03Upgrade timeline/ to private/.default
2022-12-03Always show who boosted something, not only when it's on level 0.default
2022-12-03Upgraded local/ to public/.default
2022-12-03New function timeline_simple_list().default
2022-12-02Show stray parents in the origin.default