Commit Graph
54 Commits
Author SHA1 Message Date
vinchent fcd29cc082 Marking a resercation as processed 2024-07-25 13:51:31 +02:00
vinchent ca1e72c676 Editing a reservation 2024-07-25 13:29:57 +02:00
vinchent d4cf44bb22 Database functions for editing a reservation 2024-07-25 13:13:16 +02:00
vinchent 845f3a5836 Showing one reservation 2024-07-24 22:23:31 +02:00
vinchent dafd6f21c0 Listing new reservations 2024-07-24 14:20:30 +02:00
vinchent f93388a8e9 Listing all reservations 2024-07-22 22:14:48 +02:00
vinchent b34c217d98 create stub handlers for admin functionnality 2024-07-22 14:05:20 +02:00
vinchent dedab91898 Protecting our routes with auth middleware 2024-07-22 10:13:50 +02:00
vinchent 96f81418ec Checking to see if a user is logged in, and logging a user our 2024-07-22 10:00:17 +02:00
vinchent a0853cf880 Writing auth middleware 2024-07-19 18:40:19 +02:00
vinchent a6dca00199 Creating handler to log in 2024-07-19 10:02:58 +02:00
vinchent d32fd432d2 Creating the auth and user database functions 2024-07-19 09:44:27 +02:00
vinchent 3e70a5727f Creating the auth handlers for the login screen 2024-07-19 09:23:45 +02:00
vinchent c88974788f mock the mail server using a channel to read 2024-07-17 22:37:56 +02:00
vinchent b1d3095c89 Sending mails using Foundation templates 2024-07-17 22:34:03 +02:00
vinchent d40233b4ba Installing a mailer package and setting up a mail channel 2024-07-16 14:31:54 +02:00
vinchent 998850b708 finish handler tests 2024-07-16 13:22:46 +02:00
vinchent 191b010b8e use RequestURI instead of chi.URLParam for testing purpose 2024-07-15 22:42:05 +02:00
vinchent 6853a1a483 add tests for postavailability and reservation summary 2024-07-15 22:38:29 +02:00
vinchent e8390cc51d Use url.Values for post params 2024-07-15 21:36:02 +02:00
vinchent 4debe0e14e finish availabilityjson test 2024-07-15 21:24:10 +02:00
vinchent 904ee95d63 add tests for availabilityJson 2024-07-14 14:51:12 +02:00
vinchent 413bfc1685 user postData instead 2024-07-14 11:59:43 +02:00
vinchent d76070c21d fix bugs and add tests for PostMakeReservation handler 2024-07-14 11:49:42 +02:00
vinchent 0f17b3405e Improving tests by handling multiple test cases 2024-07-13 16:47:23 +02:00
vinchent f67aed4942 Updating existing tests to handle sessions 2024-07-13 16:35:17 +02:00
vinchent 1c46c5a64b Creating a test database repository 2024-07-12 22:43:16 +02:00
vinchent 9775b67a2d Connecting the rooms page to make reservation page 2024-07-11 23:01:10 +02:00
vinchent fed901ce25 Providing feedback when searching by room, and connecting to the reservation page 2024-07-10 23:32:49 +02:00
vinchent 5eb9284b6f Searching for availability by Room 2024-07-10 23:09:45 +02:00
vinchent e0a29d21c3 Cleaning up the reservation summary page and improbing validation 2024-07-10 22:55:54 +02:00
vinchent 95cddfc950 Cleaning up our make reservation page and testing everything 2024-07-10 22:34:27 +02:00
vinchent 5a646a2b27 Connection search availability to the make reservation page 2024-07-10 22:08:23 +02:00
Muyao CHEN ab02f8e635 Connecting handlers to new database functions 2024-07-10 12:35:16 +02:00
vinchent b9f974cd1f searching for availability for all rooms 2024-07-09 23:50:54 +02:00
vinchent 42a88034bf Searching for availability by room 2024-07-09 23:08:31 +02:00
vinchent 74e9fee942 Inserting Room Restrictions 2024-07-09 22:57:07 +02:00
vinchent 2ae5d9a2c2 Setting up database functions: inserting a reservation 2024-07-08 23:04:17 +02:00
vinchent 18c82ba19f Cleaning up our code 2024-07-07 22:37:48 +02:00
vinchent 44385fbbce Setting up models 2024-07-07 22:32:32 +02:00
vinchent c4b41d305d Connecting to the datavase and adding the sql connection to our Repository 2024-07-06 22:55:25 +02:00
vinchent 07c84fc414 Creating a Driver package 2024-07-06 22:26:41 +02:00
Muyao CHEN 9fc6c05d38 Centralizing error handling to a helpers package 2024-07-03 10:03:25 +02:00
Muyao CHEN d87d8ed594 Writing tests for the Forms package 2024-07-02 21:48:00 +02:00
Muyao CHEN 875be55076 Writing tests for Render package 2024-07-02 13:57:45 +02:00
Muyao CHEN 70996c6f60 Writing tests for POST handlers 2024-07-02 13:16:27 +02:00
Muyao CHEN 21478b20ae Writing tests for main package and for GET handlers 2024-07-01 22:34:16 +02:00
Muyao CHEN d8d2abcde3 Finishing up our response to user, and adding alerts 2024-07-01 14:28:00 +02:00
Muyao CHEN 3ad57c754f Displaying a response to user after posting form data 2024-07-01 14:19:38 +02:00
Muyao CHEN 6826634a01 Server Side form validation 4: check email 2024-07-01 13:47:52 +02:00