Commit graph

45 commits

Author SHA1 Message Date
5e974da721 Edit hint message. 2019-10-30 17:02:53 +01:00
76bf23d5e6 Send real ip address to telegram. 2019-10-25 16:30:13 +02:00
377bf5b2de Exclude localhost from telegram messages. 2019-10-25 13:36:16 +02:00
7ea4dd1752 Add ability to stop the morse. 2019-10-25 13:33:22 +02:00
0e722b813e Add nerves time. 2019-10-24 23:39:53 +02:00
0e0e2d5ec8 Send telegram message when someone presses the button. 2019-10-24 22:58:09 +02:00
b0741551f2 Merge branch 'master' of github.com:pizzapim/esrom 2019-10-24 21:09:09 +02:00
d912ae289d Put status in button, and gray it out if morse is in progress.
Fix hint button.
2019-10-24 21:07:26 +02:00
2cb9946faf Disable start button if the process is in progress. 2019-10-24 16:54:50 +02:00
45b6408b6b Check if deployed esrom node is reachable before executing rpc. 2019-10-24 16:33:52 +02:00
ad24ec96ac Migrate from channel to phoenix live view.
Move phoenix config to ui project.
Sync progress on page load.
2019-10-23 14:38:11 +02:00
d96db98fee
Add nerves logo to readme. 2019-08-24 18:09:11 +02:00
e888f1330b Rename cookie.
Fix unused alias.
2019-08-24 18:02:56 +02:00
aa0624b43c Change hostname to esrom.lan. 2019-08-24 17:45:27 +02:00
66291ac548 Execute GPIO functions on the production server. 2019-08-24 16:51:43 +02:00
fc54fa1761 Call broadcast function from app configured module. 2019-08-24 16:01:49 +02:00
d6e877137f Remove config in UI.
Merge dev config in UI into firmware config.
2019-08-24 15:22:32 +02:00
ba50a839d2 Fix symbol matching in signal_symbol.
Remove match for undefined symbol.
2019-08-17 17:31:29 +02:00
4fcba648fe Use Enum to loop over morse symbols.
Reset the progress bar when signalling starts.
2019-08-17 16:44:31 +02:00
ada5099c1e Add favicon. 2019-08-17 16:44:25 +02:00
66431012bc Change response code of root to 204. 2019-08-17 15:30:58 +02:00
a2b21e300a Fix UiWeb.Endpoint module not found in morse. 2019-08-01 13:03:23 +02:00
3432ef75b2 Split Morse.Server into Application and Server.
Rename Morse.Signaler to Worker.
2019-08-01 12:21:32 +02:00
375a58ef14 Fix map syntax error. 2019-07-31 14:29:55 +02:00
eb9fd09a2b Fix socket connectivity on production.
Remove debug code.
2019-07-31 14:24:51 +02:00
510cdcbc9c Revert to 56e05fced 2019-07-31 13:16:53 +02:00
4569869d6a Remove phoenix config from nerves config. 2019-07-31 12:39:30 +02:00
7ff72c56c5 Fix socket connectivity on production.
Fix unused variable warnings.
2019-07-31 11:49:21 +02:00
5bb6584286 Use sockets to broadcast morse progress. 2019-07-31 00:20:09 +02:00
78af9da586 Update readme for secret key base. 2019-07-30 22:12:27 +02:00
6a5a9eece7 Test if GPIO is alive using Process.alive?/1 instead of using
GenServer's state.
Fix signal sending twice because of copy-paste error.
2019-07-25 14:58:11 +02:00
b6b684af25 Fix wrong status code displaying.
Uncomment GPIO lines in the signaler.
2019-07-25 00:00:13 +02:00
0c989c06d0 Implement GenServer and Application for morse module. 2019-07-24 23:56:42 +02:00
ef38b81dd6 fetch relay pin from env 2019-07-24 22:33:14 +02:00
74bb465a38 Update Readme. 2019-07-15 19:46:41 +02:00
484bb94677 Don't let Git track secrets file. 2019-07-15 19:36:57 +02:00
8f99154259 Enable setting config securely in firmware/config/secrets.exs 2019-07-14 23:54:06 +02:00
fe172f018a
Create README.md 2019-07-14 22:16:40 +02:00
09665c99e7 Add static images. 2019-07-14 21:44:08 +02:00
fd6aa9eb03 Fix NPM vulnerabilities. 2019-07-14 20:29:15 +02:00
e93bbcf242 Port morse code. 2019-07-14 17:23:37 +02:00
cbec08aae8 move morse to seperate module 2019-07-14 15:05:45 +02:00
b93d48920a Restore Ruby's css. 2019-07-14 11:56:20 +02:00
29b952303a Port the frontend.
Enable ethernet connection.
2019-07-14 00:28:47 +02:00
08c904ba12 init 2019-07-13 20:16:46 +02:00