2407 Commits

Author SHA1 Message Date
Carson Gross
b26ca40b0c update sha 2023-08-24 12:38:46 -06:00
Carson Gross
b3a4a5fc1a prep 1.9.5 release 2023-08-24 12:38:20 -06:00
Carson Gross
86872b1091 Merge branch 'master' into dev 2023-08-24 12:16:49 -06:00
Carson Gross
a9ae4e3e96 Merge remote-tracking branch 'origin/dev' into dev 2023-08-24 12:16:35 -06:00
Alexander Petros
42646e3c13
Add "Why htmx Doesn't Have a Build Step" essay (#1705)
Add build step essay
2023-08-24 12:15:23 -06:00
Mark Gibson
94623d1129
Fix hx-on/hx-on:* to suppress evaluation if allowEval is false (#1682)
* Added more tests for allowEval=false

* Wrap hx-on event handlers in maybeEval

* Create and cache hx-on function on first event trigger.
2023-08-24 12:11:00 -06:00
Denis Palashevskii
212c9fbd3a
[websocket] pass hx-target id in the HEADERS (#1674)
Previously, ws.js used `ws-connect` element as target when collecting request headers.
Now it correctly takes `hx-target` attribute into account
2023-08-24 12:09:22 -06:00
Rattly
e07dcdf60a
Add Kotlin examples to server-examples (#1715)
Update server-examples.md
2023-08-24 08:34:26 -06:00
Carson Gross
63758d4523 restore last row in sponsors table 2023-08-19 09:01:06 -06:00
Carson Gross
30a6a40f4e fix star graph 2023-08-18 16:29:36 -06:00
Carson Gross
7247e8abd7 Merge branch 'master' into dev 2023-08-17 10:39:59 -06:00
Alexander Petros
93bd81b6d0
Track DOM content loaded for ready() function (#1688)
Track whether DOMContentLoaded has been fired
2023-08-16 16:42:09 -06:00
Carson Gross
193a9ea9d2 Merge remote-tracking branch 'origin/master' 2023-08-16 12:19:39 -06:00
Carson Gross
5947a5d353 fix title 2023-08-16 12:18:30 -06:00
Blake Williams
9ed1275ec3
Document hx-select-oob swap-strategy capabilities (#1694)
The `hx-select-oob` attribute supports specifying a swap strategy but
it's not publicly documented on the attribute page. This documents that
behavior so that it's easy to discover.
2023-08-15 17:29:22 -04:00
Carson Gross
47af93bdb0 fix url 2023-08-09 17:50:07 -06:00
Carson Gross
9e1dcd1483 Merge remote-tracking branch 'origin/master' 2023-08-09 17:49:32 -06:00
Carson Gross
3201dd66ce add nuclei, make table responsive 2023-08-09 17:49:19 -06:00
Alexander Petros
bfd7965dec
Disable logAll in headless mode (#1673)
Enabling logAll in just one test has the capacity to overwhelm the CI
with log output, so we disable it if the webdriver is automated.
2023-08-06 18:06:17 -06:00
Alexander Petros
c126d90588
Move load tests to the bottom of the core file (#1677)
This "resolves" a timing bug that was ocurring in the CI, where these
tests would run before htmx was loaded (only in the GitHub actions
servers). Not proud of this as a fix but I would like the CI to work
again ASAP.
2023-08-05 16:15:49 -06:00
Alexander Petros
347ce7a19f
Add interactive check to ready event handler (#1672)
If HTMX is imported in a module the readyState is "interactive"
so the extension processing happens too late. This would fix it.

Co-authored-by: Dave Syer <david_syer@hotmail.com>
2023-08-04 17:10:26 -06:00
Carson Gross
295d9f83eb remove a logAll() 2023-08-04 17:05:42 -06:00
Carson Gross
14e2a8c611 Merge remote-tracking branch 'origin/dev' into dev 2023-08-04 14:59:19 -06:00
Carson Gross
1acbbe5057 add test to ensure I don't screw up the sameHost value 2023-08-04 14:59:10 -06:00
Alexander Petros
fc4723c95f
Remove logAll from tests (#1657) 2023-08-01 18:04:44 -05:00
spiffytech
66387c0422
Support hx-target-5xx syntax in response-targets extension (#1629) 2023-08-01 16:13:07 -04:00
Dominik Kozaczko
193cb67393
Cleaner Bootstrap 5 modals example. (#1111)
* Cleaner Bootstrap 5 example.

* Update window id

* Update close button

* Got it working
2023-08-01 14:41:17 -05:00
Vincent
efb42e09cf
[Performance] Fast path to resolve body selector (#1545)
Fast path to resolve body selector
2023-08-01 14:35:25 -05:00
Adam McKay
67b8e1edfa
Update same site security to use origin (#1656)
Update same site security check to compare origin

thank you!
2023-08-01 14:30:36 -05:00
Alexander Petros
7ce53d4ce8
Tighten up hx-on docs (#1648)
Make the docs a little bit shorter so that the old form is still
documented without repeating information (and the new form is
emphasized). I also fixed a misplaced double quote in one of the
examples.
2023-08-01 14:28:29 -05:00
Alexander Petros
6fddb9b8bb
Add date and author to essay template (#1654)
Update the static site generator to include the date and author
automatically as part of the essays. I made a couple changes to the
underlying static structure to make this a little more seamless,
including:

* New "essay.html" template for posts in `/essays`
* Added an author taxonomy (can eventually be author pages)
* Added Carson as the author of all the existing esssays
* Cleaned up manual date entires, where they existed

All this will make it easier to publish guest essays and sort the essays
(chronologically, by topic, or by author) as the essay base expands.
2023-08-01 14:26:32 -05:00
Carson Gross
36e6a426f9 security improvement
- add the `htmx.config.allowScriptTags` option
2023-07-31 12:12:44 -06:00
Carson Gross
19cb15caef security improvements
- add the `htmx.config.selfRequestsOnly` option
- add the `htmx:validateUrl` event
- better security documentation (incomplete, need to finish CORS)
2023-07-31 11:31:42 -06:00
srcerer
2eaa902310
Update podcasts.csv (#1530)
* Update podcasts.csv

fix spelling of 21st
fix case of devMode.fm to match show notes

* Update podcasts.csv

Add podcasts not found on LinkedIn

* Update podcasts.csv

Add latest appearance

* Update podcasts.csv

Add Hype for Hyperscript

* Update podcasts.csv

grug make successful rick roll

* Update podcasts.csv

fix timestamp for GitHub chopping off beginning of video

* Update podcasts.csv

Unfiltered
airport shenanigans
2023-07-30 12:59:50 -04:00
dependabot[bot]
f22dab29e6
Bump github.com/labstack/echo/v4 from 4.3.0 to 4.9.0 in /www/static/test/1.9.4/test/servers/ws (#1646)
Bump github.com/labstack/echo/v4

Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.3.0 to 4.9.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.3.0...v4.9.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-30 12:35:07 -04:00
dependabot[bot]
d30bca70bb
Bump golang.org/x/crypto from 0.0.0-20210817164053-32db794688a5 to 0.1.0 in /www/static/test/1.9.4/test/realtime (#1643)
Bump golang.org/x/crypto in /www/static/test/1.9.4/test/realtime

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210817164053-32db794688a5 to 0.1.0.
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-30 12:18:40 -04:00
dependabot[bot]
17781b8aed
Bump golang.org/x/net from 0.0.0-20211015210444-4f30a5c0130f to 0.7.0 in /www/static/test/1.9.4/test/realtime (#1642)
Bump golang.org/x/net in /www/static/test/1.9.4/test/realtime

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20211015210444-4f30a5c0130f to 0.7.0.
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-29 17:05:20 -04:00
wavpro
1c50655b38
Fixed typo in websockets documentation (#1628) 2023-07-29 17:04:43 -04:00
dependabot[bot]
2dcaf2ece5
Bump golang.org/x/net from 0.0.0-20210405180319-a5a99cb37ef4 to 0.7.0 in /www/static/test/1.9.4/test/servers/ws (#1633)
Bump golang.org/x/net in /www/static/test/1.9.4/test/servers/ws

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210405180319-a5a99cb37ef4 to 0.7.0.
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-29 17:03:03 -04:00
dependabot[bot]
3441df2de8
Bump golang.org/x/crypto from 0.0.0-20210322153248-0c34fe9e7dc2 to 0.1.0 in /www/static/test/1.9.4/test/servers/ws (#1632)
Bump golang.org/x/crypto in /www/static/test/1.9.4/test/servers/ws

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210322153248-0c34fe9e7dc2 to 0.1.0.
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-29 17:01:15 -04:00
Carson Gross
61945431aa changelog for release v1.9.4 2023-07-25 14:03:41 -06:00
Carson Gross
f3a6975b8e prep 1.9.4 release 2023-07-25 13:39:48 -06:00
Carson Gross
4cb85e9856 Merge remote-tracking branch 'origin/dev' into dev 2023-07-25 12:56:19 -06:00
Vincent
88a57cbc39
[Bugfix] Fix submit buttons/inputs handling (#1559)
* Fix submit buttons/inputs handling

* Removed useless concatenation

* Don't initNode links and forms that shouldn't be initialized

* Removed selectors filtering to alleviate PR

* Add @1cg 's addValueToValues function to factor code

* Use formValues variable for clicked button's value including
2023-07-25 12:55:22 -06:00
Vincent
6d1adc853f
[Bugfix] Fix hx-trigger changed modifier along from clause (#1571)
Fix hx-trigger changed modifier along from clause #1565
2023-07-22 08:39:28 -06:00
Vincent
a29403f4b7
[Bugfix] Fix references to element.id (#1563)
Fix references to element.id
2023-07-22 08:37:42 -06:00
Oliver Djursing
c59fe799e8
Update hx-trigger throttle documentation (#1609) 2023-07-20 14:29:13 -04:00
Alexander Petros
131c025143
Update contribution guidelines (#1614) 2023-07-20 10:32:05 -04:00
Oliver Djursing
4645ab0920
Add background-color to body element (#1607) 2023-07-19 10:42:20 -04:00
Elnu
65bd1e15b2
Fix hx-on:* examples to use kebab-case event names, add clarification (#1611) 2023-07-18 18:41:52 -04:00