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
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
7 years ago
Aaron Parecki
09f03ffa95
always send last location in callback payload
7 years ago
Aaron Parecki
26c0cca1a9
add a route to return the current in-progress trip
closes #16 and #15
7 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
7 years ago
Aaron Parecki
f6b2ac206c
use p3k\utils and p3k\timezone
drops a bunch of duplicate code now that those libraries exist
7 years ago
Aaron Parecki
e7f90f6b7f
don't fall back to default auth for micropub login
7 years ago
Aaron Parecki
f22dfbc81a
add config option to prevent new users
7 years ago
Eddie Hinkle
2b983da4b4
Add support for IndieAuth authorization for the micropub endpoint
7 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
df7e99470b
use only indieauth login flow
closes #4
7 years ago
Aaron Parecki
da7b0f4681
disable geocoding
7 years ago
sebsel
f40303ff95
first take at default timezone option
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
48a67f1126
include timezone name in find-from-localtime
8 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
9f38b837a7
add a button to send a trip to the micropub endpoint for the visible time range
9 years ago
Aaron Parecki
2c66e59f90
adds date range fields to map view
9 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
9 years ago
Aaron Parecki
95110bf5dc
include "geocode" property in response if it timed out
9 years ago
Aaron Parecki
bb3ff4493a
support `/api/last` with no date
9 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
9 years ago
Aaron Parecki
9624abc4fe
refactor query route, include all data when format is not linestring
9 years ago
Aaron Parecki
f832313552
add header menu and more semantic-ui updates
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
Aaron Parecki
6475d760dc
add exit pause region event, stub for receiving trips
9 years ago
Aaron Parecki
7f241eb853
fancy graph now includes speed and visit/event information
9 years ago
Aaron Parecki
ba91f8e891
show a graph of battery usage at the bottom of the map
9 years ago
Aaron Parecki
a352b704be
adds route to return the current database name. handles more date formats and better error checking
9 years ago
Aaron Parecki
7e1dbec110
fix permission check for viewing map
9 years ago
Aaron Parecki
427e34cecf
re-fix
9 years ago
Aaron Parecki
4650ddc010
fix user login
9 years ago
Aaron Parecki
edec00bae2
adds calendar view and query API
9 years ago
Aaron Parecki
6f267fbede
add API route for writing data
9 years ago
Aaron Parecki
06be24b046
add map view with no data
9 years ago
Aaron Parecki
cb342d7eec
settings page to add/remove users and view tokens
9 years ago
Aaron Parecki
4b576813a0
new map and settings routes, add tokens for DBs
9 years ago
Aaron Parecki
eafa2f8051
updates
* adds database for users and list of DBs
* create DB interface
* adds some styles so it looks less dumb
9 years ago
Aaron Parecki
2d35f382c0
also support native github login
9 years ago
Aaron Parecki
8419d96363
adds basic login flow using indieauth
9 years ago
Aaron Parecki
6f84d94605
new Lumen project
9 years ago