Fossil SCM
Added comment to timeline/ticket. Minor additions to AJAX test pages.
Commit
de0b860f770141f5fe99eda8f03f6c51f3871e5b
Parent
42900f3029d129d…
3 files changed
+4
+3
+1
+4
| --- ajax/index.html | ||
| +++ ajax/index.html | ||
| @@ -190,10 +190,13 @@ | ||
| 190 | 190 | <h1>You know, for sending raw JSON requests to Fossil...</h1> |
| 191 | 191 | |
| 192 | 192 | If you're actually using this page, then you know what you're doing and don't |
| 193 | 193 | need help text, hoverhelp, and a snazzy interface. |
| 194 | 194 | |
| 195 | +<br><br> | |
| 196 | +See also: <a href='wiki-editor.html'>prototype wiki editor</a>. | |
| 197 | + | |
| 195 | 198 | <h2>Request...</h2> |
| 196 | 199 | |
| 197 | 200 | Path: <input type='text' size='40' id='textPath' value='/json/HAI'/> |
| 198 | 201 | <input type='button' value='Send...' id='btnSend' onclick='TheApp.sendRequest()' /><br/> |
| 199 | 202 | If the POST textarea is not empty then it will be posted with the request. |
| @@ -205,10 +208,11 @@ | ||
| 205 | 208 | <input type='button' value='whoami' onclick='TheApp.cgi.sendCommand("/json/whoami")' /> |
| 206 | 209 | <input type='button' value='cap' onclick='TheApp.cgi.sendCommand("/json/cap")' /> |
| 207 | 210 | <input type='button' value='branch/list' onclick='TheApp.cgi.sendCommand("/json/branch/list")' /> |
| 208 | 211 | <input type='button' value='timeline/ci' onclick='TheApp.cgi.sendCommand("/json/timeline/ci")' /> |
| 209 | 212 | <input type='button' value='timeline/wiki' onclick='TheApp.cgi.sendCommand("/json/timeline/wiki")' /> |
| 213 | +<input type='button' value='timeline/ticket' onclick='TheApp.cgi.sendCommand("/json/timeline/ticket")' /> | |
| 210 | 214 | <input type='button' value='wiki/list' onclick='TheApp.cgi.sendCommand("/json/wiki/list")' /> |
| 211 | 215 | <input type='button' value='wiki/get Fossil' onclick='TheApp.cgi.sendCommand("/json/wiki/get",{"page":"Fossil"})' /> |
| 212 | 216 | |
| 213 | 217 | <!-- |
| 214 | 218 | <input type='button' value='get whiki' onclick='TheApp.cgi.getPages("whiki")' /> |
| 215 | 219 |
| --- ajax/index.html | |
| +++ ajax/index.html | |
| @@ -190,10 +190,13 @@ | |
| 190 | <h1>You know, for sending raw JSON requests to Fossil...</h1> |
| 191 | |
| 192 | If you're actually using this page, then you know what you're doing and don't |
| 193 | need help text, hoverhelp, and a snazzy interface. |
| 194 | |
| 195 | <h2>Request...</h2> |
| 196 | |
| 197 | Path: <input type='text' size='40' id='textPath' value='/json/HAI'/> |
| 198 | <input type='button' value='Send...' id='btnSend' onclick='TheApp.sendRequest()' /><br/> |
| 199 | If the POST textarea is not empty then it will be posted with the request. |
| @@ -205,10 +208,11 @@ | |
| 205 | <input type='button' value='whoami' onclick='TheApp.cgi.sendCommand("/json/whoami")' /> |
| 206 | <input type='button' value='cap' onclick='TheApp.cgi.sendCommand("/json/cap")' /> |
| 207 | <input type='button' value='branch/list' onclick='TheApp.cgi.sendCommand("/json/branch/list")' /> |
| 208 | <input type='button' value='timeline/ci' onclick='TheApp.cgi.sendCommand("/json/timeline/ci")' /> |
| 209 | <input type='button' value='timeline/wiki' onclick='TheApp.cgi.sendCommand("/json/timeline/wiki")' /> |
| 210 | <input type='button' value='wiki/list' onclick='TheApp.cgi.sendCommand("/json/wiki/list")' /> |
| 211 | <input type='button' value='wiki/get Fossil' onclick='TheApp.cgi.sendCommand("/json/wiki/get",{"page":"Fossil"})' /> |
| 212 | |
| 213 | <!-- |
| 214 | <input type='button' value='get whiki' onclick='TheApp.cgi.getPages("whiki")' /> |
| 215 |
| --- ajax/index.html | |
| +++ ajax/index.html | |
| @@ -190,10 +190,13 @@ | |
| 190 | <h1>You know, for sending raw JSON requests to Fossil...</h1> |
| 191 | |
| 192 | If you're actually using this page, then you know what you're doing and don't |
| 193 | need help text, hoverhelp, and a snazzy interface. |
| 194 | |
| 195 | <br><br> |
| 196 | See also: <a href='wiki-editor.html'>prototype wiki editor</a>. |
| 197 | |
| 198 | <h2>Request...</h2> |
| 199 | |
| 200 | Path: <input type='text' size='40' id='textPath' value='/json/HAI'/> |
| 201 | <input type='button' value='Send...' id='btnSend' onclick='TheApp.sendRequest()' /><br/> |
| 202 | If the POST textarea is not empty then it will be posted with the request. |
| @@ -205,10 +208,11 @@ | |
| 208 | <input type='button' value='whoami' onclick='TheApp.cgi.sendCommand("/json/whoami")' /> |
| 209 | <input type='button' value='cap' onclick='TheApp.cgi.sendCommand("/json/cap")' /> |
| 210 | <input type='button' value='branch/list' onclick='TheApp.cgi.sendCommand("/json/branch/list")' /> |
| 211 | <input type='button' value='timeline/ci' onclick='TheApp.cgi.sendCommand("/json/timeline/ci")' /> |
| 212 | <input type='button' value='timeline/wiki' onclick='TheApp.cgi.sendCommand("/json/timeline/wiki")' /> |
| 213 | <input type='button' value='timeline/ticket' onclick='TheApp.cgi.sendCommand("/json/timeline/ticket")' /> |
| 214 | <input type='button' value='wiki/list' onclick='TheApp.cgi.sendCommand("/json/wiki/list")' /> |
| 215 | <input type='button' value='wiki/get Fossil' onclick='TheApp.cgi.sendCommand("/json/wiki/get",{"page":"Fossil"})' /> |
| 216 | |
| 217 | <!-- |
| 218 | <input type='button' value='get whiki' onclick='TheApp.cgi.getPages("whiki")' /> |
| 219 |
| --- ajax/wiki-editor.html | ||
| +++ ajax/wiki-editor.html | ||
| @@ -318,10 +318,13 @@ | ||
| 318 | 318 | |
| 319 | 319 | <body> |
| 320 | 320 | <span id='ajaxNotification'></span> |
| 321 | 321 | <h1>PROTOTYPE JSON-based Fossil Wiki Editor</h1> |
| 322 | 322 | |
| 323 | +See also: <a href='index.html'>main test page</a>. | |
| 324 | + | |
| 325 | +<br> | |
| 323 | 326 | <b>Login:</b> |
| 324 | 327 | <br/> |
| 325 | 328 | <input type='button' value='Anon. Login' onclick='TheApp.cgi.login()' /> |
| 326 | 329 | or: |
| 327 | 330 | name:<input type='text' id='textUser' value='json-demo' size='12'/> |
| 328 | 331 |
| --- ajax/wiki-editor.html | |
| +++ ajax/wiki-editor.html | |
| @@ -318,10 +318,13 @@ | |
| 318 | |
| 319 | <body> |
| 320 | <span id='ajaxNotification'></span> |
| 321 | <h1>PROTOTYPE JSON-based Fossil Wiki Editor</h1> |
| 322 | |
| 323 | <b>Login:</b> |
| 324 | <br/> |
| 325 | <input type='button' value='Anon. Login' onclick='TheApp.cgi.login()' /> |
| 326 | or: |
| 327 | name:<input type='text' id='textUser' value='json-demo' size='12'/> |
| 328 |
| --- ajax/wiki-editor.html | |
| +++ ajax/wiki-editor.html | |
| @@ -318,10 +318,13 @@ | |
| 318 | |
| 319 | <body> |
| 320 | <span id='ajaxNotification'></span> |
| 321 | <h1>PROTOTYPE JSON-based Fossil Wiki Editor</h1> |
| 322 | |
| 323 | See also: <a href='index.html'>main test page</a>. |
| 324 | |
| 325 | <br> |
| 326 | <b>Login:</b> |
| 327 | <br/> |
| 328 | <input type='button' value='Anon. Login' onclick='TheApp.cgi.login()' /> |
| 329 | or: |
| 330 | name:<input type='text' id='textUser' value='json-demo' size='12'/> |
| 331 |
+1
| --- src/json.c | ||
| +++ src/json.c | ||
| @@ -2342,10 +2342,11 @@ | ||
| 2342 | 2342 | " uuid AS uuid," |
| 2343 | 2343 | " mtime AS timestamp," |
| 2344 | 2344 | " timestampString AS timestampString," |
| 2345 | 2345 | " user AS user," |
| 2346 | 2346 | " eventType AS eventType," |
| 2347 | + " comment AS comment," | |
| 2347 | 2348 | " brief AS briefText" |
| 2348 | 2349 | " FROM json_timeline" |
| 2349 | 2350 | " ORDER BY sortId", |
| 2350 | 2351 | -1); |
| 2351 | 2352 | db_prepare(&q,blob_buffer(&sql)); |
| 2352 | 2353 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -2342,10 +2342,11 @@ | |
| 2342 | " uuid AS uuid," |
| 2343 | " mtime AS timestamp," |
| 2344 | " timestampString AS timestampString," |
| 2345 | " user AS user," |
| 2346 | " eventType AS eventType," |
| 2347 | " brief AS briefText" |
| 2348 | " FROM json_timeline" |
| 2349 | " ORDER BY sortId", |
| 2350 | -1); |
| 2351 | db_prepare(&q,blob_buffer(&sql)); |
| 2352 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -2342,10 +2342,11 @@ | |
| 2342 | " uuid AS uuid," |
| 2343 | " mtime AS timestamp," |
| 2344 | " timestampString AS timestampString," |
| 2345 | " user AS user," |
| 2346 | " eventType AS eventType," |
| 2347 | " comment AS comment," |
| 2348 | " brief AS briefText" |
| 2349 | " FROM json_timeline" |
| 2350 | " ORDER BY sortId", |
| 2351 | -1); |
| 2352 | db_prepare(&q,blob_buffer(&sql)); |
| 2353 |