Commit graph

40 commits

Author SHA1 Message Date
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
Aditya Hase
a3070690fd FileAndRedisStream inherits io.FileIO instead of file (#3826)
io.FileIO is available in both Python 2 and 3, file is removed in
python 3.
2017-08-02 16:58:07 +05:30
Rushabh Mehta
9f97ce568a [tests] allow test anywhere in app and add boilderplate _test_controller.js (#3724)
* [tests] allow test anywhere in app and add boilderplate _test_controller.js

* [fix] test_number_format.js

* [minor] dont run test_runner.js

* [test] _test_module_menu.js

* [test] why is browser crashing?
2017-07-18 18:01:54 +05:30
Rushabh Mehta
72569d1313 [fix] file .zip upload; 2016-12-05 17:39:52 +05:30
Rushabh Mehta
22c3f7966d [enhance] run actions in background doc.queue_action("submit") 2016-07-19 17:12:37 +05:30
Rushabh Mehta
db9ba845e5 [enhancement] bulk update tool! 2016-07-15 16:28:20 +05:30
Anand Doshi
a48dd50381 [fix] with frappe.init_site, worker and schedule commands, cleanup and fixes to rq code 2016-04-13 19:28:04 +05:30
Valmik Jangla
a2ad631754 Removed / Replaced Celery related code 2016-04-11 17:39:06 +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
Rushabh Mehta
6caf6fb6f1 [enhancement] prompt user to reload on migration 2016-01-07 15:35:17 +05:30
Anand Doshi
357e61f9d5 [fix] injection 2015-11-17 18:27:29 +05:30
Pratik Vyas
62b32807a2 [minor] Add hijack_std option to async handler 2015-11-02 11:47:55 -08:00
Pratik Vyas
3dbb988792 bench changes 2015-11-02 11:47:55 -08:00
Rushabh Mehta
9fe2c15356 [fixes] [session] expiry, session async 2015-09-18 14:52:56 +05:30
Anand Doshi
6983fa72f9 [fix] Show messages in realtime in the messages page 2015-09-14 15:41:27 +05:30
Rushabh Mehta
4cec51e65d [celery] cleanup and made monitor optional and real time in data import 2015-09-08 17:20:37 +05:30
Rushabh Mehta
eb4e622067 [enhancement] add celery task to Async Task for logs, tracking 2015-09-08 17:20:36 +05:30
Rushabh Mehta
c600a302bb [enhancement] Added progress bar in data import tool
async.py: in `publish_realtime`, `event` is now optional, if called from within task
importer.py: send record count being updated using `frappe.publish_realtime`
ui/messages.js: added new tool `frappe.get_progress(title, count, total)` that will show progress bar realtime
2015-09-02 11:51:41 +05:30
Anand Doshi
12550a5729 Merge pull request #1270 from anandpdoshi/async_fix
Use from_async
2015-08-24 14:29:15 +05:30
Anand Doshi
10d338d5b1 Merge pull request #1269 from rmehta/async-fix
[fix] session for async
2015-08-24 13:49:10 +05:30
Anand Doshi
7cde7fa507 [minor] Use from_async 2015-08-24 13:35:37 +05:30
Anand Doshi
09ebb908ad [fix] use frappe.as_json in emit_via_redis 2015-08-24 12:39:02 +05:30
Rushabh Mehta
780afa4cb1 [fix] session for async 2015-08-24 11:21:08 +05:30
Rushabh Mehta
acc4252ce7 [fix] task via async 2015-08-21 23:37:58 +05:30
Anand Doshi
65bc63f031 [fix] document refresh notification for same user in different tabs/sessions 2015-08-21 12:56:48 +05:30
Anand Doshi
c87befc876 [fix] realtime comments 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
Rushabh Mehta
6d08f862b0 [cleanup] realtime 2015-08-17 18:22:27 +05:30
Anand Doshi
915bd7f17c [minor] changed no_async to disable_async for consistency 2015-08-17 16:01:58 +05:30
Rushabh Mehta
74bc524416 [test] fix test_async 2015-08-14 15:08:40 +05:30
Rushabh Mehta
e41bfe3003 [minor] [ux] refresh button primary in reportview 2015-08-03 17:25:06 +05:30
Pratik Vyas
a675566337 Ignore ConnectionError in emit_via_redis 2015-07-24 10:08:29 +05:30
Pratik Vyas
88f9281e3b Namespace rooms to site 2015-07-24 10:08:09 +05:30
Pratik Vyas
bd8b0e9686 Add no_async 2015-07-24 10:08:09 +05:30
Pratik Vyas
a2cba96938 Fix write 2015-07-24 10:08:09 +05:30
Pratik Vyas
43360c54d5 Expire task logs in one hour 2015-07-24 10:08:09 +05:30
Pratik Vyas
f8bc9877b6 SocketIO push messages 2015-07-24 10:07:25 +05:30
Pratik Vyas
dc3f3b7f08 Async comments WIP 2015-07-24 10:07:25 +05:30
Pratik Vyas
422668a67f Async 2015-07-24 10:07:24 +05:30