-
5bb577d50f
cellidresolver: cache lookup results in memory
dev-sane
Colin
2024-06-30 18:39:55 +00:00
-
2caacd27a6
cellidresolver: synthesize a cell tower if no exact match is found in the database
Colin
2024-06-21 16:20:47 +00:00
-
810508aa7e
cellid_import: fix TypeError when --mcc or --mnc are unspecified
Colin
2024-06-21 13:36:39 +00:00
-
069560accc
web: Only catch aiohttp.ClientError exceptions on MLS query
main
Teemu Ikonen
2023-06-15 20:29:57 +03:00
-
29ab612439
wiglenet: Add timeouts to _tileupdate calls
Teemu Ikonen
2023-06-13 15:55:44 +03:00
-
f3709030cd
wiglenet: Hold a ref to the _update_neighbour_tiles bg task while it's running
Teemu Ikonen
2023-06-13 15:06:18 +03:00
-
057dd67557
utils: Add more typing
Teemu Ikonen
2023-06-07 22:18:55 +03:00
-
7dae313cc4
data: Add a localdb section to the example conf
Teemu Ikonen
2023-06-09 18:56:47 +03:00
-
92f254d6d2
server: Update all local DBs (obsdb, localdb) on locate and submit calls
Teemu Ikonen
2023-06-09 18:55:07 +03:00
-
26fc63ff18
config: Collect updatable localdb files to 'localdb_files' key
Teemu Ikonen
2023-06-09 18:53:20 +03:00
-
416bb5086f
local: Add local database implementation
Teemu Ikonen
2023-05-26 16:42:30 +03:00
-
5e255f4608
constants: Add BT, cell and cellarea constants, add sources
Teemu Ikonen
2023-06-08 12:09:27 +03:00
-
dbbf2a5c22
constants: Rename WIFI_MAX_CLUSTER_METERS to WIFI_MAX_RADIUS
Teemu Ikonen
2023-06-07 22:23:10 +03:00
-
f228e369a5
obsdb: Add func _get_positions()
Teemu Ikonen
2023-06-10 14:35:04 +03:00
-
843e665ff2
obsdb: Add UpdaterBase class, allow position in insert_locate
Teemu Ikonen
2023-06-09 18:38:53 +03:00
-
e771f8dfe3
Add a resolver base class ResolverBase
Teemu Ikonen
2023-06-04 22:34:42 +03:00
-
3c7aa67871
locator/base.py: flake8
Teemu Ikonen
2023-06-04 22:33:30 +03:00
-
05b18b3402
web: More debug output
Teemu Ikonen
2023-05-26 16:24:33 +03:00
-
8c844486e4
README.md: Add info on entry points and cellid import, improve
Teemu Ikonen
2023-03-30 16:06:54 +03:00
-
de84ffa2e5
Add hand-crafted entry point scripts under ./bin
Teemu Ikonen
2023-03-30 15:31:19 +03:00
-
abac29c0e9
setup.py: Add 'cellid-ols-import' entrypoint
Teemu Ikonen
2023-03-30 15:21:57 +03:00
-
e12a04e40e
cellid: Add a DB importer from opencellid CSV format
Teemu Ikonen
2023-03-30 15:28:08 +03:00
-
1aa7e4bfb2
cellid: Add DB_VERSION and check it on init
Teemu Ikonen
2023-03-30 12:16:58 +03:00
-
7824cc1fda
README.md: Add 'See also' section
Teemu Ikonen
2023-03-30 15:22:21 +03:00
-
b0307f2b9f
Add setup.py and pyproject.toml
Teemu Ikonen
2023-03-30 15:26:46 +03:00
-
66e1bdc8d0
Version 0.1.0
Teemu Ikonen
2023-03-24 16:29:15 +02:00
-
0d632ad648
README.md: Update
Teemu Ikonen
2023-03-24 16:23:59 +02:00
-
2c89b7d092
requirements.txt: Add scipy
Teemu Ikonen
2023-03-24 15:01:32 +02:00
-
04b48952e9
Support multiple locator methods
Teemu Ikonen
2023-03-10 17:09:06 +02:00
-
2ff735aeaa
README.md: Update cell id backend status
Teemu Ikonen
2023-03-10 14:38:24 +02:00
-
afba598a7a
config: Fix typo on --logtimestamps cmdline arg
Teemu Ikonen
2023-03-03 15:04:47 +02:00
-
b89c4f80bf
config: Set default debug level to 'warning'
Teemu Ikonen
2023-03-03 15:02:19 +02:00
-
0152a43ecf
data: Add example service file
Teemu Ikonen
2023-03-03 14:31:34 +02:00
-
000020e8be
data: Move data dir to module ols.data with __init__.py
Teemu Ikonen
2023-03-03 14:30:39 +02:00
-
254cb08693
config: Set default conffile to '~/.config/ols/ols.toml'
Teemu Ikonen
2023-03-03 14:24:18 +02:00
-
9077fef54e
data: Improve example conffile
Teemu Ikonen
2023-03-03 12:54:24 +02:00
-
bd941d8cf6
config: Default to '~/.local/share/ols' as datadir
Teemu Ikonen
2023-03-03 12:52:33 +02:00
-
1ba258fbf9
config: Allow None as obsdb, default to it
Teemu Ikonen
2023-03-03 12:31:11 +02:00
-
237477564a
Add locator/__init__.py
Teemu Ikonen
2023-03-02 16:34:32 +02:00
-
e001c8adf1
Add .editorconfig file
Teemu Ikonen
2023-03-01 11:41:01 +02:00
-
02df5ec923
wiglenet: Shorten cache hit debug log message
Teemu Ikonen
2023-02-21 14:05:27 +02:00
-
c6762ecfb8
Remove wiglenetresolver.py to wiglenet.py
Teemu Ikonen
2023-02-21 14:04:35 +02:00
-
113538daf2
Adapt to backend -> resolver name change
Teemu Ikonen
2023-02-20 18:36:28 +02:00
-
111ed035e4
Rename backend dir to resolver
Teemu Ikonen
2023-02-20 18:35:38 +02:00
-
ce02fd3367
flake8
Teemu Ikonen
2023-02-20 17:19:06 +02:00
-
dd2b2acbef
locator/clustering: Add Ichnaea license info
Teemu Ikonen
2023-02-20 16:41:02 +02:00
-
e12e8acc50
locator: Improve single wifi accuracy calculations
Teemu Ikonen
2023-02-20 16:33:20 +02:00
-
3be2ba52d7
server: Use multiple resolvers in 'Strongest*' locators
Teemu Ikonen
2023-02-20 16:30:12 +02:00
-
f431baffaa
locator/single: Rename SingleXLocator classes to SingleXLocatorBase
Teemu Ikonen
2023-02-20 15:38:30 +02:00
-
fd16406b8b
locators: Adapt to the new location
Teemu Ikonen
2023-02-20 15:20:54 +02:00
-
46ffcf590a
Move all locators to ols.locator
Teemu Ikonen
2023-02-20 14:53:09 +02:00
-
8430474642
locators: Add StrongestCellLocator, refactor
Teemu Ikonen
2023-02-20 13:32:03 +02:00
-
3edc547eb4
server: Convert 'radioType' to upper case after validation
Teemu Ikonen
2023-02-20 13:02:08 +02:00
-
a2e610539b
locators: Support multiple resolvers in SingleWifiLocator(s)
Teemu Ikonen
2023-02-20 11:33:00 +02:00
-
1bcafb3a90
Support multiple resolvers in clustering locator
Teemu Ikonen
2023-02-17 16:16:22 +02:00
-
091d54e962
Split 'backends' in config to 'locators' and 'resolvers'
Teemu Ikonen
2023-02-17 13:45:00 +02:00
-
ac53b20901
wiglenet: Add WiglenetCacheOnlyResolver
Teemu Ikonen
2023-02-15 14:36:50 +02:00
-
0f3ad977f3
cellid: Add a dummy resolve_wifi method, fix docstring
Teemu Ikonen
2023-02-15 14:36:04 +02:00
-
9f2009a360
Add a clustering locator based on Ichnaea algorithms
Teemu Ikonen
2023-02-07 19:00:27 +02:00
-
1c4d9324bd
setup.cfg: Ignore Q000 (quotes) in flake8
Teemu Ikonen
2023-02-10 14:02:25 +02:00
-
9dab2b2730
cellid: Reduce debug logging, always use upper case radiotype
Teemu Ikonen
2023-02-12 17:53:04 +02:00
-
6454f1d5ee
wiglenet: Reduce debug logging
Teemu Ikonen
2023-02-12 16:31:28 +02:00
-
c359bc46d1
wiglenet: Add 'cacheonly' kwarg to resolvers
Teemu Ikonen
2023-02-10 20:23:18 +02:00
-
422d1e3c23
wiglenet: Fix queries and validation for cell networks
Teemu Ikonen
2023-02-09 22:24:10 +02:00
-
5f9a4ac43a
server: Make sure 'cellTowers' items have a 'radioType' key
Teemu Ikonen
2023-02-09 22:17:56 +02:00
-
95f1ec1070
utils: Fix mcc_mnc_to_opc(), add docstring
Teemu Ikonen
2023-02-09 21:06:42 +02:00
-
27fffb5fbd
wiglenet: Return default radius, if it's not available
Teemu Ikonen
2023-02-07 18:59:21 +02:00
-
d97b60cd1f
utils: Fix webmercator_tile()
Teemu Ikonen
2023-01-24 21:30:24 +02:00
-
5835e16620
server: Improve locate request info log message
Teemu Ikonen
2023-01-11 20:19:07 +02:00
-
00434b8d62
flake8
Teemu Ikonen
2023-01-11 19:30:16 +02:00
-
d9aa32af68
utils: Add message to AssertionError in webmercator_tile()
Teemu Ikonen
2023-01-11 19:09:15 +02:00
-
c2429c8535
wiglenetschemas: Allow null on most string values
Teemu Ikonen
2023-01-11 18:01:49 +02:00
-
190c913d32
server: Add v2/geosubmit endpoint
Teemu Ikonen
2022-12-21 17:49:56 +02:00
-
3714f12054
obsdb: Implement insert_submit()
Teemu Ikonen
2022-12-21 17:49:23 +02:00
-
1d275ec4ea
obsdb: Add accuracy column to observation database
Teemu Ikonen
2022-12-21 17:33:25 +02:00
-
fc51ad4fdd
obsdb: Add 'cdma' and 'nr' radiotype enums
Teemu Ikonen
2022-12-21 17:27:32 +02:00
-
b47b0da38e
obsdb: Refactor insert_locate()
Teemu Ikonen
2022-12-21 16:03:38 +02:00
-
193fdd063d
schemas: Add MLS geosubmit v2 schema
Teemu Ikonen
2022-12-21 12:30:17 +02:00
-
253726a20b
server: Set hint to None after locator failure
Teemu Ikonen
2022-12-21 12:29:41 +02:00
-
6e4f83ed8f
server: Differentiate parse error vs. not found responses
Teemu Ikonen
2022-12-21 12:18:29 +02:00
-
8cfb487158
wiglenet: Reduce debug log spam
Teemu Ikonen
2022-12-19 15:22:57 +02:00
-
8eecba7eb7
wiglenet: Reduce log spam on _update_neighbour_tiles
Teemu Ikonen
2022-12-19 11:45:23 +02:00
-
dedc2d3d16
obsdb: Implement remove()
Teemu Ikonen
2022-12-19 00:03:37 +02:00
-
7c4589a288
obsdb: Sort get_observation_list() results by timestamp
Teemu Ikonen
2022-12-19 00:03:10 +02:00
-
907e720487
server: Add cellid backend
Teemu Ikonen
2022-12-18 22:43:14 +02:00
-
94ab007b6c
data: Add cellid backend config to example conffile
Teemu Ikonen
2022-12-18 22:42:45 +02:00
-
72bdba0fc1
locators: Add FirstCellLocator
Teemu Ikonen
2022-12-18 22:41:27 +02:00
-
48e84dd3c9
cellid: Add new backend
Teemu Ikonen
2022-12-18 22:38:12 +02:00
-
2df6a798cd
README.md: Add Requirements section
Teemu Ikonen
2022-12-18 22:36:43 +02:00
-
af47f3a448
wiglenet: Make testing for disabled search a func
Teemu Ikonen
2022-12-16 00:15:53 +02:00
-
02eab00c83
wiglenetschemas: Allow null 'type' in search 'results'
Teemu Ikonen
2022-12-11 22:25:54 +02:00
-
102e84438d
wiglenet: Run _tileupdate calls under search_lock mutex
Teemu Ikonen
2022-12-11 22:24:54 +02:00
-
e899a19780
wiglenet: Add mutex for detail API queries
Teemu Ikonen
2022-12-11 18:34:00 +02:00
-
2bc95316f4
server: Add 20 s timeout context to locate calls
Teemu Ikonen
2022-12-11 17:33:06 +02:00
-
a552517b77
constants,locators: Add WIFI_DEFAULT_STRENGTH, use constants in locators
Teemu Ikonen
2022-12-10 22:23:31 +02:00
-
bd38aaff72
Add requirements.txt
Teemu Ikonen
2022-12-10 00:18:50 +02:00
-
c40fe71c55
wiglenet: Improve debug messages
Teemu Ikonen
2022-12-09 14:29:40 +02:00
-
150f8252f0
wiglenet: Replace API call ValueError with custom BadResponseError
Teemu Ikonen
2022-12-09 14:23:38 +02:00
-
4f12e5eef2
wiglenet: Catch aiohttp.ClientErrors
Teemu Ikonen
2022-12-08 20:09:34 +02:00
-
32cbd5c1e2
wiglenet: Add TODO
Teemu Ikonen
2022-12-08 15:59:59 +02:00