Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1314 commits
Select commit Hold shift + click to select a range
452986f
Merge pull request #4874 from Awhiteweb/feature/workspace-title
harrellbm May 9, 2023
6c29fca
Merge pull request #4873 from markeone/develop
Awhiteweb May 10, 2023
8644256
Merge branch 'Superalgos:develop' into develop
harrellbm May 11, 2023
a12d657
Network node now resets connections every 1hr
theblockchainarborist May 11, 2023
e99315e
Merge pull request #4879 from theblockchainarborist/develop
Raplh2502 May 11, 2023
6c695f4
updated workspace title z-index.
Awhiteweb May 11, 2023
d1b68d0
roll back adding superscript hierarchy
harrellbm May 12, 2023
33d8108
Continued work saving to one min timeframe
harrellbm May 12, 2023
7200af5
Fixed SidePanel Workspace menu
MarkTradeink May 12, 2023
31ec844
Replaced labels for "Sample" Workspace and fixed SidePanel issue load…
MarkTradeink May 12, 2023
e6f0412
Intial saving of database scanner (bug still in one min matching)
harrellbm May 12, 2023
28fe445
Reverting renew connections every 1hr
theblockchainarborist May 12, 2023
cb5b0a4
Merge branch 'Superalgos:develop' into develop
theblockchainarborist May 12, 2023
405c365
Merge pull request #4882 from theblockchainarborist/develop
theblockchainarborist May 12, 2023
bb6894f
Merge branch 'Superalgos:develop' into develop
harrellbm May 12, 2023
7cd4e9c
Merge branch 'develop' of github.com:Awhiteweb/Superalgos into develop
Awhiteweb May 12, 2023
de78968
Merge pull request #4881 from Awhiteweb/feature/workspace-title
harrellbm May 12, 2023
0a523e4
begin work on data aggregating to one min chunks
harrellbm May 13, 2023
e9aa74c
Add initial (now old) AnalysisDirectFromSA project
BigGremlin May 13, 2023
469c3d8
New Order Fetcher (Direct from SA)
BigGremlin May 13, 2023
c801be9
Update with test code from AnlysisDirectFromSA
BigGremlin May 13, 2023
d82dd16
Replaced "Sample" by "Native" JSON files
MarkTradeink May 14, 2023
82ce5a1
Merge branch 'Superalgos:develop' into develop
MarkTradeink May 14, 2023
279bf9a
start work on gathering dataset definitions from ui
harrellbm May 14, 2023
38ad111
Merge pull request #4880 from MarkTradeink/develop
harrellbm May 15, 2023
146b20e
Basic working version
BigGremlin May 15, 2023
cab823a
Defragged. (Got rid of test code)
BigGremlin May 15, 2023
16facc8
working beginning of market and pulling in dataset defintions
harrellbm May 16, 2023
cc3bfaf
Docs for Momentum bars.
quantum8 May 17, 2023
19763d0
Inside bars indicator docs
quantum8 May 17, 2023
9f57b62
Create README.md
BigGremlin May 19, 2023
fdc9a11
Update README.md
BigGremlin May 19, 2023
25a4c0d
Update README.md
BigGremlin May 19, 2023
5efb9bd
Education - Translation - GER - CONCEPTS "M" page 1 to 5
BicMC22 May 19, 2023
40bcb33
first half of new saving algorithum implemented
harrellbm May 19, 2023
00370a3
start chunking function
harrellbm May 20, 2023
45eb1d1
fininsh intial chunking logic
harrellbm May 20, 2023
f75d4c9
start aggretion method
harrellbm May 21, 2023
1e33ee3
first fully written aggregation loop
harrellbm May 23, 2023
ddadaa2
adding storage for user profile persistence
Awhiteweb May 23, 2023
06586e9
reset schedule to 10mins
Awhiteweb May 23, 2023
3bddeca
removed unused variable
Awhiteweb May 23, 2023
df8155d
made single interval timer for all ping requests.
Awhiteweb May 23, 2023
0f3c1fb
refactored task event server with additional logging
Awhiteweb May 23, 2023
07e647e
Merge pull request #4890 from Awhiteweb/feature/add-network-user-prof…
harrellbm May 24, 2023
a4cf575
Merge pull request #4891 from Awhiteweb/feature/network-socket-upgrades
harrellbm May 24, 2023
fa369dc
basic working aggregation method
harrellbm May 24, 2023
3344d56
Merge pull request #4888 from BicMC22/develop
tigers40 May 24, 2023
6884a65
refactored typo onMenssage to onMessage
Awhiteweb May 24, 2023
a49b24a
Update README.md
BigGremlin May 25, 2023
df546cc
Merge pull request #4892 from Awhiteweb/feature/refactor-onMenssage-typo
harrellbm May 26, 2023
c6d1d81
Merge pull request #4886 from quantum8/develop
harrellbm May 26, 2023
06360f0
Tweak to OrderFetcherFromSA
BigGremlin May 26, 2023
7da9497
Merge branch 'develop' of http://github.com/BigGremlin/Superalgos int…
BigGremlin May 26, 2023
efc16c8
Small changes, added BTC price to last trade of day and accept Mac ca…
BigGremlin May 26, 2023
a752056
Remove files for early development on direct analysis from SA logs
BigGremlin May 26, 2023
3f79e39
Merge branch 'Superalgos:develop' into develop
BigGremlin May 26, 2023
2bf3a90
new sorting functions working and start on new aggregation methods
harrellbm May 27, 2023
9c4fdb2
Merge pull request #4894 from BigGremlin/develop
Luis-Fernando-Molina May 27, 2023
134d3e6
Working aggregation method from function library
harrellbm May 29, 2023
4fdb8f2
Education - Translation - GER - REVIEWS "Superalgos Project Review" p…
BicMC22 May 29, 2023
72528cc
Update README.md
BigGremlin May 30, 2023
3819ba1
Update README.md
BigGremlin May 30, 2023
b637a0f
finished aggregation method and start of the day file sorting method
harrellbm May 30, 2023
ef36a88
Merge pull request #4898 from BigGremlin/develop
harrellbm May 31, 2023
e153536
moved network persistence into SA module so is available to all netwo…
Awhiteweb May 31, 2023
04086f6
Merge pull request #4899 from Awhiteweb/feature/network-persistence-fix
Luis-Fernando-Molina May 31, 2023
882c6df
Couple of fixes and tweaks to OrderFetcherSA
BigGremlin May 31, 2023
5e92d0d
Merge pull request #4900 from BigGremlin/develop
harrellbm Jun 1, 2023
e39c67f
sorting into day files initally working
harrellbm Jun 1, 2023
1d483b4
Merge branch 'develop' of github.com:Awhiteweb/Superalgos into develop
Awhiteweb Jun 1, 2023
8c895ac
adding patch to initialize persistent storage
Awhiteweb Jun 1, 2023
314efa2
Merge pull request #4896 from BicMC22/develop
tigers40 Jun 1, 2023
4ad73f3
Merge pull request #4901 from Awhiteweb/develop
harrellbm Jun 1, 2023
dd5d471
Update FileStore.js resolved directory path bug
Awhiteweb Jun 2, 2023
b6b9ead
Merge branch 'develop' of https://github.com/Superalgos/Superalgos in…
Awhiteweb Jun 2, 2023
2f91e5f
Merge pull request #4902 from Awhiteweb/develop
Awhiteweb Jun 2, 2023
49325ee
function refactoring and partially working file save method
harrellbm Jun 2, 2023
65279c6
fully working first loop
harrellbm Jun 3, 2023
0e068cf
fully working multi loop
harrellbm Jun 3, 2023
319207f
refactor database access functions to function library
harrellbm Jun 4, 2023
2225326
added additional debug and error logs to network app when receiving t…
Awhiteweb Jun 4, 2023
6afe56e
added outgoing signal debug logs
Awhiteweb Jun 4, 2023
0f938b0
Merge pull request #4903 from Awhiteweb/feature/trading-signals-debug…
harrellbm Jun 5, 2023
49da605
Education - Translation - GER - Topics "Superalgos Community Task For…
BicMC22 Jun 5, 2023
db33f1c
discovered the child process wasn't exiting, so forcing it on both th…
Awhiteweb Jun 5, 2023
d181f2b
Merge pull request #4906 from Awhiteweb/hot-fix/make-child-process-exit
harrellbm Jun 5, 2023
6feda86
bug fixes from testing rounds
harrellbm Jun 7, 2023
1dff637
Fully working database scanner!!
harrellbm Jun 8, 2023
8cf994f
clean up logs
harrellbm Jun 8, 2023
b1bc997
Deep Scan fixes
harrellbm Jun 8, 2023
3d9a230
Merge branch 'Superalgos:develop' into develop
harrellbm Jun 8, 2023
8a6932f
resolved bug saving user balances on windows
alexwhiteoval Jun 9, 2023
92b4352
Merge pull request #4907 from Awhiteweb/feature/network-persistence-fix
BastianMuc Jun 9, 2023
2757282
Merge branch 'develop' of https://github.com/Superalgos/Superalgos in…
BicMC22 Jun 9, 2023
b056fd8
added extra validation for child process disconnection
Awhiteweb Jun 9, 2023
c4d5a46
Education - Translation - GER - REVIEWS "Superalgos Project Review" p…
BicMC22 Jun 9, 2023
b194e8a
Merge pull request #4908 from Awhiteweb/hot-fix/validate-child-proces…
harrellbm Jun 9, 2023
b95fa67
remove workspace file
harrellbm Jun 10, 2023
4f1791d
Merge branch 'develop' of https://github.com/harrellbm/Superalgos int…
harrellbm Jun 10, 2023
983baa8
Merge pull request #4865 from harrellbm/develop
Awhiteweb Jun 10, 2023
6745826
Merge pull request #4909 from BicMC22/develop
tigers40 Jun 10, 2023
0924fce
Education - Translation - GER - Topics "Superalgos Community Task For…
BicMC22 Jun 11, 2023
c55a630
added context object for postgres database
Awhiteweb Jun 11, 2023
da80767
adding user balance repository
Awhiteweb Jun 11, 2023
2428a33
added pg node module
Awhiteweb Jun 11, 2023
0df2b32
added more methods and docs
Awhiteweb Jun 11, 2023
9ca439b
refactoring storage layout
Awhiteweb Jun 12, 2023
290eff0
updated network bootstrapper persistence location
Awhiteweb Jun 12, 2023
e46409c
updated database environment variables
Awhiteweb Jun 12, 2023
fe17b20
added some basic logging to persistence
Awhiteweb Jun 12, 2023
9c0fc0c
New indicator for undulated mine
quantum8 Jun 13, 2023
2411e3e
resolved bug in environment file with database schema
Awhiteweb Jun 13, 2023
c81d595
patched bug in database repository
Awhiteweb Jun 13, 2023
859b8bc
corrected project name in persistence
Awhiteweb Jun 13, 2023
e9e7982
bug fixes and debugging for db testing
Awhiteweb Jun 13, 2023
f9912bb
fixed bad user config in db
Awhiteweb Jun 13, 2023
f6470a5
fixed bad profile reference
Awhiteweb Jun 13, 2023
2670515
Update DatabaseRepositories.js, added extra logging
Awhiteweb Jun 13, 2023
6f72bb6
Update UserBalanceRepository.js, added more logging
Awhiteweb Jun 13, 2023
61f91b2
adding migration queries and info logging
Awhiteweb Jun 14, 2023
52f2ad5
Merge branch 'feature/global-database-context' of github.com:Awhitewe…
Awhiteweb Jun 14, 2023
b790921
update bug in db context
Awhiteweb Jun 14, 2023
2a07173
debugging
Awhiteweb Jun 14, 2023
af5fa7b
fixed doesTableExist query
Awhiteweb Jun 14, 2023
7ec863c
update does table exists function
Awhiteweb Jun 14, 2023
1579076
added ability check for table migrations
Awhiteweb Jun 14, 2023
90f05ef
moving to using knex as a lightweight orm
Awhiteweb Jun 14, 2023
34e4909
added knex package
Awhiteweb Jun 14, 2023
cb0a98a
updated saveAll to query builder
Awhiteweb Jun 15, 2023
9028874
changed delete queries to builder
Awhiteweb Jun 15, 2023
4550296
updated find item to query builder
Awhiteweb Jun 15, 2023
7a5f006
Merge pull request #4913 from quantum8/develop
harrellbm Jun 16, 2023
370e95e
Patches for fromOneMinTo Market and Daily Indicator Processes
harrellbm Jun 18, 2023
7fdd131
Merge branch 'Superalgos:develop' into develop
harrellbm Jun 18, 2023
54e2f90
added knex for db management
Awhiteweb Jun 20, 2023
5647fbf
updated comments and js docs
Awhiteweb Jun 20, 2023
624ad90
patched environment file
Awhiteweb Jun 20, 2023
99d2475
Creates or adds new Api App File
end-debug Jun 20, 2023
49356d6
added a null check
end-debug Jun 20, 2023
da8d7c1
Merge pull request #4919 from end-debug/develop
theblockchainarborist Jun 20, 2023
cff7d13
Fixed savePayload
end-debug Jun 20, 2023
370661b
Fixed the signingAccount savePayload bug
end-debug Jun 20, 2023
e29364c
removed the extra declaration
end-debug Jun 20, 2023
4503e29
clean up if statment
harrellbm Jun 21, 2023
d4b7d5d
Merge branch 'develop' of https://github.com/harrellbm/Superalgos int…
harrellbm Jun 21, 2023
be3a9e9
Added formula for 'percentageOfAlgorithm' at Order Nodes
cozed-gh Jun 21, 2023
b84fd8e
Typo fix.
cozed-gh Jun 21, 2023
b0e83d9
Forgot to get the value from Formula. Fixed. :E
cozed-gh Jun 21, 2023
5f776ed
Merge pull request #4921 from cozed-gh/develop
harrellbm Jun 22, 2023
966776d
Merge branch 'develop' of https://github.com/Superalgos/Superalgos; b…
BicMC22 Jun 22, 2023
e9043b5
Education - Translation - GER - Topics "Superalgos Community Task For…
BicMC22 Jun 22, 2023
72c60f3
Merge pull request #4923 from BicMC22/develop
tigers40 Jun 23, 2023
65034c6
patched bugs with updating and retreiving db items
Awhiteweb Jun 23, 2023
9d37717
removed debug line
Awhiteweb Jun 23, 2023
b973510
Merge pull request #4915 from harrellbm/develop
Awhiteweb Jun 24, 2023
69f805e
Merge pull request #4916 from Awhiteweb/feature/global-database-context
harrellbm Jun 24, 2023
8cd4d88
Education - Translation - GER - REVIEWS "Superalgos Project Review" p…
BicMC22 Jun 24, 2023
14ecebb
Welcome tutorial revision
julian-molina Jun 26, 2023
0df90ee
Merge pull request #4927 from julian-molina/develop
julian-molina Jun 26, 2023
e048594
.DS_Store error fix from Alex
julian-molina Jun 26, 2023
f11b4f5
Merge branch 'develop' of https://github.com/Superalgos/Superalgos in…
julian-molina Jun 26, 2023
f0f9347
Revision of Basic Education tutorial
julian-molina Jun 26, 2023
7e3766c
Merge pull request #4928 from julian-molina/develop
julian-molina Jun 26, 2023
3918913
Repagination of tutorials
julian-molina Jun 26, 2023
f3c9c27
Merge pull request #4929 from julian-molina/develop
julian-molina Jun 26, 2023
1f97542
Merge pull request #4925 from BicMC22/develop
tigers40 Jun 26, 2023
933c14f
Education - Translation - GER - TOPICS "How To Debug Exchange Raw Dat…
BicMC22 Jun 26, 2023
264bdff
Begin adding function to display order information graph (explorer ty…
BigGremlin Jun 27, 2023
9f42e1c
Merge branch 'Superalgos:develop' into develop
BigGremlin Jun 27, 2023
83f322f
Added first HTML Graph creation functionality to TradeAnalysis
BigGremlin Jun 27, 2023
7a5a76b
Merge branch 'develop' of http://github.com/BigGremlin/Superalgos int…
BigGremlin Jun 27, 2023
17b9cdc
Trivial update to help.
BigGremlin Jun 28, 2023
00e84b5
Beyond the Basics tutorial revision
julian-molina Jun 29, 2023
e14d089
Fine tunning
julian-molina Jun 29, 2023
287d86b
Merge pull request #4932 from julian-molina/develop
julian-molina Jun 29, 2023
2533345
Beyond the basics repagination
julian-molina Jun 29, 2023
6f0a3f1
Merge pull request #4933 from julian-molina/develop
julian-molina Jun 29, 2023
edf54e5
Merge pull request #4930 from BicMC22/develop
tigers40 Jun 29, 2023
a74a2bf
Fix related to path's and home directories
BigGremlin Jun 29, 2023
43ed25b
Merge branch 'Superalgos:develop' into develop
end-debug Jul 1, 2023
ef90007
Merge pull request #4931 from BigGremlin/develop
Awhiteweb Jul 1, 2023
72e6fd3
Education - Translation - GER - Topics "Community Workspaces" page 1 …
BicMC22 Jul 9, 2023
451e598
Merge pull request #4937 from BicMC22/develop
tigers40 Jul 11, 2023
fa485db
removed left panels from view
Awhiteweb May 12, 2023
4da6645
commented unused variable
Awhiteweb May 14, 2023
3424db8
added order property to top level menu items for consistency.
Awhiteweb Jun 5, 2023
d0c1853
organised consistent sorting of nav bar submenu items
Awhiteweb Jun 5, 2023
f91b0ad
Education - Translation - GER - Topics "Nodes" page 1 to 12
BicMC22 Jul 15, 2023
118b781
Merge pull request #4920 from end-debug/develop
Awhiteweb Jul 15, 2023
bab8101
Merge pull request #4941 from BicMC22/develop
tigers40 Jul 15, 2023
08622bc
Education - Translation - GER - Topics "Repository Branches" page 1 to 4
BicMC22 Jul 16, 2023
7f72b2a
Binance config update
julian-molina Jul 17, 2023
b47556d
Docs for new indicators in Undulated mine
quantum8 Jul 19, 2023
9b5f976
Merge branch 'develop' of https://github.com/quantum8/Superalgos into…
quantum8 Jul 19, 2023
c12e84a
HLC Trend Docs
quantum8 Jul 19, 2023
fbe0830
HLC docs
quantum8 Jul 19, 2023
d4fa814
Merge pull request #4943 from julian-molina/develop
julian-molina Jul 19, 2023
b6a21de
Merge pull request #4940 from Awhiteweb/feature/remove-left-side-pane…
Luis-Fernando-Molina Jul 22, 2023
7394947
Governance: Fix for Token Power calculation
BastianMuc Jul 22, 2023
41e00e5
Governance: Adding zkSync as distribution option for SA Tokens
BastianMuc Jul 22, 2023
5640adc
Removing unneccesary debug line
BastianMuc Jul 22, 2023
7156ab6
Merge pull request #4942 from BicMC22/develop
tigers40 Jul 24, 2023
15c51c6
Merge pull request #4946 from BastianMuc/develop
Awhiteweb Jul 24, 2023
6d02ce5
Education - Translation - GER - Topics "Tested Exchanges" page 1 to 16
BicMC22 Jul 26, 2023
45d3519
Merge pull request #4949 from BicMC22/develop
tigers40 Jul 26, 2023
ae9423e
Exchange API: Hotfix for Binance Spot Market Orders
BastianMuc Jul 26, 2023
f8540a6
Merge pull request #4950 from BastianMuc/ccxtfix
Awhiteweb Jul 27, 2023
3a183df
Education: Deleting empty files to remove parsing errors
BastianMuc Jul 27, 2023
dbeeb5b
Code cleaning
BastianMuc Jul 27, 2023
a48c92a
Education - Translation - GER - Topics "TS LF Learning Bot Errors" pa…
BicMC22 Jul 28, 2023
9cf95e7
Merge pull request #4952 from BicMC22/develop
tigers40 Aug 2, 2023
d26f339
Updated full revision and removed mentions of new installation script…
julian-molina Aug 3, 2023
81bda81
Merge pull request #4954 from julian-molina/develop
julian-molina Aug 3, 2023
3a87705
Minor update to README
julian-molina Aug 3, 2023
655e404
Merge pull request #4955 from julian-molina/develop
julian-molina Aug 3, 2023
3619ec9
Merge branch 'Superalgos:develop' into develop
quantum8 Aug 4, 2023
26c137a
spelling fixes
quantum8 Aug 4, 2023
524dd96
Education - Translation - GER - Topics "Governance B" page 1 to 2 (Be…
BicMC22 Aug 6, 2023
5766a5b
Governance: Fix to prevent self-referencing
BastianMuc Aug 10, 2023
d0d59ec
Merge pull request #4956 from BicMC22/develop
tigers40 Aug 12, 2023
ca8312e
Merge branch 'Superalgos:develop' into develop
quantum8 Aug 14, 2023
9e4b5e6
removed problematic docs files
quantum8 Aug 14, 2023
d5e261c
Merge pull request #4951 from BastianMuc/develop
Awhiteweb Aug 15, 2023
bdcdf15
Merge pull request #4959 from quantum8/develop
Awhiteweb Aug 15, 2023
eaa4326
Merge pull request #4958 from BastianMuc/govfix
Awhiteweb Aug 15, 2023
5d99c42
Merge pull request #4947 from BastianMuc/zksync
Awhiteweb Aug 15, 2023
2f92714
Fixed Load Events From Storage which are applied to the Social Graph
end-debug Aug 15, 2023
f069777
update html list syntax. update docs space loading in tutorials
Awhiteweb Aug 16, 2023
a96ca18
patched linux install script, removed npm audit fix command
Awhiteweb Aug 16, 2023
fdd57dc
Merge pull request #4962 from Awhiteweb/feature/patch-tutorial-docs-p…
BastianMuc Aug 16, 2023
cc4583c
Merge pull request #4961 from Awhiteweb/feature/linux-install-patch
BastianMuc Aug 16, 2023
8cadcdb
Merge pull request #4960 from end-debug/develop
BastianMuc Aug 18, 2023
ff33483
Minor changes in tutorial steps and readme
julian-molina Aug 21, 2023
6639525
Merge pull request #4963 from julian-molina/develop
julian-molina Aug 21, 2023
16f1d2b
Minor fixes in user marketing messages
julian-molina Aug 21, 2023
bd6d033
Merge pull request #4964 from julian-molina/develop
julian-molina Aug 21, 2023
c4cb93c
Fixed the syncronizeWithTheNetwork timing issue
end-debug Aug 24, 2023
b166ec3
Docs for new trends indicators
quantum8 Aug 25, 2023
4b728b1
added ability to stop and hide turorial modal when end of tutorial
Awhiteweb Aug 26, 2023
567d563
removed temp comment
Awhiteweb Aug 26, 2023
8bb4ee6
Merge pull request #4965 from end-debug/develop
Awhiteweb Aug 27, 2023
1e48319
Merge pull request #4967 from Awhiteweb/feature/patch-tutorial-space-bug
BastianMuc Aug 27, 2023
c893333
Merge pull request #4966 from quantum8/develop
BastianMuc Aug 27, 2023
92dbe73
Education - Translation - GER - Topics "Tested Trading Engine" page 2…
BicMC22 Aug 28, 2023
c0474ed
Merge pull request #4970 from BicMC22/develop
tigers40 Aug 28, 2023
a88cd0f
Education - Translation - GER - Topics "Messari API Map and Mine" pag…
BicMC22 Aug 29, 2023
daa2da4
Merge pull request #4972 from BicMC22/develop
tigers40 Aug 31, 2023
7d20d86
Click Stop instead of Next
julian-molina Sep 1, 2023
56dac24
Merge pull request #4973 from julian-molina/develop
julian-molina Sep 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm install --omit=optional
- name: Preparation
id: prep
run: node export-docs -l=_site -r=Superalgos
Expand Down
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ debug.log
*.db
Projects/Foundations/Icons/Thumbs.db
*.bat
# exception for installer batch
!clone_superalgos.bat
!launch-windows.bat
!create-shortcut-windows.bat
!uninstall-shortcut-windows.bat
*.exe
# exception for installer
!superalgos.exe
node_modules
launch.json
package-lock.json
Expand Down Expand Up @@ -49,3 +53,10 @@ Bitcoin-Factory/Test-Client/notebooks/ray_results/
Platform/WebServer/externalScripts/jquery-3.6.0.js
Platform/WebServer/externalScripts/jquery-ui.js
Platform/WebServer/externalScripts/jquery-3.6.0.js
knexfile.js

# Temporary translations
*_translated.json

# installer files
unins000.dat
104 changes: 88 additions & 16 deletions .tests/Environment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ const expectedObject = {
WEB_SERVER_URL: 'localhost',
PLATFORM_WEB_SOCKETS_INTERFACE_PORT: 18041,
NETWORK_WEB_SOCKETS_INTERFACE_PORT: 18042,
DESKTOP_WEB_SOCKETS_INTERFACE_PORT: 16041,
DESKTOP_WEB_SOCKETS_INTERFACE_HOST: 'localhost',
DASHBOARDS_WEB_SOCKETS_INTERFACE_PORT: 18043,
SOCIALTRADING_WEB_SOCKETS_INTERFACE_PORT: 16041,
SOCIALTRADING_WEB_SOCKETS_INTERFACE_HOST: 'localhost',
PLATFORM_HTTP_INTERFACE_PORT: 34248,
DESKTOP_HTTP_INTERFACE_PORT: 33248,
SOCIALTRADING_HTTP_INTERFACE_PORT: 33248,
NETWORK_HTTP_INTERFACE_PORT: 31248,
PATH_TO_DATA_STORAGE: path.join(basePath, './Platform/My-Data-Storage'),
PATH_TO_PROJECTS: path.join(basePath, './Projects'),
Expand All @@ -30,15 +31,20 @@ const expectedObject = {
PATH_TO_PROJECTS_REQUIRED: path.join(basePath, './Projects'),
PATH_TO_PROJECT_SCHEMA: path.join(basePath, './Projects/ProjectsSchema.json'),
PATH_TO_PLATFORM: path.join(basePath, './Platform'),
PATH_TO_DESKTOP: './Desktop',
PATH_TO_SOCIALTRADING: './Social-Trading',
PATH_TO_DEFAULT_WORKSPACE: path.join(basePath, './Plugins/Foundations/Workspaces'),
PATH_TO_MY_WORKSPACES: path.join(basePath, './Platform/My-Workspaces'),
PATH_TO_SECRETS: path.join(basePath, './My-Secrets'),
PATH_TO_FONTS: path.join(basePath, './Platform/WebServer/Fonts'),
PATH_TO_BITCOIN_FACTORY: path.join(basePath, './Bitcoin-Factory'),
DESKTOP_APP_SIGNING_ACCOUNT: 'Social-Trading-Desktop-App-1',
DESKTOP_APP_MAX_OUTGOING_PEERS: 1,
DESKTOP_APP_MAX_OUTGOING_START_PEERS: 0,
SOCIALTRADING_APP_UI_TYPE: 'vueDev',
SOCIALTRADING_APP_SIGNING_ACCOUNT: 'Social-Trading-Desktop-App-1',
SOCIALTRADING_APP_MAX_OUTGOING_PEERS: 5,
SOCIALTRADING_APP_MAX_OUTGOING_START_PEERS: 1,
SOCIALTRADING_TARGET_NETWORK_TYPE: 'P2P Network',
SOCIALTRADING_TARGET_NETWORK_CODENAME: 'Testnet',
SOCIALTRADING_DEFAULT_SOCIAL_PERSONA: 'Social-Persona-1',
SOCIALTRADING_DEFAULT_SOCIAL_TRADING_BOT: 'Social-Trading-Bot-2',
TASK_SERVER_APP_MAX_OUTGOING_PEERS: 1,
TASK_SERVER_APP_MAX_OUTGOING_START_PEERS: 1,
MOBILE_APP_SIGNING_ACCOUNT: 'Social-Trading-Mobile-App-1',
Expand All @@ -48,23 +54,89 @@ const expectedObject = {
P2P_NETWORK_NODE_MAX_INCOMING_CLIENTS: 1000,
P2P_NETWORK_NODE_MAX_INCOMING_PEERS: 0,
P2P_NETWORK_NODE_MAX_OUTGOING_PEERS: 0,
DESKTOP_TARGET_NETWORK_TYPE: 'P2P Network',
DESKTOP_TARGET_NETWORK_CODENAME: 'Testnet',
TASK_SERVER_TARGET_NETWORK_TYPE: 'P2P Network',
TASK_SERVER_TARGET_NETWORK_CODENAME: 'Testnet',
DESKTOP_DEFAULT_SOCIAL_PERSONA: 'Social-Persona-1',
DESKTOP_DEFAULT_SOCIAL_TRADING_BOT: 'Social-Trading-Bot-1',
NPM_NEEDED_VERSION: '5',
NODE_NEEDED_VERSION: '12',
GIT_NEEDED_VERSION: '2',
EXTERNAL_SCRIPTS: [
'https://code.jquery.com/jquery-3.6.0.js',
'https://code.jquery.com/ui/1.13.0/jquery-ui.js'
]
'https://code.jquery.com/jquery-3.6.0.js',
'https://code.jquery.com/ui/1.13.0/jquery-ui.js'
],
}

describe('newEnvironment', () => {
it('should contain no new environment variables', () => {
expect(env.newEnvironment()).toEqual(expectedObject)
})
})

describe('logLevel argument validation tests', () => {
afterEach(() => {
process.argv = process.argv.slice(0,2);
})

const validTests = [
['logLevel=debug', 'debug'],
['logLevel=info', 'info'],
['logLevel=warn', 'warn'],
['logLevel=error', 'error'],
['logLevel = debug', 'debug'],
['logLevel = info', 'info'],
['logLevel = warn', 'warn'],
['logLevel = error', 'error'],
['logLevel debug', 'debug'],
['logLevel info', 'info'],
['logLevel warn', 'warn'],
['logLevel error', 'error'],
['-logLevel=debug', 'debug'],
['-logLevel=info', 'info'],
['-logLevel=warn', 'warn'],
['-logLevel=error', 'error'],
['-logLevel = debug', 'debug'],
['-logLevel = info', 'info'],
['-logLevel = warn', 'warn'],
['-logLevel = error', 'error'],
['-logLevel debug', 'debug'],
['-logLevel info', 'info'],
['-logLevel warn', 'warn'],
['-logLevel error', 'error'],
['--logLevel=debug', 'debug'],
['--logLevel=info', 'info'],
['--logLevel=warn', 'warn'],
['--logLevel=error', 'error'],
['--logLevel = debug', 'debug'],
['--logLevel = info', 'info'],
['--logLevel = warn', 'warn'],
['--logLevel = error', 'error'],
['--logLevel debug', 'debug'],
['--logLevel info', 'info'],
['--logLevel warn', 'warn'],
['--logLevel error', 'error']
]
validTests.forEach(([input, expected]) => {
it('should add the log level to the environment variables', () => {
process.argv.push(input)
const result = env.newEnvironment()
expect(result.LOG_LEVEL).toEqual(expected)
})
})

const invalidTests = [
'foo',
'logLevel',
'-logLevel',
'--logLevel',
'LogLevel',
'logLevel=undefined',
'-logLevel=undefined',
'--logLevel=undefined',
'-logLevel undefined',
'--logLevel undefined'
]
invalidTests.forEach((input) => {
it('should return undefined with an invalid argument', () => {
process.argv.push(input)
const result = env.newEnvironment()
expect(result.LOG_LEVEL).toEqual(undefined)
})
})
})
6 changes: 3 additions & 3 deletions .tests/Launch-Scripts/createShortcut.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jest.mock('child_process', () => {
if (command === `$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut("${dir}"); $S.TargetPath = "${target}"; $S.IconLocation = "${icon}"; $S.Save()`) {
return 0
}
if (command === `cp ${name}.desktop ~/Desktop/${name}.desktop & cp ${name}.desktop ~/.local/share/applications/${name}.desktop`) {
if (command === `cp ${name}.desktop ~/Social-Trading/${name}.desktop & cp ${name}.desktop ~/.local/share/applications/${name}.desktop`) {
return 0
}
if (command === `chmod +x ${name}.command & cp ${name}.command ~/Desktop/${name}.command`) {
if (command === `chmod +x ${name}.command & cp ${name}.command ~/Social-Trading/${name}.command`) {
return 0
}
if (command === `npm install -g fileicon`) {
return 0
}
if (command === `./node_modules/fileicon/bin/fileicon set ~/Desktop/${name}.command ./Launch-Scripts/superalgos.ico`) {
if (command === `./node_modules/fileicon/bin/fileicon set ~/Social-Trading/${name}.command ./Launch-Scripts/superalgos.ico`) {
return 0
}
if (command === `npm uninstall -g fileicon`) {
Expand Down
6 changes: 3 additions & 3 deletions .tests/Launch-Scripts/runUninstall.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jest.mock('child_process', () => {
let cwd = __dirname
let dirs = cwd.split(path.sep)
let name = dirs[dirs.length - 1]
let desktop = path.join(os.homedir(), "Desktop", `${name}.lnk`)
let desktop = path.join(os.homedir(), "SocialTrading", `${name}.lnk`)
let startMenu = path.join(os.homedir(), "AppData", "Roaming", "Microsoft", "Windows", "Start Menu", "Programs", `${name}.lnk`)

return {
Expand All @@ -17,10 +17,10 @@ jest.mock('child_process', () => {
if (command === `del "${desktop}" & del "${startMenu}"`) {
return 0
}
if (command === `rm ~/Desktop/${name}.command`) {
if (command === `rm ~/SocialTrading/${name}.command`) {
return 0
}
if (command === `rm ~/Desktop/${name}.desktop & rm ~/.local/share/applications/${name}.desktop`) {
if (command === `rm ~/SocialTrading/${name}.desktop & rm ~/.local/share/applications/${name}.desktop`) {
return 0
}
})
Expand Down
Loading