Commit graph

47 commits

Author SHA1 Message Date
Ankush Menat
9d357f36e6 ci: tweak eslint rules 2023-07-14 15:09:58 +05:30
Suraj Shetty
4b6ab45c57 refactor: Replace fluxify with vuex
Reason:
fluxify has GPL2 licence which is incompatible with MIT hence using vuex which is a similar library and has MIT license.
2022-07-05 19:45:17 +05:30
Ankush Menat
af0b98334f chore: eslint - use es2020 for parsing 2022-04-18 15:06:23 +05:30
Suraj Shetty
ed2e37eaf7 style: Fix sider issues 2022-01-06 09:18:42 +05:30
Suraj Shetty
4410813502 fix: Use extend_cscript in make to properly extend functions of class 2021-05-24 09:05:00 +05:30
Mohammad Hussain Nagaria
465708050a
Merge branch 'develop' into feat-url-validation-option 2021-04-29 11:14:29 +05:30
Frappe Bot
d30596b15e refactor: Delete Qunit test files
Since it is no longer used
2021-04-27 21:37:15 +05:30
Hussain Nagaria
472b21c4b7 fix: Remove duplicated key 2021-04-27 12:03:07 +05:30
Suraj Shetty
9ca7891cf8
Merge branch 'develop' into feat-url-validation-option 2021-04-23 11:33:06 +05:30
Suraj Shetty
162f191b77 fix(control): Check if same value is set to avoid unnecessary change trigger 2021-04-22 14:21:05 +05:30
Hussain Nagaria
ea38895f1a fix: Sider Issues 2021-04-20 15:36:36 +05:30
prssanna
70e85eef12 chore: add localforage to globals in .eslintrc 2021-02-18 18:35:17 +05:30
Suraj Shetty
8d4d23281c style: Fix formatting issues 2021-01-29 21:25:39 +05:30
Chinmay D. Pai
1dfa8ccbc4
feat: add name validation to data fieldtype
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-21 15:49:55 +05:30
Shivam Mishra
aa489186c6 feat: use eslint version 9 2020-04-10 14:25:12 +05:30
Gavin D'souza
e57a5d347d chore: update .eslintrc globals
style: updated data.js spacing format
2020-03-30 10:16:39 +05:30
Suraj Shetty
4250ba853d chore: Add strip_number_groups to eslint globals 2019-10-20 09:37:49 +05:30
Suraj Shetty
8ba1b7137e chore: Enable few eslint rules to enforce consistent code (#8082) 2019-08-02 21:45:19 +05:30
Rushabh Mehta
9f5a632baf fix(linting) 2019-05-24 09:08:56 +05:30
karthikeyan5
8397383dd6 fix(Raw Printing): fixes as per PR review
> fixing confusing naming in the UI and calling it "Raw Print"
> used import for sha256 library
> changed the Print Preview message for raw print
> same possible codacy fixes
2019-04-16 15:40:56 +05:30
karthikeyan5
92b8d82f94 fix(raw printing): codacy issues 2019-04-16 15:40:56 +05:30
karthikeyan5
043c413571 fix(Raw Printing): fixing code standard 2019-04-16 15:40:56 +05:30
Mangesh-Khairnar
cb47502fb9 chore: add expect to eslintrc 2019-03-27 20:09:39 +05:30
Suraj Shetty
2de678b6e8 Merge branch 'develop' of git://github.com/frappe/frappe into social-improvements 2019-03-11 12:17:07 +05:30
Frappe Bot
94ea028db3 Merge branch 'master' into develop 2019-03-08 09:38:18 +00:00
Suraj Shetty
8ae185f7ff chore: Set ecmaVersion = 8 in eslintrc to allow async await syntax 2019-03-07 10:07:10 +05:30
Suraj Shetty
deacd63991 Merge branch 'develop' of git://github.com/frappe/frappe into social-improvements 2019-03-05 22:22:35 +05:30
Faris Ansari
5a96fc70de Merge branch 'develop' of https://github.com/frappe/frappe into website-bootstrap-4 2019-02-20 19:25:25 +05:30
Prateeksha Singh
9680573781 refactor(dependencies): bundle Vue by default 2019-02-06 17:03:27 +05:30
Faris Ansari
a4bc19a2a1 style: ESLint 2019-02-02 21:21:21 +05:30
Suraj Shetty
171289a309 Add Vue to the globals of .eslintrc 2019-01-18 19:22:45 +05:30
Faris Ansari
83d6659e12 Add UI tests using Cypress (#6562)
* test(UI): Add UI tests using cypress

* test: Add test configuration for travis

* fix: Lock redis version

* fix: Refactor fill_field command

* fix: Rename setup_wizard test to run first

* test: Add setup for dashboard service

* test: Add build matrix for ui test

* test: Add name to each build matrix

* test: Only include ui test for an extra build stage

* fix: Exclude UI test with python 3.6

* test: Test order

* test: Enable developer_mode

* test(login): Check session user and not hash

* test: Refactor assert

* test: Refactor setup wizard test

* test: Remove setup wizard test

* test: Add blank seed database

* test(form): Scroll to top before save

* test: Fix form test

* test: timeout

* test: more wait

* test: Remove specific selector

* test: Remove wait, delay typing

* test: Blur input after typing

* test: Wait for form to get dirty

* test: Add credentials for frappe org

* test: Remove node install step

* style: Fix linting issues

* fix: List view filters

- ToDo: Dont override frappe.route_options if it is already set

* test: Dont reload page before test
2018-12-03 09:07:31 +05:30
Faris Ansari
92e8856588
New Build System: Rollup (#5010)
* JS build working

* Css build working!

* Uglify JS in production

* fix codacy

* Add frappe.commands.popen

* FIx ESLint errors

* Add socket.io to package.json

* ignore subprocess warnings

* Add babel-runtime

* sleep 20 after bench start

* remove set -e

* [FIX] non-shell subprocess call

* [FIX] use shell = False

* split commands
2018-02-20 13:47:48 +05:30
Faris Ansari
663bdcb955 [eslint] Enforce brace style 2018-01-24 12:19:23 +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
1edc2b2936 update charts docs 2017-12-12 14:27:53 +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
Achilles Rasquinha
fda767d9af added Webcam to globals 2017-09-26 11:50:29 +05:30
pratu16x7
6fb4984e41 remove cal_heatmap 2017-09-12 11:34:15 +05:30
Prateeksha Singh
7fa8148d33 Graph additions (#3776)
* remove hardcoded height and width

* [graph] relative measures, offsets, generalise all base jobs

* Multiple datasets! (individually colored)

* [graph] Tooltips

* [graph] animate and change values

* [graph] percentage graph

* [graph] custom height, window resize refresh

* [graph] style changes

* [graph] update docs

* [graphs] make graphs.less

* [graphs] prefix classes with 'graph-', nest inside parent class
2017-07-28 11:14:33 +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
d98a4dc125 Set camelcase to off 2017-06-06 17:37:47 +05:30
Faris Ansari
e1b243996a Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
Faris Ansari
2ff26d7798 Update eslint 2017-06-02 15:00:14 +05:30
Faris Ansari
d9f3b57bb8 Add eslint files 2017-06-02 15:00:14 +05:30