You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
syncthing: update to v1.23.4 and include next-gen-gui (#5523)
* syncthing: update to v1.22.2 and include next-gen-gui
- update syncthing to v1.22.2
- include next-get-gui and provide it under /tech-ui
- fix parameter of ca_reloader.sh
- fix link in wizard files
* syncthing #3320
- avoid the creation of a default folder on first startup
* fix usage text in ca_reloader.sh
* clarify that the parameter --no-default-folder is ignored after the first start of syncthing
* Update spk/syncthing/Makefile
Co-authored-by: André Colomb <[email protected]>
* Update cross/syncthing/PLIST
Co-authored-by: André Colomb <[email protected]>
* avoid to use $HOME as default sync folder
* update syncthing configuration
- avoid the use of '--home' argument as not related to HOME env. variable
- enable to define custom HOME folder in options.conf
* create options.conf.new on package update for DSM<7
* update wizard pages
- add customization information to wizard
- fix install_uifile_fre (add wizard_username and wizard_password)
- add information for options.conf.new to upgrade wizard
* Update spk/syncthing/src/service-setup.sh
Co-authored-by: André Colomb <[email protected]>
* move tech-ui to dedicated module and download prebuilt release
- omit to compile synchthing --with-next-gen-gui
* syncthing: udpate to v1.23.4
Co-authored-by: André Colomb <[email protected]>
* final cleanup
- avoid running ca_reloader.sh on DSM 7+
---------
Co-authored-by: André Colomb <[email protected]>
Copy file name to clipboardexpand all lines: spk/syncthing/src/wizard/install_uifile
+11-2
Original file line number
Diff line number
Diff line change
@@ -42,10 +42,19 @@
42
42
]
43
43
},
44
44
{
45
-
"step_title": "DSM Permissions",
45
+
"step_title": "Permissions and Customization",
46
46
"items": [
47
47
{
48
-
"desc": "Permissions for this package are handled by the <b>'sc-syncthing'</b> group. <br>Using File Station, add this group to every folder Syncthing should be allowed to access.<br>Please read <a <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> for details."
48
+
"desc": "<b>Permissions</b>"
49
+
},
50
+
{
51
+
"desc": "Permissions for this package are handled by the <b>'sc-syncthing'</b> group. <br>Using File Station, add this group to every folder Syncthing should be allowed to access. <br/>Please read <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> for details."
52
+
},
53
+
{
54
+
"desc": "<b>Customization</b>"
55
+
},
56
+
{
57
+
"desc": "For advanced customization you can edit the file <code>/var/packages/syncthing/var/options.conf</code>. For example, you can define a custom <code>HOME</code> folder or additional parameters to start Syncthing with. <br/>To modify the options file, you need <code>SSH</code> access with a privileged user account. To apply your modifications, you have to restart Syncthing in the Package Center."
Copy file name to clipboardexpand all lines: spk/syncthing/src/wizard/install_uifile_fre
+52-2
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,60 @@
1
1
[
2
2
{
3
-
"step_title": "Permissions DSM",
3
+
"step_title": "Authentification pour interface graphique",
4
+
"invalid_next_disabled": true,
4
5
"items": [
5
6
{
6
-
"desc": "Les permissions de toutes les applications de téléchargement sont gérées par le groupe <b>'sc-syncthing'</b> dans DSM.<br>Depuis File Station, ajouter ce groupe à tout répertoire auquel Syncthing doit avoir accès.<br>Merci de lire <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> pour plus de détails."
7
+
"desc": "L'interface graphique Syncthing ne doit pas être accessible sans authentification. Ce serait dangereux car avec l'accès à l'interface graphique Web, n'importe quel dossier peut être configuré pour être partagé par un tiers malveillant.<br/>Veuillez fournir un nom d'utilisateur et un mot de passe pour vous protéger contre les connexions non autorisées. Il sera requis à chaque ouverture de l'interface graphique de Syncthing.<br/><br/>(Laisser l'un ou l'autre des champs vide désactive l'authentification.)"
8
+
},
9
+
{
10
+
"type": "textfield",
11
+
"subitems": [
12
+
{
13
+
"key": "wizard_username",
14
+
"desc": "Nom d'utilisateur",
15
+
"defaultValue": "syncthing",
16
+
"validator": {
17
+
"allowBlank": true,
18
+
"regex": {
19
+
"expr": "/^[^<>:*/?\"|]*$/",
20
+
"errorText": "Caractère non autorisé dans le nom d'utilisateur"
21
+
}
22
+
}
23
+
}
24
+
]
25
+
},
26
+
{
27
+
"type": "password",
28
+
"subitems": [
29
+
{
30
+
"key": "wizard_password",
31
+
"desc": "Le mot de passe",
32
+
"validator": {
33
+
"allowBlank": true,
34
+
"regex": {
35
+
"expr": "/^[^<>:*/?\"|]*$/",
36
+
"errorText": "Caractère non autorisé dans le mot de passe"
37
+
}
38
+
}
39
+
}
40
+
]
7
41
}
8
42
]
43
+
},
44
+
{
45
+
"step_title": "Permissions et Personnalisation",
46
+
"items": [
47
+
{
48
+
"desc": "<b>Permissions</b>"
49
+
},
50
+
{
51
+
"desc": "Les permissions pour cette application sont gérées par le groupe <b>'sc-syncthing'</b>.<br>Depuis File Station, ajouter ce groupe à tout répertoire auquel Syncthing doit avoir accès.<br>Merci de lire <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> pour plus de détails."
52
+
},
53
+
{
54
+
"desc": "<b>Personnalisation</b>"
55
+
},
56
+
{
57
+
"desc": "Pour une personnalisation avancée, vous pouvez modifier le fichier <code>/var/packages/syncthing/var/options.conf</code>. Par exemple, vous pouvez définir un dossier <code>HOME</code> personnalisé ou des paramètres supplémentaires avec lesquels démarrer Syncthing. <br/>Pour modifier le fichier d'options, vous avez besoin d'un accès <code>SSH</code> avec un compte utilisateur privilégié. <br/>Pour appliquer vos modifications, vous devez redémarrer Syncthing dans le Centre de paquets." }
Copy file name to clipboardexpand all lines: spk/syncthing/src/wizard/upgrade_uifile
+14-2
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,21 @@
1
1
[
2
2
{
3
-
"step_title": "DSM Permissions",
3
+
"step_title": "Permissions and Customization",
4
4
"items": [
5
5
{
6
-
"desc": "Permissions for this package are handled by the <b>'sc-syncthing'</b> group. <br>Using File Station, add this group to every folder Syncthing should be allowed to access.<br>Please read <a <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> for details."
6
+
"desc": "<b>Permissions</b>"
7
+
},
8
+
{
9
+
"desc": "Permissions for this package are handled by the <b>'sc-syncthing'</b> group. <br>Using File Station, add this group to every folder Syncthing should be allowed to access. <br/>Please read <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> for details."
10
+
},
11
+
{
12
+
"desc": "<b>Customization</b>"
13
+
},
14
+
{
15
+
"desc": "For advanced customization you can edit the file <code>/var/packages/syncthing/var/options.conf</code>. For example, you can define a custom <code>HOME</code> folder or additional parameters to start Syncthing with. <br/>To modify the options file, you need <code>SSH</code> access with a privileged user. To apply your modifications, you have to restart Syncthing in the Package Center."
16
+
},
17
+
{
18
+
"desc": "<b>This update does not modify your existing <code>options.conf</code> file. Please find additional examples in the provided file <code>options.conf.new</code> in the same folder.</b>"
0 commit comments