mirror of
https://github.com/nextcloud/passman.git
synced 2025-01-29 02:39:21 +08:00
Clean up todo\s
This commit is contained in:
parent
7f0f297aa3
commit
7bc733ed48
6 changed files with 3 additions and 7 deletions
|
@ -64,8 +64,6 @@ angular.module('passmanApp')
|
|||
_credentials.push(credential);
|
||||
}
|
||||
$scope.credentials = _credentials;
|
||||
|
||||
//@Todo: Set last accessed
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
})
|
||||
});
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue