Commit graph

99 commits

Author SHA1 Message Date
maddalax
3468baaa84 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	framework/h/attribute.go
#	framework/h/lifecycle.go
#	framework/h/render.go
2024-10-25 22:01:04 -05:00
maddalax
cf76ca4f98 add some comments 2024-10-25 21:59:17 -05:00
maddalax
61758622ef indent -> indentme
add details & summary html tag
2024-10-25 07:07:35 -05:00
maddalax
a72de0a62f add qs tests 2024-10-23 10:50:22 -05:00
maddalax
bb9fb0b327 write doctype when rendering html 2024-10-23 09:28:19 -05:00
Mohammad javad
30ac29fd6c
use path (#32)
* feat:add claasf

* refactor(tag.go)

* refactor(cache.go)

* refactor(attribute.go)

* refactor(app.go)

* refactor(attribute.go)

* fix:use path in PostPartialWithQs

* fix: PostPartial
2024-10-22 08:49:17 -05:00
Mohammad javad
a0f5b5dfd5
feat:add claasf (#31)
* feat:add claasf

* refactor(tag.go)

* refactor(cache.go)

* refactor(attribute.go)

* refactor(app.go)

* refactor(attribute.go)
2024-10-22 08:32:17 -05:00
maddalax
635b17dd7f add support for ignoring specific files for automatic page/partial routing 2024-10-21 10:06:18 -05:00
Kevin Lewin
cea6b1cff2
Update slog output for server start (#27)
Fixing f string error.
2024-10-21 09:17:18 -05:00
maddalax
b6d901fadf add some helper methods for redirect and setting cookie 2024-10-20 10:21:37 -05:00
maddalax
13f650b28b simple auth example 2024-10-20 07:48:19 -05:00
Kevin Lewin
a7110576d2
Update app.go (#24)
Reformat server listening log message so user could click from terminal or ide
2024-10-18 17:29:59 -05:00
maddalax
8b9e536f14 add converter to site 2024-10-11 11:19:32 -05:00
maddalax
ea5d4d5e2e update onload to always be called when element gets rendered again 2024-10-11 08:56:56 -05:00
maddalax
819af8b7b8 infinite scroll 2024-10-10 20:17:31 -05:00
maddalax
298f4dcd61 revert 2024-10-09 10:31:34 -05:00
maddalax
0b38bcaa21 Revert "websocket stuff wip"
This reverts commit 9f53e8b2
2024-10-09 10:30:14 -05:00
maddalax
f3cb95960c fix watcher to watch newly added dirs
add utility methods to RequestContext

Fix GetPartialPath
2024-10-09 10:28:41 -05:00
maddalax
9f53e8b2aa websocket stuff wip 2024-10-08 12:48:28 -05:00
maddalax
1014f6c961 add htmx to window
small swap fix
copy public assets to dist if changed
2024-10-07 12:57:24 -05:00
maddalax
805e5729e1 build fix 2024-10-04 11:21:15 -05:00
maddalax
e6af7a73d5 fix test 2024-10-03 15:41:09 -05:00
maddalax
496981efd0 fix tests 2024-10-03 15:35:19 -05:00
maddalax
8b816e9566 switch to sse 2024-10-01 22:26:03 -05:00
maddalax
5b10aed601 cleanup 2024-10-01 17:19:38 -05:00
maddalax
784995728c add error handling 2024-10-01 12:09:22 -05:00
maddalax
27b5de93ea chat working 2024-09-30 22:08:52 -05:00
maddalax
787ccb4fc1 entry page 2024-09-30 20:32:42 -05:00
maddalax
ae983473b3 db progress 2024-09-30 17:31:09 -05:00
maddalax
8cdc625133 some cleanup 2024-09-30 16:32:12 -05:00
maddalax
c7f4781137 spin up chat app, setup sockets, fix trigger children to work 2024-09-30 16:05:06 -05:00
maddalax
e5c5014812 more tests 2024-09-30 13:01:51 -05:00
maddalax
3c4583c2b3 cleanup 2024-09-30 12:47:10 -05:00
maddalax
7b83e2fde7 update attrs to use ordered map 2024-09-30 12:39:48 -05:00
maddalax
e542d3dea4 add tests for js commands 2024-09-30 09:17:52 -05:00
maddalax
b8f38f64d8 add more js methods 2024-09-29 11:50:30 -05:00
maddalax
50b86007cf add EvalJs on Sibling, EvalJs on Children, EvalJs on Parent 2024-09-29 11:45:52 -05:00
maddalax
fd0d72362f some fixes for childlist 2024-09-29 09:45:17 -05:00
maddalax
10d5d7b220 add submit form on enter 2024-09-29 08:47:39 -05:00
maddalax
b381db1714 add form example 2024-09-29 08:21:58 -05:00
maddalax
66fa5c2cf0 add some more attributes 2024-09-29 01:05:22 -05:00
maddalax
2d333a6e0a escape Text input, rename Raw to UnsafeRaw 2024-09-28 20:45:27 -05:00
maddalax
07b17b3c82 set log level 2024-09-28 12:51:23 -05:00
maddalax
513c0fb432 add more sleep time for the cache cleaner 2024-09-28 12:40:48 -05:00
maddalax
af81f53160 fix expiration for non by key cache
add goroutine to clean up old cache entries to save mem
2024-09-28 12:38:42 -05:00
maddalax
61e5554f20 make sure the expiration is per key too 2024-09-28 11:56:29 -05:00
maddalax
17bb55655e add caching per key 2024-09-28 11:27:07 -05:00
maddalax
010ab1fdd6 add caching component support 2024-09-27 21:29:53 -05:00
maddalax
1ac2d630c7 dont close void tags 2024-09-27 16:18:09 -05:00
maddalax
0f04094533 add a few missing tags 2024-09-27 15:57:11 -05:00