Commit Graph

41 Commits

Author SHA1 Message Date
mroxso
73c85f2977 Feature: Change to /upload Blossom Endpoint + Strip Metadata in Client (#78)
* feat: add image metadata stripping functionality in UploadComponent

* Update components/UploadComponent.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: improve memory management by revoking object URLs in stripImageMetadata function

* fix: update file input to accept specific image formats (jpeg, png, webp)

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-20 17:37:32 +02:00
mroxso
ebaf7ce308 Feature: Add QRCode scanner for nsecbunker login (#79)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-20 16:44:27 +02:00
mroxso
ac7de1e1f4 Feature: Add NIP-65 (Load User Relays) (#74)
* feat: add NIP-65 utility functions for relay management

- Implemented fetchNip65Relays to retrieve relay permissions for a user.
- Added parseNip65Event to extract relay information from NIP-65 events.
- Created mergeAndStoreRelays to combine NIP-65 relays with existing custom relays and store them in localStorage.

* feat: enhance LoginForm with loading states and improved UI feedback for login actions

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-18 23:07:48 +02:00
mroxso
8842400f2a feat: implement custom relay management and add relay addition functionality (#73)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-18 21:21:17 +02:00
mroxso
b9f1ba9568 feat: add Relays page and integrate relay status display (#72)
feat: add Relays link to AvatarDropdown menu
feat: create Badge component for status indicators
fix: update @radix-ui/react-slot version in package.json and package-lock.json

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-18 20:55:00 +02:00
mroxso
0df571067f add NIP-46 support (#61)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-18 18:35:43 +02:00
bd8c670a3a refactor: simplify profile update logic and improve event signing 2025-04-18 16:47:14 +02:00
ad5bd34277 add additional x tag to kind 20 2025-04-01 17:19:51 +02:00
mroxso
86ff9fa856 add switch and optional nip-89 client tagging (#57)
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-03-31 22:56:08 +02:00
378fa5b246 fix sha256 in final event 2025-03-31 22:32:31 +02:00
mr0x50
29e1520487 fix auth event description breaking with emojis 2025-03-22 22:25:05 +01:00
mr0x50
d0db048768 update blossom list and use media endpoint instead of upload 2025-03-22 22:11:04 +01:00
mr0x50
2c0dca6f0a revert not working stuff 2025-03-22 20:07:44 +01:00
highperfocused
7d8ba267c1 comment out removal of exif data 2025-03-22 13:55:08 +01:00
highperfocused
26cd5f4772 use custom base64encode function to handle UTF8 bytes properly 2025-03-22 13:40:31 +01:00
highperfocused
11aa3f2a14 use btoa instead of buffer to generate base64 auth string for Upload 2025-03-22 13:34:47 +01:00
highperfocused
36d6ebea20 change upload to use /media instead of /upload to blossom servers 2025-03-22 13:25:02 +01:00
highperfocused
f0605021b8 maybe fix hash calculation 2025-03-22 13:17:36 +01:00
mroxso
16e8aca714 rm exif data from images before uploading (#55) 2025-03-20 17:14:06 +01:00
mr0x50
58929e1405 add blossom.band to blossom servers and set it as default 2025-03-17 21:14:53 +01:00
mroxso
6b941644e5 change default blossom server to blossom.primal.net (#53)
* add media.lumina.rocks blossom server

* change default blossom server to primal
2025-03-17 20:21:08 +01:00
mroxso
661c4ceadb add media.lumina.rocks blossom server (#52) 2025-03-17 19:56:25 +01:00
mroxso
f57579e2c3 fix notification ordering and refactor Notifications Component (#50) 2025-03-15 12:06:57 +01:00
mroxso
de93bb1018 add github button to the top Navbar (#51) 2025-03-15 12:06:41 +01:00
mroxso
8c6b43f9c2 Trending kind20 (#49)
* new trending images (kind 20)
2025-02-27 21:37:48 +01:00
mr0x50
8926a73bd9 fix(ProfileInfoCard): enhance avatar image styling for better display 2025-02-16 00:08:14 +01:00
mroxso
f5e198601e fix(ProfileTextFeed): correct filtering logic for text messages (#48) 2025-02-15 22:54:16 +01:00
mroxso
dbf0166541 refactor(ProfileInfoCard): improve layout and styling of user information (#47) 2025-02-15 22:36:28 +01:00
mr0x50
ced8f6046d show note when cliking on a trending image (kind 1 images for now) 2025-02-15 22:14:39 +01:00
mr0x50
b844a4af27 fix top navigation bar not sticky 2025-02-15 21:55:38 +01:00
mroxso
98f5f96a20 add GlobalQuickViewFeed (#46) 2025-02-15 21:43:24 +01:00
mr0x50
f7187ce2b2 Revert "Revert "Fix: hydration errors (#45)""
This reverts commit a737463115.
2025-02-15 21:07:31 +01:00
mr0x50
2d923feda2 do not display a kind20 note if image does not start with "http" to prevent non-url errors 2025-02-15 21:02:03 +01:00
mr0x50
a737463115 Revert "Fix: hydration errors (#45)"
This reverts commit 8c485fb47e.
2025-02-15 20:53:07 +01:00
mroxso
8c485fb47e Fix: hydration errors (#45)
* fix hydration errors in bottom bar and in Top Navigation

* Refactor: Update DrawerTrigger to use 'asChild' prop in multiple components
2025-02-12 16:16:03 +01:00
mr0x50
ee5ead8139 fix loading wrong pubkeys for following 2025-02-11 23:16:24 +01:00
mroxso
6f1ea730a7 Feature: Hide failed images (#43)
* fix: handle image loading errors in KIND20Card and QuickViewKind20NoteCard components

* refactor: streamline KIND20Card component structure and improve readability
2025-02-11 22:08:17 +01:00
mroxso
8098a36ad6 Add server selection to upload component (#42)
* Feature: Add server selection to upload component

* fix build error

* update lock file

* add @radix-ui/react-select

* Remove unused service worker map file
2025-02-11 22:04:52 +01:00
mroxso
5b3246c077 Feature: Display Improvements (#40)
* refactor: improve event rendering logic and add no posts found message

* fix errors
2025-02-09 18:26:10 +01:00
mroxso
ca8d8fd1ba Layout and Display Improvements (#39)
* refactor QuickViewKind20NoteCard for improved layout and responsiveness

* add null check for image in KIND20Card and QuickViewKind20NoteCard components
2025-02-09 18:11:39 +01:00
mr0x50
aed5520313 mv codebase to parent directory 2025-02-07 19:36:13 +01:00