Commit Graph

1171 Commits

Author SHA1 Message Date
Jan-Piet Mens
ce65f5c0fd 2023-10-24 version 0.9.4
- FIX: logs to stderr if DOCKER_RUNNING in environment (#426)
- FIX: typo in help descriptions (#423)
- NEW: Updated Google Timeline Import script (#407)
- UPD: Improve GPX-Import (#413)
- FIX: Table of Locations sorting issue (#415)
2023-10-24 11:05:29 +02:00
Jan-Piet Mens
95adafc90f if DOCKER_RUNNING in environment add LOG_PERROR to openlog
addresses https://github.com/owntracks/recorder/issues/426
2023-10-24 11:00:32 +02:00
Jan-Piet Mens
f0da7cde30
Merge pull request #425 from tigattack/patch-1
google-import: import re
2023-10-16 19:36:15 +02:00
tigattack
91dcd78e30
google-import: import re 2023-10-15 21:43:37 +01:00
Jan-Piet Mens
78b539d235 fix typo in help descriptions
closes #423
2023-09-27 11:30:34 +02:00
Jan-Piet Mens
f5da23612d
Merge pull request #422 from BenjaminMichaelis/patch-1
fix: Rename gpx_to_rec.py to gpx-to-rec.py
2023-09-21 10:27:24 +02:00
Benjamin Michaelis
8e6f7f3d5a
fix: Rename gpx_to_rec.py to gpx-to-rec.py
This file name now matches the associated [README](https://github.com/owntracks/recorder/blob/master/contrib/gpx-to-rec/README.md) so that the instructions execute properly.
2023-09-20 19:17:01 +01:00
Christoph Krey
07f784704f [FIX] Table of Locations sorting issue closes #415 2023-06-19 03:03:51 -05:00
Jan-Piet Mens
bb46ea6524
Merge pull request #413 from cocker-cc/Improve_GPX-Import
Improve GPX-Import
2023-06-02 18:28:23 +02:00
cocker-cc
43f9e75da1 Improve GPX-Import 2023-05-17 16:50:01 +02:00
Jan-Piet Mens
6ed31799a5
Merge pull request #407 from aaronspruit/master
Updated Google Timeline Import script
2023-03-12 18:46:13 +01:00
aaronspruit
c09b760421
Updated README.md
Made it easier to consume
2023-03-10 16:38:42 -08:00
aaronspruit
3adbfc46e9 added refactored google timeline import script 2023-03-10 16:22:52 -08:00
Jan-Piet Mens
37cae69f5f update copyright year 2023-01-02 14:05:26 +01:00
Jan-Piet Mens
ced0a401f7 2022-12-09 version 0.9.3
- FIX: JS fixes for disappeared links (#406)
- FIX: instructions for building on FreeBSD 13.1 with TOURS configured (#405)
2022-12-09 10:21:56 +01:00
Jan-Piet Mens
42b64c1338 add instructions to for building on FreeBSD 13.1 with TOURS configured
closes #405
2022-12-06 12:40:32 +01:00
Christoph Krey
4dd7a8481e [FIX] wrong API URL when called from /index.html https://github.com/owntracks/talk/issues/151 2022-12-05 20:40:33 +01:00
Jan-Piet Mens
423ca2ebc2 2022-09-30 version 0.9.2
- FIX: Remove accidental eval (#403)
- FIX: Various build fixes (#402)
- FIX: now compiles without MQTT (#401)
- FIX: read OTR_TOPICS from environment (overrides config); can be overriden by argv
- UPD: ocat -v shows compiled-in values, ot-recorder -V runtime ones
- FIX: add "OTR_HTTPPREFIX" (verbatim) to tour url if prefix unconfigured (#399)
- FIX: Duplicate log entries when running as daemon (#398)
- FIX: package build for raspbian
2022-09-29 14:04:51 +02:00
Jan-Piet Mens
0036ad93f1
Merge pull request #402 from chewi/build-fixes
Various build fixes
2022-09-26 12:48:11 +02:00
Jan-Piet Mens
12e60ab381
Merge pull request #403 from atjn/strict-js
Remove accidental eval
2022-09-26 12:43:31 +02:00
Anton
326dcd2562 Remove accidental eval 2022-09-26 09:06:22 +02:00
James Le Cuirot
f0c1c6fbd5
Install docroot files with correct permissions, excluding .gitignore 2022-09-25 15:50:07 +01:00
James Le Cuirot
c350d8ca85
Don't build with -Werror by default
As the Linux kernel experiment with this flag has shown, it's just a bad
idea unless you regularly do development work on the project. Different
compilers and compiler versions will emit different warnings, which will
cause headaches for users.
2022-09-25 15:14:09 +01:00
James Le Cuirot
8ae8df60fb
Don't create the "last" storage subdirectory
ot-record creates it automatically. Other directories are also created
automatically, so we should be consistent here. Note that some package
managers need special handling for empty directories at build time, but
they don't care about directories created at runtime.
2022-09-25 15:14:06 +01:00
James Le Cuirot
0439a9e667
Use Mosquitto's pkg-config file
It has provided one since version 1.5. It erroneously hardcodes the
libdir as "lib" (it may be lib64), but OwnTracks defaulted to "lib"
anyway. I will fix Mosquitto shortly.
2022-09-25 15:14:03 +01:00
James Le Cuirot
cac1b95be0
Automatically detect when -luuid is needed (on Linux with tours enabled)
This is done in a cross-compile-friendly manner with cpp rather than
uname. printf is used rather than echo due to inconsistent handling of
the -e option across different shells.
2022-09-25 15:14:00 +01:00
James Le Cuirot
5ca1924ace
Respect PKG_CONFIG variable when building
This is particularly useful in cross-compile situations, where a wrapper
around pkg-config is sometimes needed.
2022-09-25 15:13:56 +01:00
James Le Cuirot
b812365d1a
Respect LDFLAGS variable when building 2022-09-25 15:13:50 +01:00
Jan-Piet Mens
2fe60c9684 FIX: now compiles without MQTT
addresses #401
2022-09-23 22:10:48 +02:00
Jan-Piet Mens
2198b5f279 read OTR_TOPICS from environment (overrides config); can be overriden by argv 2022-09-07 14:14:01 +02:00
Jan-Piet Mens
eb796d619c UPD: ocat -v shows compiled-in values, ot-recorder -V runtime ones
closes #397
2022-08-15 15:10:46 +02:00
Jan-Piet Mens
5ecb2ae670 add "OTR_HTTPPREFIX" (verbatim) to tour url if prefix unconfigured
addresses #399
2022-08-12 10:23:01 +02:00
Jan-Piet Mens
d673de82bf FIX: Duplicate log entries when running as daemon
closes #398
2022-08-10 11:52:52 +02:00
Christoph Krey
75ae342c62 [FIX] package build for raspbian 2022-08-10 08:57:40 +00:00
Jan-Piet Mens
c6bfa2827c version 0.9.1
- NEW: WITH_TOURS is built in by default
- NEW: Makefile now sets -DNS_ENABLE_IPV6 for IPv4 and IPv6
- NEW: tour views are written to and read from STORAGEDIR/tours
- NEW: add option --variables to ot-recorder to print list of all actual settings
- UPD: move config.js into docroot/utils/ to avoid having to proxy another uri
- NEW: @@@LABEL@@@ in view HTML is replaced by view's label attribute
- FIX: refactor environment variable handling for all settings. (#380)
- NEW: add very experimental shares functionality
- FIX: support OTR_HTTPHOST and OTR_HTTPPORT configuration in environment
2022-08-10 09:41:31 +02:00
Jan-Piet Mens
6096911252 NEW: WITH_TOURS is configured in by default 2022-08-07 17:20:06 +02:00
Jan-Piet Mens
f5015eaa7b store uncoverted username/device in tour view 2022-08-07 14:30:34 +02:00
Jan-Piet Mens
87d0fb81b0 and now of course strcasecmp 2022-08-07 12:45:31 +02:00
Jan-Piet Mens
fdaccd3b74 lowercase a COPY of user/device 2022-08-07 12:39:00 +02:00
Jan-Piet Mens
f929cafee3 ensure lowercased user/device in tour file 2022-08-07 12:18:02 +02:00
Jan-Piet Mens
23f5df9d95 check ownership of tour before deleting
closes #396
2022-08-07 11:00:27 +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
6c447ca7e7 [FIX]: show prefix as unset when it is 2022-08-06 15:36:37 +02:00
Jan-Piet Mens
8371bf2ce4 [NEW]: support IPv4 and IPv6 2022-08-06 15:34:49 +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
42d08e3cd1 obliterate useless comment 2022-08-05 16:08:37 +02:00
Jan-Piet Mens
83d7996a88 lib uuid is possibly a dependency 2022-08-05 16:08:12 +02:00
Jan-Piet Mens
a401ae08a3 [NEW]: option --variables prints list of actual settings 2022-08-05 13:30:15 +02:00
Jan-Piet Mens
44ee457cba typo in URL 2022-08-05 12:51:20 +02:00
Jan-Piet Mens
74e26ad407 UPD: move config.js into docroot/utils/ to avoid additional proxying
without this, placing Recorder behind an nginx/apache proxy
	would mean having to configure an additional pass for
	browser to access config.js; I don't think this is worthwhile.
2022-08-05 11:02:46 +02:00