Commit graph

507 commits

Author SHA1 Message Date
Kijin Sung
9cfcd7cb37 Fix #1136 #1230 auto-rotate profile image if EXIF is available (cf. #1182) 2022-12-20 19:18:39 +09:00
Kijin Sung
117ae626b9 Fix #2041 don't replace lang codes in member menu until module init 2022-12-15 23:45:19 +09:00
Kijin Sung
2b83fe75f7 Fix #2038 provide triggers for deleteScrapDocument 2022-12-15 23:11:30 +09:00
Kijin Sung
1312155aba Fix #2029 remove notnull condition in member.getScrapDocument query
실제 사용하는 곳에 intval() 처리 추가하여 null 방어
2022-11-28 01:03:09 +09:00
Kijin Sung
32b8e51b47 Fix infinite loop when a member belongs to no groups under certain conditions
+) Add static to some utility methods in MemberController
2022-11-28 00:59:31 +09:00
Kijin Sung
fcf7306ee6 Fix trying to delete nonexistent file, which can cause errors on some systems
https://xetown.com/questions/1722184
2022-11-22 14:14:40 +09:00
Kijin Sung
e94146b490 Return error if user_id is empty after removing all non-numerical characters 2022-11-01 11:32:02 +09:00
Kijin Sung
246a952cf6 Fix login error when the user enters a phone number containing hyphens or other symbols 2022-11-01 11:28:39 +09:00
Kijin Sung
bd7865caf0 Fix #1957 again: more user-friendly error messages 2022-10-30 21:00:50 +09:00
BJRambo
96d6e82d5c 7a4f8164ac 보완 유저 아이디를 사용하도록 채크한 경우에만 회원아이디 체크하도록 개선 2022-10-18 06:31:40 +09:00
BJRambo
7a4f8164ac 라이믹스 첫 설치시 user_id 를 사용함에도 불구하고 정상적으로 로그인이 안되는 문제 고침.
첫 설치시 아이디 사용이 이메일 + 전화번호 + user_id 항목을 모두 사용할 수 있습니다.

근데 문제는 사용자가 전화번호가 아니라 유저아이디를 정상적으로 입력하였음에도 불구하고 입력한 정보가 아니라는 경우가 발생됩니다.

보통 "abc1234" 이라는 계정을 사용하게되면 member.controller.php 2176줄안에 걸려 매칭을 시작하게 되고 아이디가 preg_replace('/[^0-9]/', '', $user_id); 코드의 의해 1234 으로 변환되기에 실제로 member_info를 찾을 수 없으므로 에러가 발생되게 됩니다.

이 패치는 전화번호도 사용하며 아이디까지 같이 사용할 경우 전화번호로 들어갔을때 전화번호를 찾을 수 없는 경우 유저아이디를 통해서 한번 더 검사하여 로그인을 진행할 수 있게 해줍니다.
2022-10-18 06:20:19 +09:00
Kijin Sung
b1eee629a2 Fix unnecessary phone number verification when phone number is optional and user leaves it blank 2022-10-12 23:56:32 +09:00
Kijin Sung
81882e8420 Add option to use a specific string in the URL to bypass disabled signup page
회원 가입을 닫아놓은 상태에서는 관리자도 회원 가입 기능을 테스트할 수 없는
문제를 해소하기 위해, 관리자가 설정한 특정한 문자열을 URL에 포함할 경우
회원 가입 페이지에 접근할 수 있도록 허용하는 옵션 추가
2022-10-11 22:19:32 +09:00
Kijin Sung
c2bf7d65ce Automatically unregister device if the user logs out from mobile app 2022-10-11 01:04:22 +09:00
Kijin Sung
53cdc17c7f Obfuscate some login error messages #1957
- 로그인 실패시 아이디나 메일주소가 틀렸는지, 비번이 틀렸는지 구분하여 알려주지 않도록 변경
- 아이디/비번찾기시에는 불필요하게 세분화된 일부분만 정리하고 완전히 막지 않음
2022-07-03 01:43:15 +09:00
conory
0984b751e8 Apply cache even when the member does not exist
탈퇴한 회원을 계속 DB에서 찾는 문제 수정
2022-04-16 14:37:18 +09:00
conory
3c00ff1cc5 Fix wrong return value
$output->toBool()로 체크하는 서드파티에서 오류가 발생합니다. 항상 BaseObject()로 반환해야 합니다.
2022-03-24 15:02:38 +09:00
Kijin Sung
7b46deb973 Fix #1886 clean up incorrect use of getMemberInfo* methods 2022-03-14 01:40:43 +09:00
Kijin Sung
23f7568e74 Separate device-related actions to own class; add procMemberUnregisterDevice 2022-02-06 22:29:14 +09:00
Kijin Sung
5ed1b43786 Fix #1847 support logging in with 'email_address' or 'phone_number' input name if they are allowed as identifier 2022-02-04 22:24:03 +09:00
Kijin Sung
8d67f80283 Make profile image force aspect ratio setting confugurable 2022-01-28 16:14:44 +09:00
Kijin Sung
8d1dd026ef Fix #1660 #1826 limit SMS auth attempts from same IP 2021-12-31 14:56:30 +09:00
Kijin Sung
ff2e04fb8f Store auth SMS in DB #1826 #1660 2021-12-31 14:36:41 +09:00
Kijin Sung
5f8f7acced Prevent sending SMS to phone number that has already been registered #1826
+ Clean up some error messages
2021-12-31 14:25:44 +09:00
Kijin Sung
d8ae1d8d1a Fix #1809 remove unnecessary error code after scrap 2021-12-31 01:44:06 +09:00
Kijin Sung
42442aeef7 헤더 또는 쿠키로 device token과 device key를 주고받을 수 있도록 허용하고, 중복 코드 정리 (#1325 보완)
요청 헤더: X-Device-Token
응답 헤더: X-Device-Key (포맷: member_srl:device_key)

요청 쿠키: device_token
응답 쿠키: device_key (포맷: member_srl:device_key) (유효기간 1분)
2021-11-26 01:52:15 +09:00
Kijin Sung
aa9af45207 회원가입 및 로그인시 device token과 device key를 헤더로 주고받을 수 있도록 지원 (#1325 보완)
요청 헤더: X-Device-Token
응답 헤더: X-Registered-Member-Srl, X-Registered-Device-Key
2021-11-24 16:22:30 +09:00
Kijin Sung
3ece3ed7a4 다른 액션에서 procMemberRegisterDevice를 호출한 경우에는 response method를 건드리지 않도록 변경 2021-11-24 15:35:24 +09:00
Kijin Sung
cb16e7a293 Don't update admin extra vars in procMemberModifyInfo 2021-10-08 01:35:21 +09:00
Kijin Sung
605d8da7ee Fix #1797 also apply #1713 patch to procMemberModifyInfo 2021-10-08 01:28:59 +09:00
Kijin Sung
a743ee9427 Update member cache when profile image, signature, etc. are updated independently 2021-09-27 16:47:19 +09:00
conory
ca5eb517cf 스패머 처리시 댓글이 휴지통으로 들어가지 않는 문제 수정
스패머 처리시 휴지통 이동을 기본값으로 함
2021-09-04 01:47:47 +09:00
Kijin Sung
185f0bb5a5 Fix #1760 check for duplicates and remove them before adding member to group 2021-08-02 10:49:47 +09:00
conory
589ecf2561 Cleanup getMemberConfig() for PHP 8.0
기본 설정값 통일
서명, 프로필 이미지, 이미지 이름, 이미지 마크가 공개 옵션과 상관 없이 무조건 표시되는 문제 수정
사용되지도 않고 별 역할 없는 setMemberConfig($args) 메소드 deprecated 처리
2021-07-08 18:09:39 +09:00
Kijin Sung
856f2af743 Fix #1732 inconsistent 'target' attribute in popup menus 2021-06-19 22:30:18 +09:00
Kijin Sung
1ab02086bd Clean up spammer description text #1705 2021-06-19 21:35:05 +09:00
Kijin Sung
2d913b2b1c Fix #1708 allow logged-in members to register device without re-submitting username and password 2021-06-19 21:19:40 +09:00
Kijin Sung
65dc194ed4 Fix #1713 unable to set member extra vars value to empty string 2021-06-19 20:02:32 +09:00
Kijin Sung
e4f2d8ec25 Remove unnecessary parameter to commit() 2021-04-12 23:15:35 +09:00
Kijin Sung
57dd3dd1c7 Fix unreliable behavior of procMemberModifyEmailAddress() 2021-04-12 23:13:40 +09:00
Kijin Sung
85a337f0d3 Preserve existing member extra_vars when updating 2021-04-12 21:19:21 +09:00
Kijin Sung
5ca8f3f732 Fix #1661 partially empty address being accepted 2021-03-18 00:21:08 +09:00
Kijin Sung
fc4d8a6824 Fix #1634 bypass spamfilter when sending messages from core modules 2021-02-23 22:01:32 +09:00
Kijin Sung
05cef078f2 Fix #1627 suspected errors in PHP 8.0 2021-02-19 01:05:28 +09:00
Kijin Sung
0986ddf87d Fix #1607 denied/limited reason not being saved as extra vars 2021-02-08 21:40:39 +09:00
Kijin Sung
992a8d5914 Improve extra_vars handling when inserting or updating member info 2021-01-30 13:59:29 +09:00
Kijin Sung
9228d3b8a9 Don't require user_id if member is inserted through other module
https://xetown.com/tips/1516822
2021-01-29 15:52:22 +09:00
Kijin Sung
4377c06d6b Fix incompatibilities found after removing signup ruleset 2021-01-29 15:41:41 +09:00
Kijin Sung
e1fabe4242 Add option to log out of all other devices 2021-01-20 23:15:07 +09:00
Kijin Sung
27cbf9588a Fix member group info not being cleared properly
https://xetown.com/questions/1512107
2021-01-20 19:38:07 +09:00