Commit Graph

251 Commits

Author SHA1 Message Date
ekzyis 2af3278f15 Remove text-center in /about 2024-07-12 13:21:35 +02:00
ekzyis 6a3a384012 Fix error pages 2024-07-12 11:00:51 +02:00
ekzyis 8aa72dbfa0 Use hx-* attributes 2024-07-12 11:00:51 +02:00
ekzyis ee3e5e82e4 Remove old code
* removed code that will not be used
* removed code that will most likely be rewritten
2024-07-12 11:00:51 +02:00
ekzyis 4ba568951d Update db schema 2024-07-12 10:59:57 +02:00
ekzyis 94d1f6c1d8 Add login page 2024-07-12 07:12:57 +02:00
ekzyis fb26910e41 Fix footer margin 2024-07-11 02:59:36 +02:00
ekzyis 815c03efc5 Add Gitea link in /about 2024-07-11 02:46:40 +02:00
ekzyis 8b21d4ac67 Update favicon 2024-07-11 02:46:15 +02:00
ekzyis a87ce02819 Add figlet component 2024-07-10 09:25:46 +02:00
ekzyis 3a9d3ac9aa Use fixed height for figlet 2024-07-10 09:22:35 +02:00
ekzyis 02944da696 Add /about 2024-07-10 09:14:06 +02:00
ekzyis 47183d3cf9 Add error.templ 2024-07-10 09:13:52 +02:00
ekzyis 822bcb36ed Align login link to end 2024-07-10 07:47:01 +02:00
ekzyis a95b1afea9 Remove unused index.css 2024-07-10 07:43:27 +02:00
ekzyis 27a39c27f7 Set max-width to 768px for all screens 2024-07-10 07:35:07 +02:00
ekzyis 5518553221 Randomize figlet font 2024-07-10 07:25:03 +02:00
ekzyis 862a6d584f Use templ components 2024-07-10 07:25:03 +02:00
ekzyis 01f85bd098 Setup tailwindcss 2024-07-10 06:12:43 +02:00
ekzyis 4ed1ae973b Put js, css into own dirs 2024-07-10 04:54:26 +02:00
ekzyis 440440c987 Add make dev 2024-07-10 04:48:45 +02:00
ekzyis 3d3ae16617 Index page with templ 2024-07-10 04:47:25 +02:00
ekzyis 975072145e Download htmx v2.0.0 2024-07-09 16:16:51 +02:00
ekzyis f280898582 Fix tests 2024-07-09 12:33:56 +02:00
ekzyis 5b8cd27536 Fix init.sql path in docker-compose.yml 2024-07-09 12:33:51 +02:00
ekzyis 5f0ddbcbd7 Formatting with blank lines 2024-07-09 12:32:22 +02:00
ekzyis ae4223512c rm -r vue/ 2024-07-09 12:21:01 +02:00
ekzyis d40cd1b8d9 Add x-margin to market description 2023-12-04 06:21:23 +01:00
ekzyis a54152a2b0 Update /about 2023-12-04 05:24:49 +01:00
ekzyis 2f2c51c57f Add MIT license 2023-12-04 05:03:24 +01:00
ekzyis 4a8981400d Fix market_id column nullable 2023-12-04 04:56:01 +01:00
ekzyis 5969b23a31 Fix undefined CTE execution order
"""
The sub-statements in WITH are executed concurrently with each other and with the main query.
Therefore, when using data-modifying statements in WITH, the order in which the specified updates actually happen is unpredictable.
"""
-- https://www.postgresql.org/docs/14/queries-with.html

Also see https://stackoverflow.com/questions/47622827/cte-execution-order
2023-12-04 04:45:27 +01:00
ekzyis 0ea0cecfc3 Show market outcome 2023-12-04 02:36:09 +01:00
ekzyis 79e2cbefdc Redirect to market orders 2023-12-04 01:54:36 +01:00
ekzyis fe5feccfee Implement market settlement 2023-12-04 01:36:59 +01:00
ekzyis 6088d8aa10 Disable withdrawal if user has no sats 2023-12-03 09:54:11 +01:00
ekzyis 51e204b64a Add frontend for market settlement 2023-12-03 08:51:40 +01:00
ekzyis c9bce83891 Remove unnecessary CSS class 2023-12-03 07:32:23 +01:00
ekzyis 938bff20e6 Add pubkey column to market table 2023-12-03 07:22:13 +01:00
ekzyis 6ab8e975fb Fix CSS on /about for large screens 2023-12-03 07:14:04 +01:00
ekzyis ceefec61cd Fix sell order not increasing user balance on match 2023-12-03 07:01:08 +01:00
ekzyis c7ae559777 Implement withdrawal 2023-12-03 06:21:57 +01:00
ekzyis 2af9ac29df Consistent uppercase POST 2023-12-03 04:42:29 +01:00
ekzyis f291a14630 Fix order form sell checkbox CSS 2023-12-03 04:22:18 +01:00
ekzyis 822c9d04c7 Add /about 2023-12-03 04:16:12 +01:00
ekzyis e0e745a319 Refresh session after order cancelation 2023-12-03 03:18:24 +01:00
ekzyis 3f22f12707 Fix unpaid orders shown 2023-12-03 03:10:00 +01:00
ekzyis adc3c8bfe1 Fix stale login redirect 2023-12-03 02:55:27 +01:00
ekzyis 59f7269930 User feedback on order cancelation 2023-12-03 02:47:15 +01:00
ekzyis 3b7b9e5134 Fix alignment of labels in order form 2023-12-03 02:44:00 +01:00