Commit Graph

789 Commits

Author SHA1 Message Date
danielyxie 30740dbf23 Merge pull request #356 from hydroflame/limit-hack-security
limit fortifying to the amount of hck thread you needed to drain the …
2018-07-14 19:29:21 -05:00
Olivier Gagnon 6514632b43 added shortcuts to corp, gang and blade under the world tab 2018-07-12 22:22:28 -04:00
Olivier Gagnon 4a17c5a49c limit fortifying to the amount of hck thread you needed to drain the server 2018-07-12 21:16:24 -04:00
danielyxie 3ffc820519 Fixed new Netscript1 Interpreter to work for functions returning Arrays/Objets. Untested. Also still needs new Hacknet Node implementation 2018-07-10 23:41:26 -05:00
danielyxie dcd6292ed2 Fixed bugs with new HelperFunctions 2018-07-10 00:11:18 -05:00
Steven Evans 28bebeb144 [refactor] Moved 'createAccordionElement' to its own TS file 2018-07-09 13:58:04 -04:00
Steven Evans af40252ee9 [refactor] Moved 'clearSelector' to its own TS file. 2018-07-09 13:57:21 -04:00
Steven Evans 9e26ee7858 [refactor] Moved 'removeChildrenFromElements' to its own TS file 2018-07-08 21:18:44 -04:00
Steven Evans 95939a8818 [refactor] Moved 'removeElement' to its own TS file; deduped logic 2018-07-08 21:18:43 -04:00
Steven Evans 8016321bfb [refactor] Moved 'clearEventListeners' to its own TS file 2018-07-08 21:18:10 -04:00
Steven Evans 7edf5b5f1a [refactor] Moved 'clearObject' to its own TS file 2018-07-08 20:17:53 -04:00
Steven Evans 6701503c78 [refactor] Moved 'compareArrays' to its own TS file 2018-07-08 20:17:52 -04:00
Steven Evans 1f7ed8f791 [refactor] Moved 'appendLineBreaks' to its own TS file 2018-07-08 20:17:52 -04:00
Steven Evans 015524f049 [refactor] Moved 'powerOfTwo' to 'isPowerOfTwo' TS file 2018-07-08 20:17:52 -04:00
Steven Evans 1a5208f78f [refactor] Moved 'printArray' to 'arrayToString' TS file 2018-07-08 20:17:51 -04:00
Steven Evans d20516b03c [refactor] Moved 'addOffset' to its own TS file 2018-07-08 20:17:51 -04:00
Steven Evans 875f7b4438 [refactor] Moved 'removeElementById' to its own TS file 2018-07-08 20:17:50 -04:00
Steven Evans 488f947a5b [refactor] Moved 'getElementById' to its own TS file. 2018-07-08 20:17:50 -04:00
Steven Evans 8c25684fe1 [refactor] Moved 'createPopup' to its own TS file. 2018-07-08 20:17:50 -04:00
Steven Evans 107f1de18d [refactor] Moved createElement into its own TS file
This is the start at separating out UI related work from potentially backend
related work. This distinction will help when Web Workers can be
introduced to get around the background tab limitation for scripts.
2018-07-08 20:17:49 -04:00
Steven Evans bdb935d104 [refactor] Moved isValidIPAddress to its own TS file 2018-07-08 20:17:49 -04:00
Steven Evans be9891d93b [refactor] Moved 'getRandomInt' to its own TS file 2018-07-08 20:17:49 -04:00
Steven Evans 39c9488768 [refactor] Moved 'roundToTwo' to its own TS file 2018-07-08 20:17:48 -04:00
Steven Evans 15e3b751da [refactor] Moved "exceptionAlert" to its own TS file
Since this is a UI only function, when Web Workers are introduced this
call chain will not be allowed on the backend.
2018-07-08 20:15:07 -04:00
Steven Evans be577164e3 [refactor] Removed export of "numOccurrences"
Does not appear to actually be used outside of StringHelperFunctions.ts
2018-07-08 20:15:07 -04:00
Steven Evans a6293474a9 [refactor] Moved "isString()" to its own TS file 2018-07-08 20:15:06 -04:00
Steven Evans 187b5051b9 [refactor] Moved "createProgressBarText" to its own TS file 2018-07-08 20:15:06 -04:00
danielyxie 78c5a1b0f4 Initial commit for new Netscript 1 Intepreter 2018-07-08 18:53:24 -05:00
danielyxie fde2b8cbc1 Infiltration can no longer be done programmatically. HP is reset when prestiging 2018-07-07 19:16:58 -05:00
danielyxie f33bc59768 Merge pull request #349 from hydroflame/fix-donate-invalid-input
Fix donate invalid input
2018-07-06 17:07:44 -05:00
Olivier Gagnon 2090554238 fixed ramUsed wrong calculation 2018-07-05 23:15:01 -04:00
Olivier Gagnon 7721bfc6c8 clearing the faction donate text field no longer says invalid amount, also formatting 2018-07-05 12:59:20 -04:00
danielyxie a165880fff Fix typo with Source File 12 2018-07-05 00:00:13 -05:00
danielyxie 7cc759f314 Updated version to v0.39.1. Production Build. Updated documentation 2018-07-04 23:52:54 -05:00
danielyxie 30b9624e1f Updated documentation 2018-07-03 21:12:46 -05:00
danielyxie 3213032427 Fixed incompatibility issues with Edge (due to spread syntax). Fixed issue with Terminal autocomplete and capitalized commands. Script ram is now rounded to 2 decimal places 2018-07-02 22:35:12 -05:00
danielyxie c8421168b6 Copying a NetscriptJS script with scp now properly clears its 'module'. 2018-06-29 00:39:05 -05:00
Steven Evans 8624fff015 Merge branch 'dev' into eslint 2018-06-27 23:42:42 -04:00
danielyxie 300cd01cc8 Merge pull request #344 from kopelli/lint-cleanup
[style] Cleaning up TSLint violations
2018-06-27 22:39:50 -05:00
danielyxie 0de312a047 Merge pull request #347 from danielyxie/infiltration-improvements
Finishing Infiltration returns to company page. Infiltration remember…
2018-06-27 22:37:10 -05:00
danielyxie 393ce096fd Finishing Infiltration returns to company page. Infiltration remembers selected faction 2018-06-27 22:34:57 -05:00
Olivier Gagnon 611b9d2b12 fix crime parameter 2018-06-27 21:47:09 -04:00
danielyxie e2b2fb66f3 Rebalancing BN - 7 and several Source Files 2018-06-27 18:28:11 -05:00
Steven Evans f372f1e693 Merge branch 'dev' into eslint 2018-06-26 22:04:45 -04:00
Steven Evans 2b5090a273 [style] Cleaning up TSLint violations
Adding a few custom types and documentation to clean up TSLint rule
violations. Included some usage of rule disabling for things like long
lines where we need to extract text that the user would see. That level
of text should really be separated from the logic.
2018-06-26 21:40:26 -04:00
danielyxie 18e47ee7c4 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-26 16:58:45 -05:00
Olivier Gagnon 048cbb0910 faction into to ts 2018-06-26 16:34:14 -04:00
Olivier Gagnon 7927e2bfe7 little more ts 2018-06-26 16:10:04 -04:00
danielyxie 219568d8af Fixing merge conflicts 2018-06-26 13:17:07 -05:00
Olivier Gagnon 50a1e83b55 more .js wrongly removed 2018-06-26 13:38:55 -04:00