-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.ini
39 lines (31 loc) · 1.64 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[globals]
DEBUG=3
UI=app/views/
AUTOLOAD=app/
DATA_PATH=data/
APP_SALT=38cd23e4c201151bcd14a6f3d4fd46d7de702c92
CACHE=TRUE
TAGS_PALETTE=0D3C55-0F5B78-117899-1395BA-5CA793-A2B86C-EBC844-ECAA38-EF8B2C-F16C20-D94E1F-C02E1D-B31B2A-AA1F4B-8A214F-65214F-4C214F-32214F-1F214F-00214F-001738-000F24
TIMEZONE=Europe/Paris
[routes]
GET @home: /=pages\Home::main
POST @login: /login=pages\Login->login
GET @logout: /logout=pages\Login->logout
POST @register: /register=pages\Login->register
POST @changePassword: /changePassword=pages\Login->changePassword
GET @papers: /papers=pages\Papers->listAll
GET @paperPub: /paper/@user/@key/@secret=pages\Papers->display
GET @paperPriv: /paper/@key=pages\Papers->display
POST @settings: /api/settings=pages\Settings->settings
POST @preferences: /api/preferences=pages\Settings->preferences
GET @gitPull: /api/git/pull=pages\Git->pull
GET @gitStatus: /api/git/status=pages\Git->status
POST @gitPush: /api/git/push=pages\Git->push
GET @paperInfo: /api/paper/@key=pages\Papers->apiPaperInfo
POST @paperEdit: /api/paper/@key=pages\Papers->apiPaperEdit
POST @paperAdd: /api/paper/add=pages\Papers->apiPaperAdd
GET @paperDel: /api/paper/@key/delete=pages\Papers->apiPaperDel
GET @driveAuth: /api/drive/auth=pages\GoogleDrive->auth
GET @driveLogout: /api/drive/logout=pages\GoogleDrive->logout
GET @driveFetch: /api/drive/fetch/@key=pages\GoogleDrive->fetch
GET|POST @driveUpload: /api/drive/upload/@method/@key=pages\GoogleDrive->upload