Commit Graph

81 Commits

Author SHA1 Message Date
50665fb444 Export core schema types, provide reversed day/number record type 2023-11-15 20:48:52 -06:00
f71e8e3603 Format, remove unnecessary imports in notify.ts 2023-11-15 20:48:28 -06:00
04cff74cbc Update tailwindcss, add heroicons, clsx, superjson 2023-11-15 20:05:18 -06:00
987163647c Separate colorization in exception handler logger 2023-11-15 17:11:35 -06:00
d3a6b62533 Check !== development NODE_ENV for colorization 2023-11-15 17:10:57 -06:00
48d5f0b3f9 Disable colorized logging, fix production check 2023-11-15 17:10:18 -06:00
e9d9fff5a8 Strictly use node v18 & yarn 2023-09-05 17:52:21 -05:00
877e48abed Implement dry run, remove ?force from README 2023-09-05 15:31:26 -05:00
77690b37e7 Add additional logging into cron, reformat 2023-09-05 15:26:36 -05:00
cada397210 Fix report query parameter not defaulting to 'true' 2023-09-05 15:21:27 -05:00
1720d7662a Reduce identifier object duplication for construction & typing 2023-09-05 15:04:14 -05:00
b7d5866fc4 Optional response object in authorized(), switch to 'authorized' in /api/health 2023-09-05 14:57:44 -05:00
3d4e82bc45 Use common Layout component, place common title in Layout 2023-09-05 14:46:04 -05:00
ac23bf774a Separate client & server utility functions 2023-09-05 14:44:41 -05:00
380b950fca Remove duplicate definition of TimezoneSchema from schema.mjs 2023-09-05 13:34:42 -05:00
76cff2d5a6 Improve required environment variable error msg 2023-09-05 13:29:53 -05:00
d25bb407e3 Add default title to all pages 2023-09-05 12:38:10 -05:00
5050a296fe Edge case handling, reduce nesting, general refactor of location funcs 2023-09-05 12:36:09 -05:00
b7d301f8fe getDistance() result usage processing, handle 'error' inner function result
Why was this not accounted for originally??
2023-09-05 12:29:44 -05:00
81b781aea1 Refactor db.markIdentifier to receive and not generate key 2023-09-05 12:28:56 -05:00
9a9c676a74 Add & use true-myth to improve Life360 location error handling 2023-09-05 12:27:54 -05:00
c6c37f120d Use unauthorized helper function in each API route, remote unused 'center' constant 2023-09-05 10:50:14 -05:00
19077faf58 Avoid generating key inside checkIdentifier
Small formatting changes in .env.example / next.config.js
2023-09-05 10:43:49 -05:00
24b4b678a8 Reformat monitor.ts, add logging calls 2023-09-05 10:43:04 -05:00
43b0949a8e Update README.md 2023-09-05 10:42:42 -05:00
d2728eb4f7 Add proper boolean parsing function, commit utils.helpers.unauthorized function 2023-09-05 10:42:30 -05:00
7ddfaa483b Setup winston logger + loki transport 2023-09-05 10:32:35 -05:00
28735c7d5c Add winston, winston-loki 2023-09-05 10:31:42 -05:00
d5e0b9b274 Remove EDGE_CACHE_TIME_SECONDS
- open question comment on why destructing is necessary
2023-09-03 20:35:13 -05:00
00acd8160a Add .env.example 2023-09-03 20:34:36 -05:00
dbe531bcd2 Correct details surrounding Intl.supportedValuesOf, improve comments/solve TODO 2023-09-03 20:26:42 -05:00
47659831a9 Raise typescript version, expand setup details in README with Node v18 specification 2023-09-03 20:25:07 -05:00
3f4827ae20 Allow disabling monitor reporting in production with query parameter 2023-03-09 19:17:44 -06:00
ed6e737f5f Allow Intl.supportedValuesOf usage in schema.mjs 2023-03-09 19:01:32 -06:00
43c2d1100c Use localNow, return Redis key identifier inside response to improve debugging capability 2023-03-09 18:14:38 -06:00
17785c89b9 Setup Timezone specification support 2023-03-09 18:03:07 -06:00
Xevion
d8a9270ce6 Add nprogress hook ^& css 2023-02-27 20:09:34 -06:00
Xevion
db576298cb Slight reformatting with prettier 2023-02-27 19:53:46 -06:00
Xevion
8585be0849 Add load example button, remove defaultConfig passed in api/cron route 2023-02-27 19:27:05 -06:00
Xevion
081e23c019 Add POST call for button 2023-02-27 19:20:56 -06:00
Xevion
ce8f49157b Setup API config POST route mechanisms 2023-02-27 19:15:14 -06:00
Xevion
ed88c0a1df Index initial code editing with overflow, button, form ^& fetching 2023-02-27 19:06:58 -06:00
Xevion
cf976b6b6d Add GET-only (for now) config fetching API route 2023-02-27 19:06:36 -06:00
Xevion
6d93b24a9a Allow returning raw configuration from fetchConfiguration 2023-02-27 19:06:12 -06:00
Xevion
6c0980b0b7 Add code editor, prismjs + types, prism xonokai theme manually 2023-02-27 19:05:50 -06:00
Xevion
546835f30c Use transform instead of preprocess of days array to set in config schema 2023-02-27 19:04:46 -06:00
Xevion
e07bd4c1f7 Add basic index, complete login route with validation 2023-02-27 18:11:58 -06:00
Xevion
0ec3dee644 Add simple API token check route 2023-02-27 18:11:41 -06:00
Xevion
56a18ef6cd Setup tailwind css ^& frontend 2023-02-27 17:45:28 -06:00
Xevion
c6f0d79d76 Update README, ignore .idea folder 2023-02-27 17:10:27 -06:00