482 Commits

Author SHA1 Message Date
Mike A.
4e3e30d0bb feat: add plist -> json conversion example 2025-09-08 00:53:15 +02:00
Mike A.
ed94179b32 fix: resolve import error 2025-09-08 00:52:59 +02:00
Mike Almeloo
21bcb89bbd Merge branch 'main' into fix/accessory-key-drift 2025-09-08 00:51:18 +02:00
Mike A.
04918946af feat: support airtags in scanner example 2025-09-08 00:43:30 +02:00
Mike A.
066fd0a714 fix: resolve typing issues in scanner 2025-09-06 21:56:19 +02:00
Mike A.
48007752af fix: Make examples work 2025-09-06 21:40:08 +02:00
Mike A.
05ea2c9a74 feat: re-introduce location history 2025-09-06 21:29:00 +02:00
Mike A.
fbaf57ed09 feat!: implement key alignment algorithm for accessories
BREAKING: due to fundamental issues with Apple's API, this commit also DEPRECATES the `fetch_[last_]reports` methods on Apple account instances. It has been replaced by a method named `fetch_location`, which only returns a single location report (the latest one) and does not support setting a date range.
2025-09-05 00:36:37 +02:00
Mike Almeloo
70098541ed Merge pull request #164 from pablobuenaposada/fix-uv
Resolve versioned tests and update the required dependencies for python <3.11
2025-09-01 19:23:06 +02:00
Mike Almeloo
35fef82248 Merge pull request #146 from malmeloo/fix/examples
fix(examples): fix plist loading error
2025-08-25 12:54:40 +02:00
pablobuenaposada
aab830cda4 Resolve versioned tests and update the required dependencies for python <3.11
- The github action that runs pytest in every python version was actually running pyhton 3.13 for all the cases, so it was useless
- The docs uses myst-parser==4.0.1 which is only supported in python >=3.10 and sphinx==8.2.3 which is only supported in python >=3.11, so both dependencies had been attached to needed python version so uv sync doesn't complain anymore
- No need of tool.uv.dependency-groups.docs anymore
- Rest of the changes are related to some imports not available in python 3.9 and 3.10
2025-08-17 11:53:13 +02:00
Mike A.
e992df7f88 feat: dump alignment info when importing accessories 2025-08-08 21:59:31 +02:00
Mike A.
32686a898d fix: include alignment parameters in accessory json 2025-08-07 21:21:21 +02:00
Mike A.
f771ad97d5 refactor: abstraction for plist reading 2025-08-07 21:06:48 +02:00
Mike Almeloo
64347b942c Merge pull request #125 from pajowu/pajowu/aligment
Add option to align FindMyAccessories key generation
2025-08-07 20:47:47 +02:00
Mike A.
1d3affb3c2 Merge branch 'main' into pajowu/aligment 2025-08-07 20:46:31 +02:00
Mike Almeloo
c0ab4869a6 Merge pull request #158 from franga2000/main
Fixed uv build
2025-08-05 18:38:52 +02:00
Miha Frangež
5e434ee3bb Fixed uv build 2025-08-05 18:15:48 +02:00
Mike A.
29e95477d1 ci: fix docs builder 2025-08-05 15:47:33 +02:00
Mike Almeloo
2fda5abb74 Merge pull request #7 from malmeloo/feat/better-docs
Better documentation
2025-08-05 15:39:46 +02:00
Mike A.
5e8a443180 docs: small autoapi improvements 2025-08-05 15:38:36 +02:00
Mike A.
ba76f66e08 docs: fix page reference 2025-08-05 15:28:09 +02:00
Mike A.
d20ec0c900 docs: automatically infer version 2025-08-05 15:26:40 +02:00
Mike A.
7445bfae2e ci: install graphviz for docs build 2025-08-05 15:17:26 +02:00
Mike A.
e2383ed61f docs: finish network intercept tutorial 2025-08-05 15:09:15 +02:00
Mike A.
e2978b66a0 docs: hide typevar definitions 2025-08-05 15:08:56 +02:00
Mike A.
4f450882b8 docs: more page fixes 2025-08-04 16:36:42 +02:00
Mike A.
def535f819 docs: somewhat fix references in source code 2025-08-04 16:16:30 +02:00
Mike A.
ea880d5d49 docs: switch to book-theme 2025-08-04 16:09:40 +02:00
Mike A.
89e2a5d208 Merge branch 'main' into feat/better-docs 2025-08-04 15:11:51 +02:00
Mike A.
00c353fbb7 chore: pre-commit fixes 2025-08-04 14:43:05 +02:00
Mike A.
78cd3b4600 build: switch to basedpyright & update pre-commit hooks 2025-08-04 14:32:00 +02:00
Mike Almeloo
55c111073d Merge pull request #148 from malmeloo/feat/better-serialization
Make more objects `Serializable`
2025-08-03 21:46:05 +02:00
Mike A.
0014d03150 chore: update examples 2025-08-03 21:45:11 +02:00
Mike A.
2e6f70d199 feat: add session managers 2025-08-03 21:45:04 +02:00
Mike A.
9017efc7be refactor: specialize Serializable subclasses for stronger type safety 2025-08-03 21:42:08 +02:00
Mike Almeloo
7a33b92084 Merge pull request #156 from Glimpse-Analytics/fix/session-management-cleanup
Fix unclosed aiohttp client session warnings in session management
2025-08-01 20:06:17 +02:00
Mike Almeloo
e7bcbee1bb Merge pull request #69 from malmeloo/renovate/sphinx-8.x
chore(deps): update dependency sphinx to v8
2025-08-01 20:01:10 +02:00
renovate[bot]
68b3f96697 chore(deps): update dependency sphinx to v8 2025-08-01 18:00:09 +00:00
Mike Almeloo
c790f84372 Merge pull request #157 from malmeloo/fix/update-python-version
build: constrain Python version to >= 3.11 for building docs
2025-08-01 19:58:58 +02:00
Mike A.
c06dac785d build: constrain Python version to >= 3.11 for building docs 2025-08-01 19:57:52 +02:00
Mike A.
543ffe64a3 feat: make FindMyAccessory serializable 2025-08-01 18:05:07 +02:00
Paul Bargewell
e15356c4a7 [fix] QA issues (BLE001) 2025-07-25 14:03:54 +01:00
Paul Bargewell
eba90b56a4 Fix unclosed aiohttp client session warnings
- Add proper session state management to HttpSession, RemoteAnisetteProvider, and AsyncAppleAccount
- Implement idempotent close() methods with _closed flags
- Improve cleanup order and error handling
- Prevent new session creation after close() is called

Fixes resource leaks and eliminates aiohttp unclosed session warnings.
2025-07-25 13:52:08 +01:00
Mike A.
07a3fed11e feat: make LocationReport serializable 2025-07-23 20:24:34 +02:00
Mike A.
cbea476226 feat: make KeyPair serializable 2025-07-23 20:04:31 +02:00
Mike A.
21ef4fe292 Merge remote-tracking branch 'refs/remotes/origin/main' into feat/better-serialization 2025-07-23 19:48:38 +02:00
Mike A.
c8a3605dd3 fix: add guard against incorrect account data deserialization 2025-07-23 19:45:24 +02:00
Mike Almeloo
dbdab95f9b Merge pull request #152 from malmeloo/chore/update-deps
chore: update dependencies
2025-07-18 16:27:32 +02:00
Mike Almeloo
5c117ddce2 Merge pull request #113 from shreyasminocha/pubkey-ble-conversion
Add BLE ad data generation method
2025-07-18 16:25:34 +02:00