Commit graph

379 commits

Author SHA1 Message Date
binwiederhier b5e2c83fba stuff 2022-12-21 21:55:39 -05:00
binwiederhier d982ce13f5 UI work, config.js stuff 2022-12-21 13:19:07 -05:00
binwiederhier cc55bec521 Write stats to user table asynchronously 2022-12-20 21:18:33 -05:00
binwiederhier 2f567af80b more TODOs, IP basis section 2022-12-19 22:19:44 -05:00
binwiederhier 84785b7a60 Restructure limits 2022-12-19 16:22:13 -05:00
binwiederhier 6598ce2fe4 Limits 2022-12-19 09:59:32 -05:00
binwiederhier 42e46a7c22 Limit work 2022-12-18 14:35:05 -05:00
binwiederhier ac56fa36ba Plan stuff WIPWIPWIP 2022-12-17 15:17:52 -05:00
binwiederhier 8752680233 Account delete, mock user stats UI 2022-12-17 13:49:32 -05:00
binwiederhier 81a8efcca3 Change password, delete account, etc. 2022-12-15 22:07:04 -05:00
binwiederhier 8ff168283c fsdf 2022-12-14 23:43:43 -05:00
binwiederhier c2f16f740b Stuff 2022-12-14 23:11:22 -05:00
binwiederhier 50204599b4 Derp 2022-12-14 05:36:53 -05:00
binwiederhier 4bf2fb85e3 Bla 2022-12-13 15:19:40 -05:00
binwiederhier cf68414c40 Merge branch 'main' into user-account 2022-12-12 11:12:05 -05:00
Yarden Shoham d78f1a3ff9 Add uppercase letters to random topic name generation
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-12-09 20:28:12 +00:00
Philipp Heckel 92bf7ebc52 blerp 2022-12-08 20:50:48 -05:00
Philipp Heckel 2e1ddc9ae1 Merge branch 'main' into user-account 2022-12-08 11:43:21 -05:00
Philipp Heckel 18596ecc34 Changelog 2022-12-08 09:16:59 -05:00
Yarden Shoham e0d6a0b974 Simplify logic
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-12-08 11:54:37 +00:00
Yarden Shoham 71e46860ac Remove unused layouts
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-12-08 11:07:16 +00:00
Yarden Shoham ce942ffe16 Remove nanoid dependency
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-12-08 10:42:28 +00:00
Yarden Shoham e083ef0d6d Place "Generate topic name" in the same line as the text field
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-12-08 10:32:02 +00:00
Philipp Heckel c5b6971447 OMG all the things are horrible 2022-12-07 21:26:18 -05:00
Philipp Heckel 8dcb4be8a8 Token login 2022-12-07 20:44:20 -05:00
Yarden Shoham b91fb3f586 Add "Generate topic name" button to "Subscribe to topic" dialog
Added a new button. When clicked it'll generate a random alphanumeric string and append to the current topic (or replace if empty).

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2022-12-08 00:01:32 +00:00
Philipp Heckel d499d20a9c Token stuff 2022-12-03 15:20:59 -05:00
Philipp Heckel 2772a38dae WIPWIPWIP 2022-12-02 15:37:48 -05:00
Nick Krichevsky 93cacc3a53 Fix bug where GET or HEAD action requests could not be made from the web client
Closes #468
2022-11-06 22:07:10 -05:00
Hunter Kehoe cf370bfdda strip trailing slash after server url in publish dialog
fixes #441
2022-10-18 22:02:04 -06:00
Philipp Heckel 1b82beea6e Typo 2022-10-09 08:50:28 -04:00
Hunter Kehoe dd689fd4a6 strip trailing slash in "use another server" URL
fixes #428
2022-10-08 17:20:14 -06:00
Philipp Heckel f8c9945cc4 Korean 2022-10-01 14:54:16 -04:00
Philipp Heckel a9019131cf Polish 2022-09-27 07:44:00 -04:00
Philipp Heckel fd21d2f4ce Added Ukranian 2022-09-23 12:55:40 -04:00
Philipp Heckel d8ce68b2cb Switched Pop and Pop Swoosh sounds, closes #352 2022-07-04 14:36:37 -04:00
Philipp Heckel 4d6c147f24 WIP: DIsplay name for the web app 2022-06-29 15:57:56 -04:00
Philipp Heckel feef15c485 Web app: Show "notifications not supported" alert on HTTP 2022-06-12 16:38:33 -04:00
Philipp Heckel 7475879712 Added Dutch 2022-06-02 14:45:36 -04:00
Philipp Heckel ad55de784d Add Chinese translation 2022-06-01 00:03:56 -04:00
Philipp Heckel b627a327d1 Add Italian, release notes 2022-05-26 16:38:09 -04:00
Philipp Heckel 4cae237b36 Changelog 2022-05-13 14:46:30 -04:00
Philipp Heckel d0bb27cf0c Added Portuguese/Brazil to web app 2022-05-10 10:13:04 -04:00
Philipp Heckel 91e6eaab19 Add Hungarian 2022-05-07 19:26:17 -04:00
Philipp Heckel 15ac5ed23b Add "mark as read" button 2022-05-07 19:16:08 -04:00
Hunter Kehoe 344da326cd add checkmark to notification card to mark notification as read 2022-05-07 16:13:45 -06:00
Philipp Heckel 15a45d9eb7 More labels, and live regions 2022-05-03 15:09:20 -04:00
Philipp Heckel 8a7bc38861 Finish up the labelling 2022-05-03 14:53:07 -04:00
Philipp Heckel 2d96560375 Finish publish dialog aria- stuff 2022-05-02 20:02:21 -04:00
Philipp Heckel bb5e0e3fed WIP: Accessibility of web app 2022-05-02 19:30:29 -04:00
Philipp Heckel ed28082c01 Added French 2022-04-30 20:16:17 -04:00
Philipp Heckel 4ce619f9cb Add error message specifically for private browsing mode, closes #208 2022-04-29 20:51:26 -04:00
Philipp Heckel 5344337b43 Add Czech as language 2022-04-29 20:12:12 -04:00
Philipp Heckel 9a03a9e81b Made web app sounds quieter 2022-04-29 19:51:02 -04:00
Philipp Heckel 26ebd23bfd Add user actions to web app 2022-04-21 16:33:49 -04:00
Philipp Heckel 2df0e98749 Added Russian to changelog + web app 2022-04-19 19:31:50 -04:00
Philipp Heckel 8e1c57af25 Added Norwegian 2022-04-11 20:18:18 -04:00
Philipp Heckel 841c08fcb6 Adding Spanish translation 2022-04-10 15:21:13 -04:00
Philipp Heckel 136883fd94 Additional descriptions for settings (#203), URL validation (#204) 2022-04-10 15:13:12 -04:00
Philipp Heckel 9c3f5929c7 Changelog 2022-04-09 15:12:03 -04:00
Philipp Heckel 39bd1fe164 Added Japanese + Indonesian to web app 2022-04-09 10:54:09 -04:00
Philipp Heckel 448444eccf Show snack bar error message when publishing fails, closes #205 2022-04-08 20:24:11 -04:00
Philipp Heckel 738ee5cf35 Suggested fixes for delay string, widen priority dropdown, add German and Turkish 2022-04-08 15:21:22 -04:00
Philipp Heckel aa58242551 Update language array to match finished languages 2022-04-08 12:54:53 -04:00
Philipp Heckel d2f933e15f Fix English language strings, as per #203 2022-04-08 12:45:41 -04:00
Philipp Heckel 30726144b8 Finish web app translation 2022-04-08 10:44:35 -04:00
Philipp Heckel 893701c07b Extracting translation strings 2022-04-07 21:46:33 -04:00
Philipp Heckel 96fb7e2296 Working language switcher 2022-04-07 20:31:24 -04:00
Philipp Heckel 750e390b5d WIP: Translation of web app 2022-04-07 19:11:51 -04:00
Philipp Heckel 78a681f277 Fix UTF-8 issues in publish message dialog 2022-04-06 20:04:27 -04:00
Philipp Heckel 3f96fad7ce Remove now unused splitTopicUrl function 2022-04-06 13:27:32 -04:00
Philipp Heckel 83bb9951b0 Split baseUrl and topic 2022-04-05 23:33:07 -04:00
Philipp Heckel 4a5f34801a Do not hide notification behind message bar 2022-04-05 22:57:57 -04:00
Philipp Heckel 2cd7839da3 Docblock 2022-04-05 19:55:43 -04:00
Philipp Heckel 35ddcb27f0 Good enough emoji picker 2022-04-05 19:40:34 -04:00
Philipp Heckel 328aca48ab Filter emojis that don't render in Chrome on Desktop 2022-04-04 20:44:40 -04:00
Philipp Heckel 4eba641ec3 Emoji picker 2022-04-04 19:56:21 -04:00
Philipp Heckel f2d4af04e3 Emoji picker 2022-04-04 10:04:01 -04:00
Philipp Heckel d44ee2bbf6 Rename Icon->AttachmentIcon 2022-04-04 08:40:54 -04:00
Philipp Heckel 6f07944442 Publish message button 2022-04-03 22:58:44 -04:00
Philipp Heckel 7716b1e81e Push drop zone down to dialog 2022-04-03 22:42:56 -04:00
Philipp Heckel 8914809775 Remove showOpen 2022-04-03 22:28:41 -04:00
Philipp Heckel d9c3c20350 Publish message button 2022-04-03 22:11:26 -04:00
Philipp Heckel 73349cd423 Add test 2022-04-03 20:19:43 -04:00
Philipp Heckel 6791c7395b Almost there 2022-04-03 19:51:32 -04:00
Philipp Heckel aba7e86cbc Attachment behavior fix for Firefox 2022-04-03 12:39:52 -04:00
Philipp Heckel f98743dd9b Continued work on send dialog and drag and drop 2022-04-02 17:06:26 -04:00
Philipp Heckel 2c8b258ae7 Publish another checkbox 2022-04-01 11:34:53 -04:00
Philipp Heckel aabae53e5d File upload 2022-04-01 08:41:45 -04:00
Philipp Heckel 2bdae49425 Make Attach URL prettier 2022-03-31 12:03:36 -04:00
Philipp Heckel 7ff34364a3 Editable attachment filename 2022-03-30 14:11:18 -04:00
Philipp Heckel c5a1344e8a WIP: Make attachment filename editabe 2022-03-30 09:57:22 -04:00
Philipp Heckel 3e121f5d3c Continued work on the send dialog 2022-03-29 15:22:26 -04:00
Philipp Heckel 2eeb7d63a0 SendDialog, cont'd 2022-03-28 22:54:27 -04:00
Philipp Heckel b20df55b88 Merge branch 'main' into custom-messages 2022-03-28 14:14:20 -04:00
Philipp Heckel 182e21a9c3 Fix pruning bug in web app (closes #186), release notes, remove local storage migration 2022-03-27 09:20:25 -04:00
Philipp Heckel 187c19f3b2 Continued work on publishing from the web app 2022-03-27 09:10:47 -04:00
Philipp Heckel 2e92be0f23 Remove other fields 2022-03-26 09:32:13 -04:00
Philipp Heckel 94b0e6f690 Merge branch 'main' into custom-messages 2022-03-25 21:43:45 -04:00
Philipp Heckel 140daec0d3 Fix date formatting issue in example 2022-03-24 13:17:04 -04:00
Philipp Heckel cc90a1af15 WIP: custom messages 2022-03-20 13:52:07 -04:00
Fredrik Sandebert 4c3dcec19e
Fixed typo in url 2022-03-15 16:09:20 +01:00
Philipp Heckel 3699464947 Remove crypto.subtle requirement 2022-03-12 08:15:30 -05:00
Philipp Heckel 70538783d8 Fix one-off migration 2022-03-11 15:32:24 -05:00
Philipp Heckel 09336fa1e4 Comments 2022-03-11 15:17:12 -05:00
Philipp Heckel c124434429 Migrate topics from old web ui; nicer stack traces 2022-03-11 14:43:54 -05:00
Philipp Heckel 0544a6f00d Feature complete 2022-03-11 11:46:19 -05:00
Philipp Heckel 7b186af765 Docs and screenshots 2022-03-11 10:43:18 -05:00
Philipp Heckel 3f978bc45f Better test messages 2022-03-10 22:58:24 -05:00
Philipp Heckel 160c72997f Fix auth base64, fix iPhone things 2022-03-10 18:11:12 -05:00
Philipp Heckel ccb9da9333 Add error boundary 2022-03-10 15:37:50 -05:00
Philipp Heckel 840cb5b182 Add server-generated /config.js; add error boundary 2022-03-09 23:28:55 -05:00
Philipp Heckel 04ee6b8be2 Embed resources 2022-03-09 15:58:21 -05:00
Philipp Heckel 8c8a1685b2 Fix it 2022-03-08 21:18:15 -05:00
Philipp Heckel 28e6f8a0f6 Autosubscribe (WIP) 2022-03-08 20:26:15 -05:00
Philipp Heckel d9e5e08af5 No notifications page text 2022-03-08 18:56:28 -05:00
Philipp Heckel 60980df26b Mute button 2022-03-08 16:56:41 -05:00
Philipp Heckel d3462d2905 Start work on ephemeral topics 2022-03-08 15:19:15 -05:00
Philipp Heckel 0aefcf29ef This is it 2022-03-08 14:29:03 -05:00
Philipp Heckel 55c021796e Attempt to use react router the way it was meant to 2022-03-08 14:13:32 -05:00
Philipp Heckel 4aad98256a Move things around a bit 2022-03-08 11:33:17 -05:00
Philipp Heckel 30b13cbdbc Working infinite scroll 2022-03-08 11:21:11 -05:00
Philipp Heckel 6d140d6a86 Working infinite scroll 2022-03-07 23:07:07 -05:00
Philipp Heckel 9757983046 Prep for infinite scroll 2022-03-07 20:11:58 -05:00
Philipp Heckel 5bed926323 Home page; "all notifications" 2022-03-07 16:36:49 -05:00
Philipp Heckel 1d2f3f72e4 Add "new" badge and title 2022-03-06 22:37:13 -05:00
Philipp Heckel 3a76e4733c Cleanup 2022-03-06 21:39:20 -05:00
Philipp Heckel a4fbb1b4c5 Home button 2022-03-06 16:35:31 -05:00
Philipp Heckel 94296e7dd8 Licenses 2022-03-06 10:42:05 -05:00
Philipp Heckel dc7ca6e405 Support sounds 2022-03-06 00:02:27 -05:00
Philipp Heckel 09b128f27a Move more stuff out of App.js 2022-03-05 22:33:34 -05:00
Philipp Heckel 420e35c33c Use location.origin as default base URL 2022-03-05 22:11:32 -05:00
Philipp Heckel 2743c96694 Re-embed fonts 2022-03-05 21:15:40 -05:00
Philipp Heckel e27d5719f0 Embed new web UI into server 2022-03-05 20:24:10 -05:00
Philipp Heckel 52a55f71e6 Support external routes 2022-03-05 08:52:52 -05:00
Philipp Heckel b5670d9a71 Routing 2022-03-04 16:10:04 -05:00
Philipp Heckel e7bd3abadc SubscribeDialog use existing user 2022-03-04 12:10:11 -05:00
Philipp Heckel 5878d7e5a6 Conn state listener, click action button 2022-03-04 11:08:32 -05:00
Philipp Heckel 3bce0ad4ae Lightbox backdrop fixes 2022-03-03 20:28:16 -05:00
Philipp Heckel 695e029147 Make connections react on changes of users; this works wonderfully 2022-03-03 20:07:35 -05:00
Philipp Heckel 08846e4cc2 Refactor the db; move to *Manager classes 2022-03-03 16:52:07 -05:00
Philipp Heckel f9219d2d96 Attachments 2022-03-03 14:51:56 -05:00
Philipp Heckel 7dfb2d50c7 Attachments, WIP 2022-03-02 20:22:53 -05:00
Philipp Heckel 349872bdb3 Switch everything to Dexie.js 2022-03-02 16:16:30 -05:00
Philipp Heckel 39f4613719 Do not store notifications in localStorage anymore 2022-03-01 22:41:49 -05:00
Philipp Heckel effc1f42eb Switch prefs to dexie 2022-03-01 22:01:51 -05:00
Philipp Heckel 23d275acec Add Dexie for persistence; user management with dexie; this is the way 2022-03-01 21:23:12 -05:00
Philipp Heckel 8036aa2942 Remove mui/styles, Settings page, make minPriority functional, ahh so ugly 2022-03-01 16:22:47 -05:00
Philipp Heckel f23c7a2dbf Use another server 2022-02-28 16:56:38 -05:00
Philipp Heckel 17e5af654b "No topics" and "No notifications" view 2022-02-28 11:52:50 -05:00
Philipp Heckel 0909354a6c Switch to since=ID 2022-02-27 19:29:17 -05:00
Philipp Heckel fb90ab480a Action bar fixes 2022-02-26 14:36:23 -05:00
Philipp Heckel d705d3c3b1 Fix action bar 2022-02-26 14:22:21 -05:00
Philipp Heckel ee743a7b01 TODOs 2022-02-26 11:51:45 -05:00
Philipp Heckel e422c2c479 Poll on page refresh; validate subscribe dialog properly; avoid save-races 2022-02-26 11:45:39 -05:00
Philipp Heckel aa79fe2861 Desktop notifications 2022-02-26 10:14:43 -05:00
Philipp Heckel 530f55c234 Fully support auth in Web UI; persist users in localStorage (for now); add ugly ?auth=... param 2022-02-25 23:25:04 -05:00
Philipp Heckel 6d343c0f1a Login page of "subscribe dialog", still WIP, but looking nice 2022-02-25 16:07:25 -05:00
Philipp Heckel 1599793de2 WIP: Auth 2022-02-25 13:40:03 -05:00
Philipp Heckel 42016f48ff Move things around 2022-02-25 12:46:22 -05:00
Philipp Heckel f9e22dcaa9 Allow deleting individual notifications 2022-02-25 10:23:04 -05:00
Philipp Heckel 703f94a25f Refactor to responsive drawer 2022-02-24 20:18:46 -05:00
Philipp Heckel 0958c1d527 Re-add persistence 2022-02-24 15:17:47 -05:00
Philipp Heckel fef46823eb Dedup without keeping deleted array 2022-02-24 14:53:45 -05:00
Philipp Heckel 48523a2269 Emojis, formatting, clear all 2022-02-24 12:26:07 -05:00
Philipp Heckel 202c4ac4b3 Do not fetch old messages on old connecting to avoid douple rendering 2022-02-24 10:30:58 -05:00
Philipp Heckel 1536201e9a Reconnect on failure, with backoff; Deduping notifications 2022-02-24 09:52:49 -05:00
Philipp Heckel 3fac1c3432 Refactor to make it more like the Android app 2022-02-23 20:30:12 -05:00
Philipp Heckel 415ab57749 Poll on subscribe; test message 2022-02-22 23:22:30 -05:00
Philipp Heckel c57fac283e Unsubscribe 2022-02-22 22:10:50 -05:00
Philipp Heckel 4ba23390b5 Settings icon 2022-02-21 16:24:13 -05:00
Philipp Heckel dd1a85e733 Awful use of localstorage 2022-02-20 20:04:03 -05:00
Philipp Heckel c6c3caec39 Restructure 2022-02-20 16:55:55 -05:00
Philipp Heckel 8c0f3b2304 Add dialog 2022-02-19 22:26:58 -05:00
Philipp Heckel c859f866b8 Move to dashboard theme 2022-02-19 19:48:33 -05:00
Philipp Heckel b497063af4 Make topics clickable, show notifications 2022-02-18 15:47:25 -05:00
Philipp Heckel 1fe598a966 Split stuff 2022-02-18 14:41:01 -05:00
Philipp Heckel 31e7aa24bc Subscription form 2022-02-18 11:07:04 -05:00
Philipp Heckel 4c4e689af4 WIP: React 2022-02-18 09:49:51 -05:00