Commit Graph

290 Commits

Author SHA1 Message Date
ekzyis fb7fbae699 Fix invoice polling finds no rows 2023-11-26 23:53:35 +01:00
ekzyis aa6db6a5e1 Fix foreign key constraint violation during market creation 2023-11-26 23:48:55 +01:00
ekzyis afba1c2bfb Add error handling in market form 2023-11-26 23:45:07 +01:00
ekzyis e5e9ae0667 Remove market end date from invoice description 2023-11-26 23:40:11 +01:00
ekzyis da58c1158a Add link to faucet 2023-11-26 23:38:43 +01:00
ekzyis 001ac39328 Fix poll leak 2023-11-26 23:28:58 +01:00
ekzyis 73162155d5 Fix orphaned invoices with Tx and Context usage
txs are now rolled back on order error
2023-11-26 23:22:34 +01:00
ekzyis 22c9bbdee3 Rename to UserSettings 2023-11-26 22:37:06 +01:00
ekzyis 46c2a4eceb Add StyledLink 2023-11-26 22:35:51 +01:00
ekzyis 6d7cd2573d Show user invoices 2023-11-26 22:35:51 +01:00
ekzyis a2a2d4b0a6 Merge branch 'vue-rewrite' into develop 2023-11-26 18:56:09 +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