225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
* [trace](#trace)
* [unversioned content](#unversioned_content)
* [unversioned list](#unversioned_list)
* [utime](#utime)
* [verifyCsrf](#verifyCsrf)
* [verifyLogin](#verifyLogin)
* [wiki](#wiki)
Each of the commands above is documented by a block comment above their
implementation in the th\_main.c or th\_tcl.c source files.
All commands starting with "tcl", with the exception of "tclReady",
require the Tcl integration subsystem be included at compile-time.
Additionally, the "tcl" repository setting must be enabled at runtime
|
>
|
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
|
* [trace](#trace)
* [unversioned content](#unversioned_content)
* [unversioned list](#unversioned_list)
* [utime](#utime)
* [verifyCsrf](#verifyCsrf)
* [verifyLogin](#verifyLogin)
* [wiki](#wiki)
* [wiki_assoc](#wiki_assoc)
Each of the commands above is documented by a block comment above their
implementation in the th\_main.c or th\_tcl.c source files.
All commands starting with "tcl", with the exception of "tclReady",
require the Tcl integration subsystem be included at compile-time.
Additionally, the "tcl" repository setting must be enabled at runtime
|
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
|
<a id="bireqjs"></a>TH1 builtin_request_js Command
--------------------------------------------------
* builtin_request_js NAME
NAME must be the name of one of the
[built-in javascript source files](/dir?ci=trunk&type=flat&name=src&re=js$).
This command causes that javascript file to be appended to the delivered
document.
<a id="capexpr"></a>TH1 capexpr Command
-----------------------------------------------------
* capexpr CAPABILITY-EXPR
The capability expression is a list. Each term of the list is a
cluster of [capability letters](./caps/ref.html).
The overall expression is true if any
one term is true. A single term is true if all letters within that
term are true. Or, if the term begins with "!", then the term is true
if none of the terms are true. Or, if the term begins with "@" then
the term is true if all of the capability letters in that term are
available to the "anonymous" user. Or, if the term is "*" then it is
always true.
|
|
|
|
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
|
<a id="bireqjs"></a>TH1 builtin_request_js Command
--------------------------------------------------
* builtin_request_js NAME
NAME must be the name of one of the
[built-in javascript source files](/dir?ci=trunk&type=flat&name=src&re=js$).
This command causes that javascript file to be appended to the delivered
document.
<a id="capexpr"></a>TH1 capexpr Command
-----------------------------------------------------
* capexpr CAPABILITY-EXPR
The capability expression is a list. Each term of the list is a
cluster of [capability letters](./caps/ref.html).
The overall expression is true if any
one term is true. A single term is true if all letters within that
term are true. Or, if the term begins with "!", then the term is true
if none of the terms are true. Or, if the term begins with "@" then
the term is true if all of the capability letters in that term are
available to the "anonymous" user. Or, if the term is "*" then it is
always true.
|
859
860
861
862
863
864
865
866
867
868
869
870
871
872
|
<a id="wiki"></a>TH1 wiki Command
-----------------------------------
* wiki STRING
Renders STRING as wiki content.
Tcl Integration Commands
------------------------
When the Tcl integration subsystem is enabled, several commands are added
to the Tcl interpreter. They are used to allow Tcl scripts access to the
Fossil functionality provided via TH1. The following is a summary of the
|
>
>
>
>
>
>
>
>
>
|
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
|
<a id="wiki"></a>TH1 wiki Command
-----------------------------------
* wiki STRING
Renders STRING as wiki content.
<a id="wiki_assoc"></a>TH1 wiki_assoc Command
-----------------------------------
* wiki_assoc STRING STRING
Renders the special wiki. The first string refers to the namespace
(checkin, branch, tag, ticket). The second string specifies the
concrete wiki page to be rendered.
Tcl Integration Commands
------------------------
When the Tcl integration subsystem is enabled, several commands are added
to the Tcl interpreter. They are used to allow Tcl scripts access to the
Fossil functionality provided via TH1. The following is a summary of the
|