nitc :: NitwebConfig
nitc :: NitwebConfig :: _filter
The JSON API does not filter anything by default.nitc :: NitwebConfig :: _md_processor
Specific Markdown processor to use within Nitwebnitc :: NitwebConfig :: _modelbuilder
Modelbuilder used to access sources.nitc :: NitwebConfig :: _stars
MongoDB collection used to store stars.nitc :: NitwebConfig :: catalog=
Catalog to pass to handlers.nitc :: NitwebConfig :: defaultinit
nitc :: NitwebConfig :: filter
The JSON API does not filter anything by default.nitc :: NitwebConfig :: filter=
The JSON API does not filter anything by default.nitc :: NitwebConfig :: github_client_id
Github client id used for Github OAuth login.nitc :: NitwebConfig :: github_client_secret
Github client secret used for Github OAuth login.nitc :: NitwebConfig :: mainmodule=
MModule used to flatten model.nitc :: NitwebConfig :: md_processor
Specific Markdown processor to use within Nitwebnitc :: NitwebConfig :: md_processor=
Specific Markdown processor to use within Nitwebnitc :: NitwebConfig :: modelbuilder
Modelbuilder used to access sources.nitc :: NitwebConfig :: modelbuilder=
Modelbuilder used to access sources.nitc :: NitwebConfig :: stars=
MongoDB collection used to store stars.nitc $ NitwebConfig :: SELF
Type of this instance, automatically specialized in every classconfig :: IniConfig :: _default_config_file
Default config file pathpopcorn :: AppConfig :: _default_db_host
Default database host string for MongoDbpopcorn :: AppConfig :: _default_db_name
Default database hostnamenitc :: NitwebConfig :: _filter
The JSON API does not filter anything by default.nitc :: NitwebConfig :: _md_processor
Specific Markdown processor to use within Nitwebnitc :: NitwebConfig :: _modelbuilder
Modelbuilder used to access sources.popcorn :: AppConfig :: _opt_host
Host name to bind on (will overwrite the config one).config :: Config :: _opt_java_cp
nitc :: NitwebConfig :: _stars
MongoDB collection used to store stars.config :: Config :: _tool_description
Name, usage and synopsis of the tool.nitc :: NitwebConfig :: catalog=
Catalog to pass to handlers.core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
config :: IniConfig :: config_file
Return the config file path from options or the defaultconfig :: IniConfig :: default_config_file=
Default config file pathpopcorn :: AppConfig :: default_db_host
Default database host string for MongoDbpopcorn :: AppConfig :: default_db_host=
Default database host string for MongoDbpopcorn :: AppConfig :: default_db_name=
Default database hostnamepopcorn :: AppConfig :: defaultinit
nitc :: NitwebConfig :: defaultinit
core :: Object :: defaultinit
config :: IniConfig :: defaultinit
config :: Config :: defaultinit
nitc :: NitwebConfig :: filter
The JSON API does not filter anything by default.nitc :: NitwebConfig :: filter=
The JSON API does not filter anything by default.nitc :: NitwebConfig :: github_client_id
Github client id used for Github OAuth login.nitc :: NitwebConfig :: github_client_secret
Github client secret used for Github OAuth login.core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
nitc :: NitwebConfig :: mainmodule=
MModule used to flatten model.nitc :: NitwebConfig :: md_processor
Specific Markdown processor to use within Nitwebnitc :: NitwebConfig :: md_processor=
Specific Markdown processor to use within Nitwebnitc :: NitwebConfig :: modelbuilder
Modelbuilder used to access sources.nitc :: NitwebConfig :: modelbuilder=
Modelbuilder used to access sources.core :: Object :: native_class_name
The class name of the object in CString format.config :: Config :: opt_black_exts=
--blacklist-extsconfig :: Config :: opt_black_exts=
--blacklist-extsconfig :: IniConfig :: opt_config=
Path to app config filepopcorn :: AppConfig :: opt_db_host=
MongoDb host namepopcorn :: AppConfig :: opt_db_name=
MongoDb database namepopcorn :: AppConfig :: opt_host
Host name to bind on (will overwrite the config one).popcorn :: AppConfig :: opt_host=
Host name to bind on (will overwrite the config one).popcorn :: AppConfig :: opt_hostname=
Displayed host nameconfig :: Config :: opt_java_cp
config :: Config :: opt_java_cp=
config :: Config :: opt_stub_man=
Option --stub-manconfig :: Config :: opt_white_exts=
--whitelist-extsconfig :: Config :: opt_white_exts=
--whitelist-extscore :: Object :: output_class_name
Display class name on stdout (debug only).config :: Config :: parse_options
Initializeself
options from args
nitc :: NitwebConfig :: stars=
MongoDB collection used to store stars.config :: Config :: tool_description
Name, usage and synopsis of the tool.config :: Config :: tool_description=
Name, usage and synopsis of the tool.popcorn :: AppConfig :: tracker_logs=
Logs collection
# Nitweb config file.
class NitwebConfig
super AppConfig
redef fun default_db_name do return "nitweb"
# Model to use.
var model: Model
# MModule used to flatten model.
var mainmodule: MModule
# Modelbuilder used to access sources.
var modelbuilder: ModelBuilder
# The JSON API does not filter anything by default.
var filter: nullable ModelFilter
# Catalog to pass to handlers.
var catalog: Catalog
end
src/doc/api/api_base.nit:28,1--48,3
redef class NitwebConfig
# Specific Markdown processor to use within Nitweb
var md_processor: MarkdownProcessor is lazy do
var parser = new CommandParser(model, mainmodule, modelbuilder, catalog)
var proc = new CmdMarkdownProcessor(parser)
proc.decorator = new CmdDecorator(model)
return proc
end
end
src/doc/api/api_docdown.nit:21,1--29,3
redef class NitwebConfig
# Github client id used for Github OAuth login.
#
# * key: `github.client_id`
# * default: ``
fun github_client_id: String do return ini["github.client.id"] or else ""
# Github client secret used for Github OAuth login.
#
# * key: `github.client_secret`
# * default: ``
fun github_client_secret: String do return ini["github.client.secret"] or else ""
end
src/doc/api/api_auth.nit:20,1--33,3
redef class NitwebConfig
# MongoDB collection used to store stars.
var stars = new StarRatingRepo(db.collection("stars")) is lazy
end
src/doc/api/api_feedback.nit:21,1--25,3