Commit graph

974 commits

Author SHA1 Message Date
Sean Breckenridge
0bb62531b1 use pytest tmp_path fixture to fix windows ci 2023-02-22 23:16:38 -08:00
seanbreckenridge
f05e81cee5
Merge branch 'master' into location-fallback 2023-02-22 23:02:37 -08:00
Sean Breckenridge
dbe0624af8 fix datetime.min.timestamp bug, default to utc 2023-02-22 22:49:59 -08:00
Sean Breckenridge
b653f005a8 remove tinder from hpi module install, no REQUIRES 2023-02-22 22:43:39 -08:00
Sean Breckenridge
bbed294b93 define nested class for via_ip test 2023-02-22 22:34:46 -08:00
Sean Breckenridge
c19cae2c88 err shouldnt happen if user has home configured 2023-02-22 19:07:58 -08:00
Sean Breckenridge
eeea347025 mypy ignore 2023-02-22 05:21:23 -08:00
Sean Breckenridge
b7d1012bf5 use estimate_location in via_home.get_location 2023-02-22 04:56:15 -08:00
Sean Breckenridge
c9c2415771 tz.via_location: add fallback to _iter_tzs
update home to use estimate_location
2023-02-22 04:52:37 -08:00
Sean Breckenridge
0a48393589 add via_ip.estimate_location using binary search 2023-02-22 04:51:57 -08:00
Sean Breckenridge
7aed18042d fallback.all: create top-level import_source functions 2023-02-21 19:52:46 -08:00
Sean Breckenridge
da8f541cdc convert fallback location estimators to be iterators 2023-02-21 19:37:27 -08:00
Sean Breckenridge
1cf9dfe5dd tz.via_location: let user customize cachew refresh time 2023-02-21 19:16:06 -08:00
Sean Breckenridge
f35948d3c4 add denylist test 2023-02-21 16:53:18 -08:00
Sean Breckenridge
6d4724ffbc denylist docs/installation instructions 2023-02-21 16:27:55 -08:00
Sean Breckenridge
8971a3915e fatally erro if pyfzf not installed 2023-02-21 16:11:39 -08:00
Sean Breckenridge
90f7dd2ac8 remove REQUIRES from denylist 2023-02-21 02:51:24 -08:00
Sean Breckenridge
79310198e6 fix optional libs 2023-02-21 02:43:17 -08:00
Sean Breckenridge
e793e91429 add pyfzf_iter to optional libs 2023-02-21 02:38:43 -08:00
Sean Breckenridge
cdc5a9a537 add pyfzf_iter install to tox 2023-02-21 02:25:38 -08:00
Sean Breckenridge
43005de5e4 deprecated via_ip should still have REQUIRES 2023-02-21 02:09:15 -08:00
Sean Breckenridge
1a6dc03b31 copy tox.ini from master for ci 2023-02-21 02:06:29 -08:00
Sean Breckenridge
00c135c460 rename dateishexact to dateish 2023-02-21 02:02:03 -08:00
Sean Breckenridge
2fa0b5cef8 add denylist implementation 2023-02-21 01:28:53 -08:00
Dima Gerasimov
130c273513 my.telegram.telegram_backup enhancements
- add chat handle
- add permalink
- more precise types
2023-02-21 02:44:18 +00:00
Dima Gerasimov
07e7c62d02 general/ci: mypy check tests 2023-02-21 00:20:58 +00:00
Dima Gerasimov
c63177e186 general/ci: clean up mypy-misc pipeline, only exclude specific files instead
marked some module configs which aren't really ready for public use as type: ignore
2023-02-21 00:20:58 +00:00
Dima Gerasimov
eff9c02886 my.fbmessenger.android: add optional facebook_id 2023-02-20 20:14:15 +00:00
Dima Gerasimov
af874d2d75 my.fbmessenger.android: minor refactoring, comments & error handling 2023-02-20 20:14:15 +00:00
Dima Gerasimov
6493859ba5 my.telegram: initial module from telegram_backup 2023-02-19 01:20:38 +00:00
Dima Gerasimov
6594ad24dc my.tinder.android: speedup unique_everseen by adding unsafe_hash 2023-02-19 01:20:38 +00:00
Dima Gerasimov
458633ea96 my.tinder.android: add a bit of logging 2023-02-19 01:20:38 +00:00
Sean Breckenridge
ce2a42c45a gpslogger: sort input by splitting on device id 2023-02-16 02:28:44 -08:00
Sean Breckenridge
a7cc89bbfb tz/via_location.py: update import to fallback 2023-02-16 02:28:08 -08:00
Sean Breckenridge
fdfd22bef2 add datasources to gpslogger/google_takeout 2023-02-16 02:25:15 -08:00
Sean Breckenridge
36beab5f17 via_home: add accuracy, cache history 2023-02-15 22:28:07 -08:00
Sean Breckenridge
02ea0b26dd make mypy error more specific 2023-02-15 21:36:58 -08:00
Sean Breckenridge
5b8b1d3bbf remove todo 2023-02-15 21:28:48 -08:00
Sean Breckenridge
9769748939 estimate_from helper, via_home estimator, all.py 2023-02-15 21:26:05 -08:00
Dima Gerasimov
0e884fe166 core/modules: switch away from using override_config to tmp_config in some tests & faka data generators 2023-02-09 02:35:09 +00:00
Dima Gerasimov
5ac5636e7f core: better support for ad-hoc configs
properly reload/unload the relevant modules so hopefully no more weird hacks should be required

relevant
- https://github.com/karlicoss/promnesia/issues/340
- https://github.com/karlicoss/HPI/issues/46
2023-02-09 02:35:09 +00:00
Dima Gerasimov
fb0c1289f0 my.fbmessenger.export: use context manager to properly close sqlite connection 2023-02-08 02:18:00 +00:00
Dima Gerasimov
bb5ad2b6ac core: make hpi install more defensive, just warn on no requirements
this is useful for backwards compatibility if modules remove their requirements
2023-02-07 01:57:00 +00:00
Dima Gerasimov
5c82d0faa9 switch from using dataset to raw sqlite3 module
dataset is kinda unmaintaned and currently broken due to sqlalchemy 2.0 changes

resolves https://github.com/karlicoss/HPI/issues/264
2023-02-07 01:57:00 +00:00
Dima Gerasimov
9c432027b5 instagram.android: fix missing id 2023-02-07 01:57:00 +00:00
Sean Breckenridge
52b6acbcbf use protocol for locations 2023-02-03 18:59:41 -08:00
karlicoss
8d70dd725d ci: fix tox config
seems that after version 4.0 it's necessary to specify environments to run
previosly it was picking them up automatically
2023-01-30 17:35:26 -08:00
karlicoss
11b6e51c90 ci: fix tox config
seems that after version 4.0 it's necessary to specify environments to run
previosly it was picking them up automatically
2023-01-31 00:31:54 +00:00
Sean Breckenridge
24c87e423b use __future__ annotations 2023-01-30 15:22:30 -08:00
Sean Breckenridge
703e7c67a2 tox: interleave passenv comments 2023-01-30 15:19:57 -08:00