ekzyis
0827451f5e
Fix "relation does not exist" error
2023-11-20 14:18:50 +01:00
ekzyis
4b9a7b8da8
Use required attribute
2023-11-20 04:16:06 +01:00
ekzyis
dfdc20cbbd
Fix Unmarshal type error
...
Can't put floats like 49.9 into int64
2023-11-20 04:14:27 +01:00
ekzyis
7b649c4d7d
Replace market status with JOIN
2023-11-20 03:09:55 +01:00
ekzyis
76d2e56393
Use slider for certainty
2023-11-20 02:57:06 +01:00
ekzyis
ce64608894
Allow creation of markets
2023-11-20 02:52:08 +01:00
ekzyis
0e587d48ca
Update MarketForm
...
* use textarea
* add end date input
* add cancel button
* add missing Content-type header
2023-11-20 00:57:52 +01:00
ekzyis
bf0e0fea69
Rename to HomeView
2023-11-20 00:38:52 +01:00
ekzyis
7718eefcf3
Update prod nginx config
2023-11-20 00:38:52 +01:00
ekzyis
28b9b61e9b
Don't show 0.000
2023-11-20 00:38:52 +01:00
ekzyis
f4c5bf6d2c
Show which shares will be bought
2023-11-20 00:38:52 +01:00
ekzyis
c4f70015d5
Only redirect on multiple polls
2023-11-20 00:38:52 +01:00
ekzyis
9b33690494
Check if invoice not found
2023-11-20 00:38:52 +01:00
ekzyis
1351439a15
Run invoice checks on startup
2023-11-20 00:38:52 +01:00
ekzyis
4b0d017b98
Add invoice description
2023-11-20 00:38:52 +01:00
ekzyis
4aaada7cb7
Add invoice view
2023-11-20 00:38:52 +01:00
ekzyis
a21756389e
Disable multi-word-component-names rule
2023-11-20 00:38:52 +01:00
ekzyis
ebdf0d1e90
Add order form
...
* add POST /api/order -> 402 Payment Required
* redirect to /invoice/:id
2023-11-20 00:38:52 +01:00
ekzyis
55afc3b097
Add /market/:id route
2023-11-20 00:38:52 +01:00
ekzyis
8d5aad5744
Create MarketForm component
2023-11-20 00:38:52 +01:00
ekzyis
0ed27167f7
Formatting
2023-11-08 03:43:17 +01:00
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