Commit Graph

363 Commits

Author SHA1 Message Date
Snarling
83c62bbc63 silent fail for tabcompletion compile error 2022-09-27 15:35:39 -04:00
Snarling
572c68738f Unify error handling 2022-09-27 15:34:47 -04:00
Mughur
d99d37f191 Bunch of corporation fixes 2022-09-23 13:13:33 +03:00
G4mingJon4s
22a35af6b6 Added hover style change for better recognition 2022-09-14 15:59:55 +02:00
G4mingJon4s
c29b4cfda9 Fixes #2795, adding better underlines for links 2022-09-13 20:09:58 +02:00
Olivier Gagnon
759de85559 Fix unique key problem with ascii elements 2022-08-29 16:59:38 -04:00
Snarling
6f36e9cdc5 Fix/Unify NS1 wrapper 2022-08-27 20:56:12 -04:00
hydroflame
d553a1d2f4
Merge pull request #3981 from Snarling/B&AFix
FILES: FIX #3979 Allow characters & and ' in filenames
2022-08-23 12:25:55 -03:00
Snarling
823cdf70ca Fix compile race conditions 2022-08-19 18:21:31 -04:00
Snarling
9e2e459cc2 Allow & and ' in filenames 2022-08-17 08:14:15 -04:00
Snarling
931ea730a5 Move entire ns object to top-level 2022-08-09 18:09:26 -04:00
Olivier Gagnon
326d9fd7ef Move player skills and exp to their struct 2022-07-26 23:54:17 -04:00
hydroflame
9e25833796
Merge pull request #3606 from RevanProdigalKnight/feature/enhanced-terminal-argument-parsing
MISC: #3596 Enhanced terminal command parsing
2022-07-21 18:36:54 -04:00
Olivier Gagnon
2d522ea1e6 allbuild commit e9254edf 2022-07-21 15:09:55 -04:00
hydroflame
d2c92c4116
Merge pull request #3881 from evil-tim/ctrl-c-bash-hotkey
UI: Fix #3854 ctrl+c does not clear terminal input
2022-07-21 01:27:03 -04:00
Olivier Gagnon
c9b9c2c55b merge dev 2022-07-20 12:16:42 -04:00
Olivier Gagnon
49f6fda1e4 remove last colon any for now 2022-07-20 01:48:54 -04:00
Olivier Gagnon
71d8e35bb5 more anys 2022-07-19 23:26:21 -04:00
Olivier Gagnon
ce2ebf576e fix an any 2022-07-19 22:44:45 -04:00
Olivier Gagnon
810f3a87b9 rm more anys 2022-07-19 21:53:43 -04:00
Olivier Gagnon
8773b8e18d fix any in determineAllPossibilitesForTabCompletions 2022-07-18 03:19:10 -04:00
hydroflame
f339e49aa7
Merge pull request #3787 from Undeemiss/bladeburner-multi-upgrade
BLADEBURNER: Added bulk upgrades to upgradeSkill NS API
2022-07-15 23:40:55 -04:00
Olivier Gagnon
5b8eea66d4 rm some any 2022-07-15 23:34:27 -04:00
Olivier Gagnon
4bee746576 rm any 2022-07-15 01:51:30 -04:00
Olivier Gagnon
ad098e1f05 refactor ANSII colors into it's own component 2022-07-14 16:25:20 -04:00
James Villegas
6d8a3e192b Update ctrl+c hotkey to print current text to terminal without executing it to mimic real terminal behavior 2022-07-07 08:11:34 +08:00
James Villegas
6c026e6d5c Ignore ctrl+c bash hotkey if user has selected text to allow copying 2022-07-03 12:18:47 +08:00
James Villegas
9efb209ea3 Implement ctrl+c bash hotkey to clear current input 2022-07-03 11:49:45 +08:00
Douwe Schulte
934a72b94c
Fix Nitpick: scan-analyze description displays with an html tag when doing help #3843 2022-06-22 14:06:05 +02:00
Undeemiss
f8f3c099e0 Formatted/linted (There are some errors, but they aren't mine afaik) 2022-05-28 21:35:20 -05:00
Olivier Gagnon
76ccb0ba36 lint 2022-05-25 11:43:43 -04:00
Olivier Gagnon
bd6705419c lint 2022-05-25 11:15:34 -04:00
Olivier Gagnon
63b0b22f92 Fix tor router from anywhere 2022-05-25 11:14:06 -04:00
phyzical
bc5377ba74
fix tests
bugfix/fix-tests

File List:
src/Terminal/determineAllPossibilitiesForTabCompletion.ts
test/jest/Terminal/Directory.test.js
2022-05-25 19:03:58 +08:00
borisflagell
12ec35823e MISC: FIX #2555 ManualHackMoney Bitnode multiplier being orphaned
Apply the BitnodeMultipliers.ManualHackMoney to money gained via Terminal's hack program.
2022-05-21 22:53:31 +02:00
Olivier Gagnon
3699b3aa25 allbuild commit b71418b0 2022-05-20 23:50:28 -04:00
hydroflame
084a29dfe4
Merge pull request #3474 from Hoekstraa/mvfix
UI: FIX #3473 'mv' now says destination script is running instead of returning an error
2022-05-19 02:16:33 -04:00
Dane Horn
1a9d3ee998 clean up regex and adjust tests to new criteria 2022-05-15 09:43:40 +02:00
Dane Horn
0988ec8226 adjust regex for directory name
new regex allows for more flexible folder names, while still disallowing '.' and '..'
2022-05-15 09:43:40 +02:00
RevanProdigalKnight
8e092939ce Fix indentation 2022-05-13 21:44:32 -06:00
RevanProdigalKnight
7a6809f66c
Simplify quoted string argument parsing 2022-05-13 21:39:20 -06:00
hydroflame
386dac4be2
Merge pull request #3619 from Snarling/usedRamFix
MISC: FIX #3593 Float errors can no longer prevent full usage of a server's available ram.
2022-05-13 11:06:49 -04:00
Undeemiss
831b2262de Reran format and lint 2022-05-11 16:06:05 -05:00
Undeemiss
a23c55c760 Added a check to prevent doubling coding contract rewards 2022-05-11 15:51:54 -05:00
Snarling
fe1dd11269 Only mention number of threads if != 1
Fixes confusion mentioned here: https://discord.com/channels/415207508303544321/921120989000114257/971233305020231722
2022-05-06 09:15:48 -04:00
Snarling
99a0337a14 Dirty fix for available ram float errors
1MB added to available ram when checking if available is sufficient. All actual ram values in game are a multiple of 50MB so an extra 1MB can't ever allow additional script load to be ran.
2022-05-06 08:56:19 -04:00
Olivier Gagnon
36c7ef1ad7 support ASNI 2022-05-04 12:21:16 -04:00
hydroflame
be9f67b38a
Merge pull request #3605 from Hoekstraa/key-to-keycode
UI: FIX #3592 Sidebar and bash shortcuts now work on MacOS with US-like layouts
2022-05-04 11:49:17 -04:00
RevanProdigalKnight
286ab64d67 Ran formatter 2022-05-04 08:32:55 -06:00
RevanProdigalKnight
8d5f80de26 Fixes linter/build errors from editing last night in GitHub 2022-05-04 08:27:52 -06:00
RevanProdigalKnight
36db849ff1
Upgrade terminal ParseCommand function
Adds ability to parse arbitrarily-nested strings into single arguments (see comments on lines 48, 64, 76)
Adds ability to parse additional number formats, e.g.: hexadecimal (0x0A), octal (018), and binary (0b1101)
Combines arguments separated with escaped spaces into single string arguments, e.g.: "echo Hello\ World!" -> ["echo", "Hello World!"]
2022-05-04 00:46:15 -06:00
Zoë Hoekstra
016a9a873f
Add keycode table and switch to event.code in select places 2022-05-03 15:59:46 +02:00
Olivier Gagnon
f10de908d4 Make tutorial explain ns1 vs ns2 better 2022-04-29 17:54:59 -04:00
hydroflame
307ec7961a
Merge pull request #3524 from Snarling/realignAutocomplete
UI: FIX #3522 realigned autocomplete popup
2022-04-20 13:05:27 -04:00
Snarling
3f53a1f090 Format+lint 2022-04-20 10:05:55 -04:00
Snarling
16e507127a Allow cd .. into empty directories 2022-04-20 10:03:51 -04:00
Snarling
5898e27529 Change alignment of autocomplete popper 2022-04-20 09:19:33 -04:00
JP Sugarbroad
01d7ac6967 make jQuery use explicit 2022-04-19 16:14:16 -07:00
Snarling
f466a880eb Fix style + Format/Lint 2022-04-18 07:55:59 -04:00
Snarling
02ccda197c WIP 2022-04-18 07:41:09 -04:00
Zoë Hoekstra
43807fb757
Add code for handling when dest. script is running 2022-04-15 19:44:08 +02:00
Chris380
bfa19eb7ba Make .lit and .msg files clickable 2022-04-14 16:23:45 +02:00
hydroflame
0d11a18ca9
Merge pull request #3428 from Chris380/bugfix/2367_reject_cd_to_invalid_folders
Reject cd to invalid folders
2022-04-13 11:27:35 -04:00
Olivier Gagnon
501b69bbc2 tighten messages types wth enums 2022-04-13 11:10:56 -04:00
chris380
d93ab92f69 Reject cd to invalid folders 2022-04-13 16:07:41 +02:00
Olivier Gagnon
8958046421 fix test 2022-04-12 14:06:24 -04:00
chris380
93f59f0df2 formatting updated 2022-04-12 15:11:38 +02:00
chris380
16720ec3b7 update connect help text 2022-04-12 15:08:04 +02:00
chris380
6a941d57ed Add backdoored servers to connect autocompletion 2022-04-12 15:03:45 +02:00
Olivier Gagnon
48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
phyzical
61fc815a6b added apr1 terminal command
* just opens the rickroll modal
2022-04-02 20:08:57 +08:00
Heinous Tugboat
9b0422f9ee Removes extra asterisk in template 2022-03-30 10:18:07 -04:00
hydroflame
0e89017794
Merge pull request #3246 from phyzical/refactor-more-key-codes
slice out event key constant refactors
2022-03-30 00:12:36 -04:00
hydroflame
3456acc6a8
Update connect.ts 2022-03-29 11:27:34 -04:00
Thomas B
0a9bded0d8
Clarify Error Message
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-28 08:33:05 -04:00
Thomas B
fe0b6d5982
Clarified error message 2022-03-25 09:41:23 -04:00
phyzical
c681828ec1 few more event key. constant refactors 2022-03-24 23:09:24 +08:00
Olivier Gagnon
05fe14a5ed Fix some key not working 2022-03-20 23:11:26 -04:00
BB
9c9550ad42 Removed unreachable code 2022-03-20 19:33:10 +01:00
hydroflame
9922ffb3c2
Merge branch 'dev' into issues/2308 2022-03-20 14:22:32 -04:00
hydroflame
d2dedace2e
Merge pull request #3152 from Master-Guy/issues/1944
Issues/1944
2022-03-20 14:21:28 -04:00
hydroflame
8faacfc4ef
Merge pull request #3158 from Master-Guy/features/2462
Tabelize linked output of `ls`
2022-03-20 14:20:53 -04:00
Master-Guy
9373d65a16
Merge branch 'danielyxie:dev' into issues/2308 2022-03-18 11:12:21 +01:00
Master-Guy
9dd933ecee Changed .keyCode to .key for files in "src" 2022-03-18 10:43:56 +01:00
Master-Guy
2871bba379 Review comments by ApamNapat 2022-03-17 22:25:30 +01:00
Master-Guy
e0377980a5
Merge branch 'dev' into issues/1944 2022-03-17 18:29:18 +01:00
Master-Guy
a575c0cfe3 Tabelize linked output of ls 2022-03-17 17:50:39 +01:00
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
59ec6213b9 Processed review comments 2022-03-17 13:17:43 +01: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