Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abdurraufraihan/django-chat
/ functions
Functions
61 in github.com/abdurraufraihan/django-chat
⨍
Functions
61
◇
Types & classes
28
↓ 5 callers
Method
get
(self, request, userId)
server/apps/chat/views.py:10
↓ 2 callers
Method
create
(self, validatedData)
server/apps/chat/serializers.py:9
↓ 2 callers
Function
fetchChatUser
()
client/src/components/sidebar/sidebar.js:28
↓ 2 callers
Method
sendOnlineUserList
(self)
server/apps/chat/consumers.py:43
↓ 2 callers
Function
sendTypingSignal
(typing)
client/src/components/chatbody/ChatBody.js:82
↓ 1 callers
Function
AuthRequired
(Component)
client/src/components/auth/AuthRequired.js:7
↓ 1 callers
Function
addMemberClickHandler
(memberId)
client/src/components/sidebar/sidebar.js:65
↓ 1 callers
Function
fetchChatMessage
()
client/src/components/chatbody/ChatBody.js:21
↓ 1 callers
Function
fetchUsers
()
client/src/components/sidebar/sidebar.js:54
↓ 1 callers
Function
getConnectedUserIds
()
client/src/components/sidebar/sidebar.js:46
↓ 1 callers
Function
getUserId
()
client/src/util/commonUtil.js:30
↓ 1 callers
Function
is_date
(date)
client/src/util/commonUtil.js:5
↓ 1 callers
Function
main
Run administrative tasks.
server/manage.py:7
↓ 1 callers
Function
redirectUserToDefaultChatRoom
(chatUsers)
client/src/components/sidebar/sidebar.js:17
↓ 1 callers
Method
render
()
client/src/routes.js:9
↓ 1 callers
Function
reportWebVitals
client/src/reportWebVitals.js:1
Function
HomeScreen
(props)
client/src/screens/home/HomeScreen.js:6
Function
Modal
({ modalCloseHandler, show, children })
client/src/components/modal/modal.js:4
Method
__str__
(self)
server/apps/user/models.py:12
Method
__str__
(self)
server/apps/chat/models.py:11
Method
__str__
(self)
server/apps/chat/models.py:20
Method
addOnlineUser
(self, user)
server/apps/chat/consumers.py:15
Function
addPeopleClickHandler
()
client/src/components/sidebar/sidebar.js:60
Function
chatMessageTypingHandler
(event)
client/src/components/chatbody/ChatBody.js:93
Method
chat_message
(self, event)
server/apps/chat/consumers.py:100
Method
connect
(self)
server/apps/chat/consumers.py:54
Method
create
(self, validated_data)
server/apps/user/serializers.py:51
Function
deleteCookie
(cookieName)
client/src/util/cookieUtil.js:24
Method
deleteOnlineUser
(self, user)
server/apps/chat/consumers.py:21
Method
disconnect
(self, close_code)
server/apps/chat/consumers.py:70
Function
getActiveChatClass
(roomId)
client/src/components/sidebar/sidebar.js:81
Function
getActiveChatId
(match)
client/src/util/commonUtil.js:64
Function
getAuthHeader
()
client/src/api/apiUtils.js:23
Function
getChatListWithOnlineUser
()
client/src/components/sidebar/sidebar.js:92
Function
getChatMessageClassName
(userId)
client/src/components/chatbody/ChatBody.js:39
Function
getCookie
(cookieName)
client/src/util/cookieUtil.js:8
Function
getFormatedChatUser
(chatUsers, onlineUserList)
client/src/util/commonUtil.js:39
Function
getLoginMessage
()
client/src/screens/auth/login/LoginScreen.js:32
Method
getOnlineUsers
(self)
server/apps/chat/consumers.py:11
Function
getPostRequestHeader
()
client/src/api/apiUtils.js:16
Function
getTimeFromDate
(date)
client/src/util/commonUtil.js:12
Method
getUser
(self, userId)
server/apps/chat/consumers.py:8
Method
get_queryset
(self)
server/apps/user/views.py:15
Method
get_queryset
(self)
server/apps/chat/views.py:30
Method
get_token
(cls, user)
server/apps/user/serializers.py:16
Method
get_userName
(self, Obj)
server/apps/chat/serializers.py:27
Function
jsonHandler
(response)
client/src/api/apiUtils.js:12
Function
logoutClickHandler
()
client/src/components/sidebar/sidebar.js:86
Function
messageSubmitHandler
(event)
client/src/components/chatbody/ChatBody.js:67
Function
modalOutsideClickHandler
(event)
client/src/components/modal/modal.js:7
Function
onSubmit
(signupData)
client/src/screens/auth/signup/SignupScreen.js:20
Function
onSubmit
(loginData)
client/src/screens/auth/login/LoginScreen.js:17
Method
post
(self, request)
server/apps/chat/views.py:17
Method
receive
(self, text_data)
server/apps/chat/consumers.py:79
Method
render
()
client/src/components/auth/AuthRequired.js:9
Method
saveMessage
(self, message, userId, roomId)
server/apps/chat/consumers.py:27
Function
sendGetRequest
(relativeUrl)
client/src/api/apiConnector.js:5
Function
sendPostRequest
(relativeUrl, requestBody, isAuth, isFormData)
client/src/api/apiConnector.js:15
Function
setCookie
(cookieName, cookieValue, expairydays = 30)
client/src/util/cookieUtil.js:1
Function
statusHandler
(response)
client/src/api/apiUtils.js:5
Method
validate
(self, attrs)
server/apps/user/serializers.py:43