1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-29 01:44:23 +02:00
Commit Graph

585 Commits

Author SHA1 Message Date
Tim Voronov
67dc8703c7
Added HTTP methods (#452)
* Added HTTP methods

* Added unit tests

* Fixed linting issue

* Replaced localhost with 127.0.0.1

* Added random port generator

* Disabled http tests

* Disabled HTTP GET test
2020-02-21 11:06:45 -05:00
Tim Voronov
c49045ef56
Update stale.yml 2020-02-17 14:39:44 -05:00
Tim Voronov
3c6494a3bf
Update stale.yml 2020-02-17 13:30:42 -05:00
Tim Voronov
c0c5598325
Update stale.yml 2020-02-17 13:13:32 -05:00
dependabot-preview[bot]
1740889fbc
Bump github.com/rs/zerolog from 1.17.2 to 1.18.0 (#451)
* Bump github.com/rs/zerolog from 1.17.2 to 1.18.0

Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.17.2 to 1.18.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.17.2...v1.18.0)

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

* Update go.sum

Co-authored-by: Tim Voronov <ziflex@users.noreply.github.com>
2020-02-12 11:21:44 -05:00
Tim Voronov
fd6271b7db
Feature/#382 response cdp (#450)
* wip

* Added support of response information to CDP driver

* Fixed response look up
2020-02-11 20:06:04 -05:00
John Bampton
568c48ea71
Fix typos (#446) 2020-02-01 23:44:31 -05:00
Tim Voronov
453ba932eb
Replaced Document with Page HTLM struct in Pagination helper function (#448) 2020-02-01 23:43:30 -05:00
dependabot-preview[bot]
89320eef66 Bump github.com/antchfx/htmlquery from 1.2.1 to 1.2.2 (#440)
* Bump github.com/antchfx/htmlquery from 1.2.1 to 1.2.2

Bumps [github.com/antchfx/htmlquery](https://github.com/antchfx/htmlquery) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/antchfx/htmlquery/releases)
- [Commits](https://github.com/antchfx/htmlquery/compare/v1.2.1...v1.2.2)

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

* Update go.sum

Co-authored-by: Tim Voronov <ziflex@users.noreply.github.com>
2020-01-15 22:04:56 -05:00
dependabot-preview[bot]
5d780f7d3e Bump github.com/pkg/errors from 0.8.1 to 0.9.1 (#441)
* Bump github.com/pkg/errors from 0.8.1 to 0.9.1

Bumps [github.com/pkg/errors](https://github.com/pkg/errors) from 0.8.1 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases)
- [Commits](https://github.com/pkg/errors/compare/v0.8.1...v0.9.1)

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

* Update go.sum

Co-authored-by: Tim Voronov <ziflex@users.noreply.github.com>
2020-01-15 22:04:08 -05:00
Tim Voronov
740142a4e4 Updated modules 2020-01-12 01:01:37 -05:00
Tim Voronov
e8cc8ac1e7 Updated go modules 2020-01-11 18:15:00 -05:00
dependabot-preview[bot]
af426cc13d Bump github.com/labstack/echo/v4 from 4.1.11 to 4.1.13 (#438)
* Bump github.com/labstack/echo/v4 from 4.1.11 to 4.1.13

Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.1.11 to 4.1.13.
- [Release notes](https://github.com/labstack/echo/releases)
- [Commits](https://github.com/labstack/echo/compare/v4.1.11...v4.1.13)

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

* Update go.sum

Co-authored-by: Tim Voronov <ziflex@users.noreply.github.com>
2020-01-04 13:02:16 -05:00
dependabot-preview[bot]
165d5208a9 Bump github.com/antchfx/xpath from 1.1.2 to 1.1.3 (#436)
* Bump github.com/antchfx/xpath from 1.1.2 to 1.1.3

Bumps [github.com/antchfx/xpath](https://github.com/antchfx/xpath) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/antchfx/xpath/releases)
- [Commits](https://github.com/antchfx/xpath/compare/v1.1.2...v1.1.3)

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

* Update go.sum

Co-authored-by: Tim Voronov <ziflex@users.noreply.github.com>
2020-01-04 12:59:46 -05:00
dependabot-preview[bot]
7254d47739 Bump github.com/antchfx/htmlquery from 1.2.0 to 1.2.1 (#433)
* Bump github.com/antchfx/htmlquery from 1.2.0 to 1.2.1

Bumps [github.com/antchfx/htmlquery](https://github.com/antchfx/htmlquery) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/antchfx/htmlquery/releases)
- [Commits](https://github.com/antchfx/htmlquery/compare/v1.2.0...v1.2.1)

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

* Update go.sum

Co-authored-by: Tim Voronov <ziflex@users.noreply.github.com>
2020-01-04 12:58:22 -05:00
Tim Voronov
4af0e0f15f
Added possibility to load pages from memory (#434)
* Added possibility to load pages from memory

* Fixed indent
2020-01-04 12:57:41 -05:00
Tim Voronov
145a16f97d
Bugfix/#421 xpath (#435)
* Fixed attr retrieval using XPATH in CDP

* Updated single node value in CDP

* Added e2e test

* Fixed attr retrieval with XPATH for HTTP driver

* Update Makefile

* Update attr.fql
2019-12-29 12:46:46 -05:00
Tim Voronov
2dd5457f8c Updated redirects.fql 2019-12-24 18:51:59 -05:00
Tim Voronov
fe7b45df6e
Bugfix/#399 navigation (#432)
* Refactored networking

* Some work

* Added event loop

* Renamed EventHandler to Handler

* wip

* Removed console logs

* Added DOMManager

* Refactored frame managment

* Fixes

* Fixed concurrency issues

* Fixed unit tests

* Improved EventLoop api

* Some fixes

* Refactored event loop.

* Improved logic of initial page load

* Cleaned up

* Fixed linting issues

* Fixed dom.Manager.Close

* SOme works

* Fixes

* Removed fmt.Println statements

* Refactored WaitForNavigation

* Removed filter for e2e tests

* Made Cookies Measurable

* Made Cookies KeyedCollection

* Fixes after code review

* Updated e2e tests for iframes

* Fixed iframe lookup in e2e tests

* Added comments
2019-12-24 18:47:21 -05:00
Tim Voronov
98b367722b
Migrated to new version of mafredri/cdp (#431)
* Migrated to new version of mafredri/cdp

* Added missed test deps

* Added missed e2e deps
2019-12-18 10:30:02 -05:00
dependabot-preview[bot]
aa81df38d4 Bump github.com/antchfx/xpath from 1.1.1 to 1.1.2 (#418)
* Bump github.com/antchfx/xpath from 1.1.1 to 1.1.2

Bumps [github.com/antchfx/xpath](https://github.com/antchfx/xpath) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/antchfx/xpath/releases)
- [Commits](https://github.com/antchfx/xpath/compare/v1.1.1...v1.1.2)

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

* Update go.sum
2019-11-22 08:36:58 -06:00
dependabot-preview[bot]
f31fc48084 Bump github.com/rs/zerolog from 1.16.0 to 1.17.2 (#417)
* Bump github.com/rs/zerolog from 1.16.0 to 1.17.2

Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.16.0 to 1.17.2.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.16.0...v1.17.2)

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

* Update go.sum
2019-11-19 15:18:26 -06:00
Tim Voronov
7113e0242e
Merge pull request #416 from MontFerret/bugfix/#410-var-check
Added var uniqueness check
2019-11-15 08:52:36 -06:00
Tim Voronov
d4a92fc64b Added var uniqueness check 2019-11-14 22:10:55 -05:00
Tim Voronov
8ee36b78d5
Merge pull request #414 from MontFerret/dependabot/go_modules/github.com/antchfx/htmlquery-1.2.0
Bump github.com/antchfx/htmlquery from 1.1.0 to 1.2.0
2019-11-14 17:54:17 -06:00
Tim Voronov
937141faba
Update go.sum 2019-11-14 15:15:40 -05:00
Tim Voronov
f2a5c7f1e1
Update go.mod 2019-11-14 15:15:13 -05:00
dependabot-preview[bot]
24f692bfaf
Bump github.com/antchfx/htmlquery from 1.1.0 to 1.2.0
Bumps [github.com/antchfx/htmlquery](https://github.com/antchfx/htmlquery) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/antchfx/htmlquery/releases)
- [Commits](https://github.com/antchfx/htmlquery/compare/1.1.0...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-12 14:32:13 +00:00
Tim Voronov
0ac0c3b818
Merge pull request #413 from MontFerret/dependabot/go_modules/github.com/antchfx/xpath-1.1.1
Bump github.com/antchfx/xpath from 1.1.0 to 1.1.1
2019-11-12 09:30:16 -05:00
Tim Voronov
f74c3deca4
Update go.sum 2019-11-12 09:30:00 -05:00
dependabot-preview[bot]
37130572df
Bump github.com/antchfx/xpath from 1.1.0 to 1.1.1
Bumps [github.com/antchfx/xpath](https://github.com/antchfx/xpath) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/antchfx/xpath/releases)
- [Commits](https://github.com/antchfx/xpath/compare/1.1.0...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 06:51:14 +00:00
Tim Voronov
f4c93dad12
Merge pull request #408 from gyy52380/master
Bugfix for changes in PR #402
2019-11-04 21:08:35 -05:00
Tim Voronov
bafccc856d
Merge pull request #409 from MontFerret/dependabot/go_modules/github.com/rs/zerolog-1.16.0
Bump github.com/rs/zerolog from 1.15.0 to 1.16.0
2019-10-29 10:49:26 -04:00
Tim Voronov
b9545e1879
Update go.sum 2019-10-29 10:49:03 -04:00
dependabot-preview[bot]
be412cacf8
Bump github.com/rs/zerolog from 1.15.0 to 1.16.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.15.0...v1.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-29 05:30:21 +00:00
Gabriel Marinkovic
7fb13e5851 bugfix: check for context expiration when all event clients block 2019-10-27 18:55:30 +01:00
Tim Voronov
874b743dfb
Merge pull request #407 from gyy52380/master
Event broker performance improvement
2019-10-23 18:44:01 -04:00
Gabriel Marinkovic
6b7dde2bbd performance: removed redundant WithTimeout context creation in emit() 2019-10-23 15:10:18 +02:00
Tim Voronov
b4aa641619
Merge pull request #406 from 3timeslazy/refactoring/add_NewPairValueType
add NewPairValueType
2019-10-21 13:57:29 -04:00
3timeslazy
ae94075a42 add NewPairValueType 2019-10-21 20:11:47 +03:00
Tim Voronov
ebe9748dd5
Merge pull request #405 from 3timeslazy/feature/#395_io_fs
add IO::FS:WRITE function
2019-10-21 12:56:44 -04:00
3timeslazy
86a143251b fix go vet 2019-10-21 19:27:20 +03:00
3timeslazy
474b340ad0 move parseWriteMode into parseParams 2019-10-21 19:02:44 +03:00
3timeslazy
2b3a82d720 fix parseWriteMode return 2019-10-21 18:35:35 +03:00
3timeslazy
892915c58d fix Write comment 2019-10-21 18:30:04 +03:00
3timeslazy
8171b6e1ed use tempFile at TestRead 2019-10-21 18:28:47 +03:00
3timeslazy
d1c5145a5b add IO::FS::WRITE function 2019-10-21 18:26:49 +03:00
Tim Voronov
eac746ab48
Merge pull request #403 from 3timeslazy/feature/#395_io_fs
add IO::FS functions
2019-10-20 15:14:20 -04:00
Tim Voronov
69fa8193d4
Merge pull request #402 from gyy52380/event-broker
Huge CDP event broker performance improvement
2019-10-20 15:08:13 -04:00
Tim Voronov
da9264aae3
Update go.sum 2019-10-20 15:06:14 -04:00