boinc/db
David Anderson 2f77d23aee web: add option for making user name unique.
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.
2024-05-07 19:53:36 -07:00
..
Makefile.am
boinc_db.cpp
boinc_db.h Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
boinc_db_types.h client/server/web: add 'Apple GPU' as an official GPU type. 2024-01-28 01:41:12 -08:00
constraints.sql web: add option for making user name unique. 2024-05-07 19:53:36 -07:00
content.sql
db_base.cpp server (all components that use DB): don't use MYSQL_OPT_RECONNECT if deprecated 2023-08-21 15:57:47 -07:00
db_base.h
init_db
schema.sql remote job submission: let submitters specify that jobs 2024-04-01 16:04:54 -07:00
schema_condor.sql
schema_locality.sql
schema_vda.sql Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00