Commit Graph

  • f78d448a0b Fix env injection master Jeff Lieb 2025-03-22 16:04:07 -0400
  • 683c685b7d Update public key Jeff 2025-03-22 14:56:07 -0400
  • a534a6c761 WIP, mostly just noodling left-to-go-in-class Jeff 2025-03-15 12:52:51 -0400
  • d5f474768c Remove fallback notification Jeff 2024-10-19 20:30:56 -0400
  • 3a56b9f853 Open notification to existing tab/window Jeff 2024-10-19 20:30:37 -0400
  • 37f32cce3a Replace vapid key that accidentally got committed, show notifications in app Jeff 2024-10-19 19:20:51 -0400
  • e9c7d7a8ef Must ignore data-test Jeff 2024-10-19 18:11:15 -0400
  • 75087f2121 Pin postgres to 16 Jeff 2024-10-19 17:53:30 -0400
  • a719706dff Fix local test port Jeff 2024-10-19 17:44:38 -0400
  • be55d46391 Separate ci env from test env Jeff 2024-10-19 17:42:24 -0400
  • 277ee9f2b5 Still confused, try changing port, again Jeff 2024-10-19 17:36:23 -0400
  • d1f20c4a2b Update test database host name Jeff 2024-10-19 17:34:42 -0400
  • b992443a99 Make a separate npm script for ci Jeff 2024-10-19 17:27:00 -0400
  • 8feb9bd37a Setup action doesn't work, try defining as a service I guess Jeff 2024-10-19 17:25:17 -0400
  • d66c72ce96 Don't set postgres version Jeff 2024-10-19 17:21:20 -0400
  • e88b953c58 Give up trying to docker in docker, just install postgres Jeff 2024-10-19 17:18:44 -0400
  • fdbf8c5ca5 Why the heck is docker ps showing containers on the host??? Jeff 2024-10-19 14:22:29 -0400
  • 2031e8a3e7 Verify the problem is that the service hasn't started before tests execute Jeff 2024-10-19 14:03:10 -0400
  • 06e82c4f3f Run docker ps before migrating Jeff 2024-10-19 13:56:58 -0400
  • 5c230f8e5c Try different port? Not sure why the database connection is being refused Jeff 2024-10-19 13:53:31 -0400
  • 8aad5028ab Remove orphans Jeff 2024-10-19 13:49:20 -0400
  • 6f6a1bc2dc Try migrating again Jeff 2024-10-19 13:38:56 -0400
  • 6334b63631 Try reset again Jeff 2024-10-19 13:36:36 -0400
  • 26344fbdb2 Update playwright test version Jeff 2024-10-19 13:34:04 -0400
  • d2860dc454 Check sanity more closely Jeff 2024-10-19 13:29:07 -0400
  • cfd6a40859 Try logging something during tests Jeff 2024-10-19 13:25:07 -0400
  • 206ce42655 Destroy old db instance during subscription test when resetting db instance Jeff 2024-10-19 13:22:27 -0400
  • 20e7099317 Try re-enabling subscription test Jeff 2024-10-19 13:16:10 -0400
  • cbdaea7f75 Try a less suck action Jeff 2024-10-19 13:12:27 -0400
  • 384a65f2dc Yo dawg, I heard you like docker, so I put a docker in your docker Jeff 2024-10-19 13:08:28 -0400
  • 28bfe4c755 Try using the image again Jeff 2024-10-19 12:54:13 -0400
  • dfb20a1cbe Try usig playwright docker image Jeff 2024-10-19 12:44:19 -0400
  • 16530e0505 Install playwright deps Jeff 2024-10-19 12:29:44 -0400
  • 71d5706320 Run all playwright tests Jeff 2024-10-19 12:25:40 -0400
  • d7ef727558 See if skipping subscription tests succeeds Jeff 2024-10-19 12:23:09 -0400
  • 45ec236839 Try increasing node head space Jeff 2024-10-19 12:18:39 -0400
  • a475f7f4bf Remove some console logs Jeff 2024-10-19 12:11:54 -0400
  • c0821776c1 Remove db port mapping Jeff 2024-10-18 11:42:42 -0400
  • 34372bdb89 Fix jest not exiting, post subscription to worker to send to the server Jeff 2024-10-18 11:38:41 -0400
  • c684e2e31c Add json content type spike-notifications-more Jeff 2024-10-14 15:30:39 -0400
  • f3e3077374 Log on service worker end Jeff 2024-10-14 15:11:18 -0400
  • 4f0e68be41 Log subscription Jeff 2024-10-14 15:08:17 -0400
  • 65185a4e9f Try converting subscription to json first Jeff 2024-10-14 15:05:09 -0400
  • b966b30c06 Add pwa build variables Jeff 2024-10-14 14:59:04 -0400
  • 43ee91c8e4 Remove window. in b64ToUInt8 Jeff 2024-10-13 00:21:41 -0400
  • cc7faccecc Narrow further Jeff 2024-10-13 00:19:25 -0400
  • 478cd10022 Even more logs Jeff 2024-10-13 00:16:01 -0400
  • 5b5c8fa847 Log even more garbage Jeff 2024-10-12 17:46:29 -0400
  • b816cb56da Log even more garbage Jeff 2024-10-12 17:43:30 -0400
  • 121cc90de9 Log even more garbage Jeff 2024-10-12 17:40:06 -0400
  • 3ff16c58b2 Log more, try adding / Jeff 2024-10-12 17:30:53 -0400
  • 00876f08e9 Log what the stupid event data is Jeff 2024-10-12 17:27:34 -0400
  • fc043461a2 Use event.data instead of event in service worker subscription logic Jeff 2024-10-12 17:18:15 -0400
  • e3a0b6e730 Register for messages on the serviceWorker property I guess Jeff 2024-10-12 17:13:45 -0400
  • b92750e5d5 Add more log Jeff 2024-10-12 17:06:34 -0400
  • a07f028b75 Add even more logging Jeff 2024-10-12 16:58:54 -0400
  • 5741b9fee2 Fix jsonification of message, try sending reply immediately upon receiving message event Jeff 2024-10-12 15:08:40 -0400
  • 16250ef533 Fix error in render method Jeff 2024-10-12 14:47:12 -0400
  • 1d3edec7bc Actually display messages Jeff 2024-10-12 14:44:17 -0400
  • 07d638b66c Send debug messages back to client Jeff 2024-10-12 14:38:35 -0400
  • 4a7d752230 Convert subscription to JSON Jeff 2024-10-12 14:07:13 -0400
  • 0c3e6f60b1 Catch errors in subscribe callback Jeff 2024-10-12 14:03:22 -0400
  • d655492d16 Show error when enabling notifications Jeff 2024-10-12 13:58:46 -0400
  • a23f5bdd4a getSubscription returns subscription at the start of the current session, so rely on the result of the subscribe call Jeff 2024-10-12 13:34:57 -0400
  • 8890093dfd Send subscribed event to worker Jeff 2024-10-12 12:33:30 -0400
  • 93340fb1dd See what's going on with notifications Jeff 2024-10-12 12:11:51 -0400
  • 49392ebc4f Fix Dockerfile Jeff 2024-10-12 12:16:43 -0400
  • 4021f8c95b Point to correct database Jeff 2024-10-12 11:56:00 -0400
  • 4d5f5543f8 Try to fix db password not being injected during migration Jeff 2024-10-02 01:46:40 -0400
  • dfea928ad2 Make postgres port the default Jeff 2024-10-02 01:37:48 -0400
  • 8a3be36048 Fix migrations to actually run Jeff 2024-10-02 01:32:34 -0400
  • 0cd1e061b7 Beat head against desk harder Jeff 2024-10-02 01:19:47 -0400
  • 3a4d670d04 Make things work with or without bundler Jeff 2024-10-02 01:17:02 -0400
  • b1bbe9a314 Trying to fix import again Jeff 2024-10-02 01:12:39 -0400
  • e9e4a61236 Fix import Jeff 2024-10-02 01:10:33 -0400
  • 7143f180f6 Persist push subscription object, store subscription id on the front end for overwriting subscription objects when subscription changes Jeff 2024-10-02 01:07:51 -0400
  • c1cfdb78de Add installation instructions for not iOS Jeff 2024-09-25 14:09:30 -0400
  • e86534dc86 Add playwright to gitea action Jeff 2024-09-25 13:08:33 -0400
  • a7c955e908 Add installation instructions for iOS Jeff 2024-05-28 20:46:39 -0400
  • b85be9cefe Fix jest tests install-ios Jeff 2024-09-25 13:02:52 -0400
  • e438b5cb5b Remove unused post install step Jeff 2024-09-25 01:30:30 -0400
  • e09769e1ba Fix bug in usePush, also some bugs in install state Jeff 2024-09-25 01:23:39 -0400
  • e2cb0eb214 Fix image being in the public directory when this is apparently not good Jeff 2024-09-24 23:56:32 -0400
  • 987b419018 Clean up instructions Jeff 2024-09-24 23:38:30 -0400
  • a62fd5ffdb Tell iOS users they have to install through Safari because apple or something Jeff 2024-09-23 16:03:14 -0400
  • 2e777d3376 Point subscribe call to correct endpoint Jeff 2024-09-23 15:23:20 -0400
  • 784eccb92a Add some actual images Jeff 2024-09-23 14:56:11 -0400
  • 0c79ef491b requestPermissions does not return a promise apparently Jeff 2024-09-23 12:54:31 -0400
  • 829c1ad343 Try showing error Jeff 2024-09-21 22:39:06 -0400
  • 30959422a9 Use actual public key Jeff 2024-09-21 22:35:49 -0400
  • 2f0cb8ec36 Try requesting permission Jeff 2024-09-21 22:31:19 -0400
  • 695373001b Surrender to the future Jeff 2024-09-21 22:18:29 -0400
  • 27f792d569 Try using import? Jeff 2024-09-21 22:12:48 -0400
  • ce510450f7 Forgot to update the path Jeff 2024-09-21 22:03:06 -0400
  • ff37214122 Apparently it needs to be over here Jeff 2024-09-21 21:59:18 -0400
  • a912958b93 Oops, forgot to add a link to the manifest Jeff 2024-09-21 21:24:30 -0400
  • a0894c06a0 Put webmanifest back where it was Jeff 2024-09-21 21:19:31 -0400
  • a9f9341427 Fix web manifest Jeff 2024-09-21 21:03:14 -0400
  • fd351360f1 iOS install instructions Jeff 2024-09-21 18:21:45 -0400
  • 16015491e4 Add service worker, add minimal instructions for enabling notifications Jeff 2024-09-21 14:51:08 -0400