Aaron Parecki
da66d29966
only set distance if available
4 years ago
Aaron Parecki
e0d10c0fb5
drop incoming data with 0,0 location
5 years ago
Aaron Parecki
8538b9f207
switch to mysql format dates
5 years ago
Aaron Parecki
6a0eb8909c
first draft of a public shared link view
* API method to create a new time-limited shared link
* API method for retrieving the current location given a shared link token
* map view that refreshes the current location every 5 seconds
5 years ago
Aaron Parecki
917cc9c1d8
hack to convert from object to array
6 years ago
Aaron Parecki
3c77290a0a
better error check for geocoding
6 years ago
Aaron Parecki
1f67e854bb
don't run web hooks for manually created trips
6 years ago
Aaron Parecki
f95ca85782
change "ping URLs" to "web hooks" and send more events
sends an event when a trip is started or ended
new location web hook also includes active trip
closes #22
6 years ago
Aaron Parecki
09f03ffa95
always send last location in callback payload
6 years ago
Aaron Parecki
26c0cca1a9
add a route to return the current in-progress trip
closes #16 and #15
6 years ago
Aaron Parecki
79b5fc3076
cache last location and current trip in DB
return `last` location from database instead of filesystem if no `before` param is set
for #15
6 years ago
Aaron Parecki
f6b2ac206c
use p3k\utils and p3k\timezone
drops a bunch of duplicate code now that those libraries exist
6 years ago
Aaron Parecki
453fa70077
Update trip handling for new Overland data format
closes #21
6 years ago
Aaron Parecki
1305d77f35
show current location timestamp in callback log
6 years ago
Aaron Parecki
e7f90f6b7f
don't fall back to default auth for micropub login
6 years ago
Aaron Parecki
f22dfbc81a
add config option to prevent new users
6 years ago
Eddie Hinkle
2b983da4b4
Add support for IndieAuth authorization for the micropub endpoint
6 years ago
Aaron Parecki
e72f0bf55d
send the actual location when pinging an external URL
7 years ago
Aaron Parecki
5d65277c3a
cache timestamps and avoid storing duplicate data
closes #10
7 years ago
Aaron Parecki
6950fdc016
add artisan command to generate app key
7 years ago
Aaron Parecki
df7e99470b
use only indieauth login flow
closes #4
7 years ago
Aaron Parecki
da7b0f4681
disable geocoding
7 years ago
Aaron Parecki
6dd1550724
add task to recreate file without duplicate data
7 years ago
sebsel
f40303ff95
first take at default timezone option
7 years ago
Aaron Parecki
9ba6cb1200
finally fix notify new locations
7 years ago
Aaron Parecki
b5f28756da
fix job constructor
7 years ago
Aaron Parecki
036c46f264
fix reference to new job
7 years ago
Aaron Parecki
d026f96c04
add geocoder response to location input
7 years ago
Aaron Parecki
62ad13065d
add option to ping a URL when new location data is received
7 years ago
Aaron Parecki
6fd5ad2bf1
skip importing trips that are too short
7 years ago
Aaron Parecki
48a67f1126
include timezone name in find-from-localtime
7 years ago
Aaron Parecki
fe6c675e42
adds a method to find the location given a local clock time with no offset
8 years ago
Aaron Parecki
b8a0d30a73
fix content type header
8 years ago
Aaron Parecki
eca6cb13e3
ignore points with a terrible accuracy
8 years ago
Aaron Parecki
da54f141a4
send published date for trips
8 years ago
Aaron Parecki
48195fa495
fix setting type=h-measure on trips
8 years ago
Aaron Parecki
9f38b837a7
add a button to send a trip to the micropub endpoint for the visible time range
8 years ago
Aaron Parecki
2c66e59f90
adds date range fields to map view
8 years ago
Aaron Parecki
ff12fd705c
calculate the trip distance and duration from the actual location data
8 years ago
Aaron Parecki
4c27d75ecc
better error checking for missing trip properties, add cost
* add cost property
* support finding start/end location from the trip route instead of as input
8 years ago
Aaron Parecki
95110bf5dc
include "geocode" property in response if it timed out
8 years ago
Aaron Parecki
bb3ff4493a
support `/api/last` with no date
8 years ago
Aaron Parecki
4ef172eeb7
adds API method to return the latest record before a given date
also can optionally reverse geocode the record using Atlas
8 years ago
Aaron Parecki
9624abc4fe
refactor query route, include all data when format is not linestring
8 years ago
Aaron Parecki
f832313552
add header menu and more semantic-ui updates
8 years ago
Aaron Parecki
d783301af4
include route data as a geojson file
also include timezone in start/end times, and reverse geocoded place name
9 years ago
Aaron Parecki
f3c1b7f42d
add command line task to add a test trip to the queue
9 years ago
Aaron Parecki
894f56c84c
write the trip end record to the database too
9 years ago
Aaron Parecki
0df69a333a
add db config option to add a micropub endpoint
9 years ago
Aaron Parecki
aa8038510e
dispatch a job when a trip is complete
9 years ago