Commit graph

143 commits

Author SHA1 Message Date
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
Rushabh Mehta
e232abdafd [enhannce] new filter design (#3553)
* [enhannce] new filter design

* [minor]
2017-06-28 14:25:27 +05:30
almeidapaulopt
b17b73c4f3 GSuite integration (#3252)
* GSuite initial commit

* GSuite initial commit

* cleanups

* exception handle

* gsuite script: add doGet

* Add GSuite integration to the upload popup

* hide dialog fields if gsuite disabled

* move gsuite code to gsuite.js from upload.js

* documentation

* change name format

* typo on GSuite

* copy paste the file .gs

* fix:don't show gsuite when creating a file in filemanager

* add version to webapp

* add webapp default url

* move webapp to html fied

* fix rebase

* fixes for codecy
2017-06-13 14:55:07 +05:30
Makarand Bauskar
17a09e4b70 [feature] domainification for frappe (#3227)
* [feature] domainify doctype, pages and roles

* [minor] added get active domain method to __init__

* [fixes] minor fixes in domainification and added test cases

* [minor] added checkbox-editor class to render the domains

* [minor] added checkbox_selector option

* [minor] added or_filters to filter restrict to domain doctype and roles

* [minor] fixed codacy errors
2017-06-13 14:36:01 +05:30
almeidapaulopt
6dcfd8fdb3 Gantt milestones (#3370) 2017-05-29 10:59:49 +05:30
Prateeksha Singh
b23aa1446b Multiselect dialog for getting items (#3255)
* First approach by making a control

* Implement multi select for child tables

* Basic UI and items fetch in place

* Multiselect with checkboxes

* Functional modal with filters and new_doc

* Map filter fields to target_doc

* pass json arrays instead of strings

* Get items from quotation (in SO) working

* [minor] fix link route in list

* [minor] cleanup

* Add date, select first by default

* map_docs test, default date field

* [minor][fix] make new button bug

* [minor] move map_docs to erpnext

* [minor] format dates
2017-05-15 11:29:41 +05:30
Faris Ansari
743f7ab0aa New Build System using NodeJS (#3117)
* added build.js

* js babelify and concat, css concat working

* less wip

* live reload css working

* css reload on less change working

* added watch_js

* setup file watcher only in dev mode, don't compile variables.less

* Minify js files using babili

- Add --minify flag

* Set minify to false as default

* [minor] Remove redundant code

* Used subprocess instead of os.system

- Also added experimental flag
2017-04-20 11:58:21 +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
Dhaifallah Alwadani
1d24ea78bd make report results ltr to work with SlickGrid (#2603)
* make report results ltr to work with SlickGrid

* Update report-rtl.css
2017-04-06 16:40:52 +05:30
Prateeksha Singh
f2df24803c Search refactor (#2983)
* [start] basic sidebar function

* remove flicker on fetch

* use promises for global and help results

* add summary view

* single modal, sidebar keyboard selection

* Placeholder and no_results state, result render prep

* Specific empty states, results template no longer special: thus remove reset(), forum results trial

* Add loading state

* more results working

* commonify more results, added images

* All nav results in modal, with recents

* use common utils in awesome bar

* UI fixes

* Remove forum results

* frappe/erpnext#8222 frappe/erpnext#8264
2017-04-03 13:28:37 +05:30
Faris Ansari
bf21c7a229 Final cleanup 2017-04-03 12:53:17 +05:30
Faris Ansari
a84a40cfca Cleanup html, add css for mobile, fixed class names in code 2017-04-03 12:53:17 +05:30
Faris Ansari
7c5483afc0 List view columns based on flexbox
- Used BEM naming for flat css classes
2017-04-03 12:53:17 +05:30
joezsweet
49208ee0d9 Add datepicker locale-all.js
Loading datepicker locale-all.js localizations
2017-03-30 12:06:23 +05:30
mbauskar
c8db0b292c [minor] removed the email inbox selector, deleted user from locals on create email account 2017-03-29 18:40:58 +05:30
Faris Ansari
6bd91580b8 ui fixes (#2880)
* [ui] msgprint text overflow fix

* fix render tags in list view

* remove notify.js, tag-it.min.js from build.json
2017-03-22 15:44:31 +05:30
Nabin Hait
d836d1367f Fixed merge conflict 2017-03-15 11:26:55 +05:30
mbauskar
3628f50a28 [enhance] select email account from list view 2017-03-14 17:55:07 +05:30
Rushabh Mehta
82254cbe68 [minor] remove push notifications 2017-03-10 11:47:18 +05:30
mbauskar
eda7b659a3 [WIP] Email Inbox view for Communication 2017-03-08 14:41:43 +05:30
Rohit Waghchaure
1e8fd83e7b commonify role editor 2017-03-06 14:41:10 +05:30
Faris Ansari
1a76d64781 ListView refactor (#2715)
* [list_settings] save last_view, kanban_board, gantt_mode

* listview.js cleanup

* image_view refactor

* image_view done

* wip

* [photoswipe] wip

* show view for calendar, kanban even if no results

* [gantt_view] refactor into separate file

* [imageview] 3 column border fix

* [imageview] gallery working

* delete old libs

* indentation to tabs

* [gantt] update lib, custom popup html

* custom fontawesome checkbox

* reset gantt state when not permitted

* checkbox styling fix

* working commit

* image, calendar, gantt view working

* more refactoring, kanban view

* minor

* removed old files

* user settings improved

* filters and sort selector de-coupling

* wip

* [imageview] white pswp background

* kanban filters saving fixed

* fixed reportview

* minor

* removed listing.js

* minor fixes and cleanup

* patch for UserSettings table

* patch fix
2017-03-06 11:32:27 +05:30
Rushabh Mehta
8ac3a9a7ca [web-forms] added text-editor and using div in summernote instead of p 2017-02-28 12:13:36 +05:30
Rushabh Mehta
86ceb21005 [feature] Global Search (again) (#2710)
* [start] global search frappe/erpnext#6674

* [fix] setup before running test

* [start] global search frappe/erpnext#6674

* Display result as rudimentary list, rebuild old doctypes

* Media view, child tables, delete document updates, searchable fields

* More results UI

* Code clean up

* remove msgprint from document.py to resolve merge conflict

* Modularization stage 1, get show more to work with it

* Dedicated modal Search bar works, some clean up needed

* Can't data-dismiss on links, Bootstrap issue, use hashchange

* Accomodate missing field content syndrome

* Search in boolean mode, make GS default in awesome bar, fix double modal bug and cleanup

* Add in Meta

* Add in customize form

* Modularise Global Search

* Search object

* Commonify Search UI: Stage I

* II: save list state, UI, default condensed view, refactor

* Fix SQL bug, Refactor awesome bar, Fix unicode bug, add nav results

* Refactor using separate search objects, some async issues

* Fix async flow

* Fix preceding more list bug

* UI additions

* another async fix, back link

* Help: Stage I

* Help: Stage II

* Background jobs, fix route options bug

* Fix GS syncing on install

* Add GS options in awesome bar: test

* Input now remembers search type state

* More UI updates

* Add description for GS results in awesome bar

* Fix help modal bug

* Fix: not commit during install

* Test cases, some fixes

* Update in_test flag in enqueue

* Disable GS sync when not install_db

* Add flag check

* Disable field in child tables

* Cleanups

* Create table fix

* Fix redis exception, remove commit enqueue, add gs in migrate

* Fix tests

* Single enqueue

* cleanups

* Fix tests

* Fix event test

* Fix duplication, search as first option

* Add show name in global search

* fix event tests and desk.less

* Fix communication.json

* [fixes] wip

* [fix] tests

* [minor] for tests

* [minor] for tests

* [minor] for tests

* [minor] for tests
2017-02-13 14:50:54 +05:30
Makarand Bauskar
99d97530b1 [enhancement] Feedback Feature (#2683) 2017-02-09 11:30:54 +05:30
Rushabh Mehta
3848c657ca [fix] hotkeys 2017-02-03 10:13:25 +05:30
Rushabh Mehta
35d7bc2d3e [minor] remove references from email, leads to conversation for all messages 2017-02-02 18:11:56 +05:30
Faris Ansari
d0bf9ae3d3 Summernote editor (#2665)
* [summernote] working commit

* fix set_input method, esc key fix

* styling fixes

* removed old texteditor
2017-02-02 15:15:51 +05:30
Makarand Bauskar
e422e16953 [WIP] Feedback Triggers (#2643)
* [wip] feedback

* [WIP] Feedback Trigger, Feedback Request, Feedback & Rating Timeline and Form Sidebar

* [minor] minor fixes in feedback trigger

* [Test Cases] Test Cases for Feedback Trigger

* [minor] replaced sql_list by get_all changed the button label

* [minor] removed whitespaces, fixed spelling mistakes
2017-02-02 15:15:23 +05:30
Makarand Bauskar
dc59e978f7 [minor] fixes for Is Your Company Address validations (#2606)
* [WIP] Address & Contacts fixes

* [minor] included sales partner in Addresses and Contacts report

* [minor] filters in address and contact query

* [minor] address and contact utils
2017-01-24 14:38:33 +05:30
Faris Ansari
21a2b88d71 Kanban Board #2172 (#2542)
* [kanban] wip

* [kanban] refresh views on kanban change, add kanban board to title, kanban cards draggable

* update field on column change, open form when clicked

* [kanban] refactor into new view KanbanView

* [kanban] minor

* [kanban] refactor into classes

* [kanban] refactor wip

* [kanban] Show Board button in kanban board

* [kanban] add card, move card

* [kanban] wip

* [kanban] filters wip

* [kanban] add new column wip

* [kanban] filters sort-of working

* [kanban] filters still not working, ugh

* another failed attempt :(

* [kanban] filters working, added quick edit for cards

* [kanban] add column partially working

* added assign to

* kanban using stores wip

* wip

* add card, add column working without refresh

* save filter button

* show card meta

* delete column

* fluxify data flow

* change:cards working

* delete changed to archive

* removed old store implementation

* restore column option

* edit card title, api cleanup

* kanban_column_order wip

* kanban column order wip2

* order save finished

* fix new card sorting

* cleanups

* fixed undefined card

* fixed refresh on list view change

* cleanups
2017-01-10 15:06:06 +05:30
Rushabh Mehta
bb16362578 Reportview fixes (#2554)
* [fix] doctype.py dont setup fetch if new

* [fix] show parent data only once by default in report and fix print for report builder
2017-01-10 14:38:26 +05:30
Dhaifallah Alwadani
e2c9f2d99c Add separate css files for RTL (#2501)
* Add separate files for RTL

* remove unneeded css element for RTL css
2017-01-05 14:47:32 +05:30
Faris Ansari
fe2d27f40c included frappe-gantt as external library (#2527) 2016-12-29 10:53:07 +05:30
Faris Ansari
bfe3dc8f4b date text translatable (#2482) 2016-12-22 11:31:26 +05:30
Faris Ansari
ff906ca546 Removed jquery-ui, new datepicker and autocomplete (#2460)
* Replaced old datepicker with flatpickr

* Replaced jquery ui-autocomplete with awesomplete

* airdatepicker, bcoz it's cooler

* air datepicker change event fixed

* ControlLink migrated to awesomeplete

* jQuery ui-autocomplete completely replaced with awesomplete

* removed jquery-ui styling

* awesomebar code cleanup

* @mention now uses awesomplete

* Fix datepicker, added css to complement erpnext, minor fixes

* taggle library for tags

* Communication email input uses awesomplete

* filter dashboard uses awesomplete

* grid report uses awesomplete

* Removed jquery-ui lib, updated build.json
2016-12-20 11:44:19 +05:30
robert schouten
5ede870700 daterangepicker now as control for filtering (#2324)
* daterangepicker now as control for filtering

* rename daterange picker options

* cleanup name reference

* allow greater control of daterangepicker options

* Update data.py

comma + space
2016-11-18 14:03:56 +05:30
Rushabh Mehta
424f99e6f3 [cleanup] dashboard filters 2016-10-26 19:33:04 +05:30
robert schouten
5c07b355fe filter_dashboard 2016-10-26 19:33:04 +05:30
Faris Ansari
1ee9ee886e Gantt #1932 (#2073)
* [wip] added frappe/gantt

* frappe/gantt

[gantt] added view modes

[gantt] added vertical grid, view modes fixed

[gantt] fix bar_onclick

[gantt] fix view_mode rendering

[gantt] drag, resize gantt bar

[gantt] fixed month view

[gantt] separate styling

[gantt] save on datechange, progress field added

[gantt] fixed drag to snap on week/month
2016-09-26 18:15:09 +05:30
Nabin Hait
032e893ced Fixed version conflict 2016-08-29 11:45:42 +05:30
Rushabh Mehta
a2e2c3652b [fix] ctrl+s and other keyboard fixes (#2012) 2016-08-26 15:46:26 +05:30
Faris Ansari
e0a22a98bf Help feature (#1966)
* [feature] help search modal

* add symlinks for docs assets

* update help links

* [ui] fix help dropdown in mobile view

* replaced {index} tags in help content, api for fetching help content

* help links open in help modal

* moved help content logic to py
2016-08-22 14:32:43 +05:30
Faris Ansari
5207816d37 deleted offcanvas related files and code 2016-07-20 13:27:48 +05:30
Saurabh
0a4f472849 [fixes] check if node is root or not 2016-06-25 09:35:56 +05:30
Saurabh
4f56118573 [feature] treeview 2016-06-25 09:35:56 +05:30
Valmik Jangla
0687eb145d Added misc Frappe Subscription features 2016-06-22 12:37:33 +05:30
mbauskar
5a53b0fa34 [minor] removed unnecessary css, js files, commonified template for checkbox and comment section 2016-06-08 13:19:37 +05:30
mbauskar
15af292b69 [fixes] minor fixes, loaded gallery js files on demand 2016-06-08 12:57:04 +05:30
mbauskar
e86a409ee5 [Image View] added gallery plugin to display full image on image-view image click 2016-06-08 12:57:04 +05:30