Fossil

Timeline
Login

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

258 check-ins using file src/finfo.c version 4620d485a5

2020-08-26
15:52
Merge in trunk (check-in [f741baa6be]) check-in: 5d4a57f2c0 user: george tags: wiki-history
13:31
Merge in trunk (version-2.12.1) check-in: 62c316306e user: george tags: wiki-history
2020-08-25
06:18
Lots of tweaking to the "help buttonlet" popup position. Something to improve some rainy day. Closed-Leaf check-in: 3f08a9d200 user: stephan tags: misc-js-experiments
05:04
Updated javascript.md page to track recent developments. check-in: 3a1d3cc2dc user: wyoung tags: trunk
00:01
Improvements to handling of line endings and BOM marks when doing a 3-way merge. check-in: 88ff2642d3 user: drh tags: trunk
2020-08-24
23:24
Merge miscellanous auxiliary defenses and security enhancements. This check-in is not needed to fix any problems that are not already fixed in version 2.12.1. It merely provides additional defense in depth. check-in: f741baa6be user: drh tags: trunk
22:57
If both files being merged by 'fossil merge' contain a UTF-8 byte order mark (BOM), keep it in the produced merged file. Closed-Leaf check-in: 91182cd1f3 user: marciogabe tags: merge-crlf-bom
22:46
Improved cross-page caching of wikiedit/fileedit bundle, reducing those pages to a single request of 10-13k once cache is warm. Fixed non-bundled JS distribution of fileedit and wikiedit. check-in: 20c50cd1e5 user: stephan tags: misc-js-experiments
22:45
Adjust 'fossil merge' command to use CR/LF line endings for conflict markings if both files being merged already use such line ending type. check-in: 60ecf5d9ed user: marciogabe tags: merge-crlf-bom
22:20
Moved C routines which emit fossil.XYZ JS APIs from style.c to builtin.c, and renamed appropriately. Added flag to output_text_with_line_numbers() to disable emit of JS (needed for fileedit preview, at a minimum). The experimental emitting of all fossil.XYZ APIs at once is now limited to bundled mode, as that's the only place it's potentially of benefit. check-in: c515e5fd9f user: stephan tags: misc-js-experiments
20:49
Experimentally added '?' help buttons in wikiedit. Experimentally emit all fossil.XYZ APIs, rather than selected ones, to test whether that reduces overall transmission together with caching. DOM init-time timing workarounds to get confirmer buttons to pin their sizes properly. check-in: 9edbb7eab1 user: stephan tags: misc-js-experiments
20:24
Changed how fossil.confirmer pinSize option computes element width to be more robust in the face of CSS 'auto' width values. check-in: 1f4143ba28 user: stephan tags: trunk
12:35
For Hash or Wiki interwiki hyperlinks in Fossil Wiki without an alternative display, elide the initial interwiki tag from the display. check-in: 2d1a493d9c user: drh tags: trunk
04:44
Applied fix from [5244a548] to /json/wiki/list. check-in: 5a568d8b1f user: stephan tags: trunk
04:33
Reverted [37409e7dbe] in favor of [5244a548], which is cleaner, smaller, and works. check-in: a7d8c58d48 user: stephan tags: trunk
00:24
Merge changes from trunk. Closed-Leaf check-in: 4a8bc878f0 user: drh tags: sec2020
2020-08-23
22:11
Provide backlinks from Forum posts. Run rebuild to insert Forum backlinks into the BACKLINK table after applying this patch. check-in: 2df0e5c428 user: drh tags: trunk
20:06
Updates to the "fossil config" command documentation and the change log. check-in: 79b1cd4bf5 user: drh tags: trunk
18:12
For the wiki_render_page_list_json() function, only include pages on the list if they have one or more artifacts. This seems to clears the bug described by [forum:a9e345482e|"Wiki editor inop" forum post] check-in: 5244a5484a user: drh tags: trunk
16:02
Merge the interwiki enhancement from trunk. check-in: 26ac4b1ccf user: drh tags: sec2020
15:55
Add support for interwiki links. check-in: f4dc114a78 user: drh tags: trunk
15:52
Add the /intermap page for adjusting the interwiki mapping using a Web interface. Closed-Leaf check-in: dab94dda30 user: drh tags: interwiki
14:04
Add preliminary documentation for interwiki links. List the intermap on the /md_rules and /wiki_rules pages. check-in: 1a4158ea86 user: drh tags: interwiki
01:47
Fix syntax error in the previous commit. Dunno how I managed to check in a change that doesn't build.... check-in: fa105da061 user: drh tags: interwiki
01:43
Move much interwiki code into a new source files "interwiki.c". Add the "fossil interwiki" command for managing the list of remote wikis. check-in: 0875073359 user: drh tags: interwiki
00:47
Fix a bugs in the interwiki configuration transfer logic. check-in: c959dde140 user: drh tags: interwiki
00:29
Typo fix in comment check-in: 684fb15a7a user: wyoung tags: interwiki
2020-08-22
23:21
The "Code" on an inter-wiki link must be ascii alphanumeric. Sync the inter-wiki config table entries on clone. check-in: 550536789f user: drh tags: interwiki
20:23
Rudimentary support for [wikipedia:interwiki_links|interwiki links]. check-in: 3ca23edc8f user: drh tags: interwiki
19:07
Update the Fossil Wiki and Markdown cheat-sheets to include hyperlinks to one another. check-in: 0ae2dbd40a user: drh tags: trunk
16:26
Typo fix. Removed 13th quote, as the link is now 404, per note in the forum. check-in: 659f6cd080 user: stephan tags: trunk
16:24
Fix harmless compiler warnings. check-in: a872067f7e user: drh tags: trunk
16:10
More robust handling of missing CGI parameters. See discussion at [https://www.fossil-scm.org/forum/forumpost/e2e75f8aec|forum thread e2e75f8aec]. check-in: d6f69343ca user: drh tags: trunk
15:35
Merge the latest enhancements from trunk. check-in: 11c1566a93 user: drh tags: sec2020
15:34
Improvements to the forum thread display. Additional details on the [https://fossil-scm.org/forum/forumpost/3d3ffe23ed?t=h|forum thread]. check-in: 5182a1bfbf user: drh tags: trunk
15:31
Increment the cfgcnt when a forum items held for moderation is approved or disapproved, so that the timeline etag cache will expire. check-in: c80762fa81 user: drh tags: trunk
13:49
URL fixes in www/quotes.wiki; where a new URL can't be found, removed the quote as unsupportable. check-in: 4c5445d9a5 user: wyoung tags: trunk
12:04
Amend broken link to OpenBSD server doc from file name change: server/openbsd/httpd.md -> server/openbsd/fastcgi.md check-in: 0fd7302d95 user: jamsek tags: trunk
10:45
Merge Andy Goth's enhancements to the forum. Closed-Leaf check-in: 50cdb741db user: drh tags: sec2020-forum-refactor
03:25
Correct minor documentation typo (bytes -> bits) check-in: 96f1a9f50a user: andygoth tags: trunk
03:06
Guard against an infinite loop in certain pathological edit patterns Closed-Leaf check-in: 71fe590e99 user: andygoth tags: andygoth-forum-refactor
02:53
Link to the next edit rather than the final edit check-in: 91a3a600e6 user: andygoth tags: andygoth-forum-refactor
02:50
When showing the source of an edited post, show that exact version rather than the newest version check-in: df916a9d01 user: andygoth tags: andygoth-forum-refactor
02:38
Unify and regularize forum display code check-in: 6999639bbb user: andygoth tags: andygoth-forum-refactor
00:23
Update the custom MinGW makefile. check-in: 6eb1f43485 user: mistachkin tags: trunk
2020-08-21
23:40
Internally rename "entry" to "post" for more consistent terminology check-in: adefa86c5e user: andygoth tags: andygoth-forum-refactor
23:20
Rework forum post serial IDs to include a revision number when edited. This fixes buggy sids displayed in thread [https://fossil-scm.org/forum/forumpost/6737a387fe?t=c&threadtable]. check-in: dd47b8c311 user: andygoth tags: andygoth-forum-refactor
22:58
Extend translator to support two- and three-argument printf specifiers, e.g. "%.*s(len)(str)" or "%*.*d(width)(prec)(val)" check-in: df7b0c3186 user: andygoth tags: andygoth-forum-refactor
22:03
Remove mfirt check-in: a8d90b1f4f user: andygoth tags: andygoth-forum-refactor
21:52
Remove fprev check-in: d585c34707 user: andygoth tags: andygoth-forum-refactor
21:50
Restore inadvertently deleted column check-in: c76023e39e user: andygoth tags: andygoth-forum-refactor
21:45
Replace firt with pIrt check-in: ed56faad2a user: andygoth tags: andygoth-forum-refactor
21:17
Remove nReply which is present only in debug outputs, correct column alignment in debug output check-in: b932e49c7f user: andygoth tags: andygoth-forum-refactor
20:34
Remove indenting that was leaking into the HTML output check-in: bf98aa0069 user: andygoth tags: andygoth-forum-refactor
20:19
Add new fields to threadtable debug output check-in: c4d6d75716 user: andygoth tags: andygoth-forum-refactor
19:42
Actually use pEditHead check-in: 9e92401129 user: andygoth tags: andygoth-forum-refactor
19:41
Add pEditHead field to avoid repeatedly walking back to find the original post check-in: 7114bdc827 user: andygoth tags: andygoth-forum-refactor
19:34
Rename pEditLeaf to pEditTail check-in: 145a6ef281 user: andygoth tags: andygoth-forum-refactor
19:33
Rename pLeaf to pEditLeaf to be consistent with the other edit fields check-in: 763d22b78a user: andygoth tags: andygoth-forum-refactor
18:32
Additional checks to ensure that db_set() and db_set_int() do not modify a sensitive setting unless PROTECT_BASELINE is disabled. check-in: ccdb5a9bb8 user: drh tags: sec2020
15:57
Add pEditNext field to permit walking forward as well as backward through the edit chain check-in: a17f49557f user: andygoth tags: andygoth-forum-refactor
15:54
Begin refactoring forum code to support orthogonal history and plaintext options. First step: rename pEdit to pEditPrev to make room for a pEditNext field. check-in: 636f659689 user: andygoth tags: andygoth-forum-refactor
15:08
Add missing db_unprotect() calls to backoffice. check-in: c75dcc621b user: drh tags: sec2020
15:05
Improved documentation of the database write protection logic. Added undocumented SQL command db_protect() and db_protect_pop() to the "sql" command. Panic on a protection stack overflow. check-in: 75deba73b5 user: drh tags: sec2020
14:40
Add missing bold markup check-in: 273dd80e85 user: andygoth tags: trunk
13:04
Add triggers to prevent changes to sensitive settings when PROTECT_SENSITIVE is engaged. check-in: c9b9a77d59 user: drh tags: sec2020
11:26
Remove incorrect leaf ambiguity warning when doing a "fossil commit --dry-run". check-in: 1b52c41415 user: drh tags: sec2020
11:19
Fix the locate_unmanaged_files() routine so that it always see (and ignores) symbolic links. check-in: 0938b56516 user: drh tags: sec2020
10:29
More improvements to the allow-symlinks help text. check-in: f7f31147de user: drh tags: sec2020
10:23
Improved on-line help for the allow-symlinks setting. check-in: d3090e91b8 user: drh tags: sec2020
10:10
Improve comments on symlink logic check-in: 39a5df1fde user: drh tags: sec2020
01:09
Add a missing db_unprotect() to the "fossil all" command. check-in: b9ae03f6ee user: drh tags: sec2020
01:01
Merge the latest changes from trunk into sec2020. check-in: 1d61aae314 user: drh tags: sec2020
2020-08-20
23:45
Change width per stephan's request Closed-Leaf check-in: 53458bed91 user: andygoth tags: andygoth-ardoise-tweaks
22:40
Using parameters to namespace functions in fossil*.js instead of the global "fossil" object. Squishes a complaint by GCC and makes the code a smidge smaller besides. check-in: 0f03f78a8b user: wyoung tags: trunk
21:15
Same as [31af8053] but in src/copybtn.js, upon which code fossil.copybutton.js was apparently based. This other file may be going away soon, but until then, it avoids a warning. check-in: c0cb0b9d33 user: wyoung tags: trunk
20:40
Gave the line-number popup (and related popups) a z-level below that of the default skin's hamburger menu. check-in: bbef8ce398 user: stephan tags: trunk
20:25
Added a "window." reference to a global variable in fossil.dom.js to make explicit where the variable is coming from. All the surrounding code does this, and the fix quiets a complaint from GCC. check-in: 31af805348 user: wyoung tags: trunk
20:05
Allow /wikiedit's page-list-fetch operation to silently skip over mysteriously missing (shunned but not yet rebuilt?) wiki pages, to resolve an issue on the core fossil site where such a missing/invisible page named 'Security Desk Technician' is causing /wikiedit to fail to load. check-in: 37409e7dbe user: stephan tags: trunk
19:52
Removed a pair of bogus "delete" calls in fossil.popupwidget.js, flagged by Google Closure Compiler. You can't delete the result of a function call, only object properties. check-in: 0d7d54e870 user: wyoung tags: trunk
19:51
Minor change to auto.def requested by [https://bugs.debian.org/961772] check-in: e6de5ec750 user: drh tags: trunk
18:08
Show the artifact hash with a copy button on the header of /file pages. check-in: 00eb7a05b5 user: drh tags: trunk
16:25
Merge recent changes from trunk. check-in: c93cb2bae9 user: drh tags: sec2020
15:22
Update the change log and the latest-release link on the homepage. check-in: 5983f5b913 user: drh tags: trunk
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
05:13
Spelling and grammar fixes to javascript.md. check-in: 209f73cbc2 user: wyoung tags: trunk
04:18
Many improvements to the "Use of JavaScript in Fossil" document, www/javascript.md, inspired by the recent Ajaxifications and forum commentary on the topic. check-in: 977ba78fdd user: wyoung tags: trunk
04:17
Assorted minor improvements to the javascript.md doc. Closed-Leaf check-in: dc1bc21388 user: wyoung tags: js-policy-doc
02:14
Minuscule tweaks to javascript.md check-in: 5648dcfc3d user: stephan tags: js-policy-doc
00:37
Command fixes in the new material within javascript.md check-in: ba9480b02b user: wyoung tags: js-policy-doc
00:11
Editing pass on javascript.md. check-in: 202a661612 user: wyoung tags: js-policy-doc
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
23:52
Moved "Blocking JavaScript" section of javascript.md down into the Q&A section. check-in: 85c7bdb285 user: wyoung tags: js-policy-doc
23:45
Moved my rewrite of Stephan's "Compatibility Concerns" section of javascript.md down into the Q&A section. check-in: 026279496a user: wyoung tags: js-policy-doc
23:41
Moved "Fossil Does Not Snoop On You" section of javascript.md down into a Q&A point. check-in: b76427bb20 user: wyoung tags: js-policy-doc
23:38
Moved the "No Third-Party JavaScript in Fossil" section of javascript.md down into the Q&A "debate" section. Also reworked some of the following question's answer to the C vs JavaScript matter. check-in: 48ef633333 user: wyoung tags: js-policy-doc
23:30
Moved the old "How Many Users Run with JavaScript Disabled Anyway?" section of javascript.md down into the "debate" section as one of the Q&A points. check-in: bc5cf56965 user: wyoung tags: js-policy-doc
23:19
Merged the "Future Plans for JavaScript in Fossil" section of js-policy.md into javascript.md. This all but zeroes out the contents of the old doc, so I've removed it. Future changes go into javascript.md. check-in: 4ad0d9798e user: wyoung tags: js-policy-doc
23:07
Hoist the "Compatiblity Concerns" section of js-policy.md into javascript.md. Another near-total rewrite, maintaining the original's points. check-in: 7eef486cf4 user: wyoung tags: js-policy-doc
22:57
Merged Stephan's "in closing" statement after the argumentation section of js-policy.md into the "Philosophy & Policy" section of javascript.md. Another near-rewrite, while maintaining the overall points. check-in: 12acdcf3a5 user: wyoung tags: js-policy-doc
22:49
Added "Arguments Against JavaScript & Our Rebuttals" section to javascript.md, based on the similar section in this branch's new js-policy.md doc. It's nearly a rewrite, but all of the points remain. check-in: 1e3ee576b7 user: wyoung tags: js-policy-doc
21:24
Merged trunk changes in check-in: 32ef4cfa24 user: wyoung tags: js-policy-doc
21:19
Added a section to javascript.md on the new /fileedit feature. check-in: 100b4868dd user: wyoung tags: trunk
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
21:05
Updated the "Line Numbering" section of javascript.md to cover the new interactive line selection in Fossil 2.12. check-in: f84d7a0e42 user: wyoung tags: trunk
20:58
Updated the "Wiki Editor" section of javascript.md to cover the new `/wikiedit` implementation. check-in: 31c40509d4 user: wyoung tags: trunk
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
14:23
Harmonize artifact count and average between /stat and /artifact_stats. See [https://fossil-scm.org/forum/forumpost/37514b1f67]. check-in: 38fa17e479 user: andygoth tags: trunk
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
2020-08-11
20:00
Add the --db-verify option to the "fossil dbstat" command. This option simply runs "fossil test-integrity" after doing the other dbstat processing. It is a way to access the test-integrity functionality without using the (unsupported) "test-integrity" command. check-in: 95e91b13d2 user: drh tags: trunk
15:55
wikiedit: changing the page's mimetype now also marks the page as is-dirty, enabling a save. check-in: 98fa23f90b user: stephan tags: trunk
15:39
wikiedit: now uses fossil.confirmer pinSize option on confirmer buttons. Save button is no longer re-labeled during save to avoid layout reflow. Save button is now always enabled and attempting to save when there are no edits triggers an error message. check-in: f94a55385e user: stephan tags: trunk
15:29
fileedit confirmer buttons now use the new pinSize confirmer option. Minor style consistency tweak. fileedit no longer complains when discarding stashed edits when no file is loaded, and reloads the current file only if it was in the now-discarded local edits. check-in: 83a95dbff1 user: stephan tags: trunk
15:26
fossil.tabs API now injects a FIELDSET wrapper around all tabs so that we can disable all input elements on a tab by disabling the fieldset, the goal being to disable access to hotkeys which are mapped to elements which are in any tab other than the current one. check-in: 33610b04de user: stephan tags: trunk
15:23
Added fossil.confirmer pinSize option which tells it to try to pin the confirmation element's width to the maximum of its initial and awaiting-confirmation widths, to avoid layout reflow while awaiting confirmation. check-in: b12cae857c user: stephan tags: trunk
13:42
Added the safe-html setting to the CONFIGSET_SKIN, per discussion at [https://fossil-scm.org/forum/forumpost/23192a5642|/forumpost/23192a5642]. check-in: 333520ab54 user: stephan tags: trunk
11:41
Re-added the P tags removed in [9850dd3f22db], as they're needed for proper spacing. check-in: 689b7f6d5d user: stephan tags: trunk
11:13
Corrected help_to_html() to escape less-than signs so that script tags in help text do not break the page. Removed a semantically illegal P tag from the HTML-format help. check-in: 9850dd3f22 user: stephan tags: trunk
09:29
Doc tweaks only - no code changes. check-in: b5496da66f user: stephan tags: trunk
2020-08-10
20:04
Update the built-in SQLite to the second 3.33.0 beta, as part of beta testing. check-in: 9120ff5faa user: drh tags: trunk
17:38
Added a 'Save and Close' button to wikiedit. Cleaned up the styling and wrapping of the status/links menu bars in fileedit and wikiedit. Minor style tweaks to get input field borders to appear in the default skin on Chromium. check-in: 3814c9ff58 user: stephan tags: trunk
13:43
Merged inadvertent fork. check-in: 1eb21747ac user: stephan tags: trunk
12:12
Tweaks to the change log. check-in: f4c731afb7 user: drh tags: trunk
12:08
Improved handling of long posts in the forum. check-in: c265daea91 user: drh tags: trunk
11:53
/fileedit now embeds the current open leaf list and the file list for the current checkin (defaulting to the most recent leaf) in the page content, saving 2 XHR requests at startup. If passed filename= without checkin= then it tries to load the given file from the most recent leaf. check-in: 5fc0f7c33a user: stephan tags: trunk
05:38
Amend OpenBSD httpd Fossil server instructions to use the mount_mfs -P option to automatically populate the chroot /dev tree as suggested by anon on the forum. check-in: 4b240ec31e user: jamsek tags: trunk
2020-08-09
21:45
Merge in trunk; resolve conflicts Closed-Leaf check-in: 7cfbf66a02 user: ashepilko tags: cmake-ide
15:18
Corrected the new CSS selectors to account for plain-text posts, which use a PRE instead of DIV wrapper. Shrunk the gap between the expansion tap zone and the scrollbar to its left. Closed-Leaf check-in: eef9ac05e4 user: stephan tags: forum-expand-post-revisited
14:54
Re-added an important forumPostBody.overflow CSS attribute which was accidentally removed in the last edit. check-in: 939b64738d user: stephan tags: forum-expand-post-revisited
14:43
Improved(?) the way forum post expansion is handled, based on forum feedback. Added a narrow "tap zone" to the right of the post scrollbars to expand/collapse. When a post is collapsed the first time, it is shrunken much smaller than its original size. When collapsing a post, we now scroll its parent element (post header), rather than the next post, into view. check-in: ebbd20c638 user: stephan tags: forum-expand-post-revisited
13:49
Revise and simplify the list of 1st-tier commands that are shown by the "fossil help" command. check-in: 84f697e570 user: drh tags: trunk
08:28
Edit whitespace in previous commit to make format consistent with existing code blocks. check-in: d2ad5f2fe7 user: jamsek tags: trunk
08:11
Add missed instructions to edit rc.local with commands to automate device node creation at startup as identified by ams on the forum. check-in: a2585ea9ad user: jamsek tags: trunk
00:04
More refinements to built-in help pages for commands. check-in: a31a717e17 user: drh tags: trunk
2020-08-08
23:55
Fix the /help webpage to accept prefixes on the cmd= query parameter. check-in: f2f419ea9b user: drh tags: trunk
23:51
Many updates to built-in help pages. No changes to code. check-in: c965636958 user: drh tags: trunk