******************** Stability Tests Changelog **********************

2021 / 2022/ 2023/ 2024

******************2021******************

# 2021-06-07
– Added changelog.txt
– Addon structure & routing

# 2021-06-09/30
– Addon install (+ demo license) & upgrade
– Cleaned Db class & managed html entities from db
– Basic plan creation & listing
– Plan description with CKEditor & description design in plan listing
– Added gravatar & show owner avatar in plan listing
– Added datepickers to plan date fields & format date to LC date in plan listing
– Managed per week/month frequencies in plan creation form
– Changed icon & don’t show description if plan has no description in plan listing
– Frequency display on plan listing
– Plan creation owner field
– Plan collaborators & multiples improvements
– Plan creation form validations
– Check for required addons
– Compute planning days for all frequency configurations & prepared plan view page
– Plan view planning
– Plan creation validate date order
– Setup page & invalid setup interception & connection to eventcal api & connection test
– Setup page confirm message
– Prepared plan start with confirmation
– Start a plan & create calendar&events with eventcal API
– Added timepicker on frequency time & fixed bottom tooltip in plan list
– Plans pagination & multiple improvements
– Plan start improvement: create a DAILY recuring event for frequency by day
– Reload plan status after start and events creation
– Added a button in plan view to open event calendar on plan calendar
– Can now remove a plan from list/view
– Show owner part only when no collaborator in plan collaborators modal
– Removed plan success notification

# 2021-07-01/09
– Can now edit a pending plan & refactored plan form view & js
– Added product name & reduced collaborators list in plan list
– Start plan modal with boxes configuration base
– Start plan modal functional & submit
– Start plan with boxes/records/calendar/events creation
– Addon title & logo
– Plan view: added colors & icons & legend on planning
– Plan view: added warnings on today’s events & missed events

# 2021-07-12/16
– Plan list&view: show alerts for today/missed events
– Plan view: show storage data & box preview
– Plan list: dropdown actions
– Can now stop a plan (just changing status)
– Trace status (date/contact id) and added audit trail (create/update/remove/status)
– Plan start: on calendar creation, share calendar with plan collaborators

# 2021-07-19/22
– Tests can now be passed or failed
– Tests are now linked to eventcal events
– Tests view: add some informations
– Trigger test view when arriving from external page

# 2021-07-26/30
– Probes integration
– Changed test passed/failed status for executed/not_executed
– Added project management
– Added logs management & list

# 2021-08-26/27
– Made several fixes
– License management
– In event cal, create event with sample name
– Plan creation/edition: added probe equipement name
– Plan view: added facility name
– Plan creation/edition: modules filter home=1
– Test view popin: link to record page in module
– Added an external view for module record

# 2021-08-30/31
– Removed Event Cal configuration and automized the token creation and connection
– Removed sample from box after test has been marked as Executed, and improved test view
– Only plan owner can process plan actions
– Changed probes labels to sensors
– Always check lclogger addon is installed before executed function from class
– Plan create/edit: added icons to section titles
– Plan start: fixed bugs when module is Samples
– License: remove FULL/LITE for only FULL license
– License improvements
– Don’t clean licence variable to avoid decrypt problems
– Fixed eventcal token automation

# 2021-09-01/03
– Eventcal & Logger addons are now optional and can be enabled in install & setup
– Plan creation: owner is current contact by default
– Improved probes integration
– Fixed external view icon path
– Added plan id in plan list & view
– Plan list: added a badge to indicate collab number
– Fixed license check on login
– Can edit collaborators at any time
– Only collaborators & owner can process a test

# 2021-09-06/17
– Plan list: added filters
– Log list: added filters
– External module view: added sensors (works with LC/cmod_record_view.php & LC/samples_record_view.php)
– Automatically mark plan as Finished when last plan test is marked Executed/Not executed & added info alert in plan view
– Routing HTML encode only plan description & condition, remove encoding for other variables
– External view now receives module to select good record
– Updates sensors values on test processing, improved test view and record tab, fixed many sensor bugs – v0.9
– Anybody can now duplicate a plan
– Plan list: start in green in dropdown action menu
– Plan creation/edit: improved week frequency checks
– Fixed redirect latency on installation/licence
– Plan start: on module record creation, add secondary owners if activated
– Plan creation/edit/start: can now use an existing calendar, and specify a color for events
– Plugged LSM remote to plans, to create LSM tests orders – v1.2
– Multiple fixes on probes

# 2021-09-30
– Can now export logs with filters

# 2021-01-05
– Renamed addon with Stability Tests

# 2021-10-11
– Refactored LSM URL configuration
– LSM URL auto check

# 2021-11-04
– Fixed a bug on LSM configuration in plan

# 2021-11-10
– FR translations

# 2021-11-19
– Added a reason to plan stop & show a notification on plan view – v1.3

# 2021-12-06
– Templates management & removed old code from install – v1.31

# 2021-12-14
– Can now create plan with every X days with +/- X days (M5658) – v1.32

# 2021-12-20
– Can now exclude some days on planning form preview (M5659) – v1.33

******************2022******************

# 2022-01-06/07
– BUG: Fixed left alerts in plan list – v1.34
– CHANGE: Transparent addon install – v1.35

# 2022-01-21
– BUG: Fixed boxes not found in plan view & fixed some warnings in test popin
– BUG: Fixed events warning on plan with EVERY unit
– CHANGE: Added item id to logs – v1.36

# 2022-01-24
– CHANGE: LSM info in plan view
– CHANGE: Plan status default & new entry Pending+Processing
– BUG: Fixed LSMremote domain test
– CHANGE: Added sensor units to test values – v1.37

# 2022-03-23
– CHANGE: Added a plan type, can filter on plan type (M5807) – v1.38
– CHANGE: Fixed permissions for visitor & simple user

# 2022-03-28/30
– ADDED: New status requested / rejected: a plan must be validated before being started (M5809) – v1.39
– ADDED: New status removed & added old plans list with rejected/removed/stopped (M5809) – v1.400

# 2022-04-01
– ADDED: LSM token, sample type, model, to pass to LSM remote iframe in test view (M5811) – v1.401

# 2022-04-04/07
– ADDED: Plan view: Export warnings to CSV file (M5810)
– ADDED: Plan PDF report when STOPPED or FINISHED (M5817)

# 2022-04-15/24
– ADDED: Backup samples management (M5844) – v1.402
– ADDED: Injects alerts automatically in LC alerts menu
– ADDED: Available events UI & LC alerts redirect on it & styles
– ADDED: Available events email notifications (cron + addon setup) (M5845) – v1.403
– CHANGED: Frequency abbreviation on plan list

# 2022-05-25
– FIXED: Don’t show revalidation button for templates

# 2022-05-31/2022-06-01
– CHANGED: Plan type is now plan category
– ADDED: Plan/Template creation/edit: can now add category on the fly
– CHANGED: Plan/Template creation/edit: LSM autocomplete now take 2 characters min, and fixed special chars
– FIXED: Plan was not rejected properly
– ADDED: Choose template: dropdown list with search & fixed redirections

# 2022-06-13/2022-06-23
– ADDED: Cycles with hours – v1.404
– ADDED: Alert on plan list when plan is not started and the start date is passed
– ADDED: Simple tests plans (without module samples) VS Full stability plans – v1.405
– ADDED: Can now create a plan from template list
– ADDED: Create/Start multiple plans from list to check & store template id when plan created from template – v1.406
– ADDED: Default LSM config in setup
– ADDED: Cron deployed automatically on install & upgrade 1.406
# 2022-06-30
– CHANGED: $action=nologin in lic_ws.php

# 2022-07-08
– FIXED: Fixed plans/templates multiple select with ajax

# 2022-07-19/20
– FIXED: LSMRemote with simple plans don’t receive sample name
– ADDED: Option to enable/disable plan approval by admin owner – v1.407
– FIXED: LSMRemote URL: remove parameter when value is empty

# 2022-07-26
– FIXED: Fixed plan status filter
– ADDED: Link to a chemical/lot & tab for chemicals – v1.408

# 2022-10-12/20
– CHANGED: Changed addon name from Stability Tests Manager to Tests Manager
– FIXED: Fixed a bug on simple plan start in plans list
– CHANGED: Hide probes when simple plan & changed full plan label
– ADDED: New API to create a plan (M6115) – v1.409
– ADDED: Preselect yearly/quarterly in plan creation/edition
– ADDED: Store lsm_job_id in test and display a link in popin to LSM job, and fixed a bug on lsm grouped tests in SIMPLE mode – v1.410
******************2023******************
# 2023-04-27
– ADDED: PDF report now contains LSM results – v1.411

# 2023-05-03
– FIXED: Fixed bug on available events & alerts (limit param), fixed typo in fr lang

# 2023-07-11

– CHANGED: Changed addon name from Tests manager to Test plan manager – v1.412

# 2023-08-29

– CHANGED: Refactored to add remote license post in lic_ws.php

– ADDED: Added get_version.php file to return the addon version – v1.413

# 2023-09-08

– CHANGED: Securized get_version.php with token
******************2024******************