Commit graph

1626 commits

Author SHA1 Message Date
RElesgoe
075390adc4
Update .travis.yml 2020-09-19 01:26:30 -07:00
relesgoe
0238e40f0a Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2020-09-18 15:35:29 -07:00
relesgoe
0ef29ae7bf Free 'gameresult', 'gameresult->players', and 'gameresult->heroes' before returning NULL in anongame_gameresult_parse() 2020-09-15 15:12:46 -07:00
relesgoe
94aaa0c928 Free 'whole' before returning in ipban_str_to_ipban_entry() 2020-09-15 15:08:36 -07:00
relesgoe
b27f7e65dd Free fp before continuing while loop in file_load_clans() 2020-09-08 22:15:08 -07:00
relesgoe
8508e58c75 Fix use-after-free bug in _anongame_queue() 2020-09-08 22:12:40 -07:00
relesgoe
c72000b6dc Free clan before returning in sql_load_clans() 2020-09-08 21:48:50 -07:00
relesgoe
46e6d81906 Free team before returning in sql_load_teams() 2020-09-08 21:47:24 -07:00
relesgoe
71f3dba359 Free member before returning in sql_load_clans() 2020-09-08 21:46:22 -07:00
RElesgoe
5b5cd7f965
Change hardcoded 'smtps://' to 'smtp://' in smtp_config() 2020-09-05 14:28:48 -07:00
relesgoe
ad2acf65f1 Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2020-09-01 21:23:44 -07:00
relesgoe
28471b310f Change database table 'email_verification' to 'emailverification'. Add 'emailverification' to 'sql_tables' 2020-09-01 21:17:34 -07:00
relesgoe
07a67cd0a5 Don't set account email to empty string if user declines to set an email address in _client_setemailreply() 2020-09-01 19:39:52 -07:00
RElesgoe
916f20e660
Fix eventlog message incorrectly reporting packet as logged in packet instead of connected packet in handle_bnet_packet() 2020-08-30 13:36:29 -07:00
relesgoe
6b9d251138 Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2020-08-30 02:57:33 -07:00
RElesgoe
c2167e18a6
Throttle smtp_consumer() thread 2020-08-28 22:51:43 -07:00
relesgoe
8e4c9e3890 Initialize temp_str in check_user_icon() 2020-08-27 22:56:27 -07:00
RElesgoe
68f52fd632
Update anongame_wol.cpp 2020-08-25 19:11:07 -07:00
RElesgoe
633dfa98f3
Update anongame_wol.cpp 2020-08-25 05:39:07 -07:00
RElesgoe
37fbd5c24b
Fix missing </item> 2020-08-24 23:01:07 -07:00
relesgoe
34c47a10bd Add logging in case std::rename() fails in dbs_packet_getdata_charsave() 2020-08-21 15:23:58 -07:00
relesgoe
b8e8372e34 Add logging in case p_mkdir() fails in dbs_packet_savedata_charinfo() 2020-08-21 15:20:58 -07:00
relesgoe
30df2166fb Free servaddr before returning in dbs_server_init() 2020-08-21 15:11:05 -07:00
relesgoe
91896b7e27 Clear sinInterface.sin_zero in dbs_server_init() 2020-08-21 15:06:43 -07:00
relesgoe
0034bb4e96 Replace call to std::strncpy() with std::snprintf() in d2ladder_readladder() because std::strncpy() may not null-terimate the destination string 2020-08-21 14:52:00 -07:00
relesgoe
636de8071e Fix incorrect case: find_package(Threads) 2020-08-13 00:04:24 -07:00
relesgoe
ffe711b71e Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2020-08-12 23:46:01 -07:00
relesgoe
4435f68223 Find and link the system's thread library in CMake for 'bnetd' target 2020-08-12 23:45:55 -07:00
RElesgoe
05e6092c7d
Add missing quotation marks in sql_DB_layout.conf.in 2020-08-12 19:08:37 -07:00
relesgoe
20a9b271b7 Change eventlog level from info to trace for one of the eventlog() calls in command_groups_load() 2020-08-09 09:56:11 -07:00
relesgoe
6b5fa783c8 Uncomment call to eventlog() guarded by COMMANDGROUPSDEBUG define in command_groups_load() 2020-08-09 09:55:27 -07:00
relesgoe
742efe4712 Use new and delete for allocating and freeing memory for the read_callback_message struct in smtp.cpp 2020-08-09 09:30:14 -07:00
relesgoe
444126671e Fix incorrect parameter in the call to account_generate_email_verification_code() in _handle_end_apiregtag(), change 'account' to 'tempacct' 2020-08-09 08:30:51 -07:00
relesgoe
3f8abb7b0a Move config option 'smtp_ca_cert_store_file' under the 'File section' category in bnetd.conf.in and bnetd.conf.win32 2020-08-09 08:22:00 -07:00
relesgoe
c0b29db11b Rename config option 'smtp_ca_cert_store' to 'smtp_ca_cert_store_file' 2020-08-09 08:20:50 -07:00
relesgoe
f2b52aed37 Add missing config option 'verify_account_email_from_name' in bnetd.conf.win32 2020-08-09 08:19:24 -07:00
RElesgoe
57a0d4fe45
Change curl_multi_poll() call to curl_multi_wait() in smtp_consumer() for compatibility with older libcurl versions 2020-08-08 19:30:45 -07:00
RElesgoe
414ebe1544
Merge pull request #415 from pvpgn/feature-email
Add account email verification
2020-08-08 13:24:59 -07:00
relesgoe
e79338617b Fix incorrect comparison to return value of call to account_get_email_verified() in _handle_finger_command() 2020-08-08 13:23:56 -07:00
relesgoe
80dcead113 Update /finger command to show whether the account's email is verified or not 2020-08-08 10:46:17 -07:00
relesgoe
4b42777409 Add two more localization strings in common.xml 2020-08-08 10:40:49 -07:00
relesgoe
8e2aa1f129 If account email verification is enabled, automatically send verification email whenever an email is set/changed 2020-08-08 10:12:19 -07:00
relesgoe
930838484c Fix incorrectly named parameter for account_set_email_verification_code() 2020-08-08 09:55:00 -07:00
relesgoe
7df9d21cf1 Fix incorrect parameter in the call to account_set_email_verified() in _handle_end_apiregtag() 2020-08-08 09:45:56 -07:00
RElesgoe
fadd8927b0
Add ${CURL_LIBRARIES} to CMakeLists.txt in src/bnetd 2020-07-25 17:30:24 -07:00
RElesgoe
3b434de746
Merge branch 'develop' into feature-email 2020-07-25 11:37:46 -07:00
relesgoe
689b75b885 Hide undesired 'I' character produced by message_format_line() when outputting WC3 MOTD. #408 2020-07-25 11:21:54 -07:00
relesgoe
dd9d607a9e Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2020-07-25 10:24:36 -07:00
relesgoe
49e90607b4 If the included Zlib is used to build the bnetd target, install the included Zlib DLL 2020-07-25 10:24:15 -07:00
relesgoe
760e88847f Rename smtp_ca_cert_store to smtp_ca_cert_store_file 2020-07-25 09:37:22 -07:00