mirror of https://github.com/BOINC/boinc.git
2f77d23aee
We currently allow different accounts to have the same user name. Hence in places where we need to identify users (sending PMs, blocking users) we have to use numeric IDs, which means that we have to display them in various places. This is ugly; I'm not sure why I thought it was a good idea. Anyway. Add a project.inc option UNIQUE_USER_NAME. If set: - it won't let you create an account with a dup name, of change your name to a dup - it doesn't show user IDs anywhere - in places where you specify users, you use names This is now the default for new projects. Existing projects - which have lots of duplicate names - can't use it unless they de-dup their names somehow (and this might anger users). Also some minor code cleanup. sprintf() is our friend. |
||
---|---|---|
.. | ||
Makefile.am | ||
boinc_db.cpp | ||
boinc_db.h | ||
boinc_db_types.h | ||
constraints.sql | ||
content.sql | ||
db_base.cpp | ||
db_base.h | ||
init_db | ||
schema.sql | ||
schema_condor.sql | ||
schema_locality.sql | ||
schema_vda.sql |