Commit Graph

6869 Commits

Author SHA1 Message Date
pan-kuleczka
62c19c9078 hackAnalyze definition fix to match markdown 2022-01-02 18:56:52 +01:00
daanflore
f1592a77fb
Merge branch 'danielyxie:dev' into dev 2022-01-02 18:55:27 +01:00
daan flore
f8607ce73e Adding dorgotten typescript defenitions to file 2022-01-02 18:54:11 +01:00
Olivier Gagnon
d0214c1fed fix some weird eval 2022-01-02 12:41:54 -05:00
Olivier Gagnon
4fb1dbf2e3 fix some weird eval 2022-01-02 12:13:01 -05:00
Olivier Gagnon
1e0e9f7bd7 change button text 2022-01-02 11:55:06 -05:00
hydroflame
1819e5a98a
Merge pull request #2247 from MartinFournier/feature/alert-close-browser
Add warning on game close if user launched external browser
2022-01-02 11:44:56 -05:00
hydroflame
a2d75ae10c
Merge branch 'dev' into feature/alert-close-browser 2022-01-02 11:44:47 -05:00
hydroflame
cd9fad06d0
Merge pull request #2231 from ErzengelLichtes/use-numeraljs-for-ram
Use numeral.js to format memory, allow use of GiB with an option
2022-01-02 11:43:33 -05:00
hydroflame
d4eab92ed0
Merge pull request #2224 from MartinFournier/fix/joesguns-symbol
Update JoesGuns StockSymbols to match new key
2022-01-02 11:42:54 -05:00
hydroflame
93c833a211
Merge pull request #2238 from MartinFournier/feature/export-save-flag
Add electron launch option to directly export save game
2022-01-02 11:42:32 -05:00
hydroflame
29aca108fb
Merge pull request #2237 from MartinFournier/fix/electron-handlers
Fix: Use global references for electron event handlers
2022-01-02 11:42:15 -05:00
hydroflame
01cb0cca81
Merge pull request #2227 from FaintSpeaker/alias-regex-not-matching-exactly
Alias command regular expression mismatch
2022-01-02 11:41:50 -05:00
hydroflame
a1ec54ff90
Merge pull request #2241 from billyvg/fix/vim-save
fix(editor): Fix vim mode quit and add `wq`
2022-01-02 11:40:40 -05:00
hydroflame
52c82f026c
Merge pull request #2240 from JotaroS/stock-market-ui-fix
UI Fix: text style on Investopedia
2022-01-02 11:40:32 -05:00
hydroflame
b80cc31cb0
Merge pull request #2245 from MartinFournier/doc/electron
Add documentation for electron app build
2022-01-02 11:40:17 -05:00
hydroflame
a6be7ecc3e
Merge pull request #2243 from TheMas3212/dev
Add Function Call signatures to ns.kill so typescript is able to call ns.kill correctly
2022-01-02 11:39:56 -05:00
hydroflame
1a07399312
Merge pull request #2248 from MartinFournier/feature/confirm-save-import
Add validation & confirm prompt for save import
2022-01-02 11:39:10 -05:00
hydroflame
8cfb355ca2
Merge pull request #2250 from MartinFournier/feature/backdoored-loc-tooltip
Add tooltip on backdoored location name
2022-01-02 11:38:01 -05:00
hydroflame
c5248fabb3
Merge pull request #2249 from MartinFournier/feature/add-themes
Add new community themes from discord
2022-01-02 11:37:51 -05:00
hydroflame
d53b87b8ce
Merge pull request #2251 from MartinFournier/fix/corp-storage-tooltip
Fix #2129: Add linebreaks in corp storage tooltips
2022-01-02 11:37:45 -05:00
hydroflame
ca51e2144f
Merge pull request #2253 from MartinFournier/fix/disable-alpha-color-picker
Remove alpha from color picker
2022-01-02 11:37:30 -05:00
hydroflame
c8667b5194
Merge pull request #2259 from jhollowe-forks/jhollowe-patch-1
Fix typo in AugmentationHelpers.tsx
2022-01-02 11:37:19 -05:00
hydroflame
4486d7d454
Merge pull request #2266 from TheMas3212/fix-1752
fixes #1752 add check when applying for job to make sure company actually has that job position
2022-01-02 11:36:44 -05:00
hydroflame
7f812f56d9
Merge pull request #2277 from pan-kuleczka/dev
Fixed ambiguous NS.hackAnalyze description
2022-01-02 11:36:14 -05:00
hydroflame
4810a9004d
Merge pull request #2283 from jasonhaxstuff/patch-1
docs: update the markdown documentation for commitCrime()
2022-01-02 11:35:52 -05:00
hydroflame
b9b4ee23fe
Merge pull request #2270 from thadguidry/patch-1
fix typo for @param host in getScriptRam()
2022-01-02 11:35:38 -05:00
Brandon Bothell
dd4b548917
docs: comma for good measure 2022-01-02 02:40:03 -05:00
Brandon Bothell
5aa08f4123
docs: commitCrime() return millseconds, not seconds 2022-01-02 02:37:25 -05:00
pan-kuleczka
8428264f05 Fixed ambiguous NS.hackAnalyze() description 2022-01-02 01:09:44 +01:00
Thad Guidry
4096ce4a9d
fix typo for @param host in getScriptRam() 2022-01-01 14:08:45 -06:00
TheMas3212
1dcde649be
fixes #1752 add check when applying for job to make sure company
actually has that job position
2022-01-02 03:08:16 +11:00
TheMas3212
6251678532
clear currentScript to null not undefined 2022-01-02 02:16:32 +11:00
TheMas3212
a20dd47ec6
fixes #2119 close open scripts that exist on deleted servers
this prevents a crash by trying to open the script editor with a script
open that exists on a server that has been deleted

this is achieved by filtering the list of open scripts whenever the
editor is opened and removing any that exist on a server that has been
deleted
it also handles the case of the selected script being one that was
removed in which case it defaults to selecting the first script
2022-01-02 02:10:10 +11:00
John Hollowell
2e0242ccbf
Fix typo in AugmentationHelpers.tsx 2021-12-31 18:59:39 -05:00
Martin Fournier
59d8e1f979 Remove alpha from color picker
rgba is not currently supported in the themes, so might as well remove
the option from the picker.
2021-12-31 10:13:53 -05:00
TheMas3212
8707dc7079
remove extra function signature for ns.kill() 2021-12-31 23:33:23 +11:00
TheMas3212
e3e1770439
Fix Typedef for getScriptIncome/getScriptExpGain
Current Typedef does not allow using the run with no arguments for
totals versions
2021-12-31 23:31:46 +11:00
Martin Fournier
c6ec27781b Fix #2129: Add linebreaks in corp storage tooltips 2021-12-31 06:45:49 -05:00
Martin Fournier
50f41e79e6 Add tooltip on backdoored location name 2021-12-31 06:23:52 -05:00
Martin Fournier
2637653d29 Add new community themes from discord 2021-12-31 05:55:46 -05:00
Martin Fournier
2b7464ebb7 Add validation & confirm prompt for save import 2021-12-31 05:32:52 -05:00
Martin Fournier
b402cc7f6e Add warning on game close if user launched browser 2021-12-31 04:22:04 -05:00
Martin Fournier
2189c5b663 Add documentation for electron app build
Also adds a step in the build to run npm install in the electron
subfolder
2021-12-30 21:45:57 -05:00
TheMas3212
f3aed87fa4
Fix Typing on kill in NetscriptFunctions.ts
forgot to mark hostname as optional
2021-12-31 11:12:43 +11:00
TheMas3212
31ed5d8f64
Add Function Call signatures to ns.kill so typescript is able to call
ns.kill(pid)
previously it will fail to compile due to not providing a host argument
2021-12-31 10:58:56 +11:00
Billy Vong
38366e45db fix(editor): Fix vim mode quit and add "wq"
This changes `:q` to be quit (w/o saving) and added `:wq` to save *and* close.
2021-12-30 13:14:54 -05:00
JotaroS
351d4151bb fixed text style Investopedia 2021-12-30 18:50:22 +01:00
Martin Fournier
bc0791840f Add launch option to directly export save game
If --export-save is set, it will not launch the index.html and instead
launch a blank page. It then reads from the IndexedDb to fetch the
bitburnerSave value and prompts a save file dialog.
2021-12-30 11:51:15 -05:00
Martin Fournier
bf1a2b56ba Use global references for electron event handlers
I messed up the handlers reference in the last commit so the events
were not properly attached. Changed it to use global variables for now.
2021-12-30 09:12:55 -05:00