Florine W. Dekker
d815800dac
Fix faulty rmdir
...
It was unable to remove any directory. Oops.
2019-11-06 22:44:24 +01:00
Florine W. Dekker
9523c31afe
Fix #20
2019-11-06 22:27:25 +01:00
Florine W. Dekker
b605436ab4
Condense input parser and implement curly braces
2019-11-06 20:40:11 +01:00
Florine W. Dekker
f574d84e0b
Add .editorconfig and format accordingly
2019-11-06 15:07:56 +01:00
Florine W. Dekker
67898842ba
Update to TypeScript 3.7
...
And clear empty lines and consistify error usage.
2019-11-06 14:47:14 +01:00
Florine W. Dekker
f5126065bf
Fix #43
2019-11-06 14:14:40 +01:00
Florine W. Dekker
9bf9ea3810
Implement and test separate Environment class
2019-11-06 14:02:18 +01:00
Florine W. Dekker
8e9747c5fe
Move current user to environment variable
2019-11-06 12:53:48 +01:00
Florine W. Dekker
540a4f4ebe
Clear environment after logging out
2019-11-06 01:08:32 +01:00
Florine W. Dekker
c354906f7a
Fix #42
2019-11-06 00:58:16 +01:00
Florine W. Dekker
e0a809a324
Made cwd environment variable read-only
2019-11-04 20:08:54 +01:00
Florine W. Dekker
cc1ae80a96
Test file system and resolve a bunch of bugs
2019-11-04 19:57:13 +01:00
Florine W. Dekker
53ad4f2a49
Fix #32
2019-11-04 18:19:24 +01:00
Florine W. Dekker
493c32d12e
Fix #40
...
And
* Fix absolute paths with rmdir
* Fix inverted behaviour of -n with echo
* Store environment variables in a session-based cookie
* Improve escaped behaviour of > characters
* Simplify input parser's tokeniser
2019-11-04 14:47:59 +01:00
Florine W. Dekker
c51defad04
Separate input arguments from its parser
2019-11-04 13:54:52 +01:00
Florine W. Dekker
9b70e81936
Change effect of argumentless cd command
2019-11-04 11:59:25 +01:00
Florine W. Dekker
daa56de2cf
Allow opening in tabs
...
I can't really think of a way to allow "Open in new tab" when clicking it while ensuring it uses the most recent version of the link. I think this solution is the best trade-off between user friendliness and up-to-dateness.
2019-11-03 19:04:36 +01:00
Florine W. Dekker
3df17d9d5c
Fix #38
2019-11-03 18:56:18 +01:00
Florine W. Dekker
d047f24f5d
Fix echo
2019-11-03 18:50:14 +01:00
Florine W. Dekker
06ddc5f134
Do not trim tokens to allow trailing escaped whitespace
2019-11-03 18:29:44 +01:00
Florine W. Dekker
de1b3ab315
Fix #29
...
And as a bonus, add the -n option to echo.
2019-11-03 18:21:25 +01:00
Florine W. Dekker
c6d8b37b58
Fix #28
2019-11-03 18:10:59 +01:00
Florine W. Dekker
428c712921
Fix #36
2019-11-03 17:57:57 +01:00
Florine W. Dekker
9ba8914b85
Fix #37
2019-11-03 17:42:36 +01:00
Florine W. Dekker
01f391d046
Fix #34
2019-11-03 17:27:00 +01:00
Florine W. Dekker
d1b4bc4c27
Fix #30
2019-11-03 17:23:36 +01:00
Florine W. Dekker
e2fff21f95
Fix #13
2019-11-02 21:28:32 +01:00
Florine W. Dekker
e1f489589a
Implement tokenized parser
...
And escape everything when clicking paths, fixing #27 for real this time.
2019-11-02 19:58:20 +01:00
Florine W. Dekker
bd4f799752
Fix #27
2019-11-02 18:45:19 +01:00
Florine W. Dekker
2683b343f9
Improve and test argument parser
2019-11-02 18:19:10 +01:00
Florine W. Dekker
4cfedef014
Replace OutputAction with escape characters
2019-11-02 15:16:50 +01:00
Florine W. Dekker
606259e8ec
Use CSS to prevent pull-to-refresh in Chrome
2019-11-02 14:29:05 +01:00
Florine W. Dekker
e3b2bd1bf2
Fix #25
2019-11-02 14:05:14 +01:00
Florine W. Dekker
4ec4f6d0f7
Use passive scrolling and add main element
...
And update package lock while I'm at it.
2019-11-02 13:10:49 +01:00
Florine W. Dekker
7cc1f5ea33
Capitalise file names
2019-11-01 11:59:33 +01:00
Florine W. Dekker
0d4ba41a54
Fix #24
2019-10-31 23:58:16 +01:00
Florine W. Dekker
5d7894cb56
Fix #23
...
Only two suppressions remain!
2019-10-31 23:22:37 +01:00
Florine W. Dekker
ddfc69e513
Retain logged out status after page refresh
2019-10-31 22:51:31 +01:00
Florine W. Dekker
bada2af8f4
Fix #14
2019-10-31 22:46:42 +01:00
Florine W. Dekker
dcabbc84bd
Fix #21
2019-10-31 22:17:46 +01:00
Florine W. Dekker
dfabe2df63
Use Mocha+Chai as test framework
2019-10-31 20:40:51 +01:00
Florine W. Dekker
60dd4e188f
Fix #18
2019-10-31 19:08:09 +01:00
Florine W. Dekker
3b8fbfac47
Use Webpack for bundling dependencies
2019-10-31 19:01:41 +01:00
Florine W. Dekker
7cd1326948
Fix #12
2019-10-31 14:15:27 +01:00
Florine W. Dekker
9ee3c555c1
Fix #19
2019-10-31 14:04:42 +01:00
Florine W. Dekker
e502ae0cf4
Fix #22
2019-10-31 13:58:28 +01:00
Florine W. Dekker
63bea78ab9
Fix #15
...
And fix a bug where all other cookies were actually session-bound too.
2019-10-31 08:51:09 +01:00
Florine W. Dekker
9837f16296
Implement cat command
2019-10-31 01:34:36 +01:00
Florine W. Dekker
26cbd27a0a
Fix #3
2019-10-31 01:27:31 +01:00
Florine W. Dekker
e2a25e48e1
Extends help and ls to allow multiple inputs
2019-10-31 01:07:27 +01:00
Florine W. Dekker
927c4289da
Fix #11
2019-10-31 00:48:40 +01:00
Florine W. Dekker
01cd319673
Perform simple input validation
2019-10-31 00:29:55 +01:00
Florine W. Dekker
fee19ec73d
Remove outdated jdoc type annotations
2019-10-30 23:17:59 +01:00
Florine W. Dekker
4bab6001e0
Save pwd in cookie as well
...
And rename `pwd` to `cwd` because that makes more sense.
2019-10-30 22:58:00 +01:00
Florine W. Dekker
cc5368548e
Fix quotation marks and username in poweroff
2019-10-30 22:19:07 +01:00
Florine W. Dekker
34abe94231
Implement persistent file system
...
Fixes #2
2019-10-30 22:13:28 +01:00
Florine W. Dekker
d3ce8bf11b
Implement node (de)serialisation
2019-10-30 20:59:31 +01:00
Florine W. Dekker
a552221ce3
Remove unused parent property from directories
2019-10-30 20:02:39 +01:00
Florine W. Dekker
529f213846
Set up testing framework
2019-10-29 18:36:26 +01:00
Florine W. Dekker
f85ee1a305
Fix #8
2019-10-29 12:36:03 +01:00
Florine W. Dekker
e5bf42c1aa
Prevent pull-down-to-refresh in Chromium
2019-10-29 08:57:36 +01:00
Florine W. Dekker
d168ae9b57
Implement scrolling for touch devices
...
Fixes #4
2019-10-29 08:53:16 +01:00
Florine W. Dekker
e5fbbd8a01
Scroll to bottom upon input and output
2019-10-28 13:17:14 +01:00
Florine W. Dekker
8e2abf19e7
Implement naive scrolling for scroll wheels
...
Works towards #4
2019-10-28 13:12:25 +01:00
Florine W. Dekker
9d714795ba
Move initialising code to `main.ts`
2019-10-27 01:22:23 +02:00
Florine W. Dekker
2c80d42960
Weaken coupling between commands and terminal
2019-10-27 01:15:56 +02:00
Florine W. Dekker
7fee2977da
Simplify script file listing
2019-10-27 01:15:36 +02:00
Florine W. Dekker
8b6b2f5c53
Move user management to System class
2019-10-27 00:50:45 +02:00
Florine W. Dekker
4dc7b77f86
Strip html tags from command-line input
...
Fixes #9
2019-10-26 23:41:02 +02:00
Florine W. Dekker
740b18241d
Migrate to Grunt as build tool
2019-10-26 19:29:00 +02:00