Chris McCarthy
81bcf99855
#2646 - Added a custom pre-commit hook that ensure the copyright clause is added to .py and .rst files.
2024-06-05 09:11:37 +01:00
Charlie Crane
5ee23dcb17
Merged PR 348: #2462 - Refactor of DatabaseClient and DatabaseServer
...
## Summary
Refactor of `DatabaseClient` and `DatabaseService` to update how connection IDs are generated. These are now provided by DatabaseService when establishing a connection.
Creation of `DatabaseClientConnection` class. This is used by `DatabaseClient` to hold a dictionary of active db connections.
## Test process
Tests have been updated to reflect the changes and all pass
## Checklist
- [X] PR is linked to a **work item**
- [X] **acceptance criteria** of linked ticket are met
- [X] performed **self-review** of the code
- [X] written **tests** for any new functionality added with this PR
- [X] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [X] updated the **change log**
- [X] ran **pre-commit** checks for code style
- [X] attended to any **TO-DOs** left in the code
Related work items: #2462
2024-04-26 14:52:21 +00:00
Czar Echavez
b8d4a8cc8d
#2470 : changed default log level to warning + changed sys logging in code to be more aligned with severity of messages
2024-04-19 11:37:52 +01:00
Marek Wolan
72f4cc0a50
Remove reset methods from most classes
2024-02-20 16:56:25 +00:00
Marek Wolan
f82506023b
Delete set_original_state method definitions
2024-02-20 16:29:27 +00:00
Marek Wolan
555802baaa
Merge remote-tracking branch 'origin/dev' into dev-v3.0.0b6
2024-01-29 10:26:28 +00:00
Marek Wolan
e57c240b9b
Apply cosmetic changes based on review.
2024-01-11 09:55:09 +00:00
Marek Wolan
1505d08721
Fix backup issues and align with Yak
2024-01-10 18:04:48 +00:00
Czar Echavez
4f79d2ad36
#2059 : moved connection handling from Service to IOSoftware + changes that now utilise connections from IOSoftware + dos bot attacking now works + tests
2023-12-12 17:01:03 +00:00
Czar Echavez
cd5ed48b00
#2059 : implementing the service connections limit
2023-12-08 17:07:57 +00:00
Czar Echavez
349f9dee38
Merge remote-tracking branch 'origin/dev' into feature/2084-add-more-tests-to-make-primaite-more-robust
2023-11-30 09:29:34 +00:00
Marek Wolan
05d62a956d
Fix software reset issues
2023-11-29 13:18:38 +00:00
Czar Echavez
19d534395b
#2084 : beginning the introduction of code coverage + adding tests to try to meet the 80% code coverage target
2023-11-29 01:28:40 +00:00
Chris McCarthy
9a4855e7bd
#1859 - Added the call to file system reset
2023-11-28 11:58:09 +00:00
Czar Echavez
f0fc6518a0
#2064 : add handling of offline service to dns, ftp and database
2023-11-23 21:48:11 +00:00
Czar Echavez
bd6c27244c
#2064 : Edited services and applications to handle when they are shut down
2023-11-23 19:49:03 +00:00
Czar.Echavez
318539fd8f
#1943 : apply suggestions from PR + fixing FTP bug + elaborating
2023-10-09 13:25:12 +01:00
Czar.Echavez
be6b904db9
- Fixed FTP client server infinite recursion - ftp server and clients can be installed on the same node, this could cause a loop of requests
...
- fixed tests broken by merged with dev
2023-10-05 16:24:48 +01:00
Czar.Echavez
4699e87ea8
Merge branch 'dev' into feature/1943-service-web-server
2023-10-04 16:35:23 +01:00
Czar.Echavez
4b5a73bd32
#1943 : web server + client + tests + a few improvements to syslogging
2023-10-03 14:59:48 +01:00
Czar.Echavez
6202d320a6
#1796 : Add ability to create and restore database backups + add more sys log messages + remove the link size checks temporarily
2023-09-28 12:23:49 +01:00
Czar.Echavez
0140fe7c48
#1916 : fix a problem with process_ftp_command method
2023-09-25 15:59:31 +01:00
Czar.Echavez
2520b67889
#1916 :
...
- Added FTP to changelog
- Added FTP to documentation
- Added documentation in code
- Clean up of methods - prevent repeats of the same code
2023-09-25 14:31:57 +01:00
Czar.Echavez
2c234ab67a
#1916 : Setting up a connected states + added tests + error states for if service is interacted with when not running
2023-09-22 15:38:01 +01:00
Czar.Echavez
58edb6d3e4
#1916 : Created FTP superclass + working retrieve file method for FTP
2023-09-21 15:13:30 +01:00
Czar.Echavez
2e76b3f162
#1916 : FTP client STOR request to FTP server
2023-09-20 16:23:35 +01:00