Commit graph

48 commits

Author SHA1 Message Date
pezcurrel
15597fa1cc Moved sample headers from top to bottom of file 2024-10-29 13:52:14 +01:00
pezcurrel
8fac2f6aa0 Added a task 2024-10-29 13:51:39 +01:00
pezcurrel
a7ac91eee6 First commit 2024-10-29 13:51:20 +01:00
pezcurrel
56359510d2 Fixed a typo 2024-10-28 22:53:03 +01:00
pezcurrel
460ff0e79f Git experiment 2024-10-28 22:52:33 +01:00
pezcurrel
1d33c87750 Updated to help text as in 8c17cea commit 2024-10-28 22:48:47 +01:00
pezcurrel
8c17cea4ee Fixed a flaw in the code for shrinking too long posts; fixed a flaw in “getConf”; bumped version to 0.4.4 2024-10-28 22:48:24 +01:00
pezcurrel
d939664982 Updated to help text as in 12fc2c0 commit 2024-10-28 10:15:03 +01:00
pezcurrel
12fc2c0963 Now an announcement is considered modified if its “pubDate” has changed (dropped hash creation), and if its start datetime is before now, it gets skipped; edited posts get a “[MODIFICATO]” line on top; added «timezone» definition in config file; added option to list supported timezones; bumped version to 0.4.3 2024-10-28 10:14:10 +01:00
pezcurrel
7e897ac840 Added and edited some tasks related to Gancio 2024-10-28 09:56:41 +01:00
pezcurrel
ee07d06e07 Removed imgalt from the string for hash calculation: it’s already in the description 2024-10-27 10:38:07 +01:00
pezcurrel
a944c076d7 Made the regexp for image alt extraction more generic 2024-10-27 09:39:45 +01:00
pezcurrel
924faff128 Added alt-text support; minor changes; bumped version to 0.4.2 2024-10-27 09:33:43 +01:00
pezcurrel
aa966e1685 Updated 2024-10-27 09:32:32 +01:00
pezcurrel
604ededefc Updated to help text as in b5b8c77 commit 2024-10-27 06:53:08 +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
c69be165a8 Updated to help text as in fdf343a commit 2024-10-26 23:12:54 +02:00
pezcurrel
04ff9a355c Edited a bit; updated 2024-10-26 23:12:01 +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
aaec817480 Now it always returns “real header”, that is the last one, after the possible “100” or “302” http headers, or the likes 2024-10-26 23:09:44 +02:00
pezcurrel
6751e11e69 Now it first discards possible “non-word” characters at beginning and end of line, and splits by any number of them 2024-10-26 23:07:43 +02:00
pezcurrel
fb8e15dbc6 Updated to help text as in 28a4f27 commit 2024-10-25 18:16:30 +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
a64b833b82 Added one task 2024-10-25 18:00:01 +02:00
pezcurrel
4272aa162f Updated to help text as in 70c09b4 commit 2024-10-25 17:59:29 +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
8929654cdf Added a task 2024-10-25 15:14:03 +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
1521edcc12 Updated 2024-10-25 07:37:56 +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
53929b069e Added one line to discard from the top of the headers possible “HTTP/(version) 100 Continue” and the empty lines that may follow 2024-10-25 00:13:37 +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
f91ca2a23b First commit 2024-10-24 22:56:45 +02:00
pezcurrel
9513b2434b Updated to help text as in a8c70aa commit 2024-10-24 22:51:09 +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
be8a18897e Updated to help text as in “gancioff” commit 41cae16 2024-10-24 12:23:19 +02:00
pezcurrel
5057f5ed07 Updated 2024-10-24 12:05:02 +02:00
pezcurrel
41cae16c4e Added signal handling 2024-10-24 12:04:37 +02:00
pezcurrel
6241bf70c3 Added comment block with instructions 2024-10-24 08:04:25 +02:00
pezcurrel
f8925f07d6 First commit 2024-10-24 06:53:20 +02:00