nickofolas
5764b783de
Fix autocomplete in directories
2022-01-11 17:04:14 -06:00
Jeffrey A. Robinson
b5392df7a9
Analyze now outputs if a server has a backdoor installed or not
2022-01-11 13:03:23 -08:00
Russell Stringer
26ef94b062
Fixes autocomplete when running script in a directory without using leading slash
...
Fixes #1681
2022-01-11 12:05:32 -05:00
hydroflame
9da46668c7
Merge pull request #2544 from nickofolas/autocomplete-partial-executable
...
Autocomplete partial executables
2022-01-11 11:13:45 -05:00
hydroflame
923dbdc9d1
Merge pull request #2549 from markusariliu/patch-1
...
clarify error
2022-01-11 11:13:17 -05:00
Martin Fournier
25839d592d
Fix mem padding when using GiB
2022-01-11 05:12:59 -05:00
markusariliu
bb85568cbf
clarify error
...
The error message for running multiple instances of the same script with the same args should be updated to clarify that the args is the issue not just the multiple instances
2022-01-10 21:54:38 -08:00
smolgumball
c8db709287
Add hostname safety
2022-01-10 21:00:52 -07:00
smolgumball
358f5ee8ee
Add simple clickable links to ls command
...
Only supports `nano` as I couldn't figure out how to infer `vim`
support without an explicit `nano` or `vim` command being run.
2022-01-10 20:40:02 -07:00
nickofolas
5cd7e2cfbc
Add support for contract completion
2022-01-10 16:39:06 -06:00
nickofolas
8c001bd1ae
Allow autocomplete for partial executables
2022-01-10 16:32:50 -06:00
Martin Fournier
7ee2612c17
Allow drag on character overview
...
Makes the character overview (and tutorial) draggable, persisting the
{x, y, opened} in the user's settings.
- Remove margin & padding from html, body and ensure main content is
full height
- Add setting to disable progress bars
- Refactor options to use new OptionSwitch
- Add exclusions to prettierignore
- Specify line ending in prettier & gitattributes
2022-01-10 07:37:01 -05:00
smolgumball
3f032d7006
Update verbiage to match UI (Script Editor vs. Text Editor)
2022-01-09 20:41:48 -07:00
smolgumball
b6f252cd8c
Update terminal help to mention globs; refactor to dedupe nano/vim usage details
2022-01-09 20:26:56 -07:00
smolgumball
74ba063772
Add simple glob support to nano/vim usage
2022-01-09 20:26:26 -07:00
Olivier Gagnon
d8a5f5b03c
many fixes
2022-01-09 15:24:32 -05:00
nickofolas
474ab69301
Fix terminal grow/weaken EXP gain
2022-01-08 15:57:44 -06:00
JustAnOkapi
00b838dab2
fix two typos in HelpText
...
mem -tab
scp +tab
2022-01-08 14:15:40 -06:00
Martin Fournier
f9ed45a895
Pass server to terminal actions that end later
...
Adds the current server object to the finishAction handler so that if
the player changes during the progress he'll hit the original server
with the command.
2022-01-08 11:29:00 -05:00
Martin Fournier
8b2ad883e4
Add save file warning for detailed ram usage
2022-01-06 21:13:38 -05:00
hydroflame
c722ff5982
Merge pull request #2373 from MartinFournier/feature/mem-verbose
...
Add detailed ram cost to mem command
2022-01-06 11:25:41 -05:00
Martin Fournier
4fad90ed4d
Multiply ram cost by threads
2022-01-05 18:32:29 -05:00
Martin Fournier
b345da9dee
Change detailed mem format
2022-01-05 18:04:26 -05:00
Martin Fournier
4b06bdd89c
Add detailed ram cost to mem command
2022-01-05 16:41:48 -05:00
Sage Pointer
0bd8d3cb8f
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-05 22:23:10 +02:00
Olivier Gagnon
faf8389bef
v1.3
2022-01-04 20:46:10 -05:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05: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
Olivier Gagnon
52f2e52456
minor tweak to scp error message
2021-12-16 12:14:48 -05:00
Jordan Turner
ac79d0aea4
adjusted the wording and added dynamic player server location
2021-12-15 17:52:08 -07:00
Jordan Turner
4836617745
made the terminal error more clear based on issue 1920
2021-12-15 17:19:45 -07:00
theit8514
8ef227595a
Add support for relative paths in mv
...
Fixes mv command deleting file on overwrite
2021-12-15 17:46:36 -05:00
theit8514
4e022c68e9
Add support for relative paths in cp
...
Fix cp error messages
Add support for directory destinations (e.g. copy file.js directory)
2021-12-15 17:36:15 -05:00
Olivier Gagnon
4d80813707
bugfix
2021-12-14 15:56:11 -05:00
Olivier Gagnon
1b42b51e5f
few bugfix
2021-12-13 18:44:52 -05:00
Olivier Gagnon
f111beb399
rm consolelog
2021-12-03 15:20:31 -05:00
Olivier Gagnon
0b92f706ad
terminal parses boolean exactly.
2021-12-03 14:46:40 -05:00
Olivier Gagnon
13b08d7cc8
terminal parses boolean exactly.
2021-12-03 14:44:32 -05:00
Olivier Gagnon
99ed9b25a3
autolink less lines
2021-12-03 14:17:29 -05:00
Olivier Gagnon
7ee5d8d71a
more achievements
2021-11-28 23:51:01 -05:00
Olivier Gagnon
fe3aa5a357
rm references to fconf
2021-11-26 18:05:14 -05:00
Olivier Gagnon
1cecfa7108
few fixes
2021-11-26 18:04:33 -05:00
Alain Bryden
ef23033b2c
#1773 - Fix duplicate file extensions
...
For some time now, filenames have included the extension, so there's no need to append ".js" either on a single-file download or zip download.
While I was in the area, I also fixed .txt files in a folder - they had the same bug as scripts used to (appear in the zip as an underscore). I consolidated the code since it was the same for script files and text files.
I also added the ability to download *.js and *.ns (previously only supported *, *.script, and *.txt)
I also made the wildcard matching just a bit more flexible, so if someone really wanted to, they could go "download *blah.js" and get all scripts ending with that pattern ¯\_(ツ)_/¯
2021-11-25 23:06:13 -04:00
Olivier Gagnon
b80d12b9f8
v1.0.2 part 1
2021-11-19 15:44:12 -05:00
Olivier Gagnon
ef781a0627
plenty of bf
2021-11-15 23:49:33 -05:00
Olivier Gagnon
275c740a16
boost terminal grow
2021-11-13 20:53:21 -05:00
Olivier Gagnon
22048d6ba6
await compiel
2021-11-13 19:35:44 -05:00
Olivier Gagnon
3112dc60c0
few more bugfixes
2021-11-11 23:28:08 -05:00
Olivier Gagnon
cf2efe7698
few bugdic
2021-11-11 17:00:36 -05:00
Olivier Gagnon
3f28b066b0
working on timestamps and make netscript function highlight more specific.
2021-11-11 10:07:16 -05:00
Olivier Gagnon
eb6f016ac1
fix corp softcap
2021-11-05 21:01:23 -04:00
Olivier Gagnon
88b4a7d862
bugfix
2021-11-05 17:12:52 -04:00
Olivier Gagnon
0bee743b47
v1.0.0 migration guide
2021-11-02 22:49:46 -04:00
Olivier Gagnon
6835cbaa26
fix autoc single letter flags
2021-10-27 19:21:28 -04:00
Olivier Gagnon
f92db3b8f8
fix ram miscalc
2021-10-27 19:10:15 -04:00
Olivier Gagnon
48988e228e
track money more precisely.
2021-10-27 14:18:33 -04:00
Olivier Gagnon
504ee46950
terminal colors
2021-10-26 20:26:05 -04:00
Olivier Gagnon
d6ea9c55b1
fixed folder adding space in autocom
2021-10-15 18:33:27 -04:00
Olivier Gagnon
c1d4ced331
autocomplete
2021-10-15 13:12:18 -04:00
Olivier Gagnon
6b0e5416c4
wtf
2021-10-15 12:47:43 -04:00
Olivier Gagnon
7417ff8a10
tmp
2021-10-14 23:11:31 -04:00
Olivier Gagnon
4603216aa0
autocomplete
2021-10-14 22:36:28 -04:00
Olivier Gagnon
6b114fab7d
remove unused stuff
2021-10-14 18:45:50 -04:00
Olivier Gagnon
e245c2d3a7
fixed a few things
2021-10-14 02:07:05 -04:00
Olivier Gagnon
b1e37acaa1
added autocomplete for scp
2021-10-11 22:35:00 -04:00
Olivier Gagnon
65ee49fb92
Added cp command
2021-10-11 22:34:04 -04:00
Olivier Gagnon
8e07cc999d
change GB to TBPBEB
2021-10-11 18:14:10 -04:00
Olivier Gagnon
cdbbc657e2
nano new ns2 file starts with param
2021-10-09 23:21:22 -04:00
Olivier Gagnon
995a0b11d9
build fix for duplicate autocomplete
2021-10-09 23:07:18 -04:00
Olivier Gagnon
7d0536a4d2
finish convert to hostname
2021-10-07 17:55:49 -04:00
Olivier Gagnon
a7dfb1a537
more convertion from ip to hostname
2021-10-07 16:56:01 -04:00
Olivier Gagnon
be29481689
unexport AllServers
2021-10-07 16:04:04 -04:00
Olivier Gagnon
c47a5bc8cc
added grow, weaken, and time compression
2021-10-04 19:58:34 -04:00
Olivier Gagnon
33ea31be87
convert autocomplete to tooltip
2021-10-04 17:52:20 -04:00
Olivier Gagnon
cc02701e97
fix autolink wrong font
2021-10-01 16:42:07 -04:00
Olivier Gagnon
4e8bb96f3f
removing some of the classes
2021-10-01 13:08:37 -04:00
Olivier Gagnon
62cd8ffcc6
pre-dialogbox-convert
2021-10-01 01:00:50 -04:00
Olivier Gagnon
c5713fa6d8
learned and implemented default props
2021-09-29 01:49:22 -04:00
Olivier Gagnon
06f716c0fa
moved a bunch of files
2021-09-25 14:42:57 -04:00
Olivier Gagnon
1d349c25f7
imrpove terminal performance
2021-09-24 19:12:53 -04:00
Olivier Gagnon
ec33fb411c
fix scripts not dying
2021-09-24 19:09:19 -04:00
Olivier Gagnon
a32b8eabe3
SaveObject in ts
2021-09-24 18:40:17 -04:00
Olivier Gagnon
2e05f14c0d
convert to ts
2021-09-24 16:34:21 -04:00
Olivier Gagnon
b8faa9dc0b
convert player to ts
2021-09-23 18:47:43 -04:00
Olivier Gagnon
66a2adaeb4
update prettier
2021-09-22 12:56:55 -04:00
Olivier Gagnon
558b671206
few bugfix
2021-09-22 11:32:04 -04:00
Olivier Gagnon
f9a4eadb71
removed some of fconf
2021-09-22 01:36:17 -04:00
Olivier Gagnon
55901f0574
Let player copy terminal
2021-09-22 00:57:37 -04:00
Olivier Gagnon
43f0746be7
fix ls not working on dir
2021-09-22 00:48:13 -04:00
Olivier Gagnon
9a6b185141
few fixes
2021-09-21 17:36:42 -04:00
Olivier Gagnon
57a5c8b0b4
add difficulty to bitnode screen
2021-09-21 16:49:38 -04:00
Olivier Gagnon
44d6845883
biuld 0.54.0
2021-09-20 00:38:05 -04:00
Olivier Gagnon
a3e624deba
remove ns2 example doing DOM manip
2021-09-20 00:14:30 -04:00
Olivier Gagnon
7355f4212b
no more console log
2021-09-19 23:30:46 -04:00
Olivier Gagnon
fb37f6b94d
lint
2021-09-19 23:29:02 -04:00
Olivier Gagnon
ce3898367c
remove unused css file
2021-09-19 03:38:43 -04:00
Olivier Gagnon
cd0aa192f5
fix terminal not cancelling.
2021-09-19 03:29:36 -04:00
Olivier Gagnon
374b81ffae
Rework tutorial
2021-09-19 03:13:49 -04:00
Olivier Gagnon
652428b164
merge master
2021-09-19 00:59:13 -04:00
Olivier Gagnon
38408294cc
build terminal string parsing fix
2021-09-19 00:55:29 -04:00
Olivier Gagnon
023f2b8309
ITutorial in react
2021-09-19 00:46:39 -04:00
Olivier Gagnon
61e3959a25
Improve event emitter
2021-09-18 15:44:39 -04:00
Olivier Gagnon
23e8bc2e71
merge master
2021-09-18 02:38:15 -04:00