Commit graph

234 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
Faris Ansari
7595fb75ba
New ListView 💥 + DataTable (#4577)
* first cut

* Code refactoring, styling

* Added Sorting

* Revert query_report to use slickgrid

* cleanup

* Edit cell working

* Add regrid, remove datatable

* Add clusterize

* Update lib, fix get_checked_items

* New ReportView

* wip

* Enable editing, fix styles

* update lib

* wip

* fix refresh rows and editable cells

* Refresh list_view every 3s, decouple refreshing logic

* Report editing fixes

* Cleanup loading fields, add column then refresh list

* [wip] New List View

* [working] Render results

* ListView is now BaseList, add new ListView and GanttView

* Create new page for each ListView

* GanttView working

* CalendarView working

* KanbanView working

* Cache list_view based on page_name

* Gantt view buttons on mobile

* Add ReportView

* Refresh datatable on render

* Setup like

* [start][filters] clean up FilterList

* [filters] refactor FilterList

* [filters] minor fix

* [filters] fix remove filter

* filter utils

* more utils, remove apply

* rewrite as class, remove 'me' references

* [filter] implement on_change to decouple parent functions

* Integrate new filters with new BaseList

* Setup freeze area for ListView

* Set breadcrumbs on setup_page

* Trigger list update from events

* Setup footnote area

* Fix Kanban Board filters

* Add filters to standard filters, then filter_list

* Remove old files

* Fix ImageView

* Some more fixes for BaseList.init

* Fix order_by on load

* Report View: remember columns

* Fix for hidden filters

* Fix for delete items

* InboxView

* Shift select checkboxes

* Fix ESLint errors

* More refactoring

- Move ListMenu to Listview
- New FileView
- Ability to add custom breadcrumbs

* FileManager working

* Tags, set filters from route options

* Custom Reports Working

* List Sidebar reports

* Report Name as title

* Fix ESLint errors

* Fix UI tests

* Fix Kanban test

* Format ID column

* [fix] Kanban cards title

* Checkbox fix

* Fix Activity Page

* Update rows in Report in place

* Child Table columns in Report View
2017-12-27 11:24:25 +05:30
Prateeksha Singh
51fd6fa2b7
[hotfix] remove setup fail message
Else it also appears for non-cloud users, where we don't receive an email: https://discuss.erpnext.com/t/initial-setup-failed-dont-worry-its-not-you-its-us/31948/5
2017-12-25 18:47:41 +05:30
Faris Ansari
90c1bb1bfa [minor] Handle empty section name (#4676) 2017-12-25 13:32:12 +05:30
Prateeksha Singh
d5ad0ff2e8 Setup stages (#4618)
* setup complete stages

* [setup] better setup-in-progress card

* restructure setup exception flow

* use setup_stages hook

* Add message for non-dev mode, fail instead of error

* message to not include commits in app setup stages
2017-12-21 11:55:49 +05:30
Zarrar
9cf4a3a38d correct variable name (#4647) 2017-12-18 12:28:58 +05:30
Achilles Rasquinha
c4912135cf Fixed HR Module Page 2017-12-15 13:41:43 +05:30
Prateeksha Singh
a4ced6e4f2 [modules-page] route if module exists, fixes #4117, fixes frappe/erpnext#11548 (#4621) 2017-12-15 11:39:56 +05:30
Prateeksha Singh
d1aa5c60b4 [Multicheck control] (#4529)
* multicheck control

* [checkboxes] replace in domain settings

* [checkboxes] use in setup_wizard domains

* [multicheck] minor

* [multicheck] set and get value as an array

* [multicheck] make controls.less

* basic view control with value as array object

* load active domains

* selenium helper: multicheck

* [multicheck] make field if not present

* [multicheck] append control in an HTML field
2017-12-06 13:25:33 +05:30
Rushabh Mehta
5a9d38f767
[enhance] bench run-tests --doctype-list app/path/to/test.txt (#4561)
* [enhance] bench run-tests --doctype-list app/path/to/test.txt

* [fix] tests for doctype-list-path

* [fix] tests for doctype-list-path
2017-12-01 12:05:06 +05:30
Shreya Shah
4c79799131 added try catch block in patch (#4522) 2017-11-22 16:23:27 +05:30
Shreya Shah
acdbb97ba5 Moved feed from Communication to Activity Log (#4435)
* Removed comment_type 'updated'

* New doctype activity log

* Moved feed.py to activity_log

* Updated feed gets stored in activity_log

* Activity page fetches feed from activity_log

* feed match condition change

* modified

* modified hooks.py

* modified sessions.py

* patch added

* naming in patch

* moved login, logout feed to activity_log

* changes in auth.py, hooks.py

* deleted doctype authentication_log and added test cases

* added utils.py in core

* moved some methods from communication.py to utils.py
2017-11-21 15:46:51 +05:30
Prateeksha Singh
3bb628ffdb update charts to latest (#4472) 2017-11-13 17:21:13 +05:30
Saurabh
8f07515b45 Merge branch 'master' into develop 2017-11-08 12:03:43 +05:30
pratu16x7
e9209151cf [fix] setup complete state colors 2017-11-06 10:10:01 +05:30
Prateeksha Singh
5d0c7c9e6b
Revert "[hotfix] setup complete state colors" 2017-11-06 10:05:39 +05:30
Prateeksha Singh
909bab0bad
Merge pull request #4430 from pratu16x7/hotfix
[hotfix] setup complete state colors
2017-11-06 10:03:22 +05:30
pratu16x7
e90abdfc58 [fix] setup complete state colors 2017-11-06 09:58:05 +05:30
Shreya
3e27e061c1 revised according to latest merge 2017-10-31 13:22:58 +05:30
Shreya
0f4bbe185e fixed heatmap 2017-10-31 13:12:13 +05:30
Rushabh Mehta
f0e23a5a6c [refactor] domain and domain settings (#4163)
* [refactor] domain and domain settings

* [fix] test_domain.py

* [fix] patches

* [fix] domain activation after setup

* [fix] tests and lint

* [fix] tests and lint

* [enhance] better prompt naming

* [fix] setup wizard test

* [fix] testing

* [minor] new item in quick entry from form dashboard
2017-10-17 12:29:08 +05:30
Makarand Bauskar
ecd1550c3b [minor] fixes for delete chat button (#4277) 2017-10-09 13:10:23 +05:30
Faris Ansari
d20f9e2895 Data Migration Tool (for hub) (#4144)
* migration tool

* custom field for primary key added

* foreign key and multiple linking F_key issue resolved

* refined code

* many-to-one mapping temp fix

* added support for pre-process + cleaned up code

* [various] fixes to setup wizard for developer mode, frappe.enqueue_doc, share with assign

* Refactor data migration module

* added migration for hub

* Add "Skip errors" in data import tool

* move db_set to document.py

* Add Data Migration Run

* Dynamic Migration ID

* move run() from Mapping to Run

* Push Deleted Documents

* fixes

* [migration] doc operation counts

* insert and update instead of push in connection

* fix count and total_pages, skip sync if total_pages is 0

* [migration] child tables

* fix complete()

* [page] remove required libs

* Add sidebar.js, rename old sidebar.js to form_sidebar.js

* [minor] get_empty_state fixes

* svg in icon

* remove image check

* fix codacy

* fix is_child_table check

* [connector] add get_list()

* Add test for Data Migration Run

* fix test

* truncate tabNote

* fix test

* sync todo with event to fix test

* fix db count

* [mapping] export Mapping to json

* Add docs for Data Migration Tool

* [migration] pull data as list, test case

* [hub] remove mapping export to files

* Pull refactor

* [test]

* Add comments

* [mapping] exec in mapping formula

* fix codacy

* fix codacy

* Remove exec for pre-process and post-process

* Add pre and post process for Push

* Remove formula

* fixes

* [refactor] add failed_log to pull, handle error in pull

* [test] Push, pull, update

* Fix codacy, fix insert_doc for pull

* Set migration id on successful insert

* fix update_doc

* fix update_doc

* method is a function

* child table mapping

* Refactor logging

* fix update_doc again

* fix hostname, password

* update docs, minors

* Remove assign_if_none

* Remove error handling from connection methods

* [refactor] Data migration run

* Break push stages into methods

* Migration run refactor

- fix test
- add separate fields for logging

* fix codacy

* fix hostname password

* fix test
2017-10-05 11:15:35 +05:30
Nabin Hait
b2945fd5b5 Fixed merge conflict 2017-09-26 16:05:38 +05:30
pratu16x7
a15c2a53a2 [minor] 2017-09-26 12:27:47 +05:30
pratu16x7
40e57efa52 [setup] indicator and check color 2017-09-26 12:05:50 +05:30
Faris Ansari
5162d2d3e9 Better keyboard navigation in setup wizard
- call action_complete when enter is pressed on last slide
- disable keyboard navigation on action_complete
- fixed eslint
2017-09-23 14:45:47 +05:30
pratu16x7
70e1158c45 [fix] don't make toolbar while in setup 2017-09-22 03:07:44 +05:30
Rushabh Mehta
da0a4ea7fd Merge pull request #4065 from pratu16x7/page-fixes
[page] add empty state, required libs, callback
2017-09-14 11:24:47 +05:30
Nabin Hait
1d2525d6ce [refactor] Load languages on load of slide 2017-09-13 19:41:33 +05:30
pratu16x7
3589a0b8b1 [page] add empty state, required libs, callback 2017-09-13 09:21:11 +05:30
pratu16x7
6fb4984e41 remove cal_heatmap 2017-09-12 11:34:15 +05:30
Rushabh Mehta
b5a4c34131 Merge pull request #4069 from pratu16x7/setup-fixes
[fix] remove reload after setup
2017-09-06 14:59:54 +05:30
pratu16x7
c87710f25b [fix] remove reload after setup 2017-09-06 12:06:32 +05:30
Rushabh Mehta
2251d32e5d Merge pull request #4061 from pratu16x7/setup-fixes
[setup] fix keyboard nav
2017-09-06 10:41:25 +05:30
pratu16x7
11709b31ec [setup] keyboard nav 2017-09-05 13:31:04 +05:30
Aditya Hase
8717deb169 Use six.moves.reload_module instead of reload 2017-09-04 16:05:57 +05:30
pratu16x7
0776e79cb2 [setup] new loading state, remove setup_wizard.css 2017-09-04 10:29:14 +05:30
pratu16x7
bf4eab3bc2 [progress] dismiss on completion 2017-09-01 17:48:09 +05:30
pratu16x7
7d2c96b2d4 [progress] add is_first_startup flag to show dialog 2017-08-31 14:57:14 +05:30
pratu16x7
ce8d3e6871 [user-progress] route post setup route 2017-08-29 10:20:30 +05:30
pratu16x7
91c2e57fdb [setup wiz] fixes 2017-08-29 10:03:06 +05:30
pratu16x7
e847ffce30 [user-progress] cleanup 2017-08-29 10:03:05 +05:30
pratu16x7
674308958a [setup-wiz] UI test command 2017-08-29 10:03:04 +05:30
pratu16x7
89aff93a5e [setup-wiz] fix setup complete state 2017-08-29 10:03:04 +05:30
pratu16x7
c17bf0a04d [slides] setup wizard refactor 2017-08-29 10:03:04 +05:30
pratu16x7
af169b6e4b [slides][wip] setup wizard slide container 2017-08-29 10:03:03 +05:30
pratu16x7
347cd50db8 [slides] container controls slides 2017-08-29 10:03:03 +05:30
pratu16x7
6527a17251 [user-progress] Slides as container object, dismiss button 2017-08-29 10:03:03 +05:30
pratu16x7
5f988c3d7b [user-progress] first cut 2017-08-29 10:03:03 +05:30