Commit graph

53 commits

Author SHA1 Message Date
Sagar Vora
c1911a0858 refactor: remove unused parameter, minor cleanup 2021-02-16 14:16:30 +05:30
Sun Howwrongbum
31dee5d7d4
fix: send unique users during notify 2020-10-01 02:00:18 +05:30
prssanna
fa3c6096c5 style: missing semicolons 2020-06-18 14:50:45 +05:30
prssanna
1afdc6b992 feat: show users that are currently typing on the form 2020-06-18 14:50:45 +05:30
Suraj Shetty
b1cadbf018 fix: Limit retries 2020-04-12 20:03:24 +05:30
Suraj Shetty
033c183e53 style: Fix formatting and eslint issues 2020-04-12 19:39:52 +05:30
Suraj Shetty
5c8effe7a1 fix: Retry to join chat room till server starts 2020-04-12 19:30:43 +05:30
Aditya Hase
f3b959b1fe frappe: refactor async to realtime (#6015)
* frappe: refactor async to realtime

* frappe: refactor async to is_async
2018-08-28 15:31:20 +05:30
Faris Ansari
b3249fd23a feat(build): Log build errors in browser console (#5932) 2018-08-07 14:42:39 +05:30
Achilles Rasquinha
c269d433bd [min] remove dead code 2018-03-31 16:40:59 +05:30
Achilles Rasquinha
5ed33335de Merge branch 'develop' of https://github.com/frappe/frappe into website-chat 2018-03-26 16:01:55 +05:30
Achilles Rasquinha
72e2aec148 Fixed Codacy 2018-03-26 09:50:58 +05:30
Achilles Rasquinha
c480a86ac0 Fixed Codacy 2018-03-26 09:23:01 +05:30
Achilles Rasquinha
5f522510d5 Functional Website Chat 2018-03-26 01:36:03 +05:30
Achilles Rasquinha
0cff49c460 socketio.js cleanup 2018-03-25 22:35:46 +05:30
Achilles Rasquinha
474e219e97 Raw commit 2018-03-22 17:34:07 +05:30
Achilles Rasquinha
22a318a9ff fixed throttling 2018-03-19 19:10:57 +05:30
Rushabh Mehta
8f0465f57e [fix] socketio.js for firefox 2018-01-25 17:46:38 +05:30
Achilles Rasquinha
2d5d367298 chat-fixes 2018-01-02 12:50:36 +05:30
Achilles Rasquinha
0e68b8b175 remove socketio logs 2017-12-29 10:38:48 +05:30
Achilles Rasquinha
005cfe3dc8 🎉 NEW Frappe Chat (#4612)
* added doctypes, created frappe chat ui

* added component layout with state-like abilities, added apis

* updated user doctype, moved from state-like feature and component abstraction

* added room component

* fixed publish_realtime with after_commit = True

* created room component and searchbar

* minor fix

* functional message parsing

* update

* Added Chat Profile

* added chat message

* more changes into chat room

* fixed APIs, added client side scripting

* added chat message attachements, more doc updates

* Brand New UI with socket io room integration

* completed socketio integration. off to room subscription and publish

* realtime room update

* raw update

* initialized docs, added p2p connection for call tests

* updated docs

* added coverage, updated api for ease of use

* raw commit

* added test cases

* Chat Room updates and new room creation

* added chat group creation

* added collapsible plugin

* toggable room view

* updated

* [RAW]

* updated UI for chat

* Deleted Previous Chat Page

* moved from frappe.Chat.Widget to frappe.Chat

* modularized frappe-fab

* added more docstrings

* tried adding conversation tones

* Added conversation_tones and refurbished chat popper

* modified frappe.ui.Dialog, moved from AppBar to ActionBar, responsive for Mobile 💃

* moved RoomList item namespace

* Configurable Desktop update, moved profile updates to on_update

* added state change listeners

* removed AppBar to ActionBar customizable 💃

* added destroy method

* removed coverage, refactored group creation

* Successful Chat Rooms and Group creation

* sort rows based on last_message_timestamp or creation

* added frappe._.compare

* removed redundant less variables

* Chat Room back button with custom routing and destroy methods

* Added EmojiPicker

* fixed multiple dialog render

* setup quick access

* added chat chime, functional chat message list updates at room list

* deleted package-lock.json

* realtime date updates

* updated chat message list

* functional message render and updates

* added track seen

* added typing status

* updated typing status

* valid typing statuses and quick search

* Functional Quick Search

* reverted fix

* some more cleanup and promisifed

* fixed hints close on click

* updated fab boldness

* close popper on click panel

* close popper on click panel

* reverted octicon-lg, fixed popper heading click

* new frappe capture

* removed webcamjs

* added uploader and capture

* removed chat FAB, added as notification instead

* on message update
2017-12-28 18:58:43 +05:30
Rushabh Mehta
630d30d89a [fix] remove filter 2017-09-29 12:10:34 +05:30
Rushabh Mehta
9b6ad9022c [fix] smaller chunks, longer keep-alive (#4196) 2017-09-27 13:24:50 +05:30
Rushabh Mehta
7acefeb228 [minor] handle timeouts, disconnects and errors 2017-09-14 15:45:53 +05:30
Rushabh Mehta
1de26c939c [enhance] use socket-io to upload files 2017-09-14 13:07:29 +05:30
Rushabh Mehta
fd7e8eda62 [wip] file upload with socketio 2017-09-14 13:07:29 +05:30
Faris Ansari
e1b243996a Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
Rushabh Mehta
3da8267449 [temp] throttle socket io connection (#3260) 2017-05-10 17:23:13 +05:30
Rushabh Mehta
3b2a1227fb [minor] throttle doc_subscribed 2017-04-29 17:50:05 +05:30
Faris Ansari
743f7ab0aa New Build System using NodeJS (#3117)
* added build.js

* js babelify and concat, css concat working

* less wip

* live reload css working

* css reload on less change working

* added watch_js

* setup file watcher only in dev mode, don't compile variables.less

* Minify js files using babili

- Add --minify flag

* Set minify to false as default

* [minor] Remove redundant code

* Used subprocess instead of os.system

- Also added experimental flag
2017-04-20 11:58:21 +05:30
Rushabh Mehta
e2649975d2 [fix] use currentsite.txt only if host is localhost 2016-07-29 07:59:07 +05:30
Anand Doshi
c7e551809b [fix] socketio request.query 2016-06-06 15:43:01 +05:30
Rushabh Mehta
f97654a7c7 [grid] ux fixes and fixes for frappe/erpnext#5376 2016-05-30 15:44:42 +05:30
Rushabh Mehta
4aa2f441d5 [fix] missing modules POS and Learn 2016-03-16 13:00:24 +05:30
Rushabh Mehta
01e585482f [fix] [config] for new bench installs 2016-03-15 17:59:46 +05:30
Anand Doshi
a987e32f94 [fix] async and socketio 2016-03-07 14:56:42 +05:30
Anand Doshi
3b5f10e87e [fix] socketio - use ports defined in bench/config.json 2016-02-26 16:11:01 +05:30
shreyas
8cbc991037 [Fix] Getting redis and socketio from config for multi-bench setup 2016-02-24 22:55:39 +05:30
Luis Fernandes
9c929b8463 Add task_unsubscribe to socketio.js. 2016-02-02 13:42:47 +00:00
Anand Doshi
d57a1b4b98 [fix] Who is viewing - compatibility issue with socket.io v1.3.7 and v1.4.4. Fixes frappe/erpnext#1519 2016-01-18 13:04:25 +05:30
Nabin Hait
2181da8541 [fix] Error handling in socketio 2015-11-10 13:53:31 +05:30
Anand Doshi
40f679322b [enhancement] Show who is currently viewing a document 2015-11-02 19:38:30 +05:30
Anand Doshi
6084775ed0 Added CSRF token verification for desk 2015-09-21 11:41:06 +05:30
Anand Doshi
39826f2d72 [fix] Add communication into timeline in realtime 2015-09-14 16:28:07 +05:30
Anand Doshi
6983fa72f9 [fix] Show messages in realtime in the messages page 2015-09-14 15:41:27 +05:30
Rushabh Mehta
b39c9a5318 [fix] move socket init inside app init 2015-08-21 17:06:09 +05:30
Anand Doshi
38ecee919e [fix] set Communication status as Linked or Open during insert, deduplication in timeline, get_user_room in socketio 2015-08-20 12:57:28 +05:30
Rushabh Mehta
a15af7882b [realtime] clear doc locally if updated 2015-08-18 16:52:23 +05:30
Pratik Vyas
d0dcb6110e Fix site room 2015-07-24 10:08:09 +05:30
Pratik Vyas
88f9281e3b Namespace rooms to site 2015-07-24 10:08:09 +05:30