Aaron Parecki
8538b9f207
switch to mysql format dates
7 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
7 years ago
Aaron Parecki
917cc9c1d8
hack to convert from object to array
7 years ago
Aaron Parecki
3c77290a0a
better error check for geocoding
7 years ago
lubikx
0681f53f34
STORAGE_DIR env variable must end with /, otherwise app tries to write to different directory
7 years ago
Aaron Parecki
1f67e854bb
don't run web hooks for manually created trips
8 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
8 years ago
Aaron Parecki
09f03ffa95
always send last location in callback payload
8 years ago
Aaron Parecki
b0940bfbb0
DB migration
8 years ago
Aaron Parecki
26c0cca1a9
add a route to return the current in-progress trip
closes #16 and #15
8 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
8 years ago
Aaron Parecki
e53c8d1e4e
update p3k/utils
8 years ago
Aaron Parecki
f6b2ac206c
use p3k\utils and p3k\timezone
drops a bunch of duplicate code now that those libraries exist
8 years ago
Aaron Parecki
453fa70077
Update trip handling for new Overland data format
closes #21
8 years ago
Aaron Parecki
1305d77f35
show current location timestamp in callback log
8 years ago
Aaron Parecki
e7f90f6b7f
don't fall back to default auth for micropub login
8 years ago
Aaron Parecki
06dbf62c34
update indieauth/client
8 years ago
Aaron Parecki
f22dfbc81a
add config option to prevent new users
8 years ago
Aaron Parecki
19e5357c08
add h-app class too
8 years ago
Eddie Hinkle
2b983da4b4
Add support for IndieAuth authorization for the micropub endpoint
8 years ago
Eddie Hinkle
0726c6dac4
Add h-x-app to compass’s home page to make IndieAuth logins prettier
8 years ago
Aaron Parecki
e72f0bf55d
send the actual location when pinging an external URL
8 years ago
Aaron Parecki
5d65277c3a
cache timestamps and avoid storing duplicate data
closes #10
8 years ago
Aaron Parecki
df578d4aed
handle launched with location, and ignore unrecognized events
closes #11
8 years ago
Aaron Parecki
453f70ba9e
expand .env example and readme
8 years ago
Aaron Parecki
6950fdc016
add artisan command to generate app key
8 years ago
Aaron Parecki
86ac8621d4
delete unused entries from .env
8 years ago
Aaron Parecki
074eca624e
expand installation instructions
for #12
8 years ago
Aaron Parecki
df7e99470b
use only indieauth login flow
closes #4
8 years ago
Aaron Parecki
da7b0f4681
disable geocoding
8 years ago
Aaron Parecki
6dd1550724
add task to recreate file without duplicate data
8 years ago
Aaron Parecki
ed403e608d
fix create database button
9 years ago
sebsel
d94ba2e7c8
add missing migrations
9 years ago
Aaron Parecki
4e8d9729b7
add database migrations for #6
9 years ago
Sebastiaan Andeweg
d7d41f8591
display speed in metric or imperial
9 years ago
sebsel
f40303ff95
first take at default timezone option
9 years ago
Aaron Parecki
28d4b0f602
Create schema.sql
9 years ago
Aaron Parecki
9ba6cb1200
finally fix notify new locations
9 years ago
Aaron Parecki
b5f28756da
fix job constructor
9 years ago
Aaron Parecki
036c46f264
fix reference to new job
9 years ago
Aaron Parecki
d026f96c04
add geocoder response to location input
9 years ago
Aaron Parecki
62ad13065d
add option to ping a URL when new location data is received
9 years ago
Aaron Parecki
3b1496c317
gitignore
9 years ago
Aaron Parecki
6fd5ad2bf1
skip importing trips that are too short
9 years ago
Aaron Parecki
48a67f1126
include timezone name in find-from-localtime
9 years ago
Aaron Parecki
fe6c675e42
adds a method to find the location given a local clock time with no offset
10 years ago
Aaron Parecki
b8a0d30a73
fix content type header
10 years ago
Aaron Parecki
9e0eb14f03
fix transport modes
10 years ago
Aaron Parecki
eca6cb13e3
ignore points with a terrible accuracy
10 years ago
Aaron Parecki
17f270a08b
hide trip create button until a range is selected
10 years ago