Commit graph

141 commits

Author SHA1 Message Date
Achilles Rasquinha
d6a6a11808 revert 2018-01-23 14:13:26 +05:30
Achilles Rasquinha
f1f91e44a9 Fixed showdown.js 2018-01-23 13:18:54 +05:30
Achilles Rasquinha
b04e3cce42 New Chat RoomView Layout 2018-01-22 18:35:25 +05:30
Achilles Rasquinha
27e5cf6967 some minor updates 2018-01-21 11:46:58 +05:30
Faris Ansari
eff0183151
Listview fixes (#4827)
* Rename _fields to fields

* Update datatable lib
2018-01-18 15:39:40 +05:30
Achilles Rasquinha
7f5cef23ec cleaner chat-message and chat-room apis 2018-01-14 22:16:30 +05:30
Achilles Rasquinha
42b5fc0f87 scroll to bottom of chat window, always 2018-01-09 11:27:05 +05:30
Faris Ansari
4a30a52568
Keep indexes in Sr. No after sort, fix flash on render (#4728) 2017-12-29 17:43:02 +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
Faris Ansari
2f86cd82ff
Strip HTML for ListView columns (#4703)
* Don't show Text Editor columns in ListView

* [ListView] Strip HTML for all columns

* [DataTable] Edit Text Editor fields in dialog

* [fix] strip_html

* [fix] Dynamic title fields
2017-12-28 15:36:19 +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
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
pratu16x7
7a41980b41 [charts] update color usage 2017-11-22 10:23:00 +05:30
pratu16x7
8507b41a39 update charts version 2017-11-21 23:22:24 +05:30
Prateeksha Singh
3bb628ffdb update charts to latest (#4472) 2017-11-13 17:21:13 +05:30
Prateeksha Singh
875b965d40 use the new frappe charts :D (#4410) 2017-10-31 12:53:11 +05:30
Revant Nandgaonkar
ebf3554754 Geolocation control (#4327)
* added static map field

* leaflet draw plugin added to map control

* Editable layer working no icons

* Save and load data in form field

* images and icons working

* Locate plugin added, and loads on geolocation

* organized map control code

* loads layer as per form

* new form clears editableLayers

* update: leaflet 1.2.0 and leaflet-draw 0.4.2

* changed to ERPNext colors

* Multiple map fields and fixes

* fixes codacy suggestions

* loaded geojson data editable

* Map layers editable

* add only one layer on draw:create

* code organized with helper functions

* Replaced Leaflet Draw with Leaflet Editable

* read values from database

* layers saved in db

* Using Patched Leaflet Draw (mobile-friendly)

* Working Map field with multiple forms open

* Leaflet Draw css image path fix

* Leaflet Draw

Fixes Leaflet draw css image paths
Fixes Circle marker and Circle

* locate to geolocation or set featurecollection as center

* [fix] leaflet fitBounds padding 50,50

* [Fix] Leaflet (auto) locate

* Map field basic test

* added refresh button on map

* Mute map geojson in print format

* renamed Map field to Geolocation

* Suggested changes and fixes

* eslint disable

* csslint allow important
2017-10-25 18:30:25 +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
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
Achilles Rasquinha
f7a82e727d updated README.md, we need better readmes 2017-09-25 21:41:40 +05:30
Achilles Rasquinha
6a4dcb58af Wiggle Desktop Icons to have them removed, works for current user only - the iOS feel 2017-09-25 19:15:14 +05:30
pratu16x7
6fb4984e41 remove cal_heatmap 2017-09-12 11:34:15 +05:30
Ashwini Save
6a42fa0f56 Tree print (#3980)
* Warehouse tree : print option.

* Chnages in print layout of Warehous tree view suggested by Faris
2017-08-28 18:06:14 +05:30
system19
fc22c31ab0 Update lib fullcalendar.js and moment.js (#4000)
fullCalendar.js v3.0.1 to v3.4.0
fullCalendar.css v3.0.1 to v3.4.0
moment.js
version 2.14.1 to version 2.18.1
moment-timezone.js
version 0.5.4 to version 0.5.13
2017-08-28 11:20:07 +05:30
Rushabh Mehta
798451d254 [fixes] lots of fixes to signature and added support for print_width frappe/erpnext#9686 (#3979)
* [fixes] lots of fixes to signature and added support for print_width frappe/erpnext#9686

* [minor] timeout not required

* Update layout.js
2017-08-23 18:12:59 +05:30
Rushabh Mehta
f409fd7358 [ui-tests] python is back! (#3565)
* [ui-tests] python is back!

* [minor] remove old test

* [test] dont test test_runner

* [tests] try firefox

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome 1

* [tests] try chrome 2

* [tests] try chrome 3

* [tests] try phantomJS

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] login click button

* [tests] login click button

* [tests] show log

* [test] test with start_maximized

* [test] test only login

* [travis] test another port for selenium

* [travis] try running ui tests after unittests are done

* [travis] pring body_div if fails

* [tests] complete setup wizard for frappe

* [minor] move ui tests to frappe/ui/tests

* [tests] ui tests in public and codacy fixes

* [fix] tests + eslint

* [minor] move tests to tests/ui folder and print console after print

* [fix] linting

* [tests] added documentation and better integration testing

* [promise] form triggering is now promise based

* [test]

* [test]

* [test]

* [test]

* [test] print output

* [minor] default empty in select and print console

* [cleanup] more minor fixes

* [enhance] first-cut done!

* [minor] frappe.run_serially to pass arguments while chaining
2017-07-03 11:53:00 +05:30
Faris Ansari
03e5dd2eb6 Handle large duration tasks (#3509)
frappe/erpnext#8724
2017-06-20 09:23:35 +05:30
Faris Ansari
83c535652d Kanban cleanup (#3501)
* Kanban empty state frappe/erpnext#8849

* Add card UX
2017-06-19 09:03:18 +05:30
Makarand Bauskar
fdd6873c5e [minor] print_template and frappe.render_grid fixes (#3476) 2017-06-14 16:08:27 +05:30
Mohammed R Abukhamseen
a09fa6f769 Add Arabic translation for datepicker (#3453)
* Add persian right to left

* Update locale-all.js

Add Arabic translation for datepicker
2017-06-13 14:26:53 +05:30
Faris Ansari
8d2bb6bc95 Fix frappe/erpnext#9115 (#3449) 2017-06-09 17:01:52 +05:30
Nabin Hait
bd8f0c24ba Merge branch 'master' into develop 2017-06-07 12:11:35 +05:30
Faris Ansari
bcb195fa1c Update frappe-gantt to 0.0.6 (#3434) 2017-06-06 18:05:00 +05:30
Faris Ansari
e1b243996a Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
Faris Ansari
78c9278220 Fix print report (#3368) 2017-05-23 17:09:30 +05:30
Faris Ansari
70e8e007f1 [Printview] Show Landscape view if columns more than 10 (#3336)
- frappe/erpnext#6596
2017-05-19 10:40:14 +05:30
Prateeksha Singh
743cfc625e [fix] hide popovers on blur frappe/erpnext#8721 (#3330) 2017-05-18 12:19:52 +05:30
Faris Ansari
de00b1db4c Update gantt library (#3299)
- Fixes frappe/erpnext#8531
2017-05-18 11:57:01 +05:30
Rushabh Mehta
a9ec46545b [fix] socketio 2.0 (#3257) 2017-05-10 13:58:25 +05:30
Faris Ansari
65909ca530 Fix Slickgrid invalid assignment 2017-05-02 09:53:52 +05:30
Prateeksha Singh
18572c0758 Summernote image insert modal (#3029)
* modify summernote modal base HTML

* Image modal working

* set modal option to image
2017-04-12 15:47:52 +05:30
Faris Ansari
70078d7450 [fix] SlickGrid keyboard shortcuts (#3061)
- frappe/frappe#2987
2017-04-11 15:27:57 +05:30
joezsweet
b0fab786b4 fix Datepicker - Calendar localization compatibility (#2992) 2017-04-10 12:45:29 +05:30
Rushabh Mehta
54df9298f8 [enhance] Signature Control (#3024)
* - Add controller for signature field, including buttons for save and reset
- Add library and style

* Add DB mapping for Signature field -> fix bug not saving
Add empty image, and auto load image when loading form
Add option for Signature field type on Doctype form

* Make field uneditable after submitting

* Remove console log and revert adding empty lines

* Update layout, remove edit mode/button, make save button compact. Refactor and use change event to trigger save.

* [cleanup] Signature Control
2017-04-07 13:52:42 +05:30
joezsweet
12f26ae939 Add files via upload 2017-03-30 12:40:23 +05:30
joezsweet
1463f11b3e locale-all.js for datepicker 2017-03-30 12:06:23 +05:30
Faris Ansari
5d2dd18ddd [summernote] Trigger change event in code view 2017-03-27 16:47:33 +05:30
Nabin Hait
d836d1367f Fixed merge conflict 2017-03-15 11:26:55 +05:30