]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/application.xml
baculum: Tweak add comments
[bacula/bacula] / gui / baculum / protected / application.xml
index 116597d0f4e0542ca973dbe34f957f81f1d8b99d..7f4c77477b8d97b086f865f68f43b2b286879275 100644 (file)
@@ -1,9 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <application id="baculum" mode="Normal">
        <paths>
-               <using namespace="Application.Class.*" />
                <using namespace="System.Data.ActiveRecord.*" />
                <using namespace="System.I18N.*" />
+               <using namespace="Application.Class.*" />
+               <using namespace="Application.Portlets.BButton" />
+               <using namespace="Application.Portlets.BActiveButton" />
        </paths>
        <modules>
                <module id="request" class="THttpRequest" EnableCookieValidation="true" />
                        <url ServiceParameter="API.JobEstimate" pattern="jobs/estimate/" />
                        <url ServiceParameter="API.JobRun" pattern="jobs/run/" />
                        <url ServiceParameter="API.JobCancel" pattern="jobs/cancel/{id}/" parameters.id="\d+"/>
+                       <url ServiceParameter="API.JobsShow" pattern="jobs/show/" />
+                       <url ServiceParameter="API.JobShow" pattern="jobs/show/{id}/" parameters.id="\d+" />
+                       <url ServiceParameter="API.JobShow" pattern="jobs/show/name/{name}/" parameters.name=".+" />
+                       <url ServiceParameter="API.JobTotals" pattern="jobs/totals/" />
                        <url ServiceParameter="API.RestoreRun" pattern="jobs/restore/" />
                        <!-- END Jobs -->
                        <!-- START BVFS -->
-                       <url ServiceParameter="API.BVFSUpdate" pattern="bvfs/update/{id}/" parameters.id="[\d\,]+" />
-                       <url ServiceParameter="API.BVFSLsDirs" pattern="bvfs/lsdirs/{id}/" parameters.id="[\d\,]+" parameters.path=".+" />
-                       <url ServiceParameter="API.BVFSLsDirs" pattern="bvfs/lsdirs/{id}/limit/{limit}/" parameters.id="[\d\,]+" parameters.path=".+" parameters.limit="\d+" />
-                       <url ServiceParameter="API.BVFSLsDirs" pattern="bvfs/lsdirs/{id}/limit/{limit}/{offset}/" parameters.id="[\d\,]+" parameters.path=".+" parameters.limit="\d+" parameters.offset="\d+" />
-                       <url ServiceParameter="API.BVFSLsFiles" pattern="bvfs/lsfiles/{id}/" parameters.id="[\d\,]+" parameters.path=".+" />
-                       <url ServiceParameter="API.BVFSLsFiles" pattern="bvfs/lsfiles/{id}/limit/{limit}/" parameters.id="[\d\,]+" parameters.path=".+" parameters.limit="\d+" />
-                       <url ServiceParameter="API.BVFSLsFiles" pattern="bvfs/lsfiles/{id}/limit/{limit}/{offset}/" parameters.id="[\d\,]+" parameters.path=".+" parameters.limit="\d+" parameters.offset="\d+" />
+                       <url ServiceParameter="API.BVFSUpdate" pattern="bvfs/update/" />
+                       <url ServiceParameter="API.BVFSLsDirs" pattern="bvfs/lsdirs/" />
+                       <url ServiceParameter="API.BVFSLsDirs" pattern="bvfs/lsdirs/limit/{limit}/" parameters.limit="\d+" />
+                       <url ServiceParameter="API.BVFSLsDirs" pattern="bvfs/lsdirs/limit/{limit}/{offset}/" parameters.limit="\d+" parameters.offset="\d+" />
+                       <url ServiceParameter="API.BVFSLsFiles" pattern="bvfs/lsfiles/" />
+                       <url ServiceParameter="API.BVFSLsFiles" pattern="bvfs/lsfiles/limit/{limit}/" parameters.limit="\d+" />
+                       <url ServiceParameter="API.BVFSLsFiles" pattern="bvfs/lsfiles/limit/{limit}/{offset}/" parameters.limit="\d+" parameters.offset="\d+" />
                        <url ServiceParameter="API.BVFSVersions" pattern="bvfs/versions/{client}/{jobid}/{pathid}/{filenameid}/" parameters.client=".+" parameters.jobid="\d+" parameters.pathid="\d+" parameters.filenameid="\d+" />
                        <url ServiceParameter="API.BVFSGetJobids" pattern="bvfs/getjobids/{id}/" parameters.id="[\d\,]+" />
                        <url ServiceParameter="API.BVFSRestore" pattern="bvfs/restore/" />
@@ -84,6 +90,7 @@
                        <url ServiceParameter="API.FileSets" pattern="filesets/" />
                        <url ServiceParameter="API.FileSet" pattern="filesets/{id}/" parameters.id="\d+" />
                        <url ServiceParameter="API.ConsoleCommand" pattern="console/" />
+                       <url ServiceParameter="API.DbSize" pattern="dbsize/" />
                </module>
                <module id="globalization" class="TGlobalization">
                        <translation type="gettext" source="Application.Lang" marker="@@" autosave="false" cache="false" DefaultCulture="en" />
                <service id="page" class="TPageService" BasePath="Application.Pages" DefaultPage="Home">
                        <modules>
                                <module id="users" class="Application.Class.BaculumUsersManager" />
-                               <module id="auth" class="System.Security.TAuthManager" UserManager="users" />
+                               <module id="auth" class="System.Security.TAuthManager" UserManager="users" AllowAutoLogin="true" AuthExpire="864000" />
                                <module id="configuration" class="Application.Class.ConfigurationManager" />
                                <module id="logging" class="Application.Class.Logging" />
                                <module id="api" class="Application.Class.API" />