Commit Graph
100 Commits
Author SHA1 Message Date
raucao 4d4ed8c1ea Upgrade to oauth2-pkce 3
Bump oauth2-pkce from ^2.1.3 to ^3.0.0. In v3, getTokens() throws
ErrorAccessTokenExpired when the token has expired and no
onAccessTokenExpiry handler is configured. Add the handler to the
OSM auth client config so it automatically refreshes via the refresh
token instead of throwing
2026-08-06 16:35:11 -05:00
raucao a6576fcda8 Migrate to applesauce v6
Remove applesauce-factory (deleted in v6) and bump applesauce-core,
applesauce-relay, and applesauce-signers to ^6.2.x. Rewrite all
EventFactory usage from the removed constructor API
(`new EventFactory({ signer }).sign(template)`) to the new chainable
builder (`EventFactory.fromKind(k).content(...).sign(signer)`).

Remove `relay.eoseTimeout` overrides in nostr-auth — the eoseTimeout
property was removed in v6; NostrConnectSigner now uses persistent
subscriptions that don't rely on EOSE-based timeouts.

Update photo-gallery test mock to use 64-char hex pubkeys/ids/sigs
because v6's sign() validates event structure via validateEvent().

Also includes safe semver bumps to all other dependencies.
2026-08-06 16:13:24 -05:00
raucao ad9c489102 Refactor app menu, add place lists
Unify sidebar, make everything route-based
2026-06-30 13:28:48 +02:00
raucao 76897c9e69 Turn default relays into required relays
CI / Lint (pull_request) Failing after 31s
CI / Test (pull_request) Successful in 55s
2026-06-07 16:21:26 +04:00
raucao 4390b7d699 Add settings for experimental features
CI / Lint (pull_request) Successful in 31s
CI / Test (pull_request) Successful in 59s
2026-05-13 11:57:41 +02:00
raucao 14827fce3e Delete own photos
CI / Lint (pull_request) Successful in 30s
CI / Test (pull_request) Failing after 57s
2026-05-05 12:07:33 +02:00
raucao 59c447fe1f Hide quick-search pills on low zoom levels
CI / Lint (pull_request) Successful in 30s
CI / Test (pull_request) Successful in 56s
Release Drafter / Update release notes draft (pull_request) Successful in 7s
2026-05-05 07:10:28 +02:00
raucao d2eb888dcf Keep search results, only hide sidebar when closed 2026-04-27 14:37:19 +01:00
raucao a0b4a4b3f3 Show toast notification when adding RS account 2026-04-27 12:47:33 +01:00
raucao 3e831a7686 Enable relay pings
This should re-establish relay connections when PWAs are being woken up
after background sleep
2026-04-25 11:08:55 +01:00
raucao b4a70233cf Show detailed photo upload status
CI / Lint (push) Successful in 31s
CI / Test (push) Successful in 56s
2026-04-24 11:56:37 +01:00
raucao 3ddc85669f Clear nostr event cache from Settings
CI / Lint (pull_request) Successful in 32s
CI / Test (pull_request) Successful in 57s
Release Drafter / Update release notes draft (pull_request) Successful in 7s
2026-04-23 09:19:25 +01:00
raucao 4fed8c05c5 Change routing to always use OSM IDs except for custom places
Also implements a short term cache for OSM place data, so we can load it
multiple times without multiplying network requests where needed
2026-04-22 11:01:32 +04:00
raucao 99cfd96ca1 Fetch and cache photo events while browsing map and when opening place details 2026-04-21 21:28:57 +04:00
raucao 8d40b3bb35 Add and use relay list settings 2026-04-21 19:16:52 +04:00
raucao c5316bf336 Refactor settings, DRY up everything 2026-04-21 15:59:55 +04:00
raucao b23d54d74f Cache user profile/settings events in IndexedDB 2026-04-21 14:58:05 +04:00
raucao 5bd4dba907 Refactor settings menu, add Nostr settings
Adds a setting to control if photos should be uploaded only to the
main/default server, or all known servers of a user.

Only upload to the main server by default, to speed up adding photos.
2026-04-21 14:39:38 +04:00
raucao 5cd384cf3a Do sequential image processing/uploads on mobile
Uploading multiple large files at once can fail easily
2026-04-20 19:37:24 +04:00
raucao ec31d1a59b Harden image processing, improve image quality 2026-04-20 18:10:48 +04:00
raucao 4f55f26851 Move image processing to worker 2026-04-20 16:56:51 +04:00
raucao 79777fb51a Process images before upload, add thumbnails, blurhash 2026-04-20 16:24:28 +04:00
raucao 1ed66ca744 Fix deprecation warning 2026-04-20 15:26:28 +04:00
raucao a2a61b0fec Upload to multiple servers, delete from servers when removing in dialog
Introduces a dedicated blossom service to tie everything together
2026-04-20 15:22:17 +04:00
raucao 8cc579e271 Load user profile from Nostr, display name and avatar 2026-04-20 13:37:05 +04:00
raucao 1dc0c4119b Refactor Nostr auth service 2026-04-20 12:34:44 +04:00
raucao c57a665655 Add applesauce debug logs, fix aggressive connect timeout 2026-04-20 12:14:45 +04:00
raucao 6cfe2b40b9 Add bunker login for desktop via QR code 2026-04-19 16:01:45 +04:00
raucao 99d8ca9174 Create dedicated Nostr Connect component, use nsec.app relay 2026-04-19 15:15:55 +04:00
raucao 629a308b79 Connect Nostr via mobile app 2026-04-19 14:45:11 +04:00
raucao 4bd5c4bf2a Load signer on launch, disconnect or switch pubkey if necessary 2026-04-19 11:08:55 +04:00
raucao f875fc1877 WIP Add Nostr auth 2026-04-18 18:36:35 +04:00
raucao 6ba1cf31cf Show RS widget when Unauthorized error received
Allows the user to re-auth via the widget
2026-04-13 13:16:49 +04:00
raucao 179cf49370 Fix OSM auth not being loaded correctly on launch 2026-04-02 14:40:20 +04:00
raucao e7dfed204e Connect OSM account
CI / Lint (pull_request) Successful in 30s
CI / Test (pull_request) Successful in 49s
Release Drafter / Update release notes draft (pull_request) Successful in 4s
2026-04-01 18:46:19 +04:00
raucao 0f29430e1a When request retries exhaust, show error in toast notification
CI / Lint (pull_request) Failing after 29s
CI / Test (pull_request) Failing after 44s
2026-03-27 15:01:04 +04:00
raucao 0059d89cc3 Add toast notifications 2026-03-27 15:00:36 +04:00
raucao 5978f67d48 Add setting for hiding quick search buttons
CI / Lint (pull_request) Successful in 28s
CI / Test (pull_request) Successful in 44s
Release Drafter / Update release notes draft (pull_request) Successful in 4s
2026-03-27 13:59:36 +04:00
raucao 86b20fd474 Abort search requests when clearing search box
Also adds abort support for Photon queries
2026-03-23 18:07:29 +04:00
raucao 8478e00253 Add loading indicator for search queries 2026-03-23 17:50:21 +04:00
raucao 818ec35071 Ensure map marker clicks preserve search context
Fixes the back button just closing the sidebar and clearing the whole
search after having seleted a result via map marker
2026-03-23 16:42:32 +04:00
raucao 8bec4b978e Ignore certain public transport results in nearby search 2026-03-23 15:00:39 +04:00
raucao af57e7fe57 Add map markers for search results 2026-03-22 10:59:11 +04:00
raucao 9183e3c366 Cache category search results
And abort ongoing searches when there's a new query
2026-03-20 19:27:26 +04:00
raucao f2a2d910a0 WIP Search places by category 2026-03-20 16:43:57 +04:00
raucao bdd5db157c Update OSM data when opening saved places
CI / Lint (pull_request) Successful in 49s
CI / Test (pull_request) Successful in 57s
Release Drafter / Update release notes draft (pull_request) Successful in 19s
2026-03-18 14:42:15 +04:00
raucao aee7f9d181 Move Photon API URL to Settings 2026-03-16 17:07:24 +04:00
raucao ec0d5a30f9 Extract icon imports to separate util
CI / Lint (pull_request) Successful in 28s
CI / Test (pull_request) Successful in 43s
So icons can be used from anywhere, e.g. map component JS
2026-03-14 12:28:17 +04:00
raucao f1779131e8 Also load/init lists in anonymous mode
CI / Lint (pull_request) Failing after 22s
CI / Test (pull_request) Successful in 34s
2026-03-13 17:04:29 +04:00
raucao 37cf47b3dd Properly handle place removals
CI / Lint (pull_request) Failing after 23s
CI / Test (pull_request) Successful in 36s
* Transition to OSM route or index instead of staying on ghost route/ID
  (closes sidebar if it was a custom place)
* Ensure save button and lists are in the correct state
2026-03-13 15:33:29 +04:00