Fossil

History of src/unversioned.c of f39c33c1332c6f72
Login

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

History of file src/unversioned.c at check-in f39c33c1332c6f72

2025-08-10
10:28
Raise an error when trying to insert an unversioned file if the file size would cause the database row to exceed SQLITE_LIMIT_LENGTH. file: [d39361fa12] check-in: [c6265bb3a7] user: drh branch: trunk, size: 25570
2025-07-27
11:58
When unversioned content is saved, add an entry to the admin log. file: [01f8fbab04] check-in: [7991defa6f] user: stephan branch: trunk, size: 25111
2025-04-16
16:22
Add the --editor option to "fossil commit" and "fossil uv edit". file: [26aad606fb] check-in: [7675987551] user: drh branch: trunk, size: 25013
2025-03-19
11:31
Simplify the command property of "abbreviated-subcommands" to just "abbrv-subcom" and the setting property of "show-only-if-changed" to just "if-chng". file: [182c36a9a2] check-in: [3e7c7e2277] user: drh branch: trunk, size: 24895
2025-03-07
18:39
Mention the "--proxy PROXY" option in the help text for all command that support it. file: [a3537107b2] check-in: [6d4cd32921] user: mgagnon branch: trunk, size: 24917
2025-03-01
16:02
Improvements to rendering in the "fossil help" command, especially in combination with the -u/--usage and -o/--options command-line options. file: [b7a3488263] check-in: [62cb8ea785] user: drh branch: trunk, size: 24761
2024-07-02
08:19
For the previous check-in, disable the submit button rather than use alert(). file: [d6e33d7ff7] check-in: [fe24713a27] user: danield branch: trunk, size: 24669
2024-07-01
15:44
For /uvlist, check if any file has been chosen before submitting the form. file: [056c7bd83f] check-in: [4a8a7742da] user: danield branch: trunk, size: 24607
2024-06-29
22:32
In the /uvlist upload process, use %h instead of %s to render the newly-uploaded file's name. file: [b338766ed3] check-in: [d1b0ccf157] user: stephan branch: trunk, size: 24320
2024-06-25
09:33
Ensure that the unversioned table exists if an upload is triggered via /uvlist. file: [9f78847e7b] check-in: [3aa57a20b7] user: stephan branch: uv-upload, size: 24320
2024-06-24
17:22
Finish(?) /uvlist file upload feature. file: [5597bd6b55] check-in: [ecfdf53537] user: stephan branch: uv-upload, size: 24294
2024-06-23
19:12
Initial sketch of the ability to upload a new /uv file via an HTML form, per off-list user request. The form is not yet handled. file: [ac1176f96e] check-in: [152cc642e7] user: stephan branch: uv-upload, size: 23285
18:38
Small help text fix in the unversioned command. file: [1a3a3786b3] check-in: [bdc8b4a406] user: stephan branch: trunk, size: 22851
2023-12-13
12:18
Add a missing <td> to the /uvlist table. file: [1c7afcbade] check-in: [6b02592196] user: drh branch: trunk, size: 22851
07:40
Modify [b1dc17a0aa]: Use the APIs from hname.c to find hash algorithm names. file: [793800515b] check-in: [a99a0fc08b] user: florian branch: trunk, size: 22840
2023-12-12
22:12
ASAN caught a misuse of memcmp when matching the subcommand for "fossil uv". Changed it to strncmp, as used in several other Fossil CLI subcommand matching bits. Since the left-side arg is user-supplied text and we were using its strlen() for the third argument to memcmp(), it allowed arbitrary amounts of overrun. file: [efdae91a54] check-in: [182cfa1b1d] user: wyoung branch: trunk, size: 22820
21:54
Improved display in /uvlist: wrapped the file hash in "code" tags to make same-type hashes display at the same width, and added an "Algo" column to identify the hash algorithm for the benefit of those who can't work it out from the length alone. file: [18e9603511] check-in: [b1dc17a0aa] user: wyoung branch: trunk, size: 22807
2023-07-16
20:47
Add calls to cgi_check_for_malice() on many more web pages. Log all 418 responses to the error log. file: [f45716ad23] check-in: [40266bf9b2] user: drh branch: verify-options-cgi, size: 22662
2023-03-12
21:10
Add a note to 'fossil uv' help that sync requires 'y' permissions on the remote. file: [d303b5daf9] check-in: [2eef3acda3] user: stephan branch: trunk, size: 22610
2023-01-09
13:06
Further consistency improvements in docs for various commands. file: [e45a064fd6] check-in: [2512d2d472] user: km branch: trunk, size: 22534
2022-11-13
16:26
Apply fixes to all web views to pass WCAG 2.1 tests performed by "axe DevTools" browser extension. Most fixes related to screen reader compatibility, like making sure that form elements have labels. Some color changes to improve contrast on Default skin. Made more HTML5 compliant. Minor improvement to select combo boxes for UX. Improved Search form UX. Two minor bug fixes for malformed HTML. Fixed help pages to resolve issues with non-compliant HTML being generated. Mostly documented at https://fossil-scm.org/forum/forumpost/aafb17a981df4166 file: [fefd8b461c] check-in: [1f231db380] user: ericwikman branch: wcag-2.1, size: 22507
2022-09-01
01:29
Merge in trunk. Resolve a shadowed var in dispatch.c which led to an assigned-but-not-used warning. file: [a236482c98] check-in: [a257fbd92e] user: stephan branch: help-aliases-unique, size: 22480
2022-07-24
14:51
Replaced the remaining --dryrun flags with --dry-run, for consistency, per discussion/monologue in [forum:d732b4026f44bdba|forum post d732b4026f44bdba]. file: [f2b4948ab4] check-in: [4a720c2621] user: stephan branch: trunk, size: 22480
2022-07-19
14:47
Add aliases as a new command type and display these next to the corresponding main command in /help. Make sure that for 'test-all-help' command and webpage each help string is output at most once. file: [1969e7e34d] check-in: [4b8efc05d7] user: danield branch: help-aliases-unique, size: 22479
2022-07-17
23:48
Changed a number of "a" articles followed by vowels in docs and comments to "an", per [forum:/forumpost/3e6e40293f03f089 | a forum post]. file: [63119eb23e] check-in: [99a319bdbf] user: wyoung branch: trunk, size: 22479
2022-07-05
07:38
Replaced --dryrun with --dry-run in the commands which still used the former, except for two unrelated internal-use/debugging-only flags where the change might have had undesired side effects. Removed the undocumented --dryrun backwards-compatibility flag from a couple commands for consistency's sake (else we need to have that option in all dry-run-capable commands). Discussion is in [forum:d732b4026f44bdba | forum post d732b4026f44bdba]. file: [927257ebef] check-in: [360d8652e7] user: stephan branch: dryrun-dry-run, size: 22479
2021-12-26
13:05
Removed miniz.c, per /chat discussion. It is incompatible with both OpenSLL and the SQL shell's sqlar support. file: [55bf7d9508] check-in: [f9c2d23f29] user: stephan branch: trunk, size: 22478
2021-10-08
17:49
Use application/json instead of text/json for JSON-format responses. [forum:30629128c1|Forum post 30629128c1]. file: [1cd0244800] check-in: [c0714a05ec] user: stephan branch: trunk, size: 22580
2021-07-07
18:14
Fix the unversioned_content_hash() function so that it returns the SHA1 of a zero-length buffer if the "unversioned" table does not exist. file: [2900b0a8ef] check-in: [ccce70fb59] user: drh branch: trunk, size: 22573
2021-03-11
15:40
More help text consistency tweaks from forum discussion [forum:8c644048f0]: --repository REPO. file: [28473c31fe] check-in: [2f7c93f49c] user: stephan branch: trunk, size: 22445
2020-12-29
23:24
Reworded uvlist table summary, per forum suggestion [https://fossil-scm.org/forum/forumpost/8e3c4ae3d8 | /forumpost/8e3c4ae3d8] and personal itch. file: [fd8f970579] check-in: [5797c7e8e9] user: stephan branch: trunk, size: 22445
2020-12-22
12:13
Removed the parameter from style_finish_page() since the resulting content div class is now redundant with respect to the body class. This potentially breaks CSS made against old class names that a prior commit on this branch changed, but such skins would be made against an unreleased version of Fossil, it's unlikely many are using that first version of the feature anyway, and most of the class names did *not* change unless you were targeting a "div" instead of "body" or just a generic class name. None of the shipping skins are affected. file: [a53632200d] check-in: [0e83ca88ce] user: wyoung branch: body-feature-class, size: 22446
2020-11-07
13:25
Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. file: [b9267836e1] check-in: [942b2076c6] user: drh branch: default-css-cleanups, size: 22462
2020-11-05
23:15
Added a parameter to style_footer() and renamed it to match its actual function (style_body_and_footer()) so we can add a CSS class to each page that indicates which major Fossil feature served the page, so we can have module-specific CSS. file: [0a40457edc] check-in: [ef5424b683] user: wyoung branch: default-css-cleanups, size: 22470
2020-10-05
10:13
uv ls/list doc patch from [https://fossil-scm.org/forum/forumpost/cdc43ffe60]. file: [03501e965a] check-in: [ecac7c4ea7] user: stephan branch: trunk, size: 22436
2020-06-09
00:27
Add the new "%$" conversion specifier in mprintf(), for escaping filenames for use in shell commands. Use this feature for added system() security whereever appropriate. file: [4b1807aa4e] check-in: [2209f55323] user: drh branch: trunk, size: 22214
2020-05-17
20:38
Allow unversioned files to be identify by hash in addition to name. For the /uv webpage, when a file is identify by hash it has a long expiration time. file: [69d0c7c0e4] check-in: [b5ab1ebe5e] user: drh branch: trunk, size: 22218
2020-05-10
12:16
Enable ETag caching of the /uvlist and /juvlist pages. file: [edc216812b] check-in: [a6003f1df0] user: drh branch: trunk, size: 21790
2020-04-27
18:33
Enhance the "fossil uv" command to make use of GLOB and LIKE patterns. file: [5c11c67198] check-in: [63837f423f] user: drh branch: trunk, size: 21736
2020-03-17
10:45
Add the -R option to the "fossil uv" on-line help. file: [227f616ce7] check-in: [bc7c27cb85] user: drh branch: trunk, size: 20396
2020-03-07
16:56
Use SHA3 to identify unversioned files, if the hash policy is sha3 or higher. file: [b0fd9ca85d] check-in: [17525ceddb] user: drh branch: trunk, size: 20340
2019-10-02
16:14
Much simplified re-implementation of [double-dash-flag] without the unconventional '-' alias behaviour. (Still requires more testing.) file: [c5a2db07e1] check-in: [c32966e0de] user: stephan branch: double-dash-flag2, size: 20344
2019-09-27
16:37
Help syntax change to match project conventions: [--] to ?--? file: [fefa807756] check-in: [95ed189424] user: stephan branch: double-dash-flag, size: 21224
14:32
Added -- support to wiki create/commit/export. Refactored/simplified how fetching of a dash-as-stdin/stdout argument is done from command-side code. file: [a96027abcc] check-in: [dba4fd9b69] user: stephan branch: double-dash-flag, size: 21224
11:47
Added -- support to: (branch new) (uv add/cat/edit/export/rm) file: [51b2b3229e] check-in: [78a30d8d7c] user: stephan branch: double-dash-flag, size: 20939
2019-08-31
16:42
Merge in latest from trunk. file: [e1b55e1f14] check-in: [aa37639112] user: andybradford branch: db-begin-txn-updates, size: 20314
2019-05-17
13:53
Add the %j formatting directive to the customized printf() inside of Fossil. The %j format generates a string with appropriate backslash escapes so that the string can be part of a Javascript string literal. file: [3a7cb905cf] check-in: [5e9c1d5e04] user: drh branch: trunk, size: 20344
2019-03-19
14:09
Replace most calls to db_begin_transaction() with db_begin_write() to avoid having a reader locking during a COMMIT. file: [a3c86dbd54] check-in: [6cc5354821] user: andybradford branch: db-begin-txn-updates, size: 20389
2018-06-29
13:09
Further enhancements to the on-line help for the "fossil uv add" command in an effort to clear up confusion. file: [c3e497239a] check-in: [66815ed390] user: drh branch: trunk, size: 20419
11:40
Further wording enhancements to the on-line documentation to the "fossil uv" command. file: [3d6168e575] check-in: [c4ab883421] user: drh branch: trunk, size: 20059
2018-06-27
13:09
Fix typos in the "fossil help uv" page. file: [402a729c8b] check-in: [1bc4b0a580] user: drh branch: trunk, size: 20058
2018-02-24
03:38
ETags now working for the /uv page. file: [43ca4a3045] check-in: [5b84cab0d6] user: drh branch: etags-cache-control, size: 20060
2017-12-06
10:01
Perform table sorting using a separate javascript file rather than using in-line javascript. file: [23d297dad4] check-in: [6b645d631d] user: drh branch: trunk, size: 20052
2017-11-30
17:58
Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. file: [63a55b0340] check-in: [e7767de263] user: drh branch: symlink-refactor, size: 20018
2017-10-03
14:42
Tweak indenting for consistency file: [a4ad61090c] check-in: [5f37eb84ca] user: andygoth branch: trunk, size: 20000
05:12
Follow-up to [f39c33c133]: Only add extra table cell when rcvid column is shown file: [5d021866b6] check-in: [1f9718a694] user: andygoth branch: trunk, size: 20011
2017-09-21
21:49
Improve error message when rejecting unversioned filenames file: [f83481f8e7] check-in: [493e3bade9] user: andygoth branch: trunk, size: 20030
2017-09-19
18:28
Add missing table cell in bottom right corner of unversioned file list web page file: [2a267b544a] check-in: [f39c33c133] user: andygoth branch: trunk, size: 19863
2017-03-05
22:28
Update the change log for version 2.1. file: [af5f3c4e85] check-in: [13924ff734] user: drh branch: trunk, size: 19859
2017-03-04
14:29
Add the /juvlist webpage that returns a list of all unversioned files as JSON. file: [d5d59c5f94] check-in: [7d12ba544f] user: drh branch: trunk, size: 19859
2016-11-18
08:22
Remove some unnecessary spaces. file: [8e5f76b584] check-in: [467c4269b0] user: jan.nijtmans branch: trunk, size: 18251
2016-11-15
23:41
Allow uv delete (or del) as an alias for uv remove or uv rm. See [http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg24322.html]. file: [9f0dd26237] check-in: [b59fa7d0e7] user: andygoth branch: trunk, size: 18252
2016-10-31
10:55
Omit deleted unversioned files from the /uvlist page unless the showdel=1 query parameter is used. file: [0069fb1ab2] check-in: [a3608700ad] user: drh branch: trunk, size: 18175
2016-10-04
23:54
Another correction to the unversioned help text. file: [95327eac5a] check-in: [800517e177] user: mistachkin branch: trunk, size: 18014
23:44
Add 'unversioned remove' as an alias for 'unversioned rm'. Update and improve help text. file: [9e66c9b41f] check-in: [182adc0290] user: mistachkin branch: trunk, size: 18005
20:25
Fix typos in the sync document. Make "uv" an alias for "unversioned". Prohibit unversioned filename that contain whitespace since the sync protocol cannot currently handle such files. file: [ef8fb634ba] check-in: [85f957c3e5] user: drh branch: trunk, size: 17852
2016-09-20
15:48
Add the --verbose and --dryrun options to the "fossil unversioned revert" and "fossil unversioned sync" commands. file: [521ffe1c7f] check-in: [b5641c5cff] user: drh branch: trunk, size: 17465
2016-08-30
16:34
Change the UNVERSIONED table to use an INTEGER PRIMARY KEY with AUTOINCREMENT. This is a precondition to adding search to unversioned files. To rebuild legacy repos, first DROP the old unversioned table, then run "fossil sync -u". file: [3727ac04ff] check-in: [08cbc7b2e4] user: drh branch: trunk, size: 16489
2016-08-24
14:56
Unbreak compilation on Cygwin. Allow notepad to be used as unversioned content editor (notepad cannot handle UNIX line-endings) file: [f86ba3024c] check-in: [6728970b76] user: jan.nijtmans branch: trunk, size: 16431
2016-08-23
14:12
Fix harmless comment and spacing typos. file: [952f794610] check-in: [3a66ed0bee] user: drh branch: trunk, size: 16274
13:01
Add the "fossil unversioned edit UVFILE" command. file: [f33e0fb323] check-in: [1d6b67822a] user: drh branch: trunk, size: 16274
12:13
eliminate some end-of-line spaces file: [edb0a3f531] check-in: [d32155d064] user: jan.nijtmans branch: trunk, size: 14587
11:58
Add a link to the /uvlist screen from the /setup menu. Add the byage=1 query parameter to /uvlist. file: [89f53c3e18] check-in: [ab4c1e2961] user: drh branch: trunk, size: 14588
09:49
eliminate some end-of-line spaces file: [862f38b6dc] check-in: [22ed008469] user: jan.nijtmans branch: mistake, size: 14376
01:41
Better default sort orders for columns on the /uvlist file: [7aac9241a4] check-in: [401d9b2937] user: drh branch: trunk, size: 14377
01:37
In the /uvlist, do not link to deleted files. file: [fa4b7ef9b1] check-in: [d8b0489b81] user: drh branch: trunk, size: 14376
01:22
Improved origin tracking for unversioned files. Show Admin/Setup users the rcvid and allow them to see the originating IP address and to delete unversioned files. Update the rcvfrom table viewer to include unversioned file entries. file: [b63c58230c] check-in: [8972aae720] user: drh branch: trunk, size: 14344
2016-08-22
21:10
Create a valid rcvfrom entry when adding unversioned content from the command-line. file: [3ebdcb75e7] check-in: [7deeb51511] user: drh branch: trunk, size: 14073
2016-08-19
00:13
Use the new SQLITE_DBCONFIG_MAINDBNAME feature of SQLite to eliminate the need for the db_name() hack. file: [8be1f21458] check-in: [d858f3da52] user: drh branch: omit-db_name, size: 13655
2016-08-17
22:19
Add the -u/--unversioned flag to the "fossil sync" command. Implement the "fossil unversioned revert" command. file: [a766be7c25] check-in: [c18f23190a] user: drh branch: trunk, size: 13675
09:57
Do not show a blank table on the /uvlist page if the server contains no unversioned files. Instead show a message explaining that no unversioned files are present. file: [eaebdddc03] check-in: [49007ecedf] user: drh branch: unversioned-files, size: 13590
09:28
Add the /uvlist webpage. file: [17ff93de58] check-in: [52860aa6ab] user: drh branch: unversioned-files, size: 13436
2016-08-09
18:59
More fixes to the unversioned file sync protocol. file: [d37295ce55] check-in: [48b9bf351f] user: drh branch: unversioned-files, size: 11579
15:29
More work on unversioned file sync. file: [d81e474f5c] check-in: [a3dcfe7595] user: drh branch: unversioned-files, size: 11529
12:37
Change the schema for the unversioned table. Add some initial code to do unversioned sync, but the code is incomplete and untested. file: [306ee86c7c] check-in: [73932a32c5] user: drh branch: unversioned-files, size: 9823
2016-08-06
21:01
Complete the parts of the "fossil unversioned" command used to add and remove content. file: [dd72281b3c] check-in: [fb3c81d8ba] user: drh branch: unversioned-files, size: 12241
2016-08-05
08:30
Incremental check-in. (Saving my place in order to go work on other things.) Changes are untested. file: [7ef54e90fe] check-in: [a9463a7157] user: drh branch: unversioned-files, size: 8866
2016-08-04
22:49
Added: Begin work on the ability to store and sync files for which no history is kept. file: [e3a9f067b5] check-in: [4ce1c9b2f2] user: drh branch: unversioned-files, size: 7234