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
a5798f3cd5
add CFLAGS for base64 to conver Arch
...
closes #128
2016-09-12 09:09:16 +02:00
Jan-Piet Mens
395b333e35
if defaults file can't be read, log an error
...
closes #131
2016-09-12 09:05:46 +02:00
JP Mens
11ffdc3cb7
Merge pull request #143 from Finkregh/patch-1
...
make defaults-file source'able
2016-09-11 18:47:50 +02:00
Oluf Lorenzen
f71c84c746
make defaults-file source'able
...
with the spaces in there 'source' wont work
2016-09-11 18:13:19 +02:00
Jan-Piet Mens
e7d08510ee
add libsodium dep to Jessie install instructions
...
closes #142
2016-09-08 10:59:52 +02:00
Jan-Piet Mens
c805d9c306
add example for otr.publish()
2016-09-07 12:39:40 +02:00
Jan-Piet Mens
27b603d4bd
encryption no longer experimental
2016-09-07 12:36:53 +02:00
Jan-Piet Mens
678b20265c
clean up hooks and otr.publish()
2016-09-07 09:19:17 +02:00
Jan-Piet Mens
1d5c55b569
add MQTT connection to user data
2016-09-07 09:18:49 +02:00
Jan-Piet Mens
6bf5f6f518
move hooks initialization down so we can set ud->mosq for Lua
2016-09-07 09:18:19 +02:00
Jan-Piet Mens
ee9948a776
conditional setmosq()
2016-09-06 15:44:36 +02:00
Jan-Piet Mens
0a50e51916
NEW: otr_publish() from Lua reuses Recorder's authenticated, TLS-enabled MQTT connection
...
closes #140
2016-09-06 15:40:41 +02:00
Jan-Piet Mens
c4886f5265
remove standard MQTT topic from systemd unit
2016-08-31 11:12:16 +02:00
JP Mens
afb2740260
Merge pull request #137 from strugee/more-standard-systemd
...
Make the systemd unit file more standard
2016-08-31 11:11:49 +02:00
JP Mens
86c26a33dc
Merge pull request #138 from strugee/reorganize-readme
...
Reorganize README
2016-08-19 00:31:58 -04:00
Alex Jordan
11aaffd9c8
Link HOOKS.md, DESIGN.md, and STORE.md in README
2016-08-17 13:17:04 -04:00
Alex Jordan
507ec602c8
Fix typo
2016-08-17 13:16:51 -04:00
Alex Jordan
b4777290f6
Split out "Storage" and "Design decisions"
...
These are useful but don't really need to be in the README, which is
long enough as it is.
2016-08-17 13:10:06 -04:00
Alex Jordan
71b2dd4cfa
Move HOOKS.md into a doc/ directory
2016-08-17 13:07:08 -04:00
Alex Jordan
b505ea1477
Fix spelling errors
2016-08-17 13:02:18 -04:00
Alex Jordan
4cf32905c3
Fix excessive use of italics in README.md
2016-08-17 12:41:14 -04:00
Alex Jordan
57da88d9ca
Normalize Nginx snippet whitespace
2016-08-17 12:18:20 -04:00
Alex Jordan
b6c4599215
Move HTTP mode auth docs into "reverse proxy"
2016-08-17 12:17:07 -04:00
Alex Jordan
668722a377
Consolidate the reverse proxy docs some more
2016-08-17 11:41:51 -04:00
Alex Jordan
5a9b9b4023
Split Lua hooks docs into their own file
2016-08-16 21:38:41 -04:00
Alex Jordan
7b54006839
Move reverse proxy and configuration file sections
...
The top is a much more sensible location for them.
2016-08-16 19:18:07 -04:00
Alex Jordan
c914f57352
Remove note about MQTT support in the HTTP section
...
It's out of place and irrelevant.
2016-08-16 19:14:49 -04:00
Alex Jordan
793f2a75b3
Split out API docs into API.md
2016-08-16 19:06:35 -04:00
Alex Jordan
b128eceb47
Remove usage instructions in the systemd unit
...
This isn't really a great place for these, and they're not very complete
anyway. Better to put this in the proper docs, where it'll be obvious
and complete.
2016-08-16 18:43:08 -04:00
Alex Jordan
579f453087
Pass the standard MQTT topic in the systemd unit
...
Add the standard OwnTracks MQTT topic as the first argument to
`ot-recorder` in the service file. This provides a usable experience out
of the box (otherwise the service file will fail with a help message).
2016-08-16 18:37:03 -04:00
Alex Jordan
997573828b
Remove deprecated syntax in systemd unit file
...
No point showing this in new installs.
2016-08-16 18:34:21 -04:00
Alex Jordan
d79692136c
Don't send stdout and stderr to custom locations
...
If the user is on systemd it's reasonable to assume that they are also
using journald. This is the default on most (all?) systemd systems and
any admin who configures their system to send things to syslog instead
of journald can deal with one more thing that needs to be
changed.
Therefore, optimize for the majority and send logs to the default
journald. Additionally, don't send stdout to /dev/null because this
isn't the norm with systemd; stdout can provide valuable debugging
information; and journald provides facilities for filtering out stdout
in log output.
2016-08-16 18:26:59 -04:00
Alex Jordan
5da7a5eb45
Don't automatically restart the systemd service
...
This isn't the normal way that systemd service files are written, and
lots of admins will probably be surprised to find that this is
happening. Therefore, remove it from the default configuration.
This is especially relevant given that the default ExecStart command
produces a help message, which causes systemd to mark the unit as
failed. This causes an infinite restart loop on default installs.
2016-08-16 18:20:11 -04:00
Alex Jordan
3e25dbc3a5
Improve package installation commands
...
Most users will be using `sudo` and an unprivileged account anyway, and
the `>` shell operator doesn't work in this scenario. So, optimize for
the majority and give commands that can be blindly copied and
pasted. Running things directly as root isn't a great idea anyway.
2016-08-16 18:13:48 -04:00
Alex Jordan
830a0aaeee
Remove package installation distro headers
2016-08-16 18:06:56 -04:00
Alex Jordan
6f361a9dc7
Consolidate installation instructions
2016-08-16 18:02:15 -04:00
Alex Jordan
c96d4bdfbf
Fix typo
2016-08-16 17:53:47 -04:00
Alex Jordan
350ac615ee
Refer to Recorder in a consistent way
2016-08-16 17:52:21 -04:00
Alex Jordan
1fbccc40f1
s/websocket/WebSocket/g
2016-08-16 17:41:34 -04:00
Alex Jordan
c573f7374f
Remove duplicated/out-of-place env variable docs
2016-08-16 17:37:53 -04:00
Alex Jordan
f1888c40f9
Move Travis badge to the top of README.md
2016-08-16 16:55:29 -04:00
Alex Jordan
0a9dc887e0
Consolidate building instructions
2016-08-16 16:52:23 -04:00
Alex Jordan
fe8d1bcaae
Consolidate HTTP server and ocat docs
2016-08-16 16:43:06 -04:00
JP Mens
e5b06f3f34
Merge pull request #134 from strugee/improve-readme
...
Improve README
2016-08-16 14:19:13 -04:00
Alex Jordan
816b55f88b
s/Websocket/WebSocket/g
2016-08-16 14:13:52 -04:00
Alex Jordan
a89cb64dfa
Fix incorrect links
2016-08-16 14:03:09 -04:00
Alex Jordan
a1907d2a55
Add links to the Table of Contents
2016-08-16 13:58:54 -04:00
Alex Jordan
a4477ca11f
Fix list indentation
2016-08-16 13:36:13 -04:00
Alex Jordan
0acc0b6a03
Fix "systemd service" heading level
2016-08-16 13:31:52 -04:00