diff --git a/app/init.go b/app/init.go index 65197cc..8cdba7f 100644 --- a/app/init.go +++ b/app/init.go @@ -86,6 +86,7 @@ func init() { //__________________________________________________________________________ aah.AddTemplateFunc(template.FuncMap{ "docurlc": util.TmplDocURLc, + "docurl": util.TmplRDocURL, "docediturl": util.TmplDocEditURL, "absrequrl": util.TmplAbsReqURL, "vergteq": util.TmplVerGtEq, diff --git a/app/util/doc.go b/app/util/doc.go index ec76315..79af278 100644 --- a/app/util/doc.go +++ b/app/util/doc.go @@ -164,6 +164,11 @@ func TmplDocURLc(viewArgs map[string]interface{}, key string) template.HTML { return template.HTML(fmt.Sprintf("/%s/%s", version, fileName)) } +// TmplRDocURL method returns the doc relative url with give prefix. +func TmplRDocURL(rootPrefix template.URL, key string) template.URL { + return template.URL(fmt.Sprintf("%s%s/%s", string(rootPrefix), releases[0], aah.AppConfig().StringDefault(key, ""))) +} + // TmplDocEditURL method compose github documentation edit URL func TmplDocEditURL(docFile string) template.URL { var pattern string diff --git a/config/aah.conf b/config/aah.conf index d97b465..ea8f471 100644 --- a/config/aah.conf +++ b/config/aah.conf @@ -139,7 +139,7 @@ link { github = "https://github.com/go-aah/aah" github_org = "https://github.com/go-aah" twitter = "https://twitter.com/aahframework" - stackoverflow = "https://stackoverflow.com/questions/tagged/aahframework" + stackoverflow = "https://stackoverflow.com/questions/tagged/aah" mailling_list = "https://groups.google.com/forum/#!forum/aahframework" mailling_list_security = "https://groups.google.com/forum/#!forum/aahframework-security" gitter = "https://gitter.im/aahframework/community" diff --git a/static/css/aah.css b/static/css/aah.css index 289f843..c4597ad 100644 --- a/static/css/aah.css +++ b/static/css/aah.css @@ -885,6 +885,10 @@ pre, code { margin-top: 75px; } +.ft-16em { + font-size: 1.6em !important; +} + .footer { margin-top: 70px; font-size: 13px; diff --git a/views/pages/site/features.html b/views/pages/site/features.html index 1e25b30..809abce 100644 --- a/views/pages/site/features.html +++ b/views/pages/site/features.html @@ -89,8 +89,8 @@

SPA and Mobile app support

Real-time app support

aah supports real-time application architecture.

diff --git a/views/pages/site/index.html b/views/pages/site/index.html index 7051509..1330bf8 100644 --- a/views/pages/site/index.html +++ b/views/pages/site/index.html @@ -49,7 +49,7 @@
Uncompromising Security
Powerful Reply
-

RESTful or Render with your choice of view engine - Enhanced Go, Pug (Jade), many more to come.

+

RESTful or Render with your choice of view engine - Enhanced Go template, many more to come.

diff --git a/views/pages/site/security.html b/views/pages/site/security.html index 57d70a7..3707de6 100644 --- a/views/pages/site/security.html +++ b/views/pages/site/security.html @@ -20,7 +20,7 @@

Security

build uncompromised security into your application

-

aah is a security aware framework and its easy to use. It was inspired by Apache Shiro security library.

+

aah is a security aware framework. Enterprise-grade features and easy to use.


aah takes security very seriously, you’re welcome to do peer review of aah’s 100% open source code to ensure nobody’s aah application is ever compromised or hacked. As an application developer you’re responsible for any security breaches. I do my best to make sure aah application is as secure as possible.

What aah automatically does?

@@ -38,16 +38,20 @@

What aah automatically does?

  •  All errors and traces from application gets logged into log file, not exposed outside on environment profile prod.
  • -
    +

    Introducing Authentication and Authorization

    -

    Powerful security feature yet easy to use with application code base and view files.

    +

    Powerful security feature yet easy to use with application code base and view files. It is inspired by Apache Shiro security library.

    •  Cool session management for web applications and stateless for RESTful.
    • -
    •  You can implement Role based or Permission based or Role and Permissions based
    • -
    •  OOTB supported auth schemes are Form Auth, Basic Auth and Generic Auth.
    • +
    •  aah supports ACL, RBAC, ABAC, or custom (name your own). This is the capabilities of aah security design.
    • +
    •  OOTB supported auth schemes are Form Auth, Basic Auth, OAuth2 and Generic Auth.
    •  Mutliple auth-schemes within application and each can be mapped per route basis.
    +


    + {{ $docRoot := (rurl . "docs.index") }} +

    Learn more about Security - Terminology, Security - Design, Authentication, Authorization

    +
    {{- end }}