Commit Graph

79 Commits

Author SHA1 Message Date
Ryan Breen 0847a55afa Basic event log view functions. 2023-02-12 15:09:35 -05:00
Ryan Breen dfec82deb2 Adding metadata to the events. 2023-02-12 14:27:15 -05:00
Ryan Breen 90f6134bc4 Successfully save events in indexDB. 2023-02-12 00:25:57 -05:00
Ryan Breen 8b2931e1fc Merge pull request #5 from ursuscamp/nip26
Added page for Experimental features, with NIP-26 support.
2023-02-11 23:31:07 -05:00
Ryan Breen c30b82c2d1 Fixing bug where options window won't close in some cases. 2023-02-11 23:27:58 -05:00
Ryan Breen 6c83c24921 Added page for Experimental features, with NIP-26 support. 2023-02-11 21:42:40 -05:00
Ryan Breen 2aabd443e1 Run some sanity checks/validations on the private key input. Cannot save it unless the field is valid. 2023-02-06 00:06:27 -05:00
Ryan Breen 843278faef Some basic tweaks to the mobile UI. 2023-02-05 23:07:39 -05:00
Ryan Breen 51213b4899 Merge pull request #4 from ursuscamp/permissions
Permissions UI with user requests and modification post-saving.
2023-02-05 20:43:29 -05:00
Ryan Breen c832aa22af Permissions UI with user requests and modification post-saving.
Commits:

Basic, functional permission tab when requesting getPubKey. Only allows one time deny.

getPubKey and getRelays for sure working after prompt.

Changed the prompt to use a query string instead of background script queue. This should prevent any disconnect between the user expecting one thing and getting a different prompt.

It is not working using query string and working quite nicely.

Finally figured out the secret sauce to only open one prompt at a time.

Allow and deny now both work, with the option to remember the request next time.

Still tweaking lots of events to try and get the prompts working smoothly

Nice rendering for the event query message.

Tweaking the migration setup and the tab opening/closing code.

When remembering signing events, it is now scoped by event kind, as well!

Include extra event information in event signing dialogs.

Change confirm buttons to confirm dialog box.

Update nostr-tools to 1.2.1

The interface for app permissions looks good. Ready to work on functionality now.

Don't show app permissions section unless there are things to show.

Fix bug when saving a "Deny".

Additional formatting changes to options page for permissions UI.

Fine permissions seem to be working nicely!

Quick usability fix so that App Permissions section appears on Options page, even when there are no options selected.

Bumping build to #5. Preparing for new build release.
2023-02-05 20:40:30 -05:00
Ryan Breen a833db74aa Bumping version number. 2023-01-30 21:39:25 -05:00
Ryan Breen bc62a3b850 Merge pull request #3 from ursuscamp/options_ui
Options UI
2023-01-28 22:57:36 -05:00
Ryan Breen 2649114501 Mopping up a few things. 2023-01-28 22:48:49 -05:00
Ryan Breen b6a4a5b5dc Added ability to run add recommended relays from popup. 2023-01-28 20:46:49 -05:00
Ryan Breen 6a31c3b135 Relays are finally working, thanks to a hacky solution. 2023-01-28 15:33:13 -05:00
Ryan Breen 27723bf87f Some cleanup on background.js 2023-01-27 23:27:48 -05:00
Ryan Breen 97f706e180 Relays are partially working now in the options options script instead of background. 2023-01-27 23:24:29 -05:00
Ryan Breen f0c5cd29dc Moved keys functionality into options now, except for the encryption code, which will stay in the background script. 2023-01-27 22:04:40 -05:00
Ryan Breen 6171b9395c On the options screen, profile names are now loaded directly from the store. 2023-01-27 17:34:47 -05:00
Ryan Breen 621e8b358b Popup is now calling the browser storage directly instead of using the messaging system. Should be a bit faster. 2023-01-27 17:30:10 -05:00
Ryan Breen b0faf6146e Moved profile management into options UI. 2023-01-27 10:38:37 -05:00
Ryan Breen 0ea7f11356 Options is now showing keys, and changing keys as the dropdown is switched. 2023-01-26 23:02:31 -05:00
Ryan Breen 252c9d5234 Relay functionality in options is complete. 2023-01-26 22:08:05 -05:00
Ryan Breen f98ab34f0a Replace console.log with bglog. 2023-01-26 20:26:23 -05:00
Ryan Breen e08d19855e Solved a bug where the options window was breaking the popup window. The issue was that some branches of the message handler in the background script weren't returning anything at all. 2023-01-26 20:15:34 -05:00
Ryan Breen 7586fdfda4 Minify builds. 2023-01-25 22:43:30 -05:00
Ryan Breen b2608b58bc Added Close button to options window. 2023-01-25 21:54:12 -05:00
Ryan Breen a40d4c89a3 Ignoring options.build.css in git. 2023-01-25 00:49:00 -05:00
Ryan Breen dcc0fab5c6 Some more nice styling. 2023-01-25 00:36:28 -05:00
Ryan Breen 83cf21e5f5 Some more CSS styling for the options page. 2023-01-25 00:14:15 -05:00
Ryan Breen b6acf27087 Finally added getRelays call. 2023-01-24 23:29:12 -05:00
Ryan Breen 6d9235d8c0 Validation for relay URL entry. 2023-01-24 23:17:15 -05:00
Ryan Breen 84a8d5ddeb Basic functionality for relay optoins 2023-01-24 22:44:34 -05:00
Ryan Breen 03af8e71ad Verifying simple script messaging. 2023-01-23 23:21:17 -05:00
Ryan Breen 25da1d0cab Setting up tailwinds-css for the options page 2023-01-23 23:03:02 -05:00
Ryan Breen 7537109c92 Basic setup for an options page. 2023-01-23 22:38:42 -05:00
Ryan Breen 3027bb9037 Bump minimum safari/ios version to 15.4. 2023-01-23 22:22:30 -05:00
Ryan Breen 5b9480622e Incrementing build number to 3, preparing for next TestFlight build. 2023-01-22 22:34:00 -05:00
Ryan Breen ea3805dd02 Added prettier config. All web files (js/html) should be formatted using prettier! 2023-01-22 22:17:07 -05:00
Ryan Breen 16589e2313 Disable the Save button, enabled after a change to indicate that save needs to be done. 2023-01-22 22:07:17 -05:00
Ryan Breen 6e0716d20d Added nostr.enable() function to page injection. This is for Alby compatibility, and let's it work with nostr.band. 2023-01-22 21:43:38 -05:00
Ryan Breen 8026339232 Added getRelays skeleton to return empty relay list. This should fix brb.io login. 2023-01-22 21:39:30 -05:00
Ryan Breen bec11edccb Secret option to ignore install hook. Useful during development. 2023-01-22 21:19:47 -05:00
Ryan Breen 8c7c5f2214 Open help page on installation. 2023-01-20 23:52:19 -05:00
Ryan Breen 8927c540ee Clear confirmation buttons when changing active profiles. 2023-01-20 23:02:38 -05:00
Ryan Breen 9623d632e9 FIxing "Active Profile" label width. 2023-01-20 23:00:58 -05:00
Ryan Breen bec1b6f6e2 More spelling/capitalization corrections. 2023-01-20 22:56:48 -05:00
Ryan Breen 43c22fed93 "Profile" now reads "Active Profile" for clarity 2023-01-20 22:53:58 -05:00
Ryan Breen 5a740d61ef Render the keys and npub/nsec keys in the UI 2023-01-20 22:37:19 -05:00
Ryan Breen d11439aa9e added a "Get Help" button to the popup UI 2023-01-20 01:55:17 -05:00