Commit Graph

  • 7c9051193e Begin enabling config fetching/parsing errors to be displayed main Xevion 2023-11-16 17:58:38 -06:00
  • a05ef4bb49 Add comments, tune color darkening Xevion 2023-11-16 17:47:30 -06:00
  • d511e5966d Add color darkening ability (luminosity), cleanup, skip meta/single color values Xevion 2023-11-16 17:21:22 -06:00
  • 5ef8cf5c50 Custom tailwind 50 step color generation experiment Xevion 2023-11-16 17:03:28 -06:00
  • 999e99998b Remove small shadow on login, increase padding for mobile views Xevion 2023-11-15 21:04:58 -06:00
  • 4be260d954 Fix isCurrent text & logic with new isTimeMatched function Xevion 2023-11-15 21:01:14 -06:00
  • e200507e1d Remove href in ConfigurationList items Xevion 2023-11-15 20:56:54 -06:00
  • e84730af08 Split getMatchingTime into isTimeMatched for individual testing of timing configs, drop async Xevion 2023-11-15 20:55:46 -06:00
  • 18d392fb1f Add rendered config viewer at index for improved debug operations later Xevion 2023-11-15 20:49:26 -06:00
  • 50665fb444 Export core schema types, provide reversed day/number record type Xevion 2023-11-15 20:48:52 -06:00
  • f71e8e3603 Format, remove unnecessary imports in notify.ts Xevion 2023-11-15 20:48:28 -06:00
  • 04cff74cbc Update tailwindcss, add heroicons, clsx, superjson Xevion 2023-11-15 20:05:18 -06:00
  • 987163647c Separate colorization in exception handler logger Xevion 2023-11-15 17:11:35 -06:00
  • d3a6b62533 Check !== development NODE_ENV for colorization Xevion 2023-11-15 17:10:57 -06:00
  • 48d5f0b3f9 Disable colorized logging, fix production check Xevion 2023-11-15 17:10:18 -06:00
  • e9d9fff5a8 Strictly use node v18 & yarn Xevion 2023-09-05 17:52:21 -05:00
  • 877e48abed Implement dry run, remove ?force from README Xevion 2023-09-05 15:31:26 -05:00
  • 77690b37e7 Add additional logging into cron, reformat Xevion 2023-09-05 15:26:36 -05:00
  • cada397210 Fix report query parameter not defaulting to 'true' Xevion 2023-09-05 15:21:27 -05:00
  • 1720d7662a Reduce identifier object duplication for construction & typing Xevion 2023-09-05 15:04:14 -05:00
  • b7d5866fc4 Optional response object in authorized(), switch to 'authorized' in /api/health Xevion 2023-09-05 14:57:44 -05:00
  • 3d4e82bc45 Use common Layout component, place common title in Layout Xevion 2023-09-05 14:46:04 -05:00
  • ac23bf774a Separate client & server utility functions Xevion 2023-09-05 14:44:41 -05:00
  • 380b950fca Remove duplicate definition of TimezoneSchema from schema.mjs Xevion 2023-09-05 13:34:42 -05:00
  • 76cff2d5a6 Improve required environment variable error msg Xevion 2023-09-05 13:29:53 -05:00
  • d25bb407e3 Add default title to all pages Xevion 2023-09-05 12:38:10 -05:00
  • 5050a296fe Edge case handling, reduce nesting, general refactor of location funcs Xevion 2023-09-05 12:36:09 -05:00
  • b7d301f8fe getDistance() result usage processing, handle 'error' inner function result Xevion 2023-09-05 12:29:44 -05:00
  • 81b781aea1 Refactor db.markIdentifier to receive and not generate key Xevion 2023-09-05 12:28:56 -05:00
  • 9a9c676a74 Add & use true-myth to improve Life360 location error handling Xevion 2023-09-05 12:27:54 -05:00
  • c6c37f120d Use unauthorized helper function in each API route, remote unused 'center' constant Xevion 2023-09-05 10:50:14 -05:00
  • 19077faf58 Avoid generating key inside checkIdentifier Xevion 2023-09-05 10:43:49 -05:00
  • 24b4b678a8 Reformat monitor.ts, add logging calls Xevion 2023-09-05 10:43:04 -05:00
  • 43b0949a8e Update README.md Xevion 2023-09-05 10:42:42 -05:00
  • d2728eb4f7 Add proper boolean parsing function, commit utils.helpers.unauthorized function Xevion 2023-09-05 10:42:30 -05:00
  • 7ddfaa483b Setup winston logger + loki transport Xevion 2023-09-05 10:32:23 -05:00
  • 28735c7d5c Add winston, winston-loki Xevion 2023-09-05 10:31:42 -05:00
  • d5e0b9b274 Remove EDGE_CACHE_TIME_SECONDS Xevion 2023-09-03 20:35:13 -05:00
  • 00acd8160a Add .env.example Xevion 2023-09-03 20:34:36 -05:00
  • dbe531bcd2 Correct details surrounding Intl.supportedValuesOf, improve comments/solve TODO Xevion 2023-09-03 20:26:42 -05:00
  • 47659831a9 Raise typescript version, expand setup details in README with Node v18 specification Xevion 2023-09-03 20:25:07 -05:00
  • 3f4827ae20 Allow disabling monitor reporting in production with query parameter Xevion 2023-03-09 19:17:44 -06:00
  • ed6e737f5f Allow Intl.supportedValuesOf usage in schema.mjs Xevion 2023-03-09 19:01:32 -06:00
  • 43c2d1100c Use localNow, return Redis key identifier inside response to improve debugging capability Xevion 2023-03-09 18:14:38 -06:00
  • 17785c89b9 Setup Timezone specification support Xevion 2023-03-09 18:03:07 -06:00
  • d8a9270ce6 Add nprogress hook ^& css Xevion 2023-02-27 20:09:34 -06:00
  • db576298cb Slight reformatting with prettier Xevion 2023-02-27 19:53:46 -06:00
  • 8585be0849 Add load example button, remove defaultConfig passed in api/cron route Xevion 2023-02-27 19:27:05 -06:00
  • 081e23c019 Add POST call for button Xevion 2023-02-27 19:20:56 -06:00
  • ce8f49157b Setup API config POST route mechanisms Xevion 2023-02-27 19:15:14 -06:00
  • ed88c0a1df Index initial code editing with overflow, button, form ^& fetching Xevion 2023-02-27 19:06:58 -06:00
  • cf976b6b6d Add GET-only (for now) config fetching API route Xevion 2023-02-27 19:06:36 -06:00
  • 6d93b24a9a Allow returning raw configuration from fetchConfiguration Xevion 2023-02-27 19:06:12 -06:00
  • 6c0980b0b7 Add code editor, prismjs + types, prism xonokai theme manually Xevion 2023-02-27 19:05:50 -06:00
  • 546835f30c Use transform instead of preprocess of days array to set in config schema Xevion 2023-02-27 19:04:46 -06:00
  • e07bd4c1f7 Add basic index, complete login route with validation Xevion 2023-02-27 18:11:58 -06:00
  • 0ec3dee644 Add simple API token check route Xevion 2023-02-27 18:11:41 -06:00
  • 56a18ef6cd Setup tailwind css ^& frontend Xevion 2023-02-27 17:45:28 -06:00
  • c6f0d79d76 Update README, ignore .idea folder Xevion 2023-02-27 17:10:27 -06:00
  • 7f97b89883 Improve README Stack descriptions Xevion 2023-02-25 18:13:38 -06:00
  • d9839296a6 Add DISCORD_TARGET_USER_ID env var Xevion 2023-02-25 18:13:16 -06:00
  • 5312f6c04a Add vercel.json, silence vercel deployment commit comments Xevion 2023-02-25 03:29:28 -06:00
  • e403f52e20 Update README with Upstash ^& Discord stacks Xevion 2023-02-25 03:25:17 -06:00
  • a4de4cffdf Integrate message into notification Xevion 2023-02-25 03:23:21 -06:00
  • d43b9eeefc Refine response status, integrate configuration fetching, location checks ^& exception handling Xevion 2023-02-25 03:17:33 -06:00
  • ee2e51b2ad Fix intentionally wrong life360 password Xevion 2023-02-25 03:16:18 -06:00
  • e701dd798b Redis configuration fetching, parsing, set/get methods Xevion 2023-02-25 03:14:48 -06:00
  • 3d98f1c1ce Add redis ^& discord env vars, basic test functions Xevion 2023-02-25 02:38:42 -06:00
  • de18ce26f2 Prevent cron monitor calls outside production, improve thrown error messages/API response Xevion 2023-02-25 00:14:13 -06:00
  • 891a767d6f Parse ^& transform timing data inside TimeConfigSchema, add DayEnum type Xevion 2023-02-24 23:32:55 -06:00
  • 0b8c6cbe1b Add REDIS_URL to environment variables, add ioredis ^& date-fns packages Xevion 2023-02-24 23:32:05 -06:00
  • b717f74e49 Update target to ES2016, ignore .vscode, switch to 2 space tabs Xevion 2023-02-24 20:39:12 -06:00
  • 969a5551f8 Add comprehensive zod-based configuration schema Xevion 2023-02-24 20:38:27 -06:00
  • c94ce8c745 Add type-safe set functions Xevion 2023-02-24 20:37:53 -06:00
  • 9aea53aef7 Add atomic health check API route Xevion 2023-02-24 19:40:38 -06:00
  • 9506f61e7e Reformat project with Prettier Xevion 2023-02-23 22:48:00 -06:00
  • 6e89c7738f Add prettier for formatting Xevion 2023-02-23 22:43:15 -06:00
  • 5627854af1 Add precise time-based series parameter for telemetry Xevion 2023-02-23 22:36:26 -06:00
  • bf222bf182 Add Cronitor badge to README Xevion 2023-02-23 22:35:12 -06:00
  • a0cd680aec Rewrite README Xevion 2023-02-23 22:32:35 -06:00
  • eb4b75d8bf Rename to bus-reminder, remove @next/fonts package Xevion 2023-02-23 22:16:43 -06:00
  • 88614ed453 Cronitor monitoring implementation Xevion 2023-02-23 22:11:42 -06:00
  • f1147d92af Edge Cache time as environment variable Xevion 2023-02-23 21:59:02 -06:00
  • c23fde54da api/cron handler Xevion 2023-02-23 20:39:43 -06:00
  • f0c5a21ab5 Essential environment variable parsing ^& validation Xevion 2023-02-23 20:39:23 -06:00
  • daa4a434fc Life360 location acquisition ^& nautical distance calculation Xevion 2023-02-23 20:37:52 -06:00
  • 94be39d452 Add vercel ^& environment variable configurations to .gitignore Xevion 2023-02-23 19:39:08 -06:00
  • 867a2d2713 Switch to yarn, add zod/life360 api pkgs Xevion 2023-02-23 19:38:49 -06:00
  • 2219d5c313 Remove unneeded frontend pages/styling Xevion 2023-02-23 19:37:45 -06:00
  • 0baf71d816 Initial commit from Create Next App Xevion 2023-02-23 00:34:55 -06:00