Commit graph

64 commits

Author SHA1 Message Date
Aditya Hase
5e565dc92e refactor(recorder): Use vue-router 2019-02-19 21:58:56 +05:30
Aditya Hase
8863ec4be9 fix(rollup-vue): Downgrade rollup-plugin-vue 2019-02-19 21:58:54 +05:30
Nabin Hait
1c30523869 Fix: merge conflict 2019-01-18 09:55:39 +05:30
Saurabh
d1bed88f3f Merge branch 'staging' into develop 2019-01-15 19:14:06 +05:30
Faris Ansari
7e36e92148 fix: Custom Date filters in DataTable
Date comparison won't work with simple string comparison. Now, datatable allows to hook into how cell values are compared.
2019-01-14 14:08:48 +05:30
Deepesh Garg
f79e48ee40 build: Upgraded frappe-datatable (#6732)
* build: Upgraded frappe-datable

* Update datatable to 1.7.3
2019-01-10 15:37:04 +05:30
Frappe Bot
0499b4a845 Merge branch 'staging' into develop 2018-12-26 12:03:03 +00:00
Faris Ansari
1d461ab5cc fix: Update datatable to 1.7.2 (#6665) 2018-12-24 13:05:58 +05:30
Saurabh
2de5dfdbb3 Merge branch 'staging' into develop 2018-12-18 10:20:24 +05:30
Faris Ansari
09077ae327 fix: Update DataTable (#6622)
- Now vertical scrollbar is shown always
2018-12-17 13:48:02 +05:30
Frappe Bot
c1ce84e9fc Merge branch 'staging' into develop 2018-12-11 09:53:52 +00:00
Faris Ansari
c1bd405afc Fix: Query Report (#6603)
* fix: Update frappe-datatable to 1.7.0

- Fix filtering with sorting
- Equals keyword for numeric columns

* fix: Show tip for inline filtering
2018-12-11 10:14:21 +05:30
Frappe Bot
a60cb001f6 Merge branch 'staging' into develop 2018-12-10 13:05:59 +00:00
Faris Ansari
e71d412fc8 fix: Totals row in Query Report (#6590)
* fix: Totals row in Query Report

* fix: Remove quotes around Total
2018-12-10 17:21:02 +05:30
Saurabh
7b7a492380 Merge branch 'staging' into develop 2018-12-07 17:56:57 +05:30
Faris Ansari
a4e30abac2 fix: Update Datatable to 1.6.1 2018-12-07 15:30:18 +05:30
Frappe Bot
b2779c617a Merge branch 'staging' into develop 2018-12-06 09:31:40 +00:00
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
7e5decc9f7 fix(QueryReport): Dynamic Total Row in Query Report (#6566)
The total row sent by the server does not update when rows are filtered.
Datatable now has a bulit-in dynamic total row
2018-11-30 18:51:32 +05:30
Ameya Shenoy
c5d276b813
Merge branch 'staging' into develop 2018-11-28 08:24:00 +00:00
Faris Ansari
8cf5987b0a fix: Update datatable (#6551) 2018-11-28 08:59:18 +05:30
Ameya Shenoy
78ff13fc6e
Merge branch 'staging' into develop 2018-11-06 11:12:10 +00:00
Faris Ansari
c88f05d711 feat(Code Editor): Ace Editor for Code fieldtypes
- Better editing experience with syntax highlighting and auto-completion
- Support HTML, Javascript and CSS language modes via the Options field
2018-11-06 00:59:14 +05:30
deepeshgarg007
c164aac933 Datatable Upgrade 2018-11-05 12:53:34 +05:30
Faris Ansari
fd2725bb2c fix(Quill): Remove image drop module
Quill 2.0 already has it
2018-10-24 17:08:36 +05:30
Faris Ansari
d1c5c263b5 fix(Quill): Use a local copy of quill-mention
quill-mention's distribution copy is built with webpack
so it doesn't work with rollup
2018-10-22 16:12:17 +05:30
Faris Ansari
a65e5aeec9 fix(Quill): Add forked quill-mention to make mentions work 2018-10-18 14:13:58 +05:30
Faris Ansari
a6fc2caed0 wip 2018-10-17 16:32:28 +05:30
Faris Ansari
226c017283
Report fixes v11 (#6269)
* fix(Report): Update datatable for multi column filters

* fix(Report): Show totals for child table columns
2018-10-16 16:14:46 +05:30
Faris Ansari
6de4453b23 feat(Text Editor): Add table support (#6226)
* feat(Text Editor): Add table support

* fix: Table styling
2018-10-15 09:27:37 +05:30
Faris Ansari
3551e894c6 fix: Update datatable
- New DataTable uses hyperlist instead of clusterize to render
large number of rows
2018-10-11 13:22:19 +05:30
deepeshgarg007
4ce789d1f5 Changes in datatable options (#6199) 2018-10-05 11:12:39 +05:30
Faris Ansari
10534276e5 Quill editor (#6159)
* feat(Text Editor): Quill Editor

* fix: Add imageDrop module

- prevent default events

* refactor(Comment): Comment is now frappe control

- Use quill's bubble theme for comment control

* feat: Support @mentions in comment area

- Uses quill-mention package

* fix: Use setContents to fix autofocus bug

* fix: Spaces to Tabs

* fix: Missing semicolon

* fix: Fix style

* fix: Remove all of summernote

- Remove comment.js (use fieldtype: 'Comment')
- Add quill styles to webform.css

* fix: Replace color/background with indent/outdent
2018-09-30 21:08:40 +05:30
Prateeksha Singh
2b672d2ee7 Add Vue Support (#6025)
* [frappe][build] Add Vue

* chore(rollup): add node_modules path for all apps

- also remove rollup-plugin-alias

* feat: Add EventEmitter

Usage:

```
frappe.utils.make_event_emitter(obj);

obj.trigger('event');
obj.on('event', fn);
```

* chore: Update rollup

* fix: add comment_when to frappe.datetime

* feat: Add img-loading class

* feat: Add .vue files for translation extraction

* [frappe][build] Add Vue

* chore(rollup): add node_modules path for all apps

- also remove rollup-plugin-alias

* feat: Add EventEmitter

Usage:

```
frappe.utils.make_event_emitter(obj);

obj.trigger('event');
obj.on('event', fn);
```

* chore: Update rollup

* fix: add comment_when to frappe.datetime

* feat: Add img-loading class
2018-08-29 12:03:27 +05:30
Faris Ansari
9025a0d765 Update frappe-datatable to 1.2.0 (#5965) 2018-08-14 14:34:13 +05:30
Faris Ansari
31511281b4 Update frappe-datatable to 1.1.6 (#5931)
- fixes border issue in firefox on ubuntu
2018-08-07 14:42:48 +05:30
Faris Ansari
0b44529dc9
Moment (#5808)
- Add npm packages
- Add moment builds in frappe-web
- Remove import statements to avoid duplicate loading of moment
2018-07-11 14:52:07 +05:30
Prateeksha Singh
a0f497edcf [Refactor] Webforms (#5537)
* [webform] login and date control working

* [webform] text editor and autocomplete imports

* [webform] add utils (before commons) to web js

* [website][init] messages in website

* [webform][wip] date field

* [webform][purge] form via controls and values

* [webform] remove old extraneous get_data code

* [webform][purge] remove upload handler and other listeners

* [webform][new] WebForm object

* [webform] save docs

* [webform] edit profile

* [controls] import awesomplete in multiselect

* [webform] handle existing doc or new form

* [es-module] independence of grid control by import structure

* [webform] grid on website! Stage I

* [webform][grid] include meta, model and perm on website >.<

* [webform] fix payment details

* [webform][fix] get table fields

* [webform][test] remove server field html test as not required

* [webform] check document permission

* Rename WebForm.js to webform.js
2018-06-22 11:35:52 +05:30
Faris Ansari
a70d56fd04 Website related fixes (#5660)
* bench build --app app_name

* Use highlight.js as npm package

* Add fenced-code-blocks to markdown compiler

* Support for next-prev links
2018-06-07 11:14:25 +05:30
Saurabh
edf361b132 resolved merge conflicts 2018-06-05 15:14:42 +05:30
Faris Ansari
22d90df864 NPM Audit fix (#5645)
- remove unused nightwatch
- update less to 3.0.4
2018-06-01 12:03:24 +05:30
Faris Ansari
d1ad73a6ed Remove fuse (#5644) 2018-06-01 11:54:40 +05:30
Faris Ansari
a682745488
Datatable fixes (#5569)
- duplicate Add column dropdown item
- Add column dialog should show Label instead of fieldname
2018-05-18 13:33:48 +05:30
Prateeksha Singh
d54980b665 [purge] remove jsbarcode lib, import 2018-05-11 15:52:56 +05:30
Faris Ansari
53b1125820
Listview fixes (#5479)
* update frappe-datatable to 0.0.5

* [fix] List view realtime update
2018-04-24 17:03:20 +05:30
Achilles Rasquinha
cfa2006bf3 Non Pour Accent! (#5427) 2018-04-10 22:53:42 -08:00
Faris Ansari
6c2236c7d7
Update frappe-datatable (#5404)
- dynamic row height
- fixes #5293
2018-04-09 11:23:54 +05:30
Faris Ansari
762f9c37ee
Reportview fix (#5397)
- fixes frappe/erpnext#13201
- update frappe-datatable
2018-04-08 12:59:33 +05:30
Faris Ansari
3df26a8059
Update frappe-datatable to 0.0.3 (#5243) 2018-03-21 17:42:10 +05:30
Faris Ansari
9f5a129333
Rollup Fixes (#5232)
- Use PostCSS instead of Less plugin
- Fixes CSS append problem
- Show which css file changed instead of rollup.manifest.css
- Minify CSS in production
- Cannot import less/css files in js files, put them in build.json
- Let's avoid major changes in Frappe Framework now :)
2018-03-20 13:51:53 +05:30