1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-04 10:35:08 +02:00
Commit Graph

811 Commits

Author SHA1 Message Date
dependabot[bot]
767fb7f1b6
Bump github.com/rs/zerolog from 1.26.0 to 1.26.1 (#713)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.26.0...v1.26.1)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-22 20:08:44 -05:00
dependabot[bot]
f34f319a97
Bump github.com/jarcoal/httpmock from 1.0.8 to 1.1.0 (#714)
Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock) from 1.0.8 to 1.1.0.
- [Release notes](https://github.com/jarcoal/httpmock/releases)
- [Commits](https://github.com/jarcoal/httpmock/compare/v1.0.8...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/jarcoal/httpmock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-22 20:08:23 -05:00
Tim Voronov
9ae50eaaa8
Chore/deps (#711)
* Cleaned up go.sum

* Updated go.mod
2021-12-13 09:52:26 -05:00
Tim Voronov
993a7efa05
Cleaned up go.sum (#710) 2021-12-13 09:05:56 -05:00
Roman
27950e5e35
feat(http): change method add headers to set headers (#707) 2021-12-10 17:50:39 -05:00
Roman
5981260c56
Http driver (#709)
* feat(http): change method add headers to set headers

* feat(options): add default timeout adn user options

* feat(options): set default timeout

* feat(http): change init options adn remove trash code
2021-12-10 17:50:30 -05:00
Tim Voronov
265a40c92a
Fixed inability to use dynamic values in LIMIT clause (#706) 2021-12-09 10:26:02 -05:00
Tim Voronov
07e33580c6
Fixed precedence of logical operators (#704) 2021-12-09 00:12:02 -05:00
Tim Voronov
f7f17ea5b4
Feature/network events (#688)
* Added new network events

* Refactored runtime Event streaming

* Added support of using keywords as variables

* Added support of body property in response event

* Added example of subscription to network response

* Added example of subscription to network requests

* Fixed infinite loop bug

* Updated Google example

* Updated unit tests

* Reenamed Event to Message

* Fixed navvigation filtering by frame
2021-11-22 14:36:28 -05:00
dependabot[bot]
b45cc529fb
Bump github.com/rs/zerolog from 1.25.0 to 1.26.0 (#693) 2021-11-06 11:25:10 -04:00
dependabot[bot]
48aa00d9b4
Bump github.com/wI2L/jettison from 0.7.2 to 0.7.3 (#694)
Bumps [github.com/wI2L/jettison](https://github.com/wI2L/jettison) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/wI2L/jettison/releases)
- [Changelog](https://github.com/wI2L/jettison/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wI2L/jettison/compare/v0.7.2...v0.7.3)

---
updated-dependencies:
- dependency-name: github.com/wI2L/jettison
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 00:12:00 -04:00
dependabot[bot]
96a9446689
Bump github.com/smartystreets/goconvey from 1.6.7 to 1.7.2 (#691)
Bumps [github.com/smartystreets/goconvey](https://github.com/smartystreets/goconvey) from 1.6.7 to 1.7.2.
- [Release notes](https://github.com/smartystreets/goconvey/releases)
- [Commits](https://github.com/smartystreets/goconvey/compare/v1.6.7...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/smartystreets/goconvey
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-28 14:30:25 -04:00
dependabot[bot]
a44608fd89
Bump github.com/PuerkitoBio/goquery from 1.7.1 to 1.8.0 (#689)
Bumps [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/PuerkitoBio/goquery/releases)
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.7.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-27 10:47:47 -04:00
Tim Voronov
06b17394ed Simplified event.Loop API 2021-10-23 21:16:50 -04:00
dependabot[bot]
7384d3466d
Bump github.com/smartystreets/goconvey from 1.6.6 to 1.6.7 (#687)
Bumps [github.com/smartystreets/goconvey](https://github.com/smartystreets/goconvey) from 1.6.6 to 1.6.7.
- [Release notes](https://github.com/smartystreets/goconvey/releases)
- [Commits](https://github.com/smartystreets/goconvey/compare/v1.6.6...v1.6.7)

---
updated-dependencies:
- dependency-name: github.com/smartystreets/goconvey
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 23:54:38 -04:00
Tim Voronov
a17a0a1819
Added support of FILTER clause in WAITFOR EVENT expression (#685)
* Added support of FILTER clause in WAITFOR EVENT expression

* Fixed exampl query

* Fixed inability of using keywords as an object property
2021-10-22 23:54:11 -04:00
Tim Voronov
982a7da618
Updated profiler (#686) 2021-10-20 11:13:56 -04:00
Tim Voronov
a049f30214
Fixed parsing escaped new line character (#677) 2021-10-17 23:11:27 -04:00
Tim Voronov
bd6463fa29
Bench (#683)
* Extended public API

* Refactored event loop

* Refactored parser

* Fixed unit tests

* Added --dry-run opt

* Added total alloc

* Added profiler

* Fixed driver registration
2021-10-16 17:24:54 -04:00
dependabot[bot]
77569f3ced
Bump github.com/smartystreets/goconvey from 1.6.4 to 1.6.6 (#680) 2021-10-14 00:09:58 -04:00
Loïc Lengrand
975869efc3
Create CODE_OF_CONDUCT.md (#679) 2021-10-10 10:16:33 -04:00
Tim Voronov
0932f6acfc
Update CHANGELOG.md 2021-09-23 23:23:27 -04:00
dependabot[bot]
90592107fa
Bump github.com/antchfx/htmlquery from 1.2.3 to 1.2.4 (#674)
Bumps [github.com/antchfx/htmlquery](https://github.com/antchfx/htmlquery) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/antchfx/htmlquery/releases)
- [Commits](https://github.com/antchfx/htmlquery/compare/v1.2.3...v1.2.4)

---
updated-dependencies:
- dependency-name: github.com/antchfx/htmlquery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 22:42:58 -04:00
Tim Voronov
b3c19bff82
Feature/variables optimization (#673)
* Added optimization to FOR loops by disabling allocation if RETURN statement returns NONE

* Added support of ignoring expression results in variable declaration using '_' as a variable name
2021-09-20 12:01:47 -04:00
Tim Voronov
0c4a18cb76 Added example of handling lazy loading lists 2021-09-20 01:59:50 -04:00
Tim Voronov
2f399c669e
Added support of error supression to inline expressions (#671)
* Added support of error supression to inline expressions
2021-09-20 00:53:00 -04:00
dependabot[bot]
658e929c5a
Bump github.com/stretchr/testify from 1.5.1 to 1.7.0 (#650)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-19 23:33:55 -04:00
dependabot[bot]
72821e5bd4
Bump github.com/rs/zerolog from 1.24.0 to 1.25.0 (#655)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-19 20:35:47 -04:00
Tim Voronov
cf7763e2ff
Added a new example (#660) 2021-09-19 20:25:22 -04:00
Tim Voronov
847dda1f10
Feature/pre compiled eval scripts (#658)
* Added support of pre-compiled eval expressions

* Added unit tests for eval.Function

* Added RemoteType and RemoteObjectType enums

* Refactored function generation

* Refactored Document and Element loading logic

* Removed redundant fields from cdp.Page

* Exposed eval.Runtime to external callers

* Added new eval.RemoteValue interface
2021-09-19 19:35:54 -04:00
Tim Voronov
90427cd537
Feature/new selector type (#657)
* Added remote type reference resolver

* Added support of XPath query selector

* Added CDP e2e testss covering XPath integration

* Added additional CDP e2e tests covering XPath integration

* Added type check to QuerySelector casting function

* Fixed XPath e2e tests

* Fixed vuln issue

* Added support of XPath selectors to http driver

* Added e2e tests for XPAth
2021-09-16 21:40:20 -04:00
Tim Voronov
a000302259 Merge branch 'master' of github.com:MontFerret/ferret 2021-09-08 21:01:43 -04:00
Tim Voronov
8f2957e6ca
Feature/optimized member expression (#653)
* Added new member path resolution logic

* Updated Getter and Setter interfaces

* Added ssupport of pre-compiled static member path

* Improved error handling
2021-09-08 21:01:22 -04:00
Tim Voronov
de128894f6 Updated benchmark 2021-09-08 16:27:39 -04:00
Tim Voronov
e4e98830a0
Feature/eval template (#651)
* Refactored use of eval

* Disable unstable unit test
2021-09-07 16:33:30 -04:00
Tim Voronov
5f361e9e1b
Added support of optional ignoring of errors to function calls (#652)
* Added support of optional ignoring of errors to function calls

* Added support of handling of source failure to optional chaining

* Updated unit tests
2021-09-06 22:21:20 -04:00
Tim Voronov
0cb7623a7f Dropped support of Go 1.13 2021-09-02 22:43:59 -04:00
Tim Voronov
86d5e454e1 Merge branch 'master' of github.com:MontFerret/ferret 2021-09-02 11:11:22 -04:00
Tim Voronov
e6dd5689b4
Bugfix/e2e tests (#648)
* Fixed logger level

* Fixed WAITFOR EVENT parser

* Added tracing to Network Manager

* Updated logging

* Swtitched to value type of logger

* Added tracing

* Increased websocket maximum buffer size

* Ignore unimportant error message

* Added support of new CDP API for layouts

* Switched to value type of logger

* Added log level

* Fixed early context cancellation

* Updated example of 'click' action

* Switched to val for elements lookup

* Fixed unit tests

* Refactored 'eval' module

* Fixed SetStyle eval expression

* Fixed style deletion

* Updated logic of setting multiple styles
2021-09-02 11:09:48 -04:00
Tim Voronov
aeb1247ab3 Fixed logger level 2021-08-02 16:12:40 -04:00
Tim Voronov
25c97b86b8
Bugfix/#638 http driver multiple requsets (#642)
* Set DefaultConcurrency to 1

* Added unit test
2021-08-01 15:00:20 -04:00
ConaGo
bc5dd5feed
Tests variable (#641)
* added tests for runtime/expressions/variable
2021-07-28 10:47:23 -04:00
Tim Voronov
7faa69fc86
Fixed query 2021-07-27 16:23:35 -04:00
Tim Voronov
37f33eef01 E2E: Upgraded Chromium to 92.0.4512.0 2021-07-27 10:29:07 -04:00
dependabot[bot]
32b27f6a0b
Bump github.com/mafredri/cdp from 0.31.0 to 0.32.0 (#639)
Bumps [github.com/mafredri/cdp](https://github.com/mafredri/cdp) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/mafredri/cdp/releases)
- [Commits](https://github.com/mafredri/cdp/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: github.com/mafredri/cdp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 20:33:20 -04:00
Tim Voronov
53bcfc92d4
Fixed use of deprecated CDP API methods (#637) 2021-07-16 23:45:18 -04:00
Tim Voronov
1d64cb5da7
Fixed nil pointer exception (#636) 2021-07-16 23:45:06 -04:00
Roman
62a0665a99
Fix cpu leakage (#635) 2021-07-16 17:58:11 -04:00
Tim Voronov
1d0617eb3b
Added support of optional chaining (#634) 2021-07-16 14:46:08 -04:00
Tim Voronov
742bdae0ae
Feature/#263 waitfor event (#590)
* Added new WAITFOR syntax

* Added support of event options

* Added support of options

* Added support of using WAITFOR EVENT in variable assignment
2021-07-13 21:34:22 -04:00