Commit Graph

130 Commits

Author SHA1 Message Date
ekzyis 6d7cd2573d Show user invoices 2023-11-26 22:35:51 +01:00
ekzyis 9026f56359 Update TODO 2023-11-26 18:56:02 +01:00
ekzyis 50724161c2 Update invoice description 2023-11-26 18:40:57 +01:00
ekzyis bc10fe025b First create order then invoice
This should prevent that we poll for invoices that had an error during order creation.

I should probably fix this with the context package.
2023-11-26 18:40:57 +01:00
ekzyis 0daddb8e5d Add quantity constraint 2023-11-26 18:40:57 +01:00
ekzyis e67332fd1b Show order error in frontend 2023-11-26 18:40:57 +01:00
ekzyis c1af91b0e4 Use JSON for errors 2023-11-26 18:21:26 +01:00
ekzyis 123404d090 chmod +x hotreload.sh 2023-11-25 19:49:38 +01:00
ekzyis 9ae92c84ba Add manifest.json for PWA 2023-11-24 01:29:23 +01:00
ekzyis 2952d4a99b Formatting 2023-11-24 01:29:04 +01:00
ekzyis 22a83e04ef Fix unknown network 'signet' 2023-11-23 02:00:37 +01:00
ekzyis c48b58ca9c Fix Makefile ignoring main.go 2023-11-23 00:15:44 +01:00
ekzyis bba752601b Make network configurable 2023-11-23 00:13:51 +01:00
ekzyis 287179cdf5 Fix underline during login 2023-11-20 21:03:14 +01:00
ekzyis c691473d3c Redirect to /login on '+ create market' click 2023-11-20 20:36:55 +01:00
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