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

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/