Commit Graph

165 Commits

Author SHA1 Message Date
hydroflame 980b58d00a Merge pull request #2328 from danielyxie/dev
update
2022-01-04 12:26:23 -05:00
Sage Pointer c19e5d0fe6 Fix some achievements not triggered if hacked with backdoor command
Moving to BitVerse and returning from function happened before setting backdoorInstalled property to true, so Achievement Handler believed the current BitNode was not finished (unless we applied backdoor through hack command, which has correct code).
2022-01-03 07:31:48 +02:00
hydroflame 9673b6f31d Merge pull request #2170 from theit8514/mv-overwrite
Fix mv overwriting script files
2021-12-29 01:58:37 -05:00
hydroflame f674d2d253 Merge pull request #2169 from maxtimum/feature/add_grep_option_to_ps
Feature/add grep option to ps
2021-12-28 10:35:26 -05:00
hydroflame 5aff5fc944 Merge pull request #2193 from Frank-py/patch-2
Updated Terminal.tsx to add keypress event.
2021-12-28 10:33:04 -05:00
hydroflame e583b46b16 Merge pull request #2202 from amclark42/help-analyze-typo-fix
Fix two typos in `help` command text
2021-12-28 10:32:19 -05:00
hydroflame a29ffead78 Merge pull request #2211 from anthonydroberts/buy-all-option
Add buy all option to buy terminal command
2021-12-28 10:30:54 -05:00
Tony Roberts e9fd5f46eb Add buy all option to buy terminal command 2021-12-28 03:15:29 -05:00
Andrew Cooper 33e4e31099 Fixes scp and mem helptext. 2021-12-28 00:54:35 +00:00
Ash Clark 58dd450aca Fix two typos in help command text 2021-12-27 11:47:02 -05:00
Frank-py 73adc71965 Updated Terminal.tsx to add keypress event.
Added keypress event to delete the word after input by pressing "alt" + "d".
2021-12-25 23:11:21 +01:00
maxtimum 07b00bc377 add -g, --grep flags to ps command, documentation 2021-12-23 22:31:07 -08:00
theit8514 2d949c076b Fix mv overwriting script files 2021-12-23 21:31:59 -05:00
maxtimum deb6d6cc0a add option to pass grep pattern to ps 2021-12-23 17:39:45 -08:00
Olivier Gagnon ed86577d6c imports are more flexible 2021-12-23 15:57:32 -05:00
Andrew Cooper 7805b72457 'help run' docs now mentions coding contracts. 2021-12-23 01:23:57 +00:00
theit8514 06ec11a107 Fix cp from another folder to current folder
src is already passed through getFilepath. Doing it again roots the file in the current directory.
2021-12-22 12:34:08 -05:00
hydroflame 366bffad85 Merge pull request #2098 from FOLLGAD/patch-2
Fix incorrect help entry for "weaken" command
2021-12-22 12:17:11 -05:00
Martin Fournier 6b59a58ea3 Fix linter errors 2021-12-22 04:44:07 -05:00
Emil Ahlbäck e7e1e82394 Update HelpText.ts 2021-12-21 22:16:12 +01:00
Billy Vong bb2f8e883c feat: Support opening multiple files from command line 2021-12-20 16:55:17 -05:00
Billy Vong d30edc7f59 feat: Add vim terminal command 2021-12-20 16:20:50 -05:00
Olivier Gagnon 41a7109baa fix 2021-12-20 15:48:26 -05:00
Olivier Gagnon ddd0eaaf5c weaken message 2021-12-20 14:13:56 -05:00
65-7a 3df0fd3945 Add script files to tab completion for cat 2021-12-20 21:11:58 +11:00
65-7a 14532cd0a8 Allow cat to work on scripts 2021-12-20 21:11:28 +11:00
hydroflame 3255768259 Merge pull request #1993 from Nick-Colclasure/file-read-patch
Fix problems finding root files in cat and ns.read
2021-12-20 01:56:20 -05:00
Nicholas Colclasure 61dde4cfac Fix issue introduced handling files in subdirectories ._. 2021-12-19 13:03:50 -08:00
Martin Fournier 3b99da8474 Lint current problems & fix ignore paths 2021-12-19 13:17:44 -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 e6b84a73b2 Merge pull request #2031 from MageKing17/patch-1
Update ls.tsx
2021-12-19 00:24:58 -05:00
hydroflame b6df183953 Merge pull request #2008 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 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 #1994.
2021-12-18 21:22:34 -08: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 danielyxie/bitburner#1966
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 danielyxie/bitburner#1958
2021-12-19 02:41:21 +00:00
hydroflame c723c7ecd2 Merge pull request #1957 from billyvg/feat/add-ctrl-u-clear-line
feat: Add `ctrl+u/k/w` hotkeys
2021-12-18 14:35:12 -05:00
Nicholas Colclasure 8ba5199e54 Fix problems finding root files in cat and ns.read
Cat ends up translating the path it receives from relative to absolute twice, which I fix by changing the filename to an absolute path before it's passed to getTextFile with a leading "/" so that it doesn't interpret the filename as being relative.

Read I fixed by causing getTextFile to remove the leading "/" from files that are in the root directory, since that is required to translate their name into the native "filesystem"s format.
2021-12-17 20:40:46 -08:00
Olivier Gagnon ae6f8c5ee7 make tutorial better 2021-12-16 20:54:50 -05:00
Olivier Gagnon 81e291ef6a change color of terminal input 2021-12-16 20:20:07 -05:00
Olivier Gagnon 99f3566e52 bugfix 2021-12-16 20:09:19 -05:00
Billy Vong 9b64551197 Merge branch 'dev' into feat/add-ctrl-u-clear-line 2021-12-16 17:07:39 -05:00
Billy Vong 2e9a42d74c add comment 2021-12-16 17:03:49 -05:00
Billy Vong 2804b6ae56 remove console 2021-12-16 17:03:15 -05:00
Billy Vong d4bf6100a3 feat: Add ctrl+u/k/w hotkeys
Adds the `ctrl+u/k/w` hotkeys to clear line before and after, as well as deleting word before cursor. I implemented deleting word after cursor, but I have not repod the functionality in bash, so I did not add the hotkey.
2021-12-16 16:59:24 -05:00
Martin Fournier e8e2760c73 Fix #1880: Show git commit of bundled app 2021-12-16 15:25:59 -05:00
Olivier Gagnon 9292484ed0 minor tweak 2021-12-16 12:29:41 -05:00
Olivier Gagnon a1af0318d8 minor error message tweak 2021-12-16 12:20:04 -05:00
hydroflame b05645a61c Merge pull request #1936 from TheCoderJT/issue1920
Issue1920
2021-12-16 12:19:23 -05:00