1135 Commits

Author SHA1 Message Date
carson
214a7e9f19 Merge branch 'dev' into feature_fix_event_dispatch_when_elt_removed_from_dom 2021-05-11 13:22:35 -06:00
carson
5da09c188a add atom feed link + header link 2021-05-11 13:20:06 -06:00
carson
4084e65229 Merge branch 'dev' into feature_fix_event_dispatch_when_elt_removed_from_dom 2021-05-10 15:51:10 -06:00
carson
438dae7408 add rss feed, fixes https://github.com/bigskysoftware/htmx/issues/477 2021-05-10 10:14:32 -06:00
carson
f97f825052 fix prompt issue
gen 1.4 test suite
2021-05-10 10:03:53 -06:00
carson
f375edc2f0 Merge branch 'master' into dev 2021-05-10 09:57:01 -06:00
1cg
477829d3e5
Merge pull request #443 from angusholder/patch-1
Fix the <title> of markdown docs
2021-05-10 09:52:59 -06:00
1cg
5f842f94e3
Merge pull request #448 from ribeiropaulor/patch-1
Update hx-swap.md to include the 'none' option
2021-05-10 09:49:58 -06:00
1cg
728f48763c
Merge pull request #455 from mvaled/ignore-metaKey-for-cmd-click
Ignore meta key for boosted links.

looks good, thank you
2021-05-10 09:49:35 -06:00
carson
9f04b85a9f tests for hx-trigger delay and throttle modifiers 2021-05-10 09:46:40 -06:00
carson
13acf899d7 Merge branch 'master' into dev 2021-05-10 09:37:25 -06:00
1cg
104c297313
Merge pull request #458 from oboxodo/patch-1
Fix throttling to avoid delaying
2021-05-10 09:36:43 -06:00
carson
9af253f286 first pass (needs 1 billion tests) 2021-05-10 09:36:30 -06:00
1cg
438273e3d0
Merge pull request #462 from edelvalle/master
Fix swap error when using hx-boost or swapping the body tag
2021-05-10 09:34:35 -06:00
1cg
c0922c0728
Merge pull request #465 from guettli/patch-8
advertise sponsoring.
2021-05-10 09:18:46 -06:00
1cg
6ee8e4bfd3
Merge pull request #481 from bigskysoftware/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-10 09:17:49 -06:00
1cg
203ef532fa
Merge pull request #482 from bigskysoftware/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-10 09:17:40 -06:00
1cg
4de284c75d
Merge pull request #476 from landlockedsurfer/master
add withCredentials config option

thank you, great change!
2021-05-10 09:17:28 -06:00
dependabot[bot]
2ffb3e081f
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 15:17:27 +00:00
dependabot[bot]
0483d96a08
Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 15:17:20 +00:00
1cg
7453663e4c
Merge pull request #479 from bigskysoftware/dependabot/npm_and_yarn/ua-parser-js-0.7.28
Bump ua-parser-js from 0.7.23 to 0.7.28
2021-05-10 09:15:43 -06:00
1cg
ec40952d46
Merge pull request #480 from bigskysoftware/dependabot/npm_and_yarn/handlebars-4.7.7
Bump handlebars from 4.7.6 to 4.7.7
2021-05-10 09:15:28 -06:00
dependabot[bot]
af1004c8f6
Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 22:24:19 +00:00
dependabot[bot]
0f554b520c
Bump ua-parser-js from 0.7.23 to 0.7.28
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.23 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.23...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:18:36 +00:00
Landlocked Surfer
f7a48f5a32 add withCredentials config option 2021-05-05 21:26:39 +02:00
Thomas Güttler
5f6fd27335
advertise sponsoring. 2021-04-27 13:40:54 +02:00
Eddy Ernesto del Valle Pino
6238e6caa0
Fix swap error when using hx-boost or swapping the body tag
When hx-boost is swapping the body, in some cases it fails with:

```
htmx:swapError
TypeError: Cannot read property 'tasks' of undefined
    at htmx-1.3.3.js:526
    at forEach (htmx-1.3.3.js:222)
    at handleAttributes (htmx-1.3.3.js:520)
    at insertNodesBefore (htmx-1.3.3.js:552)
    at swapInnerHTML (htmx-1.3.3.js:624)
    at swapOuterHTML (htmx-1.3.3.js:584)
    at swap (htmx-1.3.3.js:652)
    at selectAndSwap (htmx-1.3.3.js:715)
    at doSwap (htmx-1.3.3.js:2284)
    at handleAjaxResponse (htmx-1.3.3.js:2358)
```

because `swapOuterHTML` is not passing `settleInfo` to `swapInnerHTML`
2021-04-23 21:31:53 +02:00
Diego Algorta
81dc9cf27c
Fix throttling to avoid delaying
This changes throttling so it doesn't wait to be fired when the event happens, _unless_ it has already been fired and a timeout is waiting to be executed to clean itself.

Please note this is a bit of a shoot in the dark as I'm editing this directly in GitHub and haven't tested it, and of course I'm not adding/fixing any automated tests. So it's just an idea. :P
2021-04-20 00:37:45 -03:00
Manuel Vázquez Acosta
0335c4e657
Ignore metaKey for boosted links.
metaKey is the Cmd key in MacOS, which is used for the same purpose of opening
a link in another tab.

So it should be also used to ignore clicks on boosted links.
2021-04-19 09:12:25 +02:00
Paulo Roberto Ribeiro
9b31b628bb
Update hx-swap.md to include the 'none' option 2021-04-17 10:08:52 -03:00
1cg
5f72dfead6
Update docs.md 2021-04-16 09:50:18 -06:00
Angus Holder
b146120c20
Fix the <title> of markdown docs
I noticed all the markdown doc files declare their own page title, but on the live website all have the same title of "</> htmx - high power tools for html". It appears the title var wasn't getting used in the base layout template
2021-04-14 02:29:39 +01:00
carson
fa5dcbdc97 Merge branch 'master' into dev 2021-04-13 18:22:31 -06:00
carson
bb924813dd Merge remote-tracking branch 'origin/master' 2021-04-13 15:43:13 -06:00
carson
5e3962f833 ignore ajax requests going to algolia so search works on demo pages 2021-04-13 15:42:58 -06:00
carson
665fc4bda7 handle bad safari behavior w/ respect to text selection API
fixes https://github.com/bigskysoftware/htmx/issues/438

thank you @pavelfeldman for finding the root cause!
2021-04-13 15:36:37 -06:00
Ben Croker
2b46c49479
Fixed version number in SRI 2021-04-06 09:19:01 +02:00
carson
6f8899f6fd update sha v1.3.3 2021-04-05 07:47:12 -06:00
carson
0c0f913b7c Merge remote-tracking branch 'origin/dev' into dev 2021-04-05 07:45:58 -06:00
carson
25b5aa337f release prep 2021-04-05 07:45:51 -06:00
Ben Croker
35eca4eb59
Improved security section
Clarified how a CSP may not be enough to secure user content and why `hx-disable` is relevant.
2021-04-05 09:41:27 +02:00
carson
b44569a9db docs 2021-04-04 12:05:33 -06:00
carson
91d677e60d change to hx-disable 2021-04-04 10:08:28 -06:00
carson
44e81f27b0 docs 2021-04-04 04:10:27 -06:00
carson
0488f233ae bump version + disable-htmx security feature 2021-04-04 04:03:52 -06:00
carson
0bcfd0ace8 next release 2021-03-26 14:27:15 -06:00
carson
49b517e1c1 Merge remote-tracking branch 'origin/master' 2021-03-26 14:25:28 -06:00
carson
017b411c0e release prep v1.3.2 2021-03-26 14:24:19 -06:00
carson
068d834283 release prep 2021-03-25 12:45:20 -06:00
carson
1fca7dbb70 dispatch events by HX-Trigger-After-* on body if the element is no long in the DOM
fixes https://github.com/bigskysoftware/htmx/issues/418
2021-03-25 12:42:33 -06:00