Commit graph

273 commits

Author SHA1 Message Date
Shivam Mishra
067cc9d775 feat: added frappe.Chart globally 2019-06-12 11:08:47 +05:30
Shivam Mishra
7045942e8d refactor: use es6 imports for charts 2019-06-11 15:41:44 +05:30
Faris Ansari
90f62016f8 fix: Clear DuplicateEntry message in setup 2019-05-14 16:19:45 +05:30
Suraj Shetty
02ff1a48da
fix: Switch the position of LIMIT and OFFSET
MariaDB needs LIMIT before OFFSET. 
Whereas Postgres accepts LIMIT and OFFSET in any order
2019-05-13 13:41:56 +05:30
Suraj Shetty
1556805232 fix: Make query postgres compatible 2019-05-13 10:26:48 +05:30
Rushabh Mehta
41d90fa6d1 BREAKING CHANGE: Comments are now handled separately from Communication and Version 2019-02-07 16:35:50 +05:30
Prateeksha Singh
77b9fb4646 refactor(desk): delete desk and modules pages 2019-02-06 17:03:27 +05:30
Prateeksha Singh
c01ace6048 feat(explore_page): Modules and Module Detail views 2019-02-06 17:03:26 +05:30
Sagar Vora
ef82f39f99 Merge branch 'staging' into develop 2019-01-29 18:24:11 +05:30
Aditya Hase
837bfc0995 fix(unicode): Import unicode_literals in every file (#6805)
* fix(unicode): Import unicode_literals in every file

* fix(unicode): Test if safe_json_loads return unicode instead of bytes
2019-01-25 11:56:27 +05:30
Saurabh
b727233948 Merge branch 'staging' into develop 2018-12-13 10:37:25 +05:30
Prateeksha Singh
61f762d0ac [setup] remove debug 2018-12-11 20:32:15 +05:30
Prateeksha Singh
25f2bb0afd [setup] remove execution time 2018-12-11 16:29:49 +05:30
Prateeksha Singh
bf57a4d201 [fix] remove print statements to not raise unicode issues 2018-12-11 16:10:02 +05:30
Prateeksha Singh
1f1e70d335 [fix] Better multiple root node message 2018-12-11 16:10:02 +05:30
Prateeksha Singh
0ccb159c6f Add make_records() 2018-12-11 16:10:02 +05:30
Ameya Shenoy
42b4419b06
Merge branch 'staging' into develop 2018-10-23 12:55:31 +00:00
Ameya Shenoy
0279e957c6
Merge branch 'master' into staging-fixes 2018-10-23 12:51:30 +00:00
Ameya Shenoy
854b09137c
fix: setup wizard 2018-10-23 12:10:13 +00:00
Ameya Shenoy
06d9385829
Merge branch 'staging' into develop 2018-10-19 12:51:40 +00:00
Ameya Shenoy
b42a87746a
Merge branch 'master' into staging-fixes 2018-10-19 12:42:37 +00:00
rohitwaghchaure
97ec70b83e [Fix] Setup wizard timeout error (#6270) 2018-10-18 12:29:46 +05:30
Chinmay Pai
75c7992557
file-api: add new test, fix minor bugs and code indentation
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-21 13:40:25 +05:30
Chinmay Pai
5bd66f134d
file-api: add improvements to save() api
file can now be saved by calling save() on the file object instance

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-13 09:46:48 +05:30
Chinmay Pai
6eca292e1a
[3/3] file-api: code migration
migrate api from file_manager.py to file.py

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-06 01:18:21 +05:30
Chinmay Pai
16a99f5472
[1/3] file-api: code migration
migrate api from file_manager.py to file.py

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-08-31 01:55:15 +05:30
Faris Ansari
2b6c3f7188 Query report fixes (#5946)
* chore: dateutil -> frappe.datetime

* style(report): update datatable styles

* chore: Remove beta tag
2018-08-09 16:19:09 +05:30
Prateeksha Singh
0d8b9c8653 Revert "Modules dropdown" (#5855)
* Revert "bench use <site> should check if the  site exists (#5849)"

This reverts commit 630858eb96.

* Revert "Add option to convert password to use ASCII instead of Unicode when needed by smtp server config (#5793)"

This reverts commit 191684f6a5.

* Revert "Token based authentication (#5752)"

This reverts commit abd3333bae.

* Revert "[minor] test fix"

This reverts commit b6ba3915a6.

* Revert "allow null when time field is not required (#5832)"

This reverts commit 803f6b0c7b.

* Revert "remove duplicate field entry for fieldname two_factor_authentication (#5846)"

This reverts commit 6a06e65d20.

* Revert "Query Report (#5845)"

This reverts commit f870a0bd25.

* Revert "Modules dropdown (#5767)"

This reverts commit 6f908b3443.
2018-07-23 15:34:34 +05:30
Prateeksha Singh
6f908b3443 Modules dropdown (#5767)
* [modules-dropdown] init

* [modules-sidebar] setup structure

* [modules-sidebar] add chunks to group

* [modules-dropdown] ellipsis

* [move] help menu to explore menu

* merge help column to modules

* [modules-dropdown] get explore links from hooks

* [add] explore_link secondary

* [modules-dropdown] Places list

* [modules-dropdown] deprecate desk link, make icon dropdown

* [modules-dropdown] collapsible help menu

* [remove] global navbar icon style

* [boot] define core modules, use in dropdown

* [modules-dropdown] code style fixes
2018-07-19 18:06:37 +05:30
Prateeksha Singh
0f559807db [modules] use inherent link value 2018-06-28 03:20:34 +05:30
Ameya Shenoy
06851e7376
Merge branch 'master' into develop 2018-05-22 08:45:40 +00:00
Prateeksha Singh
2e76a75b4b [charts] update, without new build system 2018-05-21 18:03:33 +05:30
Valmik
467604ba93 Function to remove a slide from the list of slides (#5570) 2018-05-21 12:28:57 +05:30
Achilles Rasquinha
cfa2006bf3 Non Pour Accent! (#5427) 2018-04-10 22:53:42 -08:00
Faris Ansari
c6a99669e7
Listview fixes (#5423)
- notification click handler fix
- activity page fix
- find txt in list fix (awesome bar)
2018-04-10 10:53:53 +05:30
Prateeksha Singh
096c8b735c [charts] update API 2018-03-12 09:53:46 +05:30
Faris Ansari
cd54b6f6a1 Query Report (#5097)
* [listview] Show freeze message

* Call refresh on same page

* Simplify query_report lifecycle, Print partially working

* PDF Print, frappe.render_pdf

* Show freeze message

* Export
2018-02-28 17:10:09 +05:30
Prateeksha Singh
ee220861c5 Desktop icons select dialog in place of page (#4843)
* [module_icon_setup] Initial bindings

* [module_icon_setup] replace with dialog

* [module_icon_setup] remove modules setup page

* [module_icon_setup] remove app installer
2018-01-23 15:26:49 +05:30
Faris Ansari
ba508410d1 Fix Report route (#4789)
* Fix Report route

* minor

* fix Report route in modules

* fix module_view test
2018-01-09 11:16:21 +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
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