Commit graph

35 commits

Author SHA1 Message Date
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
Prateeksha Singh
784e6c6fea [fix] charts update 2018-03-15 12:10:39 +05:30
Achilles Rasquinha
bc712066cc Render Frappe Chat to Website 2018-03-13 17:03:25 +05:30
Faris Ansari
55e5b473d0 Better messages for build commands (#5117)
* Better rollup messages in console

* Remove 'docs folder not found' warning

* Show production message

* fix codacy
2018-03-05 22:07:55 +05:30
Faris Ansari
e408de3abd
Import moment in web_form (#5106) 2018-03-01 14:56:19 +05:30
Achilles Rasquinha
c43cc092b6
Merge pull request #5052 from rmehta/py3-fixes
python 3 fixes
2018-02-22 03:05:04 +05:30
Faris Ansari
6f48ba7ecb touch .build 2018-02-21 18:36:32 +05:30
Faris Ansari
355813c44f import DataTable in reportview 2018-02-21 18:16:38 +05:30
Rushabh Mehta
ac93a5d4bd python 3 fixes 2018-02-21 17:55:51 +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
Achilles Rasquinha
c87172345f [MIN] added the Babel Object Rest Plugin (#4589)
* added rest operator for babel

* added package-lock.json to .gitignore

* removed package-lock.json
2017-12-12 12:37:54 +05:30
Achilles Rasquinha
612b94c367 [FIX] new babel-presets (#4232)
* [FIX] babel-presets

* comment out minify

* Update build.js
2017-10-02 16:55:31 +05:30
Rushabh Mehta
cdfcf10e08 [fixes] bunch of ui fixes 2017-08-08 11:55:54 +05:30
Faris Ansari
a9cf952505 UI Tests for Frappe (#3500)
* init nightwatch.js

* add nightwatch to travis

typo

nightwatch fix

kill node

launch_url

run tests on local selenium

manually run sc

sc in bg with sleep

minor

minor

run test on chromedriver

simplify travis

minor

add chrome package

implicit chromedriver

nightwatch.global.js

path fix

console statement

enable screenshot

send screenshot to telegram

path

minor

remove chromium

add binary

screenshot

url

cleanup

increase timout

minor

minor

minor

* login test

add page_objects in config

Fix login test

* bench run-ui-tests

* update package.json

* update travis

* bench reinstall before running ui tests
2017-06-19 17:58:45 +05:30
Faris Ansari
98349ee000 Add package.json (#3364) 2017-05-23 11:16:44 +05:30