Fossil

File History
Login

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

History of src/user.c

2018-01-12
14:30
Do not show the numeric user ids on the /setup_ulist page. The login name is sufficient. On the /setup_uedit page, provide a link to an access log for that particular user. file: [9374dffc] check-in: [e85eff26] user: drh branch: trunk, size: 20644
2017-12-06
10:01
Perform table sorting using a separate javascript file rather than using in-line javascript. file: [3303fcd3] check-in: [6b645d63] user: drh branch: trunk, size: 20505
2017-05-02
19:13
Enhancements to the password prompt logic for Windows so that it works better in non-standard shells. file: [c595beaa] check-in: [513dd003] user: drh branch: trunk, size: 20485
2016-11-04
21:32
Remove unused, undocumented zTitle argument to style_submenu_element(). This argument appears to have been unused all the way back to [dbda8d6ce9]. file: [1d31844a] check-in: [187424e8] user: andygoth branch: trunk, size: 19652
2016-10-23
02:07
Minor security enhancements to the optional SEE integration. file: [f7cc4bdf] check-in: [69352027] user: mistachkin branch: experimental, size: 19725
2016-10-22
08:26
Add the 'test-prompt-user' command. file: [b3a18340] check-in: [8817b0ed] user: mistachkin branch: trunk, size: 19301
2016-10-04
19:17
Coding style tweaks. file: [c3c67650] check-in: [34d988c2] user: mistachkin branch: seeEnhanced, size: 19376
2016-09-23
02:28
Merge updates from trunk. file: [7151e917] check-in: [4f619c02] user: mistachkin branch: seeEnhanced, size: 19352
2016-08-02
08:46
Compiler warning fixes. This includes disabling the undocumented FOSSIL_PWREADER feature and upgrading the built-in SQLite. file: [e2c08deb] check-in: [f35b46d4] user: drh branch: trunk, size: 18952
2016-06-24
03:36
If the FOSSIL_SECURITY_LEVEL environment variable is 2 or more, then present a simple substitution matrix when entering passwords, as a defense against key loggers. For FOSSIL_SECURITY_LEVEL of 1 or more, do not remember the remote-url password. file: [ce247e9a] check-in: [e1034c4c] user: drh branch: trunk, size: 18932
2016-06-23
07:43
Replace some usage of <center> tags with align="center" attributes. file: [63b607b5] check-in: [fcfaae37] user: jan.nijtmans branch: trunk, size: 17132
2016-06-22
09:11
merge trunk file: [bdd2d146] check-in: [414fc1e9] user: jan.nijtmans branch: html-cleanup, size: 17102
2016-06-17
09:45
More consistancy in using <br /> and <hr /> HTML tags file: [30dfae07] check-in: [63220d94] user: jan.nijtmans branch: trunk, size: 17124
2016-06-07
15:27
If the FOSSIL_PWREADER environment variable is set to the name of a program, then use that program to prompt and read passwords and passphrases from the user when required, in place of the getpass() library routine. file: [b76f44f8] check-in: [55f3f3d4] user: drh branch: trunk, size: 17126
2016-05-28
21:23
Enhancements to SEE integration. file: [d2a6573c] check-in: [4e34191c] user: mistachkin branch: seeEnhanced, size: 16345
2016-05-27
22:25
Compilation 'portability' enhancements for MinGW. file: [0131b991] check-in: [1bb6f3d3] user: mistachkin branch: trunk, size: 15949
2016-03-02
01:56
Add new test-usernames command to dump all of the various sources of the current user name in the order tested. file: [0335b838] check-in: [5de13cb1] user: rberteig branch: ross-doc-env, size: 15903
2015-12-23
11:10
Improvements to handling of localtime. The 'utc' and 'localtime' query parameters now work on all web pages. Timestamps can be expressed with a timezone modifier and that works correctly. file: [64ceb772] check-in: [ea63a2d1] user: drh branch: trunk, size: 14980
2015-11-17
23:22
Show how to enable/disable the access-log and admin-log from their display pages. Add the "Stats" button to the Admin main menu. file: [d7501c09] check-in: [3967d043] user: drh branch: trunk, size: 14988
2015-11-16
01:45
Remove deprecated <center> tags. file: [d5685721] check-in: [d57f2395] user: Isius branch: html-cleanup, size: 14782
2015-04-27
13:19
Provide help text for all commands and webpages. file: [6ec57f12] check-in: [7ab03289] user: drh branch: trunk, size: 14784
2015-02-14
12:24
When the user is "nobody", make the g.anon permission vector for "anonymous" available in addition to g.perm. Hyperlinks to pages that would be available to anonymous are shown rather than suppressed. When permission is denied and control jumps to login_needed() a new flag shows whether or not logging in as "anonymous" would help. Work in progress. file: [21c6f2cc] check-in: [2f50d427] user: drh branch: login-enhancements, size: 14625
2015-01-22
23:45
Enhance the table sorting javascript to support initial reverse-order sorting. Add table sorting to the user log. file: [80f05d6a] check-in: [0cdec7d2] user: drh branch: trunk, size: 14624
2014-10-20
15:01
Add a custom static analysis program that verifies the arguments to printf-style varargs routines used in Fossil. Adjust the source code to be more robust for printf format errors and to fix a few minor problems found by the static checker. file: [1160e782] check-in: [0a7e326f] user: drh branch: compile-time-print-checking, size: 14523
2014-09-03
20:25
I have "ls"-ified "list" subcommands for my personal use-case before -- roll through code and convert others for sake of consistency file: [609b489a] check-in: [ce6de743] user: bch branch: ls, size: 14506
2014-06-06
09:27
When doing "fossil user default <username>", don't try to check the current default user for validity. file: [811c206e] check-in: [4306f0f3] user: jan.nijtmans branch: trunk, size: 14438
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: [58a79362] check-in: [5fdad9bd] user: drh branch: trunk, size: 14436
2013-12-28
22:41
Eliminate the need to compile SQLite with -Dlocaltime=fossil_locatime. This makes the timeline-utc setting work when fossil is configured with --disable-internal-sqlite. file: [1393a30a] check-in: [d7fd72dc] user: jan.nijtmans branch: timeline-utc, size: 14434
2013-11-12
15:10
Fix password handling as in trunk. file: [68bfd6db] check-in: [384a6b3d] user: jan.nijtmans branch: tkt-change-hook, size: 14433
02:41
Merge in fixes for the password embedded in the URL, save password prompting, and new clone --once option. file: [7a4ff753] check-in: [ff159bfd] user: andybradford branch: trunk, size: 14420
2013-11-10
15:35
Remove duplicate user from fossil user capabilities usage statement. file: [2f24311e] check-in: [66ca04d4] user: andybradford branch: trunk, size: 14287
2013-11-09
02:38
Prefer use of fossil_strcmp that handles NULL better. file: [63079427] check-in: [e97665e0] user: andybradford branch: url-password-fixes, size: 14425
2013-11-02
11:16
Don't crash if last-sync-pw was never set yet. file: [8da35504] check-in: [a2829230] user: jan.nijtmans branch: url-password-fixes, size: 14416
10:57
Only prompt for password save if the to-be-saved password is different from the already saved password file: [83023df0] check-in: [a5404e30] user: jan.nijtmans branch: url-password-fixes, size: 14416
2013-10-09
08:24
Be carefull comparing a char < ' ': If the platform 'char' type is signed, this will be true for all UTF-8 characters >0x7f as well. file: [5de78b1e] check-in: [c426475e] user: jan.nijtmans branch: trunk, size: 14292
2013-09-13
02:39
Leave original prompt as current SSH behavior does not require a password. file: [17172bb5] check-in: [746a93e1] user: amb branch: ssh-transport-changes, size: 14282
2013-09-07
21:21
Separate SSH transport changes from shared account features to simplify integration. file: [be326f74] check-in: [915c79cb] user: andybradford branch: ssh-transport-changes, size: 14294
2013-08-30
14:07
Merge in latest features and fixes from trunk. file: [e717d688] check-in: [ef8b9da0] user: andybradford branch: ssh-test-http, size: 15044
03:06
Change most uses of fossil_panic() to fossil_fatal(). Modify fossil_panic() to avoid allocating heap memory and to close the database connection before doing anything else. file: [0c0c3d82] check-in: [320f1436] user: drh branch: trunk, size: 13750
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: [8d51b660] check-in: [ed20da74] user: andybradford branch: ssh-test-http, size: 15044
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: [07bbf60f] check-in: [0c194243] user: andybradford branch: ssh-test-http, size: 15043
2013-08-06
04:03
Changed prompt to remove ambiguity between SSH user vs Fossil user. file: [78280140] check-in: [f592b80a] user: andybradford branch: ssh-shared-account, size: 14744
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: [08983f21] check-in: [1ebba56f] user: amb branch: ssh-shared-account, size: 14732
2013-07-20
08:40
Alternative approach to allow multiple SSH users to share the same SSH account while maintaining separate Fossil identities. file: [1c08cb6f] check-in: [e3510cef] user: amb branch: ssh-shared-account, size: 14584
2013-05-17
12:04
Remove excess verbage from the output of "fossil clean" unless the --verbose or -v command-line option is used. Issue an error if an unrecognized command-line argument is seen, to prevent mistakes like using --dryrun instead of --dry-run. file: [84e08018] check-in: [273ec22f] user: drh branch: trunk, size: 13750
2013-04-27
01:12
Added $LOGNAME to the list of environment variables checkes for the user name, per report from Will Parsons. file: [5e42a171] check-in: [5741754e] user: stephan branch: trunk, size: 13665
2013-03-15
15:02
Code changes for Android, suggested by Mark Janssen. file: [f2f1863c] check-in: [d4d66d13] user: jan.nijtmans branch: trunk, size: 13558
2013-02-21
11:45
more unused variables file: [303ae9b1] check-in: [1a2e1ea0] user: jan.nijtmans branch: trunk, size: 13464
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: [613e166a] check-in: [6d6740dc] user: drh branch: trunk, size: 13479
2012-12-13
12:31
When determining the interactive user, check the FOSSIL_USER environment variable. Also, add a property to the Windows resource file indicating if markdown support was compiled into the binary. file: [2e379174] check-in: [743b64ec] user: mistachkin branch: trunk, size: 13525
2012-11-28
19:28
Take care that xfer error messages and user prompts always begin at the start of a new line. file: [be21df36] check-in: [f1ef2213] user: drh branch: trunk, size: 13410
2012-09-19
04:01
As a fallback, attempt to extract the user from the remote URL configured for the repository. file: [f81e6f0e] check-in: [817b3fea] user: mistachkin branch: selectRemoteUser, size: 13384
2012-09-18
23:48
Fix comment. file: [e5e118a3] check-in: [5f13a2a6] user: mistachkin branch: trunk, size: 13181
23:31
Fix warning message typos. file: [78b58c0d] check-in: [f9d053a9] user: mistachkin branch: trunk, size: 13180
22:58
If unable to determine the user by the normal techniques, don't guess. Print a helpful error message and quit. Otherwise strange user names end up in the log. file: [2b4a4733] check-in: [1e7262b7] user: drh branch: trunk, size: 13183
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [7806375e] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 13608
2012-07-25
10:58
Add <label> markup around all checkbox form entries. file: [5ba9fbad] check-in: [e78c49d3] user: drh branch: trunk, size: 13609
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [fb6ebed9] check-in: [0328d681] user: drh branch: sqlite4, size: 13555
2012-06-27
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. file: [71e8db36] check-in: [68239127] user: drh branch: sqlite4, size: 13549
2012-02-16
01:03
Always convert the result of getenv() into UTF8. file: [128e900b] check-in: [57152086] user: drh branch: trunk, size: 13549
2011-11-03
17:31
Break up the command-line commands into commonly-use and auxiliary commands and only show the commonly-used ones with "fossil help". Add a new command "fossil commands" to show auxiliary and test commands. file: [3eaff102] check-in: [841772c8] user: drh branch: trunk, size: 13542
2011-09-14
17:45
Refactored g.okXXX perms flags to g.perm.XXX. file: [2bba0b82] check-in: [34b4dec0] user: stephan branch: stephan-hack, size: 13542
2011-08-30
18:04
Print an error message and quite if the --user option appears on a "fossil commit" command but specifies a username not found in the database. Ticket [3ed2e994e1750b] file: [b4f2467e] check-in: [b120bc8b] user: drh branch: trunk, size: 13539
2011-05-21
15:39
Experimental support for Solaris 10 file: [b516b1eb] check-in: [fd39ef82] user: ben branch: bens-expr, size: 13616
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. file: [68567bd8] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 13438
00:49
Simple test cases for configuration sync are now working. file: [f1c939fa] check-in: [bef34a69] user: drh branch: config-sync, size: 13402
2011-04-08
17:08
Begin adding code to implement "login groups" which will (we hope) ultimately lead to a single sign-on capability. file: [99d51fd8] check-in: [eec32b99] user: drh branch: login-groups, size: 13317
2011-03-28
07:40
Use "password" instead of "passwd" because it's complete and proper, and plays nicely w/ Emacs "send-invisible" capabilities that keep typed text from echoing on screen. file: [2d7a73d7] check-in: [13ceb46e] user: bharder branch: trunk, size: 13721
2011-03-16
02:38
Make sure the accesslog table exists before attempting to use it. Ticket [7b55fd2958d8d] file: [8d666413] check-in: [c7de5f7b] user: drh branch: trunk, size: 13705
2011-03-07
03:00
Add a button to delete failed login attempts from the access log history. file: [0c4d6a02] check-in: [ba0852c9] user: drh branch: trunk, size: 13677
2011-01-19
16:28
Do not drop the accesslog table on a rebuild. If the accesslog table does not exist, do not generate and error on the User-Log report. file: [ed19f014] check-in: [f1efc905] user: drh branch: trunk, size: 13264
16:16
Add some primitive clean-up buttons on the access log. file: [ec9bcafa] check-in: [a37abeca] user: drh branch: trunk, size: 13299
15:43
Improvements to the access log. The display is still primitive. file: [f3901c90] check-in: [e3b3c5cf] user: drh branch: trunk, size: 11971
02:57
Add a primitive display of the access-log history. file: [7be11f6a] check-in: [f274222e] user: drh branch: trunk, size: 11285
2011-01-04
17:13
Implemented all suggested changes to the self-register related code. file: [55bf5144] check-in: [13deb432] user: lrem branch: self-register, size: 10034
2010-11-26
18:37
Report an error if the repository schema version does not match what the fossil executable expects. file: [5a7d65bd] check-in: [c0c3d923] user: drh branch: trunk, size: 9966
2010-10-15
16:11
merge from trunk file: [2c056493] check-in: [c1271793] user: wolfgang branch: wolfgangHelpCmd, size: 10206
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: [9d793f50] check-in: [2fac8091] user: drh branch: trunk, size: 9963
2010-10-09
20:13
show references to commandline on webpages; add httptrace to windows http server file: [ead9e05b] check-in: [d1d1cd12] user: wolfgang branch: wolfgangHelpCmd, size: 10192
2010-08-31
05:12
compile warning fixes (uninitialized vars) file: [b7f7d1d8] check-in: [3c326ea4] user: ron branch: trunk, size: 9949
2010-08-28
06:59
This is the first check-in on the windowscompilers branch and it adds the Digital Mars C compiler    The user should have dmc installed in c:\DM with zlib in c:\DM\extra\lib and c:\DM\extra\include.    typing c:\DM\bin\make -f win\Makefile.dmc builds fossil.exe in dmcobj    The following files were edited or added: Checks if one of the windows compilers is used. If so we define _WIN32. Defining _WIN32 is normally done by#include <windows.h> However most of the time we don't use windows.h. Adding an other windows compiler is done by adding "|| defined(__COMPILER_IDENTIFIER__)" and maybe some special things in the files below. Like These have all __MINGW32__ replaced by _WIN32. And in some places special processing for either MINGW32 or DMC In popen2 the _open_osfHandle call first parameter is cast to a long. DMC refused to compile without the cast. DMC complained that it didn't knew of time_t in rss.h. time.h came after rss.h. Switching the two solved it! added tcl code to generate Makefile.dmc. tclsh src/makemake.tcl dmc prints to stdout the makefile. As a convienience to the end-user I added the win/Makefile.dmc to the repository. There are few changeable variables in there for adjusting path, CFLAGS LIBS etc. These are needed because DMC and MSVC doesn't provided them. dirent.h is copied verbatim from the net. unistd.h I found on the net too, but added some defines. The problem with windows it doesn't have AWK standard installed. version.c creates VERSION.h. It is a very simple C-program and doesn't do a lot of checking. file: [88541ea1] check-in: [f66f414f] user: renez branch: windowscompilers, size: 9904
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [754633c3] check-in: [c06edd23] user: drh branch: clear-title, size: 9903
2010-01-10
20:56
Change the hash algorithm for passwords so that USER.PW field stores a SHA1 hash of the project-code, user login, and user password, rather than just a hash of the user password. That way, the if two users select the same password, or if the one user selects the same password for multiple projects, the password hashes are still different. file: [10a90270] check-in: [4b58a7b8] user: drh branch: experimental, size: 10178
2010-01-09
22:03
Store passwords in USER.PW as either cleartext (as is done in legacy) or as the SHA1 hash of the password. When changing a password or adding a new user, always use the SHA1 hash password. file: [31ad521e] check-in: [cfe33dcf] user: drh branch: experimental, size: 9872
2009-07-06
23:53
Update to the latest SQLite. On the "Ticket" page, if "nobody" is not allowed to create new tickets but "anonymous" is, then offer a hyperlink to log in as anonymous. Change the default settings to be more secure. file: [29b52a5f] check-in: [623a9129] user: drh branch: trunk, size: 8959
2008-11-09
19:30
Optional extra arguments to the "user" command allow one to specify the new password or contact information on the command-line without waiting for a prompt. This makes the "user" command usable from shell-scripts. file: [d521e5ca] check-in: [f6c0201a] user: drh branch: trunk, size: 8944
2008-05-05
17:24
Add the ability to modify global settings (such as the proxy setting) even when there are no repositories defined. file: [1f03854c] check-in: [4e683ef0] user: drh branch: trunk, size: 8667
2008-01-29
01:11
Error message on "commit" or "user default" if the user does not exist. file: [5fc6aec0] check-in: [e2a42f7a] user: drh branch: trunk, size: 8666
00:38
Fix a bug in the "user default" command. file: [fb0522ab] check-in: [0921b68f] user: drh branch: trunk, size: 8512
2007-10-26
18:18
Prevent duplicate logins on the "user add" command. Also, allow the login to be specified on the command line. file: [dde3c3d1] check-in: [783df88b] user: drh branch: trunk, size: 8510
2007-10-10
02:49
Removed unnecessary items from WWW Configuration, also made RSS Title and Description into generic Project Name and Project Description settings, which will be used elsewhere in the web site. file: [9649e144] check-in: [f3807dbd] user: jnc branch: trunk, size: 8266
2007-09-28
20:08
Combine the "config" and "setting" commands into a single "settings" command. file: [45a74402] check-in: [134e2aec] user: drh branch: trunk, size: 8269
2007-09-26
02:00
Better defaults for new databases and clones. Use *CURRENT* to identify the current checkout for TTY timelines. file: [0bda7093] check-in: [097479f9] user: drh branch: trunk, size: 8266
2007-09-24
20:21
Corrected "fossil user password" error message. It had an extra user file: [bd013e3f] check-in: [df3d6cbf] user: mjanssen branch: trunk, size: 8218
2007-09-21
21:53
Win32 port: compiles, all tests pass but many functions fail due to path separators. Incomplete. Path fixes to come next file: [2a5d91ad] check-in: [83c876b4] user: jnc branch: trunk, size: 8223
2007-08-18
11:42
Added options to the "timeline" CLI command. Additional help comments. file: [7f6b2147] check-in: [6607844a] user: drh branch: trunk, size: 7587
2007-08-01
21:59
Add the ability to sign manifests using GPG during a check-in. Due to a bug in the manifest parser, older versions will not be able to check-out signed manifests. file: [4ebd0dc2] check-in: [e37451d9] user: drh branch: trunk, size: 6789
2007-07-30
14:28
Use POST instead of GET for the /xfer method. Other bug fixes in the URL parser. file: [47ac33e6] check-in: [e621b6db] user: drh branch: trunk, size: 6796
2007-07-21
19:32
Improvements to web-based user management. file: [f41abe06] check-in: [916b6e4b] user: drh branch: trunk, size: 6798
14:10
Initial check-in of m1 sources. file: [0a8a1772] check-in: [dbda8d6c] user: drh branch: trunk, size: 6184 Added