Fossil

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

200 most recent check-ins tagged with "json"

2011-11-04
20:48
Added missing #ifdefs for json mode. ... (Closed-Leaf check-in: 8a4e81cf user: json-demo tags: json-multitag-test, json)
20:46
Added missing #ifdefs for json mode. ... (check-in: d92aad29 user: json-demo tags: json-multitag-test, json)
20:44
removed old rptshowJson(). ... (check-in: 5b131851 user: json-demo tags: json-multitag-test, json)
20:37
Added configure option --enable-json to enable json features. They are disabled by default. ... (check-in: 525816e6 user: json-demo tags: json-multitag-test, json)
19:39
merged in trunk [1e3cae806885d] and set up the json command/page to be elided when FOSSIL_DISABLE_JSON is defined at build time. ... (check-in: 44bba06c user: json-demo tags: json-multitag-test, json)
18:48
/json/user/save now allows mixing GET/CLI and POST.payload data sources. ... (check-in: 92b163a0 user: json-demo tags: json-multitag-test, json)
17:24
merged in trunk [272e304d3f]. ... (check-in: 34359c3a user: stephan tags: json-multitag-test, json)
17:13
minor cleanup to the last commit, added a TODO note. ... (check-in: 14ed7070 user: stephan tags: json-multitag-test, json)
16:43
/json/user/save now accepts its params from _either_ POST.payload _or_ GET/CLI, but does not allow a mixture of inputs. ... (check-in: bd9c3b3a user: stephan tags: json-multitag-test, json)
2011-11-01
02:45
/json/logout now returns the same as /json/whoami, but with the info for the nobody user, as suggested by Caleb Gray. ... (check-in: 013e8ee7 user: stephan tags: json-multitag-test, json)
02:41
s/guest/nobody/g in login_clear_login_data() query. ... (check-in: a72a8a80 user: stephan tags: json-multitag-test, json)
02:39
fixed a bug in the AJAX code which caused an invalidated auth token to stick around for too long. ... (check-in: f6debb5c user: stephan tags: json-multitag-test, json)
01:50
removed erroneous HTTP-only restriction on /json/user/(create, save). ... (check-in: 953e309d user: stephan tags: json-multitag-test, json)
2011-10-27
16:12
merged in trunk [06e0cb70054d3c3], resolved conflict in login.c. ... (check-in: 81d71d7b user: stephan tags: json-multitag-test, json)
2011-10-22
16:36
Removed an old warning comment. Removed an incorrect perms check in /json/user/save. Added a TODO. ... (check-in: 11373d5b user: stephan tags: json-multitag-test, json)
16:05
undid a stash snafu and added sbs option to json/diff. ... (check-in: adfd3db7 user: stephan tags: json-multitag-test, json)
16:00
Merged/resolved trunk [4092208afca3ff]. Accommodated changes in text_diff() signature. ... (check-in: acc253f4 user: stephan tags: json-multitag-test, json)
15:42
Added forceLogout option to json/user/save. ... (check-in: 98debcac user: stephan tags: json-multitag-test, json)
2011-10-21
15:25
Fixed a minor mem leak. Got /json/user/save mostly working. ... (check-in: 080acb91 user: stephan tags: json-multitag-test, json)
2011-10-20
18:48
minor code simplifications. ... (check-in: 400fe340 user: stephan tags: json-multitag-test, json)
18:28
fixed a type conversion error caused by last round of refactoring. ... (check-in: f5668114 user: stephan tags: json-multitag-test, json)
07:00
Moved the user-related JSON handlers into their own file. ... (check-in: 6e18fc2e user: stephan tags: json-multitag-test, json)
01:20
Refactored json_stmt_to_array_of_xxx() to actually take a cson_array argument (not generic cson_value arg), now that the cson API allows that simplification. ... (check-in: 23a35ba1 user: stephan tags: json-multitag-test, json)
01:04
added a TODO. ... (check-in: 23d69df6 user: stephan tags: json-multitag-test, json)
2011-10-19
23:56
Enhanced /json/artifact/FILE_UUID a bit. Now only includes full content if explicitly told to, but returns more metadata even for binary files. ... (check-in: 2165e77c user: stephan tags: json-multitag-test, json)
22:31
merged in trunk [e161670939b93ec]. ... (check-in: 1d0a7103 user: stephan tags: json-multitag-test, json)
22:12
Added permissions checks to artifact/file and artifact/wiki. Renamed a mysterious mlink property. ... (check-in: 83ba8852 user: stephan tags: json-multitag-test, json)
21:53
refactored json_artifact_file() a bit to re-use other code. ... (check-in: a4f4c62a user: stephan tags: json-multitag-test, json)
21:53
removed a no-longer-true "untested" marker. ... (check-in: 4f196f15 user: stephan tags: json-multitag-test, json)
21:26
Re-implemented json_artifact_wiki() to use pre-existing functionality. ... (check-in: f996e663 user: stephan tags: json-multitag-test, json)
21:13
s/fossil_is_json/fossil_has_json/g. Moved fossil_has_json() (nee fossil_is_json()) decl/docs to json_detail.h. ... (check-in: d2c1ae23 user: stephan tags: json-multitag-test, json)
20:54
Fixed a C99/C++ism. Added json_new_string_f() (printf-style). ... (check-in: f5cc421d user: stephan tags: json-multitag-test, json)
20:36
A number of small doc improvements. ... (check-in: fa17e098 user: stephan tags: json-multitag-test, json)
15:47
fixed json_page_top() and json_cmd_top() to behave as documented when a callback returns non-NULL but does set the error state. ... (check-in: 2f48be58 user: stephan tags: json-multitag-test, json)
14:56
removed a superfluous call to json_set_err() which "overwrote" the previously set error. ... (check-in: 16155447 user: stephan tags: json-multitag-test, json)
2011-10-18
13:06
add support for fetching text file content and checkin history via /artifact json request ... (check-in: 3d1d139a user: zach tags: json-multitag-test, json)
2011-10-17
18:03
Removed some dead code. Experimentally enabled jQuery ajax back-end to test a problem on my 3DS. ... (check-in: ebb0c047 user: stephan tags: json-multitag-test, json)
16:08
merged in trunk [fda7c2c63d] for side-by-side diffs. ... (check-in: 571f3aca user: stephan tags: json-multitag-test, json)
2011-10-16
14:33
Removed a GNU-make-only construct which broke Jan's build. ... (check-in: 8da84326 user: stephan tags: json-multitag-test, json)
13:29
pulled in latest cson for cson_object_merge(). ... (check-in: d3ad893c user: stephan tags: json-multitag-test, json)
13:29
fixed a memleak of parent artifact uuid. long live valgrind. ... (check-in: 3db8bfc5 user: stephan tags: json-multitag-test, json)
10:04
merged/resolved trunk [ee723ed98ddb0a]. ... (check-in: a40ac8fd user: stephan tags: json-multitag-test, json)
09:49
minor doc clarification. ... (check-in: 398b53e0 user: stephan tags: json-multitag-test, json)
2011-10-14
15:52
working on json wiki command ... (Closed-Leaf check-in: 4f9f0e9f user: zach tags: json-multitag-test, json)
2011-10-13
17:10
Added downloadPath property to files in timeline view, leading to /raw/FILENAME?name=uuid. ... (check-in: ea5e5815 user: stephan tags: json-multitag-test, json)
16:45
merged in trunk [862d7dbf59f55e2d]. ... (check-in: 3025ecb2 user: stephan tags: json-multitag-test, json)
2011-10-11
21:04
Added another AJAX impl which uses a local fossil binary for the back-end while using the FossilAjaj front-end interface. ... (check-in: 15551663 user: stephan tags: json-multitag-test, json)
19:57
JS code test cleanups to account for the fact that the ajax-thrown assertions/exceptions get swallowed by the ajax layer. ... (check-in: 9e98a9bd user: stephan tags: json-multitag-test, json)
14:28
merged in trunk [496edc2176]. ... (check-in: ec76ee16 user: stephan tags: json-multitag-test, json)
2011-10-09
12:58
factored out an extraneous parameter to json_gc_add(). ... (check-in: 7a83a5cb user: stephan tags: json-multitag-test, json)
11:57
fixed: json_cap_value() now returns NULL (instead of prematurely/fataly querying the db) if g.userUid has not been set (i.e. CLI mode). ... (check-in: 96920e7c user: stephan tags: json-multitag-test, json)
11:45
Added global debugFossilG/--json-debug-g boolean to add the "g" output to any response (including (especially) error responses) to simplify debuggering. Requires a|s privileges. ... (check-in: f047bbdd user: stephan tags: json-multitag-test, json)
11:23
Added /json/g, which dumps the "g" object to JSON (debuggering tool). ... (check-in: 65e0c94c user: stephan tags: json-multitag-test, json)
11:09
minor cleanups to how FossilAjaj stores its auth info. ... (check-in: fb55f253 user: stephan tags: json-multitag-test, json)
11:04
minor pedantic mtime "as int" casts. ... (check-in: 770f9da5 user: stephan tags: json-multitag-test, json)
2011-10-08
15:13
s/rn/report/, for API consistency. ... (check-in: a52296e0 user: stephan tags: json-multitag-test, json)
15:13
accommodated API change. ... (check-in: 69ef388f user: stephan tags: json-multitag-test, json)
14:36
Fixed Ctrl-D handling in rhino-based shell. ... (check-in: 15c6caf2 user: stephan tags: json-multitag-test, json)
14:16
added /json/report/get. ... (check-in: e21b391d user: stephan tags: json-multitag-test, json)
14:15
getenv() as the fallback strategy for json_getenv() now only enabled in CLI mode. ... (check-in: 8c4a23ae user: stephan tags: json-multitag-test, json)
12:57
"Dispatching" json subcommands now produce more useful error messages when no subcommand is specified. ... (check-in: a8af09fc user: stephan tags: json-multitag-test, json)
12:13
Permissions fixes in json/report. Added json/timeline/branch, analog to /brtimeline. ... (check-in: 6841b116 user: stephan tags: json-multitag-test, json)
11:55
fixed a cson mis-use which could cause a crash in some cases due to client-side misachtung of the reference count. ... (check-in: d8fd611f user: stephan tags: json-multitag-test, json-add-tag-test, json)
10:18
Added /json/report/run. Fixed an SQL syntax bug in report/list (only affected non-priveleged accounts). ... (check-in: 8907163e user: stephan tags: json-multitag-test, json)
08:46
Added /json/report/list and /json/query. ... (check-in: 20978b27 user: stephan tags: json-multitag-test, json)
05:57
added diff demo to ajax page. ... (check-in: 42f56923 user: stephan tags: json-multitag-test, json)
05:16
minor hack to allow libcson to use fossil_malloc/free/realloc() so that we will hook into its die-on-OOM behaviour (=reduced error checking). ... (check-in: 56ecc0c6 user: stephan tags: json-multitag-test, json)
05:16
doc additions for /json/diff. ... (check-in: a37df1d9 user: stephan tags: json-multitag-test, json)
2011-10-07
14:19
fixed a missing db_finalize() in an error-handling case. ... (check-in: 7906bab8 user: stephan tags: json-multitag-test, json)
13:51
First draft, no-frills /json/diff added. ... (check-in: 54e1f1a5 user: stephan tags: json-multitag-test, json-add-tag-test, json)
13:32
minor tweaks to the prototype shell. ... (check-in: d30b20a5 user: stephan tags: json-multitag-test, json)
12:02
Added a very, very prototypic/pre-alphalpha demo fossil shell. Requires rhino JS. ... (check-in: 7ab5d854 user: stephan tags: json-multitag-test, json)
10:59
Pulled in another round of memory optimizations in cson/sqlite3. Added a few minor error reporting cleanups in JSON mode. ... (check-in: 09e5fcd7 user: stephan tags: json-multitag-test, json)
10:20
Another round of cson memory optimizations. Object keys can now be cson_strings, which can be refcounted/shared. ... (check-in: 3d252e87 user: stephan tags: json-multitag-test, json)
06:54
Minor internal tweaks. Pulled in lastest cson_amalgamation for the new convenience functions. ... (check-in: c75759d8 user: stephan tags: json-multitag-test, json)
03:52
/json/wiki/get: renamed request.payload.page to "name" for consistency. Added a TODO to /json/tag/list. ... (check-in: 34056ea2 user: stephan tags: json-multitag-test, json)
03:51
fixed how many path parts are generated for the "command" response property. ... (check-in: 3d6cc1df user: stephan tags: json-multitag-test, json)
03:24
Removed an unnecessary strcmp(). Removed some debuggering code which corrupted the output of /json/tag/find in raw mode. ... (check-in: faaf7387 user: stephan tags: json-multitag-test, json-add-tag-test, json)
03:09
fixed whoami requests in demo apps to notice when the user has been logged out (and logs him in with the new auth token). ... (check-in: ccc90734 user: stephan tags: json-multitag-test, json)
02:58
Fixed a minor denkfehler in the "bump <1ms runtime to 1ms" logic. Changed g.json.gc to an array (lower memory and better performance for what we use it for). ... (check-in: 19276984 user: stephan tags: json-multitag-test, json)
02:16
merged in trunk [4b0f813b8c]. ... (check-in: 39d9f837 user: stephan tags: json-multitag-test, json)
02:14
pulled in tonight's libcson changes, which halve the number of allocations needed for creating new JSON values. ... (check-in: 130cc65c user: stephan tags: json-multitag-test, json)
2011-10-06
23:29
fixed a bug in the handling of /json/tag/find --raw format (caused by moving code w/o paying attention). Added a warning when the given tag is not found. ... (check-in: be410090 user: stephan tags: json-multitag-test, json)
23:12
Added /json/tag/find. ... (check-in: 9d27ade3 user: stephan tags: json-multitag-test, json)
21:25
Added /json/tag/cancel. ... (check-in: 0b685fcc user: stephan tags: json-multitag-test, json)
21:14
Added /json/tag/add. ... (check-in: bd9d7ce2 user: stephan tags: json-multitag-test, json)
20:10
Added /json/tag/list and infrastructure for pending (add, cancel, find) ops. ... (check-in: 1088cf21 user: stephan tags: json-multitag-test, json-add-tag-test, json)
17:12
Added /json/resultCodes. ... (check-in: 71a1d448 user: stephan tags: json-multitag-test, json)
15:51
minor doc fix before switching PCs for the weekend. ... (check-in: a403544f user: stephan tags: json-multitag-test, json)
15:47
fixed comparison logic which broken dumbing-down of error codes (caused them to never be dumbed-down). ... (check-in: f93e059f user: stephan tags: json-multitag-test, json)
2011-10-05
12:04
experimentally added "command" property to all responses to simplify response handler dispatching in some experimental Java client code. ... (check-in: 8f12ac98 user: stephan tags: json-multitag-test, json)
12:03
minor cosmetic cleanups. ... (check-in: 2dac80dd user: stephan tags: json-multitag-test, json)
07:01
fixed a url-updating problem caused by recent refactoring. ... (check-in: 4b708534 user: stephan tags: json-multitag-test, json)
06:42
A few internal cosmetic cleanups, added json_get_wiki_page_by_rid(). ... (check-in: afb3c89f user: stephan tags: json-multitag-test, json)
05:41
Tweaks to the JS API, mainly to simplify a common 2-callbacks-per-event use case. Added missing json2.js. ... (check-in: cf10d9d9 user: stephan tags: json-multitag-test, json)
03:32
const-correctness tweak in db_text(). ... (check-in: 30431ff9 user: stephan tags: json-multitag-test, json)
02:41
Doh... accidentally changed resultCodes from strings to ints during refactoring. ... (check-in: 36384da8 user: stephan tags: json-multitag-test, json)
02:31
fixed a mis-sorting in the json timeline, caused by refactoring in a recent commit. ... (check-in: 824ed5fb user: stephan tags: json-multitag-test, json)
02:26
Consolidated more of the CLI/HTTP/CLI-with-POST arg handling disparities into the json_find_option() family of functions. ... (check-in: 5b4a3f12 user: stephan tags: json-multitag-test, json)
00:53
lots of minor cleanups in JSON error handling (mostly cosmetic). Added some new FOSSIL-xxxx codes. ... (check-in: 2e41514f user: stephan tags: json-multitag-test, json)
2011-10-04
23:40
merged and conflict-resolved trunk [c0274f996266aef]. ... (check-in: 4fbf77d4 user: stephan tags: json-multitag-test, json)
20:02
Started adding /json/artifact tickets support, but grokking tkt.c is more than i am up for tonight. Changed how permissions checks are done under /json/artifact (previous approach is just plain silly without C++ templates) ... (check-in: cee8bc67 user: stephan tags: json-multitag-test, json)
19:17
fixed a c99ism. ... (check-in: cd67b945 user: stephan tags: json-multitag-test, json)
09:06
/json/wiki/get argument handling cleanup so that it works with the newer command=... approach. ... (check-in: 96fe10ab user: stephan tags: json-multitag-test, json)
2011-10-02
23:59
Minor error handling cleanups (nicer resultText strings). Removed a call to sqlite3_config() from the JSON bootstrap code which _seems_ to be the cause of an SQLITE_MISUSE warning. ... (check-in: af72cc75 user: stephan tags: json-multitag-test, json)
23:43
Accommodated recent API changes. ... (check-in: 901a0133 user: stephan tags: json-multitag-test, json)
23:21
Fixed an incorrect setting of the content type in one error-handling case. ... (check-in: 35e4e918 user: stephan tags: json-multitag-test, json)
22:58
Added /json/branch/create. Finally found g.zErrMsg, and started using it in conjunction with json error reporting. ... (check-in: 8eaf58ee user: stephan tags: json-multitag-test, json)
21:01
moved /json/branch code into its own file. ... (check-in: 1a4c874e user: stephan tags: json-multitag-test, json)
20:15
renamed json timeline "showFiles" option to "files" because we do not really "show" anything." ... (check-in: bc7af519 user: stephan tags: json-multitag-test, json)
19:57
Added tag/branch option to /json/timeline/ci, analog to HTML mode t/r options. ... (check-in: 76212851 user: stephan tags: json-multitag-test, json)
19:56
Added empty_Stmt, analog to empty_Blob, to work around an assertion triggered during some error handling code. ... (check-in: 4db6d7c5 user: stephan tags: json-multitag-test, json)
18:28
Merged in trunk [ae64088627df]. Added /json/timeline/checkin as alias for /json/timeline/commit (checkin is historically more correct/consistent). ... (check-in: a9070a49 user: stephan tags: json-multitag-test, json)
18:18
s/userName/name/, for consistency. ... (check-in: 94689bbf user: stephan tags: json-multitag-test, json)
12:41
json mode now accepts command=string request parameter if path length is 1 (no subcommand was specified). ... (check-in: 225fd3da user: stephan tags: json-multitag-test, json)
12:31
initial code for reading POST data from a file/stdin in CLI mode. ... (check-in: 8145cdbf user: stephan tags: json-multitag-test, json)
11:43
minor cleanups and doc additions to the json/artifact handling. ... (check-in: 6d066783 user: stephan tags: json-multitag-test, json)
11:16
Reorganized json_page_artifact(), fixed a C99ism, fixed permissions check. ... (check-in: c9261700 user: stephan tags: json-multitag-test, json)
11:15
removed an implemented TODO reminder. ... (check-in: f270f0b5 user: stephan tags: json-multitag-test, json)
10:51
Added missing license header to new files. Updated (c) date to 2011. ... (check-in: 8a665715 user: stephan tags: json-multitag-test, json)
2011-10-01
07:58
s/commit/checkin/, for consistency. s/artifactType/type/. ... (check-in: 44e032aa user: stephan tags: json-multitag-test, json)
07:47
more consolidation of timeline/artifact code. ... (check-in: cc444a02 user: stephan tags: json-multitag-test, json)
07:04
more timeline/artifact refactoring. ... (check-in: 22fc0ab8 user: stephan tags: json-multitag-test, json)
06:45
Started refactoring some of the timeline/artifact components into reusable parts. Comment edited only to test json responses which differentiate between pristine and edited commits. ... (check-in: b1f92572 user: stephan tags: json-multitag-test, json)
05:58
Started adding artifact-type-dependent result data to /json/artifact output. ... (check-in: a893fff3 user: stephan tags: json-multitag-test, json)
05:58
minor cleanups. ... (check-in: 6ee6486e user: stephan tags: json)
05:57
Added json_new_int() convenience function. ... (check-in: ccd66b9b user: stephan tags: json)
05:09
Added initial /json/artifact code, but it currently can only report the type of a given artifact. ... (check-in: 6372d951 user: stephan tags: json)
05:05
minor db_column usage cleanup. ... (check-in: cf8b20ea user: stephan tags: json)
05:05
added test for /json/wiki/get. ... (check-in: 2b7edce3 user: stephan tags: json)
05:04
Changed some of the exception-throwing code to propagate instead of ingore. ... (check-in: e8fe84bc user: stephan tags: json)
04:03
Cleaned up wiki formatting code a bit. Added wiki uuid to /json/wiki/get response payload. ... (check-in: 3f512ca4 user: stephan tags: json)
03:37
Added format=raw|html to /json/wiki/get. ... (check-in: c990e7ec user: stephan tags: json)
02:19
minor cleanups in the /json/login payload code. ... (check-in: 3bdae54c user: stephan tags: json)
02:12
Changed /json/login output payload structure. ... (check-in: 88ddf2cb user: stephan tags: json)
2011-09-30
17:00
minor ajax test code cleanups. ... (check-in: 7eb52b23 user: stephan tags: json)
16:36
Added more integration tests. ... (check-in: 10e677c9 user: stephan tags: json)
16:35
added preliminary support for cookies in the rhino ajax client, but it does not seem to be doing anything. ... (check-in: ef9d8393 user: stephan tags: json)
15:50
Fixed POST sending for rhino-based ajax impl (was sending Content-Type form-urlencoded). Login over rhino works :). ... (check-in: a36d5c0e user: stephan tags: json)
15:48
minor fix for fossil's internal handling of name=xyz parameter. ... (check-in: 9f2535f1 user: stephan tags: json)
14:11
Some touch-ups in the JS code. Started adding Rhino-based tests for integration/unit-testing CGI/server modes. ... (check-in: 42a07be4 user: stephan tags: json)
09:01
Merged in trunk [9bfa186be09f]. Fixed an inexplicable duplicate call to db_find_and_open_repository() which has since disappeared from the trunk. ... (check-in: 8185bddf user: stephan tags: json)
2011-09-29
22:27
json ajax: fixed POST/GET message sending determination (broken by a previous change this evening). ... (check-in: 37963253 user: stephan tags: json)
21:57
Removed the json warnings bitset crap. Still not sure i like the warnings mechanism at all. ... (check-in: 9fe06e2f user: stephan tags: json)
21:55
Corrected a JSON-mode result code when db rebuild is required. ... (check-in: 44644d43 user: stephan tags: json)
17:03
minor jsonp tweaks. Added some test code for it in the demo app, but there is still some jsonp disconnect between the two AJAJ layers, and i may need to consolidate them to work around it. ... (check-in: f48b687a user: stephan tags: json)
15:23
Added /json/rebuild. Is likely to fail w/ an AJAX timeout for large repos, which will probably cause the rebuild to roll back on the next open :/. Takes 21sec on my 32-bit netbook to rebuild the fossil repo. ... (check-in: 071de8f1 user: stephan tags: json)
13:08
Removed a test/debug #if block which i accidentally left enabled in [73e28dd718]. ... (check-in: 5ddfe3d6 user: stephan tags: json)
2011-09-28
22:41
moved some db_finalize() calls so that they would also be called in error cases. ... (check-in: 997274e9 user: stephan tags: json)
22:04
Added createIfNotExists bool option to /json/wiki/save. ... (check-in: 73e28dd7 user: stephan tags: json)
21:36
JSON CLI mode now accepts --indent|-I N to set JSON indention level (uses cson_output_opt::indentation semantics). Default for CLI mode is 1 (0 for HTTP mode). ... (check-in: 30e4ebaa user: stephan tags: json)
12:09
merged in trunk [3e141b792c]. ... (check-in: 033e2eb1 user: stephan tags: json)
2011-09-27
13:22
Added basic timing info to json ops, but "should probably" move the timer start to the app/server init. ... (check-in: b9ef0fe5 user: stephan tags: json)
04:12
/json/timeline/ticket prevUuid is now only explicitly set for non-new files. Previously it was set to NULL, which was a waste-of-time no-op. ... (check-in: 0ddf9204 user: stephan tags: json)
04:08
Added ticketUuid to /json/timeline/ticket output. Removed some superfluous Blob uses (where db_prepare() works just as well). ... (check-in: f94ad194 user: stephan tags: json)
03:28
Added /json/timeline/ci showFiles to ajax test page. ... (check-in: be700e84 user: stephan tags: json)
03:25
Added showFiles=bool/--show-files option to /json/timeline/ci. ... (check-in: 98e24465 user: stephan tags: json)
02:09
Changed /json/stat to use brief mode by default due to relatively high runtime cost, replaced 'brief' param with 'full'. Added json_getenv_bool(). ... (check-in: c1914eaa user: stephan tags: json)
01:51
Added "brief" option to /json/stat, mirroring the change in [d01ca14d08]. ... (check-in: 17f11a08 user: stephan tags: json)
01:32
Added /json/user/xyz to ajax demo. /json/user/get/USERNAME now works as an alias for ?name=USERNAME. ... (check-in: 585be130 user: stephan tags: json)
01:18
moved /json/timeline|wiki commands/pages into their own files. ... (check-in: 821830d2 user: stephan tags: json)
01:01
Started refactoring specific json command groups into their own files (80kb is getting too big to manage in one file). ... (check-in: 5d2a516f user: stephan tags: json)
00:34
merged in trunk [12272b7ff0]. ... (check-in: a5fd64d3 user: stephan tags: json)
00:34
added /json/user/get. ... (check-in: 0c7be1fe user: stephan tags: json)
00:14
added /json/user/list. ... (check-in: 59ef1667 user: stephan tags: json)
2011-09-26
19:30
made /json/timeline/wiki and /json/wiki/timeline aliases. ... (check-in: 0475e63d user: stephan tags: json)
2011-09-23
13:10
s/briefText/briefComment/. Fixed a couple memleaks of blob sql. ... (check-in: ecdbce16 user: stephan tags: json)
12:46
Added comment to timeline/ticket. Minor additions to AJAX test pages. ... (check-in: de0b860f user: stephan tags: json)
12:29
Implemented /json/timeline/ticket, cleaned up timeline/ci|wiki. ... (check-in: 42900f30 user: stephan tags: json)
10:52
Changed fossil_json_f() callback interface. Refactored json command dispatching a bit. Fixed an ordering problem in the json timelines. Pulled in latest cson_amalgamation. ... (check-in: c24b4450 user: stephan tags: json)
01:00
Corrected /json/wiki/save|create to honor the proper g.perm.WrWiki/NewWiki perm, instead of just WrWiki. ... (check-in: d3759cd4 user: stephan tags: json)
00:39
Added initial JSONP support, but lacks significant testing. ... (check-in: e72ae99d user: stephan tags: json)
2011-09-22
23:40
Added --after/--before support to /json/timeline/ci and wiki. ... (check-in: e01d49b2 user: stephan tags: json)
20:07
Implemented /json/timeline/wiki. Fixed --limit/-n handling of timeline/ci. ... (check-in: 12545465 user: stephan tags: json)
19:14
Implemented /json/wiki/create. ... (check-in: 1df648ab user: stephan tags: json)
17:56
Implemented /json/wiki/save. ... (check-in: 2162c86d user: stephan tags: json)
17:18
added src/Makefile so that (ctrl-x m) will DTRT. ... (check-in: ce4f3103 user: stephan tags: json)
17:02
Added initial prototype of JSON wiki editor (cannot save yet). Minor cleanup in ajax/index.html. ... (check-in: 475c61fd user: stephan tags: json)
16:27
minor cleanups in the /json/wiki/get and AJAJ code. ... (check-in: a9c8a31d user: stephan tags: json)
16:21
Added rudimentary timer to AJAX test page. ... (check-in: 07a2c43c user: stephan tags: json)
15:59
Added /json/wiki/get?page=... ... (check-in: 7dc8e9ac user: stephan tags: json)
14:58
Added /json/whoami. ... (check-in: 7a65dd0e user: stephan tags: json)
2011-09-21
21:23
added a FIXME, removed another. Now it's really bed time. ... (check-in: 8b814778 user: stephan tags: json)
21:17
Added my AJAX test code after accidentally deleting my local copy (thank goodness the test server still had a copy). See the README if you want to set it up locally under apache. ... (check-in: c6c5ad13 user: stephan tags: json)
20:43
/json/branch/list now requires g.perm.Read, like /brlist does. Time for bed... ... (check-in: a37c6a87 user: stephan tags: json)
20:03
added current branch name to /json/branch/list payload when in an opened checkout. ... (check-in: 7592fe93 user: stephan tags: json)
19:31
added POST.payload to json_getenv() list. Re-organized /json/branch/list CLI/HTTP arg handling to behave sanely in CLI mode. Minor typo fix in main.c. ... (check-in: 4a9b5164 user: stephan tags: json)
18:55
s/branch_prepare_query/branch_prepare_list_query/g ... (check-in: 267739dd user: stephan tags: json)
18:53
changed how /json/branch/list selects whether to look at open/all/closed branches. ... (check-in: 14423f32 user: stephan tags: json)
18:20
Refactored prepareBranchStatement() to simplify its usage, get rid of ambiguous arg handling, and allow the caller to specify the priority of the all-vs-closed-vs-opened decision. Made it non-static and renamed to branch_prepare_statement() for re-use in /json/branch/list. ... (check-in: 5a81a5ea user: stephan tags: json)
18:10
Minor timeline output cleanups. Added /json/branch/list. ... (check-in: f266ebdd user: stephan tags: json)
17:38
More work on the warnings infrastructure. json_warn() now (experimentally) disallows (elides) duplicate warning codes to simplify downstream loops. Still undecided on that behaviour, though. ... (check-in: 576425e8 user: stephan tags: json)
16:31
started adding infrastructure to report non-fatal warnings. ... (check-in: ad50fe95 user: stephan tags: json)
15:22
timeline json refactoring, fixed ordering, split tags into an Array. ... (check-in: d6cbe37b user: stephan tags: json)
14:42
refactored the prototype timeline code, split off completely from www version (different requirements). ... (check-in: 1ecf3374 user: stephan tags: json)
2011-09-20
22:55
added a couple FIXME notes before bed. ... (check-in: e7857845 user: stephan tags: json)
22:42
Started adding /json/timeline support, but this is gonna be a doozie. Breaking it down into separate calls for ci/wiki/ticket, e.g. /json/timeline/ci because the structures will be different for each. ... (check-in: eff3f7d9 user: stephan tags: json)
16:58
fossil_warning() is now a no-op in JSON mode, to avoid corrupting the output. ... (check-in: 6ce6b5e6 user: stephan tags: json)
16:48
merged trunk [1f498a6ef2]. ... (check-in: c2b1bc68 user: stephan tags: json)
16:45
more minor internal cleanups. s/g.isCGI/g.isHTTP/ to avoid confusion later on. ... (check-in: 9adc95c4 user: stephan tags: json)