Changelog¶
Future¶
Released …
Changes
- Fix timestamp in shots int -> str
- Change behavior when access to settings denied
Version 0.65¶
Released 2019-08-02
New Features
- Add sounds to documentation
- Add tests
Changes
- Fix travis
- Fix docstrings
- Replace host_api to host
- Fix Can’t parse error in tbot_api if used not float version in script parameters
Version 0.64¶
Released 2019-07-25
New Features
- Add global logger. You need just set DEBUG = True
- Add
trassir_script_framework.BaseUtils.context_menu
- Add
trassir_script_framework.BaseUtils.context_menu_button()
- Add
trassir_script_framework.SoundPlayer
Changes
- Refactoring
trassir_script_framework.BaseUtils.is_template_exists()
- Fix
trassir_script_framework.BaseUtils.is_template_exists()
returns returns 1e15 - Now you can pass list argument to senders.
Version 0.63¶
Released 2019-07-19
New Features
- Added
trassir_script_framework.BaseUtils.dt_to_ts()
- Added
trassir_script_framework.StockScript
- Added
trassir_script_framework.PokaYoke.fire_recognizer_events()
Changes
- Rename
trassir_script_framework.BaseUtils.ts_to_datetime()
->trassir_script_framework.BaseUtils.dt_to_ts()
- Update TBotAPI: Fix - Send image method with cyrillic symbols on WinOS; Add - send_image_album
- Fix docstrings
Version 0.61¶
Released 2019-07-12
New Features
- Added
trassir_script_framework.Schedules.on_load()
- Added
trassir_script_framework.BaseUtils.event_type_encode()
- Added
trassir_script_framework.BaseUtils.event_type_decode()
Changes
- Exec encoded tbot_service in TelegramSender __init__
- Rebuild
trassir_script_framework.ShotSaver.pool_shot()
- Rebuild
trassir_script_framework.BaseUtils.get_logger()
Version 0.60¶
Released 2019-07-05
Changes
- Fix
trassir_script_framework.BaseUtils.win_encode_path()
- Update tbot_api
- Other fixes
Version 0.50¶
Released 2019-05-16
New Features
- Added
trassir_script_framework.BaseUtils.save_pkl()
- Added
trassir_script_framework.BaseUtils.load_pkl()
- Added
trassir_script_framework.Templates
- Added
trassir_script_framework.GUITemplate.delete()
Changes
- Fix ShotSaver examples
- Rename Template to
trassir_script_framework.GUITemplate
- Fix some errors in
trassir_script_framework.BaseUtils.image_to_base64()
- Add extension to file_log in
trassir_script_framework.BaseUtils.get_logger()
Version 0.4¶
Released 2019-04-30
New Features
Changes
- Fix catch_request_exceptions in
trassir_script_framework.HTTPRequester
- Add tg_users argument to
trassir_script_framework.TelegramSender
methods
Version 0.3¶
Released 2019-04-26
New Features
- Added
trassir_script_framework.BaseUtils.is_template_exists()
- Added
trassir_script_framework.HTTPRequester
- Added
trassir_script_framework.ShotSaver.pool_shot()
- Added
trassir_script_framework.Persons.get_person_by_name()
- Added
trassir_script_framework.BaseUtils.image_to_base64()
- Added
trassir_script_framework.BaseUtils.base64_to_html_img()
- Added more examples
Changes
- Added data to string transform
trassir_script_framework.ScriptObject.fire_event_v2()
- Added raise exception in functions with
trassir_script_framework.BaseUtils.run_as_thread_v2()
- Change argument structure in
trassir_script_framework.BaseUtils.to_json()
- Change argument structure in
trassir_script_framework.ShotSaver.async_shot()
- Fix:
trassir_script_framework.FTPSender
errors when send several files - Fix:
trassir_script_framework.FTPSender
remove self.logger - Fix:
trassir_script_framework.BaseUtils.get_logger()
permission denied when deleting log file
Version 0.2b¶
Released 2019-04-12
New Features
- Added
trassir_script_framework.FTPSender
- Added
trassir_script_framework.BaseUtils.lpr_flags_decode()
- Added more examples
Changes
Transferring PokaYoke GET methods to independent classes and extended functionality:
PokaYoke.get_servers ->trassir_script_framework.Servers
PokaYoke.get_persons ->trassir_script_framework.Persons
PokaYoke.get_person_folders ->trassir_script_framework.Persons
PokaYoke.get_users ->trassir_script_framework.Users
PokaYoke.get_terminals ->trassir_script_framework.PosTerminals
PokaYoke.get_ip_cameras ->trassir_script_framework.Devices
PokaYoke.get_channels ->trassir_script_framework.Channels
PokaYoke.get_networks ->trassir_script_framework.NetworkNodes
PokaYoke.get_rules ->trassir_script_framework.Rules
PokaYoke.get_scripts ->trassir_script_framework.Scripts
PokaYoke.get_schedules ->trassir_script_framework.Schedules
PokaYoke.get_servers ->trassir_script_framework.EmailAccounts
PokaYoke.get_template_loops ->trassir_script_framework.TemplateLoops
PokaYoke.get_gpio_inputs ->trassir_script_framework.GPIO
PokaYoke.get_gpio_outputs ->trassir_script_framework.GPIO
PokaYoke.get_people_zones ->trassir_script_framework.Zones
PokaYoke.get_simt_zones ->trassir_script_framework.Zones
PokaYoke.get_workplaces ->trassir_script_framework.Zones
PokaYoke.get_queues ->trassir_script_framework.Zones
PokaYoke.get_shelves ->trassir_script_framework.Zones
PokaYoke.get_people_zones ->trassir_script_framework.Zones
PokaYoke.get_head_borders ->trassir_script_framework.Borders
PokaYoke.get_people_borders ->trassir_script_framework.Borders
PokaYoke.get_simt_borders ->trassir_script_framework.Borders
PokaYoke.get_deep_people_borders ->trassir_script_framework.Borders
PokaYoke.get_all_borders ->trassir_script_framework.Borders
PokaYoke.get_access_points ->trassir_script_framework.Sigur
Rename some method and classes:
BaseUtils.check_file ->trassir_script_framework.BaseUtils.is_file_exists()
BaseUtils.check_folder ->trassir_script_framework.BaseUtils.is_folder_exists()
BaseUtils.pretty_json ->trassir_script_framework.BaseUtils.to_json()
PokaYokeObject ->trassir_script_framework.TrObject()
Fix some typos