Commit Graph

5052 Commits

Author SHA1 Message Date
Martin Fournier
aae3851d59 Add webpack file-loader to handle images
It lets us bundle static files such as images.

Allows us to `imports img from "./img.png"` to retrieve an image's path.
Note that we'll have to add other entries in the global.d.ts file if we
want to handle other extensions than .png.

Adds mocks to Jest tests so that we don't fail tests when loading static
assets.
2022-01-20 18:41:48 -05:00
nickofolas
a5ad97f47d Remove unnecessary editor code 2022-01-20 17:28:19 -06:00
nickofolas
99ef71de4a Update prompt message content 2022-01-20 17:14:38 -06:00
SagePtr
32ba81883f Force achievements recalculation on bitnode completion 2022-01-21 00:04:47 +02:00
nickofolas
bc50f5180a Refactor 2022-01-20 15:48:17 -06:00
nickofolas
b4a78c26f3 Implement editor tab actions 2022-01-20 15:48:16 -06:00
Olivier Gagnon
f7d18efaf6 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-20 16:14:35 -05:00
Olivier Gagnon
77f525c98c rm blob caching 2022-01-20 16:11:48 -05:00
Xi-Lin Yeh
861fcf70c4 Clean invocation of get/delete 2022-01-20 09:39:50 -08:00
hydroflame
fd530ad779
Merge pull request #2704 from Meowdoleon/patch-1
Declaring the script variable in the NS2 example
2022-01-20 12:25:04 -05:00
hydroflame
ca7b8068ea
Merge pull request #2713 from JohnnyUrosevic/dev
Change "import" to "important" in hackers-starting-handbook.lit
2022-01-20 12:24:45 -05:00
hydroflame
0ff9ff87d1
Merge pull request #2715 from JosephDavidTalbot/dev
Fixed Formatting Issue with Coding Contract Documentation
2022-01-20 12:24:31 -05:00
hydroflame
51efb0b72d
Merge pull request #2720 from MartinFournier/feature/add-version-title
Add game version in document.title
2022-01-20 12:24:16 -05:00
Martin Fournier
6e908814db Add game version in document.title
Also add [dev] prefix when in development mode.
2022-01-20 09:26:07 -05:00
Xi-Lin Yeh
5386f8e027 Commonalize Api-server response handling
- Fixed issue with error headers
- Aggregated response handling
2022-01-20 00:14:42 -08:00
Xi-Lin Yeh
4a3ee95b63 Enhanced API Server interface
- Used restful patterns for handling server calls (GET/PUT/DELETE)

- Utilized Server interface for saves rather than reimplementing code

- Exposed operations for getting codebase of scripts on the home server and deleting files.

- Added a common response structure
2022-01-20 00:03:07 -08:00
Joe
f28dfcf3ba Merge branch 'dev' of https://github.com/JosephDavidTalbot/bitburner into dev 2022-01-19 15:35:01 -06:00
Joe
5952f01885 Fixed Coding Contract Documentation
The table wasn't displaying. Put a misplaced | back where it should be. Should work fine now.
2022-01-19 15:34:48 -06:00
Joe
b63bb3f1e6 Fixed the Coding Contracts docs formatting
The table wasn't displaying, and one of the lines was out of place. This should probably fix it.
2022-01-19 15:26:10 -06:00
Johnny Urosevic
81db1b0a97
Change "import" to "important" 2022-01-19 13:00:59 -08:00
Meowdoleon
c5bf58a3eb
Declaring the script variable in the NS2 example
Small change to declares the script variable in the NS2 example.
2022-01-19 13:58:15 -05:00
pigalot
5c7ac9ab8e Fix for corp product cost 2022-01-19 18:44:48 +00:00
lethern
61cea12ca2
purchaseServer: improved error message for ram > maxRam 2022-01-19 19:09:33 +01:00
hydroflame
34f18a6000
Merge pull request #2695 from SagePtr/patch-1
Remove console spamming from CalculateShareMult
2022-01-19 01:53:15 -05:00
Sage Pointer
5fc7993dff
Remove console spamming from CalculateShareMult 2022-01-19 02:47:51 +02:00
phyzical
71ac4aacf1 updated buyback and sells functions docs 2022-01-19 08:25:12 +08:00
Olivier Gagnon
53727f6222 typo 2022-01-18 19:20:16 -05:00
Olivier Gagnon
69cf98ff34 doc 2022-01-18 19:12:52 -05:00
Olivier Gagnon
d2ec38753b Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-18 18:59:17 -05:00
Olivier Gagnon
d0a44a6088 change asleep 2022-01-18 18:57:43 -05:00
hydroflame
bb34d6b582
Merge pull request #2618 from pigalot/Corp-Api-Updates
Corp api updates
2022-01-18 18:05:23 -05:00
hydroflame
b6f514dd4d
Merge pull request #2693 from nickofolas/fix/body-background
Use background primary for `<body>`
2022-01-18 17:50:49 -05:00
hydroflame
7bebc86b11
Merge pull request #2684 from nickofolas/improvement/script-editor
Script Editor Improvements
2022-01-18 17:49:07 -05:00
nickofolas
eb7a0ebace Use background primary before #000000 for body 2022-01-18 16:15:36 -06:00
hydroflame
ae83eeacb7
Merge pull request #2689 from nickofolas/fix/singularity-focus
Fix Singularity focus arg issues
2022-01-18 17:00:12 -05:00
hydroflame
56213a109c
Merge pull request #2692 from MartinFournier/tool/changelog
Add script to generate a markdown changelog
2022-01-18 16:53:55 -05:00
Martin Fournier
e5d951ed05 Add script to generate a markdown changelog 2022-01-18 15:47:19 -05:00
Olivier Gagnon
05cbc25a8f 1.4 2022-01-18 14:03:24 -05:00
lethern
1dcae1aeec
Update NetscriptDefinitions.d.ts
grow/weaken/hack: removed threads part from example - confuses newbies
2022-01-18 16:15:40 +01:00
nickofolas
2d38ce8f72 Fix focus arg for sing functions 2022-01-18 08:49:06 -06:00
nickofolas
89fd54698b Fix ns.setFocus 2022-01-18 08:20:58 -06:00
nickofolas
258a1b262e Update options button 2022-01-17 17:20:38 -06:00
lethern
bb6c2cd79e
Update NetscriptFunctions.ts 2022-01-17 23:53:44 +01:00
nickofolas
a9314f2447 Show N/A when editing a txt file 2022-01-17 16:44:55 -06:00
nickofolas
c41cd68a8d Add modal to editor with RAM details 2022-01-17 16:32:45 -06:00
nickofolas
c1b777733f Improve clarity of editor tabs 2022-01-17 15:14:07 -06:00
hydroflame
c5089ab82a Merge pull request #2664 from MartinFournier/feature/recovery
Add information to the recovery page
2022-01-17 16:05:00 -05:00
hydroflame
1d83247f8d
Merge pull request #2671 from gianfun/fix_ns_tail_behavior
Fix ns.tail() behaviour for multiple calls
2022-01-17 16:01:34 -05:00
hydroflame
25112acefb
Merge pull request #2654 from SlyCedix/bounded-logs
Bound log windows to screen
2022-01-17 16:01:16 -05:00
hydroflame
27a54217eb
Merge pull request #2653 from nickofolas/fix/refactor-loops
Refactor `for ... in` loops
2022-01-17 16:01:04 -05:00