Commit graph

29 commits

Author SHA1 Message Date
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
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
Frappe PR Bot
f3930a7026 [Translation] Updated Translations (#5552) 2018-05-16 11:12:06 +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
Faris Ansari
026f57d4ad
[fix] Query Report data fetch (#5441)
- fallback for user arg
- also commit yarn.lock
2018-04-12 17:50:02 +05:30
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
b383e2235f
DataTable in GridReport (#5234)
* DataTable in GridReport

* Remove query_report_old

* Remove SlickGrid library 💃
2018-03-21 12:36:55 +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
Faris Ansari
8992cb28a3
[fix] cell height in datatable (#5221) 2018-03-19 14:59:31 +05:30
Faris Ansari
625083d664
[QueryReport] Column titles in CSV Export (#5216) 2018-03-19 12:46:57 +05:30
Achilles Rasquinha
bc712066cc Render Frappe Chat to Website 2018-03-13 17:03:25 +05:30
Faris Ansari
2de3a6aacb
Query Report bug fixes (#5127)
* Move set_menu_items back to BaseList

* Bug fixes

- Update columns on refresh
- Link formatting
- Tree view

* fix codacy
2018-03-07 16:30:55 +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
2fc96e1419 Remember columns state for each user (#5102)
* Remember columns state for each user

* Chart

* python 3 fix

* Toggle message refactor, Tree structure DataTable update
2018-03-05 11:02:23 +05:30
Faris Ansari
e408de3abd
Import moment in web_form (#5106) 2018-03-01 14:56:19 +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
Faris Ansari
a522d970e3 Frappe Datatable in Query Reports (#5054)
* wip

* import DataTable in reportview

* first cut

* [wip] Tree in Query Report

* Remove SlickGrid

* Add beta message

* fix codacy
2018-02-27 16:08:32 +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
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