# ver.3.0.4.0
- SQL injection through sort/order/page parameters on the task list. Fixed.
- the Update button on the task list erased other task settings. Now it saves only the active flag and priority.
- re-installing the module reset the settings and the key. Uninstall keeps the settings now.
- the same task could run twice when the scheduler was called in parallel. Fixed.
- next run time calculation is rewritten: Start After is respected, end of month is handled, no skipped or repeated runs.
- the task form validates the schedule fields.
- new tasks have no end date by default.
- request_url, refresh_currencies and update_currencies tasks adapted to the current task format.
- download_file task: the file is saved to the specified path inside the store, the path is validated.
- added Russian language, all texts moved to language files.
- added a tooltip to the priority field.
- ka_cron.php is installed with the module now, the CLI command is shown on the settings page.
- request_url task requests the page with GET instead of POST.
- stopping a task did not call stopSchedulerOperation() of the task model. Fixed.
- refresh_currencies task shows why rates are not updated (no rate engine, disabled engine, OpenCart below 3.0.4.0).
- update_currencies task: rates are downloaded with curl, EUR is not reported if the store has no EUR currency, "(once a day)" is removed from the name.
- ka_cron.php ignored next_task_id and ran the first task again and again with --task_id. Fixed.
- a task of a removed task model stopped all other tasks. Now the task is skipped and logged.
- an unknown task result left the task with an empty status. Now the task is stopped and the error is logged.
- 'Treat Task As Dead If It Does Not Respond After N Minutes': values above 60 were replaced with 10. Now any value allowed on the settings page is used.
- an administrator without access to the module settings could run tasks without the key. Fixed.
- cron install/uninstall on the settings page and Stop on the task list did not check the modify permission. Fixed.
- a new installation gets a random 32-character key, the key is compared safely. Existing keys are kept.
- the failure counter of a task is reset when the task finishes.
- 'Stop Task After N Failures' stopped a dead task one detection later than set, a stopped task could start again at once. Fixed.
- task limits that are empty or out of range are replaced with the installation defaults (30 minutes, 5 minutes, 2 failures) instead of 40, 10 and 3.
- Lite version: tasks are shown on a read-only task page, adding and editing tasks is blocked on the server too; Active and Priority can be changed on the task list.

# ver.3.0.3.13
- fix a strtotime warning on newer php versions.

# ver.3.0.3.12
- a warning occured on the tasks list page. Fixed.
- minor code reformatting

# ver.3.0.3.11
- some task models did not load properly. Fixed.

# ver.3.0.3.10
- it was unable to overwrite task models with kamod. Fixed.

# ver.3.0.3.9
- added compatibility with Opencart 3.0.3.9

# ver.3.0.3.8
- added informational messages on installing/uninstalling the cron service

# ver.3.0.3.7
- added redirect to the tasks list page after completing manual task execution

# ver.3.0.3.6
- removed ka-extensions files to prevent their overwriting

# ver.3.0.3.5
- added support of web auth for Download File through HTTP task
- fixed tooltip location on the task edit form

# ver.3.0.3.4
- now lite version can delete and delete tasks;
- minor design changes on the tasks list;

# ver.3.0.3.3
- added a 'send email on completion' checkbox. It allows to disable email notifications for specific tasks.
- Added a new 'send log' task for sending the store log to email administrator
- Added compatibility with php 7.4
- Added boostrap styles to custom task form fields
- Reworked a page call in the 'Request URL' task

# ver.3.0.3.2
- force currency refresh in a refresh currency task

# ver.3.0.3.1
- path in automatic cron installation routine was incorrect. Fixed.
- added a currency refresh task to run a standard currency refresh routine (there are some mods updating that routine
  to get rates from paid services like fixer.io)

# ver.3.0.3.0
- completely reworked a code logic of finding the active tasks. Some issues were found when tasks 
  were called from command line interface with ka_cron.php

# ver.3.0.2.4
- the 'specify end date' checkbox did not save on the task edit page. Fixed.

# ver.3.0.2.3
- /admin/ka_cron.php file is added for calling the task scheduler from a console.


# ver.3.0.2.2
- better implementation of task scheduler lite
- code changed from ka_task_scheduler to ka_scheduler in ocmod patch


# ver.3.0.2.1
- Error handling in the currency update did not work properly. Fixed.


# ver.3.0.2.0
- currency rates module was updated to retrieve data from European bank