Commit graph

31969 commits

Author SHA1 Message Date
mergify[bot]
3b5b908d8a
fix: Grid Form buttons Insert Above, Insert Below not hidden when can… (backport #12906) (#12907)
Co-authored-by: shariquerik <sharique.rik@gmail.com>
2021-04-19 17:20:54 +05:30
mergify[bot]
6587744b09
fix: Typo in get_all_language_with_name (backport #12902) (#12903)
(cherry picked from commit 1600d85279)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-19 14:29:58 +05:30
mergify[bot]
7cff552dd4
fix(minor): Add a delete trigger in grid, and use it to refresh labels in Website Settings (backport #12890) (#12900)
(cherry picked from commit 0d87ad2133)

Co-authored-by: Rushabh Mehta <rmehta@gmail.com>
2021-04-19 13:11:18 +05:30
mergify[bot]
eed1b6961e
chore: Upgrade frappe-charts to rc13 (backport #12896) (#12897)
(cherry picked from commit c16584bbf1)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-19 10:51:01 +05:30
mergify[bot]
762f74b590
fix: Kanban board sync issue (backport #12874) (#12889) 2021-04-18 10:23:41 +05:30
Suraj Shetty
5193c291d0
Merge pull request #12884 from frappe/mergify/bp/version-13-pre-release/pr-12879
fix: Cannot read property `current` of undefined (backport #12879)
2021-04-17 17:14:13 +05:30
Sagar Vora
34c1235111 fix: Cannot read property current of undefined
(cherry picked from commit 01cd2308bb)
2021-04-17 11:02:45 +00:00
mergify[bot]
289b9b6dad
fix(Workspace): Newly created Workspace not being accessible (backport #12866) (#12869)
(cherry picked from commit de70877228)

Co-authored-by: nikhilponnuru <nikhil.kp@zerodha.com>
2021-04-16 08:06:01 +05:30
mergify[bot]
b103dbd067
fix: attachment pill lock icon redirects to File (backport #12864) (#12868)
(cherry picked from commit d216acaaae)

Co-authored-by: walstanb <walstanb@gmail.com>
2021-04-16 07:57:38 +05:30
Suraj Shetty
74a27a8bb3
Merge pull request #12862 from frappe/mergify/bp/version-13-pre-release/pr-12861
fix: Multi-column paste in grid (backport #12861)
2021-04-15 16:39:00 +05:30
Suraj Shetty
4265b31ba4 fix: Multi-column paste in grid (#12861)
(cherry picked from commit ccadda21d5)
2021-04-15 11:08:10 +00:00
mergify[bot]
56f82cc89d
fix: Load server translations in boot (backport #12848) (#12852)
(cherry picked from commit a373c00abd)

Co-authored-by: thebachy1 <manuelcu2299@hotmail.com>
2021-04-15 10:20:59 +05:30
Nabin Hait
23f9f0b1d2 fix: Resolved merge conflict 2021-04-14 12:38:31 +05:30
Nabin Hait
cc136e869e Merge branch 'version-13-pre-release' into version-13 2021-04-14 12:36:23 +05:30
Nabin Hait
eb73955bc0 bumped to version 13.0.3 2021-04-14 12:56:23 +05:50
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
rohitwaghchaure
0a896c8106
Merge pull request #12840 from rohitwaghchaure/fixed-user-type-creation-patch
fix: travis patch while creating limited access user type
2021-04-13 18:49:44 +05:30
Rohit Waghchaure
b33ae71fa5 fix: travis patch while creating limited access user type 2021-04-13 18:48:00 +05:30
mergify[bot]
a61f42a9a1
Merge pull request #12839 from rmehta/grid-field-fix
fix(minor): dynamically changing grid properties
2021-04-13 06:49:08 +00:00
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
mergify[bot]
b95d6af5bf
Merge pull request #12791 from deepeshgarg007/if_owner_per_check_url
fix: Apply only if creator perm irrespective of user
2021-04-13 05:04:30 +00:00
Suraj Shetty
a0efc09008
Merge pull request #12838 from frappe/mergify/bp/version-13-pre-release/pr-12836
fix: Include dropped and renamed tables in touched tables list (bp #12836)
2021-04-13 10:34:24 +05:30
Aditya Hase
462e3b83b5 fix: Include dropped and renamed tables in touched tables list
(cherry picked from commit 2b1458e3fb)
2021-04-13 05:02:46 +00:00
mergify[bot]
6f87ff7cb2
Merge pull request #12836 from adityahase/fix-touched-tables-drop
fix: Include dropped and renamed tables in touched tables list
2021-04-13 05:01:23 +00:00
Aditya Hase
2b1458e3fb
fix: Include dropped and renamed tables in touched tables list 2021-04-12 22:29:49 +05:30
Deepesh Garg
a7c8b93430 fix: Delete doc afer use 2021-04-12 22:05:09 +05:30
Deepesh Garg
a0fa3d0fd5 Merge branch 'develop' of https://github.com/frappe/frappe into if_owner_per_check_url 2021-04-12 21:24:19 +05:30
Deepesh Garg
14c67cb244 fix: Test to check if_owner perm on delete 2021-04-12 19:48:47 +05:30
rohitwaghchaure
96c3bfe511
Merge pull request #12831 from rohitwaghchaure/fixed-user-type-for-select-perm
fix: patch travis
2021-04-12 15:17:47 +05:30
Rohit Waghchaure
d929d8cba2 fix: patch travis 2021-04-12 14:04:08 +05:30
Shakirullah Waseeb
9bb0c85d3f
fix: added 'ps' to the right-to-left languages list (#12812)
* Added Pashto language to the rtl list.

Pashto (ps) writing is based on Arabic script, so it is a right to left language.  Therefore, added the "ps" to the rtl languages list in the following line of code.
is_rtl(lang=null) {
		return ["ar", "he", "fa", "ps"].includes(lang || frappe.boot.lang);
}

* fix: ps to rtl languages list in printview.py
2021-04-12 06:40:01 +00:00
rohitwaghchaure
d10861bf21
Merge pull request #12828 from rohitwaghchaure/fixed-user-type-patch
fix: user type patch
2021-04-11 16:59:22 +05:30
mergify[bot]
e7b557edeb
Merge pull request #12823 from marination/icon-title-styles
chore: Icon Stroke and Optional title for tabs section
2021-04-11 08:32:57 +00:00
Deepesh Garg
d3c363a8f4 fix: Do not delete blog post 2021-04-11 12:42:37 +05:30
Deepesh Garg
dce4f62ff3 fix: Do not reset blog post perm 2021-04-11 10:27:44 +05:30
Deepesh Garg
a4c973a549 fix: Update users for test 2021-04-11 10:26:07 +05:30
Rohit Waghchaure
0bc74cc89b fix: user type patch 2021-04-11 10:12:04 +05:30
Deepesh Garg
7b929fa72c fix: Update blog category 2021-04-10 23:05:08 +05:30
Deepesh Garg
cb27653da1 fix: Test case for if_owner perm with getdoc 2021-04-10 22:34:12 +05:30
marination
580d38dd46 chore: Icon Stroke and Optional title for tabs section 2021-04-09 12:59:12 +05:30
Leela vadlamudi
e5d3aac707
Merge pull request #12693 from leela/notifications-into-timeline
feat: Include automated mail notifications in timeline
2021-04-08 20:38:29 +05:30
mergify[bot]
497097401d
Merge pull request #12817 from leela/perm-check-on-report-status-change
fix: check authorization before changing report status
2021-04-08 13:51:25 +00:00
Prssanna Desai
97c33b1f0d
Merge pull request #12819 from prssanna/webform-style
fix: web form style
2021-04-08 19:14:40 +05:30
Prssanna Desai
b5a8d9a295
Merge branch 'develop' into perm-check-on-report-status-change 2021-04-08 19:04:23 +05:30
prssanna
d670542a3e fix: web form style 2021-04-08 18:55:29 +05:30
Suraj Shetty
dcd98fb80e
fix: Select correct language
Fixes a bug in the language selection
2021-04-08 17:50:03 +05:30
mergify[bot]
0bf28cf059
Merge pull request #12722 from shariquerik/show-users-attachments-only-fix
fix: Only allow user's attachments to show in attachments tree
2021-04-08 10:38:28 +00:00
leela
ace1edae56 test: authorization test for Report status toggle 2021-04-08 15:43:28 +05:30
shariquerik
0affa16f14 test: permission fix 2021-04-08 15:11:54 +05:30