const classfantorepo302::FantoServer

sys::Obj
  web::WebMod
    draft::DraftMod
      fantorepo302::FantoServer

Master Server mod Route and serve the pages

ajaxLogin

Void ajaxLogin()

Process login form if given (ajax)

ajaxRegister

Void ajaxRegister()

Process regsitration form (ajax)

ajaxUpload

Void ajaxUpload()

Manual pod upload

db

const DB db := this.dbSvc.db

dbSvc

const DbService dbSvc := DbService.<ctor>().start

docGen

const DocGenerator docGen := DocGenerator.<ctor>().start

downloadPod

Void downloadPod(Str:Str args)

"Manual" download of a pod

help

Void help()

index

Void index()

Display index page.

listPods

Void listPods()

Page listing all the pods

log

const Log log := FantoServer#.pod().log

login

Void login()

Display login page.

logout

Void logout()

make

new make()

Constructor.

mongo

const Mongo mongo := this.dbSvc.mongo

myPods

Void myPods()

Page listing all the pods

notFound

Void notFound()

Not found when browsing

podInfo

Void podInfo(Str:Str args)

Page about a specific pod

removePod

Void removePod(Str:Str args)

"Manual" download of a pod

renderPage

Void renderPage(WebOutStream out, Str template, Str title, [Str:Obj]? params := ([Str:Obj]?)[:])

repo

const WebModWrapper repo := WebModWrapper.<ctor>()

Void search()

Run a search on the pods (name & summary)

settings

const SettingsService settings := SettingsService.<ctor>().start

tpl

const Templating tpl := Templating.<ctor>()

user

Void user(Str:Str args)

versionInfo

Void versionInfo(Str:Str args)

Page about a specific version of a pod