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
lubikx
0681f53f34
STORAGE_DIR env variable must end with /, otherwise app tries to write to different directory
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
b0940bfbb0
DB migration
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
e53c8d1e4e
update p3k/utils
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
06dbf62c34
update indieauth/client
6 years ago
Aaron Parecki
f22dfbc81a
add config option to prevent new users
6 years ago
Aaron Parecki
19e5357c08
add h-app class too
6 years ago
Eddie Hinkle
2b983da4b4
Add support for IndieAuth authorization for the micropub endpoint
6 years ago
Eddie Hinkle
0726c6dac4
Add h-x-app to compass’s home page to make IndieAuth logins prettier
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
df578d4aed
handle launched with location, and ignore unrecognized events
closes #11
7 years ago
Aaron Parecki
453f70ba9e
expand .env example and readme
7 years ago
Aaron Parecki
6950fdc016
add artisan command to generate app key
7 years ago
Aaron Parecki
86ac8621d4
delete unused entries from .env
7 years ago
Aaron Parecki
074eca624e
expand installation instructions
for #12
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
Aaron Parecki
ed403e608d
fix create database button
7 years ago
sebsel
d94ba2e7c8
add missing migrations
7 years ago
Aaron Parecki
4e8d9729b7
add database migrations for #6
7 years ago
Sebastiaan Andeweg
d7d41f8591
display speed in metric or imperial
7 years ago
sebsel
f40303ff95
first take at default timezone option
7 years ago
Aaron Parecki
28d4b0f602
Create schema.sql
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
3b1496c317
gitignore
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
9e0eb14f03
fix transport modes
8 years ago
Aaron Parecki
eca6cb13e3
ignore points with a terrible accuracy
8 years ago
Aaron Parecki
17f270a08b
hide trip create button until a range is selected
8 years ago