blake,

Oh hey #xmpp people, if you know of a bot I can debug my ad-hoc commands and data forms implementations against, let me know... I'm going to need one.

debacle,
@debacle@framapiaf.org avatar

@blake

I assume, that libervia-cli, the command line client of by @Goffi, can be used to script ad-hoc commands.

Goffi,
@Goffi@mastodon.social avatar

@debacle @blake yes can! It's explained at https://libervia.org/__b/doc/backend/libervia-cli/ad-hoc.html . Basically you can run a command with li ad-hoc run --verbose to check the name of the fields, then use -S to submit them.

For instance to send an announcement for servers supporting XEP-0133:

li ad-hoc run "<http://jabber.org/protocol/admin#announce>" -f subject "Maintenance in 30 min" -f announcement "$(&lt;~/announces/maintenance_30.txt)" -S

Check the doc linked above, it's explained there. Ask me if you have questions.

blake,

@Goffi @debacle I think I'm looking for the opposite. I have a client that is supposed to be able to call ad-hoc commands. That's what I'm trying to test.

Goffi,
@Goffi@mastodon.social avatar

@blake @debacle isn't running your bot against ad-hoc offered by e.g. Prosody enough then?

debacle,
@debacle@framapiaf.org avatar

@Goffi @blake

Maybe just setup with "mod_admin_adhoc", which enables a number of commands to play with:

https://xmpp.org/extensions/xep-0133.html#usecases

https://prosody.im/doc/modules/mod_admin_adhoc

@prosodyim

does support "XEP-0133: Service Administration", too, IIRC.

@ejabberd

ejabberd,
@ejabberd@process-one.net avatar

@debacle
Do you think we should expand the feature we support through Adhoc commands ? It would be nice to be able to do most things through the client. If client developpers are willing to push this, we are all for it !

@Goffi @blake @prosodyim

Goffi,
@Goffi@mastodon.social avatar

@ejabberd @debacle @blake @prosodyim yes please, support as much as you can through ad-hoc commands, it's so useful and handy, and perfect for automatization.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • thenastyranch
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • mdbf
  • tacticalgear
  • osvaldo12
  • Youngstown
  • rosin
  • slotface
  • ethstaker
  • everett
  • kavyap
  • InstantRegret
  • megavids
  • Durango
  • normalnudes
  • Leos
  • tester
  • ngwrru68w68
  • cisconetworking
  • cubers
  • GTA5RPClips
  • anitta
  • provamag3
  • modclub
  • JUstTest
  • lostlight
  • All magazines