Fossil

Timeline
Login

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

129 check-ins using file src/stat.c version b3be5fc07d

2020-08-26
13:31
Merge in trunk (version-2.12.1) check-in: 62c316306e user: george tags: wiki-history
2020-08-20
23:45
Change width per stephan's request Closed-Leaf check-in: 53458bed91 user: andygoth tags: andygoth-ardoise-tweaks
13:27
Version 2.12.1 Leaf check-in: b98ce23d4f user: drh tags: release, branch-2.12, version-2.12.1
13:08
Rearrange code, tweak span colors check-in: 1ffe4cde88 user: andygoth tags: andygoth-ardoise-tweaks
13:01
2.12.1 release candidate with security fixes. check-in: 40feec3291 user: drh tags: branch-2.12
12:31
Fix CSS priority issue check-in: ed04edd82b user: andygoth tags: andygoth-ardoise-tweaks
00:04
Report the use of FOSSIL_LEGACY_ALLOW_SYMLINKS in the output "fossil version -v". Closed-Leaf check-in: 89d950efd0 user: drh tags: sec2020-2.12-patch
2020-08-19
21:08
The allow-symlinks setting is disabled by default and is not versionable, unless Fossil is compiled with the FOSSIL_LEGACY_ALLOW_SYMLINKS flag, in which case it follows the historic behavior. check-in: cdc90f0c3b user: drh tags: sec2020-2.12-patch
16:13
Silently ignore reserved filenames that occur inside of manifests, rather than throwing an error. No need for a setting to allow reserved filenames in manifests. check-in: 2e19c5fe2d user: drh tags: sec2020
15:46
Remove commands "test-nondir-path" and "test-is-reserved-name" and add the equivalent functionality to "test-file-environment". check-in: 0cec61e451 user: drh tags: sec2020
15:26
Remove the --symlinks option from the "fossil open" command. It is not needed. Users who want to enable symlinks can use the "fossil settings" command first. check-in: ff811934e0 user: drh tags: sec2020
15:21
Add the "fossil test-nondir-path" command for testing parts of the new symlink logic. check-in: 13cfef3383 user: drh tags: sec2020
13:51
When diffing long sequences, the product of their lengths can overflow to a negative number, triggering optimalLCS() which is very expensive. Prevent this overflow. See [https://fossil-scm.org/forum/forumpost/5f9365f9fe] for discussion. check-in: e2b7dca948 user: andygoth tags: trunk
12:58
Merge additional symlink fixes. Back out comment-only changes from url.c. check-in: 0ea17c2b11 user: drh tags: sec2020-2.12-patch
12:26
Fix harmless compiler warnings. check-in: feef827504 user: drh tags: sec2020
12:22
Additional defenses against doing "fossil add" of files that are beneath symlinks. check-in: 928b023cb7 user: drh tags: sec2020
12:08
Improved detection of attempts to write through a symlink. Now also works for "revert", "stash", and "undo/redo". check-in: f63297b2c5 user: drh tags: sec2020
09:57
Increase the version number to 2.12.1. check-in: 32646b2738 user: drh tags: branch-2.12
08:40
It turns out we already have javascript.md, with similar aims, so now it's a matter of integrating this doc into that one. check-in: 2e131efc87 user: stephan tags: js-policy-doc
08:11
Fixed a poorly-placed wordwrap which looked like a new list entry to markup. check-in: 571bf459be user: stephan tags: js-policy-doc
08:00
Initial draft of a project policy doc explaining and justifying its use of JavaScript. check-in: 93e4561b0d user: stephan tags: js-policy-doc
01:33
Restore blank cell capability, fixes [95ce0e53] check-in: dc94ebc2cd user: andygoth tags: trunk
01:07
Cherrypick key fixes from the sec2020 branch in order to devise a minimal patch to get us to version 2.12.1. check-in: fe1264d35d user: drh tags: sec2020-2.12-patch
00:56
Make a few tweaks to the Ardoise skin. See [https://fossil-scm.org/forum/forumpost/a4bcfec897] for branch discussion. check-in: 535f4eb8f9 user: andygoth tags: andygoth-ardoise-tweaks
00:15
Do not allow the "fossil add" command to add files beneath a symlink. check-in: a6abfb911b user: drh tags: sec2020
2020-08-18
23:39
An alternative method for dealing with historical files named "_FOSSIL_" in the tree: Simply pretend they are not there. Closed-Leaf check-in: 8f24c07917 user: drh tags: ignore-reserved-filenames
22:53
Line numbering forum feedback: removed toast message, replaced vague 'lines X-Y' label with 'Copy link to lines X-Y', removed udc=xxx from the generated URL. check-in: 7c98df4158 user: stephan tags: trunk
21:03
Cherrypick [d2d8894bb2]: fossil.storage.clear() is now also sandboxed - no longer nuking all state for all repos on the same origin. check-in: d0988e677c user: stephan tags: branch-2.12
21:01
fossil.storage.clear() is now also sandboxed - no longer nuking all state for all repos on the same origin. check-in: d2d8894bb2 user: stephan tags: trunk
20:58
Silently refuse to "fossil add" files that use reserved names. check-in: 888da94e0a user: drh tags: sec2020
20:51
Merged in [923affb930a27b], which reinstates localStorage but sandboxes access to fossil.storage on a per-repo basis. check-in: 21fbd4738c user: stephan tags: branch-2.12
20:46
Re-enabled localStorage for fossil.storage but enhanced it to sandbox the keys used by the apps on a per-repo basis, so there is no longer any (immediately visible) cross-repo polution. The underlying localStorage/sessionStorage is still shared per origin/browser profile instance, but fossil.storage clients will only see the state from their own repo. check-in: 923affb930 user: stephan tags: trunk
20:19
Improved error message and response when trying to manifest a check-out that contains a file beneath a symbolic link directory. check-in: 20d90dd482 user: drh tags: sec2020
19:56
Add a security audit warning if the strict-manifest-syntax flag is switched off. check-in: 3105bedff2 user: drh tags: sec2020
19:49
Rework the "permissive-manifest-parser" idea to be simpler and to call it "strict-manifest-syntax". check-in: 4df8c856ee user: drh tags: sec2020
19:10
Updated changelog and index for 2.12.1, with a tentative release date of Aug. 19th (that's tomorrow in 3 hours, CET). check-in: c8e8ab9ccc user: stephan tags: branch-2.12
18:44
Backported in [5b9a4c90594d8ea6], as explained in detail at [https://fossil-scm.org/forum/forumpost/0f56c9edd9]. check-in: af383a7b3d user: stephan tags: branch-2.12
18:19
Disabled localStorage as a backend option for the fossil.storage JS API after it was painfully discovered that multiple repos on the same hoster actually share that storage, as opposed to it being achored at the repo. That API now uses sessionStorage, if available, before falling back to transient instance-local storage. check-in: 5b9a4c9059 user: stephan tags: trunk
17:25
permissive-manifest-parser setting is now marked as sensitive to keep an attacker from turning it on. Closed-Leaf check-in: 1e34705ed8 user: stephan tags: sec2020-deadend
16:07
Added and applied permissive-manifest-parser setting to permit parsing of manifests which have F-cards containing now-illegal names. Required for rebuild of historical data and support of repositories we now know to contain such files. check-in: 9e59cf18fc user: stephan tags: sec2020-deadend
14:02
Merge in the latest trunk changes. check-in: 917917aa55 user: drh tags: sec2020
14:00
Allow <del> and <ins> markup in wiki and in markdown. check-in: ae9a9db553 user: drh tags: trunk
13:54
Make -f an alias for --force on "fossil open". check-in: 17c244de21 user: drh tags: trunk
13:17
More missing db_unprotect() calls. check-in: 06d3789a2a user: drh tags: sec2020
12:17
When writing files to disk for a check-out, refuse to write through a symbolic link to a directory. Ticket [f9831fdef1d4edcc]. check-in: a64e384f0c user: drh tags: sec2020
02:58
More missing calls to db_unprotect(). check-in: 3ced48bdf8 user: drh tags: sec2020
02:33
Yet another missed db_unprotect() call. check-in: 2041072e8d user: drh tags: sec2020
02:26
Fix missing enable of global_config in the "fossil all" command. check-in: 16ec693dae user: drh tags: sec2020
01:54
Disable writes the CONFIG and USER tables by default. Permission to write to those tables is turned on as needed. Note - might have missed a few places so expect bugs. check-in: ca9156aa0a user: drh tags: sec2020
2020-08-17
22:34
Add more tests. check-in: 92704d1c68 user: mistachkin tags: sec2020
22:27
Simplify error message. check-in: 1bb0b3a8f3 user: mistachkin tags: sec2020
22:22
Fixes for reserved names case sensitivity, coding style adjustments, more tests. check-in: fde20bc03c user: mistachkin tags: sec2020
21:19
Reduced the line-number-mode font size back to normal. check-in: a703b4ce25 user: stephan tags: trunk
21:17
A couple minor skin doc typos. check-in: 9e871e0de0 user: stephan tags: trunk
20:51
Add tests for the reserved names. check-in: df720b28fc user: mistachkin tags: sec2020
20:03
Identify security-sensitive settings. check-in: 3bccd7fff2 user: drh tags: sec2020
19:59
Every database connection now has a default authorizer, which calls out to an operation-specific authorizer if needed. check-in: f98ef3c103 user: drh tags: sec2020
18:57
Enhance the db_prepare() and db_static_prepare() utility routines so that they throw an error if handed more than one SQL statement. This might help prevent SQL injection attacks. check-in: be0d95aded user: drh tags: sec2020
18:20
Merge in reject-ckout-db branch. check-in: 8c16884aa2 user: stephan tags: sec2020
17:50
Fixed [17d00c20dd9f] by adding NULL check on F- and E-card UUID tokens. Closed-Leaf check-in: 458f30fc0b user: stephan tags: reject-ckout-db
17:34
The allow-symlinks setting is no longer versionable and is off by default. The allow-symlinks setting no longer propagates with a clone. The help text for allow-symlinks discourages its use. There is a new --symlink flag on "fossil open" to permit the use of symlinks on an open, for the adventurous. Ticket [f9831fdef1d4edcc]. check-in: ff98dd5af6 user: drh tags: sec2020
17:34
Added checks of (-wal, -shm, -journal) db suffixes. check-in: 4ed1a294ff user: stephan tags: reject-ckout-db
16:10
Moved is_fossil_ckout_db_name() from db.c to file.c and renamed it filename_is_ckout_db(). Integrated the check into manifest_parse(), but testing it requires temporarily #if'ing out the Z-card check, which is one of the first validations. check-in: 6c19baa09b user: stephan tags: reject-ckout-db
15:40
switch/case style tweak, per request. check-in: 9784e5cdab user: stephan tags: reject-ckout-db
15:17
Part 1 of ticket [980a72dedd]: efficient check for determining whether a filename ends with a checkout db name. check-in: ddd1273ea2 user: stephan tags: reject-ckout-db
15:11
Identify security-sensitive settings. Closed-Leaf check-in: aa4c3afc52 user: drh tags: sec2020-config-protection
14:09
Set an authorizer when running the ticket-table SQL. Ticket [56b82836ffba9952]. check-in: fb41384045 user: drh tags: sec2020
09:16
Prohibit redirects from HTTP or HTTPS over to SSH or FILE. Fix for ticket [61613b0a9cf843b6]. check-in: 253dbd15e2 user: drh tags: sec2020
08:14
Fix typo, remove period for consistency with other help check-in: 80ca317ac5 user: andygoth tags: trunk
07:02
Reinstate symlink capability. (Unintended change with prior symlink test?) check-in: c840617b8b user: andygoth tags: trunk
2020-08-16
23:09
Add the "test-symlink-list" command. check-in: de38906fd5 user: drh tags: trunk
22:35
Pointed 'latest release' entry at the 2.12 changelog, per forum post. check-in: dba21929b2 user: stephan tags: trunk
19:08
Enhance the db_repository_filename() routine to return the canonical filename. check-in: f304c56974 user: drh tags: trunk
17:47
Fix the manifest_reparent_checkin() routine so that the "parent" tag will actually work. check-in: 2bdbbc8a0e user: drh tags: trunk
17:18
Mention the "fossil backup" command in the 2.12 change log. check-in: a02bcb033b user: drh tags: trunk
16:49
Fixed file_extension() to behave like its docs say it does, which would have made [5a9ac6ca3e] unnecessary. check-in: f95e47b611 user: stephan tags: trunk
16:35
Fix the release version on the home page. check-in: 4c45033033 user: drh tags: trunk
16:06
Fix segfault in /artifact introduced by check-in [b699040d701464ce] and reported [https://fossil-scm.org/forum/forumpost/a073f05cc3|on the forum]. check-in: 5a9ac6ca3e user: drh tags: trunk
15:52
Reworked fossil.toast to support normal/warning/error-level toasts. Alas, animating a toast's appearance and disappearance proved to be beyond my current skills. check-in: 4368f52961 user: stephan tags: trunk
15:51
Fixed a recursion bug in fossil.dom.append(e,array) (currently unused, but will be soon). check-in: 2018954b3f user: drh tags: trunk
15:51
Disable HTTPS redirect for the "test-http" command. That command is used by the "ssh:" transport method and redirects to https will break ssh: transport. check-in: ea6365a8df user: drh tags: trunk
15:49
Fixed a recursion bug in fossil.dom.append(e,array) (currently unused, but will be soon). Closed-Leaf check-in: 154f6484b6 user: stephan tags: bad-merge
15:47
Disable HTTPS redirect for the "test-http" command. That command is used by the "ssh:" transport method and redirects to https will break ssh: transport. check-in: edf63d73c5 user: drh tags: bad-merge
15:30
Close multi-remote-fix branch because the issue is now resolved. See [https://fossil-scm.org/forum/forumpost/158a67cc53] for some information on what was going on. The solution was to reopen the configuration after it was being prematurely closed. check-in: 4c16a24995 user: andygoth tags: bad-merge
15:20
Fix the "fossil clone" command so that it works with "file:" URLs. check-in: 9d2b7cab7a user: drh tags: trunk
15:03
Put the date on the 2.12 release. Start a change-log for 2.13. check-in: 522e7204c0 user: drh tags: trunk
14:45
Merge trunk, since cloning local filesystem repositories still does not work Closed-Leaf check-in: 719dcd29cd user: andygoth tags: multi-remote-fix
14:31
Remove "(pending)" from 2.12 changelog now that 2.12 is released check-in: dcc90ab5e1 user: andygoth tags: trunk
14:08
When compiling with FOSSIL_DEBUG (from the --fossil-debug configure option) do not attempt to "compress" built-in javascript by removing comments and surplus whitespace. This makes the javascript easier to read in a debugger. check-in: 41b9873b43 user: drh tags: trunk
13:39
Improvements to line-numbered text output. check-in: b699040d70 user: drh tags: trunk
13:33
Fix scrolling bug in FF and Chrome. check-in: 22f2d083d6 user: drh tags: trunk
13:32
Increment the version number to 2.13 to start the next development cycle. check-in: db5868e082 user: drh tags: trunk
13:18
Version 2.12 check-in: d075b6199c user: drh tags: trunk, release, version-2.12
10:05
Reverted [33610b04de8fdf56] because a subtle bug in Chrome and FF causes both browsers to break scrolling of elements if they are descendants, however deeply nested, of a fieldset element. The one known workaround for that is too fragile. This is not release-critical. Closed-Leaf check-in: e5c3ffeb36 user: stephan tags: post-2.12-fixes
08:13
Removed a now-unused CSS class. Closed-Leaf check-in: 1cb792fd19 user: stephan tags: line-number-selection
05:10
Several padding tweaks to ensure proper line/code alignment in all of the skins. check-in: e0e5449aa4 user: stephan tags: line-number-selection
04:08
Gave the BLOCKQUOTE which surrounds file content the file-content CSS class and trimmed its margins a bit. Fixed the truncated-by-one file extension uses in the language-XYZ tag in non-line-numbered file content, caused by refactoring from this branch. check-in: 62b682bded user: stephan tags: line-number-selection
03:53
Added 'important' to 'hidden' CSS rules to ensure that its visibility-hindering attributes trump other classes' attributes. This fixes the .hidden-yet-visible toast message popup and makes .hidden more future-proof. check-in: 22c592fc32 user: stephan tags: line-number-selection
02:43
Made copy-to-clipboard toast message less verbose. Tapping anywhere on the clipboard buttons popup widget now activates the clipboard copy. check-in: 739e4ee339 user: stephan tags: line-number-selection
01:32
Removed some stray debug output. Added a window.CustomEvent polyfill "just in case." check-in: af47d1531d user: stephan tags: line-number-selection
00:50
Removed the copy button's hard-coded post-copy behaviour (flashing) and instead fire a text-copied event. The line number selection now closes the popup widget after the copy button is triggered. Implemented a basic toast-message API using PopupWidget. check-in: 8a6ccf9ddd user: stephan tags: line-number-selection
2020-08-15
23:30
Renamed TooltipWidget to PopupWidget because's it's not *quite* a tooltip and we're soon going to need something closer to a genuine tooltip. Minor adjacent cleanups and code consolidation. check-in: 3998ccef44 user: stephan tags: line-number-selection
10:14
Shrink the line number column just a tick. check-in: e5f79f4fa5 user: stephan tags: line-number-selection
09:58
Some CSS consolidation and got the horizontal scrollbars working on unusually wide code files. check-in: 3d49b73f40 user: stephan tags: line-number-selection
09:15
Added a few 'inherits' CSS properties to resolve font size mayem when hilightjs does its thing. check-in: 618c6b1319 user: stephan tags: line-number-selection
08:43
Added missing fossil.copybutton.js. check-in: b646e724b7 user: stephan tags: line-number-selection
08:29
Optimized the mouse-based line number selection considerably, requiring far less DOM traversal. check-in: 0096aa4644 user: stephan tags: line-number-selection
08:02
Doc improvements, minor cleanups. Made the URL-copy element's popup position less variable. Uplifted the flash-once and copy-to-clipboard code into the fossil.dom API. check-in: 738bea54c0 user: stephan tags: line-number-selection
07:41
Implemented dynamic mouse selection of source lines and clipboard tooltip to copy the line range URL. check-in: 3942eb600a user: stephan tags: line-number-selection
03:51
Reimplemented ln=... highlighting to mark the line numbers instead of the code, so that there is no interference with syntax highlighters. Adjusted two skins to use the newer line-marking CSS. check-in: 14ac3e8469 user: stephan tags: line-number-selection
2020-08-14
19:25
Merged trunk to avoid style collisions later. Changed table.numbered-lines line-height from ex units to unitless, as Mozilla recommends. check-in: 41f270de75 user: stephan tags: line-number-selection
18:54
Consolidated the common styles of the bottom- and right-side forum post expansion toggles and resolved a layout quirk which could cause the right-side expander to sit too far to the left. check-in: db1afa75be user: stephan tags: trunk
17:57
Several forum style improvements based on forum feedback. check-in: 2121b1f7a7 user: stephan tags: trunk
14:38
fileedit: removed a call to blob_reserve() (optimization) because we have a report which seems to imply that it unconditionally fails on mingw 32-bit builds. check-in: b99c069a2c user: stephan tags: trunk
13:33
Update the built-in SQLite to the official released version 3.33.0. check-in: 0d6ed8c0b6 user: drh tags: trunk
12:28
Corrected the JS-side recursive argument handling for the multiple-numbered-tables case. check-in: a54fa928e2 user: stephan tags: line-number-selection
12:21
Added optional filename parameter to output_text_with_line_numbers() so that it can add the language-X class to the CODE element. check-in: 0b3919f3e1 user: stephan tags: line-number-selection
11:53
Changes line-numbered output to make line numbers selectable, as discussed in [https://fossil-scm.org/forum/forumpost/dc3da10590]. A couple decisions are needed before deciding whether to merge. check-in: ec73edd4d0 user: stephan tags: line-number-selection
2020-08-13
11:49
Re-enabled the discard-all-edits button in wikiedit and made it look the same in both wikiedit and fileedit. check-in: 39a5289b9b user: stephan tags: trunk
11:47
fossil.confirmer: moved the confirmation countdown to the right side of the element. This seems to be less visually jarring. check-in: c09949e5e4 user: stephan tags: trunk
2020-08-12
18:09
Update the change log to mention the two new virtual tables added to the "fossil sql" command. check-in: d79f08df7b user: drh tags: trunk
18:06
Add the "builtin" virtual table to the "fossil sql" command. This vtab provides access to all of the built-in support files. check-in: c6359b4ec1 user: drh tags: trunk
17:20
Add new columns "formatted" and "html" to the "helptext" virtual table. check-in: 53adb7dc6c user: drh tags: trunk
14:07
fossil.tabs.TabManager now experimentally (and optionally, defaulting to on) assigns 'accesskey' values to each tab button equal to their 1-based index in the tab list. check-in: 4cf3586431 user: stephan tags: trunk
12:56
Improved detection of potential read/write txn conflicts. Hold a write transaction on the server-side for the duration of an /xfer request, to avoid unexpected SQLITE_BUSY errors. check-in: d9543f4c2c user: drh tags: trunk
12:07
Added clear:both to HR elements, primarily to fix right-floating README.txt on the /dir page in some skins. check-in: a4c1b36ee6 user: stephan tags: trunk
11:44
Minor style consistency/layout tweaks to wikiedit and fileedit. check-in: e7c348f1d9 user: stephan tags: trunk
11:42
Inconsequential JS cleanups. check-in: 5dd9ff1c04 user: stephan tags: trunk
09:45
Fixed an out-of-bounds array access in stat.c reported in the forum. check-in: e70f2fbc7b user: stephan tags: trunk