Commit graph

717 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
eea0943c4c
ListView Fixes (#4691)
* List Row click fix

* Fix Date Editing

* Firefox checkbox fix

* Checkbox fix

* Add standard fields in doctype, show all valid fields in Child Doctype

* codacy

* FIx List View column layout

* Validate column name

* [FileView] Add Created On column, Toggle Grid View
2017-12-28 11:48:13 +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
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
Faris Ansari
7576c01172 Various
- Data Import Status in listview
- Commit desk.css
- Remove refresh_fields from set_read_only
2017-12-15 14:50:47 +05:30
Prateeksha Singh
3030c6d212 replace rumble with simple cute wiggling (#4628) 2017-12-15 14:20:24 +05:30
Prateeksha Singh
5763766248 [tags] Remove taggle (#4631) 2017-12-15 14:18:53 +05:30
Manas Solanki
520bfc2ae4 New data import (#4601)
* created/moved the files

* added the model for the downloading the data

* add the file with the error data

* changes added other changes and fix codacy

* changes in the config and utils files

* fixed the test cases

* minor changes in the data keys dict

* changed the test file location

* fixed the tests

* set the route in the list view and show only erors

* minor fixes in the childtable import and log tables rendering

* Refactor Download dialog to use MultiCheck
2017-12-15 12:17:24 +05:30
Prateeksha Singh
3565ca48b0
Merge pull request #4606 from netchampfaris/Tab-focus-checkbox
Tab focus checkbox
2017-12-12 14:51:05 +05:30
Prateeksha Singh
1edc2b2936 update charts docs 2017-12-12 14:27:53 +05:30
Faris Ansari
576e927313 Tab focus checkbox 2017-12-12 12:32:55 +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
pratu16x7
f4151a3e0b [fix] align checkboxes with text inputs, fixes frappe/erpnext#11588 2017-11-20 12:45:28 +05:30
Prateeksha Singh
af9d7dc07c add disabling of dialog primary button (#4503) 2017-11-16 14:29:03 +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
Faris Ansari
ab8de1d83f
New Control: MultiSelect (#4425)
* New Control: MultiSelect

* fix codacy
2017-11-03 14:57:56 +05:30
Prateeksha Singh
875b965d40 use the new frappe charts :D (#4410) 2017-10-31 12:53:11 +05:30
Faris Ansari
5508651485 Browse attached images in Image View (#4374)
* Browse attached images in Image View #4141

* fix codacy
2017-10-26 17:45:53 +05:30
Faris Ansari
8eac4bc124 Styling for Attach control (#4340)
* Update attach.js

* Add attach control styling to form.less

* Add margin
2017-10-18 12:54:58 +05:30
Prateeksha Singh
1e253b9d13 [controls] Barcode Control (#4335)
* [start] display barcode based on input

* [wip]

* [barcode] use set_value

* parse and set

* remove quagga

* [barcode] set in db

* [fix] set height

* cleanup

* remove from build.json, require instead

* [fix] declare JsBarcode global in .eslintrc
2017-10-18 12:24:58 +05:30
Omar Jaber
071947cd32 Fix fields style in reports for RTL direction (#4178)
This code will fix fields style of the reports in RTL direction
2017-10-17 15:19:04 +03:00
Prateeksha Singh
7e9cce2d3b C3 to Charts (#4228)
* make AxisGraph

* remove jquery and snap

* [major] refactor, svg animations, rename to charts

* remove c3, d3

* [Charts] renaming and namespacing

* [fix] codacy

* Replace in grid report with plot, fixes
2017-10-17 12:02:39 +05:30
mbauskar
6640774b75 Merge branch 'master' into develop 2017-10-11 14:38:27 +05:30
Makarand Bauskar
77f55a0ee1 [hotfix] fixed margin for disabled check field (#4293) 2017-10-10 13:48:20 +05:30
Saurabh
8744795c45 Merge pull request #4284 from saurabh6790/upload_attendance_fix
[hotfix] if no_socketio specified, upload file with FileReader
2017-10-10 11:14:39 +05:30
Saurabh
884555b645 [fix] if no_socketio specified, upload file with FileReader 2017-10-09 16:12:00 +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
Rushabh Mehta
8682f87594 Merge branch 'master' into develop 2017-09-29 16:12:36 +05:30
Rushabh Mehta
9728e62fa6 Merge pull request #4156 from OmarJaber/patch-1
RTL direction of chart reports
2017-09-29 15:14:55 +05:30
Rushabh Mehta
0a6b637681 [fix] default email subject should be title 2017-09-29 10:05:47 +05:30
Nabin Hait
6bf332eba7 Merge branch 'master' into develop 2017-09-27 17:18:54 +05:30
Rushabh Mehta
fbf8da1d37 [minor] compileall after migrate, might solve timeouts on VM (#4197) 2017-09-27 15:31:51 +05:30
Nabin Hait
b2945fd5b5 Fixed merge conflict 2017-09-26 16:05:38 +05:30
Makarand Bauskar
af88921ec4 [minor] Fix checkbox margin in RTL (#4148) 2017-09-26 11:47:44 +05:30
Rushabh Mehta
52936f724e [fix] cleanup style for blog listings 2017-09-24 12:05:23 +05:30
pratu16x7
532e2e2dcd [navbar] layout fixes 2017-09-22 01:05:17 +05:30
Omar Jaber
16c6d64eac RTL direction reports chart problem
This will edit the style of charts in the system
2017-09-21 14:02:36 +03:00
Rushabh Mehta
d4fd3efef4 [fix] checkbox editor 2017-09-21 15:31:12 +05:30
Rushabh Mehta
82c9357b50 [fix] item selector 2017-09-21 14:55:13 +05:30
Rushabh Mehta
c86176c572 Merge pull request #4140 from mbauskar/control-code
[minor] reverted code control's background color to white
2017-09-18 15:54:42 +05:30
mbauskar
cd7b1c16cd [minor] used @text-color for color attribute instead of black 2017-09-18 15:53:16 +05:30
mbauskar
24dd16f51e [minor] reverted code control's background color to white 2017-09-18 12:07:38 +05:30
Rushabh Mehta
1de26c939c [enhance] use socket-io to upload files 2017-09-14 13:07:29 +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
pratu16x7
2b200bcf7f [heatmap] choose continuous for dashboard 2017-09-12 10:52:25 +05:30