Use Cow for user name
Dependencies
- [2]
BVCWJKEXGet auth info for slow game page - [3]
YQFDKZIUPut FreeOrion version to config for simple update - [4]
HBDTKI2BAdd auth info to password reset - [5]
MCF5COULAdd personal page - [6]
WVHXYKCVAdd postgresql pools - [7]
WLWTNO4YCreate form to request game password change link - [8]
6NYILMKIAdd page for slow game - [9]
HTYEGVBUAdd data to reset password page - [10]
TRBYOQBICheck CSRF and user existence - [11]
LTQCLSBUSplit database usage in pages - [12]
AEWYJHUDStart to show player list - [13]
A2LJT7TTShow duration in turns - [14]
WW3KRXX6Add page for reset game password - [15]
TEB4R7OUAdd form to join game - [16]
H6GGDVHWShow auth info in reset password page - [17]
FUCFD4UVAdd log in and log out support - [18]
HZDCKIXQUse constants for templates - [19]
XKG2L3QBShow label if player could join the game - [*]
EVP2FSBHSplit index page
Change contents
- replacement in src/pages/slow_game.rs at line 47
common_auth_info: CommonAuthInfo,common_auth_info: CommonAuthInfo<'a>, - replacement in src/pages/slow_game.rs at line 365
common_auth_info: CommonAuthInfo { user },common_auth_info: CommonAuthInfo {user: user.map(Into::into),}, - replacement in src/pages/reset_game_pwd.rs at line 12
common_auth_info: CommonAuthInfo,common_auth_info: CommonAuthInfo<'a>, - replacement in src/pages/reset_game_pwd.rs at line 94
common_auth_info: CommonAuthInfo { user },common_auth_info: CommonAuthInfo {user: user.map(Into::into),}, - replacement in src/pages/query_reset_game_pwd.rs at line 11
struct PageData {common_auth_info: CommonAuthInfo,struct PageData<'a> {common_auth_info: CommonAuthInfo<'a>, - replacement in src/pages/query_reset_game_pwd.rs at line 50
common_auth_info: CommonAuthInfo { user },common_auth_info: CommonAuthInfo {user: user.map(Into::into),}, - replacement in src/pages/my.rs at line 9
struct PageData {common_auth_info: CommonAuthInfo,struct PageData<'a> {common_auth_info: CommonAuthInfo<'a>, - replacement in src/pages/my.rs at line 77
common_auth_info: CommonAuthInfo { user: Some(user) },common_auth_info: CommonAuthInfo {user: Some(user.into()),}, - replacement in src/pages/mod.rs at line 39
pub struct CommonAuthInfo {pub user: Option<String>,pub struct CommonAuthInfo<'a> {pub user: Option<std::borrow::Cow<'a, str>>, - replacement in src/pages/index.rs at line 9
pub common_auth_info: CommonAuthInfo,pub common_auth_info: CommonAuthInfo<'a>, - replacement in src/pages/index.rs at line 24
common_auth_info: CommonAuthInfo { user },common_auth_info: CommonAuthInfo {user: user.map(Into::into),},