Fossil

File History
Login

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

History of src/url.c

2018-07-17
16:24
In the webmail interface, provide the option to show the SMTP transcript when that transcript is available. file: [d12b5af2] check-in: [bb8b6037] user: drh branch: trunk, size: 18514
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: [61b10099] check-in: [e7767de2] user: drh branch: symlink-refactor, size: 18498
2017-05-12
14:11
In the hyperlink on the "Last Sync URL", omit the username to prevent warnings from Firefox. file: [b5d45bf6] check-in: [172c2235] user: drh branch: trunk, size: 18471
2015-05-12
04:42
Fix compiler warnings with MSVC. file: [be48911f] check-in: [8ab3f620] user: mistachkin branch: trunk, size: 18310
2015-02-09
10:13
Omit unused c= parameters from hyperlinks in the /timeline. file: [47dc39f0] check-in: [65b729ac] user: drh branch: trunk, size: 18215
2015-02-06
03:00
Add the cgi_query_parameters_to_url() routine and use it to cause all query parameters on timeline to be exported. (Need to make this same changes for all other uses of url_render()). Make "context" timelines 11 entries by default. Other cleanups. file: [6f911584] check-in: [b6e1f61a] user: drh branch: form-submenu, size: 17990
2015-02-05
19:19
Put an "Older" button at the bottom of /timeline pages that can be extended downward. That button is already at the top of the page, but it is convenient not to have to scroll back to the top to press it. file: [b44d39c1] check-in: [9e2e48a4] user: drh branch: form-submenu, size: 17594
2015-02-02
22:01
proxy setting test adj for new [32f8da0ce785b63] "fossil setting" logic per ticket [5e35dd60cf7410af64d41] file: [4d2fd67c] check-in: [f201cb61] user: bch branch: fsl_setting_proxy, size: 17442
2015-01-26
18:23
Fix the URL parser so that it is able to handle IPv6 addresses. Cherrypick (with updates) from the ipv6 branch circa 2012-07-07. file: [ea849e01] check-in: [2075361e] user: drh branch: trunk, size: 17442
2015-01-24
21:46
Add the --ipv4 option to force the use of IPv4 on "fossil clone" and "fossil sync" and so forth. file: [ce85fb4c] check-in: [317bd3cb] user: drh branch: trunk, size: 17142
2014-09-08
18:46
Another warning fix. file: [b7743600] check-in: [865b8e96] user: mistachkin branch: warningFixes, size: 17097
2014-06-06
07:10
Make "fossil version -v" report the right openssl version, even when it was linked dynamically with openssl and the openssl version was later upgraded. Remove some dead code and comments which are not true any more. file: [67ceb425] check-in: [48f1239e] user: jan.nijtmans branch: trunk, size: 17065
2014-03-31
16:48
Get rid of the GLOBAL_URL() kludge. Change the global "g" variable to contain an instance of the UrlData object instead of individual fields of the UrlData object. file: [9271e716] check-in: [5fdad9bd] user: drh branch: trunk, size: 17208
2014-01-29
09:22
merge trunk file: [2ec980a6] check-in: [1f1848dd] user: jan.nijtmans branch: jan-httpsproxytunnel, size: 17131
06:45
Make HTTP authorization a command line option. Choice will be stored in database until another URL change happens. This could potentially break those who currently rely on the special # character in the password. file: [c7983d22] check-in: [e747041a] user: andybradford branch: http-auth, size: 16872
2013-12-13
11:31
Merge trunk. Fix uninitialized variable. Less copying of complete structure content. file: [f8bfd2a5] check-in: [85528ef5] user: jan.nijtmans branch: tkt-change-hook, size: 16695
2013-11-12
19:26
Fix macro redefinition compiler warnings. file: [c4e1a765] check-in: [629d4975] user: mistachkin branch: trunk, size: 14021
15:27
merge trunk file: [33642da4] check-in: [1bd561c3] user: jan.nijtmans branch: jan-httpsproxytunnel, size: 14245
15:10
Fix password handling as in trunk. file: [2a1a8c95] check-in: [384a6b3d] user: jan.nijtmans branch: tkt-change-hook, size: 16884
12:39
merge trunk file: [27a32150] check-in: [3d63f560] user: jan.nijtmans branch: tkt-change-hook, size: 16838
2013-11-10
06:01
On Win32 isatty/fileno have been deprecated in favor of _isatty/_fileno. file: [c69d290e] check-in: [594bbaea] user: andybradford branch: url-password-fixes, size: 13976
2013-11-08
07:50
Remove side effect produced when calling with no flags. This permits removal of work around in sync.c. file: [1f7da93e] check-in: [912ca195] user: andybradford branch: url-password-fixes, size: 13863
06:01
Clean up handling of passwords for SSH. Further separate prompting for password from saving of password. file: [cfdfacd7] check-in: [ad34c07c] user: andybradford branch: url-password-fixes, size: 13848
2013-11-05
02:08
Make it so password prompts during commit are also honored. file: [3ceeb3c6] check-in: [1854e090] user: andybradford branch: url-password-fixes, size: 14172
2013-11-02
06:19
Only prompt to save the password if there is a tty. file: [b322c409] check-in: [34b2f067] user: andybradford branch: url-password-fixes, size: 14049
06:17
It appears that calls to url_parse(0,x) are used to establish who the user is using user_select(). In this case we should not overwrite a password that has been provided prior to calling user_select() with one from the database. file: [aacc5b4b] check-in: [a01c714c] user: andybradford branch: url-password-fixes, size: 14024
2013-11-01
08:11
Avoid clobbering the last-sync-pw when doing sync --once. file: [e9e4b64d] check-in: [8bdc3ccd] user: andybradford branch: url-password-fixes, size: 13990
05:14
Prompt to remember password when password is embedded in URL. Also improve password failure prompting during clone/sync operations. file: [4dc1c1bb] check-in: [1ccbb651] user: andybradford branch: url-password-fixes, size: 13959
2013-10-21
17:00
Merge from trunk. file: [20deef19] check-in: [f3037e17] user: jan branch: jan-httpsproxytunnel, size: 14038
2013-10-14
07:08
Phase 3, the TH1 http command now uses non-global URL data. This also required heavy refactoring of some other callers that use the global URL data. file: [dbe64079] check-in: [8ce9c1af] user: mistachkin branch: tkt-change-hook, size: 16681
2013-10-07
13:27
Support for tunneling https through http proxy. file: [d9542cc3] check-in: [c039efde] user: jan branch: jan-httpsproxytunnel, size: 14554
2013-09-07
21:50
Move the SSH shared account code back to the branch to keep the development of this new feature separate. file: [b7f58ee1] check-in: [56169d07] user: andybradford branch: ssh-shared-account, size: 14217
21:21
Separate SSH transport changes from shared account features to simplify integration. file: [fa6e58d9] check-in: [915c79cb] user: andybradford branch: ssh-transport-changes, size: 13769
2013-08-12
06:43
Simplify command line interaction: remove settings from global and provide one less command line option. Altering settings in open fossils can be done with sync -l or cleared with remote-url if necessary. file: [921cc363] check-in: [ed20da74] user: andybradford branch: ssh-test-http, size: 13447
2013-08-10
23:02
Clean up handling of global variable to avoid accidental setting of database. Only alter database options if URL is SSH. file: [e451d3bf] check-in: [0c194243] user: andybradford branch: ssh-test-http, size: 13347
21:31
Make it possible to override global setting from command line. Improve sync output when test-http is in use. file: [486450dc] check-in: [3c479fb9] user: andybradford branch: ssh-test-http, size: 13491
2013-08-09
07:49
Fix logic so ignoring login requirement only affects ssh:// URLs. file: [bbb41c05] check-in: [9284bfb1] user: andybradford branch: ssh-test-http, size: 13383
07:29
Reimplement the default test-http behavior while retaining the ability to use http to take advantage of Fossil capabilities with SSH URLs. file: [638ac83c] check-in: [7c9347f9] user: andybradford branch: ssh-test-http, size: 13383
2013-07-26
06:40
Only setup Fossil user if URL is SSH. This is done to avoid problems when cloning a fossil that has SSH settings using into a file:// URL. file: [7ced704c] check-in: [1ebba56f] user: amb branch: ssh-shared-account, size: 13186
2013-07-25
01:41
There may be a command-line option that was set, so don't ignore it. file: [005afdd6] check-in: [90ee2ee5] user: amb branch: ssh-shared-account, size: 13209
2013-07-24
06:25
Much needed cleanup of command-line option handling. Improve sync handling of SSH user. Bring in change for less verbose SSH output. file: [aae9199c] check-in: [955b39ee] user: amb branch: ssh-shared-account, size: 13189
2013-07-20
08:40
Alternative approach to allow multiple SSH users to share the same SSH account while maintaining separate Fossil identities. file: [efb856ad] check-in: [e3510cef] user: amb branch: ssh-shared-account, size: 13065
2013-07-17
14:23
Handle missing port more gracefully. Allows for SCP style URL. file: [a78f3482] check-in: [f15adbba] user: amb branch: ssh-transport-changes, size: 13272
2013-07-16
05:47
Remove old SSH transport code and spawn remote fossil http as remote SSH command instead. Also make it possible to configure SSH command prior to cloning. Change remote fossil command to be configurable (really this should probably be simply a matter of fixing PATH on remote end). file: [dab2e523] check-in: [c38ff36d] user: amb branch: ssh-transport-changes, size: 13259
2013-07-10
21:33
another patch version for ssh improvement from Andy Bradford. file: [d0c55a7d] check-in: [a8c37c2c] user: mgagnon branch: andy_bradford_ssh_imporvement_patch_2, size: 14287
2013-06-10
13:32
Merge all the latest trunk changes into the ipv6 branch. file: [6fa56282] check-in: [d5f6e08c] user: drh branch: ipv6, size: 14560
2013-05-05
12:56
Replaced /activity with /stats_report. Supported by-month and by-year reports. Use user=NAME to limit report to that user (no UI yet for user selection). file: [3cfb9836] check-in: [0de65826] user: stephan branch: trunk, size: 14285
2013-03-15
14:35
ssh:// and file:// protocols now ignore proxy. (From Martin Gagnon.) file: [baacb800] check-in: [0d55a0ad] user: stephan branch: trunk, size: 14127
2013-03-03
00:26
Do not prompt for passwords on ssh: or file: syncs. file: [468354ae] check-in: [c06e474f] user: drh branch: trunk, size: 14090
2013-02-21
14:54
Do not prompt for the sync password more than once. file: [e4a5ff5a] check-in: [1cd61c96] user: drh branch: trunk, size: 14048
14:24
Code refactoring: Move utility routines (ex: fossil_malloc()) out of main.c and into a new file util.c. Try to gather I/O routines into the printf.c source file. file: [de85eb64] check-in: [bb0cedb1] user: drh branch: trunk, size: 13908
03:51
Improved handling for remote repository passwords: When prompting for the password, also ask the user whether or not to remember the password, as browsers typically do for their password cache. file: [de189987] check-in: [6d6740dc] user: drh branch: trunk, size: 13872
2013-02-07
00:24
Add the shell= query parameter to the ssh: scheme for cloning and syncing. file: [5273bda7] check-in: [2163cd96] user: drh branch: trunk, size: 11681
2012-11-08
13:44
Always HTML-encode the href attribute of <a> elements. This check-in simplifies and fixes double-frees in the previous. Ticket [5ff2043c9668] file: [c8a72214] check-in: [35bfedef] user: drh branch: ticket-5ff2043c96, size: 11396
2012-08-31
20:46
Revert change [208d67675c]. The policy is to keep the Fossil source code ASCII even if Fossil itself is able to handle non-ASCII source files. Furthermore, the [208d67675c] change broken things. Also backout change [34fcb9634e] since it complicates the C code with unnecessary backslash characters in order to changes single-quotes to double-quotes in the generated HTML and Javascript, which is pointless. file: [31cda8fc] check-in: [c19f34cb] user: drh branch: trunk, size: 11400
19:57
Avoid prompting for the password for SSH syncs, since the password is never used. Omit debugging output on SSH syncs. file: [eb2624cb] check-in: [d1eb341f] user: drh branch: trunk, size: 11399
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [65a050e8] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 11379
2012-07-07
13:32
Fix the URL parser so that it is able to handle IPv6 addresses. Fixes to the IPv6 client-side code. file: [916828ea] check-in: [beea5987] user: drh branch: ipv6, size: 11655
2012-03-29
14:54
Add vim modline everywhere file: [06fd3c2d] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 11422
2012-03-19
05:24
Modify file_simplify_name to accept a parameter used to determine if the trailing slash, if any, should be retained. Make use of this when converting the local root to its canonical form. file: [1b7364c2] check-in: [e94c7cc4] user: mistachkin branch: winFiles, size: 11380
2012-02-16
01:03
Always convert the result of getenv() into UTF8. file: [a408a061] check-in: [57152086] user: drh branch: trunk, size: 11377
2011-05-27
12:03
Do not use strcmp() for comparison since the sort order can vary by locale. Use fossil_strcmp() instead. Ticket [3f0216560679fd41]. file: [0e256b8e] check-in: [32ad9a15] user: drh branch: trunk, size: 11370
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. file: [b946650c] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 11356
2011-03-31
11:41
Change the "filechng" query parameter for timeline to "fc". Add "Show Files" and "Hide Files" submenus. file: [55c48215] check-in: [0208b7fc] user: drh branch: trunk, size: 11266
2011-03-03
01:10
When doing a clone with a username, ask for the password early. Do not wait for the first round-trip since that round-trip might take a long time on a slow connection. file: [8e08b09e] check-in: [cc31b463] user: drh branch: trunk, size: 11170
2011-01-28
14:09
Add hyperlinks to the "user:" and "tags:" marks in timelines. file: [64b90f7d] check-in: [13165785] user: drh branch: trunk, size: 10884
2010-12-23
02:22
Add new function fossil_strcmp() that works like strcmp() except that it handles NULL arguments correctly. Use fossil_strcmp() in place of strcmp() in many places in the code. file: [28548c07] check-in: [31c52c7b] user: drh branch: trunk, size: 10837
2010-12-16
14:46
Use relative URLs for hyperlinks whereever possible, so that Fossil can work better behind a reverse proxy. file: [c849e06b] check-in: [daeb10f6] user: drh branch: trunk, size: 10830
2010-10-14
19:14
Remove all use of ctypes.h in order to avoid compiler warnings and other problems associated with changing locales. file: [f7af8785] check-in: [2fac8091] user: drh branch: trunk, size: 10834
2010-09-10
20:19
fixed many HTML-validator errors and moved more formats to CSS - tested on firefox and IE file: [c9390a9b] check-in: [d1305d0a] user: wolfgang branch: wolfgangFormat2CSS, size: 10820
2010-09-09
09:59
Allow ~ and % characters in the URL. Ticket [74ccf51c7d24414b1]. file: [d1c328a8] check-in: [a203674a] user: drh branch: trunk, size: 10816
2010-09-03
01:57
Yet another fix to the URL parser. Ticket [21447822de6be06]. file: [fb82651e] check-in: [7aae4ef0] user: drh branch: trunk, size: 10810
2010-09-02
10:28
Fix a bug fix in the URL parser that was introduced by the recent ssh:// change. The bug prevented port numbers after the hostname from parsing correctly. file: [3742a333] check-in: [ac8c21b9] user: drh branch: trunk, size: 10711
2010-08-27
20:40
The ssh:// method on windows is now working well with plink. It will even prompt for passwords if the URL contains a "*" password. file: [23668711] check-in: [0cdb6403] user: drh branch: trunk, size: 10701
2010-08-26
11:27
Fix buffering issues with ssh://. The ssh:// sync method now works with older, unmodified servers. Added the "?fossil=exe" option to URL processing. file: [b38ffb4a] check-in: [af977263] user: drh branch: experimental, size: 11412
02:32
A rework of the SSH sync method that does not use TCP port forwarding. It works in some cases but not other. The failure is probably do to I/O buffering issues. Need further work. file: [3ca79f98] check-in: [192ceef3] user: drh branch: experimental, size: 10540
2010-08-25
14:03
Initial code to implement synchronization via ssh. file: [d2d97ce3] check-in: [b19f25fe] user: drh branch: experimental, size: 10771
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [79b44a45] check-in: [c06edd23] user: drh branch: clear-title, size: 9306
2010-03-05
00:08
Disable prompts for a password if fossil is not running on an interactive terminal. file: [ec953a0a] check-in: [554d4caa] user: drh branch: trunk, size: 9582
2010-01-21
20:28
Cleanup the last-sync-url password handling. Automatically prompt for a new password if a sync login card fails. file: [af4a40a0] check-in: [05380c5f] user: drh branch: experimental, size: 9431
19:51
Better reporting of failed logins by the server back to the client. file: [b1101553] check-in: [b030521c] user: drh branch: experimental, size: 9120
18:13
Factor the sync password out of the last-sync-url configuration setting. Store the password separately. Prompt the user for the password if it is missing. file: [6df21323] check-in: [59002d5e] user: drh branch: experimental, size: 9116
2009-09-21
16:14
Improved handling of spaces in usernames and passwords. file: [118ae748] check-in: [7100babd] user: drh branch: trunk, size: 9010
2009-09-12
21:53
Update the proxy handler so that it supports basic authorization. file: [c5cf8d9b] check-in: [9e274a2e] user: drh branch: trunk, size: 8950
2009-08-01
12:59
Always store g.urlCanonical as the last-sync-url value. Fix for ticket [045f23be750d93c0bd91f179f39c5c829ed01bc6]. file: [17c0d4bc] check-in: [47d8fc49] user: drh branch: trunk, size: 7803
2009-04-11
12:51
Add support for "file:" URLs on push, pull, and sync. file: [6c8a641b] check-in: [945ecd1a] user: drh branch: trunk, size: 7613
2009-01-13
18:43
Add code to understand the "https://" prefix on server URLs. Any attempt to use https gives an error at this point, however. This is a work in progress. file: [c65f870f] check-in: [797d680e] user: drh branch: trunk, size: 7565
2008-11-02
18:22
Add submenu entries on timeline pages for selecting options such as "tickets only" and "200 entries per page" and so forth. file: [8b851150] check-in: [c9cd128c] user: drh branch: trunk, size: 6891
2008-10-25
17:19
Update conditions when to look for proxy URL in environment. file: [ab868aa8] check-in: [d65d619d] user: altufaltu branch: trunk, size: 5035
14:29
Fix an issue that sets proxy = getenv(http_proxy) even when global proxy option is disabled file: [e9070b5f] check-in: [d8bf3113] user: altufaltu branch: trunk, size: 5033
2008-05-10
18:19
Add the -nosync option to the "open" command. We might consider making -nosync the default for "open". file: [228859a2] check-in: [ec82a32b] user: drh branch: trunk, size: 5032
17:09
Add the --nosync option to temporarily disable autosync. Useful when off network. file: [1e3ccdf6] check-in: [9ba6e428] user: drh branch: trunk, size: 5029
2008-05-06
12:24
Add the --proxy command-line option that can be used to enable or disable an http proxy on a case by case basis. file: [32de843e] check-in: [f6525990] user: drh branch: trunk, size: 4983
2008-05-05
19:08
Fix the HOST: header to use the original URL, not the proxy URL. file: [8c4adf49] check-in: [1dbf3323] user: drh branch: trunk, size: 4657
17:30
Honor the http_proxy environment variable as another source for the URL of the HTTP proxy if the "proxy" setting is undefined or is "off". file: [51a49c89] check-in: [387cbeda] user: drh branch: trunk, size: 4294
2008-05-01
22:49
Enable proxy support using the "fossil setting proxy" command. This check-in is made using a proxy. file: [7c8f0faf] check-in: [676fdd08] user: drh branch: trunk, size: 4203
2007-07-30
14:28
Use POST instead of GET for the /xfer method. Other bug fixes in the URL parser. file: [6f5bc894] check-in: [e621b6db] user: drh branch: trunk, size: 3811
2007-07-28
07:09
When accessing a remote repository, if there is a username/password specified as part of the URI, use these to login. file: [1a6d7505] check-in: [3dcaed8d] user: dan branch: trunk, size: 4716
2007-07-21
14:10
Initial check-in of m1 sources. file: [f3bcafe7] check-in: [dbda8d6c] user: drh branch: trunk, size: 2789 Added