1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-24 17:27:35 +02:00

Introduce new flask based python backend

This supports most functionality. Tested the following functionality:
* Create account
* Delete account
* Create a card
* Download offline copy (couldn't log in) - needs work
* Change passphrase
* One time password creation and use
This commit is contained in:
jokajak
2015-04-08 17:12:47 -04:00
parent 5748515655
commit fab1d05127
22 changed files with 1201 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import shutil
from scriptLanguageBuilder import ScriptLanguageBuilder
class FlaskBuilder(ScriptLanguageBuilder):
def name(self):
return "Flask builder"
def relativePath(self):
return 'flask'
def createPackage(self):
super(FlaskBuilder, self).createPackage()

View File

@@ -1,5 +1,5 @@
from frontendBuilder import FrontendBuilder
from scss import Scss
#from scss import Scss
import os
import shutil
@@ -38,6 +38,7 @@ class DeltaBuilder(FrontendBuilder):
return ""
def preprocessCSS (self, targetFile):
from scss import Scss
logging.basicConfig()
scssVariables = {}
scssCompiler = Scss(