Commit Graph

1127 Commits

Author SHA1 Message Date
danielyxie
3a291cf4dd
Merge pull request #303 from kopelli/typescript
Add Typescript and TSLint to the tool chain
2018-06-22 15:11:49 -05:00
Olivier Gagnon
fbc9627344 cap difficulty and fix negative growth 2018-06-22 15:41:55 -04:00
danielyxie
aa17b02da7 Added var declaration in Netscript 1.0. Loops and conditionals no longer incur RAM cost, but base RAM cost increased from 1.4 to 1.6 GB 2018-06-22 14:39:15 -05:00
Olivier Gagnon
4f9ae82b4b added time since last bitnode timer 2018-06-22 15:38:25 -04:00
Olivier Gagnon
8f30a2246c using classList instead of setAttributes 2018-06-21 13:52:34 -04:00
Olivier Gagnon
15b0c11731 moved the suppress buy aug confirmation to settings, will now persist 2018-06-21 13:32:21 -04:00
Olivier Gagnon
9dc96c51cb moved all tor-html related code to one place, hurray for decoupling 2018-06-21 13:00:33 -04:00
danielyxie
24cd1bb498 Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-06-21 10:49:40 -05:00
Steven Evans
491eae4381
[doc] Correcting spacing for headers 2018-06-21 10:47:51 -04:00
Steven Evans
6fad02c446 [doc] Completed a previous incomplete sentence. 2018-06-21 10:18:08 -04:00
Steven Evans
729515830d [doc] Adding CONTRIBUTING 2018-06-21 10:04:02 -04:00
Steven Evans
942c26b27e
Merge branch 'dev' into typescript 2018-06-20 22:10:20 -04:00
Olivier Gagnon
0ea6312d49
Merge branch 'dev' into streamline-create-programs 2018-06-20 18:50:08 -04:00
Olivier Gagnon
3ab23df8d7 terminal autocompletes darkweb better 2018-06-20 18:34:39 -04:00
Olivier Gagnon
01a5911ee1 added autolink to darkweb 2018-06-20 18:27:13 -04:00
danielyxie
f68c7deaac
Merge pull request #312 from hydroflame/smooth-level
made skill calculation smoother
2018-06-20 16:59:44 -05:00
danielyxie
18d4e2bd2a
Merge pull request #316 from kopelli/favicon
Favicon
2018-06-20 16:58:10 -05:00
danielyxie
abfb1b1947
Merge pull request #301 from hydroflame/beautify
Add a button to beautify scripts in text editor
2018-06-20 16:57:58 -05:00
danielyxie
e49125ca9d
Merge pull request #310 from thePalindrome/master
Move 'Changelog' url to the new, up-to-date location.
2018-06-20 16:57:30 -05:00
danielyxie
91d53d93a1
Merge pull request #298 from hydroflame/corporation-styling
Corporation styling
2018-06-20 16:57:07 -05:00
danielyxie
856f7a0cd2
Merge pull request #264 from hydroflame/streamline-darkweb
streamline darkweb
2018-06-20 16:56:10 -05:00
Steven Evans
15b6660677 [bug] Input elements cannot have child elements. 2018-06-19 22:49:13 -04:00
Steven Evans
1ecb7521f9 [bug] Removing invalid character from within tag. 2018-06-19 22:48:19 -04:00
Steven Evans
bd9b8767fa [bug] moving script tag with body
Script tags must be children of 'head' or 'body'.
2018-06-19 22:46:05 -04:00
Steven Evans
95079a6507 [style] Cleaning up whitespace in package.json 2018-06-19 22:44:48 -04:00
Steven Evans
8b9ebe29c2 [feature] Adding favicon and related.
The key file was favicon.ico, but other browsers can support other
formats. And those browsers/devices that allow for "pinning" the site
require some additional files as well.
2018-06-19 22:42:51 -04:00
Olivier Gagnon
cab8dbf5d9 made skill calculation smoother 2018-06-19 00:37:56 -04:00
Alex Ford
ea140d56aa Move 'Changelog' url to the new, up-to-date location. 2018-06-17 20:41:26 -06:00
danielyxie
c7ae5de9a4
Merge pull request #309 from danielyxie/dev
Fix bug with spawn()
2018-06-17 14:27:04 -05:00
danielyxie
f5be9e5da7 Fix bug with spawn() 2018-06-17 14:19:43 -05:00
danielyxie
30946f5993
Merge pull request #305 from danielyxie/dev
v0.38.1
2018-06-15 14:18:41 -05:00
danielyxie
f33806e189 Updated tover sion v0.38.1 2018-06-15 14:05:53 -05:00
danielyxie
d38cfc61bd Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-15 01:09:54 -05:00
danielyxie
b4cec584f6
Merge pull request #299 from hydroflame/fix-grow-security
fix growth not increasing security if server reaches max money
2018-06-15 01:09:17 -05:00
danielyxie
bee20b090c
Merge pull request #296 from hydroflame/serverExists-all-true
fixed serverExists returning true for non-existent IPs
2018-06-15 01:04:52 -05:00
danielyxie
c365696447 Reverse const change in Script RAM parser. Built documentation 2018-06-15 00:58:35 -05:00
danielyxie
8620a4d30c Fix issue with 'Object.prototye' functions throwing errors during NetscriptJS RAM calculation. Fixed type with new Travel Confirmation setting loading to the correct initial value. Fixed Competition/Demand display for Products. Changed RAM for window/document access to be 100 2018-06-14 14:51:06 -05:00
Steven Evans
9c09e44db2 [refactor, chore] Including TSLint; fixing most things.
As it currently stands, bringing in TSLint with *all* rules enabled by
default and override each as we go. This means that as we upgrade and
bring in new rules we might start seeing new rules that the code
violates.

Because all the rules are enabled by default, the choice to explicitly
disable/relax rules can be discussed as part of PRs.

This also brought in strict type checking. This means we shouldn't be
relying on truthy/falsey value coercion. It also means that we will
likely need to create some type definition files or port certain files
over. That...will be a bit tedious, but will make the codebase better as
a whole.
2018-06-14 14:57:44 -04:00
Steven Evans
67cee8642b [refactor] Converted TextFile to TypeScript 2018-06-14 09:11:28 -04:00
Olivier Gagnon
c35395e302 added beautifier button in text editor 2018-06-14 02:26:54 -04:00
Steven Evans
3e1ec388e0 [chore] Introduce TypeScript; Tested out with HelpText. 2018-06-13 23:38:35 -04:00
Olivier Gagnon
7c658e2966 growth now adds security even if the server reaches max, but only the amount that was needed 2018-06-13 17:27:26 -04:00
Olivier Gagnon
83aeb50605 unify dropdown and text input accross the app 2018-06-13 16:20:27 -04:00
danielyxie
ec862ec747
Merge pull request #297 from danielyxie/dev-mode
Dev mode
2018-06-13 14:27:32 -05:00
danielyxie
d6620da22e Removed import of DevModeEnabled in engine.js. Removed JSON.stringify in webpack.config.js for build mode 2018-06-13 14:26:15 -05:00
danielyxie
89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
Olivier Gagnon
bb68fa5806 fixed getServer instead 2018-06-13 12:34:32 -04:00
Olivier Gagnon
07c9f9e155 fixed server exists returning true for non-existent IPs 2018-06-13 12:16:12 -04:00
danielyxie
5347585151 Updated dependencies from kopelli 2018-06-13 11:11:45 -05:00
danielyxie
20e437844a Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-06-13 09:24:15 -05:00