Commit Graph

222 Commits

Author SHA1 Message Date
hydroflame 561219a0ab Merge branch 'dev' into bugfix/2877-2 2022-03-17 12:05:38 -04:00
hydroflame 9453537af4 Merge pull request #3151 from Master-Guy/issues/2877
Remove IP option from connect helptext
2022-03-17 12:04:53 -04:00
Master-Guy 93f4c499d4 Quick fix to prevent division by 0 2022-03-17 16:56:32 +01:00
phyzical 9949cc9a1e removed ip references 2022-03-17 21:50:23 +08:00
Master-Guy 01776bffac remove IP option from connect helptext 2022-03-17 13:00:07 +01:00
BB 5e2ccc71ec Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden 2022-03-11 16:32:48 +01:00
hydroflame b7ffdeb5e2 Merge pull request #3076 from ApamNapat/turned_two_eslint_rules_on
Trailing whitespace and files not ending with \n are now illegal
2022-03-10 22:12:17 -05:00
hydroflame 2dfecc8ad0 Merge pull request #3093 from mbrannen/expr-remainder-fix
updated regex sanitization
2022-03-10 21:39:59 -05:00
mbrannen 9602dbda2e Update src/Terminal/commands/expr.ts
Updated to ApamNapat's suggestion

Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-08 18:02:54 -07:00
BB 2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
hydroflame 92909689b3 Merge pull request #2891 from tigercat2000/autocomplete_documentation
Terminal: There is now an interface definition for the autocomplete() 'data' argument.
2022-03-08 16:34:57 -05:00
mbrannen bb6d90fb41 updated expression.
-removed escaping and reverted back for /
2022-03-07 23:50:05 -07:00
mbrannen 31ea56084e updated regex sanitization
-allows %
-updated escape characters to \
2022-03-07 23:15:55 -07:00
BB 2c3e0985c4 Simplified some relative imports 2022-03-06 05:05:55 +01:00
citrusmunch cc3452a766 FIX: old name netstat/scan to just scan
seems like an old/deprecated name not used anywhere else
2022-02-14 00:47:37 -05:00
tigercat2000 f0557eadf7 Terminal: There is now an interface definition for the autocomplete() 'data' argument. 2022-01-31 20:47:15 -08:00
SagePtr 40f2d16f44 Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command 2022-01-29 18:10:59 +02:00
Martin Fournier 588c3e42d7 Refactor download.ts (export "download *" command)
Export the "download *" helper to be able to be called from Electron.
2022-01-26 03:40:22 -05:00
hydroflame ea9871fef0 Merge pull request #2641 from MartinFournier/feature/save-command-history
Copy terminal command history into game save
2022-01-26 00:47:02 -05:00
Martin Fournier e7aa977eb0 Persist terminal command history in game save
Copy the terminal commands into the player object so that they are saved
between game reloads.

Adds a 'history' command to display history, and a 'history -c' command
to clear it from both the current terminal & the player's save.
2022-01-23 17:09:54 -05:00
zeddrak 4ffe5508dc HacknetServer Grow/Weaken error messages
It may be intentional to use hack for all 3 (ie, assume the player makes the connection that can't hack, also means can't grow or weaken), in which case, disregard.
On the other hand, it could've easily been a copy/paste artifact, and this would be more explicitly clear, so thought it was worth bringing up.
2022-01-22 14:47:33 -08:00
hydroflame 27a54217eb Merge pull request #2653 from nickofolas/fix/refactor-loops
Refactor `for ... in` loops
2022-01-17 16:01:04 -05:00
hydroflame 247c02856a Merge pull request #2658 from smolgumball/clickable-ls-style-tweak
Fix issues with timestamps on same line as clickable script rows in `ls`
2022-01-17 15:55:22 -05:00
nickofolas 7a31b19c88 Fix formatting lost in merge commit 2022-01-16 20:40:11 -06:00
smolgumball cb82907817 Fix issues with timestamps on same line as clickable script rows in ls 2022-01-15 21:29:12 -07:00
nickofolas ab841f7530 Refactor for ... in loops 2022-01-15 18:45:03 -06:00
hydroflame 0c7070ad32 Merge pull request #2548 from smolgumball/ls-clickable-scripts
feat: add clickable script links to `ls` command
2022-01-15 17:49:23 -05:00
hydroflame 6bf6d1f217 Merge branch 'dev' into add-simple-globs-nano-vim 2022-01-15 17:38:25 -05:00
nickofolas d136198738 Add autocomplete to help command 2022-01-14 15:25:30 -06:00
Martin Fournier aa3a253b14 Cancel debounced events on terminal unmount 2022-01-14 14:32:30 -05:00
nickofolas c7b3b9918e Update help text formatting 2022-01-13 18:47:21 -06:00
hydroflame 979d785af6 Merge pull request #2572 from nickofolas/fix-relative-autocomplete
Fix autocomplete in directories
2022-01-11 18:20:45 -05:00
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