From 2183d050cbb9d3fc5949f6291bc177e845565271 Mon Sep 17 00:00:00 2001 From: padreug Date: Thu, 30 Oct 2025 17:41:02 +0100 Subject: [PATCH 1/3] remove obsolete well-known/lnurlp --- public/.well-known/lnurlp/aio | 1 - public/.well-known/lnurlp/axel | 1 - public/.well-known/lnurlp/brandon | 1 - public/.well-known/lnurlp/dijiridoo | 1 - public/.well-known/lnurlp/dra | 1 - public/.well-known/lnurlp/indra | 1 - public/.well-known/lnurlp/osman | 1 - public/.well-known/lnurlp/padreug | 1 - public/.well-known/lnurlp/rishibond | 1 - public/.well-known/lnurlp/tor | 1 - 10 files changed, 10 deletions(-) delete mode 100644 public/.well-known/lnurlp/aio delete mode 100644 public/.well-known/lnurlp/axel delete mode 100644 public/.well-known/lnurlp/brandon delete mode 100644 public/.well-known/lnurlp/dijiridoo delete mode 100644 public/.well-known/lnurlp/dra delete mode 100644 public/.well-known/lnurlp/indra delete mode 100644 public/.well-known/lnurlp/osman delete mode 100644 public/.well-known/lnurlp/padreug delete mode 100644 public/.well-known/lnurlp/rishibond delete mode 100644 public/.well-known/lnurlp/tor diff --git a/public/.well-known/lnurlp/aio b/public/.well-known/lnurlp/aio deleted file mode 100644 index 9f56312..0000000 --- a/public/.well-known/lnurlp/aio +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/9UMQLs","minSendable":1000,"maxSendable":1000000000,"metadata":"[[\"text/plain\", \"Payment to aio\"], [\"text/identifier\", \"aio@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/axel b/public/.well-known/lnurlp/axel deleted file mode 100644 index f1af475..0000000 --- a/public/.well-known/lnurlp/axel +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/e2DiVc","minSendable":1000,"maxSendable":100000000,"metadata":"[[\"text/plain\", \"Payment to axel\"], [\"text/identifier\", \"axel@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/brandon b/public/.well-known/lnurlp/brandon deleted file mode 100644 index 6691bfe..0000000 --- a/public/.well-known/lnurlp/brandon +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/Kjkhzp","minSendable":1000,"maxSendable":100000000,"metadata":"[[\"text/plain\", \"Payment to brandon\"], [\"text/identifier\", \"brandon@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/dijiridoo b/public/.well-known/lnurlp/dijiridoo deleted file mode 100644 index d4df332..0000000 --- a/public/.well-known/lnurlp/dijiridoo +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/CyCgkp","minSendable":1000,"maxSendable":100000000,"metadata":"[[\"text/plain\", \"Payment to dijiridoo\"], [\"text/identifier\", \"dijiridoo@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/dra b/public/.well-known/lnurlp/dra deleted file mode 100644 index 40ba782..0000000 --- a/public/.well-known/lnurlp/dra +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/gqpekW","minSendable":1000,"maxSendable":100000000,"metadata":"[[\"text/plain\", \"Payment to dra\"], [\"text/identifier\", \"dra@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/indra b/public/.well-known/lnurlp/indra deleted file mode 100644 index ccf9e3f..0000000 --- a/public/.well-known/lnurlp/indra +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/4ucR3j","minSendable":1000,"maxSendable":100000000,"metadata":"[[\"text/plain\", \"Payment to indra\"], [\"text/identifier\", \"indra@lnbits.atitlan.io\"]]","commentAllowed":55,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/osman b/public/.well-known/lnurlp/osman deleted file mode 100644 index 9baf886..0000000 --- a/public/.well-known/lnurlp/osman +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/WzAYhR","minSendable":1000,"maxSendable":100000000,"metadata":"[[\"text/plain\", \"Payment to osman\"], [\"text/identifier\", \"osman@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/padreug b/public/.well-known/lnurlp/padreug deleted file mode 100644 index 1fead2c..0000000 --- a/public/.well-known/lnurlp/padreug +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/aHzHNm","minSendable":1000,"maxSendable":1000000000,"metadata":"[[\"text/plain\", \"Payment to padreug\"], [\"text/identifier\", \"padreug@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/rishibond b/public/.well-known/lnurlp/rishibond deleted file mode 100644 index dbea856..0000000 --- a/public/.well-known/lnurlp/rishibond +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/jhHTce","minSendable":1000,"maxSendable":1000000000,"metadata":"[[\"text/plain\", \"Payment to rishibond\"], [\"text/identifier\", \"rishibond@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} diff --git a/public/.well-known/lnurlp/tor b/public/.well-known/lnurlp/tor deleted file mode 100644 index c1238cc..0000000 --- a/public/.well-known/lnurlp/tor +++ /dev/null @@ -1 +0,0 @@ -{"tag":"payRequest","callback":"https://lnbits.atitlan.io/lnurlp/api/v1/lnurl/cb/gYapfW","minSendable":1000,"maxSendable":1000000000,"metadata":"[[\"text/plain\", \"Payment to tor\"], [\"text/identifier\", \"tor@lnbits.atitlan.io\"]]","commentAllowed":140,"allowsNostr":true,"nostrPubkey":"66df4d7c4eab03a967ba8fd988c22e996cbfe8bdd8bd5e1e805978e6e6d51943"} From 9c663973b0056749e49e249cacb86671a201836a Mon Sep 17 00:00:00 2001 From: padreug Date: Thu, 30 Oct 2025 17:30:16 +0100 Subject: [PATCH 2/3] Implements user login and registration Replaces the demo login page with a dedicated login and registration component. This allows users to create accounts and log in, enabling authentication features. Simplify Login, remove registration for now Adds a login page with username and password fields. Includes input validation, loading state, error handling, and a success message after successful login. Registration has been temporarily disabled. --- src/app.ts | 2 +- src/pages/Login.vue | 170 +++++++++++++++++++++++++++++ src/pages/LoginDemo.vue | 231 ---------------------------------------- 3 files changed, 171 insertions(+), 232 deletions(-) create mode 100644 src/pages/Login.vue delete mode 100644 src/pages/LoginDemo.vue diff --git a/src/app.ts b/src/app.ts index 5ee12b8..459283e 100644 --- a/src/app.ts +++ b/src/app.ts @@ -60,7 +60,7 @@ export async function createAppInstance() { { path: '/login', name: 'login', - component: () => import('./pages/LoginDemo.vue'), + component: () => import('./pages/Login.vue'), meta: { requiresAuth: false } }, // Pre-register module routes diff --git a/src/pages/Login.vue b/src/pages/Login.vue new file mode 100644 index 0000000..1d04f16 --- /dev/null +++ b/src/pages/Login.vue @@ -0,0 +1,170 @@ + + + diff --git a/src/pages/LoginDemo.vue b/src/pages/LoginDemo.vue deleted file mode 100644 index f90aaa7..0000000 --- a/src/pages/LoginDemo.vue +++ /dev/null @@ -1,231 +0,0 @@ - - - From 8c33dc6e11331ce15bd0f34dc558bade3722e76c Mon Sep 17 00:00:00 2001 From: padreug Date: Thu, 30 Oct 2025 17:32:48 +0100 Subject: [PATCH 3/3] Initializes theme on app load Ensures the selected theme (dark/light mode) is applied immediately when the application loads, preventing a flash of incorrect theme on startup. --- src/App.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.vue b/src/App.vue index 59e840b..127cdd6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,10 +9,14 @@ import 'vue-sonner/style.css' import { useMarketPreloader } from '@/modules/market/composables/useMarketPreloader' import { auth } from '@/composables/useAuthService' import { toast } from 'vue-sonner' +import { useTheme } from '@/components/theme-provider' const route = useRoute() const showLoginDialog = ref(false) +// Initialize theme (applies dark mode immediately) +useTheme() + // Initialize preloader const marketPreloader = useMarketPreloader()