2383 Commits

Author SHA1 Message Date
Mark Nadal
4f19440262 axe tweaks 2022-03-23 00:10:57 -07:00
Mark Nadal
f6b65c8e7e Merge branch 'master' of http://github.com/amark/gun 2022-03-16 17:04:21 -07:00
Mark Nadal
5ea98f48e3 fix open, warn if too fast 2022-03-16 17:02:38 -07:00
Mark Nadal
41c2f64ef2
github debug stats 2022-03-13 13:39:13 -07:00
Mark Nadal
2ff35aa316 Merge branch 'master' of http://github.com/amark/gun 2022-03-11 05:17:06 -08:00
Mark Nadal
c4a613a971 json is lame 2022-03-11 05:17:01 -08:00
Mark Nadal
2bbbe36e13 prep for stash 2022-03-06 04:53:15 -08:00
Malted
532b59b098
Remove erroneous apostrophe (#1213) 2022-02-27 04:16:37 -08:00
Orimay
d53d157f19
New GUN typings (#1205)
* New GUN typings

* Fixing comments

* Gun schema is now supported

Co-authored-by: dbaranov <dbaranov@bellintegrator.com>
2022-02-18 23:17:41 -08:00
Anton W
1051e477ba
Fix offer payload (#1210) 2022-02-18 23:03:44 -08:00
bbayazit16
2c3e7d55fd
Remove val from comment (#1207)
Line 78 uses ".once", but "val" is used in comment at line 79.
2022-02-18 22:59:38 -08:00
Orimay
ba7c3e8bda
NaN -> false (#1200) 2022-02-04 03:00:10 -08:00
Orimay
ddaf523a98
NaN -> false (#1202) 2022-02-04 02:59:53 -08:00
Orimay
666569f1d7
NaN -> false (#1201) 2022-02-04 02:58:40 -08:00
Orimay
05f497778a
@Orimay put validation: adding '-Infinity' as an invalid case; speeding validation up (#1189)
* Adding '-Infinity' as an invalid case

Adding '-Infinity' as an invalid case, not handled before
Skipping extra checks until needed (like NaN, Infinity)
Checking for 'null' first as for more common case than invalid 'undefined'

* Adding '-Infinity' as an invalid case

Adding '-Infinity' as an invalid case, not handled before
Skipping extra checks until needed (like NaN, Infinity)
Checking for 'null' first as for more common case than invalid 'undefined'

* Adding '-Infinity' as an invalid case

Adding '-Infinity' as an invalid case, not handled before
Skipping extra checks until needed (like NaN, Infinity)
Checking for 'null' first as for more common case than invalid 'undefined'

* Fixing tests to handle -Infinity

* Removing useless shim import

* Removing useless shim import

* Removing redundant undefined check

* Removing redundant undefined check

* Removing redundant undefined check

* ES5 compatibility

Co-authored-by: dbaranov <dbaranov@bellintegrator.com>
Co-authored-by: Mark Nadal <mark@gun.eco>
2022-02-04 02:41:22 -08:00
Promaethius
f85f55c5a1
test escaped backslash (#1156) 2022-02-02 22:45:55 -08:00
david smooke
ce20e0787d
Update README.md (#1181) 2022-01-15 21:22:57 -08:00
Mark Nadal
852b77f49a Merge branch 'master' of http://github.com/amark/gun 2021-12-16 01:21:04 -08:00
Mark Nadal
6780cb4334 better error + fix nested .once hanging on non-existent node when link does exist 2021-12-16 00:05:43 -08:00
Emad Kheir
77162fcb68
YSON Fixes (#1170)
* Rewrite YSON, fixes #1155

* Modify test file so it now includes a backslash to test YSON's escaping functionality

* Moved new yson implementation to ison.js

* Update YSON imports to ison.js on radisk, server and stats

* Update test to use ison.js and added emojis to test strings with unicode characters
2021-12-07 22:47:48 -08:00
tedd pasta
d1f13c86c6
make change to lib/unset.js (#1167)
* change stats.radata

* remove stats.radata file creation since fs.writeFil will do it any way

* require path and use last directory of opt file path or use radata

* make unset change
2021-12-02 18:39:37 -08:00
Natnael Teferi
9413142c80
ReactNative/Expo fix for SEA (#1169) 2021-11-28 20:05:15 -08:00
Mark Nadal
6d3ea2ecc5
Thanks to @DimensionDev https://mask.io/ for supporting! 2021-11-24 17:36:53 -08:00
Jairus Joer
3c5de47c42
Change Dockerfile python package to python3 (#1166)
As of version 3.12, the python package will no longer be supported in favor of explicitly chosen packages python2 or python3.
2021-11-23 13:52:01 -08:00
tedd pasta
396b367e4e
change stats.radata file (#1161)
* change stats.radata

* remove stats.radata file creation since fs.writeFil will do it any way

* require path and use last directory of opt file path or use radata
2021-11-23 13:51:25 -08:00
Mark Nadal
1969d48e0f
Thanks @mikestaub for donating!!! :) <3 2021-11-21 17:49:23 -08:00
Mark Nadal
0441aa332d
Update axe.js 2021-11-15 02:03:41 -08:00
Mark Nadal
009be7e534
Thanks https://ghostdrive.com (Roman Tykhovsky) for donating!!! :) 2021-11-13 18:32:14 -08:00
Mark Nadal
74d2b077cd
Thank you Fabian Stamm @hibas123 for donating!!! 2021-11-10 17:10:33 -08:00
Emad Kheir
50af2d52ad
Halt rap function on undefined key (#1157) 2021-11-05 23:52:08 -07:00
Hector
3b8eb16960
✂️ Path shortened ! (#1141)
* Fix the "/" bug.

* Update the "hub-test" to make them work everywhere!

* 🤛Fix the "/" bug !

* Fix indentation

* ✂️ My new quest shall be to shorten the file paths !

* 👽 Remove Chokidar from dependencies

* 👽 Remove chokidar from dependencies!
2021-10-29 23:20:16 -07:00
MaciejDot
395c2b8f98
partly repair gun types (#1154)
* partly repair gun types

* added types tests
2021-10-29 23:15:02 -07:00
Jeff Hykin
17af355ac1
4 lines, improve logging slightly (#1153)
* use gun.log.once for logging consistency

* -
2021-10-29 23:09:37 -07:00
Mark Nadal
49973ac522
Update README.md 2021-10-15 02:03:21 -07:00
Mark Nadal
90c7fb813e
it did not, so undo 2021-10-13 22:34:24 -07:00
Mark Nadal
34f53a20fb
let's see if this works? 2021-10-13 22:23:50 -07:00
Hector
0b158667a7
Update hub ! (#1134)
* Fix the "/" bug.

* Update the "hub-test" to make them work everywhere!
2021-09-16 08:54:01 -07:00
Mark Nadal
edf6c5f38d fix @yokowasis bug found + house keeping. 2021-09-13 23:02:45 -07:00
Gál Péter
c97ac0002c
Fix: type error shown when using generated keypair (#1131)
* fix errors shown when trying to use correct keypairs

* mark only (really) used parameters as required

- a callback is optional, because we could just use the async/await methodology to recieve the keypair
- when signing only `priv` is used
- when verifying only `pub` is used
- both when encrypting/decrypting only `epriv` is used
2021-09-11 10:02:08 -07:00
Mark Nadal
d7282be14b
yaml y u no multi line comment? 2021-09-06 04:43:31 -07:00
Mark Nadal
f8f2fc502d
@tcurdt docker no login so it fails, disabling till fix 2021-09-06 04:21:36 -07:00
mimiza
63b0043076
Improve SEA: .auth, .certify, check.pub (#1130)
* Improve SEA.certify

- Improve certify() logic
- "Blacklist" renamed to "block". BLACK LIVES MATTER!
- Fix user.is.alias, now it doesn't contain full pair any more.

* SEA.certify wire logic tests

The "block" (former "blacklist") feature is not working yet (due to a bug in gun)

* skip certify block feature unit test
2021-09-05 22:40:36 -07:00
Luca Guzzon
89c5286a52
A silly typo ... (#1127)
I think that "process.AWS_REGION" should be "process.env.AWS_REGION", right?
2021-09-05 22:38:45 -07:00
Torsten Curdt
31971c0c51
publish master and releases (#1126)
* no artifacts, not required

* renamed

* cleanup and comments

* pass build args

* two-step docker build

* renamed to as we might push to any docker repo

* rename and cleanup

* added some docs and expectation about the CI/CD and release information

* combined all workflows into steps
2021-09-05 22:34:13 -07:00
Mark Nadal
7dedd0797c
yummier quickstart! 2021-09-02 04:48:45 -07:00
Mark Nadal
e52e5821c1
add intro video! 2021-09-02 04:11:10 -07:00
Mark Nadal
eafab334a9
clean, update, housekeep :) 2021-09-02 03:56:50 -07:00
Mark Nadal
d1a59e5d6f
Update install.sh 2021-09-02 03:22:08 -07:00
Mark Nadal
d178d4a095 what about this new peer? 2021-08-31 10:59:47 -07:00
Mark Nadal
8cd8c4f6fb Merge branch 'master' of http://github.com/amark/gun 2021-08-31 09:38:26 -07:00