Nick O'Leary
b96ea36b70
Deprecate getAllFlows/getFlow/saveFlow storage functions
...
They were specialised versions of get/saveLibraryEntry that
complicated the interface.
This change removes them from localfilesystem, but the top
level module checks for their existence and uses them if
they are there - for backwards compatibility.
2015-04-03 23:05:56 +01:00
Nick O'Leary
500e9a4010
Increase localfilesystem test coverage
2015-03-22 17:40:42 +00:00
Nick O'Leary
51e891ff88
Move sessionStorageModule into main storageModule
...
Fixes #586
- add get/saveSessions to main storage module
- handle storage modules without those functions
- store .session file in userDir
2015-03-13 23:37:59 +00:00
Nick O'Leary
8eb1a02407
Fix unit test failures following mocha upgrade
2015-02-06 17:27:43 +00:00
Nick O'Leary
8443e48240
Place flows backup alongside flow file
...
Also backup credentials file in the same manner.
2015-02-04 15:23:28 +00:00
Mark Hindess
b7428ab627
Prohibit library entry names from containing '../'.
2014-07-31 13:59:24 +01:00
hbeeken
d09c992ecc
Remove redundant "can be required without errors" test
2014-07-28 20:24:01 +01:00
zobalogh
d58788f721
Defining storage interface.
2014-07-25 14:44:15 +01:00
Mark Hindess
2778c38b55
Add trivial tests to make coverage figure more realistic.
2014-07-17 09:16:43 +01:00
Mark Hindess
67bd4f373f
Move tests to match source hierarchy.
2014-07-17 09:16:43 +01:00