Commit Graph

4955 Commits

Author SHA1 Message Date
phyzical
3e36e6a80b few more adjustments
* fixed the export material fix
* changed teh dev menu fund adjuster for more granular control
* added checks for smartSupply and setSmartSupply
* few random autolints
2022-02-12 11:31:50 +08:00
dependabot[bot]
2dedd65cc1
Bump follow-redirects from 1.14.7 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 02:32:04 +00:00
phyzical
51d10290d2 added early out for redundant assignment 2022-02-12 00:13:56 +08:00
phyzical
8b55b0293c corp api fixes
* added early out in UpgradeWarehouse when not enough cash
* added checks to enforce maxProducts
* added checks to enforce export material is valid for location
* added checks for market ti reasearches
2022-02-11 23:48:19 +08:00
phyzical
d586743bf6 fixes for editor and tabs when names too long
* coupled some of the styles to avoid breaking this later on
* added tooltip incase its too long/ too small
* changes to use elipsis and RTL to read the end of file name
2022-02-09 00:12:37 +08:00
Ayla Ounce
5fbe4b0f26 Don't check only gangs for sleeve augs
It is possible for a player to qualify for an aug through a faction and
not the gang, e.g. when the gang is newly formed and still getting up to
speed. So, we need to consider both gang qualifications and faction
qualifications when constructing the sleeve augmentation list.
2022-02-07 14:40:44 -08:00
phyzical
659ba9e27e removed unsed imports 2022-02-07 22:50:34 +08:00
Felix Wolfsteller
a755af8176 fix typo (UnforTunately) fix #2918 2022-02-05 11:04:23 +01:00
Justin Wade
0e4affdf0e fix typo in FactionInfo.tsx 2022-02-03 22:31:39 -05:00
Thomas B
c6573fb19d
Reset Location Upon Reset 2022-02-03 08:50:08 -05:00
Logan H Koch
977a6795da
Update recommendedbitnodeorder.rst
Correct wording on source file leveling for Singularity Functions
2022-02-01 19:41:12 -07:00
Nathan Solomon
df30a45388
Fixing Broken Error Message 2022-02-01 15:45:50 -06:00
Alexander Lichter
5564f82b44 fix typo 2022-02-01 12:43:14 +01:00
Brian Leip
1a414358cc Fixed issue-2377: No passive reputation gain on BN6, BN7 2022-01-31 15:21:01 -08:00
David Thompson
37bf1aac81
QoI: Increase HacknetNodeElem name colSpan
Spanning {node.name} across all three table columns in the Hacknet Node UI uses a bit less screen real estate, so that on larger font sizes you don't end up with e.g. "hacknet- " on one line and "node-11" on the next.
2022-01-31 21:46:47 +13:00
smolgumball
3431997315 fix: electron windowTracker error when reloading and killing scripts 2022-01-29 17:58:09 -07:00
Sage Pointer
ac054b0065
Fix ps documentation 2022-01-29 22:20:27 +02:00
SagePtr
622ba0a2bd Better readable production equation 2022-01-29 20:59:18 +02:00
hydroflame
9ddb1c4379
Merge pull request #2863 from SagePtr/can-run-scripts
Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command
2022-01-29 11:27:05 -05:00
SagePtr
40f2d16f44 Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command 2022-01-29 18:10:59 +02:00
hydroflame
9294ff3e9e
Merge pull request #2857 from MatthewTh0/patch-1
Spelling fixes in comments
2022-01-28 16:32:56 -05:00
Matthew Thornton
48d4f698c2
Spelling fixes in comments
This just fixes some misspelling in the comments, doesn't change any code or variables.
2022-01-28 14:57:52 -06:00
hydroflame
097e808193
Merge pull request #2856 from zeddrak/patch-7
Fix for Dev not building
2022-01-28 13:13:14 -05:00
zeddrak
3e9728f4c4
more fix
really can't count...
2022-01-28 10:08:20 -08:00
zeddrak
db2369a669
more fix
can't count...
2022-01-28 10:03:40 -08:00
zeddrak
33ed170e29
more fix
two missing ( is better than one...
2022-01-28 10:00:28 -08:00
zeddrak
dc8b051bde
Fix for Dev not building
It's the little things, like a missing "(", that make programmers happy all day long... >.<
2022-01-28 09:54:35 -08:00
hydroflame
47c2f9762c
Merge pull request #2850 from HeinousTugboat/htugboat/replace-stanek-anys
Replaces anys in Stanek with unknown
2022-01-28 00:19:12 -05:00
hydroflame
77b9787fba
Merge pull request #2846 from zeddrak/patch-5
Make crimes detection a little more friendly
2022-01-27 20:52:03 -05:00
hydroflame
a4b8a9ffd5
Update CrimeHelpers.ts 2022-01-27 20:51:48 -05:00
Heinous Tugboat
c7a3ac216f Replaces anys in Stanek with unknown 2022-01-27 20:48:37 -05:00
Olivier Gagnon
01680ca584 fix build 2022-01-27 20:44:50 -05:00
Olivier Gagnon
95e67f954b build 2022-01-27 20:24:43 -05:00
zeddrak
09da6ac63f
Make crimes detection a little more friendly
Initially just wanted to change "traffick" to "traffic" (as that supports both the American and British spelling), but then noticed there were a couple of other ones that could be made slightly less restrictive to improve detection. All changes make detection LESS RESTRICTIVE for the player (ie, they have more ways to provide the parameter), none are MORE RESTRICTIVE (ie, won't break any existing code, etc.

Anything that worked before will still work, but now a few things that may not have worked before - like "traffic arms" (without the k), "illegal arms", and "assassin" will work. (Also allowed for the common misspelling of "forgary")
2022-01-27 11:36:06 -08:00
hydroflame
463af6cbf2
Merge pull request #2819 from MartinFournier/chore/rm-intermediary-doc
Remove intermediary doc input file
2022-01-26 12:58:10 -05:00
hydroflame
e392e6d71f
Merge pull request #2780 from MartinFournier/feat/electron-store-winposition
Store Electron window position in user settings
2022-01-26 12:57:09 -05:00
hydroflame
b04c23bdd1
Merge pull request #2821 from MartinFournier/chore/npm-deps-audit
Run `npm audit fix` to resolve vulnerabilities
2022-01-26 12:56:59 -05:00
hydroflame
cef0f30993
Merge pull request #2820 from MartinFournier/chore/declutter
Declutter repository root
2022-01-26 12:56:37 -05:00
hydroflame
8c9be1667f
Merge pull request #2825 from MartinFournier/chore/move-bundle
Move main bundle output to ./dist subfolder
2022-01-26 12:56:25 -05:00
hydroflame
26d5e4dae0
Merge pull request #2781 from MartinFournier/feat/steam-saves
Add Steam Cloud saves & filesystem saves to Electron
2022-01-26 12:56:16 -05:00
Martin Fournier
70eef25d63 Rebuild the app using the new webpack config 2022-01-26 06:11:32 -05:00
Martin Fournier
069b7831d1 Move main bundle output to ./dist subfolder
Excludes the index.html so that the github page can still work as is.

This will declutter the root of the repo a fair bit.
2022-01-26 06:11:32 -05:00
Martin Fournier
412ef543c8 Run npm audit fix to resolve vulnerabilities
It did not resolve all of the vulns as some are gated behind breaking
changes. Most of them seem to be resolved when updating to webpack 5

Also moves devDependencies out of normal dependencies, as a few libs
were better suited for dev.
2022-01-26 05:47:27 -05:00
Martin Fournier
8e119b2b5b Move cypress & netscript tests to ./test subfolder 2022-01-26 05:35:21 -05:00
Martin Fournier
f943e55e86 Move engines-check to ./tools subfolder 2022-01-26 05:35:21 -05:00
Martin Fournier
a53e0c09af Move steam files to ./assets/Steam subfolder 2022-01-26 05:35:21 -05:00
Martin Fournier
bf6366cef4 Move markdown doc & quotes to ./docs subfolder 2022-01-26 05:35:21 -05:00
Martin Fournier
914c0f44c4 Remove intermediary doc input file 2022-01-26 05:18:58 -05:00
Martin Fournier
a47eae8b25 Add function to enable/disable routing
Wraps the toX() functions of the Router to add a check to only run the
function when it is allowed.

The check is used in the import page to prevent user scripts from
redirecting away to a crime or something else.
2022-01-26 03:56:19 -05:00
Martin Fournier
d386528627 Add support for Steam Cloud & local filesystem
Adds actions to save the game's data directly in the filesystem and/or
into Steam Cloud. Them game will push an event with the save data
whenever the game is saved. Electron will use that data to persist it
into the User Data folder, until the folder reaches a certain size.
Once over the quota, it's going to remove previous saves.

Files are grouped according the the player's identifier, ensuring
backups off different playthroughs if importing.

Optionally, the file will be gzipped before saving to disk, largely
reducing file size.

Adds a way to save & load from Steam Cloud, currently manually only.

When loading a save, it'll trigger the new "Import Data Comparison" page
to accept or cancel the import.

When saving the game, it will save to Steam Cloud & to filesystem if the
options are enabled.

Add automatic game restore

Detects when the player has access to a newer game that has been saved
more recently than the one being loaded. It checks both in the Steam
Cloud and on the local filesystem. Adds an option to disable the
feature.

- Adds a "Save Game" menu item that triggers the game's save.
- Adds a "Export Game" menu item that triggers the download file popup.
- Adds a "Export Scripts" menu item that triggers the "download *"
terminal command.
- Adds a "Load Last Save" menu item that loads the latest file modified
in the user data folder.
- Adds a "Load from Steam Cloud" menu item.
- Adds a "Load From File" menu item that popups a file selector & loads
the file.
- Adds settings for "Saves Compression (.gz)", "Auto-save Backups" &
"Auto-save to Steam", toggleable through the menu.
- Adds a "Open Game Data","Open Saves", "Open Logs" & "Open User Data" menu items.
- Adds a "Quit" menu item.
2022-01-26 03:56:19 -05:00