30-09-2022 (AKo): v0.5.7.0 - AgentSST not longer restarting its agents if in test mode of soft mode in manual - Fixing Agent's test_commands_list iteration 29-09-2022 (AKo): v0.5.6.0 - Add agent per computer of agents obs config view - Fix obsconfig view by adding agent plc - Add button to manage agents in agentsst view (start, restart, stop) - Improving loading speed of agent_detail view - Add three agentsst in obsconfig - Updating AgentSST name depending of the observatory configuration & updating AgentSurvey entry 28-09-2022 (AKo): v0.5.6.0 - Add vuejs in agents_state (update informations every 4 secs) - Add new option for agentSST : start a specific agent 23-09-2022 (AKo): v0.5.5.0 - Add flexible form for sending agent cmd - New implementation of Agent get_specific_cmds() - Adapt agentSST to new signature of specific_cmds, add type hints to cmd functions - Synchronise agent (pyros_django) folder with privatedev/plugin/agent - Add agenttriton in tnc obsconfig & update hostname for AKo laptop 20-09-2022 (AKo): v0.5.4.1 - Fixing value of sequence template for layout field (take the real value of the sequence) - Adding running command in agent state view (reload automatically) - Fixing logout form - Change sender to username when sending cmd via website 08-09-2022 (AKo): v0.5.4.0 - Add AgentTriton - Add dependencies section in tnc obs config - Add dependencies section in obs schema 30-08-2022 (AKo): v0.5.3.2 - Pyros container has fix hostname (hostname of local machine) - Adding switch of database if we're not in docker and not on the computer that host the database - Add fix IP adress for db_pyros and pyros container, updating database.env files to connect to db_pyros - Add new shell script for build (with verification that user isn't root) - Fixing endofline issue of windows - Update logout for Django 4.1 (Send form POST) - Fixing test with new logout call - Fixing warning of urls with regex 29-08-2022 (AKo): v0.5.2.1 - Adding colors for recieved and sended commands of an agent. - Renabling print when pulling git repo of guitastro - Update guiastro url - Fixing guiastro siteobs in get_sun_elev() - Add send command to agent from website (generic commands) - Removing Pylon (Basler dependencies) in dockerfile 16-08-2022 (AKo): v0.5.1.0 - Adding compilation of guitastro requirements.in file into Dockerfile 12-08-2022 (AKo): v0.5.1.0 - Adding AgentSST diagram (.pu) 08-08-2022 (AKo): v0.5.1.0 - Adding better handling of import of root project path for agents - Adding nb_restart of an agent reset in AgentSST when (re)starting an agent - AgentSST : kill command now send do_exit (was sending do_abort) due to new implementation of those commands - Changing few guitastro import due to guitastro restructuration - Fixing tests of obsconfig (with the addition of mandatory agents), skipping test of SP lifecycle cause bugged due to how agent works with (test) database - Fixing UI of topbar when not logged 12-07-2022 (AKo): v0.5.1.0 - Change on naming of Agent (take his name from obsconfig) - Fixing AgentSST (Adding timeout of commands) - Fixing AgentImagesProccessor (remove override of agent's name) - Fixing agentSST start (was sending do_abort too soon after starting, fixing stop of agentSST wait properly agent to shutdown with do_abort command) 11-07-2022 (AKo): v0.5.1.0 - Adding timeout color on agent_state view - Adding nb_try_max_restart in agentSST and in AgentSurvey models - Add current_nb_restart of agent in agent_state view 08-07-2022 (EP): v0.5.1 - (SF04) Agents improvements : verified scenario (with expected_res field) 01-07-2022 (EP): v0.5 - Changed version to v0.5 corresponding to PA1.2 (29-6-2022) - Lots of Agents 30-06-2022 (AKo): v0.4.15.2 - Changing type of voltage and intensity from int to float for schema computer - Adding test mode for agentSST (send test mode to his agent, AgentSST doesn't have an test mode) - Adding another time limit to send again a command if this command was executed but nothing has changed (Between 25 and 30 seconds ago from now) - Enabling foreground parameter to True as default value for ExecProcessFromEnv (update, obsconfig, test, shell) 29-06-2022 (AKo): v0.4.15.1 - Fixing issue with AgentSST (was sending multiple times the same command due to Agent iteration fast speed) - Fixing issue with AgentImagesProcessor_tnc_up1.py (missing import) - Removing previous work with database.env file in settings.py - Enabling foreground on pyros test command 28-06-2022 (AKo): v0.4.15.0 - Fixing error in AgentSST when AgentSurvey hasn't any entry - Changing computer_name as key to hostname for get_agent_per_computer, Adapting agentSST default computer 27-06-2022 (AKo): v0.4.15.0 - Adding view to change software mode - Adding view to see agents status - Adding view to see agent log - Fixing agentSST error command not implemented - Adding Majordome Model - Adding AgentMajordome - Renaming agentSST cmd parameters - Fixing agent do_exit, do_abort, do_restart - Change Agent status on do_exit (in cleanup method) - Adding do_start_agent for AgentSST 23-06-2022 (AKo): v0.4.14.0 - Adding methods in obsconfig class to get home of unit and path_data_root of agent - Adding data folder at root of project with an README. Git will ignore all content outside of this file in this folder 20-06-2022 (AKo): v0.4.14.0 - Fixing issues for PYROSW with Windows OS, Adding venv option actions (running pyros in actual venv) if there is one and we're not within docker's pyros container - Fixing AgentSST (renaming method properly) 17-06-2022 (AKo): v0.4.14.0 - Adding Sequences pickles creation on submit to plannification - Renaming commands of AgentSST (Adding prefix 'do') and moving routine work to routine_process_after - Forcing foreground mode for pyros.py shell command - Changing option of PYROSW wrapper from '--docker' to '--venv' - Adding src/core/pyros_django/sequences_pickle to gitignore 16-06-2022 (AKo): v0.4.14.0 - Improving / Fixing PYROSW script and PYROS.bat - Fixing obsconfig_class that made PyROS rewrite pickle when trying to read invalid value in pickle 07-06-2022 (AKo): v0.4.13.0 - Adding foreground option for start command 03-06-2022 (AKo): V0.4.12.0 - Adding pyros stop command - Better implementation of do_things_before_exit for AgentSST 25-05-2022 (AKo): v0.4.11.0 - Updating Agent constructor (removing RUNNIN_IN_THREAD) - Adding new start for pyros.py (launching agentSST) - Add option foreground for new-start (if set, doesn't show output of pyros start) - Fixing AgentCmd create (create_cmd_for), Fixing init of device_command to parse cmd full_name into cmd name and args, Fixing agentSST methods/commands - Adding PORT value for database.env in settings 18-05-2022 (AKo): v0.4.10.0 - Adding mandatory agents in obsconfig - Adding MissingMandatoryAgentException class - Adding env file for database for all obsconfig and reading in settings.py - Reworking .bat scripts to pass arguments like in bash 16-05-2022 (AKo): v0.4.9.0 - Adding new init fixtures (prod & dev) - Fixing css issues (sidebar and dropdown) for mobile devices 05-05-2022 (AKo): v0.4.9.0 - Adding export of weather history as csv file 04-05-2022 (AKo): v0.4.8.0 - Adding "last_modified_by" in Sequence table - Allow all users of an scientific program to see all the sequences and edit or delete them. (Sequence are linked to an SP not only to an user) - Update F05 tests according those changes. - Changed display of datetimes in sequence_list (Now in ISO format) 29-04-2022 (AKo): v0.4.7.0 - Adding AgentSST - Adding bash script to copy privatedev content into private folder - Updating observatory schema to add protocol to AGENT - Updating observatory configuration (guitalens, tnc) - Copy AgentSP, AgentScheduler in privatedev/plugin/agent and AgentM in privatedev/plugin/agent_devices/ - Fixing css for monitoring and observation index pages - Fixing date format display for sequences list and add icon button to unsubmit sequence - Fixing agent build_agent function error while trying to get obs_config "is_real" attribute - Add unique attribute to sequence name - Changed behavior of copy sequence : the copied sequence has a new default name (like we do when creating a sequence from scratch.) - Update .gitignore (Add private folder) 28-04-2022 (AKo): v0.4.6.0 - Adding weather history view - time every new entry of weather history is added and last x minutes to plot are set up from config_pyros - adding env monitoring to config_pyros, update schema accordingly - update WeatherWatchHistory models attributes to match those with WeatherWatch - WeatherWatchHistory entry makes a copy of WeatherWatch data 27-04-2022 (AKo): v0.4.5.0 - Adding unsubmit button for sequences - Re-enabling cancel button for sequence (cancel = delete) - Fixing bug where "show more informations" button on plan view page was submitting form - Fixing issue with saveWeather for agentM 26-04-2022 (AKo): v0.4.4.1 - Adding 3 full sequences to debris scientific program in initial fixture - Fixing view / edit page of sequences (new messages to explain errors/warnings) 25-04-2022 (AKo): v0.4.4.0 - Adding PhpMyAdmin to docker-compose - Renaming "common" tables with a simplified name 15-04-2022 (AKo): v0.4.4.0 - Adding WeatherWatchHistory usage (saving entry in AgentM, display in view current_weather) - Adding a small sublist of weatherwatch when loading the monitoring weather page 12-04-2022 (AKo): v0.4.3.0 - Adding SP_Period in API - Adding guitastro gitclone and installation of guitastro's python package in docker_build - Addind git pull of guitastro in pyros.py - Adding check if guitastro folder already exists in PYROS_DOCKER_BUILD - Removing vendor folder from .dockerignore"Removing vendor folder from .dockerignore - Fixing warning of current_uid variable for pyros_docker_start - Fixing Agent's init and build agent methods, adapt agentM and agentSP to it - Renaming plc agent name to AgentM - Adding Vue to weather monitoring, updating version of plotly 08-04-2022 (AKo): v0.4.2.0 - Fixing pyros.py for classic installation (without docker) - Add export for SP - Handling exceptions in pyros_api.py - Add host option for pyros_api - Add button to go back to list of sequences when saving and made saving sequence redirecting to list of sequences - Fixing typo in base html to import fontawesome css - Reordering channels, layouts and albums disposition in obsconfig/astronomer_view - Fixed eye button in device detail view - Add host_name for pyros (django) 24-03-2022 (EP): v0.4.1.0 - Better requirements.txt files with pip-tools (using requirements.in files) : for the Sphinx RST doc and for Guitastro ==> fixed all packages version for python3.8.12 17-03-2022 (EP): v0.4.0.0 (PA1.1) - Version for the PA1.1 CNES, which includes : - auto generation of the API doc via Sphinx for guitastro and codestyle (pyros coming later) (in /doc/doc_rst/) (via pyros.py install/update) - code style exemples (in /doc/codestyle_examples/) (with sphinx autogenerated doc) - (TBC) auto installation of Guitastro C/C++ dependencies via Dockerfile (python dependencies still installed via pyros.py) - seraration of requirements.txt files for guitastro, sphinx doc, and pyros (plus requirements_dev.txt files for DEV mode) - DEV mode (true by default) : installs ALSO requirements_dev.txt 24-02-2022 (AKo): v0.3.9.0 - Add tests for F05 - Format documents to pep8 - Update pyros_api.py script - Add TOKEN file to .gitignore and test_import_seq.yml - change in MountPointing.yml, target is set to be always editable (is_editable = True) 21-02-2022 (AKo): v0.3.8.0 - Improve pyros_api with (click) commands - Add view to get all sequences within a date period (start_date and end_date) 18-02-2022 (AKo): v0.3.7.0 - Add API url to get a full sequence (i.e. with albums and plans) - Add API urls for querying Plan and Album models - API : Small improvements on checking who is querying (if Admin can see all, if not the view is restricted) - Upgrade fontawesome version (from version 4 to version 6) - Replace edit, delete, copy (i.e. global buttons) by icons with tooltips - Upgrade Mysql version - Fix sql queries for mysql 8.0 - Add pyros_user in sequence list and detail - Add description field in observatories configuration - Add those description as tooltips when they are displayed sequence fields - Add local fontawesome css - Rename configpyros properly (ConfigPyros) - Fix dockerfile issue with permission (uid needs to be the same as the host) 08-02-2022 (AKo) : v0.3.6.0 - Add DRF (Django Rest Framework) to requirements - Add Pyros API (User and sequences with sequence submission) - Add PyrosAPI script to use the API via Python command line - Fixed error when submitting the sequence : the period wasn't associated 07-02-2022 (AKo) : v0.3.5.0 - Adding INVENTORY section to observatory configuration - Logout now redirect to home page 04-02-2022 (AKo) : v0.3.4.0 - Adding VERSION file reading to get version number - Adding configpyros class and renaming previous ConfigPyros class to obsconfig to avoid confusion - Adding configpyros parameters to pyros (settings) - Adding Sequence submission by file (import) or sequence copy - Adding Sequence export (as is and as template) - Fixing obs_astronomer_config webpage according the new obsconfig (layouts and albums) - Fixing obsconfig tests with obsconfig changes (layouts and albums) - Adding pagination to sequence, users, scientific program 12-01-2022 (AKo) : v0.3.3.0 - Reworking schema, obsconfig and configpyros with layouts and albums - Adapting sequence form according to obsconfig changes (albums automatially created) 6-01-2022 (AKo) : v0.3.2.0 - Adding git pull in PYROS_DOCKER_UPDATE before executing pyros.py update within container - Adding attributes in models : period in Sequence, complete in Plan - Adding methods and Manager for ScientificProgram table - Adding new method on configpyros that returns the horizon line of the unit - Updating sequence validator and re-enabling sequence submission - Modification on Sequence form : adding horizon line, ordering fields, print messages on webpage when saving / submitting sequence - Adding Sequences list on SP_Period detail view - Adding Scientific Program in user detail view - Update columns of list of sequences in sequences_list view 06-01-2022 (EP) : v0.3.1.3 - format fixe des messages de log => plus lisible - clean messages logs dans AgentC, Agent, et pyros.py => c'est plus propre (et plus verbeux seulement en mode debug) - bugfix quelques messages log avec virgule... - ajout quelques log debug dans AgentM - script PYROS_DOCKER_RUN démarre le serveur web et l'agentM en mode debug 05-01-2022 (EP) : v0.3.1.1 - log agents : 1 dossier par agent - log.info => format simplifié = print() 05-01-2022 (EP) : v0.3.1.0 - New pyros logger : src/pyros_logger.py 08-12-2021 (EP) : v0.3.0.0 - new PYROS_.py script, wrapper on pyros.py - added this CHANGELOG file