Commit graph

955 commits

Author SHA1 Message Date
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
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
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
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
Sean Breckenridge
98fccdb1ad tox/passenv: move comments above block 2023-01-29 12:06:08 -08:00
Sean Breckenridge
3eaba82790 revert tox changes so error appears in CI 2023-01-29 11:59:19 -08:00
Sean Breckenridge
2c9bd64ed7 separate passenv with newlines 2023-01-27 23:50:34 -08:00
Sean Breckenridge
7a9bb7f811 separate passenv with commas 2023-01-27 11:57:01 -08:00
Sean Breckenridge
b401622985 fix passenv tox configuration 2023-01-27 11:54:39 -08:00
Sean Breckenridge
31981b8f34 add fallback_locations for via_ip 2023-01-27 11:46:22 -08:00
Sean Breckenridge
f2c9715dbc add stub via_ip file 2023-01-27 11:17:35 -08:00
Sean Breckenridge
138afb68a7 add fallback model 2023-01-27 11:17:21 -08:00
Sean Breckenridge
a4468a42da move via_ip to fallback 2023-01-27 10:54:45 -08:00
Sean Breckenridge
3638964e98 move home to fallback/via_home.py 2023-01-27 10:52:24 -08:00
Sean Breckenridge
54e6fe6ab5 ci: try disabling parallel pip installs on windows 2022-12-17 21:07:30 +00:00
Sean Breckenridge
ad52e131a0 google.takeout.parser: recreate cache on upgrade
https://github.com/seanbreckenridge/google_takeout_parser/pull/37
2022-12-17 21:07:30 +00:00
Sean Breckenridge
716a2c82ba core/serialize: serialize stdlib Decimal class 2022-10-19 00:07:30 +01:00
Dima Gerasimov
7098d6831f fix mypy in _identity
seems easier to just ignore considering it's "internal" function

also a couple of tests to make sure it infers types correctly
2022-10-19 00:06:23 +01:00
Dima Gerasimov
5f1d41fa52 my.twitter.archive: fix for newer format (tweets filename changed to tweets.js) 2022-10-19 00:06:23 +01:00
Dima Gerasimov
ca91be8154 twitter.archive: fix legacy config detection
apparently .name contains the parent module so previously it was throwing the exception instead
2022-10-19 00:06:23 +01:00
Dima Gerasimov
c8cf0272f9 instagram.gdpr: use new path to personal information 2022-10-19 00:06:23 +01:00
Sean Breckenridge
7925ec81b6 docs: browser - fix examples for config 2022-08-29 00:03:32 +01:00
Dima Gerasimov
119b295d71 core: allow legacy modules to be used in 'hpi module install' for backwards compatibility
but show warning

kinda hacky, but hopefully we will simplify it further when we have more such legacy modules
2022-06-07 22:59:08 +01:00