Richard Case

Results 84 issues of Richard Case

Adds a server job for appending an ssh key to authorized_keys in case you are locked out of a server

The following DocTypes have the wrong field type on their document reference field, should be Dynamic Link: - [ ] Event Update Log - [ ] Event Sync Log See...

The main fix is to the Purchase Order dashboard link back to the Sales Order which was incorrectly specified in the _dashboard.py file Also adds in some missing links, mainly...

needs-tests

### Information about bug See tests reproducing the issue: https://github.com/frappe/erpnext/pull/41814 It is possible for the Stock Entry `create_serial_and_batch_bundle` to be called with no serial number and empty `row.batches_to_be_consume` thus resulting...

bug

### Information about bug See tests reproducing the issue: https://github.com/frappe/erpnext/pull/41814 It appears `get_available_materials` has been poorly written and not properly tested. The code on inspection tries to remove a serial...

bug

Currently only IPv4 is supported. IPv6 should be supported for internet facing services, at a minimum.

``` File "apps/press/press/press/report/mariadb_slow_queries/mariadb_slow_queries.py", line 160, in get_slow_query_logs query = {'query': {'bool': {'filter': [{'exists': {'field': 'mysql.slowlog.query'}}, {'match_phrase': {'mysql.slowlog.schema': None}}, {'range': {'@timestamp': {'gt': '2024-08-23T19:52:31+00:00', 'lte': '2024-08-24T19:52:31+00:00'}}}]}}, 'size': 10} response = {'error': {'root_cause':...

The Press Settings has the agent branch, but this is not used on the initial agent install by ansible

- The heap size of the elasticsearch component needs to be set, otherwise it's initialised as half the server RAM, i.e. arbitrary: https://www.elastic.co/guide/en/elasticsearch/reference/current/advanced-configuration.html#set-jvm-heap-size - As the log server is not...

![Screen Shot 2024-08-21 at 15 11 59](https://github.com/user-attachments/assets/acb1e5de-b12c-4a79-9c41-85a70593d92e)