Fossil

File History
Login

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

History of src/json_timeline.c

2018-06-20
18:15
Fixed a C99-ism, removed a couple ancient #if blocks. Re-added uuid to /json/timeline/event output (because it's useful in ways which the event name is not). file: [35b8327a] check-in: [57e75eb7] user: stephan branch: ben-json-timeline, size: 23963
10:29
Fix SQL to find name for /json/timeline/event file: [672032d8] check-in: [2488996f] user: ben branch: ben-json-timeline, size: 24054
09:41
Include name (not uuid) in /json/timeline/event, because the uuid is not terribly useful. file: [af76bd76] check-in: [6f0929ce] user: ben branch: ben-json-timeline, size: 24040
2018-06-19
10:31
Add /json/timeline/event for access to minimal information about events. file: [7749bff4] check-in: [c7607916] user: ben branch: ben-json-timeline, size: 23908
2018-06-01
20:16
An off-mailing-list patch which fixes the lack of deleted files from /json/timeline/checkin's file list. Thanks to Edgardo Cruz for tracking this down. file: [783af93b] check-in: [cd55efe7] user: stephan branch: trunk, size: 22193
2016-02-20
13:21
Initial go at replacing URLs in the form ?name=xyz with /xyz except in places where doing so is either known to break (style_set_current_page() calls) or would require notable refactoring (/dir hyperlink generation). file: [bfc96bf0] check-in: [e8735d6a] user: stephan branch: slash-name-links, size: 22168
2015-12-23
11:10
Improvements to handling of localtime. The 'utc' and 'localtime' query parameters now work on all web pages. Timestamps can be expressed with a timezone modifier and that works correctly. file: [5a9ce59d] check-in: [ea63a2d1] user: drh branch: trunk, size: 22173
2015-10-24
14:10
Fix "json timeline" to don't show duplicate files in some chek-ins with merge. Same way CLI timeline was fix on [3c34db8d]. file: [6262750d] check-in: [26d903de] user: mgagnon branch: trunk, size: 22161
2015-03-01
20:56
More changes to make 'check-in' terminology consistent in source comments, SQL comments, JSON error messages, and web page link text. file: [a8aece1a] check-in: [30c107e2] user: mistachkin branch: trunk, size: 22142
2014-12-18
22:27
fixed the mtime field on json timeline output. file: [08550aee] check-in: [df50cb6e] user: stephan branch: trunk, size: 22141
2014-10-20
15:01
Add a custom static analysis program that verifies the arguments to printf-style varargs routines used in Fossil. Adjust the source code to be more robust for printf format errors and to fix a few minor problems found by the static checker. file: [f80de4c2] check-in: [0a7e326f] user: drh branch: compile-time-print-checking, size: 22078
2014-02-28
10:34
Remove unnecessary spaces at end-of-lines. No change in functionality. file: [4ba37f8d] check-in: [3df526ca] user: jan.nijtmans branch: trunk, size: 22014
2013-11-28
10:34
Implement "unhide" option for json timeline. Protect "trunk" from being hidden, and indicate more clear which branch is being hidden: The "mistake" branch is the only branch that should have hidden nodes. file: [8796261b] check-in: [6b61145f] user: jan.nijtmans branch: hidden-tag, size: 22017
2013-11-25
15:57
Implement (already existing but currently non-functional) "hidden" tag, which hides items from timeline. file: [4eb80487] check-in: [d9fd9229] user: jan.nijtmans branch: hidden-tag, size: 21725
2013-10-04
09:30
Better error-message in case of "manifest file is malformed" file: [77cc557b] check-in: [1eb438d6] user: jan.nijtmans branch: pending-review, size: 21241
2013-09-13
08:32
merge trunk to "hidden" tag implementation. Regarding the "CROSS JOIN", see: [85d960e205288ef8] and https://www.sqlite.org/queryplanner-ng.html#fossilcasestudy for more info. file: [c6f5d6a5] check-in: [778ce727] user: jan.nijtmans branch: hidden-tag, size: 21722
2013-09-12
22:47
implement undocumented "mionly" option in JSON timeline, just as in the normal timeline page. file: [d598f8c7] check-in: [0bcb7707] user: jan.nijtmans branch: trunk, size: 21238
21:05
don't use a CROSS JOIN, but a normal JOIN. Is that correct? Otherwise it's incredible slow......, but I'm not sure. file: [ff61f3b7] check-in: [d7436c4e] user: jan.nijtmans branch: hidden-tag, size: 21669
13:03
Make it work in JSON timeline as well file: [f7aa8670] check-in: [0ee34c90] user: jan.nijtmans branch: hidden-tag, size: 21699
2013-09-11
15:16
Don't display anything marked "hidden" in the timeline. file: [a1dabbbb] check-in: [ba7056b2] user: jan.nijtmans branch: hidden-tag, size: 21531
2013-08-01
21:30
Removed an extraneous "utc" from a datetime() call in /json/timeline. file: [e5580fa6] check-in: [340da668] user: stephan branch: trunk, size: 21185
2013-04-26
08:28
Rename --detail, --showfiles, --files to -v|--verbose (but keep original as deprecated) file: [ac4cf2a2] check-in: [34ed0afc] user: jan.nijtmans branch: verbose, size: 21191
2013-04-19
07:55
Rename "--limit" to "--count" and "--test" to "--nochange" in some fossil commands file: [654a637f] check-in: [e72af505] user: jan.nijtmans branch: count-nochange, size: 21116
2013-01-02
10:47
Fixed JSON-side warnings reported by Baptiste Daroussin. file: [53d8af60] check-in: [8fec4c95] user: stephan branch: trunk, size: 21117
2012-11-04
12:59
Fix typos. file: [7dd30421] check-in: [45065c5c] user: dmitry branch: spelling, size: 21123
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [0fab5163] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 21122
2012-07-13
18:49
Reworked the /json/artifact/FILE|CHECKIN response payloads to streamline the structures, remove duplicate data, and add file parent information. file: [22b41d51] check-in: [824ede2a] user: stephan branch: trunk, size: 21123
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [8eefe759] check-in: [0328d681] user: drh branch: sqlite4, size: 20970
2012-06-27
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. file: [927e653f] check-in: [68239127] user: drh branch: sqlite4, size: 20967
2012-06-11
17:33
merge trunk again... (previous merge was not from latest trunk from fossil-scm.org) file: [a4b115c3] check-in: [7a57ab64] user: mgagnon branch: mgagnon_fix, size: 21009
2012-04-28
08:03
Refinements to the new hyperlink logic and spider defense. file: [adf64805] check-in: [d9c8a7dd] user: drh branch: spider-defense, size: 20967
2012-03-29
14:54
Add vim modline everywhere file: [2b3c80ba] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 21005
2012-03-22
23:26
Added size to the "changed files" list for the /json routines which output that. file: [f5aa4031] check-in: [9575eb5d] user: stephan branch: trunk, size: 20963
22:09
Changes to how /json/(artifact|finfo|timeline) handle file content and modification-state flag. Some API-incompatible changes. file: [21c942a0] check-in: [8c6dc243] user: stephan branch: trunk, size: 21178
2012-03-21
21:11
removed rid property from /json/timeline/wiki response payload. file: [7d891b87] check-in: [47817fef] user: stephan branch: trunk, size: 21335
21:06
Changes /json/timeline/branch's payload structure to match that used by the other /json/timeline/xyz APIs. Removed rid property from timeline output. file: [545e3903] check-in: [bdc29eb8] user: stephan branch: trunk, size: 21347
20:55
fixed /json/timeline/branch timestamp flag, which was in string format rather than unix epoch. file: [478d9078] check-in: [9b42f2e9] user: stephan branch: trunk, size: 20868
20:23
Throughout the /json API, renamed the "mtime" property with "timestamp", to consolidate the inconsistent usage. file: [3832b83c] check-in: [070b7554] user: stephan branch: trunk, size: 20852
2012-03-19
20:33
minor type-cast addition in json timeline SQL. file: [9f4fd9bb] check-in: [70e41ccd] user: stephan branch: trunk, size: 20848
2012-03-16
12:41
Fixed /json/timeline/ticket to work around (what appear to be) attachment(?) artifacts which end up in its query results. file: [73d92424] check-in: [ac636621] user: stephan branch: trunk, size: 20831
12:22
Fixed a C99ism. file: [2c0f7656] check-in: [81708461] user: stephan branch: trunk, size: 20537
12:13
s/prevUuid/parent/ for json payload properties, for consistency. file: [32151679] check-in: [23aba0e4] user: stephan branch: trunk, size: 20537
2012-03-10
03:59
Removed some dead code in /json/timeline/wiki. file: [0ec3f9e9] check-in: [fe5cf37e] user: stephan branch: trunk, size: 20541
2012-03-05
19:47
removed the 'w', 't', and 'ci' aliases from /json/timeline/ALIAS. They provide no real benefit (except arguably 'ci') and may hinder future expansion. file: [5f33a8a9] check-in: [48255fa9] user: stephan branch: trunk, size: 20836
2012-03-02
15:01
/json/timeline/ci and /json/artifact/CHECKIN now require h access instead of o (this is debatable). file: [d10ac9a6] check-in: [4d027477] user: stephan branch: trunk, size: 20930
14:23
removed some dead code, minor internal cleanups in /json/timeline. file: [9c25ef67] check-in: [6420654c] user: stephan branch: trunk, size: 20980
11:25
removed some dead code in /json/timeline/branch. file: [fde56c1f] check-in: [e65422ea] user: stephan branch: trunk, size: 21387
2012-02-23
11:32
Fix warnings in json support code (unused variables, unused label, etc). file: [32b2e6e3] check-in: [86f6e675] user: mistachkin branch: jsonWarnings, size: 21472
2011-11-05
00:13
s/json_tags_for_rid()/json_tags_for_checkin_rid()/g, since that's really what it does. file: [b027ca1b] check-in: [4ff2e31c] user: stephan branch: trunk, size: 21516
2011-11-04
20:37
Added configure option --enable-json to enable json features. They are disabled by default. file: [aaa00288] check-in: [525816e6] user: json-demo branch: json, size: 21508
2011-10-20
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. file: [13c5c574] check-in: [23a35ba1] user: stephan branch: json, size: 21450
2011-10-19
21:13
s/fossil_is_json/fossil_has_json/g. Moved fossil_has_json() (nee fossil_is_json()) decl/docs to json_detail.h. file: [7edafd66] check-in: [d2c1ae23] user: stephan branch: json, size: 21508
2011-10-13
17:10
Added downloadPath property to files in timeline view, leading to /raw/FILENAME?name=uuid. file: [0b8359ba] check-in: [ea5e5815] user: stephan branch: json, size: 21507
2011-10-08
12:57
"Dispatching" json subcommands now produce more useful error messages when no subcommand is specified. file: [c6c89a39] check-in: [a8af09fc] user: stephan branch: json, size: 21165
12:13
Permissions fixes in json/report. Added json/timeline/branch, analog to /brtimeline. file: [3f646a04] check-in: [6841b116] user: stephan branch: json, size: 21325
2011-10-05
02:31
fixed a mis-sorting in the json timeline, caused by refactoring in a recent commit. file: [6c66fbf0] check-in: [824ed5fb] user: stephan branch: json, size: 19116
02:26
Consolidated more of the CLI/HTTP/CLI-with-POST arg handling disparities into the json_find_option() family of functions. file: [63561011] check-in: [5b4a3f12] user: stephan branch: json, size: 19037
00:53
lots of minor cleanups in JSON error handling (mostly cosmetic). Added some new FOSSIL-xxxx codes. file: [ee1a9d7d] check-in: [2e41514f] user: stephan branch: json, size: 19703
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. file: [99d2c6f9] check-in: [af72cc75] user: stephan branch: json, size: 19186
20:15
renamed json timeline "showFiles" option to "files" because we do not really "show" anything." file: [4dd2a4b3] check-in: [bc7af519] user: stephan branch: json, size: 18648
19:57
Added tag/branch option to /json/timeline/ci, analog to HTML mode t/r options. file: [59d0c3b2] check-in: [76212851] user: stephan branch: json, size: 18657
18:28
Merged in trunk [ae64088627df]. Added /json/timeline/checkin as alias for /json/timeline/commit (checkin is historically more correct/consistent). file: [3b2354c5] check-in: [a9070a49] user: stephan branch: json, size: 15303
12:31
initial code for reading POST data from a file/stdin in CLI mode. file: [632c23db] check-in: [8145cdbf] user: stephan branch: json, size: 15269
10:51
Added missing license header to new files. Updated (c) date to 2011. file: [1b5a8d57] check-in: [8a665715] user: stephan branch: json, size: 15250
2011-10-01
07:47
more consolidation of timeline/artifact code. file: [401eb190] check-in: [cc444a02] user: stephan branch: json, size: 14735
07:04
more timeline/artifact refactoring. file: [9b9bf636] check-in: [22fc0ab8] user: stephan branch: json, size: 15366
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. file: [8552eb9b] check-in: [b1f92572] user: stephan branch: json, size: 15436
05:58
minor cleanups. file: [ccaddcd1] check-in: [6ee6486e] user: stephan branch: json, size: 15990
2011-09-29
21:57
Removed the json warnings bitset crap. Still not sure i like the warnings mechanism at all. file: [e70c2208] check-in: [9fe06e2f] user: stephan branch: json, size: 15797
2011-09-28
22:41
moved some db_finalize() calls so that they would also be called in error cases. file: [bc8acc85] check-in: [997274e9] user: stephan branch: json, size: 16174
2011-09-27
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. file: [508a5f45] check-in: [0ddf9204] user: stephan branch: json, size: 16174
04:08
Added ticketUuid to /json/timeline/ticket output. Removed some superfluous Blob uses (where db_prepare() works just as well). file: [33fc4b74] check-in: [f94ad194] user: stephan branch: json, size: 16150
03:25
Added showFiles=bool/--show-files option to /json/timeline/ci. file: [b1bf0dcb] check-in: [98e24465] user: stephan branch: json, size: 15996
01:18
moved /json/timeline|wiki commands/pages into their own files. file: [29889139] check-in: [821830d2] user: stephan branch: json, size: 13754 Added