Commit graph

117 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
Achilles Rasquinha
61b2b25981 [FIX] Fix XSS (#4560)
* [FIX] login xss

* [FIX] Client Side Sanitization

* moved from frappe to frappe.utils

* added strategies

* removed console.log

* fixed codacy

* XSS sanitization at login

* moved to common js - xss_sanitize
2017-12-13 16:25:06 +05:30
Nabin Hait
1d93c66285 Fixed merge conflict 2017-09-25 16:30:08 +05:30
Manas Solanki
18d17e2fd5 datepicker in the web form 2017-09-24 19:11:24 +05:30
Rushabh Mehta
57dfa412af [fix] web form datepicker, trigger change event 2017-09-23 16:10:37 +05:30
Faris Ansari
0180b3fd3a fix success spelling 2017-09-14 11:54:21 +05:30
Rushabh Mehta
884f00eed8 Update web_form.js 2017-09-14 11:13:40 +05:30
Manas Solanki
f9988fafe9 don't route to success message for the website user 2017-09-13 18:59:52 +05:30
Rushabh Mehta
faee27f773 [fix] [translation] switch to desk, #3328 2017-09-04 22:26:12 +05:30
Rushabh Mehta
2ab07f4275 [feature] autoname prompt, refactor control.js, fixes frappe/erpnext#8940 2017-08-24 18:35:07 +05:30
Alex Ford
78c03b90c3 lgtm minor fixes (#3580)
* Replace a typeof test against undefined with comparison against a string

* Add rel='noopener noreferrer' attributes to target='_blank' links

* Remove a duplicate object property definition

* Remove superfluous argument to function call

* Remove some variable declarations for which the assigned value is never read

* Remove an assignment to a variable that is never read
2017-07-03 12:25:07 +05:30
Manas Solanki
bb7cfda345 Success message and redirect url should also work for 'login require' types webforms
fixes https://github.com/frappe/erpnext/issues/9073
2017-06-21 18:37:52 +05:30
Faris Ansari
e1b243996a Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
Rushabh Mehta
89895718b2 [fix] invalid login, #3060 2017-04-12 12:21:13 +05:30
Rushabh Mehta
3076b2cc7a [fix] frappe.ready 2017-03-31 16:36:33 +05:30
Faris Ansari
75eecb500c [webform] fix readonly texteditor 2017-03-20 17:52:11 +05:30
Rushabh Mehta
75855de5bb [minor] fixes to web form, listview, add portal items via hooks 2017-02-28 17:49:45 +05:30
Rushabh Mehta
8ac3a9a7ca [web-forms] added text-editor and using div in summernote instead of p 2017-02-28 12:13:36 +05:30
Nabin Hait
814c235efd Merge branch 'master' into develop 2017-02-16 15:59:16 +05:30
Saurabh
19feb398cf [urgent][fix] keep origional regx 2017-02-16 15:55:48 +05:30
Nabin Hait
20668995ec Fixed merge conflict 2017-02-16 14:34:27 +05:30
Rushabh Mehta
86ceb21005 [feature] Global Search (again) (#2710)
* [start] global search frappe/erpnext#6674

* [fix] setup before running test

* [start] global search frappe/erpnext#6674

* Display result as rudimentary list, rebuild old doctypes

* Media view, child tables, delete document updates, searchable fields

* More results UI

* Code clean up

* remove msgprint from document.py to resolve merge conflict

* Modularization stage 1, get show more to work with it

* Dedicated modal Search bar works, some clean up needed

* Can't data-dismiss on links, Bootstrap issue, use hashchange

* Accomodate missing field content syndrome

* Search in boolean mode, make GS default in awesome bar, fix double modal bug and cleanup

* Add in Meta

* Add in customize form

* Modularise Global Search

* Search object

* Commonify Search UI: Stage I

* II: save list state, UI, default condensed view, refactor

* Fix SQL bug, Refactor awesome bar, Fix unicode bug, add nav results

* Refactor using separate search objects, some async issues

* Fix async flow

* Fix preceding more list bug

* UI additions

* another async fix, back link

* Help: Stage I

* Help: Stage II

* Background jobs, fix route options bug

* Fix GS syncing on install

* Add GS options in awesome bar: test

* Input now remembers search type state

* More UI updates

* Add description for GS results in awesome bar

* Fix help modal bug

* Fix: not commit during install

* Test cases, some fixes

* Update in_test flag in enqueue

* Disable GS sync when not install_db

* Add flag check

* Disable field in child tables

* Cleanups

* Create table fix

* Fix redis exception, remove commit enqueue, add gs in migrate

* Fix tests

* Single enqueue

* cleanups

* Fix tests

* Fix event test

* Fix duplication, search as first option

* Add show name in global search

* fix event tests and desk.less

* Fix communication.json

* [fixes] wip

* [fix] tests

* [minor] for tests

* [minor] for tests

* [minor] for tests

* [minor] for tests
2017-02-13 14:50:54 +05:30
Rushabh Mehta
1f58e36d37 [fix] email validation 2017-02-11 21:19:11 +05:30
Saurabh
e795c08367 [typo][fix] remove double quotes from regx 2017-02-09 16:55:39 +05:30
Nabin Hait
b784138436 Fixed merge conflict 2017-02-08 11:31:58 +05:30
Saurabh
b32cb3d203 [minor][fix] validate email using regex (#2656) 2017-01-31 17:57:03 +05:30
Rushabh Mehta
042e2b09cb [design] Redesign, cleanup Login, Message pages (#2564)
* [cleanup] login, message pages

* [style] cleanups

* [cleanup]

* [cleanup] update password

* [fix] name for web form (fixes edit-profile)
2017-01-10 14:44:42 +05:30
Rushabh Mehta
67de814f26 [fix] missing translations #2494 2016-12-27 12:58:58 +05:30
Rushabh Mehta
0c15b1b160 [minor] set a default locale for web 2016-12-12 12:08:17 +05:30
Rushabh Mehta
7bc7e3bc63 Upgrade Font Awesome (#2410)
* Font-Awesome V3.x to V4.x

Font-Awesome V3.x to V4.x

* Font Tidy

Font Tidy

* FA4 Upgrade - Html Js & Json

FA4 Upgrade - Html Js & Json

* Minor

Minor
2016-12-05 13:07:03 +05:30
Faris Ansari
f4f7fdefac [ui] multilevel dropdown fix 2016-08-03 16:16:07 +05:30
Faris Ansari
65f94ea85e comment out offcanvas related code
[minor] toggle-sidebar button in form view

delete offcanvas code
2016-07-20 13:27:48 +05:30
Anand Doshi
5ebfe2e771 [fix] show clickable link in expiry message 2016-07-14 16:27:33 +05:30
Rushabh Mehta
ef176d8926 [cleanup] contact 2016-07-07 15:21:17 +05:30
Rushabh Mehta
495138e52f [minor] fix contact link 2016-07-07 14:02:07 +05:30
Faris Ansari
c05e139366 dropdown in portal fixed 2016-07-04 15:54:11 +05:30
Neil Trini Lasrado
ec464b09c1 Make frappe.session_user available for web_forms 2016-06-29 14:52:06 +05:30
Anand Doshi
31ad8d5837 [fix] number format and website messages 2016-06-24 18:06:42 +05:30
Anand Doshi
a30a7132b6 [fix] website.js - msgprint 2016-06-22 20:21:14 +05:30
Rushabh Mehta
e9847476d1 [cleanup] [web] styles 2016-04-21 13:10:33 +05:30
Kanchan Chauhan
1e7ddf4404 Changes 3 2016-04-20 16:23:09 +05:30
Rushabh Mehta
ef26877689 [enhancement] default user images based on user name 2016-04-01 19:16:08 +05:30
Rushabh Mehta
301c654232 [fix] freeze web form while saving 2016-03-30 14:55:48 +05:30
Rushabh Mehta
45048ac41a [realtime] ability to get socket working in website, now_datetime should not be timezone aware and web-form properties should take preceedence 2016-01-27 12:26:21 +05:30
Rushabh Mehta
2c14241fc4 [minor] add success callback in website.js 2016-01-19 16:27:33 +05:30
Rushabh Mehta
1a3c70cccb [enhancement] dialog in website via dialog.min.js and some re-org of js code 2016-01-07 16:55:02 +05:30
Anand Doshi
babd355fe4 [cleanup] removed toggle template blocks 2016-01-04 16:50:11 +05:30
Anand Doshi
19c1d651f2 [hotfix] removed load_via_ajax 2016-01-04 16:28:42 +05:30
Anand Doshi
33d45b4e52 Merge pull request #1493 from rmehta/load-js-after-html
[website] load js after html
2016-01-04 11:40:40 +05:30
Rushabh Mehta
eac452a926 [cleanup] web templates, now using standard jinja architecture and removed push-state 2016-01-01 17:49:25 +05:30