Commit Graph

3910 Commits

Author SHA1 Message Date
hydroflame
82f6bbee13 Merge pull request from MartinFournier/fix/tests
Fix jest unit tests & add a github action workflow to build, test & lint
2021-12-19 22:35:25 -05:00
hydroflame
565e7677f8 Merge pull request from 2PacIsAlive/dev
Fix typo for Neuregen Augmentation
2021-12-19 22:33:31 -05:00
hydroflame
d1abe27484 Merge pull request from TheCoderJT/nuke-github-clarity
Fix Docs: made it more clear what nuke exe does
2021-12-19 22:32:41 -05:00
hydroflame
7710ae5564 Merge pull request from MageKing17/patch-1
Update NetscriptFunctions.ts
2021-12-19 22:32:02 -05:00
MageKing17
e521415273 Update NetscriptFunctions.ts
Just a simple change to make `alert` and `toast` reuse `argsToString` instead of `toNative` and `JSON.stringify` directly.

Fixes .
2021-12-19 16:58:49 -08:00
Jordan Turner
f678574a6c made it more clear what nuke exe does 2021-12-19 13:47:34 -07:00
Martin Fournier
8b355c365e Add github workflow to run tests, linter & build 2021-12-19 15:43:13 -05:00
Martin Fournier
2bbb767575 Fix remaining unit test issues 2021-12-19 15:42:40 -05:00
Jared Jolton
06acccdfe1 Fix typo for Neuregen Augmentation 2021-12-19 13:42:09 -07:00
Martin Fournier
3b99da8474 Lint current problems & fix ignore paths 2021-12-19 13:17:44 -05:00
Martin Fournier
92e8b42d18 Fix renamed functions from 1.0 release in tests 2021-12-19 12:37:42 -05:00
Martin Fournier
d1696148c4 Fix tests syntax for jest
Most tests could not run with jest because of syntax difference between
the old test runner.
2021-12-19 12:37:42 -05:00
hydroflame
890b1df593 Merge pull request from hexnaught/job-shortcut-key-patch
Only run job shortcut if the player has a job
2021-12-19 10:28:42 -05:00
hydroflame
3ed5aa8045 Merge pull request from MartinFournier/fix/skill-progress
Fix skills tooltip edge cases
2021-12-19 10:22:43 -05:00
Dan
2f9eb324b4 fix(shortcut): job shortcut only run when have job
The shortcut was always allowed to run, meaning when the player doesn't
have a job, they were sent to the job screen with no job and lost the
view context/sidebar.

- Add utility method to check if the player 'hasJob', being at least 1
job.
- Check if player has job when the key combination is pressed

Resolves 
2021-12-19 15:20:02 +00:00
hydroflame
8c2b969026 Merge pull request from millennIumAMbiguity/patch-2
Improve the readability of text in the theme editor.
2021-12-19 10:13:57 -05:00
hydroflame
29f1bed823 Merge pull request from millennIumAMbiguity/patch-3
Fixed grammar issues in NS.purchaseServer()
2021-12-19 10:13:44 -05:00
Martin Fournier
05ed3f5461 Fix skills tooltip edge cases 2021-12-19 05:51:35 -05:00
millennIumAMbiguity
69fda94808 Fixed grammar issues in NS.purchaseServer()
Removed the article: the it will -> it will
Changed the quantifier: the amount of servers -> the number of servers
2021-12-19 11:30:44 +01:00
millennIumAMbiguity
a9cf635a84 Improve the readability of text in the theme editor.
Copy the string above if you want to backup or share your theme with others. -> Backup your theme or share it with others by copying the string above.
Use the buttons below to replace the current theme with a pre-built template -> Replace the current theme with a pre-built template using the buttons below.
2021-12-19 11:14:16 +01:00
Olivier Gagnon
efc3992c78 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-19 00:44:03 -05:00
Olivier Gagnon
76890ad1b9 update doc 2021-12-19 00:43:58 -05:00
hydroflame
3a21beb708 Merge pull request from MartinFournier/feature/predetermined-themes
Add easily switchable predefined themes
2021-12-19 00:40:59 -05:00
hydroflame
a76f67ade5 Merge pull request from hexnaught/server-purchase-naming-patch
Fix issue of space in server name and server counting when made with same name
2021-12-19 00:35:24 -05:00
hydroflame
24f0c9e65d Merge pull request from hexnaught/alias-hyphen-allowed-patch
Allow hyphens in command aliases
2021-12-19 00:28:11 -05:00
hydroflame
e6b84a73b2 Merge pull request from MageKing17/patch-1
Update ls.tsx
2021-12-19 00:24:58 -05:00
hydroflame
b6df183953 Merge pull request from hexnaught/lowercase-exe-call-patch
Allow `.exe` (programs) to be ran in a case-insensitive `run`
2021-12-19 00:23:52 -05:00
hydroflame
f5f206561c Merge pull request from hexnaught/script-exists-command-errors-patch
Better feedback when looking for a running script.
2021-12-19 00:23:30 -05:00
hydroflame
1ea8c62d4f Create check.ts 2021-12-19 00:23:10 -05:00
hydroflame
bc7f94ddda Update check.ts 2021-12-19 00:23:01 -05:00
MageKing17
1dcc17c4fb Update ls.tsx
`args[numArgs - 1]` is the last argument in the list, so correct usage was being flagged as incorrect, and incorrect usage wasn't working anyway because the filter was `"undefined"`.

Additionally, the function seemed confused as to whether or not `ls` counted as an argument (AFAICT, it isn't).

Fixes .
2021-12-18 21:22:34 -08:00
Dan
6d79561859 fix(servers): fix issue of space in server name
Replace the space in a server name with a hyphen (-), also noticed some
interesting behaviour with the 'count up naming', so tweaked that.

Resolves 
2021-12-19 04:03:14 +00:00
Dan
b8b3897e64 fix(commands): tweak wording for consistency 2021-12-19 03:23:26 +00:00
Dan
b2add6c26b fix(commands): error feedback, wording consistency
Found most (hopefully all) places where the error message wording
incorrectly was shown to the tune of 'no script exists', where it should
have been showing to the effect of 'script is not running'.
Also cleaned up some of the consistency in the wording and added a
'helper' export for knowing valid script extensions used in validation
of 'isScriptFilename', so we can have consistent error messaging.

Resolves 
2021-12-19 03:10:43 +00:00
Dan
24c7fb2b92 fix(cli:run) case insensitive calls to program run
Allow the user to run programs (.exe) in a case insensitive manor

Resolves 
2021-12-19 02:41:21 +00:00
Dan
1f6954b393 fix(command:alias) allow hyphen in aliases
- Allow hyphens in aliases
- Remove redundant underscore, covered by '\w'

Resolves 
2021-12-19 02:09:47 +00:00
Olivier Gagnon
790ffeb8a1 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-18 18:15:19 -05:00
Olivier Gagnon
555216a39b Add confirmation to installing 2021-12-18 18:13:49 -05:00
hydroflame
aad4024e0f Merge branch 'master' into dev 2021-12-18 16:29:22 -05:00
Martin Fournier
db64d9869c Add easily switchable predefined themes
Includes the default theme and a Monokai-ish variant
2021-12-18 16:28:15 -05:00
Olivier Gagnon
02605090df v1.2.0 v1.2.0 2021-12-18 16:28:09 -05:00
hydroflame
853125009b Merge pull request from Rez855/feature/multi-tab-script-editor
Added the ability to open multiple script files at a time
2021-12-18 14:53:35 -05:00
hydroflame
b739d60490 Merge pull request from MartinFournier/feature/skill-progress-bars
Fix : Add skill progress to overview
2021-12-18 14:44:18 -05:00
hydroflame
d5201885aa Merge pull request from pobiega/fix/nformat-return-type
ScriptEditor NetScriptDefinitions: nFormat should return string
2021-12-18 14:40:20 -05:00
hydroflame
0ff110492e Merge pull request from wynro/add-ALL-to-enableLog
Add support for ALL argument in enableLog function
2021-12-18 14:39:44 -05:00
Olivier Gagnon
4eb1914c79 re-add n00dles in beginer guide 2021-12-18 14:37:52 -05:00
Olivier Gagnon
47f20c666e Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-18 14:36:30 -05:00
hydroflame
da58c1df9f Merge pull request from cblte/patch-1
Update gettingstartedguideforbeginnerprogrammers.rst
2021-12-18 14:36:25 -05:00
hydroflame
c723c7ecd2 Merge pull request from billyvg/feat/add-ctrl-u-clear-line
feat: Add `ctrl+u/k/w` hotkeys
2021-12-18 14:35:12 -05:00
Olivier Gagnon
d45d6c8f3a Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-18 14:29:04 -05:00