Subversion Repositories basico

Rev

Rev 9 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 74
Line 15... Line 15...
15
# App Info
15
# App Info
16
APP = {}
16
APP = {}
17
APP['short'] = "basico"
17
APP['short'] = "basico"
18
APP['name'] = "SAP Notes Manager for SAP Consultants"
18
APP['name'] = "SAP Notes Manager for SAP Consultants"
19
APP['desc'] = "SAP Notes Manager for SAP Consultants\n\nThe code is licensed under the terms of the  GPL v3 so you're free to grab, extend, improve and fork the code as you want"
19
APP['desc'] = "SAP Notes Manager for SAP Consultants\n\nThe code is licensed under the terms of the  GPL v3 so you're free to grab, extend, improve and fork the code as you want"
20
APP['version'] = "0.1"
-
 
-
 
20
APP['version'] = "0.2"
21
APP['authors'] = ["Tomás Vírseda <t00m@t00mlabs.net>"]
21
APP['authors'] = ["Tomás Vírseda <t00m@t00mlabs.net>"]
22
APP['documenters'] = ["Tomás Vírseda <t00m@t00mlabs.net>"]
22
APP['documenters'] = ["Tomás Vírseda <t00m@t00mlabs.net>"]
23
APP['email'] = "t00m@t00mlabs.net"
23
APP['email'] = "t00m@t00mlabs.net"
24
24
25
# Local paths
25
# Local paths
Line 30... Line 30...
30
LPATH['PLUGINS'] = LPATH['VAR'] + 'plugins' + SEP
30
LPATH['PLUGINS'] = LPATH['VAR'] + 'plugins' + SEP
31
LPATH['LOG'] = LPATH['VAR'] + 'logs' + SEP
31
LPATH['LOG'] = LPATH['VAR'] + 'logs' + SEP
32
LPATH['TMP'] = LPATH['VAR'] + 'tmp' + SEP
32
LPATH['TMP'] = LPATH['VAR'] + 'tmp' + SEP
33
LPATH['DB'] = LPATH['VAR'] + 'db' + SEP
33
LPATH['DB'] = LPATH['VAR'] + 'db' + SEP
34
LPATH['EXPORT'] = LPATH['VAR'] + 'export' + SEP
34
LPATH['EXPORT'] = LPATH['VAR'] + 'export' + SEP
-
 
35
LPATH['OPT'] = LPATH['ROOT'] + 'opt' + SEP
-
 
36
LPATH['DRIVERS'] = LPATH['OPT'] + 'webdrivers' + SEP
-
 
37
LPATH['RES'] = LPATH['ROOT'] + 'res' + SEP
35
38
36
# Global paths
39
# Global paths
37
GPATH = {}
40
GPATH = {}
38
GPATH['DATA'] = ROOT + SEP  + 'data' + SEP
-
 
-
 
41
GPATH['ROOT'] = ROOT
-
 
42
GPATH['DATA'] = GPATH['ROOT'] + SEP  + 'data' + SEP
39
GPATH['UI'] = GPATH['DATA'] + 'ui' + SEP
43
GPATH['UI'] = GPATH['DATA'] + 'ui' + SEP
40
GPATH['ICONS'] = GPATH['DATA'] + 'icons' + SEP
44
GPATH['ICONS'] = GPATH['DATA'] + 'icons' + SEP
41
GPATH['PLUGINS'] = GPATH['DATA'] + 'plugins' + SEP
45
GPATH['PLUGINS'] = GPATH['DATA'] + 'plugins' + SEP
42
GPATH['SHARE'] = GPATH['DATA'] + 'share' + SEP
46
GPATH['SHARE'] = GPATH['DATA'] + 'share' + SEP
43
GPATH['DOC'] = GPATH['SHARE'] + 'docs' + SEP
47
GPATH['DOC'] = GPATH['SHARE'] + 'docs' + SEP
-
 
48
GPATH['RES'] = GPATH['DATA'] + 'res' + SEP
44
49
45
# Configuration, SAP Notes Database and Log files
50
# Configuration, SAP Notes Database and Log files
46
FILE = {}
51
FILE = {}
-
 
52
FILE['TASKS'] = LPATH['ETC'] + 'tasks.txt'
47
FILE['CNF'] = LPATH['ETC'] + 'basico.ini'
53
FILE['CNF'] = LPATH['ETC'] + 'basico.ini'
48
FILE['SAP'] = LPATH['DB'] + 'sapnotes.json'
54
FILE['SAP'] = LPATH['DB'] + 'sapnotes.json'
49
FILE['LOG'] = LPATH['LOG'] + 'basico.log'
55
FILE['LOG'] = LPATH['LOG'] + 'basico.log'
50
FILE['CREDITS'] = GPATH['DOC'] + 'CREDITS'
56
FILE['CREDITS'] = GPATH['DOC'] + 'CREDITS'
-
 
57
-
 
58
# SAP related
-
 
59
SAP = {}
-
 
60
SAP['NOTE_URL'] = "https://launchpad.support.sap.com/#/notes/%s"
-
 
61
SAP['ODATA_NOTE_URL'] = "https://launchpad.support.sap.com/services/odata/svt/snogwscorr/TrunkSet(SapNotesNumber='%s',Version='0',Language='E')" #$expand=LongText" #?$expand=LongText,RefTo,RefBy"
-
 
62