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.TelegramSendermethods
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.FTPSendererrors when send several files - Fix:
trassir_script_framework.FTPSenderremove 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.ServersPokaYoke.get_persons ->trassir_script_framework.PersonsPokaYoke.get_person_folders ->trassir_script_framework.PersonsPokaYoke.get_users ->trassir_script_framework.UsersPokaYoke.get_terminals ->trassir_script_framework.PosTerminalsPokaYoke.get_ip_cameras ->trassir_script_framework.DevicesPokaYoke.get_channels ->trassir_script_framework.ChannelsPokaYoke.get_networks ->trassir_script_framework.NetworkNodesPokaYoke.get_rules ->trassir_script_framework.RulesPokaYoke.get_scripts ->trassir_script_framework.ScriptsPokaYoke.get_schedules ->trassir_script_framework.SchedulesPokaYoke.get_servers ->trassir_script_framework.EmailAccountsPokaYoke.get_template_loops ->trassir_script_framework.TemplateLoopsPokaYoke.get_gpio_inputs ->trassir_script_framework.GPIOPokaYoke.get_gpio_outputs ->trassir_script_framework.GPIOPokaYoke.get_people_zones ->trassir_script_framework.ZonesPokaYoke.get_simt_zones ->trassir_script_framework.ZonesPokaYoke.get_workplaces ->trassir_script_framework.ZonesPokaYoke.get_queues ->trassir_script_framework.ZonesPokaYoke.get_shelves ->trassir_script_framework.ZonesPokaYoke.get_people_zones ->trassir_script_framework.ZonesPokaYoke.get_head_borders ->trassir_script_framework.BordersPokaYoke.get_people_borders ->trassir_script_framework.BordersPokaYoke.get_simt_borders ->trassir_script_framework.BordersPokaYoke.get_deep_people_borders ->trassir_script_framework.BordersPokaYoke.get_all_borders ->trassir_script_framework.BordersPokaYoke.get_access_points ->trassir_script_framework.SigurRename 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