Commit Graph

185 Commits

Author SHA1 Message Date
Olivier Gagnon
26e6036f57 added typesbcrypths 2022-03-16 18:01:26 -04:00
Olivier Gagnon
2e9652e41a add bcrypt 2022-03-16 17:45:46 -04:00
hydroflame
adc95d1443
Merge pull request #2954 from danielyxie/dependabot/npm_and_yarn/follow-redirects-1.14.8
Bump follow-redirects from 1.14.7 to 1.14.8
2022-03-01 10:42:14 -05:00
dependabot[bot]
03c0c662a8
Bump url-parse from 1.5.3 to 1.5.10
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 04:08:34 +00:00
Olivier Gagnon
ee887de151 update version 2022-02-23 10:45:26 -05:00
dependabot[bot]
2dedd65cc1
Bump follow-redirects from 1.14.7 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 02:32:04 +00:00
Olivier Gagnon
95e67f954b build 2022-01-27 20:24:43 -05:00
Martin Fournier
412ef543c8 Run npm audit fix to resolve vulnerabilities
It did not resolve all of the vulns as some are gated behind breaking
changes. Most of them seem to be resolved when updating to webpack 5

Also moves devDependencies out of normal dependencies, as a few libs
were better suited for dev.
2022-01-26 05:47:27 -05:00
Olivier Gagnon
1e0e9f7bd7 change button text 2022-01-02 11:55:06 -05:00
theit8514
8f77f720e6 Cache the blobs generated by scripts 2021-12-23 23:06:01 -05:00
hydroflame
795f8b4d2b Merge pull request #2140 from danielyxie/mychanges
mychanges
2021-12-22 19:19:39 -05:00
Martin Fournier
6363c704db Handle electron process uncaught exceptions
Handling the exceptions and closing the app seem to properly kill the
dangling processes that appear at launch in Windows 10. Without this, if
an exception is throw before the window is active (ie: no
steamapp_id.txt file), there will be remaining processes.

Added electron-log to additionally log to a text file.
2021-12-22 15:28:55 -05:00
Olivier Gagnon
f72d4b89d4 text editor improvements 2021-12-20 03:02:23 -05:00
BuildTools
9c19ddf6a7 fixed git issue 2021-12-20 01:40:01 -06:00
Jordan Turner
687682fcbd added syntax useage to github ns page 2021-12-15 10:10:32 -07:00
Olivier Gagnon
69a9448e47 fix typos 2021-12-12 12:46:56 -05:00
Olivier Gagnon
e262c9bb38 achievements 2021-11-27 15:07:25 -05:00
Olivier Gagnon
cf2efe7698 few bugdic 2021-11-11 17:00:36 -05:00
Olivier Gagnon
43fc5dfd48 work on doc 2021-10-30 12:34:14 -04:00
Olivier Gagnon
d1d0ccf345 added possible infinite loop checker 2021-10-28 23:04:26 -04:00
Olivier Gagnon
91877dc172 netscript def is raw loaded 2021-10-27 23:19:19 -04:00
tyasuh.taeragan@gmail.com
da02f8862a Commented Changes 2021-10-16 23:47:11 -04:00
Olivier Gagnon
89a6bf175d nuke half the dependencies because they were unused. 2021-10-14 19:31:17 -04:00
tyasuh.taeragan@gmail.com
cee716bbb0 Typo Corrections 2021-10-14 12:22:35 -04:00
Olivier Gagnon
3f1d4875e7 Added toast function 2021-10-13 17:25:58 -04:00
Olivier Gagnon
e436d7f3a0 up to date omg 2021-10-13 02:27:55 -04:00
Olivier Gagnon
a5a28db47f asd 2021-10-13 02:15:29 -04:00
Olivier Gagnon
c66a8b5974 update pl 2021-10-12 21:45:16 -04:00
Olivier Gagnon
227fbd7060 made log box resizable 2021-10-05 01:23:20 -04:00
Olivier Gagnon
70796e7674 use react-draggable 2021-10-05 00:59:40 -04:00
Olivier Gagnon
4abc1df840 convert to ts 2021-09-24 17:56:30 -04:00
Olivier Gagnon
06edf5b70c theme editor with color picker 2021-09-22 12:06:03 -04:00
Olivier Gagnon
0c932dd4d1 build bunch of fixes 2021-09-21 20:30:00 -04:00
Olivier Gagnon
4a3201cba3 update packagelock 2021-09-19 18:28:44 -04:00
David Edmondson
6013bacc60 Add fast-refresh 2021-09-16 20:52:38 -07:00
Olivier Gagnon
3fc46c8fc6 mui5 migration 2021-09-16 19:45:53 -04:00
Olivier Gagnon
407ed70ae3 mui5 2021-09-16 19:23:03 -04:00
Olivier Gagnon
a21c0f4a0b update packages 2021-09-16 18:15:04 -04:00
Olivier Gagnon
3acf965dad fix some bugs 2021-09-16 18:10:28 -04:00
Olivier Gagnon
2922e42055 most terminal converted to ts 2021-09-16 18:10:28 -04:00
Olivier Gagnon
ac80be1b40 electron build 2021-09-16 18:10:27 -04:00
Olivier Gagnon
8fba57fd24 mui v1 2021-09-13 12:44:46 -04:00
Olivier Gagnon
83f785a791 build popups 2021-09-12 23:23:09 -04:00
Olivier Gagnon
add19d353e sidebar is react, fix a few bugs 2021-09-11 01:54:19 -04:00
Olivier Gagnon
76404dd83a fix mc 2021-09-10 00:14:53 -04:00
Olivier Gagnon
be08161442 corp api 2021-09-10 00:13:28 -04:00
hydroflame
7e8e9e03fc
Revert "Jest cypress types" 2021-09-10 00:13:03 -04:00
David Edmondson
0bc9bfb0f2 Update jest 2021-09-08 22:13:47 -07:00
David Edmondson
3473fc2ea6 Revert "fix tests"
This reverts commit 82c3362adca6c5b9499654586566ccfadf943e6a.
2021-09-08 22:13:46 -07:00
David Edmondson
0c0adf29d5 Separate src, test, cypress 2021-09-08 22:12:23 -07:00
Olivier Gagnon
82c3362adc fix tests 2021-09-07 14:31:47 -04:00
David Edmondson
d0ca2d8c36 Set up cy:test for production tests 2021-09-06 13:51:54 -07:00
David Edmondson
fbe70f51c2 Add browser tests for tutorial, NetScript 2 2021-09-06 13:49:34 -07:00
David Edmondson
17da325585 Cache npm install, add tests 2021-09-06 13:29:35 -07:00
David Edmondson
5873b5fe19 Try again 2021-09-06 13:24:33 -07:00
David Edmondson
6d8b52c0d6 npm install 2021-09-06 13:20:07 -07:00
Olivier Gagnon
aa91e8aecc fix ts warning 2021-09-05 14:18:33 -04:00
David Edmondson
3f8aa2aa9e Add async TS checker to build 2021-09-05 11:10:23 -07:00
Olivier Gagnon
cfdf23cd11 fix whitespace from new build 2021-09-05 01:33:05 -04:00
David Edmondson
306facc0d1 Switch to babel for builds.
Fix whitespace mangled by prettier
2021-09-04 22:17:30 -07:00
Olivier Gagnon
7f15a19f12 fix bad import 2021-09-04 20:09:22 -04:00
David Edmondson
cfbdae6def Switch ts and babel for swc-loader
Replace old <> assertion syntax
2021-09-04 16:57:49 -07:00
Olivier Gagnon
a18bdd6afc prettify, sorry for the big ass commit 2021-09-04 19:09:30 -04:00
hydroflame
3d7cdb4ef9
Merge pull request #1105 from danielyxie/dependabot/npm_and_yarn/jszip-3.7.0
Bump jszip from 3.1.5 to 3.7.0
2021-09-04 19:03:43 -04:00
hydroflame
570e5b17a2
Merge pull request #1122 from threehams/upgrade-acorn
Support optional chaining in static RAM calculator.
2021-09-04 19:03:22 -04:00
David Edmondson
1e42f73e2a Add prettier, and fix some CSS/line errors. 2021-09-04 13:18:35 -07:00
David Edmondson
38880f69e1 Update acorn for optional chaining support 2021-09-02 13:56:30 -07:00
Olivier Gagnon
9b501e061a merge dev 2021-09-02 03:16:58 -04:00
dependabot[bot]
6f3db27373
Bump jszip from 3.1.5 to 3.7.0
Bumps [jszip](https://github.com/Stuk/jszip) from 3.1.5 to 3.7.0.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.1.5...v3.7.0)

---
updated-dependencies:
- dependency-name: jszip
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 07:11:42 +00:00
Olivier Gagnon
454a792f0a Added mathjax formulas for favor and made favor calculation faster. 2021-09-02 03:10:12 -04:00
Olivier Gagnon
a721c49e1d more conversion 2021-08-31 00:54:57 -04:00
David Edmondson
701fba7ec7 Drop cross-env 2021-08-26 16:45:39 -07:00
David Edmondson
51bd626e88 Remove unneeded stuff, .vscode on gitignore 2021-08-26 16:44:37 -07:00
David Edmondson
ab4863e7df Swap out mocha/chai for jest 2021-08-26 16:43:11 -07:00
Olivier Gagnon
258716388e focus works 2021-08-20 15:46:59 -04:00
Olivier Gagnon
73ec97db87 first pass at monaco. 2021-08-20 15:46:58 -04:00
Olivier Gagnon
e18aa08eeb Fix crash when quitting an unfocused job 2021-08-10 19:36:52 -04:00
hydroflame
66c87b1f64
Merge pull request #673 from danielyxie/dependabot/npm_and_yarn/jquery-3.5.0
Bump jquery from 3.3.1 to 3.5.0
2021-05-17 21:51:00 -04:00
dependabot[bot]
7a0d0b3fec
Bump jquery from 3.3.1 to 3.5.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.3.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.3.1...3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-18 01:26:20 +00:00
dependabot[bot]
dd077152f4
Bump acorn from 6.2.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.2.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.2.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-18 01:20:42 +00:00
dependabot[bot]
5e517d1671
Bump codemirror from 5.43.0 to 5.58.2
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.43.0 to 5.58.2.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.43.0...5.58.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 00:32:31 +00:00
hydroflame
52a80ad236
v0.51.6 (#905)
* Make command `cd` without arguments an alias for `cd /` (#853)

In most shells `cd` without arguments takes you to the home directory
of the current user. I keep trying to do this due to muscle memory
from working in terminals, so I figured I'd make it do something useful.

There is no home directory in the game, but going to / is the closest
thing we have, since that is the starting point for the user in the
game.

* Add new `backdoor` terminal command (#852)

* Add the backdoor command to the terminal

This command will perform a manual hack without rewarding money. It will be used for the story, mainly for faction hacking tests

* Add tab completion for backdoor command

* Add help text for backdoor command

* Change condition syntax to be more consistent with others

* Extract reused code block so it is always called after actions

* Update documentation for new backdoor command

Modified references to manual hack as it isn't for factions anymore

* Remove extra parenthesis

* Rename manuallyHacked to backdoorInstalled

* Fix typo

* Change faction test messages to use backdoor instad of hack

* Rename more instances of manuallyHacked

* fixed typo in helptext of darkweb buy (#858)

* Fix typos and unify descriptions of augmentations (#859)

Made an attempt to...
- give all "+rep% company/faction" the same text
- make all augmentations with a single effect use a single line to describe the effect
- make all effects end with a period

* Made Cashroot starter kit display its tooltip with the money formatted properly and in gold

* fix typo in docs (#860)

* Initial code for Casino Card Deck implementation

* Casino Blackjack Implementation

* Update some tools (eslint, typescript)

* Blackjack code cleanup

* Update README_contribution

* Update ScriptHelpers.js (#861)

expand error message

* More augmentation typo fixes (#862)

* Add Netscript function getCurrentScript (#856)

Add netscript function that returns the current script.

* Added milestones menu to guide new players. (#865)

Milestone menu

* fix typos in milestones (#866)

Co-authored-by: sschmidTU <s.schmid@phonicscore.com>

* Corrupt location title when backdoor is installed (#864)

* Add corruptableText component

* Corrupt location title if backdoor is installed

* Formatting

* Add helper to check value of backdoorInstalled

Helper could be oneline but it would make it less readable

* Fix some formatting

* Add settings option to disable text effects

* Import useState

* getRunningScript (#867)

* Replaced getCurrentScript with getRunningScript

* Bunch of smaller fixes (#904)

Fix #884
Fix #879
Fix #878
Fix #876
Fix #874
Fix #873
Fix #887
Fix #891
Fix #895

* rework the early servers to be more noob friendly (#903)

* v0.51.6

Co-authored-by: Andreas Eriksson <2691182+AndreasTPC@users.noreply.github.com>
Co-authored-by: Jack <jackdewinter1@gmail.com>
Co-authored-by: Teun Pronk <5228255+Crownie88@users.noreply.github.com>
Co-authored-by: Pimvgd <Pimvgd@gmail.com>
Co-authored-by: Daniel Xie <daniel.xie@flockfreight.com>
Co-authored-by: Simon <33069673+sschmidTU@users.noreply.github.com>
Co-authored-by: sschmidTU <s.schmid@phonicscore.com>
2021-04-28 20:07:26 -04:00
hydroflame
b2aafea656
v0.51.5 (#848) 2021-04-21 08:20:26 -04:00
Olivier Gagnon
c9fe8d9b65 Sleeve UI improvements. 2021-03-16 05:42:12 -04:00
Olivier Gagnon
c285d494b9 update lodash 2021-03-07 22:49:55 -05:00
hydroflame
e9dfe3c389
v0.47.3 (#808)
* Updated ram cost of documentation

* v0.47.3

Co-authored-by: Samuel A. Lamb <samuei@users.noreply.github.com>
2021-03-07 04:13:37 -05:00
danielyxie
91ee65a101 Converted everything to use acorn npm package. Updated acorn packages to latest version. Updated acorn parsing to use ES9 2019-07-15 21:40:43 -07:00
danielyxie
7301946236 Added and Updated Stock Market tests for the new changes 2019-06-09 21:23:48 -07:00
danielyxie
74e72854d8 Configured unit test webpack build to work 2019-05-09 19:36:04 -07:00
danielyxie
ece246b391 Converted mocha unit tests to run using mocha-webpack (mochapack) package 2019-05-09 19:03:13 -07:00
danielyxie
cdb5dfec62 Resolved more circular dependencies. Installed acorn-walk and imported it in RamCalculations using ES6 modules. Fixed bugs in stock market rework 2019-05-06 18:01:06 -07:00
danielyxie
3a601a015d Added unit tests for Stock Market. Removed dependencies from package.json, since they're sourced directly in tests/index.html 2019-04-28 23:21:32 -07:00
danielyxie
4809a21e38 Finished React components for new Stock Market UI 2019-04-28 23:21:32 -07:00
danielyxie
5592a8bc96 Updated several packages 2019-03-27 01:53:30 -07:00
danielyxie
856d02a129 v0.45.1 2019-03-23 19:40:35 -07:00
danielyxie
3e10f5de6d Migrated Corporation UI implementation to use React 2019-03-13 15:17:30 -07:00
danielyxie
c6a9675232 New BitNode multipliers, new Covenant Sleeve Purchasing feature. untested 2019-02-13 18:08:18 -08:00
danielyxie
8d2c007bcb Implemented new Editor Option: CodeMirror. (Vim mode not 100% done yet) 2019-01-27 14:08:45 -08:00
danielyxie
7d51182c60 Updated mocha and node-sass dependency versions. removed nsp depdendency 2019-01-09 03:05:20 -08:00
danielyxie
1095438075 Implemented Corporation Research Tree UI using Treant library 2018-12-15 15:31:21 -08:00