Commit Graph

10 Commits

Author SHA1 Message Date
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
f98ab34f0a Replace console.log with bglog. 2023-01-26 20:26:23 -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
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
5987674c65 nip04 support! 2023-01-17 22:00:52 -05:00
Ryan Breen
ffbf59ad17 sign events working! 2023-01-16 23:11:51 -05:00
Ryan Breen
495cea8560 getPublicKey is functional! 2023-01-16 22:17:08 -05:00
Ryan Breen
f5f800ee72 alllowed sites UI 2023-01-13 23:12:00 -05:00
Ryan Breen
210e61c35b Interface and basic functionality.
Just learning how to make a basic extension. Creating an interface and setting up some basic plumbing.
2023-01-11 22:54:50 -05:00