|
f20f256313
|
Use sqlc
|
2024-07-30 22:02:26 +02:00 |
|
|
30c552cf6c
|
change postgres to docker
|
2024-07-30 20:03:44 +02:00 |
|
|
3eab2a3c9f
|
add todo
|
2024-07-29 22:09:06 +02:00 |
|
|
5d225f0186
|
Use redis to store the sessions
|
2024-07-29 21:54:37 +02:00 |
|
|
52c3679158
|
Use cmd flags
|
2024-07-29 14:20:51 +02:00 |
|
|
aca8605870
|
fix a make reservation error
|
2024-07-29 14:04:43 +02:00 |
|
|
6631288843
|
add more tests
|
2024-07-29 13:52:10 +02:00 |
|
|
99c2eec759
|
add some tests
|
2024-07-28 15:48:03 +02:00 |
|
|
623291541a
|
Fixing redirects
|
2024-07-28 15:23:12 +02:00 |
|
|
d7f7a2d8d9
|
Handling Calendar changes
|
2024-07-28 14:43:39 +02:00 |
|
|
14828fb901
|
Reservation calendar 4
|
2024-07-28 13:59:54 +02:00 |
|
|
7894a05daf
|
Reservation Calendar 3
|
2024-07-27 22:39:23 +02:00 |
|
|
b97c6cba5c
|
reservation calendar 2
|
2024-07-26 13:40:56 +02:00 |
|
|
a7cf9fe4f0
|
Showing the reservation calendar
|
2024-07-26 10:18:27 +02:00 |
|
|
5987fadb03
|
Deleting a reservation
|
2024-07-25 14:09:42 +02:00 |
|
|
fcd29cc082
|
Marking a resercation as processed
|
2024-07-25 13:51:31 +02:00 |
|
|
ca1e72c676
|
Editing a reservation
|
2024-07-25 13:29:57 +02:00 |
|
|
d4cf44bb22
|
Database functions for editing a reservation
|
2024-07-25 13:13:16 +02:00 |
|
|
845f3a5836
|
Showing one reservation
|
2024-07-24 22:23:31 +02:00 |
|
|
dafd6f21c0
|
Listing new reservations
|
2024-07-24 14:20:30 +02:00 |
|
|
f93388a8e9
|
Listing all reservations
|
2024-07-22 22:14:48 +02:00 |
|
|
b34c217d98
|
create stub handlers for admin functionnality
|
2024-07-22 14:05:20 +02:00 |
|
|
ea796999d4
|
convert admin template into go template
|
2024-07-22 13:54:59 +02:00 |
|
|
51e3c74950
|
add admin dropdown
|
2024-07-22 13:10:17 +02:00 |
|
|
dedab91898
|
Protecting our routes with auth middleware
|
2024-07-22 10:13:50 +02:00 |
|
|
68d9110cd2
|
change flash to success
|
2024-07-22 10:04:08 +02:00 |
|
|
96f81418ec
|
Checking to see if a user is logged in, and logging a user our
|
2024-07-22 10:00:17 +02:00 |
|
|
a0853cf880
|
Writing auth middleware
|
2024-07-19 18:40:19 +02:00 |
|
|
a6dca00199
|
Creating handler to log in
|
2024-07-19 10:02:58 +02:00 |
|
|
d32fd432d2
|
Creating the auth and user database functions
|
2024-07-19 09:44:27 +02:00 |
|
|
3e70a5727f
|
Creating the auth handlers for the login screen
|
2024-07-19 09:23:45 +02:00 |
|
|
447bfc4599
|
Create the login screen
|
2024-07-19 09:23:24 +02:00 |
|
|
c88974788f
|
mock the mail server using a channel to read
|
2024-07-17 22:37:56 +02:00 |
|
|
b1d3095c89
|
Sending mails using Foundation templates
|
2024-07-17 22:34:03 +02:00 |
|
|
d40233b4ba
|
Installing a mailer package and setting up a mail channel
|
2024-07-16 14:31:54 +02:00 |
|
|
bf61fb7c18
|
sending mails using standard lib
|
2024-07-16 13:35:10 +02:00 |
|
|
998850b708
|
finish handler tests
|
2024-07-16 13:22:46 +02:00 |
|
|
191b010b8e
|
use RequestURI instead of chi.URLParam for testing purpose
|
2024-07-15 22:42:05 +02:00 |
|
|
6853a1a483
|
add tests for postavailability and reservation summary
|
2024-07-15 22:38:29 +02:00 |
|
|
e8390cc51d
|
Use url.Values for post params
|
2024-07-15 21:36:02 +02:00 |
|
|
4debe0e14e
|
finish availabilityjson test
|
2024-07-15 21:24:10 +02:00 |
|
Muyao CHEN
|
3f1dfeabc2
|
add docker compose for pg
|
2024-07-15 15:13:21 +02:00 |
|
Muyao CHEN
|
4ec8c5d9a1
|
Fix seed sqls
Should use '' instead of "".
|
2024-07-15 15:11:06 +02:00 |
|
|
904ee95d63
|
add tests for availabilityJson
|
2024-07-14 14:51:12 +02:00 |
|
|
413bfc1685
|
user postData instead
|
2024-07-14 11:59:43 +02:00 |
|
|
d76070c21d
|
fix bugs and add tests for PostMakeReservation handler
|
2024-07-14 11:49:42 +02:00 |
|
|
262b48161d
|
add comment for nosurf
|
2024-07-13 18:19:51 +02:00 |
|
|
5d670c1dc5
|
fix availabilityJson post not working error: should pass CSRFToken into the function
|
2024-07-13 18:19:23 +02:00 |
|
|
0f17b3405e
|
Improving tests by handling multiple test cases
|
2024-07-13 16:47:23 +02:00 |
|
|
f67aed4942
|
Updating existing tests to handle sessions
|
2024-07-13 16:35:17 +02:00 |
|