mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
@@ -180,20 +180,20 @@ author
|
||||
* required
|
||||
* can occur multiple times with different authors
|
||||
* can contain a **mail** attribute which must be an email
|
||||
* can contain a **homepage** which must be an URL
|
||||
* can contain a **homepage** which must be a URL
|
||||
* will not (yet) be rendered on the App Store
|
||||
* will be provided through the REST API
|
||||
documentation/user
|
||||
* optional
|
||||
* must contain an URL to the user documentation
|
||||
* must contain a URL to the user documentation
|
||||
* will be rendered on the app detail page
|
||||
documentation/admin
|
||||
* optional
|
||||
* must contain an URL to the admin documentation
|
||||
* must contain a URL to the admin documentation
|
||||
* will be rendered on the app detail page
|
||||
documentation/developer
|
||||
* optional
|
||||
* must contain an URL to the developer documentation
|
||||
* must contain a URL to the developer documentation
|
||||
* will be rendered on the app detail page
|
||||
category
|
||||
* optional
|
||||
@@ -219,20 +219,20 @@ category
|
||||
* can occur more than once with different categories
|
||||
website
|
||||
* optional
|
||||
* must contain an URL to the project's homepage
|
||||
* must contain a URL to the project's homepage
|
||||
* will be rendered on the app detail page
|
||||
discussion
|
||||
* optional
|
||||
* must contain an URL to the project's discussion page/forum
|
||||
* must contain a URL to the project's discussion page/forum
|
||||
* will be rendered on the app detail page as the "ask question or discuss" button
|
||||
* if absent, it will default to our forum at https://help.nextcloud.com/ and create a new category in the apps category
|
||||
bugs
|
||||
* required
|
||||
* must contain an URL to the project's bug tracker
|
||||
* must contain a URL to the project's bug tracker
|
||||
* will be rendered on the app detail page
|
||||
repository
|
||||
* optional
|
||||
* must contain an URL to the project's repository
|
||||
* must contain a URL to the project's repository
|
||||
* can contain a **type** attribute, **git**, **mercurial**, **subversion** and **bzr** are allowed values, defaults to **git**
|
||||
* currently not used
|
||||
screenshot
|
||||
|
||||
@@ -431,7 +431,7 @@ This event is triggered when an app is disabled.
|
||||
|
||||
.. versionadded:: 20
|
||||
|
||||
Emitted before the rendering step of each TemplateResponse. The event holds a flag that specifies if an user is logged in.
|
||||
Emitted before the rendering step of each TemplateResponse. The event holds a flag that specifies if a user is logged in.
|
||||
|
||||
``\OCP\Authentication\Events\LoginFailedEvent``
|
||||
***********************************************
|
||||
|
||||
@@ -16,7 +16,7 @@ Opening the webview
|
||||
The client should open a webview to :code:`<server>/index.php/login/flow`. Be sure to set the :code:`OCS-APIREQUEST`
|
||||
header to :code:`true`.
|
||||
|
||||
The client will register an URL handler to catch urls of the :code:`nc` protocol. This is required to obtain the
|
||||
The client will register a URL handler to catch urls of the :code:`nc` protocol. This is required to obtain the
|
||||
credentials in the final stage.
|
||||
|
||||
This should be a one time webview. Which means:
|
||||
|
||||
@@ -181,7 +181,7 @@ This when the primary color is e.g. set to ``#000000`` the ``color-elemenet-dark
|
||||
Text and icons on these elements should use ``color-text``.
|
||||
|
||||
|
||||
The background value can either be an URL to the background image or a hex color value.
|
||||
The background value can either be a URL to the background image or a hex color value.
|
||||
|
||||
Direct Download
|
||||
---------------
|
||||
|
||||
@@ -103,7 +103,7 @@ It may also be wise to choose a proper JavaScript framework like AngularJS which
|
||||
Clickjacking
|
||||
------------
|
||||
|
||||
`Clickjacking <https://en.wikipedia.org/wiki/Clickjacking>`_ tricks the user to click into an invisible iframe to perform an arbitrary action (e.g. delete an user account)
|
||||
`Clickjacking <https://en.wikipedia.org/wiki/Clickjacking>`_ tricks the user to click into an invisible iframe to perform an arbitrary action (e.g. delete a user account)
|
||||
|
||||
To prevent such attacks Nextcloud sends the `X-Frame-Options` header to all template responses. Don't remove this header if you don't really need it!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user