Fossil

Timeline
Login

Timeline

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

44 check-ins related to "json" plus check-in "2011-09-16 23:29:13" occurring around 2011-09-16 23:29:13.

2011-09-20
16:48
merged trunk [1f498a6ef2]. ... (check-in: c2b1bc686d user: stephan tags: json)
16:45
more minor internal cleanups. s/g.isCGI/g.isHTTP/ to avoid confusion later on. ... (check-in: 9adc95c476 user: stephan tags: json)
16:27
minor internal cleanups and doc additions. ... (check-in: 2f3e438507 user: stephan tags: json)
16:00
CLI mode now works properly when called using an abbreviated form of "json", e.g. fossil js wiki list. Fixed an incorrect error code in /json/wiki. ... (check-in: 76d0fa2bb0 user: stephan tags: json)
15:48
Refactored page/command callback to take on argument to simplify certain dispatching ops. json_getenv() now falls back to getenv() if neither the POST data nor cgi_parameter() contains the requested value, but this is basically a workaround for my current inability to add --opt support in CLI mode (due to how HTTP/CLI command handling is consolidated). ... (check-in: 206908faee user: stephan tags: json)
2011-09-19
20:16
Remove obsolete files ... (check-in: 1f498a6ef2 user: drh tags: trunk)
19:03
Moved a db_finalize() which would not have been called in a couple of error cases. ... (check-in: afc1cec6a3 user: stephan tags: json)
18:49
fixed a double-free() which could happen in one error case. ... (check-in: 65e946c714 user: stephan tags: json)
18:48
Implemented /json/wiki/list (first draft, may change). Pulled in latest cson_sqlite3 additions to simplify the impl. ... (check-in: 5cc88946a7 user: stephan tags: json)
17:11
minor cleanups in prep for the "larger" JSON APIs. ... (check-in: 87e20659c6 user: stephan tags: json)
2011-09-18
19:16
terribly minor internal cleanups. ... (check-in: 507a458277 user: stephan tags: json)
19:11
One compile fix and MSVC build fix, from Jeff Slutter. ... (check-in: 5f3a98ae83 user: stephan tags: json)
10:40
Removed some no-longer valid comments after confirming that JSON mode works without cookies. Dumbed-down the various login errors by default (again). ... (check-in: 52229655df user: stephan tags: json)
10:25
Added userName to /json/stat output for the nobody user (it was previously not set in that case). Renamed captcha to password in /json/anonymousPassword. Added NYI (not yet implemented) placeholders for several planned request types. ... (check-in: 13cc3b823f user: stephan tags: json)
08:11
Implemented anonymous user login over JSON. Requires 2 requests (captcha-fetch and then login). ... (check-in: cebf9919f8 user: stephan tags: json)
05:51
merged trunk [b54b8e751a]. ... (check-in: 76c4ae5e5e user: stephan tags: json)
05:45
More cleanups to the cson_cgi removal refactoring. Added common "indent" parameter to control indentation of JSON (uses cson_output_opt.indentation semantics). ... (check-in: b3653265d1 user: stephan tags: json)
04:31
Factored out cson_cgi bits - now using fossil's CGI bits. Removed cson_cgi from cson_amalgamation (cuts its size considerably). Seems to still work, and this removes some discrepancies in how CGI/server modes are handled. ... (check-in: 4cf9681440 user: stephan tags: json)
2011-09-17
23:14
Doc changes only ... (check-in: 5a9e567966 user: stephan tags: json)
20:25
added a missing assert() (Thanks, Joe M.) ... (check-in: a67c6744e5 user: stephan tags: json)
17:35
Update the built-in SQLite amalgamation to the latest 3.7.8 beta. ... (check-in: b54b8e751a user: drh tags: trunk)
16:01
More cleaning up of error lower-level handling to output JSON instead of HTML in a few more cases. ... (check-in: 9b842564f7 user: stephan tags: json)
14:24
logout now fails if the auth token is not available to it (as a sanity check and potentially stop someone from logging out someone else). ... (check-in: affdf56c3f user: stephan tags: json)
01:25
dropped back to a simpler timestamp generation mechanism. Thanks to Ge Weijers for the input. ... (check-in: 147f4bfb62 user: stephan tags: json)
2011-09-16
23:29
Added some code for dumbing-down only the different login errors (missing name, missing pw, or no match found). Defaults to dumbed-down mode. ... (check-in: 388c9888af user: stephan tags: json)
23:06
worked around a weird cgi_parameter() bug. We are now not processing the name/password params with the precedence i would like, but it works now in server/cgi modes with GET and POST. ... (check-in: b0885e864c user: stephan tags: json)
21:39
restructured /json/cap output. ... (check-in: 7e3902d14f user: stephan tags: json)
19:27
implemented /json/logout. ... (check-in: e94605b54f user: stephan tags: json)
18:57
Merged trunk [693ab93b7d] to quiet down -Wall. Removed a trailing comma from an enum (-Wall mode). ... (check-in: 98cdd410df user: stephan tags: json)
18:55
style conformance touch-ups. ... (check-in: 45cd04f8c1 user: stephan tags: json)
18:53
replaced two C++-style comments. ... (check-in: 693ab93b7d user: stephan tags: trunk)
18:39
Refactored the special-case CLI-mode arg/path handling in the CGI/server-mode mechanism. Fixed: server-mode response timestamp was always the time the server process started. ... (check-in: 0bb823032f user: stephan tags: json)
18:29
more cleanups in the json arg/path handling. ... (check-in: 35b9edba83 user: stephan tags: json)
17:53
minor cleanups to the json "command path" handling. ... (check-in: 2dcc2397b5 user: stephan tags: json)
17:26
Consolidated server/cgi/cli path/arg handling (will break when add --options to CLI mode). ... (check-in: c5fbcced80 user: stephan tags: json)
16:38
fixed an inconsistency in the CLI/CGI args/path handling. Non-CGI server mode is still broken b/c we do not yet have the PATH_INFO (or equivalent) data. ... (check-in: 73591cc746 user: stephan tags: json)
13:39
more cson portability fixes, thanks to Robert Engelhardt and Joe Mistachkin. ... (check-in: afd36e987c user: stephan tags: json)
13:34
s/unlink/remove/ for Windows build (thanks again to Robert Engelhardt). ... (check-in: ea8d28acf3 user: stephan tags: json)
11:48
compile fix for mingw (thanks to Robert Engelhardt). ... (check-in: 58d4156446 user: stephan tags: json)
2011-09-15
12:03
initial mass-change merge of main repo with my fork. ... (check-in: 5b44a419cd user: stephan tags: json)
11:55
merged in with trunk for clean state before i pull in my fork. ... (check-in: 716bb29257 user: stephan tags: json)
11:54
Create new branch named "json" ... (check-in: 7f108075ad user: stephan tags: json)
2011-09-14
18:08
Merge the refactored permission flags into trunk. ... (check-in: b344d3c0cd user: drh tags: trunk)
13:45
Update the built-in SQLite amalgamation to the latest 3.7.8 beta. ... (check-in: a0cf985a42 user: drh tags: trunk)