Commit Graph

32 Commits

Author SHA1 Message Date
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
6c83c24921 Added page for Experimental features, with NIP-26 support. 2023-02-11 21:42:40 -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
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
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
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
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
b6acf27087 Finally added getRelays call. 2023-01-24 23:29:12 -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
ea3805dd02 Added prettier config. All web files (js/html) should be formatted using prettier! 2023-01-22 22:17:07 -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
5a740d61ef Render the keys and npub/nsec keys in the UI 2023-01-20 22:37:19 -05:00
Ryan Breen
b17a7d1067 Automatically handle nsec keys entered into the extension. 2023-01-20 00:58:06 -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
4fee1c9e81 added delete profile button 2023-01-16 20:21:35 -05:00
Ryan Breen
72c0c5fa98 saving data works, refreshes the UI, and also added an option to clear the storage from the UI 2023-01-15 23:18:47 -05:00
Ryan Breen
3315e2ee3c UI data loading finally working! hallelluja 2023-01-15 23:01:02 -05:00
Ryan Breen
b84be8c351 tweaking the UI, not working quite yet. may totally revise 2023-01-15 21:48:00 -05:00
Ryan Breen
abc84d4694 rename activeProfile to profileIndex 2023-01-15 15:12:42 -05:00
Ryan Breen
e1b3e919b1 starting the plumbing for the extension 2023-01-14 15:03:52 -05:00
Ryan Breen
d93fa1aacc using esbuild now because it's easier to target specific files 2023-01-12 23:27:11 -05:00
Ryan Breen
e4dc8870eb using parcel for js bundling. it works! 2023-01-12 22:17:01 -05:00
Ryan Breen
12ccc005c9 Initial Commit 2023-01-11 21:33:45 -05:00