CHANGELOG 10.4 KB
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