Commit graph

27 commits

Author SHA1 Message Date
Faris Ansari
c07944c2c4 fix(rollup): Use terser instead of uglify 2019-04-26 15:52:58 +05:30
Mangesh-Khairnar
37f28685aa fix: display js rebuilding logs in bench watch 2019-03-14 14:22:24 +05:30
Faris Ansari
41fafd8b5e fix: Linting 2019-03-02 14:07:12 +05:30
Faris Ansari
2f58c4b437 style: Missing semicolon 2019-02-26 20:39:23 +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
Faris Ansari
698bf208ab fix: Common scss options for theme generator and rollup scss 2019-02-19 18:04:56 +05:30
Faris Ansari
60dd8e0c83 fix: Update rollup and postcss plugin 2019-02-19 18:04:26 +05:30
Prateeksha Singh
9f2d7a2f42 fix(Vue): route from node_modules
- also remove Module Icons
- padding lessening
2019-02-06 17:03:28 +05:30
Faris Ansari
a7613c174e fix: Fail bench build in CI environment 2018-11-14 22:03:11 +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
6316917274 fix(rollup): Add message to indicate addition of new dependency 2018-10-05 13:04:31 +05:30
Charles-Henri Decultot
98abda32b4 [Enhancement] Event timeline (#6133)
* Events in timeline wip

* Events in timeline

* Permission issue + split buttons between Frappe and ERPNext

* Add string type check

* Codacy corrections

* Permission issue

* Test and feedback corrections

* Codacy corrections

* Tests and codacy corrections

* Codacy correction

* Py3 correction

* Travis correction

* Py3 corrections"

* Travis and codacy corrections

* Removed space

* Add check for the removal of new lines

* Codacy rollup watch missing semicolon
2018-10-02 10:12:55 +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
Nabin Hait
b4c063e96c fix(syntax): rollup config 2018-09-12 18:13:55 +05:30
Faris Ansari
91d3731a60 feat(rollup): Ability to import assets from any app
To import a js file from the frappe app into any app
```
import 'frappe/public/js/frappe/ui/comment.js';
```
2018-09-11 11:38:10 +05:30
Faris Ansari
86ff0851a0 style: fix linting issues (#6026) 2018-08-29 12:43:57 +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
b3249fd23a feat(build): Log build errors in browser console (#5932) 2018-08-07 14:42:39 +05:30
Faris Ansari
32b4977596 Create a moment bundle and include it in webform 2018-07-12 16:23:25 +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
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
00ebc34d39
[build] Don't minify css files if they are part of project (#5405)
- fixes the email.css problem
2018-04-08 12:59:52 +05:30
Faris Ansari
5a4334a35a Add error logs in rollup watch (#5385)
* Add error logs in rollup watch

* Show frame when it is available
2018-04-05 16:32:46 +05:30
Faris Ansari
6dfa272d62
Rollup error logs (#5289)
* Log errors in rollup build

* fix codacy
2018-03-29 16:09:21 +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
d5eb0deebf
Exclude libs.min.js from rollup build (#5118) 2018-03-05 22:27:40 +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