1548 Commits

Author SHA1 Message Date
Alexander Petros
d26fe4709d
Remove the last of the go code (#1890)
Update the website tests with the latest tests on master, deleting the
mirrored go code in the process.
2023-10-12 16:01:34 -06:00
Alexander Petros
a66a98b9ed
Fix WS/SSE tests and replace go backend with NodeJS (#1876)
* Write WS and SSE test backend in node

* Refactor pages so that the URLs work

* Add tab highlighting script

* Fix stream with multiple events

* Fix highlighting on ext links

* Refactor WS code

* Support event trigger tests

* Add some jitter to the intervals

* Delete old go backend

* Update README with new info and credits

* Update top-level README

* Move ws to dev dependencies

* Remove extraneous go server

* Fix misplace comment
2023-10-12 15:54:40 -05:00
Mohamed Haddi
f0ad4690d0
Sortable example fixes (#1868)
* add missing quotation mark

* make `.htmx-indicator` unsortable

* change cursors to indicate grabbable items

* bug fix:

bug:
when an item is dragged fast enough before the previous request was
completed, dropping after request completion resulted in the addition
of an extra item to the list.

fix:
disable sortable on End event, and re-enable it on htmx:afterSwap.

* add a few inline  comments + better naming
2023-10-09 17:28:49 -04:00
André Rouél
76e0ca1216
Fix Handlebars template rendering (#1836)
Fix Handlebars template rendering (see #801 and #1801)

Co-authored-by: russ4stall <russ@slashpine.tech>
2023-10-06 22:04:58 -06:00
Thomas de Queiroz Barros
590fddaf04
Improve request/response documentation in docs.md (#1839)
* docs+reference: merge Response Headers docs

* docs+reference: merge Request Headers docs

* docs+reference: use true as strings
2023-10-03 16:06:29 -04:00
Elliott Brown
1e5dc7fba7
Fix reference in notes from hx-disable-elts to hx-disable-elt (#1838) 2023-10-01 19:28:28 +02:00
Sören Maschmann
2a34b304e1
Update docs.md (#1846)
fix: spelling mistake 'docuemnt' in swap-options
2023-10-01 19:26:58 +02:00
Cameron Beck
645f3570cc
Update file-upload.md (#1847)
Fixing a small typo in the documentation
2023-10-01 19:24:28 +02:00
Cristian Molina
ec126d2e3d
Update Ruby list of server-examples.md (#1765)
Added htmx from alchemists.io. Works with any web framework. Also added a missing `-`
2023-09-26 12:27:53 -04:00
Lorant Kurthy
49d01f0d47
Add another Elixir example to server-examples.md (#1814) 2023-09-25 11:00:29 -04:00
srcerer
6a3f089fa7
Update podcasts.csv (#1830)
PodRocket by LogRocket
2023-09-25 10:57:30 -04:00
David Harrigan
811a67d3e6
Add another Clojure example (#1832)
* HTMX to provide user interaction via the UI
* Bootstrap 5.3 for a basic look and feel
* API CRUD functionality
* Login and session handling
* Exception handling
* i18n
* Input validation and more!

-=david=-
2023-09-25 10:57:10 -04:00
Carson Gross
04250d57f4 update SHA 2023-09-21 17:22:02 -06:00
Carson Gross
618a888087 release docs 2023-09-21 17:21:00 -06:00
Carson Gross
ecd990ee0f prep release 2023-09-21 17:15:11 -06:00
Carson Gross
baf80aed77 remove disable-element extension from the main docs 2023-09-21 16:59:52 -06:00
Carson Gross
a5fd1b7081 make singular to make more consistent w/ other attributes 2023-09-21 16:57:28 -06:00
Carson Gross
aa7ae144b5 Merge branch 'master' into dev 2023-09-21 15:48:07 -06:00
Carson Gross
d2a15ff13f Merge remote-tracking branch 'origin/dev' into dev 2023-09-21 15:47:59 -06:00
Carson Gross
aaee264565 clean up 2023-09-21 12:58:32 -06:00
Carson Gross
6aeca44243 clean up 2023-09-21 12:57:20 -06:00
Carson Gross
ffd4406e30 clean up 2023-09-21 12:56:18 -06:00
Carson Gross
709cfbf9bd clean up 2023-09-21 12:53:40 -06:00
Carson Gross
6e37e981c6 clean up 2023-09-21 12:49:22 -06:00
Carson Gross
138650412b Merge remote-tracking branch 'origin/master' 2023-09-21 12:46:50 -06:00
Carson Gross
73bfbb57b2 clean up 2023-09-21 12:46:41 -06:00
Alexander Petros
03b1ebea97
Add version number to test page (#1813)
Now that we only have a single test page, it's helpful to show which
version of htmx the tests are running against.
2023-09-21 12:11:40 -06:00
Carson Gross
9c012f0848 clean up 2023-09-21 10:41:12 -06:00
Carson Gross
4534fd1592 standardize language 2023-09-21 10:31:35 -06:00
Carson Gross
9759f63e15 fix link 2023-09-21 10:29:53 -06:00
Carson Gross
87c34ddd40 add essay 2023-09-21 10:27:39 -06:00
Carson Gross
3e9cb68428 fix date 2023-09-21 10:21:13 -06:00
Carson Gross
c44a719eb8 fix date 2023-09-20 20:35:20 -06:00
Carson Gross
13904341ad fix date 2023-09-20 15:33:00 -06:00
Carson Gross
16018128d9 cleanup 2023-09-20 10:24:24 -06:00
Carson Gross
cf1ed19a8c add another stat 2023-09-20 10:22:49 -06:00
Carson Gross
46fe147c49 another react to htmx port 2023-09-20 10:21:03 -06:00
Carson Gross
4189eeaa0c Merge branch 'master' into dev
# Conflicts:
#	package-lock.json
#	package.json
2023-09-20 09:15:53 -06:00
vsyaco
8e4f69a1d3
[Documentation] Small typo fix in modal-bootstrap.md response example (#1804)
Documentation: fixing small typo in modal-bootstrap.md
2023-09-19 16:40:05 -04:00
Jyri-Matti Lähteenmäki
048f98c87b
Extend client-side-templates to handle XSLT transformations (#1210)
extend client-side-templates to handle XSLT transformations
2023-09-19 11:08:11 -05:00
Alexander Petros
d1288d202a
Remove old tests from the website (#1733)
The website used to host every past test suite, copied into the www
directory. We no longer need that on the website (and it makes the
codebase impossible to search) so I removed all the old tests and the
new tests are hosted simply at /test.

I also replaced the www.js script with a simpler www.sh one (since we no
longer need to do anything besides copying, really), which allowed me to
remove a node dependency that was only used in that script.
2023-09-19 11:07:24 -05:00
gbourant
66023f21f9
Fix typo in HX-Refresh documentation (#1798) 2023-09-18 09:08:55 +01:00
Carson Gross
af0dc9c352 add hx-disabled-elts functionality 2023-09-14 13:20:46 -06:00
Sascha Woo
f15795e79c
Allow hx-swap options to be used without specifying modifier (innerHTML remains the default) (#1455)
* hx-swap: make swap style optional

* hx-swap: log an error when an unknown option or modifier is used
2023-09-14 10:57:30 -06:00
Ari
6e93780d8d
Allow disable-element extension to disable multiple elements (#1650)
* Update disable-element extension

Allow multiple elements to be selected in the query

* Remove unnecessary comments

https://github.com/bigskysoftware/htmx/pull/1650#discussion_r1278773982

* Change tab indentations to spaces
2023-09-14 10:47:21 -06:00
Dave Ashby
e3a68c5e1b
Add support for array templates to the client-side templates extension (#1776)
Fix client-side template support for arrays (non-breaking)

Co-authored-by: Dave Ashby <david.h.ashby.ctr@nga.mil>
2023-09-14 10:41:32 -06:00
John Ritsema
3845e0f92e
adds another htmx/go example (#1789) 2023-09-12 13:15:19 -04:00
Ben Croker
7924e76daf
Add allowScriptTags to docs (#1770)
Add `allowScriptTags`
2023-09-07 19:31:15 -04:00
Vincent
8fa43b1293
[Doc] Fix missing beforeCleanupElement event in doc (#1762)
Fix missing beforeCleanupElement event in doc
2023-09-04 19:12:00 -04:00
1cg
05d53f4556
Update webring.md (#1758) 2023-09-02 13:04:21 -06:00