Commit Graph

114 Commits

Author SHA1 Message Date
Snarling
3f53a1f090 Format+lint 2022-04-20 10:05:55 -04:00
Snarling
16e507127a Allow cd .. into empty directories 2022-04-20 10:03:51 -04:00
JP Sugarbroad
01d7ac6967 make jQuery use explicit 2022-04-19 16:14:16 -07:00
Chris380
bfa19eb7ba Make .lit and .msg files clickable 2022-04-14 16:23:45 +02:00
hydroflame
0d11a18ca9
Merge pull request #3428 from Chris380/bugfix/2367_reject_cd_to_invalid_folders
Reject cd to invalid folders
2022-04-13 11:27:35 -04:00
Olivier Gagnon
501b69bbc2 tighten messages types wth enums 2022-04-13 11:10:56 -04:00
chris380
d93ab92f69 Reject cd to invalid folders 2022-04-13 16:07:41 +02:00
Olivier Gagnon
48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
phyzical
61fc815a6b added apr1 terminal command
* just opens the rickroll modal
2022-04-02 20:08:57 +08:00
Heinous Tugboat
9b0422f9ee Removes extra asterisk in template 2022-03-30 10:18:07 -04:00
hydroflame
3456acc6a8
Update connect.ts 2022-03-29 11:27:34 -04:00
Thomas B
0a9bded0d8
Clarify Error Message
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-28 08:33:05 -04:00
Thomas B
fe0b6d5982
Clarified error message 2022-03-25 09:41:23 -04:00
hydroflame
d2dedace2e
Merge pull request #3152 from Master-Guy/issues/1944
Issues/1944
2022-03-20 14:21:28 -04:00
Master-Guy
2871bba379 Review comments by ApamNapat 2022-03-17 22:25:30 +01:00
Master-Guy
e0377980a5
Merge branch 'dev' into issues/1944 2022-03-17 18:29:18 +01:00
Master-Guy
a575c0cfe3 Tabelize linked output of ls 2022-03-17 17:50:39 +01:00
Master-Guy
93f4c499d4 Quick fix to prevent division by 0 2022-03-17 16:56:32 +01:00
Master-Guy
59ec6213b9 Processed review comments 2022-03-17 13:17:43 +01:00
BB
5e2ccc71ec Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden 2022-03-11 16:32:48 +01:00
hydroflame
b7ffdeb5e2
Merge pull request #3076 from ApamNapat/turned_two_eslint_rules_on
Trailing whitespace and files not ending with \n are now illegal
2022-03-10 22:12:17 -05:00
hydroflame
2dfecc8ad0
Merge pull request #3093 from mbrannen/expr-remainder-fix
updated regex sanitization
2022-03-10 21:39:59 -05:00
mbrannen
9602dbda2e
Update src/Terminal/commands/expr.ts
Updated to ApamNapat's suggestion

Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-08 18:02:54 -07:00
BB
2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
mbrannen
bb6d90fb41 updated expression.
-removed escaping and reverted back for /
2022-03-07 23:50:05 -07:00
mbrannen
31ea56084e updated regex sanitization
-allows %
-updated escape characters to \
2022-03-07 23:15:55 -07:00
BB
2c3e0985c4 Simplified some relative imports 2022-03-06 05:05:55 +01:00
citrusmunch
cc3452a766 FIX: old name netstat/scan to just scan
seems like an old/deprecated name not used anywhere else
2022-02-14 00:47:37 -05:00
phyzical
d41b19bced added support for ls -l 2022-02-06 00:05:48 +08:00
phyzical
9a3731cf18 updated grep for ls
* implemented flags logic for grep
* added --grep and -g
* updated docs
2022-02-05 23:27:08 +08:00
Martin Fournier
588c3e42d7 Refactor download.ts (export "download *" command)
Export the "download *" helper to be able to be called from Electron.
2022-01-26 03:40:22 -05:00
Martin Fournier
e7aa977eb0 Persist terminal command history in game save
Copy the terminal commands into the player object so that they are saved
between game reloads.

Adds a 'history' command to display history, and a 'history -c' command
to clear it from both the current terminal & the player's save.
2022-01-23 17:09:54 -05:00
smolgumball
cb82907817 Fix issues with timestamps on same line as clickable script rows in ls 2022-01-15 21:29:12 -07:00
hydroflame
0c7070ad32
Merge pull request #2548 from smolgumball/ls-clickable-scripts
feat: add clickable script links to `ls` command
2022-01-15 17:49:23 -05:00
hydroflame
6bf6d1f217
Merge branch 'dev' into add-simple-globs-nano-vim 2022-01-15 17:38:25 -05:00
hydroflame
923dbdc9d1
Merge pull request #2549 from markusariliu/patch-1
clarify error
2022-01-11 11:13:17 -05:00
Martin Fournier
25839d592d Fix mem padding when using GiB 2022-01-11 05:12:59 -05:00
markusariliu
bb85568cbf
clarify error
The error message for running multiple instances of the same script with the same args should be updated to clarify that the args is the issue not just the multiple instances
2022-01-10 21:54:38 -08:00
smolgumball
c8db709287 Add hostname safety 2022-01-10 21:00:52 -07:00
smolgumball
358f5ee8ee Add simple clickable links to ls command
Only supports `nano` as I couldn't figure out how to infer `vim`
support without an explicit `nano` or `vim` command being run.
2022-01-10 20:40:02 -07:00
Martin Fournier
7ee2612c17 Allow drag on character overview
Makes the character overview (and tutorial) draggable, persisting the
{x, y, opened} in the user's settings.

- Remove margin & padding from html, body and ensure main content is
full height
- Add setting to disable progress bars
- Refactor options to use new OptionSwitch
- Add exclusions to prettierignore
- Specify line ending in prettier & gitattributes
2022-01-10 07:37:01 -05:00
smolgumball
74ba063772 Add simple glob support to nano/vim usage 2022-01-09 20:26:26 -07:00
Olivier Gagnon
d8a5f5b03c many fixes 2022-01-09 15:24:32 -05:00
Martin Fournier
f9ed45a895 Pass server to terminal actions that end later
Adds the current server object to the finishAction handler so that if
the player changes during the progress he'll hit the original server
with the command.
2022-01-08 11:29:00 -05:00
Martin Fournier
8b2ad883e4 Add save file warning for detailed ram usage 2022-01-06 21:13:38 -05:00
Martin Fournier
4fad90ed4d Multiply ram cost by threads 2022-01-05 18:32:29 -05:00
Martin Fournier
b345da9dee Change detailed mem format 2022-01-05 18:04:26 -05:00
Martin Fournier
4b06bdd89c Add detailed ram cost to mem command 2022-01-05 16:41:48 -05:00
Olivier Gagnon
faf8389bef v1.3 2022-01-04 20:46:10 -05:00
Olivier Gagnon
c59a267437 change sf4 2022-01-04 19:09:34 -05:00