2400 Commits

Author SHA1 Message Date
Bradley Matusiak
210a5834c6
prepare to sync gun lib unbuild on npm install (#1237) 2022-05-23 17:14:25 -07:00
Mark Nadal
55682b6f4b bump (ok ack + webrtc) @Draeder yay thanks! 2022-05-18 18:36:35 -07:00
Mark Nadal
7335f8c866 Merge branch 'master' of http://github.com/amark/gun 2022-05-18 18:10:39 -07:00
Mark Nadal
904b2f8e7f ok ack + webrtc 2022-05-18 18:10:36 -07:00
Bradley Matusiak
ced9cde41b
websocket ../index to ./index (#1235)
* Update sea.js

* Update auth.js

* Update sea.js

* Update auth.js

* Update rs3.js

* added test for login via {pub}

* gh page build

* fix index path in websocket plugin
2022-05-15 18:07:35 -07:00
Mark Nadal
94ab05b032 Merge branch 'master' of http://github.com/amark/gun 2022-05-08 20:34:16 -07:00
Mark Nadal
589a7784dc PANIC tests + AXE get dedup + fix DAM add by id 2022-05-08 20:34:06 -07:00
George Shammas
440bbffb73
lib/ison: Use setTimeout instead of setImmediate. Allows the use of indexDB in browsers (#1226) 2022-05-05 13:13:18 -07:00
Bradley Matusiak
e3eaf5e268
Allow {pair.pub} to login with pass (#1233)
* Update sea.js

* Update auth.js

* Update sea.js

* Update auth.js

* Update rs3.js

* added test for login via {pub}

* gh page build
2022-04-29 16:26:26 -07:00
Mark Nadal
a092f5a725 @rococtz fix + @draeder AXE tests. Force. 2022-04-26 23:20:34 -07:00
Mark Nadal
8f79ff7bb0 Merge branch 'master' of http://github.com/amark/gun 2022-04-26 23:18:54 -07:00
Mark Nadal
ebe6f0cf3b @rococtz fix + @dreader AXE tests 2022-04-26 23:12:52 -07:00
George Shammas
9d94b433d0
export SEA type information (#1224) 2022-04-02 16:26:08 -07:00
Mark Nadal
ff3c4f6e69
Thank you @JacobMillner for donating!!! 2022-04-02 10:07:23 -07:00
Mark Nadal
f062fc330b
Thanks Hunter Owens @howens for backing! 2022-03-23 00:28:37 -07:00
Mark Nadal
4f19440262 axe tweaks 2022-03-23 00:10:57 -07:00
Mark Nadal
e4bb977d5d
Thanks @wayjake for https://wallie.io/ supporting GUN! 2022-03-17 21:49:30 -07:00
Thorsten Zoerner
0e8b4549df
Update axe.js (#1222)
Should solve uncaught exception:
```
error] TypeError: Cannot read properties of undefined (reading 'lack')
    at Function.GET.turn (/root/.node-red/node_modules/gun/lib/axe.js:42:20)
    at Timeout._onTimeout (/root/.node-red/node_modules/gun/lib/axe.js:57:42)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
```

That happens in some node environments from time to time.
2022-03-17 19:00:10 -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