Commit Graph

17 Commits

Author SHA1 Message Date
David Humphrey (:humph) david.humphrey@senecacollege.ca 5ab211d14d Make Filer node guid pluggable, default to de-duping ids on generation. 2014-06-02 16:44:20 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 375719b49b Refactor module system from AMD to CommonJS 2014-05-23 14:14:06 -04:00
yoavgurevich 4d24ab2c36 Fixed logic, format, and dependencies according to line note comments from last pull request. Tested on apache localhost server. 2014-05-16 11:43:54 -04:00
Petr Bouianov bdd4b5c9fe Fixes issue #62 2014-04-17 19:22:20 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 5438d8c97b Fix mount flags per review and also write docs 2014-03-05 20:03:27 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca b95ac40e65 Switch to NOATIME for Filer and mirror ctime to atime. 2014-03-05 17:00:54 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 61111da85d Finish atime, ctime, mtime updates for fs operations, fix tests 2014-03-05 15:57:28 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca eadd4ec03c Review fixes 2014-02-19 17:29:11 -05:00
Barry Tulchinsky 5e61be5668 rebased 2013-12-20 03:34:05 -05:00
Alan Kligman 8510e4a712 add support for supernode, which contains metadata about the file system itself (currently only the location of the root node); updated refactoring-test 2013-12-14 14:42:00 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 58392efd10 WebSQL Storage Provider with tests (4 tests failing still) 2013-11-27 16:53:06 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 3c5a5ef7fa Review fixes 2013-11-26 19:12:25 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 6e16f86208 Make backends pluggable via FileSystem ctor, fixes #36. 2013-11-25 19:23:51 -05:00
Abir Viqar 5ceff20b12 make find_node symbolic link aware
This adds a new constant SYMLOOP_MAX, which corresponds to the POSIX
variable of the number of symbolic links that may be followed. A new
error Eloop was added to signal when SYMLOOP_MAX is exceeded.
SYMLOOP_MAX has been arbitrarily set to 10 while on linux it is set
to 40 and the POSIX minimum is 8.

find_node when encountering a symbolic link anywhere in the given path
will attempt to follow it.

Note that SYMLOOP_MAX is only the limit of symbolic links to
follow per symbolic link. There is currently no attempt to limit
the total number of symbolic links followed when resolving a path.

This adds tests for path resolution of symbolic links as well.
2013-11-25 14:26:46 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca ae2b8aa9b3 Use internal fs functions instead of public methods for readFile, writeFile. 2013-11-09 14:51:21 -05:00
Alan Kligman 2d195ff6d6 WIP 2013-05-31 15:03:18 -04:00
Alan Kligman 4f5ff333fb Reorganize files. 2013-05-30 21:38:44 -04:00