summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-10Updated RELEASE_NOTES.default
2022-12-10Merge pull request 'Ensure that pd variable stays in scope while curl ↵grunfink
request runs' (#20) from tobyjaffey/snac2:fix_19 into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/20
2022-12-10Ensure that pd variable stays in scope while curl request runsToby Jaffey
Fix for #19
2022-12-10Use object_likes_len() and object_announces_len() in the post score.default
2022-12-10New function index_len().default
2022-12-10In process_queue(), do not retry for 404 or 410 status.default
2022-12-09Merge branch 'master' of grunfink-codeberg:grunfink/snac2default
2022-12-09Merge pull request 'Makefile improvements' (#18) from ↵grunfink
CyberTaIlor/snac2:master into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/18
2022-12-09Backport from xs.default
2022-12-09Makefile improvementsAnna “CyberTailor”
* Don't overwrite CFLAGS from env * Respect CPPFLAGS and LDFLAGS * Create bindir in "install"
2022-12-09Version 2.14 RELEASED.default
2022-12-08Updated documentation.default
2022-12-08Updated RELEASE_NOTES.default
2022-12-08Updated RELEASE_NOTES.default
2022-12-08Added support for /.well-known/nodeinfo.default
2022-12-08Updated TODO.default
2022-12-08Updated RELEASE_NOTES.default
2022-12-08Don't show the 'Boost' button for private messages.default
2022-12-08Updated TODO.default
2022-12-08Updated RELEASE_NOTES.default
2022-12-08Updated RELEASE_NOTES.default
2022-12-08Updated RELEASE_NOTES.default
2022-12-08Added level of debug for 'Delete' messages.default
2022-12-08Also add 'redir' hidden field to Replies.default
2022-12-08Some tweaks to improve the page position after like or boost.default
2022-12-08Wrapped too long string literals.default
2022-12-08Updated RELEASE_NOTES.default
2022-12-08Little tweak to previous change to avoid a memleak.default
2022-12-08Merge pull request 'Fix mentions with one @ sign' (#16) from ↵grunfink
kensanata/snac2:fix-mention-with-one-at-sign into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/16
2022-12-07Fix mentions with one @ signAlex Schroeder
In a mention like the following, the old code had a problem: It would split the name by '@' and get a list of two elements. Since this is less than three, it would then try to get the domain name from the href ("social.alexschroeder.ch") and concatenate it with the name, resulting in "alex@social.alexschroeder.ch@social.alexschroeder.ch". The reason was that the code expects an initial "@". In that case, splitting "@alex@social.alexschroeder.ch" would result in three elements, and no domain name guessing would happen. If, on the other hand, the name was "@foo" then finding the domain name in the URL and appending it so that you get @foo@domain.name is the correct solution. "tag": [ { "type": "Mention", "href": "https://social.alexschroeder.ch/alex", "name": "alex@social.alexschroeder.ch" } ], The fix consists in prepending an "@" if the name does not start with "@" and leaving the rest of the code unchanged.
2022-12-07Ask for just 1 more entry beyond the current page to test if there are more.default
2022-12-07Fixed last minute typo.default
2022-12-07Minor tweaks to paged timeline output.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-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