Commit Graph

133 Commits

Author SHA1 Message Date
Dominik Csapak
87ab935331 use new files in Makefile and correct index.html.tpl
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:49:11 +02:00
Dominik Csapak
1a51a8dc68 restructure configuration panel
move dns/time into network panel, to save some space

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:48:36 +02:00
Dominik Csapak
c3339ea165 rewrite ruleinfo
complete rewrite of the ruleinfo sidebar

* uses mvvm system
* show tabpanel with all unused objects, each category in a tab
* group the used objects by type
* allow for drag/drop or the actionbuttons for adding/removing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:48:11 +02:00
Dominik Csapak
d75b37b80b change ruleconfiguration to mvvm model
this now uses declarative syntax, and the model view viewmodel system of
extjs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:47:48 +02:00
Dominik Csapak
bca16caee8 replace alias by xtype
this is shorter

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:47:03 +02:00
Dominik Csapak
a450450001 add itemIds in tabpanels
will be used for routing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:46:37 +02:00
Dominik Csapak
8a20ffa56a add application
this is the main application class, which is responsible for loading
the main/login view

also for recentering modal windows

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:46:06 +02:00
Dominik Csapak
5936e3ef59 add the dashboard component
empty for now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:45:03 +02:00
Dominik Csapak
cd6bb503c3 add loginview
this replaces the loginwindow, and is responsible for logging in the user

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:44:47 +02:00
Dominik Csapak
9d91eeb07a add mainview component
this is the mainview component, which replaces partly the pmg workspace

it is responsible for creating the components from the navigation,
and do the routing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:43:27 +02:00
Dominik Csapak
1a7e73d192 add ruleeditor
this is the editwindow for the rules

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:41:10 +02:00
Dominik Csapak
ed2e43ff72 add navigation tree
this is a treelist with a store where we can define the structure of
the navigation on the left

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:40:13 +02:00
Dominik Csapak
ca6f3037f6 add versioninfo component
this gets the current version from the api and displays it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:38:50 +02:00
Dominik Csapak
9e3180e7c7 add logo component
for displaying the proxmox logo

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:37:49 +02:00
Dominik Csapak
4b7e5c48dd improve rule_direction formatter
this adds arrow icons to the direction formatter

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:37:24 +02:00
Dominik Csapak
076d6a72ad improving oclass formatter
this adds from/to to the oclass text object
adds a new oclass_icon object
and a new format_oclass function, which
combines the icon with the text

this will be used in the new ruleinfo sidebar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:36:55 +02:00
Dominik Csapak
f1ab2a1476 add updateLoginData to PMG.Utils
we need this multiple times

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:36:17 +02:00
Dietmar Maurer
462f06883e ClusterAdministration.js: start cluster panel 2017-04-05 06:32:44 +02:00
Dietmar Maurer
59542a9f78 PostfixMailQueue.js: deselect record on removal
So that buttons gets correctly disabled
2017-04-03 12:31:37 +02:00
Dietmar Maurer
cd3d421320 ViewMailHeaders.js: implement simple mail preview (headers only) 2017-04-03 10:27:52 +02:00
Dietmar Maurer
b8b05af7a0 PostfixMailQueue.js: implement remove for single queue entry 2017-04-03 08:10:01 +02:00
Dietmar Maurer
53f18f14ea PostfixMailQueue.js: implement single mail flush 2017-04-03 07:56:36 +02:00
Dietmar Maurer
723e6671c9 PostfixQShape.js: use correct nodename 2017-04-03 07:47:03 +02:00
Dietmar Maurer
10f771b57f PostfixMailQueue.js: use new api entry point, allow to set queue name 2017-04-03 07:42:01 +02:00
Dietmar Maurer
f24df9c154 PostfixQShape.js: add nodename configuration, reload on activate 2017-04-02 18:42:00 +02:00
Dietmar Maurer
55589b49b1 PostfixMailQueue.js: reload on activate 2017-04-02 18:41:25 +02:00
Dietmar Maurer
153408d5eb implement postfix maintainance actions 2017-04-02 13:28:11 +02:00
Dietmar Maurer
70b0bec4de QueueAdministration.js: view mail queue on double click 2017-04-02 12:33:51 +02:00
Dietmar Maurer
34d0b6ccfe js/PostfixMailQueue.js: use buffered store with large page size 2017-04-02 12:01:49 +02:00
Dietmar Maurer
df71aecf06 PostfixMailQueue.js: implement filter 2017-04-02 10:50:35 +02:00
Dietmar Maurer
ccf06524eb PostfixMailQueue.js: add widget to display mail queue 2017-04-02 09:11:14 +02:00
Dietmar Maurer
0a5e024a21 use a better file name: js/MailQueue.js -> js/PostfixQShape.js 2017-04-02 08:16:40 +02:00
Dietmar Maurer
a1da2b3642 add maild queue administration panel 2017-04-01 18:00:01 +02:00
Dietmar Maurer
e93402eeb2 UserView.js: correctly monitor and display store errors 2017-03-31 17:33:32 +02:00
Dietmar Maurer
fc18b36f1a LoginWindow.js: submit correct realm 2017-03-31 17:26:57 +02:00
Dietmar Maurer
98d2cb7f7a MailProxyPorts.js: cleanup -use view controller 2017-03-31 16:08:10 +02:00
Dietmar Maurer
b4ca6e3aa4 UserEdit.js: use dynamic xtype with cbind 2017-03-31 12:29:54 +02:00
Dietmar Maurer
2f74c5b4a5 js/UserEdit.js: use new cbind plugin 2017-03-31 12:19:55 +02:00
Dietmar Maurer
feb551ff61 js/UserEdit.js: updateUserid() - update methods does not return values 2017-03-30 12:07:25 +02:00
Dietmar Maurer
ec321d0808 js/UserEdit.js: set isCreate to true
seems the formulas are not triggered at startup
2017-03-30 11:59:40 +02:00
Dietmar Maurer
3142a2374f js/UserEdit.js: make userid a real config property
and implement updateUserid()
2017-03-30 11:40:04 +02:00
Dietmar Maurer
01632217f9 js/UserEdit.js: use formulas 2017-03-30 09:41:20 +02:00
Dietmar Maurer
466b5739bc js/UserEdit.js: do not allow blank passwords 2017-03-30 08:09:34 +02:00
Dietmar Maurer
c5e49a3d85 js/UserEdit.js: do not use onGetValues 2017-03-30 08:08:37 +02:00
Dietmar Maurer
bf01ac26d0 js/UserEdit.js: use initViewModel instead of init 2017-03-30 06:10:40 +02:00
Dietmar Maurer
5c0672e41b js/UserEdit.js: hack to avoid flicker 2017-03-29 22:06:36 +02:00
Dietmar Maurer
c62792c131 js/UserEdit.js: use new autoLoad property 2017-03-29 19:41:52 +02:00
Dietmar Maurer
2d1e22dd87 js/UserEdit.js: overwrite setValues instead of using load callback 2017-03-29 19:32:20 +02:00
Dietmar Maurer
8f5de6bf1b js/UserView.js: cleanup - remove initComponent 2017-03-29 19:17:45 +02:00
Dietmar Maurer
b7e43bc4f3 js/UserEdit.js: rewrite, use a view model 2017-03-29 19:11:48 +02:00