Commit graph

19 commits

Author SHA1 Message Date
pezcurrel
924faff128 Added alt-text support; minor changes; bumped version to 0.4.2 2024-10-27 09:33:43 +01:00
pezcurrel
b5b8c773fb Now, when the script refuses to run because there is no state file and «-p» has not been specified, it exits with «1» instead of «0»; changed lots of text in help and messages; bumped version to 0.4.1 2024-10-27 06:52:53 +01:00
pezcurrel
afc1eba399 Now the script exits with error if the state file has unexpected format 2024-10-26 23:54:26 +02:00
pezcurrel
fdf343abf7 Now, if an event has changed, gancioff reposts it; many other minor changes; bumped version to 0.4 2024-10-26 23:11:05 +02:00
pezcurrel
28a4f27fe8 Fixed a bug with parsing “always_link_gancio_post” from the config file; bumped version to 0.3 2024-10-25 18:16:14 +02:00
pezcurrel
70c09b4e7d Now, by default, the script adds a link to the original post only if its text doesn’t fit into the post to be posted; added a “always_link_gancio_post” to make it do it always; added a “test mode”; fixed some flaws; updated help text 2024-10-25 17:58:30 +02:00
pezcurrel
829b07d9ee Changed a bit the “beware of flooding on first run” behavior, and related text 2024-10-25 08:34:41 +02:00
pezcurrel
a98f7f7541 Added an “Info” line in case state file is not found 2024-10-25 07:48:04 +02:00
pezcurrel
4108a751f0 Commented out a line that was used for testing 2024-10-25 07:40:48 +02:00
pezcurrel
6d158e0e1a Now it does not post status for an event with an attachment that it can’t manage 2024-10-25 07:37:05 +02:00
pezcurrel
7d931d097b Commented out a line that was used for testing 2024-10-24 23:37:30 +02:00
pezcurrel
757028151c Using “curl_file_create” instead of “CURLStringFile” because in PHP 7.3 it’s not available 2024-10-24 23:36:11 +02:00
pezcurrel
a8c70aaf12 Added «write:media» as the second privilege the app needs 2024-10-24 22:50:41 +02:00
pezcurrel
103699125f Fixed “state_file_absolute_path” check: now gancioff actually checks for its writeability too, instead of checking 2 times for its readability 2024-10-24 12:59:41 +02:00
pezcurrel
865f4b09c6 Fixed a typo in help text 2024-10-24 12:46:38 +02:00
pezcurrel
10ee2f92fe Updated help text 2024-10-24 12:41:22 +02:00
pezcurrel
a3e9c3966d Moved TLDs fetching after configuration check 2024-10-24 12:23:54 +02:00
pezcurrel
41cae16c4e Added signal handling 2024-10-24 12:04:37 +02:00
pezcurrel
f8925f07d6 First commit 2024-10-24 06:53:20 +02:00