Skip to content

Commit 98e1a37

Browse files
committed
Update documentation
1 parent e921ad7 commit 98e1a37

File tree

4 files changed

+43
-43
lines changed

4 files changed

+43
-43
lines changed

docs/authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ If you'd also like to prevent direct visit access to your configuration file, yo
144144

145145
With basic auth, all logic is happening on the client-side, which could mean a skilled user could manipulate the code to view parts of your configuration, including the hash. If the SHA-256 hash is of a common password, it may be possible to determine it, using a lookup table, in order to find the original password. Which can be used to manually generate the auth token, that can then be inserted into session storage, to become a valid logged in user. Therefore, you should always use a long, strong and unique password, and if you instance contains security-critical info and/ or is exposed directly to the internet, and alternative authentication method may be better. The purpose of the login page is merely to prevent immediate unauthorized access to your homepage.
146146

147-
********[⬆️ Back to Top](#)********
147+
****[⬆️ Back to Top](#)****
148148

149149
---
150150

@@ -154,7 +154,7 @@ If you'd like to protect all your config files from direct access, you can set t
154154

155155
Then, if you'd like your frontend to automatically log you in, without prompting you for credentials (insecure, so only use on a trusted environment), then also specify `VUE_APP_BASIC_AUTH_USERNAME` and `VUE_APP_BASIC_AUTH_PASSWORD`. This is useful for when you're hosting Dashy on a private server, and just want to use auth for user management and to prevent direct access to your config files, while still allowing the frontend to access them. Note that a rebuild is required for these changes to take effect.
156156

157-
********[⬆️ Back to Top](#)********
157+
****[⬆️ Back to Top](#)****
158158

159159
---
160160

@@ -645,4 +645,4 @@ There are also authentication services, such as [Ory.sh](https://www.ory.sh/), [
645645

646646
If you are hosting Dashy on a cloud platform, you will probably find that it has built-in support for password protected access to web apps. For more info, see the relevant docs for your provider, for example: [Netlify Password Protection](https://docs.netlify.com/visitor-access/password-protection/), [Cloudflare Access](https://www.cloudflare.com/teams/access/), [AWS Cognito](https://aws.amazon.com/cognito/), [Azure Authentication](https://docs.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service) and [Vercel Password Protection](https://vercel.com/docs/platform/projects#password-protection).
647647

648-
********[⬆️ Back to Top](#)********
648+
****[⬆️ Back to Top](#)****

docs/configuring.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The following file provides a reference of all supported configuration options.
6464
**`sections`** | `array` | Required | An array of sections, each containing an array of items, which will be displayed as links. See [`section`](#section)
6565
**`pages`** | `array` | _Optional_ | An array additional config files, used for multi-page dashboards. See [`pages`](#pages-optional)
6666

67-
********[⬆️ Back to Top](#)********
67+
****[⬆️ Back to Top](#)****
6868

6969
## `PageInfo`
7070

@@ -76,7 +76,7 @@ The following file provides a reference of all supported configuration options.
7676
**`footerText`** | `string` | _Optional_ | Text to display in the footer (note that this will override the default footer content). This can also include HTML and inline CSS
7777
**`logo`** | `string` | _Optional_ | The path to an image to display in the header (to the right of the title). This can be either local, where `/` is the root of `./public`, or any remote image, such as `https://i.ibb.co/yhbt6CY/dashy.png`. It's recommended to scale your image down, so that it doesn't impact load times
7878

79-
********[⬆️ Back to Top](#)********
79+
****[⬆️ Back to Top](#)****
8080

8181
## `pageInfo.navLinks` _(optional)_
8282

@@ -86,7 +86,7 @@ The following file provides a reference of all supported configuration options.
8686
**`path`** | `string` | Required | The URL to navigate to when clicked. Can be relative (e.g. `/about`) or absolute (e.g. `https://example.com` or `http://192.168.1.1`)
8787
**`target`** | `string` | _Optional_ | The opening method (external links only). Can be either `newtab`, `sametab`, `top` or `parent`. Defaults to `newtab`
8888

89-
********[⬆️ Back to Top](#)********
89+
****[⬆️ Back to Top](#)****
9090

9191
## `pages[]` _(optional)_
9292

@@ -97,7 +97,7 @@ The following file provides a reference of all supported configuration options.
9797

9898
For more info, see the[Multi-Page docs](/docs/pages-and-sections#multi-page-support)
9999

100-
********[⬆️ Back to Top](#)********
100+
****[⬆️ Back to Top](#)****
101101

102102
## `appConfig` _(optional)_
103103

@@ -141,7 +141,7 @@ For more info, see the[Multi-Page docs](/docs/pages-and-sections#multi-page-supp
141141
**`enableServiceWorker`** | `boolean` | _Optional_ | Service workers cache web applications to improve load times and offer basic offline functionality, and are disabled by default in Dashy. The service worker can sometimes cause older content to be cached, requiring the app to be hard-refreshed. If you do not want SW functionality, or are having issues with caching, set this property to `false` to disable all service workers.
142142
**`disableContextMenu`** | `boolean` | _Optional_ | If set to `true`, the custom right-click context menu will be disabled. Defaults to `false`.
143143

144-
********[⬆️ Back to Top](#)********
144+
****[⬆️ Back to Top](#)****
145145

146146
## `appConfig.auth` _(optional)_
147147

@@ -166,7 +166,7 @@ For more info, see the[Multi-Page docs](/docs/pages-and-sections#multi-page-supp
166166

167167
For more info, see the **[Authentication Docs](/docs/authentication)**
168168

169-
********[⬆️ Back to Top](#)********
169+
****[⬆️ Back to Top](#)****
170170

171171
## `appConfig.auth.users` _(optional)_
172172

@@ -176,7 +176,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
176176
**`hash`** | `string` | Required | A SHA-256 hashed password
177177
**`type`** | `string` | _Optional_ | The user type, either admin or normal
178178

179-
********[⬆️ Back to Top](#)********
179+
****[⬆️ Back to Top](#)****
180180

181181
## `appConfig.auth.keycloak` _(optional)_
182182

@@ -187,7 +187,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
187187
**`clientId`** | `string` | Required | The Client ID of the client you created for use with Dashy
188188
**`legacySupport`** | `boolean` | _Optional_ | If using Keycloak 17 or older, then set this to `true`
189189

190-
********[⬆️ Back to Top](#)********
190+
****[⬆️ Back to Top](#)****
191191

192192
## `appConfig.auth.headerAuth` _(optional)_
193193

@@ -196,7 +196,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
196196
**`userHeader`** | `string` | _Optional_ | The Header name which contains username (default: REMOTE_USER). Case insensitive
197197
**`proxyWhitelist`** | `array` | Required | An array of Upstream proxy servers to expect authencticated requests from
198198

199-
********[⬆️ Back to Top](#)********
199+
****[⬆️ Back to Top](#)****
200200

201201
## `appConfig.auth.oidc` _(optional)_
202202

@@ -208,7 +208,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
208208
**`adminGroup`** | `string` | _Optional_ | The group that will be considered as admin.
209209
**`scope`** | `string` | Required | The scope(s) to request from the OIDC provider
210210

211-
********[⬆️ Back to Top](#)********
211+
****[⬆️ Back to Top](#)****
212212

213213
## `appConfig.webSearch` _(optional)_
214214

@@ -221,7 +221,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
221221
**`searchBangs`** | `object` | _Optional_ | A key-value-pair set of custom search _bangs_ for redirecting query to a specific app or search engine. The key of each should be the bang you will type (typically starting with `/`, `!` or `:`), and value is the destination, either as a search engine key (e.g. `reddit`) or a URL with search parameters (e.g. `https://en.wikipedia.org/w/?search=`)
222222
**`openUrlsDirectly`** | `boolean` | _Optional_ | If `true`, queries that look like URLs will be opened directly instead of searched. Defaults to `false`
223223

224-
********[⬆️ Back to Top](#)********
224+
****[⬆️ Back to Top](#)****
225225

226226
## `appConfig.hideComponents` _(optional)_
227227

@@ -233,7 +233,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
233233
**`hideSettings`** | `boolean` | _Optional_ | If set to `true`, the settings menu will be initially collapsed. Defaults to `false`
234234
**`hideFooter`** | `boolean` | _Optional_ | If set to `true`, the footer will not be visible. Defaults to `false`
235235

236-
********[⬆️ Back to Top](#)********
236+
****[⬆️ Back to Top](#)****
237237

238238
## `section`
239239

@@ -245,7 +245,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
245245
**`widgets`** | `array` | _Optional_ | An array of widgets to be displayed within the section. See [`widget`](#sectionwidgets-optional)
246246
**`displayData`** | `object` | _Optional_ | Meta-data to optionally override display settings for a given section. See [`displayData`](#sectiondisplaydata-optional)
247247

248-
********[⬆️ Back to Top](#)********
248+
****[⬆️ Back to Top](#)****
249249

250250
## `section.item`
251251

@@ -270,7 +270,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
270270
**`provider`** | `string` | _Optional_ | The name of the provider for a given service, useful for when including hosted apps. In some themes, this is visible under the item name
271271
**`displayData`** | `object` | _Optional_ | Meta-data to optionally override display settings for a given item. See [`displayData`](#itemdisplaydata-optional)
272272

273-
********[⬆️ Back to Top](#)********
273+
****[⬆️ Back to Top](#)****
274274

275275
## `item.displayData` _(optional)_
276276

@@ -283,7 +283,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
283283
**`showForKeycloakUsers`** | `object` | _Optional_ | Current item will be hidden from all keycloak users, except for those configured via these groups and roles. See `showForKeycloakUsers`
284284
**`hideFromWorkspace`** | `boolean` | _Optional_ | Current item will be visible in the default view but not in the Workspace view sidebar. Defaults to `false`
285285

286-
********[⬆️ Back to Top](#)********
286+
****[⬆️ Back to Top](#)****
287287

288288
## `section.widgets` _(optional)_
289289

@@ -297,7 +297,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
297297
**`ignoreErrors`** | `boolean` | _Optional_ | Prevent an error message being displayed, if a network request or something else fails. Useful for false-positives
298298
**`label`** | `string` | _Optional_ | Add custom label to a given widget. Useful for identification, if there are multiple of the same type of widget in a single section
299299

300-
********[⬆️ Back to Top](#)********
300+
****[⬆️ Back to Top](#)****
301301

302302
## `section.displayData` _(optional)_
303303

@@ -321,15 +321,15 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
321321
**`showForKeycloakUsers`** | `object` | _Optional_ | Current section will be hidden from all keycloak users, except for those configured via these groups and roles. See `showForKeycloakUsers`
322322
**`hideFromWorkspace`** | `boolean` | _Optional_ | Current section will be visible in the default view but not in the Workspace view sidebar. Defaults to `false`
323323

324-
********[⬆️ Back to Top](#)********
324+
****[⬆️ Back to Top](#)****
325325

326326
## `section.icon` and `section.item.icon`
327327

328328
**Field** | **Type** | **Required**| **Description**
329329
--- | --- | --- | ---
330330
**`icon`** | `string` | _Optional_ | The icon for a given item or section. <br />See [Icon Docs](/docs/icons) for all available supported icon types, including: auto-fetched favicons, generative icons, emoji icons, home-lab service logos, font-awesome, simple-icons, material icons, selfh.st icons, and icons specified by URL
331331

332-
********[⬆️ Back to Top](#)********
332+
****[⬆️ Back to Top](#)****
333333

334334
## `section.displayData.hideForKeycloakUsers`, `section.displayData.showForKeycloakUsers`, `item.displayData.hideForKeycloakUsers` and `item.displayData.showForKeycloakUsers`
335335

@@ -338,7 +338,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
338338
**`groups`** | `string[]` | _Optional_ | Current Section or Item will be hidden or shown based on the user having any of the groups in this list
339339
**`roles`** | `string[]` | _Optional_ | Current Section or Item will be hidden or shown based on the user having any of the roles in this list
340340

341-
********[⬆️ Back to Top](#)********
341+
****[⬆️ Back to Top](#)****
342342

343343
---
344344

@@ -414,4 +414,4 @@ If you need any help, feel free to [Raise an Issue](https://github.com/Lissy93/d
414414
415415
Happy Configuring 🤓🔧
416416
417-
********[⬆️ Back to Top](#)********
417+
****[⬆️ Back to Top](#)****

0 commit comments

Comments
 (0)