ekzyis
0230182ef5
Add create market form
2023-11-08 03:42:28 +01:00
ekzyis
cdeb088a13
Show market list
2023-11-08 03:01:58 +01:00
ekzyis
6cf1d4b918
Add lnurl copy button
2023-11-08 02:27:19 +01:00
ekzyis
d80b4beaaf
Align width of figure and figcaption
2023-11-08 01:57:57 +01:00
ekzyis
10702eb842
Show ... in Navbar during session initialization
2023-11-08 01:28:06 +01:00
ekzyis
cf6f83dad5
Align baseline of figlets
2023-11-08 01:20:01 +01:00
ekzyis
2d19b9702b
Move to views/
2023-11-08 01:19:52 +01:00
ekzyis
8d357e888d
Add figlet headers
...
* update CSS
* move login label between figlet and LNURL-auth text
2023-11-07 21:01:59 +01:00
ekzyis
8eda1139b3
Add my-3 to logout button
2023-11-07 20:09:38 +01:00
ekzyis
ae548a0956
Add login redirect
2023-11-07 20:09:31 +01:00
ekzyis
559936e565
Merge init and checkSession
2023-11-07 18:55:20 +01:00
ekzyis
c44346774a
Remove commented out HTTP API
2023-11-07 18:49:19 +01:00
ekzyis
f9a6a86bad
Implement login poll
2023-11-07 18:49:19 +01:00
ekzyis
0e49eb73ee
Redirect to / if session already exists
...
* also fix usage of stale isAuthenticated
2023-11-07 14:34:57 +01:00
ekzyis
d5b432a9d2
Fix session initialization skipped
2023-11-07 14:12:54 +01:00
ekzyis
5c225c1f25
Add logout button to /user
2023-11-07 14:02:25 +01:00
ekzyis
f9d12da7d3
Wait until session is initialized
2023-11-07 10:15:53 +01:00
ekzyis
57673f7b39
Fix session store sync
2023-11-07 09:48:59 +01:00
ekzyis
a641733444
Add dev nginx config
2023-11-07 09:08:56 +01:00
ekzyis
0712568273
formatting
...
VSCode configuration:
* editor.detectIndentation = false
* editor.indentSize = 2
2023-11-07 09:06:52 +01:00
ekzyis
2af23ff409
Fix @vue/cli-plugin-babel missing
2023-11-07 09:06:37 +01:00
ekzyis
4e343d49d0
implement login with vue
...
* use vue router
* use pinia
* use tailwindcss
* use vite
* transform /api/login and /api/login/callback into JSON APIs
* add Access-Control-Allow-Credentials header
* add TODO about JSON errors
2023-11-07 09:06:35 +01:00
ekzyis
d1b7786434
Add vue frontend
2023-11-04 00:33:27 +01:00
ekzyis
9a87fe7342
Rename to HandleInvoiceStatus
2023-11-03 23:43:56 +01:00
ekzyis
edfbd2cc92
Test logout
2023-11-03 23:38:23 +01:00
ekzyis
18107bdac8
Only test handler package and use -v
...
since there are only tests in the handler package so far
2023-11-03 23:00:11 +01:00
ekzyis
e2a09ccdd1
refactor: put test hooks and boilerplate into own package
2023-11-03 21:17:04 +01:00
ekzyis
7a5c2cb063
Disable test cache
2023-11-03 20:35:34 +01:00
ekzyis
fc6fb9914e
Test login + callback
2023-11-03 20:34:21 +01:00
ekzyis
c66e96bf3f
refactor: fix init and use DI
...
* fix init misuse which makes running tests impossible since tests are run inside a temporary test directory which breaks env loading
* use dependency injection pattern for server creation and global server context in route handlers
2023-11-03 20:34:21 +01:00
ekzyis
50244ee9ca
Update HTML and CSS
2023-09-14 01:15:30 +02:00
ekzyis
7558655458
refactor: Structure code into different packages
...
I have put too much code into the same files.
Also, I put everything into the same package: main.
This package is only meant for executables.
Therefore, I have refactored my code to use multiple packages. These packages also guarantee separation of concerns since Golang doesn't allow cyclic imports.
2023-09-10 23:13:08 +02:00
ekzyis
b4a8adcb9a
Fix expiry greater than maxExpiry
2023-09-09 22:52:51 +02:00
ekzyis
6c111501ec
Show server logs in hotreload script output
2023-09-09 22:52:51 +02:00
ekzyis
057690d5a9
Use HODL invoices
2023-09-09 22:52:51 +02:00
ekzyis
2d2ceec140
Fix table in MATCHMAKING.md
2023-09-09 22:52:51 +02:00
ekzyis
e34b5826fa
Remove hidden attr from order form
2023-09-09 22:52:51 +02:00
ekzyis
b2fe9b03d7
Use 405 Method Not Allowed if no LND connection exists
2023-09-09 22:52:51 +02:00
ekzyis
ab2c80c6e8
Start goroutine to check invoice when serving
2023-09-09 22:52:51 +02:00
ekzyis
82f6f9698e
Fix ReferenceError
2023-09-09 22:52:51 +02:00
ekzyis
3092a3f89d
Remove order_id, add created_at column
2023-09-09 22:52:51 +02:00
ekzyis
de42a7435b
Use ⚡ as unit symbol
2023-09-09 22:52:51 +02:00
ekzyis
a01d4488cc
Render or poll invoice status
2023-09-09 22:52:51 +02:00
ekzyis
b2c7f28200
Run CheckInvoice jobs on startup
2023-09-09 22:52:51 +02:00
ekzyis
d987934ba4
Add user page
2023-09-09 22:52:51 +02:00
ekzyis
e6aec21aff
Add share pointer to type Order
2023-09-09 22:52:51 +02:00
ekzyis
b8a759b141
hotreload: don't die on build errors
2023-09-09 22:52:51 +02:00
ekzyis
e5f5759871
Redirect after payment
2023-09-09 22:52:51 +02:00
ekzyis
921623ee4d
Respond with 402 Payment Required
2023-09-09 22:52:51 +02:00
ekzyis
798f5b3623
Move QR code into lib.go
2023-09-09 22:52:51 +02:00