Commit graph

851 commits

Author SHA1 Message Date
Aditya Hase
2fa19c2506 fix(blog): Fix possible reflected XSS attack vector 2019-03-30 12:01:08 +05:30
Suraj Shetty
b230b83590 fix: frappe.require style import 2019-03-07 11:04:10 +05:30
Suraj Shetty
ef0eb75aa7 feat: refactor frappe.require(website version) to add multiple
script import
2019-03-07 10:09:13 +05:30
Suraj Shetty
1b1bea7b6d
chore: fix minor formatting 2019-03-04 12:09:25 +05:30
Anurag Mishra
c9aef2bfe9 fix: typo 2019-03-04 11:46:30 +05:30
Anurag Mishra
41ff8885e3 fix: web form will show footer save button only if form is greater than window height 2019-02-27 17:14:07 +05:30
Aditya Hase
57196a8bbe fix(website): Enable socketio on website (for file upload) (#6866) 2019-01-31 13:54:42 +05:30
gmplab
bcb121bd03
Update purifycss.py
minor fix print_funciton->print_function
2019-01-29 21:34:50 +08:00
Aditya Hase
928ec12d35 fix(import): Import print_function once 2019-01-28 14:54:55 +05:30
Aditya Hase
837bfc0995 fix(unicode): Import unicode_literals in every file (#6805)
* fix(unicode): Import unicode_literals in every file

* fix(unicode): Test if safe_json_loads return unicode instead of bytes
2019-01-25 11:56:27 +05:30
Aditya Hase
6b72faf44f style: Linting fixes (#6809)
* style: Remove unused imports

* style: Remove unused local variables
2019-01-23 16:39:55 +05:30
Saif
c7c82ff972 WebsiteGenerator call super class clear_cache (#6786) 2019-01-22 11:28:26 +05:30
Rushabh Mehta
258c59c218 fix(ui): default icon for Web Page 2019-01-11 12:11:29 +05:30
Shivam Mishra
b86663490c [Base 64 Fix]: Added check for base64 image in abs_url (#6688)
* [Base 64 Fix]: Added check for base64 image in abs_url

The abs_url filter used in website appends a '/' before every link.
This broke the website image display.

* fix(abs_url): add check for all image types

* Update utils.py
2019-01-02 09:11:05 +05:30
Chinmay Pai
825b0120fa fix(login): redirect user from login page if already logged in (#6689)
* fix(login): redirect user from login page if already logged in

the user should not be able to access the login page if a user session already exists. closes #6500.

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* fix(test-website): fix website test

what is the point in writing tests if they don't really work/function as intended?

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* fix(regex): do not replace '\' in rules

that defeats the entire purpose of creating rules, wtf?

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* fix(test_website): change user using set_user()

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* redirect: prefix string with r to escape string literals

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-12-31 13:46:55 +05:30
Suraj Shetty
45911faa23
Merge branch 'staging-fixes' into staging-fixes 2018-12-18 15:26:11 +05:30
Faris Ansari
d6833996d3 fix: Include meta_block in Web Page (#6627) 2018-12-17 13:55:32 +05:30
Suraj Shetty
9a0ff3bad0 Merge branch 'staging-fixes' of https://github.com/frappe/frappe into staging-fixes 2018-12-10 16:27:00 +05:30
Frappe Bot
b39bbe9baf Merge branch 'master' into staging-fixes 2018-12-06 09:09:06 +00:00
Aditya Hase
e3ae0722c4 fix(security): Make Jinja tighter (#6564) 2018-11-29 17:24:46 +05:30
rohitwaghchaure
1cb64cf06e fix: Web form grid view for Text Editor showing toolbar (#6547) 2018-11-28 10:14:11 +05:30
Suraj Shetty
e79cfc531a Merge branch 'staging-fixes' of https://github.com/frappe/frappe into staging-fixes 2018-11-21 13:18:33 +05:30
Aditya Hase
2858118f91 fix(chat): Setup and render chat on website pages as well 2018-11-13 12:48:26 +05:30
Suraj Shetty
1d0037d9b1 Fix codacy 2018-11-05 10:39:28 +05:30
Suraj Shetty
4b0f78a6d5 Add test to check contextual user permission 2018-11-01 21:18:15 +05:30
Faris Ansari
10c2e8f262 fix: Only allow images in Attach Image 2018-11-01 19:38:07 +05:30
Nabin Hait
b218a16dc3 fix(name): naming of workflow action based on hash 2018-10-15 14:21:40 +05:30
Prateeksha Singh
168addbfb2 [webform] allow_read to bypass permissions on Link options 2018-09-20 10:32:20 +05:30
Ameya Shenoy
6221bf2f15
web_form_class: using value instead of get_value 2018-08-31 10:12:26 +00:00
Ameya Shenoy
a302501752
webform: render image in web form using setTimeout 2018-08-30 14:03:47 +00:00
Ameya Shenoy
6ebc9581fc
grid_list: fixed event binding on paging 2018-08-27 11:04:19 +00:00
Faris Ansari
aeed1979f6 Portal list filters (#6007)
* Add list filters in portal

* Show label on input
2018-08-24 15:14:31 +05:30
Prateeksha Singh
9f04cfc968 [webform][attachments] allow saving filename, insert file path later 2018-08-23 10:03:28 +05:30
Mohamed_Alsum
893b7e0980 remove duplicate error mgs on submit web_form (#5972)
* remove dublicate error mgs on submit web_form

* show side-bar in RTL lang
2018-08-20 10:39:54 +05:30
Ameya Shenoy
2d62d12521
Merge pull request #5979 from pratu16x7/webform-delete
[webform-list] add delete multiple to list table
2018-08-17 11:29:08 +05:30
Prateeksha Singh
23ca07769d [webform-list] add delete multiple to list table 2018-08-17 11:27:24 +05:30
Ameya Shenoy
e0853af409 web form allow others 2018-08-16 13:45:05 +05:30
Rushabh Mehta
67688c0583 layout(website theme): make a cleaner layout 2018-08-16 10:42:57 +05:30
Ameya Shenoy
8d0212464e
Enable link fields in webform 2018-08-14 12:15:54 +00:00
Prateeksha Singh
512924a28e [web_form_class] style cleanup 2018-08-14 14:34:49 +05:30
Prateeksha Singh
2c0abc3656 add notation for server-side get_in_list_view_fields() 2018-08-14 12:55:07 +05:30
alsum
c967767b7a showing-table-header-in-webform 2018-08-13 17:20:46 +02:00
Rushabh Mehta
bd5c27a30f
fix(webform): allow link fields in web form (#5950)
* fix(webform): allow link fields in web form

* fix(webform): don't allow advanced search in links'
2018-08-09 09:27:37 +05:30
Faris Ansari
2535eb3131 [Website Slideshow] Button to fetch attached images from a doc (#5938) 2018-08-07 18:31:11 +05:30
Faris Ansari
12ea6c03e9
fix(webform): fallback values for sysdefaults (#5940) 2018-08-07 17:10:29 +05:30
Rushabh Mehta
0f95b2c964 fix(webform): ignore mandatory on insert only if files 2018-08-07 14:59:28 +05:30
Ameya Shenoy
d5aec6e80c
Merge pull request #5925 from netchampfaris/md_to_html
Add utility frappe.utils.md_to_html
2018-08-06 16:10:20 +05:30
Rushabh Mehta
1e84e63838 fix(webform): save first without checking mandatory if has files 2018-08-06 16:00:01 +05:30
Rushabh Mehta
9bcc89b750 fix(webform): process Attach Image type 2018-08-06 15:46:52 +05:30
Rushabh Mehta
11161c099d fix(webform): attach and save workflow 2018-08-06 14:28:44 +05:30