Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
121 events for the month beginning 2011-09-01 by user stephan
Following month ↑
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) | |
16:27 | minor internal cleanups and doc additions. (check-in: 2f3e4385 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: 76d0fa2b 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: 206908fa user: stephan tags: json) | |
09:35 | • Ticket [b64435db] How to checkout a folder, but all of the files in repository? status still Open with 2 other changes (artifact: 5065a5da user: stephan) | |
2011-09-19
| ||
19:03 | Moved a db_finalize() which would not have been called in a couple of error cases. (check-in: afc1cec6 user: stephan tags: json) | |
18:49 | fixed a double-free() which could happen in one error case. (check-in: 65e946c7 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: 5cc88946 user: stephan tags: json) | |
17:11 | minor cleanups in prep for the "larger" JSON APIs. (check-in: 87e20659 user: stephan tags: json) | |
2011-09-18
| ||
19:16 | terribly minor internal cleanups. (check-in: 507a4582 user: stephan tags: json) | |
19:11 | One compile fix and MSVC build fix, from Jeff Slutter. (check-in: 5f3a98ae 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: 52229655 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: 13cc3b82 user: stephan tags: json) | |
08:11 | Implemented anonymous user login over JSON. Requires 2 requests (captcha-fetch and then login). (check-in: cebf9919 user: stephan tags: json) | |
05:51 | merged trunk [b54b8e751a]. (check-in: 76c4ae5e 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: b3653265 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: 4cf96814 user: stephan tags: json) | |
2011-09-17
| ||
23:14 | Doc changes only (check-in: 5a9e5679 user: stephan tags: json) | |
20:25 | added a missing assert() (Thanks, Joe M.) (check-in: a67c6744 user: stephan tags: json) | |
16:01 | More cleaning up of error lower-level handling to output JSON instead of HTML in a few more cases. (check-in: 9b842564 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: affdf56c user: stephan tags: json) | |
01:25 | dropped back to a simpler timestamp generation mechanism. Thanks to Ge Weijers for the input. (check-in: 147f4bfb 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: 388c9888 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: b0885e86 user: stephan tags: json) | |
21:39 | restructured /json/cap output. (check-in: 7e3902d1 user: stephan tags: json) | |
19:27 | implemented /json/logout. (check-in: e94605b5 user: stephan tags: json) | |
18:57 | Merged trunk [693ab93b7d] to quiet down -Wall. Removed a trailing comma from an enum (-Wall mode). (check-in: 98cdd410 user: stephan tags: json) | |
18:55 | style conformance touch-ups. (check-in: 45cd04f8 user: stephan tags: json) | |
18:53 | replaced two C++-style comments. (check-in: 693ab93b 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: 0bb82303 user: stephan tags: json) | |
18:30 | • Edit [58d415644631a3bf|58d41564]: Edit check-in comment. (artifact: 9cb4258d user: stephan) | |
18:29 | more cleanups in the json arg/path handling. (check-in: 35b9edba user: stephan tags: json) | |
17:53 | minor cleanups to the json "command path" handling. (check-in: 2dcc2397 user: stephan tags: json) | |
17:26 | Consolidated server/cgi/cli path/arg handling (will break when add --options to CLI mode). (check-in: c5fbcced 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: 73591cc7 user: stephan tags: json) | |
13:47 | • Edit [afd36e987ca1f284|afd36e98]: Edit check-in comment. (artifact: ae665ec0 user: stephan) | |
13:39 | more cson portability fixes, thanks to Robert Engelhardt and Joe Mistachkin. (check-in: afd36e98 user: stephan tags: json) | |
13:34 | s/unlink/remove/ for Windows build (thanks again to Robert Engelhardt). (check-in: ea8d28ac user: stephan tags: json) | |
11:48 | compile fix for mingw (thanks to Robert Engelhardt). (check-in: 58d41564 user: stephan tags: json) | |
11:35 | • Edit [4ba7b9c288d8db7c|4ba7b9c2]: Mark "Closed". (artifact: c1380af1 user: stephan) | |
11:19 | minor typo and wiki formatting fix. Added another external link. (check-in: 9f5c40cb user: stephan tags: trunk) | |
10:31 | • Ticket [87f7cebc] Wiki page names starting with '.' don't work status still Open with 1 other change (artifact: 399fe2ba user: stephan) | |
2011-09-15
| ||
22:09 | • Ticket [18ea58d2] Unable to login status still Open with 2 other changes (artifact: dbdeacbf user: stephan) | |
22:01 | • Ticket [87f7cebc] Wiki page names starting with '.' don't work status still Open with 2 other changes (artifact: 744a0ddb user: stephan) | |
21:44 | • Edit [00fe260682548e76|00fe2606]: Mark "Closed". (artifact: 9791655a user: stephan) | |
21:40 | • Fixed ticket [2316d926]: test_env visible when not logged in and no capabilities plus 2 other changes (artifact: 14f31707 user: stephan) | |
21:39 | test_env command now requires g.perm.Admin or g.perm.Setup. Resolves ticket [2316d926e376aa]. (check-in: 2d71977e user: stephan tags: trunk) | |
12:03 | initial mass-change merge of main repo with my fork. (check-in: 5b44a419 user: stephan tags: json) | |
11:55 | merged in with trunk for clean state before i pull in my fork. (check-in: 716bb292 user: stephan tags: json) | |
11:54 | Create new branch named "json" (check-in: 7f108075 user: stephan tags: json) | |
09:08 | • Ticket [d06e5d46] * is not accepted as a parameter for crnl-glob on command line status still Closed with 2 other changes (artifact: ad967eee user: stephan) ... 1 similar event omitted. | |
2011-09-14
| ||
18:13 | • Ticket [4060715d] Implement FastCGI interface status still Open with 2 other changes (artifact: cd5c5843 user: stephan) | |
18:03 | • Ticket [f2b5011d] Styling: Remove align attribute from HTML status still Open with 1 other change (artifact: 2f0e5009 user: stephan) | |
17:55 | • Closed ticket [929dd387]: NOWIKI tag has no effect plus 2 other changes (artifact: 450f04bd user: stephan) | |
17:49 | Removed local-only file from makemake.tcl. Doh. (check-in: 00fe2606 user: stephan tags: stephan-hack) | |
17:45 | Refactored g.okXXX perms flags to g.perm.XXX. (check-in: 34b4dec0 user: stephan tags: stephan-hack) | |