49dde76af6
hx boost helper
2024-09-09 22:34:29 +02:00
26c8996f0f
rename private handler
2024-09-09 22:01:43 +02:00
6fbac3ec39
fix linter
2024-09-09 21:15:28 +02:00
701a32671a
fix search bug introduce isHxRequest helper
2024-09-09 17:42:57 +02:00
542dbf0f97
split the service layer
2024-09-08 23:12:13 +02:00
aa5dd17d07
move config and constant packages to internal
2024-09-08 21:34:36 +02:00
d4e6b35a96
Create taxes for taxable items automatically ( #16 )
...
* refactor return error when building booking service
* fix the description
* set taxable item by amount
* auto create tax items if the item is taxable
* fix linter
* remove legacy tax entry
* display multiple items
* use the price from the form
* improve item sorting
* lintfix
2024-08-26 21:44:31 +02:00
8417ac8ddc
fix linter error
2024-08-23 10:11:39 +02:00
abf37d8413
add search by custumer name
2024-08-23 09:55:19 +02:00
f4250fb275
cleanup
2024-08-23 08:21:22 +02:00
c79232a019
fix linter warning
2024-08-21 22:01:37 +02:00
75832d251d
use colorful logger
2024-08-21 16:56:11 +02:00
47ee4f2168
upgrade to Go 1.23
2024-08-21 07:41:54 +02:00
8a6531f50e
add static assets caching
2024-08-19 15:00:38 +02:00
fefbbc2ae9
add calendars as we use them
2024-08-17 00:59:45 +02:00
3983de237f
sync calendar on item creation
2024-08-16 19:58:49 +02:00
6a15d1b32a
refactor: server option to own filed
2024-08-15 23:48:35 +02:00
ac10e65097
Refactor service ( #14 )
...
* add comments to main file
* create health check handler
health check
* use naming convention for booking handler
* use naming convention for hamndlers
naming convention
* clean up
2024-08-07 09:12:50 +02:00
4409facd34
create calendar service at startup
2024-08-05 20:19:25 +02:00
22175a9b39
fix linter errors
2024-07-14 23:43:14 +02:00
967df34451
add external field to form
2024-07-14 23:35:39 +02:00
1f55bf3556
make external id nullable
2024-07-14 23:05:14 +02:00
ee3674e12f
better date formatting
2024-06-29 09:28:51 +02:00
ba950f3b03
use constants
2024-06-20 18:34:57 +02:00
0dc9bee3f7
add api_key to config
2024-06-16 16:20:55 +02:00
c8ab60e07e
add external_id to not duplicate bookings
2024-06-15 09:11:56 +02:00
ba22fa0ffc
log and return message
2024-06-15 07:55:48 +02:00
1ec2f5365c
update templ version
2024-06-14 22:35:20 +02:00
cee291a88f
move to service
2024-06-14 13:07:53 +02:00
f9066d3ecb
extract booking data
2024-06-14 12:27:55 +02:00
0db50b2268
add validation to login form
2024-06-08 13:23:43 +02:00
eef6c85fe3
add helper file
2024-06-08 12:27:05 +02:00
8c4a1554ca
make origin a config change api sync url
2024-06-02 11:59:07 +02:00
0a41989b01
cancel booking in db
2024-06-01 20:56:13 +02:00
04586832fa
add cancel flag on booking
2024-06-01 20:21:24 +02:00
24b7cf1251
redirect with htmx
...
format
2024-05-25 19:03:33 +02:00
cc621582f9
read session to login
2024-05-25 16:53:49 +02:00
e1766812c4
session login
2024-05-25 16:38:25 +02:00
37c5c9428e
Login page using templ
2024-05-19 21:29:23 +02:00
8f4f1638a4
add google login
2024-05-19 21:04:05 +02:00
c3b7f183ae
csrf protection
2024-05-19 08:24:31 +02:00
e673acb5c2
can store token after login
2024-05-10 23:01:50 +02:00
aa5ac4dace
add login page design
2024-05-10 13:00:21 +02:00
fee3f660ed
add login page
2024-05-10 12:45:08 +02:00
32350c59b6
add logs
2024-04-19 20:36:59 +02:00
691b724189
set debug
2024-04-13 19:15:42 +02:00
efccace761
use getenv function
2024-04-13 19:04:57 +02:00
65423c176a
use std lib for time formatting
2024-04-12 17:31:24 +02:00
71d5fbe21b
move request form to components
2024-04-12 11:54:43 +02:00
28866ac5fb
update line item
2024-03-22 21:45:57 +01:00