GancioF2F/todo.txt

31 lines
2.9 KiB
Text

- = to do; ? = to do?; * = done; ~ = half done; ! = don't
- ask samba and-or lesion if when "parentId" in the json feed is set, it means it's a recurring event, and if there's a way to tell *when* it is recurring
- report Gancio flaw: it would be better if the last modification datetime of an event ("pubDate" in the feed, "updatedAt" in "/api/events") was not changed when a gancio user saves again an already present event but does no actual modification to the event
- report Gancio flaw: when a gancio user saves an event, in the feed, in the "description" field, the link sometimes has "target" before "href", sometimes has "target" after "href"
- report Gancio flaw: api/events (https://demo.gancio.org/api/events) does not return descriptions (maybe it would have been easier to write ganciof2f using api/events)
- couldn't the feed include, maybe in "x-fields", the alt-text for images when present, and other data such as start and date of events, and so on?
? add "modified" on top of reposts for modified announcements
- add the possibility to modify a post when the announcement has been changed, instead of reposting it
- explain in the help text how ganciof2f cuts posts that are too long
- make posting images optional
? add "[pubDate] => Wed, 09 Oct 2024 20:52:33 GMT" from XML items to post
- verify "wait for server to process file" code works by uploading a big video, and whether on mastodon < 4.0.0 it is really triggered for images too
- config file: make it possible to define how long to wait for server to process a file
- config file: make it possible to define how old records in state file can be before they get discarded
* add alt-text
* if a Gancio post gets edited, will it be posted with a new guid? (no, fixed)
* if an image can't be posted, don't post the post
* gettlds and --update-language-codes should save elsewhere
* add runtime control for clean exits (possible "fclose($fh);") in case of ctrl+c and the likes
* config file: make it possible to define posts language
* config file: make it possible to define posts visibility
* systemd sample unit files
* check maximum upload size and check it against file size
! make it possible to define a "defaul hashtag" to be put before the others (no, if one wants to only see the announcements they just need to open the profile)
* make it possible to define a maximum period of time for storing guids (done, set it to 365 days, not configurable atm)
* use the state file to save every id of correctly posted announcements
* set cknap on recurring curl usage
* add (optional) image upload
! [no, it's not possible to reuse an already uploaded image id] on reposts, maybe it's possible to reuse the image that was posted on previous post, if it has not changed; it is possible to see if an attached image has changed by storing its filename: it changes on new image uploads (although it changes also when the same image gets re-uploaded); and: is it possible to reuse an already uploaded image on Mastodon, based on image id?