Skip to content

Commit

Permalink
iCloud3 v3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gcobb321 committed Nov 8, 2024
1 parent f968a71 commit aee0688
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 593 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

------

[![CurrentVersion](https://img.shields.io/badge/Current_Version-v3.1.1-blue.svg)](https://github.com/gcobb321/icloud3) [![Type](https://img.shields.io/badge/Type-Custom_Component-orange.svg)](https://github.com/gcobb321/icloud3) [![HACS](https://img.shields.io/badge/HACS-Standard_Repository-orange.svg)](https://github.com/gcobb321/icloud3)
[![CurrentVersion](https://img.shields.io/badge/Current_Version-v3.1.2-blue.svg)](https://github.com/gcobb321/icloud3) [![Type](https://img.shields.io/badge/Type-Custom_Component-orange.svg)](https://github.com/gcobb321/icloud3) [![HACS](https://img.shields.io/badge/HACS-Standard_Repository-orange.svg)](https://github.com/gcobb321/icloud3)

[![ProjectStage](https://img.shields.io/badge/Project_Stage-General_Availability-forestgreen.svg)](https://github/gcobb321/icloud3) [![Released](https://img.shields.io/badge/Released-November,_2024-forestgreen.svg)](https://github.com/gcobb321/icloud3)

Expand Down
14 changes: 11 additions & 3 deletions custom_components/icloud3/ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,23 @@



3.1.2
.......................
### Change Log - v3.1.2
1. INITIAL SETUP (Fixed) - Fixed some issues related to setting up iCloud3 the first time or with no apple accounts.



3.1.1
.......................
### Change Log - v3.1.1
1. LOCATING DEVICES:
- Added additional checks to insure the Apple Account location data was refreshed during startup and while configuing iCloud3 settings. Fixed a problem where the location information data from Apple was not being initialized properly.
- Fixed the location refresh not being causied the '0 of 0' to be displayed in the Configure Setting screens, leading to the Apple Account selection lists to not be populated.
- Fixed the location refresh not being done that caused the '0 of 0' to be displayed in the Configure Setting screens, leading to the Apple Account selection lists to not be populated.
- Fixed some problems where 'Locate All Devices = False' would still locate all the devices in the Apple account
- Added error checking to make sure the Locate All Devices can not be disabled if there were Family devices that
were asigned to that Apple account. If it was disabled, they would never be locaed.
2. UPDATE DEVICE SCREEN - Added (and fixed) the TOOLS - RESET DATA SOURCE(S), DELETE DEVICE(S) option where you can reset the device's Apple Account and Mobile App to default values (None) and fixed a problem deleting devices. Reworked the Apple Acccount selection list to provide more information and identify setup errors.
were assigned to that Apple account. If it was disabled, they would never be located.
2. UPDATE DEVICE SCREEN - Added (and fixed) the TOOLS - RESET DATA SOURCE(S), DELETE DEVICE(S) option where you can reset the device's Apple Account and Mobile App to default values (None) and fixed a problem deleting devices. Reworked the Apple Account selection list to provide more information and identify setup errors.
3. UPDATE APPLE ACCOUNT USERNAME/PASSWORD SCREEN - Added checks to insure Locating All Devices can not be disabled if there are tracked devices assigned to this account that are in the Family list.
4. OTHER THINGS - Changed several things under the covers.

Expand Down
3 changes: 3 additions & 0 deletions custom_components/icloud3/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2052,6 +2052,9 @@ def _update_conf_apple_accounts(self, aa_idx, user_input, remove_acct_flag=False

# Add a new account
elif self.add_apple_acct_flag:
if len(Gb.conf_apple_accounts) < 1:
Gb.conf_apple_accounts = [DEFAULT_APPLE_ACCOUNTS_CONF.copy()]

if Gb.conf_apple_accounts[0][CONF_USERNAME] == '':
Gb.conf_apple_accounts[0] = self.conf_apple_acct.copy()
self.aa_idx = 0
Expand Down
10 changes: 5 additions & 5 deletions custom_components/icloud3/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

VERSION = '3.1.1'
VERSION = '3.1.2'
VERSION_BETA = ''
#-----------------------------------------
ICLOUD3 = 'iCloud3'
Expand Down Expand Up @@ -295,12 +295,12 @@ def DEVICE_TYPE_FNAME(device_type):
RED_ALERT = '⛔'
RED_STOP = '🛑'
RED_CIRCLE = '⭕'
SMALL_X = '× '
SMALL_X = ' '
CIRCLE_STAR = '✪ '
CIRCLE_STAR2 = '✪'
CIRCLE_BIG_X = '⊗'
CIRCLE_SLASH = '⊘'
CIRCLE_X = ''
CIRCLE_X = ''
DOT = '• '
PDOT = '•'
SQUARE_DOT = '▪'
Expand All @@ -318,7 +318,7 @@ def DEVICE_TYPE_FNAME(device_type):
NL_DOT = f'{NL} • '
CRLF_XD = f'{CRLF}{NBSP2}×{NBSP2}'
CRLF_X = f'{CRLF}{NBSP3}×{NBSP2}'
CRLF_CIRCLE_X = f'{CRLF}{NBSP2}{NBSP}'
CRLF_CIRCLE_X = f'{CRLF}{NBSP2}{NBSP}'
CRLF_RED_X = f'{CRLF}❌'
CRLF_HDOT = f'{CRLF}{NBSP4}{NBSP3}{NBSP2}'
CRLF_CHK = f'{CRLF}{NBSP3}{NBSP}'
Expand Down Expand Up @@ -852,7 +852,7 @@ def DEVICE_TYPE_FNAME(device_type):
DEFAULT_TRACKING_CONF = {
CONF_USERNAME: '',
CONF_PASSWORD: '',
CONF_APPLE_ACCOUNTS: [DEFAULT_APPLE_ACCOUNTS_CONF],
CONF_APPLE_ACCOUNTS: [],
CONF_ENCODE_PASSWORD: True,
CONF_ICLOUD_SERVER_ENDPOINT_SUFFIX: '',
CONF_SETUP_ICLOUD_SESSION_EARLY: True,
Expand Down
1 change: 1 addition & 0 deletions custom_components/icloud3/helpers/messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ def filter_special_chars(log_msg, evlog_export=False):
log_msg = log_msg.replace('* >', '')
log_msg = log_msg.replace('&lt;', '<')

# The Gb.log_file_filter is set up in config_file.build_log_file_filter
for log_file_filter in Gb.log_file_filter:
log_msg = log_msg.replace(log_file_filter, '…………')

Expand Down
2 changes: 1 addition & 1 deletion custom_components/icloud3/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"issue_tracker": "https://github.com/gcobb321/icloud3/issues",
"loggers": ["icloud3"],
"requirements": ["srp"],
"version": "3.1"
"version": "3.1.2"
}
Loading

0 comments on commit aee0688

Please sign in to comment.