Commit Graph

1109 Commits

Author SHA1 Message Date
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
Jan-Piet Mens
744e62fc43 Read settings from environment even if defaults file can't be read
closes #394
2022-08-05 09:55:54 +02:00
Jan-Piet Mens
8c044d9d5b Show request content 2022-08-05 09:55:07 +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
61f5ec20e8 refactor environment variable handling for all settings
closes #380
	closes https://github.com/owntracks/docker-recorder/issues/49
2022-08-04 12:40:46 +02:00
Jan-Piet Mens
18efad3e9c experimental SHARES 2022-08-04 11:25:23 +02:00
Jan-Piet Mens
10a194ad78 FIX: support OTR_HTTPHOST and OTR_HTTPPORT configuration in environment
addresses https://github.com/owntracks/recorder/issues/388
	addresses https://github.com/owntracks/frontend/issues/85
	addresses https://github.com/owntracks/docker-recorder/issues/54
	addresses https://github.com/owntracks/docker-recorder/issues/55
	addresses https://github.com/owntracks/docker-recorder/issues/58
2022-08-02 15:13:04 +02:00
Jan-Piet Mens
582b283aff 2022-05-24 version 0.9.0
- NEW: OTR_LMDBSIZE can be set in the environment to define size of LMDB; bytes, min 10 MB (#348)
- UPD: modernize Recorder UI (not the actual Frontend project) (#386)
2022-03-14 version 0.8.8
- FIX: make secs time_t in otr_strftime() (#375)
- FIX: inaccurate logo name in manifest and missing image (#372)
- FIX: Alpine compiler warning on strncpy in geohash.c (#369)
- FIX: ocat outputs GeoJSON Feature with properties{} (#367)
2022-05-24 09:25:09 +02:00
Jan-Piet Mens
1f10adfa64 LMDB_DB_SIZE can be overriden by $OTR_LMDBSIZE
closes #348
2022-05-23 18:26:03 +02:00
Jan-Piet Mens
47b2fe6351 time to say goodbye to some distros 2022-05-23 17:58:12 +02:00
Christoph Krey
805ed708a9 Merge branch 'master' of github.com:owntracks/recorder 2022-05-23 11:23:02 -04:00
Christoph Krey
209a2fc834 [NEW] packages for Debian Bullseye (11) 2022-05-23 11:22:47 -04:00
Jan-Piet Mens
3ffb24caeb Add documentation for installing package on Debian 11 2022-05-23 17:15:13 +02:00