1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-12 11:15:14 +02:00
Commit Graph

194 Commits

Author SHA1 Message Date
Tim Voronov
2bb67f6a90
Feature/#44 e2e tests (#122) 2018-10-14 15:38:14 -04:00
3timeslazy
0f3128e842 Bug into object function KEEP (#121) 2018-10-14 15:22:41 -04:00
3timeslazy
6df08a60cb Rewrite comments, closing #118 2018-10-14 13:06:27 -04:00
Paul
5db8df55db Implement FROM_BASE64 function (#115) 2018-10-14 11:45:06 -04:00
Tim Voronov
0288798a5f Updated Makefile 2018-10-13 22:00:29 -04:00
Tim Voronov
8b892edb8e Updated README 2018-10-13 21:58:05 -04:00
Tim Voronov
c2ab58c0d5 Updated gitignore 2018-10-13 21:40:41 -04:00
Tim Voronov
e3bcdd83ac Small change in CLI 2018-10-13 21:36:53 -04:00
Tim Voronov
1a5db7274c Added support of goreleaser 2018-10-13 21:30:50 -04:00
Tim Voronov
3630d35b73 Added CHANGELOG file 2018-10-13 21:14:24 -04:00
Tim Voronov
91093d6d25 Formatting 2018-10-13 21:08:18 -04:00
Tim Voronov
5f94b77a39
Feature/#7 numeric functions (#116)
* #7 Added ABS

* #7 Added ACOS

* #7 Added ASIN

* #7 Added ATAN

* #7 Added ATAN2

* #7 Added AVERAGE

* #7 Added CEIL

* #7 Added COS

* #7 Added DEGREES

* #7 Added EXP

* #7 Added EXP2

* #7 Added FLOOR

* #7 Added LOG

* #7 Added LOG2

* #7 Added LOG10

* #7 Added MAX

* #7 Added MEDIAN

* #7 Added MIN

* #7 Added PERCENTILE

* #7 Added PI

* #7 Added POW

* #7 Added RADIANS

* #7 Added RAND

* #7 Added RANGE

* #7 Added ROUND

* #7 Added SIN

* #7 Added SQRT

* #7 Added TAN

* #7 Added SUM

* #7 Added STDDEV_POPULATION

* #7 Added STDDEV_SAMPLE, VARIANCE_POPULATION, VARIANCE_SAMPLE
2018-10-13 21:07:28 -04:00
Paul
2417be3f9d Implement PDF function, closes #20 (#114) 2018-10-13 18:12:46 -04:00
3timeslazy
5d0d9ec537 Feature/#10 zip (#113)
* added prototype of ZIP function

* add unit test for ZIP function

* change comment for ZIP function

* added some new tests

* small change in unit tests

* added ZIP function
2018-10-13 14:29:10 -04:00
3timeslazy
446ce3ead5 added MERGE object function (#111)
* add pkg/stdlib/objects Length function

* rename lenght.go -> length.go

* fix tests according to other tests

* add new tests to length tests

* delete objects method Length

* add objects method Has

* add objects function Keys

* small fixes in Keys and Has functions

* change Has function

* unit tests for Keys function

* add unit tests for merge. also little change in lib.go

* add doc to Keys function

* Merge function prototype

* add unit tests for KEEP function

* added KEEP function

* added doc for KEYS function

* update lib.go

* update lib.go

* upd merge prototype

* addded isEqualObjects function to objects tests

* change object method Compare

* added unit tests for Compare method

* changed Compare method

* fix Compare method

* rename method Clone to Copy

* added Cloneable interface

* added Value to Cloneable interface

* implemented Cloneable intefrace by array

* added some more unit tests for values.Array

* fix values.Array.Compare method

* added one more unit test

* implemented Cloneable interface by Object

* unit tests for Object.Clone

* move core.IsCloneable to value.go

* change Clone function

* move IsClonable to package values

* updated MERGE unit tests

* added MERGE function

* added MERGE to lib

* added one more test

* changed MERGE function
2018-10-13 13:04:00 -04:00
Tim Voronov
42757a2a5a
Feature/#105 elements count (#109)
* #105 Added ELEMENTS_COUNT function

* Some minor updates

* Invalid return type
2018-10-12 21:52:27 -04:00
Tim Voronov
495cc34d77
#104 Added NAVIGATE_FORWARD function (#108) 2018-10-12 16:30:17 -04:00
Tim Voronov
93d5df5fe7
Feature/#103 navigate back (#107)
* #103 Added NAVIGATE_BACK function

* Commented out debugging test

* Updated implementation
2018-10-12 16:02:53 -04:00
3timeslazy
f91fbf6f8c Feature/#95 deepclone (#101)
* rename method Clone to Copy

* added Cloneable interface

* added Value to Cloneable interface

* implemented Cloneable intefrace by array

* implemented Cloneable interface by Object

* unit tests for Object.Clone

* move core.IsCloneable to value.go

* change Clone function

* move IsClonable to package values
2018-10-12 11:58:08 -04:00
Tim Voronov
88188cac2c
Fixed process termination by 'exit' word (#100) 2018-10-11 13:35:30 -04:00
Tim Voronov
570c1b4548
Bug/#80 element not found (#99)
* SOme work

* Some refactoring

* Work on stabalizing queries

* Removed unit test for debugging

* Fixed linter errors

* Added logging when NodeID is 0

* Added --time param to CLI
2018-10-11 12:39:03 -04:00
esell
ad21fa6482 add unit tests for runtime/core - scope (#94)
* add unit tests for runtime/core - scope

* add unit tests for runtime/core - scope

* add unit tests for runtime/core - scope
2018-10-11 11:39:52 -04:00
3timeslazy
54c9857862 Bugfix/#97 array compare (#98)
* added some more unit tests for values.Array

* fix values.Array.Compare method

* added one more unit test
2018-10-11 09:54:20 -04:00
3timeslazy
b74e490624 Bugfix/#89 compare (#93)
* change object method Compare

* added unit tests for Compare method

* changed Compare method

* fix Compare method
2018-10-10 13:04:15 -04:00
3timeslazy
0bc4280d3f Added object 'KEEP' function (#88)
* add unit tests for KEEP function

* added KEEP function

* added doc for KEYS function

* addded isEqualObjects function to objects tests
2018-10-09 16:13:00 -04:00
Adam Argo
ab63371892 adds WAIT_FOR_ELEMENT as sometimes WAIT_NAVIGATION isn't sufficient (#90) 2018-10-09 16:02:57 -04:00
Adam Argo
c498da4a21 change WaitForNavigation to avoid race condition/panic sending on closed channel (#84) 2018-10-09 09:19:58 -04:00
Tim Voronov
65a7f2a2df Updated example with Google Search 2018-10-08 23:28:15 -04:00
Adam Argo
3829dffb91 Adds function to type value into input (#81)
* adds function to type input

* changes per feedback

* more PR feedback changes

* add context.Background()
2018-10-08 23:07:08 -04:00
Tim Voronov
05a7582bba
Feature/inner html element child (#82)
* SOme wokrd

* Renamed example

* Updated example
2018-10-08 20:20:40 -04:00
esell
0004667df6 add unit tests for runtime/core - helpers (#78)
* add unit tests for runtime/core - helpers

* update helpers to ignore struct/unsafe ptr
2018-10-08 18:30:36 -04:00
Tim Voronov
da446892b5 Fixed incorrectly compiled LIMIT clause. 2018-10-08 16:04:49 -04:00
Tim Voronov
d3f1a2d88d Fixed iterator_test 2018-10-08 11:29:31 -04:00
Tim Voronov
2ff668e643 Minor clean up 2018-10-07 22:56:01 -04:00
Tim Voronov
a3d3fe727d
Bug/#31 ua (#73)
* Made custom and random UA optional

* Added pirvate context keys
2018-10-07 22:18:57 -04:00
Tim Voronov
eaf60b6846 Update issue templates 2018-10-07 21:50:42 -04:00
Tim Voronov
f34e042886 Update issue templates 2018-10-07 21:49:04 -04:00
Tim Voronov
f3ff44f9b1 Update issue templates 2018-10-07 21:47:47 -04:00
Tim Voronov
03d9f2e561 Moved html drivers outside of standard library 2018-10-07 21:32:30 -04:00
Tim Voronov
957490efec
Feature/#19 proxy (#72)
* #19 Some work on proxy

* Fixed linter issue
2018-10-07 21:23:36 -04:00
Tim Voronov
8f7edaedee Minor tweaks 2018-10-07 21:04:36 -04:00
Tim Voronov
4898f1b9cb Merge branch 'master' of github.com:MontFerret/ferret 2018-10-07 20:15:53 -04:00
Tim Voronov
fa466af940 Added optional timeout to NAVIGATE 2018-10-07 20:15:41 -04:00
Paul
e8adf42654 Implement SCREENSHOT function, closes #21 (#67) 2018-10-07 19:02:27 -04:00
Tim Voronov
fa5a10925b #10 Added 'NewLib' function 2018-10-07 17:58:22 -04:00
Tim Voronov
0dfd58dc89
Feature/#1 array comparison operators (#71)
* #1 Added ALL IN

* #1 Completed Array operator

* #1 Fixed linting issues
2018-10-07 17:54:02 -04:00
3timeslazy
809a51b217 Added objects 'Has' and 'Keys' function (#69)
* add pkg/stdlib/objects Length function

* rename lenght.go -> length.go

* fix tests according to other tests

* add new tests to length tests

* delete objects method Length

* add objects method Has

* add objects function Keys

* small fixes in Keys and Has functions

* change Has function

* unit tests for Keys function
2018-10-07 17:53:41 -04:00
Tim Voronov
3a834d9a0e
Merge pull request #70 from 3timeslazy/feature/values_object_get
change Object.Get(key values.String) (core.Value, bool) to Object.Get…
2018-10-07 17:03:42 -04:00
=
a51faf8d05 change Object.Get(key values.String) (core.Value, bool) to Object.Get(key values.String) (core.Value, values.Boolean) for consistency. 2018-10-07 23:55:12 +03:00
Tim Voronov
2c67482467
Merge pull request #66 from SumLare/like-implementation
strings.Like() implementation
2018-10-07 13:30:27 -04:00