Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of file src/json_artifact.c at check-in f566811477463129
|
2024-02-02
| ||
| 16:26 | Fix lines over 80 characters long, excluding external source files and @-lines. file: [239cfef38a] check-in: [942f691b39] user: danield branch: fix-overlength-lines, size: 16245 | |
|
2023-01-19
| ||
| 01:01 | Add missing 'void' to no-arg function decls and impls throughout the JSON API. (In my defense: the distinction between f(void) and f() was unknown to me at the time that code was written.) file: [09253fff3f] check-in: [632dfd26dd] user: stephan branch: json-settings-command, size: 16155 | |
|
2020-01-28
| ||
| 13:33 | Ported in the remaining JSON API docs. Combined the API index into the main index. Replaced the pandoc-exported tables with lists. A couple patches to the C bits for issues found during doc porting. file: [4664cc2e51] check-in: [514dd66f33] user: stephan branch: trunk, size: 16147 | |
|
2016-11-07
| ||
| 01:29 | Remove some tabs and end-of-line whitespace file: [6530c919e6] check-in: [bf9669f55e] 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: [82c34f8fd3] check-in: [30c107e2c8] 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: [fe67135453] check-in: [6ec2c2e3d9] 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: [34d8b26ab1] check-in: [e1e9c3a300] 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: [9c51776359] check-in: [918d07bfac] user: stephan branch: wiki-keep-mimetype, size: 15807 | |
|
2013-10-04
| ||
| 09:30 | Better error-message in case of "manifest file is malformed" file: [709321592a] check-in: [1eb438d61a] 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: [5225358bdb] check-in: [e3a4d954b7] 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: [09284d77e6] check-in: [f89a32d782] 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: [8ee2c03ef7] check-in: [9f6abc5968] 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: [3ef77d2b36] check-in: [824ede2af6] 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: [15adf65993] check-in: [0328d68181] 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: [20df1fbdf4] check-in: [6823912746] user: drh branch: sqlite4, size: 13201 | |
|
2012-03-29
| ||
| 14:54 | Add vim modline everywhere file: [6edcf8ece4] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 13243 | |
|
2012-03-23
| ||
| 01:11 | s/status/state/, for consistency. file: [8bf0a28c45] check-in: [8f496ed159] 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: [c618305cdf] check-in: [8c6dc243c9] 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: [20adbb5d8b] check-in: [070b75542c] user: stephan branch: trunk, size: 12147 | |
|
2012-03-19
| ||
| 20:33 | removed "rid" property from /json/artifact/FILEUUID output. file: [cf99790c34] check-in: [98ae107a97] user: stephan branch: trunk, size: 12139 | |
|
2012-03-18
| ||
| 16:35 | Removed mperm property from /json/artifact results. Added a TODO. file: [2bee76aff7] check-in: [afe12e1077] 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: [c944c49c90] check-in: [6b08628c78] user: stephan branch: trunk, size: 11979 | |
| 18:50 | /json/artifact/CHECKIN now accepts "o" in addition to "h" privileges. file: [bbd16189ed] check-in: [3628652dba] 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: [21eb781367] check-in: [2cbe686c30] 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: [8a167d4bf8] check-in: [accd6f3df6] 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: [43b7941e46] check-in: [4d027477fa] 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: [09661456b4] check-in: [d2c5b943f3] 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: [189b7437cb] check-in: [0c9c99b83f] user: stephan branch: trunk, size: 12222 | |
|
2012-02-23
| ||
| 11:32 | Fix warnings in json support code (unused variables, unused label, etc). file: [a36d503c28] check-in: [86f6e675eb] user: mistachkin branch: jsonWarnings, size: 11182 | |
|
2011-11-05
| ||
| 01:28 | json doc updates and removal of some dead code. file: [c5b51c2a77] check-in: [0c234bdd0a] 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: [24b489cf8d] check-in: [4ff2e31cef] 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: [d6639a9c75] check-in: [525816e6d7] user: json-demo branch: json, size: 12017 | |
|
2011-10-27
| ||
| 16:12 | merged in trunk [06e0cb70054d3c3], resolved conflict in login.c. file: [577e203004] check-in: [81d71d7b9e] user: stephan branch: json, size: 11959 | |
|
2011-10-20
| ||
| 18:48 | minor code simplifications. file: [a30a936e98] check-in: [400fe340c2] user: stephan branch: json, size: 11961 | |
| 18:28 | fixed a type conversion error caused by last round of refactoring. file: [4f1d62a6df] check-in: [f566811477] 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: [a62167761e] check-in: [23a35ba1cc] 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: [dd3a3deace] check-in: [2165e77c85] user: stephan branch: json, size: 12324 | |
| 22:12 | Added permissions checks to artifact/file and artifact/wiki. Renamed a mysterious mlink property. file: [6a3fe1f2fb] check-in: [83ba8852a7] user: stephan branch: json, size: 12014 | |
| 21:53 | refactored json_artifact_file() a bit to re-use other code. file: [31fd656d83] check-in: [a4f4c62a1a] user: stephan branch: json, size: 11729 | |
| 21:26 | Re-implemented json_artifact_wiki() to use pre-existing functionality. file: [c138765b38] check-in: [f996e6636c] 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: [d11bce82db] check-in: [3d1d139a7a] user: zach branch: json, size: 11807 | |
|
2011-10-17
| ||
| 16:08 | merged in trunk [fda7c2c63d] for side-by-side diffs. file: [2f5db176f1] check-in: [571f3aca5b] user: stephan branch: json, size: 8881 | |
|
2011-10-16
| ||
| 13:29 | fixed a memleak of parent artifact uuid. long live valgrind. file: [069efd41c8] check-in: [3db8bfc5bf] user: stephan branch: json, size: 8887 | |
|
2011-10-14
| ||
| 15:52 | working on json wiki command file: [ea93df866e] check-in: [4f9f0e9f03] user: zach branch: json, size: 9552 | |
|
2011-10-09
| ||
| 12:58 | factored out an extraneous parameter to json_gc_add(). file: [f2ce6932fa] check-in: [7a83a5cbd0] user: stephan branch: json, size: 8870 | |
| 11:04 | minor pedantic mtime "as int" casts. file: [6ad040b9dd] check-in: [770f9da54a] user: stephan branch: json, size: 8876 | |
|
2011-10-05
| ||
| 06:42 | A few internal cosmetic cleanups, added json_get_wiki_page_by_rid(). file: [b954bfb204] check-in: [afb3c89fe6] 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: [2107e03c1c] check-in: [5b4a3f12dc] 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: [823e774259] check-in: [2e41514fb7] 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: [a5d36a69b8] check-in: [cee8bc6727] user: stephan branch: json, size: 8834 | |
| 19:17 | fixed a c99ism. file: [1caf876ec1] check-in: [cd67b945d7] user: stephan branch: json, size: 8189 | |
|
2011-10-02
| ||
| 11:43 | minor cleanups and doc additions to the json/artifact handling. file: [b32e54f46f] check-in: [6d0667831a] user: stephan branch: json, size: 8189 | |
| 11:16 | Reorganized json_page_artifact(), fixed a C99ism, fixed permissions check. file: [240c5a082e] check-in: [c926170034] user: stephan branch: json, size: 7742 | |
| 10:51 | Added missing license header to new files. Updated (c) date to 2011. file: [681502aa49] check-in: [8a665715c2] user: stephan branch: json, size: 7412 | |
|
2011-10-01
| ||
| 07:58 | s/commit/checkin/, for consistency. s/artifactType/type/. file: [e8b95bb0da] check-in: [44e032aa8a] user: stephan branch: json, size: 6898 | |
| 07:47 | more consolidation of timeline/artifact code. file: [1ce8746fe8] check-in: [cc444a02cd] user: stephan branch: json, size: 6905 | |
| 07:04 | more timeline/artifact refactoring. file: [9a3cded924] check-in: [22fc0ab81b] 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: [59606a8986] check-in: [b1f9257213] user: stephan branch: json, size: 6297 | |
| 05:58 | Started adding artifact-type-dependent result data to /json/artifact output. file: [a4034d5fa9] check-in: [a893fff3ca] user: stephan branch: json, size: 6061 | |
| 05:09 | Added: Added initial /json/artifact code, but it currently can only report the type of a given artifact. file: [d5cd3898b7] check-in: [6372d95165] user: stephan branch: json, size: 2385 | |