Commit graph

245 commits

Author SHA1 Message Date
Suraj Shetty
2de678b6e8 Merge branch 'develop' of git://github.com/frappe/frappe into social-improvements 2019-03-11 12:17:07 +05:30
Suraj Shetty
d447b87cfb refator: Remove frappe_vue.js file and setup frappe_vue at startup 2019-03-10 22:04:21 +05:30
Faris Ansari
095067f11f
Merge branch 'develop' into fast-list 2019-03-08 21:10:06 +05:30
Anurag Mishra
cd191439fd feat: Document subscription (#6745) 2019-03-07 14:06:22 +05:30
Aditya Hase
ca09a38187 fix(desk): Remove old files 2019-03-06 19:30:39 +05:30
scmmishra
8ea272601f fix: Added from_grid.less to web_form 2019-03-06 14:45:41 +05:30
scmmishra
f4efb7df0a [fix] Awesomeplete breaking on web forms
- Added variables.less to awesomeplete
- Added awesompelete to web_form.css in build.json
2019-03-06 14:45:41 +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
Aditya Hase
c0fb0e5ddf feat(recorder): Get started with Vue.js 🎉 2019-02-19 21:58:54 +05:30
Faris Ansari
7bd2d9e9dc refactor: Website Meta Tag
Meta Tags are now decoupled from docs and are maintained per route basis
They will be tracked in Website Route Meta doctype where the `name`
is the `route`, it keeps track of a list of `key` and `value` in a table

Remove Meta Tag table from Web Page, add Set Meta Tag button helper.
2019-02-16 19:02:22 +05:30
Prateeksha Singh
34fd318c25 refactor(desk_icon): remove patches and references to desk icons 2019-02-06 17:07:13 +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
Prateeksha Singh
9680573781 refactor(dependencies): bundle Vue by default 2019-02-06 17:03:27 +05:30
Prateeksha Singh
aeebf1edf2 feat(desk): Make all desk modules links, make Detail view dumb 2019-02-06 17:03:27 +05:30
Prateeksha Singh
8fd13bc63c feat(desk): Load desk as a module list 2019-02-06 17:03:26 +05:30
Prateeksha Singh
c01ace6048 feat(explore_page): Modules and Module Detail views 2019-02-06 17:03:26 +05:30
Faris Ansari
b6d5607ebc Merge branch 'develop' of https://github.com/frappe/frappe into website-bootstrap-4 2019-02-01 00:06:21 +05:30
Faris Ansari
be82712734 style: Spaces to tabs 2019-01-31 21:59:04 +05:30
Faris Ansari
93bb5428ed fix: Add datepicker styles for webform 2019-01-31 19:37:26 +05:30
Faris Ansari
82edf3e83f fix: Indicator font size 2019-01-15 10:50:18 +05:30
Faris Ansari
17e2ea2cc5 fix: Cleanup Blog, List, Comment templates for Bootstrap 4
- Bootstrap 4 class migration
2019-01-15 09:54:05 +05:30
Faris Ansari
3b86f16b73 New Control: Table MultiSelect (#6675)
* feat(control): Add Table MultiSelect control

* fix: Use btn-group instead of span

* fix: Remove functionality

* fix: Add 'Table MultiSelect' to Field doctypes

* fix: Replace usage of string 'Table' with array `table_fields`

* fix: Use internal array to store values instead of building from HTML elements

* fix(style): Add semicolon

* fix: Read only mode and click to navigate to form

* style: indent

* fix: fallback to empty array

* fix: Add formatters in js and py

* style: missing semicolon

* fix: Add docfield validation
2018-12-28 15:36:59 +05:30
Faris Ansari
5cb91ae57b Merge branch 'develop' of https://github.com/frappe/frappe into website-bootstrap-4 2018-12-14 10:07:15 +05:30
Faris Ansari
8ec0bdc402 fix(HTMLEditor): Inherit HTML Editor from Markdown Editor (#6573) 2018-12-01 10:33:22 +05:30
Aditya Hase
02d8edd332 [Feature] Markdown Editor (#6383)
* feat(markdown-editor): Add new fieldtype - MarkdownEditor

* feat(markdown-editor): Add MarkdownEditor control

* fix(markdown-editor): Fix placement of "Show Preview" button

* fix(markdown-editor): Render HTML in prints
2018-11-22 11:37:50 +01:00
Suraj Shetty
8e3d67c822 Make separate vue bundle for conditional require (#6470)
* Add function to setup vue and make vue globally available

* Load vue on demand

* Remove left out code

* Undo unwanted change

* Fix typo

* Update social_home.js
2018-11-15 15:34:12 +05:30
Faris Ansari
68a7b81374 feat: Migrate Website to Bootstrap 4
- Use bootstrap 4 base for website assets
- hooks.py: Remove bootstrap hook
- Upgrade navbar, breadcrumbs to 4
- Support multi-level dropdown

BREAKING CHANGE
2018-11-12 18:09:59 +05:30
Suraj Shetty
1eea308dd3 Move route history code to separate file 2018-10-21 09:53:06 +05:30
Suraj Shetty
49b6215fed Add route_history doctype and login to save user route history 2018-10-21 09:53:05 +05:30
Suraj Shetty
9842734e12 Add UI enhancements and some bug fixes 2018-10-21 09:52:12 +05:30
Suraj Shetty
90afe7b273 Add post system code 2018-10-21 09:52:12 +05:30
Suraj Shetty
e85589f46c HTML Editor control (#6237)
* Add HTML editor

* Add HTML editor map to db_schema.py

* Revert permission change
- ref #6218

* Fix typo

* Add HTML Editor entry to customize form field

* Update customize_form_field.json

* Update permissions.py

* Debounce preview generation

* Translate strings
2018-10-11 14:07:16 +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
Saurabh
54e575b824 [fix] minor-fixes 2018-10-01 11:35:13 +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
Faris Ansari
fa359537bb fix: Datepicker styles (#6070) 2018-09-10 09:36:03 +05:30
Faris Ansari
adfc4d726f fix(css): Commonify awesomplete styles (#6029) 2018-08-29 16:12:32 +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
Rushabh Mehta
a886fa1d6e fix(dependency) in field_group 2018-08-04 21:09:16 +05:30
Prateeksha Singh
55120189d3
Merge pull request #5914 from pratu16x7/upload
[webform][fix] add upload dependencies
2018-08-03 13:03:50 +05:30
Prateeksha Singh
54232b8bf1 [webform][fix] add upload dependencies 2018-08-03 13:03:11 +05:30
Prateeksha Singh
6c80e56532 implement webform list using Datatable 2018-08-02 19:32:18 +05:30
Faris Ansari
737330247e [website] Load chat only if chat is enabled (#5874)
* [website] Load chat only if chat is enabled

* Update website.js
2018-07-27 10:43:35 +05:30
Charles-Henri Decultot
b175ac407f Possibility to go to file manager from sidebard (#5816)
* Possibility to go to file from sidebard

* Refactor to use microtemplating
2018-07-16 18:04:12 +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
Prateeksha Singh
15308750e4 [fix] fulfill datetime requirement for webform 2018-07-10 22:16:58 +05:30
Rushabh Mehta
814dee9a61 [website] fix for contact.js 2018-06-27 22:01:54 +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