2326 Commits

Author SHA1 Message Date
Carson Gross
ac6839e078 htmx 1.9.3 release prep 2023-07-14 14:15:31 -06:00
Carson Gross
2edb023f20 Merge branch 'master' into dev
# Conflicts:
#	www/content/docs.md
2023-07-14 13:52:14 -06:00
Carson Gross
05a1f8cba7 Merge remote-tracking branch 'origin/dev' into dev 2023-07-14 13:50:31 -06:00
Carson Gross
4e97877047 Merge branch 'master' into dev 2023-07-14 13:50:25 -06:00
Alexander Petros
39ffb3aa18
Group essays by subject (#1543) 2023-07-10 15:57:08 -06:00
Steve Russo
59f5073371
fix grammer and typo in Response Headers docs section (#1536) 2023-07-10 15:55:27 -06:00
Vinay Sajip
a48d4e32cd
Add django-template-partials to Python template-fragment implementations. (#1549) 2023-07-10 15:54:54 -06:00
Micael Jarniac
88618809a2
Fix GitHub word capitalization (#1547)
* Fix GitHub capitalization

```diff
- Github
+ GitHub
```

* Fix GitHub capitalization

```diff
- github
+ GitHub
```
2023-07-10 15:54:18 -06:00
Thomas M. Schöller
e6fc3246df
Fix paths mentioned in description text (#1551)
The paths in the description did not match with the paths in the example code.
2023-07-10 15:54:00 -06:00
Yann Salaün
21f333c218
Fix typo (#1556) 2023-07-10 15:53:28 -06:00
Alexander Petros
febfa1c6a7
Add configs to choose between ecoding parameters in the URL or request body (#1525)
* Allow extensions to set request bodies for GET and DELETE

Even though the semantics of request bodies for GET and DELETE are
undefined, it is legal to set request bodies for them. By default, GET
and DELETE form parameters should be encoded as URLs. If, however, an
extension defines `encodeParameters`, that should override the default
and set the request bodies for GET and DELETE methods, just like it does
for all the other HTTP methods.

* Don't use URL params by default with DELETE

* Re-enable skipped DELETE test

* Remove reference to DELETE in comment

* Add "useUrlParams" to requestConfig

* Add config.methodsThatUseUrlParams

* Add methodsThatUseUrlParams config tests

* Don't switch to body params based on extension
2023-07-10 15:52:01 -06:00
Ben Croker
e9234823a2
Improve wording 2023-06-30 22:06:27 +03:00
Ben Croker
310ca32ac1
Fix typo 2023-06-30 22:05:44 +03:00
Denis Palashevskii
18aa2470a0
fix accesibility and keyboard navigation issues in examples (#1433)
* fix accesibility and keyboard navigation issues in examples

* fix review comments

* remove redundant aria attributes, remove redundant autofocus

* rework progress bar demo's accesibility

* rework tabs HATEOS example to be more ARIA compliant

* rework tabs _hyperscript example to be ARIA compliant
2023-06-30 11:28:54 -05:00
Eric Liu
3bca1af991
Fix typo in sample HTML response (#1502) 2023-06-30 11:25:53 -05:00
Vincent
1561a7daa2
Fix sse listener removal if element isn't in body anymore (#1484) 2023-06-30 11:25:37 -05:00
Adrian Hesketh
3ff33eadc9
Add Go/templ example link (#1521) 2023-06-30 11:24:53 -05:00
Alexander Petros
4a7e71d2bb
Switch CI to GitHub actions (#1515)
👑
2023-06-30 11:23:54 -05:00
Carson Gross
ca03dabed1 formatting 2023-06-26 17:23:48 -06:00
Carson Gross
983ca3288a formatting 2023-06-26 17:22:44 -06:00
Carson Gross
cf5ecb9f85 formatting 2023-06-26 17:22:08 -06:00
Carson Gross
be8c501458 space better 2023-06-26 17:21:24 -06:00
Carson Gross
19e8dec871 hyperscript powered copy buttons let's GO 2023-06-26 17:19:17 -06:00
Carson Gross
c9b0444b54 hyperscript powered copy buttons let's GO 2023-06-26 09:34:54 -06:00
Carson Gross
393b0bb70c format 2023-06-26 08:53:24 -06:00
Carson Gross
84b25cd31c fix date 2023-06-26 08:48:40 -06:00
Carson Gross
ed92178e6d Merge remote-tracking branch 'origin/master' 2023-06-26 08:45:32 -06:00
Carson Gross
decaecb0cc rest copypasta 2023-06-26 08:45:24 -06:00
Vincent
714adc46e3
Encode as URL params for DELETE requests, instead of using body (#1513) 2023-06-24 14:27:13 -06:00
srcerer
336088a8b5
Update podcasts.csv (#1486) 2023-06-24 14:23:05 -06:00
Alexander Petros
d3788776d6
Fix clearWorkArea test util function (#1507)
Update the clearWorkArea function so that it doesn't error if there was
never a work area set up to begin with. This was causing the `npm test`
target to end with an error code.

The package-lock.json update happens on a fresh install with node 15, so
I'm including it here to make sure that the tests passing is
reproducible. I also updated the package.json file to warn you if you're
not running node 15.
2023-06-24 14:22:22 -06:00
Alexander Petros
fe4a803e2e
Add logNone function and apply it to tests (#1504)
New function to turn off the logger after using `logAll()`. I applied to
this to the tests as well so that `logAll()` is only used in the specfic
places where debug output is required. This makes the console output of
the tests dramatically more useful when run from the command line.
2023-06-24 14:21:55 -06:00
Ben Pate
081aaf3cca
Merge pull request #1493 from checketts/preload-source
Preload extension: Include preloaded node as 'source' for preload so hx-sync/queue works properly
2023-06-20 10:18:09 -06:00
Clint Checketts
f39c0be9b6 Include node as 'source' for preload so hx-sync/queue works properly 2023-06-19 10:58:21 -06:00
Vincent
dd53ca0a75
Doc - make it clear that closest can return the element itself #1487 (#1488) 2023-06-15 11:48:32 -06:00
Carson Gross
b4a61c543b Merge remote-tracking branch 'origin/master' 2023-06-13 12:34:46 -06:00
Carson Gross
6e1ed4a162 essay 2023-06-13 12:34:36 -06:00
Alexander Petros
adef1166e2
Add support for hx-on:* attribute (#1489)
* Add support for hx-on:* attribute

* Use shorter XPath selector

* Add support for "hx-on::" shorthand

* Add note about mixing the two forms of `hx-on`
2023-06-13 09:23:16 -06:00
Denis Palashevskii
108d2b458a
Fix WebSocket extension trigger handlers initialization (#1468)
* fix websockets initialization to accomodate "haked hx-trigger"

* update changelog
2023-06-07 15:04:40 -06:00
Vincent
81ead8e39a
Fix inverted elt / target for sse selectAndSwap (#1483) 2023-06-07 15:04:06 -06:00
Garry Pshonik
34612f0d0c
Fix relative link to hypermedia-friendly-scripting essay (#1457) 2023-06-07 15:03:08 -06:00
Tadej Stanic
19f8ee9b20
fix type in sse event (#1463) 2023-06-07 15:01:47 -06:00
Elliott Brown
ec90998e77
Fix link (#1466) 2023-06-07 15:01:23 -06:00
Denis Palashevskii
4d84af4a58
fix typo in scripting example (#1470)
Replace htmx:beforeRequest with htmx:configRequest
2023-06-07 15:00:56 -06:00
Denis Palashevskii
c8568ea774
fix a bug with afterSettle event raised just once after multiple OOB swaps (#1474) 2023-06-07 15:00:25 -06:00
Alexander Petros
be1cb533ed
Include note about 204 in hx-delete docs and examples (#1475) 2023-06-07 14:58:32 -06:00
Carson Gross
59242a5f28 accelerator announcement, link HOWL essay 2023-06-07 06:58:49 -06:00
Carson Gross
352caec9e4 Merge remote-tracking branch 'origin/master' 2023-06-07 05:18:49 -06:00
Carson Gross
6bc2e17f3b change language to "RESTless" 2023-06-07 05:18:42 -06:00
Carson Gross
ae19c18b20 Merge branch 'master' into dev
# Conflicts:
#	www/content/essays/hypermedia-on-whatever-youd-like.md
#	www/themes/htmx-theme/static/css/site.css
2023-06-03 14:20:16 -06:00