It would be great if piwigo offered a script that can be used in a cronjob (i.e. CLI for Piwigo). This would e.g. be helpful for the e-mail notifications about new updates. I use Piwigo for my family only so the site is not visited very frequently.
Another use case could be to automatically sync albums and do some other administrative tasks.
It would be great if piwigo offered a script that can be used in a cronjob (i.e. CLI for Piwigo). This would e.g. be helpful for the e-mail notifications about new updates. I use Piwigo for my family only so the site is not visited very frequently.
Another use case could be to automatically sync albums and do some other administrative tasks.
<!-- github-sync-id:219852801 -->
A bit like tools/piwigo_remote.pl ? (which is more designed to be a testing tool for Piwigo API, but it's a good start)
A bit like tools/piwigo_remote.pl ? (which is more designed to be a testing tool for Piwigo API, but it's a good start)
<!-- github-comment-id:292154958 -->
I was wrong when I compared it to piwigo_remote.pl. The CLI should not rely on Piwigo API (thus on remote HTTP requests). That's the whole point of the CLI: do not depend on HTTP. I agree, more and more, that Piwigo should have a CLI tool: install, update, plugin install, synchronization...
I was wrong when I compared it to `piwigo_remote.pl`. The CLI should not rely on Piwigo API (thus on remote HTTP requests). That's the whole point of the CLI: do not depend on HTTP. I agree, more and more, that Piwigo should have a CLI tool: install, update, plugin install, synchronization...
<!-- github-comment-id:5050881065 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
It would be great if piwigo offered a script that can be used in a cronjob (i.e. CLI for Piwigo). This would e.g. be helpful for the e-mail notifications about new updates. I use Piwigo for my family only so the site is not visited very frequently.
Another use case could be to automatically sync albums and do some other administrative tasks.
A bit like tools/piwigo_remote.pl ? (which is more designed to be a testing tool for Piwigo API, but it's a good start)
Yes that looks indeed promising. I wasn't aware that this existed. I'll take a look at it.
I was wrong when I compared it to
piwigo_remote.pl. The CLI should not rely on Piwigo API (thus on remote HTTP requests). That's the whole point of the CLI: do not depend on HTTP. I agree, more and more, that Piwigo should have a CLI tool: install, update, plugin install, synchronization...Guess what? The Piwigo CLI plugin shoud be fine for your needs : https://piwigo.org/ext/index.php?eid=1113