Commit graph

1733 commits

Author SHA1 Message Date
Faris Ansari
c3b087643b fix: Use node.string to extract style and script
- node.text stopped working in beautifulsoup 4.9.x
2021-04-22 23:31:51 +05:30
Rohan Bansal
a7794d9f6c Merge remote-tracking branch 'upstream/develop' into feat-py3-dependencies 2021-04-19 12:51:50 +05:30
Rushabh Mehta
0d87ad2133 fix(minor): Add a delete trigger in grid, and use it to refresh labels in Website Settings 2021-04-18 11:58:20 +05:30
Rushabh Mehta
27ed3dd373 fix(minor): linting 2021-04-15 14:31:42 +05:30
Rushabh Mehta
6d20983eb2 fix(minor): Make language select optional and fix breakpoint issues in website 2021-04-15 14:15:40 +05:30
mergify[bot]
c7c2362f9c
fix: Redirect Web Form user directly to success URL, if no amount is due (backport #12661) (#12856)
If there is no amount due when using WebForms which accept payments, redirect the user directly to the success URL. This is useful for free items.

(cherry picked from commit f8f1301b796180bca6b860bde5e01fa85a632c1f)

Co-authored-by: ci2014 <christoph.isik@wpci.de>
2021-04-15 12:44:36 +05:30
Rohan Bansal
86851028ea feat: manage Python 3 compatiblity with dependencies 2021-04-14 14:40:58 +05:30
Nabin Hait
10b8e9ef05
fix: Backport missing commits from version-13 to develop (#12845)
* feat(logger): allow max_size and file_count params

(cherry picked from commit 94116ae93c)

* chore: Typo

(cherry picked from commit f04ce5dd7a)

* fix(get_logger): allow None for module

(cherry picked from commit a87531e1d0)

* revert: "fix(image-with-blur): Set width, height in CSS" (bp #11170) (#11179)

Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

* fix: Log site only if exists

(cherry picked from commit 4b93f75eba)

* fix: check if is_standard is "Yes"

* fix: whitelist functions called through search widget  (bp #11153) (#11187)

(cherry picked from commit 645331799a)

Co-authored-by: Prssanna Desai <prssud@gmail.com>

* feat: don't load user translation in make_dict_from_messages (bp #11120) (#11188)

(cherry picked from commit 9b267027b5)

Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

* fix: Permission query in Dashboard Chart (bp #10981) (#11191)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>

* fix: Dashboard fixes (bp #11186) (#11199)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>

* test: Make email accounts in email_account test (bp #11139) (#11150)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* feat: Add validate_and_sanitize_search_inputs decorator (#11194) (#11204)

* feat: Add validate_and_sanitize_search_inputs decorator

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

* refactor: Move validate_and_sanitize_search_inputs to init

* refactor: Move validate_and_sanitize_search_inputs to search.py

* test: validate_and_sanitize_search_inputs decorator

* chore: Add wrapt module

* refactor: Use @wrapt to define validate_and_sanitize_search_inputs decorator

* test: Add a case to make sure frappe.call works as well

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
(cherry picked from commit cd1ab8e23c)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Validate and sanitise whitelisted search methods using decorator (#11197) (#11205)

* fix: Validate and sanitize whitelisted search methods using decorator

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

* refactor: Replace decorator name

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
(cherry picked from commit 21a0cafe62)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* chore: Add change log for v13.beta.4 (#11207)

* bumped to version 13.0.0-beta.4

* fix: set samesite none for mobile (#11266)

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* chore: Fix Version

* refactor: catch exceptions

(cherry picked from commit 64f913fa36)

* feat: catch exceptions on tokenizing values in get_value

(cherry picked from commit 23975d5a70)

* fix: contact not showing in form (bp #11363) (#11379)

Co-authored-by: Afshan <afshan13k@gmail.com>

* fix: boot if module is not present in desk (bp #11470) (#11471)

(cherry picked from commit 40748d7fa8)

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>

* fix: oauth code pointing to older desktop page

* feat: Add module field in get_desk_sidebar_items (bp #11781) (#11782)

(cherry picked from commit 00310ea783)

Co-authored-by: Sumit Bhanushali <sumit.bhanushali63@gmail.com>

* fix: customize options in desk page rtl layout

(cherry picked from commit e1316814a2)

* fix(Help Article): show 0 instead of undefined when value not set in dashboard

(cherry picked from commit 6e04e0d6cb)

* fix: add colon between key and value

(cherry picked from commit 218431372a)

* fix: disable chart form condition (#11844)


(cherry picked from commit 6e931e6b2a)

* fix: shorten number card percentage stat (bp #11846) (#11848)

(cherry picked from commit 8d70e3ec5b)

Co-authored-by: prssanna <prssud@gmail.com>

* fix: Max slices for aggregate charts (bp #11808) (#11847)

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Navbar logo height and width (bp #11822) (#11849)

(cherry picked from commit 25052afc9b)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>

* fix: Email password prompt missing field name for submit button (bp #11840) (#11850)

(cherry picked from commit 8aca710c85)

Co-authored-by: Andy Zhu <andy007yan@gmail.com>

* fix: Remove @ from relevance query (bp #11837) (#11851)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Show total text with value if first column is numeric (bp #11813) (#11852)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Show custom message for invalid login credentials (bp #11853) (#11855)

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>

* fix: Update child values for existing rows (bp #11737) (#11860)

Co-authored-by: Faris Ansari <netchamp.faris@gmail.com>

* fix: Doctype query in create new shortcut (bp #11864) (#11865)

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>

* fix(minor): minor fixes in document_naming.py and mandatory

* fix: Total Row in Checkbox Column Reports

* fix: Check of `get_datatable_options` exists in report settings

* fix: enable disable save when navigating between docs (bp #11867) (#11876)

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>

* chore: Add Release Notes for v13-beta-6 (#11882)

* fix(pdf): PDF generation shouldn't fail in background jobs and tests (bp #11792) (#11886)

Co-authored-by: Aditya Hase <aditya@adityahase.com>

* fix: Remove scrolling on focusout event for touchscreen devices (bp #11888) (#11889)

(cherry picked from commit 59c5437af7)

Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>

* fix: Clear cache after updating defaults manually

(cherry picked from commit 823aec2d87)

* test: Added tests for bench remove-from-installed-apps

(cherry picked from commit cb44492feb)

# Conflicts:
#	frappe/tests/test_commands.py

* chore: Resolve conflicts

* chore: update version

* bumped to version 13.0.0-beta.6

* refactor: Move get_build_version to utils.py

(cherry picked from commit 01312889f8)

* fix(website): Bust cache by passing build_version to link and script sources

(cherry picked from commit 13175a8bc4)

* fix(website): Bust cache by passing build_version to link and script src (bp #11903) (#11909)

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>

* fix: create auto_repeat field if docfield/custom field does not exist

* feat: check if auto_repeat field is already present

* chore: Bump version to 13.0.0-beta.7

* chore: Bump version to 13.0.0-beta.7

* fix(query-report): Show scrollbar for datatable

Show report-wrapper before rendering datatable

(cherry picked from commit e7fb4d0ef3)

* fix(Email): use set_header to set Message-Id in header

(cherry picked from commit 8c11878400)

* chore: Bump version to 13.0.0-beta.8

* fix: Reload server script via patch (#12079)

* fix(workflow): Update modified timestamp (bp #12093) (#12094)

To sync changes in https://github.com/frappe/frappe/pull/11787 after migrate

(cherry picked from commit 41a3b8c284)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Link attachment in webform for new file (bp #12097) (bp #12102) (#12103)

(cherry picked from commit 85d6a640358fa0337aaac405e71b7d14395fb298)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
(cherry picked from commit a6705135dc)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* fix(patch): Remove Package Publish Tool doctypes (#12113) (#12124)

(cherry picked from commit bc9d6cff2e)

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>

* chore: Added change log (#12127)

* fix: beta version tag from version-13-beta

* bumped to version 13.0.0-beta.9

* fix: validate user permissions while user has select perms (#12287)

* feat: ability to set default desk page (#12286)

* feat: ability to set default desk page

* chore: add description

* fix: validate single default page

* fix: error message

Co-authored-by: Prssanna Desai <prssud@gmail.com>

Co-authored-by: Prssanna Desai <prssud@gmail.com>

* fix: cannot extend a desk page with developer mode off (bp #12294) (#12295)

Co-authored-by: Saqib <nextchamp.saqib@gmail.com>

* chore: Add release notes for v13-beta-10 (#12296)

* bumped to version 13.0.0-beta.10

* perf: optimise set_cors_headers (bp #12460) (#12462)

(cherry picked from commit 68c6fc4a44)

Co-authored-by: Sagar Vora <sagar@resilient.tech>

* fix: ignore notify update in patch execution

* chore: Bump to v13.0.0-beta.11

* fix: allow on submit for child table not working (bp #12381) (#12472)

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: hasnain2808@gmail.com <hasnain2808@gmail.com>

* Revert "chore: Bump to v13.0.0-beta.11"

This reverts commit 0ccdd93173.

* bumped to version 13.0.0-beta.11

* fix: uncomment conditions that handle guest access for desk

(cherry picked from commit aa8f7cc3c5)

* fix: don't show social login icon if not set

(cherry picked from commit 91cb71f0c9)

* chore: update frappe charts

(cherry picked from commit 89b9c29802)

* fix: missing bracket in get_inner_group_button

(cherry picked from commit 882ea6e3d1)

* fix: toast red indicator icon

(cherry picked from commit dcbce242a9)

* fix: web form buttons

(cherry picked from commit 1937a1e558)

* fix: web form style

(cherry picked from commit 72192e4a10)

* refactor: common form styles

(cherry picked from commit ec004cc1b7)

* fix: commonify quill styles for website and desk

(cherry picked from commit 1581c99da7)

* fix: more button in web list

(cherry picked from commit 9386dbc1d3)

* fix: web form print button

(cherry picked from commit 4246f8f3d8)

* fix: select field condition to check if value is selected

(cherry picked from commit 97f7f6345b)

* fix: use single statememt

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
(cherry picked from commit 7d1e04fac3)

* feat: Client Script for List views

* fix: remove print statement

* fix: rename field to simply "view"

* fix: List view formatters should override standard formatters

* fix: Don't add child table button for List script

* fix: DocType and Apply To should be set only once

* fix: Hide Apply To for Single doctypes

* fix: Reset form boilerplate if view is List

* chore(sider): add sider default config for flake8 + ignore tab errors (W191) (bp #12587) (#12598)

Co-authored-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>

* test: encoding @ since we encode each url (bp #12567) (#12599)

Co-authored-by: hasnain2808@gmail.com <hasnain2808@gmail.com>

* fix: Average Chart compute inaccurate average (bp #12254) (#12595)

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: shariquerik <sharique.rik@gmail.com>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
Co-authored-by: prssanna <prssud@gmail.com>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* feat: Add quoting parameter in the UnicodeWriter constructor (bp #12578) (#12602)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: Britlog <info@britlog.com>

* fix: Remove list.min.css from hook  (bp #12606) (#12607)

(cherry picked from commit cf2eacbb3a)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Redesign Fixes (bp #12591) (#12611)

Co-authored-by: prssanna <prssud@gmail.com>

* chore: Update frappe-charts (bp #12617) (#12618)

(cherry picked from commit 19a092feec)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* revert: "fix: include space and tab in special characters to match to encode url" (bp #12619) (#12620)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
(cherry picked from commit 67f34644f7)

Co-authored-by: Prssanna Desai <prssud@gmail.com>

* fix: Double signature in emails (bp #12520) (#12622)

Co-authored-by: pateljannat <pateljannat2308@gmail.com>

* revert: "test: encoding @ since we encode each url (bp #12567)" (#12626)

This reverts commit 907d418cfd.

* fix: include space and tab in special characters to match to encode url (bp #12632) (#12634)

(cherry picked from commit 6827b6b3a0)

Co-authored-by: prssanna <prssud@gmail.com>

* fix: Auth failing (bp #12637) (#12638)

Co-authored-by: leela <leela.vadlamudi@gmail.com>

* fix: Remove 'ignore_user_type' from user filter

(cherry picked from commit d9bb0c7a99)

* feat: allowed the auto name in Customize Form

(cherry picked from commit 2e70c1c77c)

* feat: allowed the auto name in Customize Form

(cherry picked from commit 607dcce21b)

* fix: Make scrolling separate for sidebar and main content

(cherry picked from commit 6e22902ae1)

* fix: Mobile view for workspace

(cherry picked from commit 228cbb1a17)

* fix(Workspace): Remove forced scrollbar (bp #12655) (#12656)

(cherry picked from commit 8be8d4ba55)

Co-authored-by: Aditya Hase <aditya@adityahase.com>

* fix: Login with username fails (bp #12658) (#12663)

With the recent refactoring we missed to include username check in auth
flow. Added test cases along with the fix.

(cherry picked from commit 2984026035)

Co-authored-by: Leela vadlamudi <leela@users.noreply.github.com>

* feat: flag to delete docs permanently

* feat: flag to delete attached files permanently

* fix: remove redundant code

* fix: auto delete prepared reports permanently

* chore: update docstring for delete_doc

* fix: update description for prepared_report_expiry_period

- remove duplicate field

* chore: Remove unused code (bp #12671) (#12675)

(cherry picked from commit c4b0f54943)

Co-authored-by: Sagar Vora <sagar@resilient.tech>

* fix: Hide tooltip on route change (bp #12579) (#12684)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Format currency values in dashboard chart

(cherry picked from commit 8fcee4e5f8)

* fix: missing help links in navbar help dropdown (bp #12657) (#12691)

Co-authored-by: prssanna <prssud@gmail.com>

* fix: Typography for markdown content (bp #12692) (#12698)

Co-authored-by: Faris Ansari <netchamp.faris@gmail.com>

* fix: Always validate file URLs (bp #12685) (#12704)

* feat: validate file urls

* fix: validate file url while downloading content

* fix: cleaner validation

* fix: added separate validation for web URLs

Co-authored-by: Saurabh <saurabh6790@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
(cherry picked from commit bbeb241232)

Co-authored-by: Sagar Vora <sagar@resilient.tech>

* fix: Read only mode for color input
- fix style color readonly field
- fix case where color control is hidden

(cherry picked from commit 0d20d1a5d5)

* fix: Set color control as Data while adding filter

(cherry picked from commit b22e5ddcb2)

* fix: Add version link to version content

(cherry picked from commit f202953654)

* fix: awesomplete style in page form

(cherry picked from commit 1c0e5c20c9)

* fix: render info type comments on form timeline

(cherry picked from commit e286cbfc8b)

* fix: toggle modal scroll for field select in modal

(cherry picked from commit 64d2d99ba8)

* fix: don't show apply filter button if no filter button

(cherry picked from commit ab65f7a7f0)

* fix: check if report result exists before formatting

(cherry picked from commit c0e949e809)

* feat: don't render filters, sort, add doc button for dashbaord view

(cherry picked from commit e22542a2b1)

* style: fix formatting

(cherry picked from commit 7fe570c297)

* fix: render map view in Views menu

(cherry picked from commit 8af1616656)

* fix: translation syntax

(cherry picked from commit a638618788)

* style: Remove unnecessary space

(cherry picked from commit fdb94a5177)

* fix: pull modules from Module Def instead of desktop config file (bp #12631) (#12723)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
(cherry picked from commit 875056bb15)

Co-authored-by: Prssanna Desai <prssud@gmail.com>

* fix: System Notification fix (bp #12719) (#12724)

(cherry picked from commit 93e6cc4ac1)

Co-authored-by: prssanna <prssud@gmail.com>

* fix: enable fetch from for Check fieldtype (bp #12727) (#12728)

(cherry picked from commit 8d3e0c2440)

Co-authored-by: prssanna <prssud@gmail.com>

* fix(refactor): lockdown frappe.desk.reportview

(cherry picked from commit a2ffea53f2)

* fix(minor): fieldnames can't have commas

(cherry picked from commit 511a5ddc4b)

* fix(minor): functions must end with bracket

(cherry picked from commit 0c995940c1)

* fix(minor): handle as fieldnames

(cherry picked from commit 0def97543b)

* fix(minor): make group_by validation tighter

(cherry picked from commit c9b367933a)

* fix(report): move count, aggregation to serverside

(cherry picked from commit 6d978a1df0)

* fix(minor): disallow comments in fields

(cherry picked from commit f1f64772a5)

* fix(minor): lockdown frappe.client.get_list

(cherry picked from commit 2248c6c410)

* fix(minor): tests and linting

(cherry picked from commit d959fc7310)

* fix(minor): return value in reportview.py

(cherry picked from commit 1aa8adadcb)

* fix(minor): tests

(cherry picked from commit 868228bdea)

* fix(minor): tests

(cherry picked from commit 82399ddfba)

* fix(reportview): test

(cherry picked from commit 337bdc976c)

* Update frappe/desk/reportview.py

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
(cherry picked from commit 375cdea145)

* fix: first column padding in datatable (bp #12733) (#12734)

(cherry picked from commit 1c3688e0ed)

Co-authored-by: Prssanna Desai <prssud@gmail.com>

* fix: copy paste rows more than 50 (one page) (bp #12548) (#12736)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: Fisher Yu <12823863+szufisher@users.noreply.github.com>

* refactor: Grid paste code (bp #12633) (#12737)

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>

* fix: Miscellaneous changes (bp #12730) (#12738)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* chore: add semicolon

* fix: use pathname on window.location

* fix: checkbox bleed

(cherry picked from commit b12714ae20)

* fix: Make authentication check mandatory even in case of 2FA

(cherry picked from commit 2227b910d3)

* refactor: Cleanup name confusion

Using `delete_session` name for a function and also as a method name is
confusing. Cleaned that up.

(cherry picked from commit 9200192c1c)

* fix: Track 2FA OTP attempts using login tracker

(cherry picked from commit 1f6f02fd5a)

* test: OTP atempt tracker tests

(cherry picked from commit 8fcb97ae31)

* fix: change z-index even when list is empty (bp #12745) (#12747)

(cherry picked from commit bbcfee9b48)

Co-authored-by: hasnain2808@gmail.com <hasnain2808@gmail.com>

* fix: get frappe.client.get_value() to work when as_dict is false (bp #12739) (#12749)

(cherry picked from commit 193dbec47c)

Co-authored-by: Walstan Baptista <38958184+walstanb@users.noreply.github.com>

* fix: Return correct value from frappe.db.count (bp #12748) (#12750)

(cherry picked from commit b279ca2c0f)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Chart style in Dark Mode (bp #12751) (#12752)

(cherry picked from commit 8d07768a07)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Miscellaneous changes (bp #12754) (#12755)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: only focus on first input if form is new (bp #12758) (#12759)

(cherry picked from commit 4fb544cb0a)

Co-authored-by: prssanna <prssud@gmail.com>

* fix: Grid validation

- Use separate docfields list for each child table row to
avoid cross row validation issue

(cherry picked from commit be857c753b)

* test: Add a test case for grid validation

(cherry picked from commit 108c728298)

* chore: Remove change logs of beta releases

* fix: users currently viewing a form

(cherry picked from commit 0952e5d2d0)

* chore: Version 13 change log

* fix: also emit doc close event on doc change

(cherry picked from commit 987b3e23ca)

* fix: get_route_options_for_new_doc in link field

- Used correct df where get_route_options_for_new_doc
function is attached

It stopped working after https://github.com/frappe/frappe/pull/12744

(cherry picked from commit e25fae3f8f)

* fix: get_count API endpoint

Make get_count work with join queries

(cherry picked from commit 566f8ba12a)

* fix: fix patch to pluralize list view setting

(cherry picked from commit 872151f32e)

* fix: list view setting patch

(cherry picked from commit 86ddc1b2a3)

* chore: Bump version to v13.0.0

* fix: Reload website_theme_ignore_app before Website Theme

(cherry picked from commit aaea55ed7d)

* fix: Check if df.options exists before setting docfields

Fixes: https://github.com/frappe/frappe/issues/12793
(cherry picked from commit a71066f3a4)

* chore: Bump version to v13.0.1

* fix: Handle exception while building version comment (bp #12801) (#12802)

(cherry picked from commit 13e7f453fc)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: Patch fixes for v13 upgrade (#12806)

* fix: ZeroDivision error in progress (bp #12586) (#12808)

Co-authored-by: Ankush Menat <ankush@iwebnotes.com>

* bumped to version 13.0.2

Co-authored-by: Gavin D'souza <gavin18d@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: Saurabh <saurabh6790@gmail.com>
Co-authored-by: Afshan <afshan13k@gmail.com>
Co-authored-by: Sagar Vora <sagar@resilient.tech>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
Co-authored-by: Sumit Bhanushali <sumit.bhanushali63@gmail.com>
Co-authored-by: Abhishek Balam <abhishekbalam96@gmail.com>
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
Co-authored-by: Andy Zhu <andy007yan@gmail.com>
Co-authored-by: Faris Ansari <netchamp.faris@gmail.com>
Co-authored-by: Rushabh Mehta <rmehta@gmail.com>
Co-authored-by: marination <maricadsouza221197@gmail.com>
Co-authored-by: Aditya Hase <aditya@adityahase.com>
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
Co-authored-by: Saurabh <saurabh@erpnext.com>
Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
Co-authored-by: Saqib <nextchamp.saqib@gmail.com>
Co-authored-by: Rohit Waghchaure <rohitw1991@gmail.com>
Co-authored-by: Administrator <Administrator>
Co-authored-by: hasnain2808@gmail.com <hasnain2808@gmail.com>
Co-authored-by: shariquerik <sharique.rik@gmail.com>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
Co-authored-by: Britlog <info@britlog.com>
Co-authored-by: pateljannat <pateljannat2308@gmail.com>
Co-authored-by: leela <leela.vadlamudi@gmail.com>
Co-authored-by: Anupam <anupamvns0099@gmail.com>
Co-authored-by: Leela vadlamudi <leela@users.noreply.github.com>
Co-authored-by: Fisher Yu <12823863+szufisher@users.noreply.github.com>
Co-authored-by: Walstan Baptista <38958184+walstanb@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
2021-04-14 12:31:55 +05:30
Suraj Shetty
7eb3445f57
fix: Pass option as string 2021-04-13 12:03:31 +05:30
Rushabh Mehta
3d22019b98 fix(minor): dynamically changing grid properties 2021-04-13 11:52:57 +05:30
marination
580d38dd46 chore: Icon Stroke and Optional title for tabs section 2021-04-09 12:59:12 +05:30
mergify[bot]
90cad2a65b
Merge pull request #12805 from anandology/portal-page-404
fix: return 404 from portal pages
2021-04-08 09:37:11 +00:00
Mohammad Hasnain Mohsin Rajan
3a7823ef76
fix: Webform checkout (#12756)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-08 10:16:47 +05:30
Anand Chitipothu
96e98ac976 fix: return 404 from portal pages
- Fixed it by making the context.py handle the PageDoesNotExistError instead
  of DoesNotExistError

Fixes #12804
2021-04-06 11:52:06 +05:30
Sagar Vora
ada4ad7514 chore: add whitelist decorator to missed methods 2021-03-30 18:31:01 +05:30
Sagar Vora
497ea861f4 feat: frappe.whitelist for class methods 2021-03-30 13:07:58 +05:30
mergify[bot]
66083cece1
Merge pull request #12679 from alyf-de/request_data
fix: Unhide email field in "Request Data" Web Form
2021-03-27 12:36:32 +00:00
Suraj Shetty
0014fff24f
Merge branch 'develop' into typography-markdown 2021-03-26 18:09:39 +05:30
Faris Ansari
3c33393084 fix: Search icon in search bar 2021-03-26 14:42:54 +05:30
barredterra
308f19eb7b fix: intro of Request to Delete Data 2021-03-25 11:10:37 +01:00
barredterra
de31f578df fix: add into to Request to Delete Data 2021-03-25 11:06:45 +01:00
barredterra
c4b3507cf3 fix: unhide field, add intro 2021-03-25 10:53:07 +01:00
Suraj Shetty
0002ba6353
Merge branch 'develop' into get-context-without-param 2021-03-20 00:45:27 +05:30
Suraj Shetty
55daa0b424 fix: Reset Blog Post customization 2021-03-20 00:29:27 +05:30
Suraj Shetty
f3a60c44b3 test: Set user as admin before test begins 2021-03-19 18:56:21 +05:30
Faris Ansari
901cbc98f0 fix: Support calling get_context without a param 2021-03-18 14:14:34 +05:30
Gavin D'souza
9473f7e05c refactor: Re-order methods for better readability 2021-03-15 19:02:45 +05:30
Gavin D'souza
9df165777d fix: Replace email and name data in single assignment 2021-03-15 18:07:43 +05:30
Gavin D'souza
48c0160b6a Merge branch 'develop' of github.com:frappe/frappe into refactor-personal-data-deletion 2021-03-15 16:07:17 +05:30
Prssanna Desai
d297174817
Merge pull request #12557 from prssanna/redesign-fixes 2021-03-15 12:20:42 +05:30
mergify[bot]
e9aa93fe98
Merge pull request #12424 from CaseSolvedUK/sitemapfix-v13
fix: Bug preventing proper detection of pages
2021-03-11 08:58:13 +00:00
prssanna
72192e4a10 fix: web form style 2021-03-11 14:22:38 +05:30
Faris Ansari
45c07f14a5 fix: Make feature card fully clickable 2021-03-09 21:54:44 +05:30
Gavin D'souza
f677573164 Merge branch 'develop' of github.com:frappe/frappe into refactor-personal-data-deletion 2021-03-08 15:39:50 +05:30
Gavin D'souza
b7b5880399 test: Personal Data Deletion Request 2021-03-04 19:38:11 +05:30
Gavin D'souza
515d1adad3 fix: Set anonymization dict during init 2021-03-04 19:37:19 +05:30
Gavin D'souza
da427111dc Merge branch 'develop' of github.com:frappe/frappe into refactor-personal-data-deletion 2021-03-04 18:36:15 +05:30
Gavin D'souza
00f79ebd03 fix: Autoname documents with valid email IDs 2021-03-04 18:34:30 +05:30
Gavin D'souza
a686f58dc0 test: Personal Data Deletion Request 2021-03-04 13:27:44 +05:30
Gavin D'souza
b9377161cb fix: Update hooks for user privacy documents 2021-03-04 13:02:32 +05:30
Gavin D'souza
b8f962fd8f fix: Use site domain for deleted user name
* Use strict option for Comment
2021-03-04 12:36:57 +05:30
Ankush Menat
0da8077847
fix: track setting changes 2021-03-02 18:33:13 +05:30
Gavin D'souza
c577297b6f style: Prettier JS styling 2021-02-26 22:07:56 +05:30
Gavin D'souza
6b104e2bf1 feat: Partial field value redaction
Finds and replaces Full Name and User email ID from specified DocTypes

Changes:
* Option "partial" added in user_data_fields
* If "redact_fields" aren't speciifed, "partial" mode is assumed
* If "rename" is set, the respective docs are renamed with self.anon
* "strict" if unset, is assumed to be False. In this case, a non conditional
query is used to delete data. If "strict" is True, Personal Data
Deletion Request will obey "filter_by" field value if defined else "owner" is used
2021-02-26 21:24:02 +05:30
Gavin D'souza
3208836fae fix: Redact field data completely defined via redact_fields
* Replace data in the fields mentioned in the hook, user_data_fields'
redact_fields option
* The value is decided by utilizing the anonymization_value_map defined
by the __set_anonymization_data method
* Rename User doc with self.anon value and mark as "Deleted"
2021-02-26 21:12:03 +05:30
Gavin D'souza
c220c6063d fix: Standardize anonymization Data
* Set anonymization matrix for instance of Personal Data Deletion Request
* During the initialization of the object, privacy docs are segregated
into full match and partial data redaction types
* Context for execution of _anonymize_data is set via
__set_anonymization_data by default unless set_data is False
2021-02-26 20:59:49 +05:30
Gavin D'souza
af3c8d45a2 fix: Single trigger for Data Deletion workflow
* Sytem Manager authorization for triggering data deletion
* Validate form verififcation state
* Disable user before data deletion process starts
2021-02-26 20:53:40 +05:30
Gavin D'souza
e8efc32b28 style: Re-fromatted functions via Black-ish 2021-02-26 20:49:44 +05:30
Gavin D'souza
479631c144 refactor: Split functionality into re-usable methods 2021-02-26 20:45:30 +05:30
Gavin D'souza
557d1aa6e7 fix: Use standard frappe configuration for Email validation
happy side-effect: JSON shrinks with new schema
2021-02-26 20:37:46 +05:30