Commit Graph

98 Commits

Author SHA1 Message Date
Jan-Piet Mens
04af6665f3 Add support for GeoJSON POI only
addresses https://github.com/owntracks/recorder/issues/439
2024-01-24 13:01:41 +01:00
Jan-Piet Mens
37cae69f5f update copyright year 2023-01-02 14:05:26 +01:00
Jan-Piet Mens
f929cafee3 ensure lowercased user/device in tour file 2022-08-07 12:18:02 +02:00
Jan-Piet Mens
9a1d03c648 replace all SHARE by TOUR
the word 'share' is difficult and ambiguos (why are we involved in
  investments?) and we're nipping this in the bud by renaming everything
  now in order to avoid the region/waypoint linguistic issues of the
  past.
2022-08-06 18:46:11 +02:00
Jan-Piet Mens
577dc56d8d NEW: tour views are stored in/read from STORAGEDIR/tours/
this separates manually created views from those submitted
	automatically from the apps, and solves the problem of having to
	make viewsdir writeable by the process owner of ot-recorder,
	which I find is a cleaner solution.
2022-08-05 20:16:34 +02:00
Jan-Piet Mens
dbb4dc2b08 NEW: @@@LABEL@@@ in view HTML is replaced by view's label attribute 2022-08-04 23:21:44 +02:00
Jan-Piet Mens
18efad3e9c experimental SHARES 2022-08-04 11:25:23 +02:00
Jan-Piet Mens
3d18bf8b17 prefix Content-Length by X- to avoid issues with chunked encoding
closes #350
2020-09-08 11:31:22 +02:00
Jan-Piet Mens
31f453ccd3 fix off-by-one error introduced in #328 (Safari only)
closes #346
2020-07-01 16:40:23 +02:00
Jan-Piet Mens
7864b6e042 bump copyright date 2019-12-31 11:51:59 +01:00
Linus Groh
277b3cedf0 Send Content-Length header in json_response 2019-12-14 22:07:24 +00:00
Jan-Piet Mens
60813e80d7 option --viewsdir overrides <docroot>/views
addresses #305
2019-06-09 19:41:41 +02:00
Jan-Piet Mens
d9f5d6c977 s/ /tab/ 2019-03-17 09:52:51 +01:00
Sven Anders
6b0e1b6fb2 fix unused result warning on debian stretch 2019-03-17 08:55:27 +01:00
Jan-Piet Mens
5020658174 misleading indent 2019-01-10 16:17:26 +01:00
Jan-Piet Mens
041357928d ensure geohash is sent down the tube in http 2019-01-10 15:48:47 +01:00
Jan-Piet Mens
87a5839805 ping/ping monitoring user/device no longer shows up on map nor in table
closes #195
2017-06-19 13:07:47 +02:00
Jan-Piet Mens
0c0e3b4f7e field_n doesn't support NAN on gcc 2017-05-31 20:27:19 +02:00
Jan-Piet Mens
20f6954eac support traccar (osmand) GET requests 2017-05-31 20:07:27 +02:00
Jan-Piet Mens
491a8f6f20 NEW: support for geo fences (waypoints)
WARNING: you must run --initialize to create the new sub db
  see documentation in doc/FENCES.md
2016-12-07 19:40:59 +01:00
Jan-Piet Mens
001c95395f Serve apikey.js with mime type application/javascript
closes #168
2016-12-02 10:16:18 +01:00
Jan-Piet Mens
d010f2a656 decrypted payloads have "_decrypted":true added to .rec file
closes #151
2016-09-22 14:45:43 +02:00
Jan-Piet Mens
bf39ceb392 Maps browser API key file (apikey.js) is now served by the Recorder
- new option in Recorder: --browser-apikey

	addresses #146
2016-09-12 10:11:21 +02:00
Jan-Piet Mens
04bc76bec7 api/0/version outputs git commit 2016-07-22 10:33:56 +02:00
Jan-Piet Mens
5973275ee4 add content-type to view's page 2016-03-04 11:34:45 +01:00
Jan-Piet Mens
9fbbc3f6fb view can specify hours instead of from/to
closes #99
2016-03-04 10:38:11 +01:00
Jan-Piet Mens
9ca53b264f http publishes are marked with _http:true in JSON 2016-03-02 19:49:00 +01:00
Jan-Piet Mens
e25033abea stab for CARD in user-dev/u-d.json before user/u.json
closes #94
2016-03-01 22:02:33 +01:00
Jan-Piet Mens
c1a3f7f195 ctrl.track starts a month ago
closes #93
2016-03-01 16:19:03 +01:00
Jan-Piet Mens
c0723d344f unused 'track' 2016-03-01 10:13:51 +01:00
Jan-Piet Mens
4494868419 track for CTRL 2016-03-01 10:08:53 +01:00
Jan-Piet Mens
b163005b01 Lua hook on responding to POST in httpmode 2016-02-24 17:59:00 +01:00
Jan-Piet Mens
2cfee69be3 optionally return content of last/user/device/http.json 2016-02-24 14:00:55 +01:00
Jan-Piet Mens
215e1beee2 free 2016-02-24 10:19:00 +01:00
Jan-Piet Mens
8c96d7bd3c encryption fix 2016-02-24 10:12:18 +01:00
Jan-Piet Mens
f38cd3eb33 encrypt httpmode responses if key available 2016-02-24 09:20:11 +01:00
Jan-Piet Mens
63581077be add support for GPX in API 2016-02-24 07:52:46 +01:00
Jan-Piet Mens
7eff223619 acc,vac 2016-02-23 19:42:29 +01:00
Jan-Piet Mens
b8c2d234e3 add cog,alt,vel to httpmode friends for iOS 2016-02-23 19:38:08 +01:00
Jan-Piet Mens
4d7dcf2007 check that friends db value is JSON array 2016-02-23 17:29:52 +01:00
Jan-Piet Mens
81399aa406 cleanup 2016-02-23 14:18:59 +01:00
Jan-Piet Mens
cb7cdbaa30 support FRIENDS in http mode 2016-02-23 12:05:46 +01:00
Jan-Piet Mens
3791e49c05 LMDB is no longer optional 2016-02-22 13:09:57 +01:00
Jan-Piet Mens
100154a97d calloc 2016-02-21 18:45:02 +01:00
Jan-Piet Mens
07f3b612ae http mode 2016-02-19 16:31:32 +01:00
Jan-Piet Mens
e2b9166597 GPL-2 license 2016-02-16 14:09:30 +01:00
Jan-Piet Mens
358c42a73e add CARD to single location in view 2016-02-16 10:04:35 +01:00
Jan-Piet Mens
ea8c773e50 views complete 2016-02-12 10:52:20 +01:00
Jan-Piet Mens
82d6e7d119 first pass (whew!) at VIEWs with Digest auth
closes #59
2016-02-11 20:43:11 +01:00
Jan-Piet Mens
6523294416 fix limit in locations api 2016-02-09 18:21:03 +01:00