diff --git a/README.md b/README.md index 2a6b7d4..95eef5b 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ fedi_token = w6oQ_Ot2LSAm_Q31hrvp0asfl22ip3O4ipYq1kV1ceY # announcements (on every run, GancioF2F will check this file for entries older # than one year and discard them, to avoid the state file to grow too much). # For example: -state_file_absolute_path = /var/local/cache/gancioff/gancio.some.domain.state +state_file_absolute_path = /var/local/cache/ganciof2f/gancio.some.domain.state # «timezone» is required to specify the timezone of the Gancio instance, in # order for GancioF2F to calculate the correct datetimes. You can list the diff --git a/ganciof2f b/ganciof2f index ad73134..e08b637 100755 --- a/ganciof2f +++ b/ganciof2f @@ -88,7 +88,7 @@ fedi_token = w6oQ_Ot2LSAm_Q31hrvp0asfl22ip3O4ipYq1kV1ceY # announcements (on every run, {$SNAME} will check this file for entries older # than one year and discard them, to avoid the state file to grow too much). # For example: -state_file_absolute_path = /var/local/cache/gancioff/gancio.some.domain.state +state_file_absolute_path = /var/local/cache/ganciof2f/gancio.some.domain.state # «timezone» is required to specify the timezone of the Gancio instance, in # order for {$SNAME} to calculate the correct datetimes. You can list the diff --git a/systemd/gancioff.service b/systemd/gancioff.service index 5fdf382..a7558f7 100644 --- a/systemd/gancioff.service +++ b/systemd/gancioff.service @@ -1,5 +1,5 @@ [Unit] -Description=GancioFF +Description=GancioF2F service After=network.target [Service] @@ -7,16 +7,16 @@ After=network.target Type=oneshot # Uncomment next directive if you want to set a specific working directory. -# Note that in this case “” and “” +# Note that in this case “” and “” # will need to be relative to the working directory (or absolute). #WorkingDirectory= -# Uncomment next directive if you want to avoid running GancioFF as root; +# Uncomment next directive if you want to avoid running GancioF2F as root; # note that the user specified here needs to have read access to the # configuration file specified in «ExecStart» (see below), read-write access # to the state file specified in the configuration file, and read-write access -# to the GancioFF «storage» sub-directory. +# to the GancioF2F «storage» sub-directory. #User= -# Uncomment the directive below and edit it to set GancioFF’s command line. -#ExecStart=php +# Uncomment the directive below and edit it to set GancioF2F’s command line. +#ExecStart=php diff --git a/systemd/gancioff.timer b/systemd/gancioff.timer index 3c98a68..c44cf99 100644 --- a/systemd/gancioff.timer +++ b/systemd/gancioff.timer @@ -1,5 +1,5 @@ [Unit] -Description=GancioFF +Description=GancioF2F timer After=network.target [Timer] diff --git a/todo.txt b/todo.txt index 5d42869..68f9962 100644 --- a/todo.txt +++ b/todo.txt @@ -3,12 +3,12 @@ - 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 gancioff using api/events) +- 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 gancioff cuts posts that are too long +- 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