Fossil SCM
renamed json timeline "showFiles" option to "files" because we do not really "show" anything."
Commit
bc7af5192a40230c43f1ad7be967ead92c608113
Parent
762128512afdb23…
1 file changed
+2
-2
+2
-2
| --- src/json_timeline.c | ||
| +++ src/json_timeline.c | ||
| @@ -380,13 +380,13 @@ | ||
| 380 | 380 | if( !g.perm.Read/* && !g.perm.RdTkt && !g.perm.RdWiki*/ ){ |
| 381 | 381 | g.json.resultCode = FSL_JSON_E_DENIED; |
| 382 | 382 | return NULL; |
| 383 | 383 | } |
| 384 | 384 | if( g.isHTTP ){ |
| 385 | - showFiles = json_getenv_bool("showFiles",0); | |
| 385 | + showFiles = json_getenv_bool("files",0); | |
| 386 | 386 | }else{ |
| 387 | - showFiles = 0!=find_option("show-files", "f",0); | |
| 387 | + showFiles = 0!=find_option("files", "f",0); | |
| 388 | 388 | } |
| 389 | 389 | payV = cson_value_new_object(); |
| 390 | 390 | pay = cson_value_get_object(payV); |
| 391 | 391 | check = json_timeline_setup_sql( "ci", &sql, pay ); |
| 392 | 392 | if(check){ |
| 393 | 393 |
| --- src/json_timeline.c | |
| +++ src/json_timeline.c | |
| @@ -380,13 +380,13 @@ | |
| 380 | if( !g.perm.Read/* && !g.perm.RdTkt && !g.perm.RdWiki*/ ){ |
| 381 | g.json.resultCode = FSL_JSON_E_DENIED; |
| 382 | return NULL; |
| 383 | } |
| 384 | if( g.isHTTP ){ |
| 385 | showFiles = json_getenv_bool("showFiles",0); |
| 386 | }else{ |
| 387 | showFiles = 0!=find_option("show-files", "f",0); |
| 388 | } |
| 389 | payV = cson_value_new_object(); |
| 390 | pay = cson_value_get_object(payV); |
| 391 | check = json_timeline_setup_sql( "ci", &sql, pay ); |
| 392 | if(check){ |
| 393 |
| --- src/json_timeline.c | |
| +++ src/json_timeline.c | |
| @@ -380,13 +380,13 @@ | |
| 380 | if( !g.perm.Read/* && !g.perm.RdTkt && !g.perm.RdWiki*/ ){ |
| 381 | g.json.resultCode = FSL_JSON_E_DENIED; |
| 382 | return NULL; |
| 383 | } |
| 384 | if( g.isHTTP ){ |
| 385 | showFiles = json_getenv_bool("files",0); |
| 386 | }else{ |
| 387 | showFiles = 0!=find_option("files", "f",0); |
| 388 | } |
| 389 | payV = cson_value_new_object(); |
| 390 | pay = cson_value_get_object(payV); |
| 391 | check = json_timeline_setup_sql( "ci", &sql, pay ); |
| 392 | if(check){ |
| 393 |