Commit graph

42 commits

Author SHA1 Message Date
Suraj Shetty
95258bf9f2 fix: Do not allow child table access via "get_list_data" 2021-10-28 13:38:54 +05:30
Suraj Shetty
0d5cd86401 fix: Pass parent_doctype to get_list 2021-10-28 11:18:01 +05:30
mergify[bot]
cea341ccf5
Merge pull request #13594 from shariquerik/custom-doctype-webform-perm
fix: Webform Permission for custom doctype
2021-09-06 17:06:13 +00:00
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Shariq Ansari
d8d25bdf19 chore: Better naming convention 2021-08-31 11:34:42 +05:30
Shariq Ansari
895520885e
chore: Better naming convention
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-08-31 11:27:33 +05:30
shariquerik
d39a389fd5 fix: app check condition for getting correct list_context 2021-07-12 17:01:30 +05:30
shariquerik
7ad1e2d11d fix: Webform Permission for custom doctypem 2021-06-22 17:13:20 +05:30
Suraj Shetty
2d8c6c1710 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-06-03 11:43:28 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Suraj Shetty
862b5320b6 refactor: Move code to appropriate files
- Delete unused resolve_route method
- move resolve_path & resolve_redirect to path_resolver
- Remove redirect.py
2021-05-20 01:29:02 +05:30
Shivam Mishra
5f6a24b0af
fix: set default template for list (#10648) 2020-06-11 10:15:47 +05:30
Shivam Mishra
8e815552f6 feat: use blog_post_list as default 2020-06-01 19:15:00 +05:30
Rushabh Mehta
7d0faa940e fix(minor): Custom Web Forms wont have templates 2020-05-14 09:57:48 +05:30
Mangesh-Khairnar
c7ea57d263 fix: do not set title as doctype name 2020-02-06 14:21:05 +05:30
Faris Ansari
2f7b7b02ac
fix: Retain list_context object (#7848)
list_context object was lost between update_context_from_module calls
2019-07-06 13:40:02 +05:30
deepeshgarg007
e789f6e601 fix: List context fixes in web form 2019-06-28 22:23:06 +05:30
Faris Ansari
4a66d5284e
Merge pull request #7408 from scmmishra/web-form-refactor
Web Form Refactor
2019-06-25 18:52:09 +05:30
gavin
7b7289431e fix: Title on web list view (#7728) 2019-06-19 20:37:36 +05:30
Shivam Mishra
3b2c385d2b style: linting fixes 2019-06-07 12:34:10 +05:30
Shivam Mishra
affa6b17e3 chore: replaced ast.literal_eval with json.loads in prepare filter 2019-05-23 13:09:20 +05:30
Shivam Mishra
5b8953f3d8 feat: Added web-form filters 2019-05-23 12:47:28 +05:30
Faris Ansari
467bd8a8ad fix: Remove no_sitemap flag 2019-03-19 20:34:19 +05:30
scmmishra
d97352c7ad fix (webform): Fixed filters in web_from frid view 2019-03-06 14:45:41 +05:30
Aditya Hase
50ad6bcdf6 fix(website): Correctly generate route for list item (#6620)
Since route string for list-item in website list view was
generated from frappe.local.request.path, page part that
is acquired by ajax call used to contain incorrect route

e.g. /api/frappe.www.list.get/CC-SINV-2018-00006
instead of /invoices/ACC-SINV-2018-00006
2018-12-17 21:21:04 +05:30
Shreya Shah
1426c8539b Fix a method's path and type conversion (#6162) 2018-09-28 19:08:09 +05:30
Rushabh Mehta
3600b55f58
fix(webform grid): click on edit and list view (#5922) 2018-08-04 16:24:38 +05:30
Prateeksha Singh
6c80e56532 implement webform list using Datatable 2018-08-02 19:32:18 +05:30
Rushabh Mehta
a639001df0 [default list] use in_list_view fields 2018-07-30 23:17:07 +05:30
Aditya Hase
c222744829 Convert dict.items() to list explicitly for deleting elems while iterating 2017-09-27 01:08:07 +05:30
Rushabh Mehta
8bc72a1255 [minor] list is extensible 2017-08-02 14:54:28 +05:30
Rushabh Mehta
14c4796e05 [fix] for frappe/erpnext#8555 2017-04-27 12:06:42 +05:30
Rushabh Mehta
6dff729d88 [enhance] Web View settings in DocType (#2798)
* [enhance] add web view settings doctype

* [enhance] add web view settings doctype

* [fix] default for checks (?)

* [fix] framework json

* [fix] missing return

* [fix] hooks for website_generators
2017-03-05 11:12:32 +05:30
Rushabh Mehta
8ac3a9a7ca [web-forms] added text-editor and using div in summernote instead of p 2017-02-28 12:13:36 +05:30
Rushabh Mehta
863f16050a [fix] doc loading in lists, fix for blog 2016-12-21 11:26:38 +05:30
Rushabh Mehta
8ff97f64ce [minor] website list, reload doc only if required 2016-12-20 11:01:23 +05:30
Rushabh Mehta
e82e22640a [fix] web form fixes for job opening 2016-12-19 17:05:30 +05:30
Rushabh Mehta
bfa938ff17 [web-forms] mandatory fields must updated before payment, customize list for webform and other fixes 2016-09-28 15:08:10 +05:30
Faris Ansari
6397d1d250 [enhance] added back navigation to list view 2016-06-29 16:11:41 +05:30
Rushabh Mehta
10106ed065 [minor] [portal] sidebar_items 2016-06-27 18:41:12 +05:30
Rushabh Mehta
47005e9e02 [fix] parent_website_route + '/' + page_name = route 2016-06-23 15:47:47 +05:30
Rushabh Mehta
0cb31006e5 [redesign] website route is evaluated on request, no cold start 2016-06-23 12:23:37 +05:30
Renamed from frappe/templates/pages/list.py (Browse further)