Commit graph

2955 commits

Author SHA1 Message Date
Prateeksha Singh
0c3eb1ece9
Merge pull request #4707 from pratu16x7/awesome-bar-fixes
[awesome-bar] handle report route via list view
2017-12-29 09:17:12 +05:30
Prateeksha Singh
52ad39c899 [awesome-bar] handle report route via list 2017-12-29 09:14:35 +05:30
Faris Ansari
f46865017c More Listview fixes (#4705)
* Include std_fields always

* Include Status field if has_indicator is false
2017-12-28 19:35:10 +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
Prateeksha Singh
833259cf77
Merge pull request #4575 from achillesrasquinha/dropzone
Drag and Drop on File Upload
2017-12-27 13:26:20 +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
Vishal Dhayagude
42d8ca63fb [fix] Remove dirty call in sync.js (#4688) 2017-12-26 18:25:06 +05:30
Faris Ansari
b5bf7ca6fe FIx XSS Sanitize (#4678) 2017-12-25 18:23:54 +05:30
Faris Ansari
2f8e68b81d
fix frappe/erpnext#12112 (#4677) 2017-12-25 13:43:56 +05:30
Manas Solanki
2385c07873 fix the User Permission for Page and Report (#4664)
* fix the User Permission for Page and Report

* make 'make_role_for' reqd
2017-12-25 13:38:38 +05:30
Zarrar
60875dfc00 splice error on console (#4669) 2017-12-25 13:37:56 +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
Manas Solanki
4fd6e14275 fix the opening invoice creation tool 2017-12-19 15:39:36 +05:30
Achilles Rasquinha
41d2f92cfb [MIN] Fix List Renderer (#4652)
* fixed multiple dialog render

* minor fix list renderer
2017-12-19 11:57:00 +05:30
Faris Ansari
dfbb47e391 [fix] Multiple uploaded attachments (#4653)
* [fix] Multiple uploaded attachments

* minor
2017-12-19 11:44:23 +05:30
Faris Ansari
5358f3d927
[fix] Edit Comment (#4648)
fixes frappe/erpnext#12012
2017-12-18 15:02:02 +05:30
Achilles Rasquinha
c4e1ba8bbf Fixed multiple dialog render (#4642) 2017-12-18 15:01:36 +05:30
Achilles Rasquinha
b31c4ed029 Remove jrumble from build.json, wiggle cleanup (#4643) 2017-12-18 11:40:21 +05:30
Makarand Bauskar
ecee1825e5 [minor] mapped the __newname field value while editing doc in quick entry (#4615) 2017-12-15 16:39:28 +05:30
Faris Ansari
f307f2a36b Multicheck fixes 2017-12-15 15:54:30 +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
Prateeksha Singh
4fba84f93e [enhance] Add tooltips for progress and targets 2017-12-15 13:44:03 +05:30
Nabin Hait
2e46b1d70c Merge branch 'master' into develop 2017-12-15 12:52:55 +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
Faris Ansari
92c8050527
Checkbox height fix (#4619) 2017-12-14 11:53:15 +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
7506c49dc4 Fixed Merge conflict 2017-12-12 19:08:53 +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
Faris Ansari
8592d49c07 [fix] test for image files (#4602) 2017-12-12 11:41:08 +05:30
KanchanChauhan
def411a8aa Deleted repeated code (#4594) 2017-12-11 11:06:23 +05:30
Rushabh Mehta
6470d26d19 [minor] import and assign 2017-12-08 15:51:25 +05:30
schilgod
a247dfe2d7 Add function to remove specific custom buttons by label (#4498)
* Add function to remove specific custom buttons by label

* [fix] codacy errors

* rename remove_custom_buttons function to remove_custom_button

* seperate add and get inner button functions

* [fix] codacy errors

* More flexible API

* Alias Form method
2017-12-07 14:26:12 +05:30
Nabin Hait
48585dbc91 Merge branch 'master' into develop 2017-12-07 11:54:13 +05:30
rohitwaghchaure
32f35d278f [Fix] Make new button(+) not working for chinese language (#4581) 2017-12-07 11:51:37 +05:30
ci2014
01a955eb45 Allow developers to choose attachments (#4477)
* Allow developers to choose attachments

This change allows developers to choose attachments, even if there is a cur_frm object.

* Update communication.js

* Merge this.attachments and form attachments

* fix codacy
2017-12-06 20:02:13 +05:30
Zlash65
817cc2927a minor fix 2017-12-06 15:41:25 +05:30
Nabin Hait
b7acbcdeb2 Merge branch 'master' into develop 2017-12-06 14:16:03 +05:30
Achilles Rasquinha
d01ba3c051 Fixed Currency Precision during Display and Print (#4579)
* Fixed Currency Issue for Display and Print

* Fixed Codacy

* Update formatters.js
2017-12-06 14:15:18 +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
Zarrar
816f045f75 fix for header row not updating (#4576) 2017-12-06 11:58:47 +05:30
Achilles Rasquinha
c5cc5dbae7 Fixed Codacy 2017-12-04 20:48:41 +05:30
Achilles Rasquinha
b02b48a3ce Fixed Codacy 2017-12-04 20:24:43 +05:30
Achilles Rasquinha
88345a626c Added frappe.ui.DropZone 2017-12-04 20:02:45 +05:30
Zarrar
eb2c7753c3 [Fix] Disallow Drag and drop across child-table (#4572)
* drag and drop across child-table disallow

* improvised
2017-12-04 16:00:09 +05:30