Skip to content

Commit 2fe6674

Browse files
committed
Rename webcontrol_parms to webcontrol_access
1 parent 7aa1436 commit 2fe6674

25 files changed

Lines changed: 61 additions & 59 deletions

data/motion-dist.conf.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ movie_filename %v-%{movienbr}-%Y%m%d%H%M%S
8585
;*************************************************
8686
webcontrol_port 8080
8787
webcontrol_localhost on
88-
webcontrol_parms 2
88+
webcontrol_access 2
8989

9090
;*************************************************
9191
;***** Web Stream

doc/motion_config.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ <h2><a name="Configuration_OptionsTopic"></a> Configuration Options-Listed by T
433433
<td bgcolor="#edf4f9" ><a href="#webcontrol_port" >webcontrol_port</a> </td>
434434
<td bgcolor="#edf4f9" ><a href="#webcontrol_ipv6" >webcontrol_ipv6</a> </td>
435435
<td bgcolor="#edf4f9" ><a href="#webcontrol_localhost" >webcontrol_localhost</a> </td>
436-
<td bgcolor="#edf4f9" ><a href="#webcontrol_parms" >webcontrol_parms</a> </td>
436+
<td bgcolor="#edf4f9" ><a href="#webcontrol_access" >webcontrol_access</a> </td>
437437
</tr>
438438
<tr>
439439
<td bgcolor="#edf4f9" ><a href="#webcontrol_interface" >webcontrol_interface</a> </td>
@@ -1995,7 +1995,7 @@ <h3><a name="static_object_time"></a>static_object_time</h3>
19951995
<h3><a name="OptDetail_Scripts"></a> Script Execution </h3>
19961996
<p></p>
19971997
The following applies to all scripts being executed by Motion.
1998-
If <a href="#webcontrol_parms">webcontrol_parms</a> is
1998+
If <a href="#webcontrol_access">webcontrol_access</a> is
19991999
set to a value greater than or equal 3(i.e. the webcontrol allows changes
20002000
to scripts), then the program/script must be saved in a subdirectory from
20012001
the motion.conf file called 'scripts'. For example, if the
@@ -2356,7 +2356,7 @@ <h3><a name="webcontrol_base_path"></a> webcontrol_base_path </h3>
23562356
</ul>
23572357
<p></p>
23582358

2359-
<h3><a name="webcontrol_parms"></a> webcontrol_parms </h3>
2359+
<h3><a name="webcontrol_access"></a> webcontrol_access </h3>
23602360
<ul>
23612361
<li> Values: 0 - 3 | Default: 2 </li>
23622362
Set the type of parameters that can be accessed via the webcontrol page.
@@ -2367,7 +2367,7 @@ <h3><a name="webcontrol_parms"></a> webcontrol_parms </h3>
23672367
typically require Motion to be restarted to become effective.</li>
23682368
<li> 3: Restricted - User IDs, passwords and "on_" commands.</li>
23692369
</ul>
2370-
webcontrol_parms is not shown or allowed to be revised from the web interface. This
2370+
webcontrol_access is not shown or allowed to be revised from the web interface. This
23712371
allows users to lock out any changes to parameters. This may be desired if the
23722372
webcontrol port is opened to the internet.
23732373
</ul>
@@ -2395,7 +2395,7 @@ <h3><a name="webcontrol_auth_admin"></a> webcontrol_auth_admin </h3>
23952395
<ul>
23962396
<li> Values: String | Default: Not defined</li>
23972397
The admin username and password specified as username:password
2398-
This user has all the permissions granted by the webcontrol_parms
2398+
This user has all the permissions granted by the webcontrol_access
23992399
and webcontrol_actions.
24002400
</ul>
24012401
<p></p>
@@ -2460,7 +2460,7 @@ <h3><a name="webcontrol_actions"></a> webcontrol_actions </h3>
24602460
</ul>
24612461
Specify each of these using values of `on` or `off` to permit or deny respectively. The specification in
24622462
this parameter will override the default that is associated with
2463-
<a href="#webcontrol_parms">webcontrol_parms</a>.
2463+
<a href="#webcontrol_access">webcontrol_access</a>.
24642464
</ul>
24652465
<p></p>
24662466

@@ -2498,7 +2498,7 @@ <h3><a name="webcontrol_lock_script"></a> webcontrol_lock_script</h3>
24982498
Script to execute when a lockout has been triggered. Two additional parameters are passed to this script
24992499
when executed. The number of times the userid failed as well as the IP address attempting to log in.
25002500
<p></p>
2501-
If <a href="#webcontrol_parms">webcontrol_parms</a> is
2501+
If <a href="#webcontrol_access">webcontrol_access</a> is
25022502
set to a value greater than or equal 3(i.e. the webcontrol allows changes
25032503
to scripts), then the program/script must be saved in a subdirectory from
25042504
the motion.conf file called 'scripts'. For example, if the
@@ -2803,7 +2803,7 @@ <h3><a name="sql_pic_save"></a> sql_pic_save</h3>
28032803
<h3><a name="OptDetail_Tracking"></a>Tracking</h3>
28042804
<p></p>
28052805
The following applies to all scripts being executed by Motion.
2806-
If <a href="#webcontrol_parms">webcontrol_parms</a> is
2806+
If <a href="#webcontrol_access">webcontrol_access</a> is
28072807
set to a value greater than or equal 3(i.e. the webcontrol allows changes
28082808
to scripts), then the program/script must be saved in a subdirectory from
28092809
the motion.conf file called 'scripts'. For example, if the

doc/motion_examples.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ <h3><a name="webcontrol_pages"></a>Webcontrol pages</h3>
278278
just a single port in the <code>motion.conf</code> file and that will
279279
provide control and access to all the cameras on that port. Users
280280
can control which configuration parameters can be updated or changed
281-
using the <code>webcontrol_parms</code> configuration option and also
281+
using the <code>webcontrol_access</code> configuration option and also
282282
change which actions are permitted using the
283283
<code>webcontrol_actions</code> configuration option.
284284
<p></p>
@@ -294,16 +294,16 @@ <h3><a name="webcontrol_pages"></a>Webcontrol pages</h3>
294294
The following example illustrates having all the cameras available
295295
and being able to be controlled on port 8080 but on port 8081
296296
the user would only be able to view the parameters and perform
297-
actions since the webcontrol_parms was set to zero. </li>
297+
actions since the webcontrol_access was set to zero. </li>
298298
<code>motion.conf</code>
299299
<ul>
300300
<li><code>webcontrol_port 8080</code></li>
301-
<li><code>webcontrol_parms 3</code></li>
301+
<li><code>webcontrol_access 3</code></li>
302302
</ul>
303303
<code>camera1.conf</code>
304304
<ul>
305305
<li><code>webcontrol_port 8081</code></li>
306-
<li><code>webcontrol_parms 0</code></li>
306+
<li><code>webcontrol_access 0</code></li>
307307
</ul>
308308
<p></p>
309309
The following illustrates the availble streams

man/motion.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,7 @@ Restrict control connections to localhost only
14571457
.RE
14581458

14591459
.TP
1460-
.B webcontrol_parms
1460+
.B webcontrol_access
14611461
.RS
14621462
.nf
14631463
Values:

po/da.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,11 @@ msgstr "webcontrol localhost"
750750

751751
#: src/conf.cpp
752752
#, c-format
753-
msgid "Invalid webcontrol_parms %d"
753+
msgid "Invalid webcontrol_access %d"
754754
msgstr "Ugyldig webcontrol-parms %d"
755755

756756
#: src/conf.cpp
757-
msgid "webcontrol_parms"
757+
msgid "webcontrol_access"
758758
msgstr "webcontrol parms"
759759

760760
#: src/conf.cpp

po/de.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,11 +753,11 @@ msgstr "webcontrol localhost"
753753

754754
#: src/conf.cpp
755755
#, c-format
756-
msgid "Invalid webcontrol_parms %d"
756+
msgid "Invalid webcontrol_access %d"
757757
msgstr "Ungültige Webcontrol-Parameter %d"
758758

759759
#: src/conf.cpp
760-
msgid "webcontrol_parms"
760+
msgid "webcontrol_access"
761761
msgstr "Webcontrol-Parameter"
762762

763763
#: src/conf.cpp

po/es.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,11 +753,11 @@ msgstr "servidor local de control web"
753753

754754
#: src/conf.cpp
755755
#, c-format
756-
msgid "Invalid webcontrol_parms %d"
756+
msgid "Invalid webcontrol_access %d"
757757
msgstr "Parámetros de control web no válidos %d"
758758

759759
#: src/conf.cpp
760-
msgid "webcontrol_parms"
760+
msgid "webcontrol_access"
761761
msgstr "parámetros de control web"
762762

763763
#: src/conf.cpp

po/fi.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,11 @@ msgstr "webcontrol localhost"
750750

751751
#: src/conf.cpp
752752
#, c-format
753-
msgid "Invalid webcontrol_parms %d"
753+
msgid "Invalid webcontrol_access %d"
754754
msgstr "Virheellinen webcontrol parms %d"
755755

756756
#: src/conf.cpp
757-
msgid "webcontrol_parms"
757+
msgid "webcontrol_access"
758758
msgstr "webcontrol parms"
759759

760760
#: src/conf.cpp

po/fr.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,11 +754,11 @@ msgstr "hôte local de contrôle Web"
754754

755755
#: src/conf.cpp
756756
#, c-format
757-
msgid "Invalid webcontrol_parms %d"
757+
msgid "Invalid webcontrol_access %d"
758758
msgstr "Paramètres de contrôle Web non valides %d"
759759

760760
#: src/conf.cpp
761-
msgid "webcontrol_parms"
761+
msgid "webcontrol_access"
762762
msgstr "paramètres de contrôle Web"
763763

764764
#: src/conf.cpp

po/it.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,11 +753,11 @@ msgstr "host locale di controllo web"
753753

754754
#: src/conf.cpp
755755
#, c-format
756-
msgid "Invalid webcontrol_parms %d"
756+
msgid "Invalid webcontrol_access %d"
757757
msgstr "Parametri webcontrol %d non validi"
758758

759759
#: src/conf.cpp
760-
msgid "webcontrol_parms"
760+
msgid "webcontrol_access"
761761
msgstr "webcontrol parms"
762762

763763
#: src/conf.cpp

0 commit comments

Comments
 (0)