Clean up todo\s

This commit is contained in:
brantje 2016-09-14 23:04:38 +02:00
parent 7f0f297aa3
commit 7bc733ed48
6 changed files with 3 additions and 7 deletions

View file

@ -64,8 +64,6 @@ angular.module('passmanApp')
_credentials.push(credential);
}
$scope.credentials = _credentials;
//@Todo: Set last accessed
});
};

View file

@ -131,7 +131,6 @@ angular.module('passmanApp')
FileService.deleteFile(file).then(function () {
$scope.storedCredential.files.splice(idx, 1);
});
//@TODO Delete file
};
$scope.fileLoaded = function (file) {

View file

@ -123,7 +123,6 @@ angular.module('passmanApp')
test_credential.password = 'lorum ipsum';
CredentialService.createCredential(test_credential).then(function (result) {
_loginToVault(vault, vault_key);
//@TODO Redirect to newly created vault
})
});
};

View file

@ -52,7 +52,7 @@ angular.module('passmanApp')
//Now load the files
for (var i = 0; i < e.target.files.length; i++) {
_currentFile = e.target.files[i];
var mb_limit = 2000; //@TODO remove this after test (Set to 2mb)
var mb_limit = 5;
if (_currentFile.size > (mb_limit * 1024 * 1024)) {
scope.error('TO_BIG', _currentFile);
}

View file

@ -17,7 +17,7 @@ angular.module('passmanApp')
'description': null,
'created': null,
'changed': null,
'tags': null,
'tags': null, //2TODO Dit moet nog gemaakt worden
'email': null,
'username': null,
'password': null,

View file

@ -50,6 +50,6 @@ class FileMapper extends Mapper {
$file = new File();
$file->setId($file_id);
$file->setUserId($userId);
$this->delete($file); // TODO: Change the autogenerated stub
$this->delete($file);
}
}