Commit Graph

46 Commits

Author SHA1 Message Date
Alicia Sykes 85de40d950 🛂 Adds option for env vars for passwords 2024-04-28 15:08:05 +01:00
Alicia Sykes 99643acddf 🛂 Adds support for HTTP authorization 2024-04-27 23:16:56 +01:00
Alicia Sykes 6a6fcd4be9 Set IS_SERVER 2024-04-18 23:08:50 +01:00
Alicia Sykes 88498d3887 Reordered endpoint priority in server entrypoint 2024-04-15 21:08:56 +01:00
Alicia Sykes 4d851b6e86 Lint and port update 2024-04-13 12:35:21 +01:00
Alicia Sykes b66ce53669 📡 Make user-data directory configurable 2024-04-10 22:59:35 +01:00
Alicia Sykes 041e5d8c28 🔂 Merge master into branch 2024-03-30 21:35:46 +00:00
Alicia Sykes 27995f8500 👔 Use a 404 status code if page not found (fixes #1136) 2024-02-28 11:57:25 +00:00
Todd E Johnson 27dfe6219a Make userHeader pull from config 2023-11-23 00:02:08 -06:00
Todd E Johnson 4aa34f66dc WIP: Attempt at adding header auth. Ignore Settings #981 2023-11-17 00:00:48 -06:00
Alicia Sykes 4813d49e42 ⤴ Rebased from master 2023-06-11 11:30:55 +01:00
itsmejoeeey 12eadccfda 🐛 Serve index.html as fallback to fix #1067 2023-01-17 01:30:34 +13:00
Alicia Sykes c0836acc5e 😆 Change order of served up files, fixes everything :) 2022-09-25 19:44:40 +01:00
Alicia Sykes cdf1bb9529 🚧 WIP 2022-08-19 10:04:38 +01:00
PlusaN f700f31904
Add HOST environment
This is necessary in order to override which IP the Dashy process will bind to.
2022-05-22 00:58:59 +03:00
Alicia Sykes a0ac7979e4 Put the initialization screen back in 2022-04-27 20:45:21 +01:00
aterox 6ee5286ebf Add redirection from http to https 2022-03-07 05:54:45 -05:00
aterox 727f6b1fc0 Get conf.yml on client side 2022-03-06 03:04:41 -05:00
aterox aeec449dc7 Pull conf.yml from server 2022-03-05 01:22:12 -05:00
Alicia Sykes e5ccdd9e97 🥅 Adds try catch to server welcome msg (#477) 2022-02-07 15:55:35 +00:00
Alicia Sykes 676d1cb106 Writes a CORS proxy, to secure widget requests 2021-12-19 20:05:15 +00:00
Alicia Sykes e0b09d48ee Adds widget to fetch and display system stats 2021-12-16 04:03:36 +00:00
Alicia Sykes 3593721fd7 🔒 Adds support for native SSL 2021-11-09 22:40:57 +00:00
Alicia Sykes 3e465ae7c6 Displays initialization screen while app building 2021-11-08 20:17:48 +00:00
Alicia Sykes 1bc978b704 🔥 Replaces serve-static, connect and body-parser with express 2021-11-08 19:31:28 +00:00
Alicia Sykes fffa2319c1 Implements router history mode, for cleaner URLs 2021-10-13 20:02:13 +01:00
Alicia Sykes a8f7df4544 🔥 Removes ping-only check, accidental commit 2021-09-18 18:25:20 +01:00
Alicia Sykes 7272749325 Creates an endpoint to run ping-only status check 2021-09-17 23:51:02 +01:00
Alicia Sykes f0449969e7 Use constants for API endpoints 2021-09-17 22:40:39 +01:00
Alicia Sykes bd1723237a 🚚 Updates validator path, adds version checker script 2021-07-25 17:43:47 +01:00
Alicia Sykes b0d5b63703 Adds an endpoint for rebuilding the app, so that it can be triggered from the UI 2021-06-19 19:21:32 +01:00
Alicia Sykes 760c464c19 Got the save config route working in the node server 2021-06-19 13:47:10 +01:00
Alicia Sykes 77ca662f37 Adds server endpoint for backing up and saving conf.yml. Still needs some improvments though. 2021-06-18 18:01:42 +01:00
Alicia Sykes 856b9eb3c6 Refactors the main server.js, and moves welcome msg to separate file 2021-06-18 14:14:31 +01:00
Alicia Sykes 1a64b54046 Wrote server functions for checking uptime 2021-06-14 20:42:02 +01:00
Alicia Sykes 28650b7e6d FIX: Port is not correctly read
Missing brackets in server.js (L15) was causing the port to not be read from ENV varaiable PORT correctly, effectively breaking deployment builds. Bloody JavaScript...
2021-06-11 20:42:32 +01:00
Alicia Sykes dbc2fae6d6 Fixed lint errors caused by octal character, and added missing yaml dependency 2021-06-11 15:23:25 +01:00
Alicia Sykes dbfbcf3284 Implements docker container healthchecks 2021-06-10 19:46:46 +01:00
Alicia Sykes 7d5a99d9d3 Calls config validator when serve starts, and adds documentation in readme 2021-06-05 20:21:15 +01:00
Alicia Sykes bd3dd6b964 Adds initializing screen 2021-06-05 14:12:34 +01:00
Alicia Sykes 10cc57afa0 Adds docker-compose file, updates readme, and fixes formating in server.js 2021-06-05 12:48:42 +01:00
Alicia Sykes e53f8f9d8f Improved the Docker deployment process, plus switched to a new Apline image 2021-06-04 19:57:43 +01:00
Alicia Sykes c678ca0ef2 I wrote a readme 2019-10-13 00:33:11 +01:00
Alicia Sykes 335c8eec53 Change lint rules to AirBnB 2019-09-01 13:38:13 +01:00
Alicia Sykes 7f645745f9 Marquee text, if it is too long to fit 2019-07-23 16:03:59 +01:00
Alicia Sykes b7b8addd83 Right, that's the first quater done 2019-07-20 21:50:29 +01:00