Fossil

File History
Login

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

History of src/json_artifact.c

2016-11-07
01:29
Remove some tabs and end-of-line whitespace file: [6530c919] check-in: [bf9669f5] user: andygoth branch: trunk, size: 15803
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: [82c34f8f] check-in: [30c107e2] user: mistachkin branch: trunk, size: 15813
20:42
More non-functional changes of 'checkin' to 'check-in' and 'checkins' to 'check-ins' in the source code. file: [fe671354] check-in: [6ec2c2e3] user: mistachkin branch: trunk, size: 15812
2014-12-08
15:36
An experiment in trying to improve the file history timelines. A schema change is necessary for this improvement, which the present check-in captures. However, the file history timelines have not yet been improved, and in fact are slightly broken at this point. file: [34d8b26a] check-in: [e1e9c3a3] user: drh branch: file-history-enhancement, size: 15802
2014-05-30
18:04
Renamed --format|-F to --mimetype|-M. Stumbled across a char-is-signed assumption and replaced it with (int). file: [9c517763] check-in: [918d07bf] user: stephan branch: wiki-keep-mimetype, size: 15807
2013-10-04
09:30
Better error-message in case of "manifest file is malformed" file: [70932159] check-in: [1eb438d6] user: jan.nijtmans branch: pending-review, size: 15813
2013-09-06
07:27
s/strcmp/fossil_strcmp/ to avoid a segfault on a NULL string. file: [5225358b] check-in: [e3a4d954] user: stephan branch: trunk, size: 15810
2013-06-21
07:25
Allow i64 type to be used in JSON in more places, mainly for time values and file sizes. file: [09284d77] check-in: [f89a32d7] user: jan.nijtmans branch: trunk, size: 15789
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [8ee2c03e] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 15784
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: [3ef77d2b] check-in: [824ede2a] user: stephan branch: trunk, size: 15785
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [15adf659] check-in: [0328d681] user: drh branch: sqlite4, size: 13204
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: [20df1fbd] check-in: [68239127] user: drh branch: sqlite4, size: 13201
2012-03-29
14:54
Add vim modline everywhere file: [6edcf8ec] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 13243
2012-03-23
01:11
s/status/state/, for consistency. file: [8bf0a28c] check-in: [8f496ed1] user: stephan branch: trunk, size: 13201
2012-03-22
22:09
Changes to how /json/(artifact|finfo|timeline) handle file content and modification-state flag. Some API-incompatible changes. file: [c618305c] check-in: [8c6dc243] user: stephan branch: trunk, size: 13202
2012-03-21
20:23
Throughout the /json API, renamed the "mtime" property with "timestamp", to consolidate the inconsistent usage. file: [20adbb5d] check-in: [070b7554] user: stephan branch: trunk, size: 12147
2012-03-19
20:33
removed "rid" property from /json/artifact/FILEUUID output. file: [cf99790c] check-in: [98ae107a] user: stephan branch: trunk, size: 12139
2012-03-18
16:35
Removed mperm property from /json/artifact results. Added a TODO. file: [2bee76af] check-in: [afe12e10] user: stephan branch: trunk, size: 12135
2012-03-08
19:02
/json/artifact/CHECKIN now accepts only "o" permissions, to match the HTML interface. file: [c944c49c] check-in: [6b08628c] user: stephan branch: trunk, size: 11979
18:50
/json/artifact/CHECKIN now accepts "o" in addition to "h" privileges. file: [bbd16189] check-in: [3628652d] user: stephan branch: trunk, size: 12003
2012-03-02
17:52
/json/artifact/WIKI_UUID now supports the --format options from /json/wiki/get. file: [21eb7813] check-in: [2cbe686c] user: stephan branch: trunk, size: 11980
17:23
/json/artifact/WIKI_UUID now returns the requested wiki page version instead of the most recent one. file: [8a167d4b] check-in: [accd6f3d] user: stephan branch: trunk, size: 11946
15:01
/json/timeline/ci and /json/artifact/CHECKIN now require h access instead of o (this is debatable). file: [43b7941e] check-in: [4d027477] user: stephan branch: trunk, size: 11800
14:25
Renamed /json/artifact/?uuid=xxx to name=xxx (it now matches the docs), minor internal cleanups in /json/artifact. file: [09661456] check-in: [d2c5b943] user: stephan branch: trunk, size: 11763
2012-02-29
21:39
/json/timeline/checkin: changed response payload to include "parents" array property with UUIDs of all parents, removing the parentUuid property which just referenced the primary parent. The first parent in the array is the primary parent. Thanks go to Brian Smith for catching this oversight. file: [189b7437] check-in: [0c9c99b8] user: stephan branch: trunk, size: 12222
2012-02-23
11:32
Fix warnings in json support code (unused variables, unused label, etc). file: [a36d503c] check-in: [86f6e675] user: mistachkin branch: jsonWarnings, size: 11182
2011-11-05
01:28
json doc updates and removal of some dead code. file: [c5b51c2a] check-in: [0c234bdd] user: stephan branch: trunk, size: 11199
00:13
s/json_tags_for_rid()/json_tags_for_checkin_rid()/g, since that's really what it does. file: [24b489cf] check-in: [4ff2e31c] user: stephan branch: trunk, size: 12065
2011-11-04
20:37
Added configure option --enable-json to enable json features. They are disabled by default. file: [d6639a9c] check-in: [525816e6] user: json-demo branch: json, size: 12017
2011-10-27
16:12
merged in trunk [06e0cb70054d3c3], resolved conflict in login.c. file: [577e2030] check-in: [81d71d7b] user: stephan branch: json, size: 11959
2011-10-20
18:48
minor code simplifications. file: [a30a936e] check-in: [400fe340] user: stephan branch: json, size: 11961
18:28
fixed a type conversion error caused by last round of refactoring. file: [4f1d62a6] check-in: [f5668114] user: stephan branch: json, size: 12306
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: [a6216776] check-in: [23a35ba1] user: stephan branch: json, size: 12324
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. file: [dd3a3dea] check-in: [2165e77c] user: stephan branch: json, size: 12324
22:12
Added permissions checks to artifact/file and artifact/wiki. Renamed a mysterious mlink property. file: [6a3fe1f2] check-in: [83ba8852] user: stephan branch: json, size: 12014
21:53
refactored json_artifact_file() a bit to re-use other code. file: [31fd656d] check-in: [a4f4c62a] user: stephan branch: json, size: 11729
21:26
Re-implemented json_artifact_wiki() to use pre-existing functionality. file: [c138765b] check-in: [f996e663] user: stephan branch: json, size: 11288
2011-10-18
13:06
add support for fetching text file content and checkin history via /artifact json request file: [d11bce82] check-in: [3d1d139a] user: zach branch: json, size: 11807
2011-10-17
16:08
merged in trunk [fda7c2c63d] for side-by-side diffs. file: [2f5db176] check-in: [571f3aca] user: stephan branch: json, size: 8881
2011-10-16
13:29
fixed a memleak of parent artifact uuid. long live valgrind. file: [069efd41] check-in: [3db8bfc5] user: stephan branch: json, size: 8887
2011-10-14
15:52
working on json wiki command file: [ea93df86] check-in: [4f9f0e9f] user: zach branch: json, size: 9552
2011-10-09
12:58
factored out an extraneous parameter to json_gc_add(). file: [f2ce6932] check-in: [7a83a5cb] user: stephan branch: json, size: 8870
11:04
minor pedantic mtime "as int" casts. file: [6ad040b9] check-in: [770f9da5] user: stephan branch: json, size: 8876
2011-10-05
06:42
A few internal cosmetic cleanups, added json_get_wiki_page_by_rid(). file: [b954bfb2] check-in: [afb3c89f] user: stephan branch: json, size: 8867
02:26
Consolidated more of the CLI/HTTP/CLI-with-POST arg handling disparities into the json_find_option() family of functions. file: [2107e03c] check-in: [5b4a3f12] user: stephan branch: json, size: 8855
00:53
lots of minor cleanups in JSON error handling (mostly cosmetic). Added some new FOSSIL-xxxx codes. file: [823e7742] check-in: [2e41514f] user: stephan branch: json, size: 8847
2011-10-04
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) file: [a5d36a69] check-in: [cee8bc67] user: stephan branch: json, size: 8834
19:17
fixed a c99ism. file: [1caf876e] check-in: [cd67b945] user: stephan branch: json, size: 8189
2011-10-02
11:43
minor cleanups and doc additions to the json/artifact handling. file: [b32e54f4] check-in: [6d066783] user: stephan branch: json, size: 8189
11:16
Reorganized json_page_artifact(), fixed a C99ism, fixed permissions check. file: [240c5a08] check-in: [c9261700] user: stephan branch: json, size: 7742
10:51
Added missing license header to new files. Updated (c) date to 2011. file: [681502aa] check-in: [8a665715] user: stephan branch: json, size: 7412
2011-10-01
07:58
s/commit/checkin/, for consistency. s/artifactType/type/. file: [e8b95bb0] check-in: [44e032aa] user: stephan branch: json, size: 6898
07:47
more consolidation of timeline/artifact code. file: [1ce8746f] check-in: [cc444a02] user: stephan branch: json, size: 6905
07:04
more timeline/artifact refactoring. file: [9a3cded9] check-in: [22fc0ab8] user: stephan branch: json, size: 6496
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: [59606a89] check-in: [b1f92572] user: stephan branch: json, size: 6297
05:58
Started adding artifact-type-dependent result data to /json/artifact output. file: [a4034d5f] check-in: [a893fff3] user: stephan branch: json, size: 6061
05:09
Added initial /json/artifact code, but it currently can only report the type of a given artifact. file: [d5cd3898] check-in: [6372d951] user: stephan branch: json, size: 2385 Added