Timeline
Not logged in

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

63 check-ins using file src/file.c version cfc89f2cd5

2019-08-01
14:17
Add the FOSSIL_URI environment variable to the CGI extension mechanism. check-in: 7b2b9d6995 user: drh tags: trunk
2019-07-31
12:21
Fixed fossil_strcmp() usage in cgi_init() when in JSON mode. Through some extremely serendipitous fluke, its broken usage just happened to work until a bit was removed from that function in [ec56c69f] which, purely coincidentally, caused the bug (mine, from 2011!) to start triggering when x-www-form-urlencoded forms were submitted (login/logout). B... check-in: 115a70b2df user: stephan tags: trunk
08:09
Merged in autosetupAndJimTcl branch (autosetup updates). check-in: 51d006f851 user: stephan tags: trunk
2019-07-30
18:55
Fix the "fossil server" command on windows so that it honors the --https option. check-in: 8ed91bbe44 user: drh tags: trunk
10:28
Restore the full CGI extension documentation that was somehow truncated by an earlier commit. check-in: 4130a22cee user: drh tags: trunk
01:17
Merge in updates from trunk. check-in: 7e7258b3ed user: andybradford tags: test-updates
2019-07-29
20:02
Improved documentation of the repolist-skin setting. check-in: 02bdcf5e9f user: drh tags: trunk
18:17
When doing a repository list, use the first repository that has a non-zero value for the "repolist-skin" setting as the skin for the list. If the "repolist-skin" setting is 2 and if the repository list is coming from a directory scan, the omit that repository from the list. All repositories are always shown, regardless of the "repolist-skin" sett... check-in: 8f5399bc7b user: drh tags: trunk
18:14
Fix the repolist-skin setting so that it sets up URL on the header menu correctly. Back out the stylesheet hack is that is now covered by the same fix. Closed-Leaf check-in: 6df7a853ec user: drh tags: repolist-skin
17:25
Merge fixes from trunk. check-in: 8a0753de2d user: drh tags: repolist-skin
15:12
Enhancements to the copy/paste SVG icon and to the global options help page. check-in: 93b0afc889 user: drh tags: trunk
14:19
Fix the build for -DFOSSIL_ENABLE_TH1_DOCS. The build was broken by check-in [ed2def5ffb96d74c] and on trunk by [ec56c69fe98d26d9]. check-in: 8abeb62737 user: drh tags: trunk
14:06
When to a repolist, if any of the repositories have a non-zero repolist-skin setting, use that repository as the skin for the listing. If the repolist-skin setting is 2, then omit that repository from the list for directory-scan lists, but always show all repos for a "fossil all ui" list. This *almost* works, but still has some small issues. Thi... check-in: 958e0bdc4a user: drh tags: repolist-skin
08:28
Move each command-line option to their own paragraph, for consistency with the document structure in "Environment Variables and Global Options", as this seems easier to browse and search. The explicit line-break between the two options was wiped with automatic cleanup of trailing spaces by [e2751b18af]. Closed-Leaf check-in: 14f2ba0436 user: florian tags: svg-and-md-formatting
08:14
Trim spaces from the CSS background image SVG data URI for the copy icon, to make it look more compact -- this may not necessarily reduce the overall size of the final gzipped CSS resource delivered by the Fossil web server. The uncompressed source code for the icon is on the branch/tooltip-copyhash wiki page, with a comment why the variant with ... check-in: 0be9a2dbb7 user: florian tags: svg-and-md-formatting
00:12
Enhancements to the CGI extension documentation. check-in: f80f753050 user: drh tags: trunk
2019-07-27
17:11
Enhancements to the CGI extension documentation. Update the 2.10 change log to mention this enhancement and other changes. check-in: dfa5d50971 user: drh tags: trunk
15:30
Update the CGI extension documentation. Improved filename security in the CGI extension subsystem. check-in: 12c8cc709d user: drh tags: trunk
2019-07-26
20:54
Do not allow /ext to return files whose names begin with "." or "-" even if those files occur in the top-level extroot directory. check-in: e91de28b69 user: drh tags: trunk
18:15
Preliminary documentation for the /ext mechanism. check-in: 893fca3a15 user: drh tags: trunk
13:35
Fix the fullcap() SQL function so that it correctly expands the capabilities of Admin and Setup users to include everything. check-in: 384fdb6b4f user: drh tags: trunk
06:14
Removed an old (#if 0)'d-out block - the permissions check it was blocking out is performed further down in the function. check-in: 7bd4bca2f4 user: stephan tags: trunk
2019-07-25
23:56
Neither Setup nor Admin users get Write-Unversioned permission by default. And only Setup users are able to include Write-Unversioned permission when editing a user. check-in: 9ca4eb2bda user: drh tags: trunk
21:11
Add the /ext page that will run CGI or deliver static content from a document hierarchy specified by the --extroot command-line option on "fossil server" or the extroot: option in the CGI file. check-in: ec56c69fe9 user: drh tags: trunk
21:09
Remove an unused variable. Closed-Leaf check-in: c2a98a5d62 user: drh tags: extension-cgi
20:53
Ensure that the cgi_decode_post_parameters() routine does not delete the raw content used by the /xfer page. check-in: af3a8dbe09 user: drh tags: extension-cgi
20:20
Enable the extroot: setting in CGI. check-in: c116a9996b user: drh tags: extension-cgi
19:53
Do not provide failure diagnostics on the /ext page unless the user has Debug privilege. check-in: 08b9b61972 user: drh tags: extension-cgi
18:34
Defer decoding POST parameters until after the webpage name is located. Do not do the decode if the webpage has the new "raw-content" property. Set that property on /ext so that is can relay the encoded content to sub-cgi. check-in: e4849f58e4 user: drh tags: extension-cgi
18:08
Add the ability for Debug users to trace sub-CGI responses by adding the fossil-ext-debug query parameter. check-in: cc21a4389e user: drh tags: extension-cgi
17:40
Disable HTTP_ACCEPT_ENCODING for the extension CGI. But leave that setting unchanged for Fossil as it might be needed for the relay back to the client. check-in: 54aeb1a8ce user: drh tags: extension-cgi
17:07
Add the ability to extend a Fossil server using CGI. This is a refactor of the prior sub-cgi branch. check-in: ed2def5ffb user: drh tags: extension-cgi
2019-07-24
10:54
Continuing work on the /aux page. Now working for static content. Closed-Leaf check-in: 77a72fb964 user: drh tags: sub-cgi
2019-07-23
23:25
Initial but incomplete work on an experimental /aux page that runs secondary CGI that has access to the Fossil user login credentials and similar information. This is an incremental check-in of work-in-progress. check-in: 72f8e77612 user: drh tags: sub-cgi
19:17
Make sure an HTTP request always has at least a single "/" in the pathname. check-in: 35d609a0ba user: drh tags: trunk
18:20
Fix over-length lines in the logic.c source file. No logical changes. check-in: cd11f92186 user: drh tags: trunk
18:14
Fix a typo in an internal function name. "logic" should be "login". check-in: c921545bff user: drh tags: trunk
16:16
Do not follow a redirect from HTTPS to HTTP. check-in: c19f782e54 user: drh tags: trunk
16:10
Add the test-httpmsg command. check-in: 1ad56ceeaf user: drh tags: trunk
13:16
Use HTTP/1.1 for the sync protocol, not HTTP/1.0. check-in: c51b61ff1b user: drh tags: trunk
04:23
Use new functionality in "fossil whatis" to correct wiki test cases since /info hrefs are no longer included in the wiki pages. check-in: ef40a0be40 user: andybradford tags: test-updates
03:49
Enable "fossil whatis" to actually find a wiki page when given --type w. check-in: 7627d4a73e user: andybradford tags: test-updates
2019-07-22
19:06
Bail out of the alert_send() routine if the notification system is misconfigured with a blank email-self value. check-in: 4c73b4afb9 user: drh tags: trunk
16:12
In the alert sending logic, if no "email-self" is specified, then substitute the bogus email address "nobody@invalid". check-in: 488af3639e user: drh tags: trunk
2019-07-19
16:34
Update the server.wiki document to try to make it clear that Fossil works fine as a peer-to-peer system and does not require the use of a server. check-in: dc0a342d76 user: drh tags: trunk
16:33
Tightened up the opening paragraph of "Linux vs SQLite" section of fossil-v-git. check-in: 0297ae7fae user: wyoung tags: trunk
16:25
Moved numbered digressions in fossil-v-git down to the end of the document as a new "Asides and Digressions" section. These are things we don't want cluttering the main argument, not merely big parentheticals. check-in: 845262742e user: wyoung tags: trunk
16:14
Expanded the "Sync over push" section of fossil-v-git beyond the technology to cover the "why" behind the decision. Moved the Jim McCarthy quote up to be with it. check-in: 69e64183f1 user: wyoung tags: trunk
16:01
Rewrote "No rebasing" section in fossil-v-git for clarity check-in: 970e9173d4 user: wyoung tags: trunk
15:59
Rewrote the "Trust over hierarchy" point in fossil-v-git for clarity. check-in: d178c782d3 user: wyoung tags: trunk
15:53
Removed a repeated word in fossil-v-git check-in: b798e89a7e user: wyoung tags: trunk
15:52
Recast the "Anonymous contribution discouraged" point in fossil-v-git as "No easy drive-by contributions". check-in: 73381119d8 user: wyoung tags: trunk
15:39
Moved the comment about patch files in fossil-v-git down to a footnote and expanded on the point. It isn't a Git vs Fossil difference, but we need to explain why "just use a patch file" isn't a good answer to the common "allow easy drive-by contributions" wish. check-in: 4dcbd09fea user: wyoung tags: trunk
04:47
Correct minor syntax error that was likely never hit. check-in: d85b2edbb6 user: andybradford tags: test-updates
03:55
If the setting is long enough to fill in the format specifier---like the email-send-relayhost setting---there will be no whitespace after it unless it has a value set, so make the regex handle this particular state better. check-in: a8656f580f user: andybradford tags: test-updates
03:52
Update list of known settings which had diverged due to newly added features. check-in: 72e71e904d user: andybradford tags: test-updates
2019-07-18
22:45
Improved documentation of the --https option on "fossil server". check-in: 3c602dd7f3 user: drh tags: trunk
17:45
In the hierarchical forum display, make sure that the edited post number is displayed, not the original post number. check-in: 776ce9e645 user: drh tags: trunk
2019-07-17
22:26
Give sequential numbers to all display posts in the forum, and reference other forum posts in a thread by the sequence number. check-in: 5a7267d9e7 user: drh tags: trunk
21:23
In the hierarchical display of the forum, go back to strict hierarchical indentation. But, reduce the width of indentation for deeply nested discussions. check-in: 0cec52e08e user: drh tags: trunk
14:52
Added info about fossil undo, fossil amend, and shunning to the fossil-v-git doc, with comparison to the Git way of changing history. check-in: e878d54dcc user: wyoung tags: trunk
02:37
Reworked several sections of the fossil-v-git.wiki doc as sub-sections of "Linux vs. SQLite", which now acts as a frame for those sections. Some of these sections are expanded while others disappear entirely, most especially the "BSD vs GPL" argument that we started off on the now-merged branch to try and refine. We replace a discussion of licensi... check-in: 69ec89b591 user: wyoung tags: trunk
2019-07-16
20:02
Code cleanup: Add a lot of "const" qualifiers for static (string) arrays, where appropriate. This allows the C compiler to optimize more check-in: 70a94d0972 user: jan.nijtmans tags: trunk