ShariX Developer 833b95961d handler for student reg il y a 11 heures
..
classes 833b95961d handler for student reg il y a 11 heures
.gitignore c0dd28f53e new jabber handler il y a 11 mois
BotClass.py e234c2c8da format code il y a 1 semaine
README.md a36b67c584 format code using pycharim il y a 1 semaine
applications.json a36b67c584 format code using pycharim il y a 1 semaine
config.py ad7fa5bbc3 update BOTLIST il y a 1 semaine
gen-passwords.py e234c2c8da format code il y a 1 semaine
gen_users.sh d1f956665d fix script name il y a 1 semaine
gen_web_users.py e234c2c8da format code il y a 1 semaine
jsonAndRequest.py a36b67c584 format code using pycharim il y a 1 semaine
old_st_request_assigned.py a36b67c584 format code using pycharim il y a 1 semaine
old_st_request_done.py a36b67c584 format code using pycharim il y a 1 semaine
old_st_request_new.py a36b67c584 format code using pycharim il y a 1 semaine
old_st_request_wontfix.py a36b67c584 format code using pycharim il y a 1 semaine
open_access_request_accepted.py a36b67c584 format code using pycharim il y a 1 semaine
open_access_request_pending.py a36b67c584 format code using pycharim il y a 1 semaine
open_basic_bot.py a36b67c584 format code using pycharim il y a 1 semaine
open_neg_request_accepted.py a36b67c584 format code using pycharim il y a 1 semaine
open_neg_request_pending.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_accepted.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_assigned.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_booked.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_booked_v2.py c12844efeb fix client_id filed in orders model il y a 1 semaine
open_service_request_closed.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_declined.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_done.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_forcemajeure.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_pending.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_preforcemajeure.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_prestart.py a36b67c584 format code using pycharim il y a 1 semaine
open_service_request_process.py a36b67c584 format code using pycharim il y a 1 semaine
open_st_request_assigned.py a36b67c584 format code using pycharim il y a 1 semaine
open_st_request_done.py a36b67c584 format code using pycharim il y a 1 semaine
open_st_request_dublicate.py a36b67c584 format code using pycharim il y a 1 semaine
open_st_request_in_process.py a36b67c584 format code using pycharim il y a 1 semaine
open_st_request_new.py a36b67c584 format code using pycharim il y a 1 semaine
open_st_request_reopened.py a36b67c584 format code using pycharim il y a 1 semaine
open_st_request_wontfix.py a36b67c584 format code using pycharim il y a 1 semaine
open_student_handler.py 833b95961d handler for student reg il y a 11 heures
open_template_bot.py a36b67c584 format code using pycharim il y a 1 semaine
order_functions.py a36b67c584 format code using pycharim il y a 1 semaine
requirements.txt c0dd28f53e new jabber handler il y a 11 mois
st_request_in_process.py a36b67c584 format code using pycharim il y a 1 semaine
starter.sh ae1eec0647 rename functions il y a 3 semaines
status_changer.py a36b67c584 format code using pycharim il y a 1 semaine
status_handlers.py a36b67c584 format code using pycharim il y a 1 semaine

README.md

Open Template Bot

Simple example for processing orders

Install and run

  1. Rename config_template.py to config.py
  2. Create env

    python -m venv env #for Windows
    python3 -m venv env #for Linux
    
  3. Activate env

    .\env\Scripts\activate #Windows
    source env/bin/activate #Linux
    
  4. Instatt requirements

    pip3 install -r requirements.txt
    
  5. Run Bot

    python3 open_template_bot.py
    

Testing

https://democonv.sharix-app.org/ - testing client

Users recommended for testing

user: test@ej.sharix-app.org user: test1@ej.sharix-app.org

Useful commands for Ejabberctl while testing Bot

ejabberdctl register $username ej $password

ejabberdctl change-password User Host newPassword

ejabberdctl check_account user1 localhost

ejabberdctl unregister badlop3 localhost
ejabberdctl registered_users localhost
ejabberdctl help registered_users

Create MUC room

ejabberdctl create_room room_name muc_service xmpp_domain

Destroy MUC room

#ejabberdctl destroy_room room_name muc_service

List unused MUC rooms

ejabberdctl rooms_unused_list xmpp_domain number_of_days

https://docs.ejabberd.im/admin/ejabberdctl/muc-admin/