Commit f58ce7e
committed
Added parameter to disable web UI integration with local client
Added system config parameter `web_ui_integration_local_client.enabled`
to allow disabling integration with local client from web UI (i.e. when
local Nextcloud clients are not used).
Use
```
occ config:system:set web_ui_integration_local_client.enabled --value='true' --type=boolean
```
to enable (default if not set) and
```
occ config:system:set web_ui_integration_local_client.enabled --value='false' --type=boolean
```
to disable integration.
Use added parameter to show/hide `Edit locally` option in Nextcloud Files.
Related: https://help.nextcloud.com/t/how-remove-hide-edit-locally-option-in-web-interface/171999/5
Author-Change-Id: IB#1156402
Signed-off-by: Pawel Boguslawski <[email protected]>1 parent 1549ae0 commit f58ce7e
File tree
3 files changed
+19
-0
lines changed- apps/files
- lib/Controller
- src/actions
- config
3 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
88 | 98 | | |
89 | 99 | | |
90 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2606 | 2606 | | |
2607 | 2607 | | |
2608 | 2608 | | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
2609 | 2616 | | |
0 commit comments