Commit graph

28615 commits

Author SHA1 Message Date
Sagar Vora
bc305dab10 test: fix test_override_doctype_class by resetting cached values 2021-01-06 16:59:40 +05:30
Sagar Vora
c8ef51a8ec perf: revert to using _classes global instead of frappe.cache 2021-01-06 16:33:41 +05:30
Wolfram Schmidt
3e6dd594ef
fix: translation (#12117) 2021-01-05 17:18:54 +05:30
Tim Gates
f54ec2ba11
docs: fix simple typo, transaltion -> translation (#12136)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-01-05 17:18:09 +05:30
Anupam Kumar
dfc5fb3b5d
fix: list view comment count (#12156) 2021-01-05 17:05:35 +05:30
gavin
0b5868af00
fix: Strip HTML only if string is passed, else evaluate like before (#12157) 2021-01-05 16:52:38 +05:30
Anupam Kumar
35c612e076
fix: translator url (#12144) 2021-01-05 16:15:25 +05:30
mergify[bot]
3fdf78c5cb
Merge pull request #12099 from frappe/document-naming-rule-field-validation
fix: document naming rule validation for fields
2021-01-04 09:37:03 +00:00
mergify[bot]
2fd50e1202
Merge pull request #11912 from conncampbell/Read-Only-Grid-Field
fix: Read-only table has read-only form fields.
2021-01-04 09:32:11 +00:00
Shivam Mishra
d133f9c5f3
Merge pull request #12138 from scmmishra/fix-json-dumps-date 2020-12-31 13:15:54 +05:30
Shivam Mishra
f055604167 fix: default str for json dumps 2020-12-31 13:11:46 +05:30
Prssanna Desai
97e2469382
Merge pull request #12116 from prssanna/mandatory-rating-field
fix: null as default value for rating field
2020-12-29 17:26:44 +05:30
Prssanna Desai
dc8d6a99d3
Merge pull request #11202 from Monogramm/feat/map-develop 2020-12-29 17:25:41 +05:30
Saurabh
97b693c6b0
feat: Added permission to grant only Select access to document (#12063)
* feat: add permtype 'select' to DocPerm and CustomDocPerm

* feat: add 'select' perm in rights tupple

* feat: provisions to handle select permission

* feat: toggle href based on permissions

* feat: pass permission type explicitly while validating link in permission check

* fix: sider

* feat: added test cases to validate select perm

* feat: add method frappe.only_has_select_perm to explicitly check the select perm

* fix: if user only has select perm then do not show anchor tag for link fields

* fix: sider
2020-12-29 16:58:28 +05:30
mathieu.brunot
6a02f5ad52
style: Fix Sider issues
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-12-29 01:27:13 +01:00
Prssanna Desai
0e96a0a1dc
Merge pull request #12130 from prssanna/cancel-button-fix
fix: Show cancel button only if document is cancellable
2020-12-28 17:44:35 +05:30
prssanna
c982875b6a fix: Show cancel button only if document is cancellable 2020-12-28 13:40:12 +05:30
mathieu.brunot
9dde944f10
fix: Fix call to utils map defaults
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-12-24 15:32:23 +01:00
Faris Ansari
bc9d6cff2e
fix(patch): Remove Package Publish Tool doctypes (#12113) 2020-12-24 18:36:59 +05:30
mathieu.brunot
d6488a043e
refactor: Move map default to utils
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-12-24 13:59:02 +01:00
Abhishek Balam
29ace38768
Merge pull request #12123 from frappe/abhishekbalam-patch-1
fix(System Settings): Email Section Typo
2020-12-23 21:44:14 +05:30
Abhishek Balam
f38615585b
fix:email section typo 2020-12-23 21:38:43 +05:30
Abhishek Balam
3db2fd2c9f
fix: Email Section label typo 2020-12-23 21:37:24 +05:30
Deepesh Garg
e8b2173341
Merge pull request #12092 from deepeshgarg007/breadcrumbs_schema
fix: Improve breadcrumbs markup schema for website
2020-12-23 16:52:33 +05:30
mathieu.brunot
5131697f3c
chore: Improve format of map defaults
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-12-23 01:34:59 +01:00
Mathieu Brunot
7d490528f5
Merge branch 'develop' into feat/map-develop 2020-12-23 01:28:42 +01:00
mathieu.brunot
4961774fac
chore: Define constants for map and geolocation
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-12-23 01:20:39 +01:00
prssanna
877a25225a fix: null as default value for rating field 2020-12-22 13:16:19 +05:30
Deepesh Garg
f4ba3e7c0a fix: Update breadcrumb markup schema 2020-12-22 12:42:58 +05:30
mergify[bot]
ee3c4943bf
Merge pull request #12088 from hrwX/patch-1
fix: strip html before checking for null values
2020-12-21 10:49:59 +00:00
Rushabh Mehta
4efe5a12e0
Merge pull request #12105 from rohitwaghchaure/fixed-module-removed-issue
fix: do not remove the modules from txt file if developer mode is off
2020-12-21 12:52:49 +05:30
Rohit Waghchaure
5a77383aa8 fix: donot remove the modules from txt file if developer mode is off 2020-12-19 13:21:28 +05:30
mergify[bot]
a6705135dc
fix: Link attachment in webform for new file (bp #12097) (#12102)
(cherry picked from commit 85d6a640358fa0337aaac405e71b7d14395fb298)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-12-19 08:49:14 +05:30
pateljannat
d3a046a72c fix: check for doctype change before validation 2020-12-18 21:18:47 +05:30
Prssanna Desai
c47f03c48f
Merge pull request #12090 from prssanna/number-card-diff
fix: rendering of percentage stat
2020-12-18 14:42:04 +05:30
pateljannat
6d98953191 fix: change request 2020-12-18 14:35:00 +05:30
prssanna
afa8a74497 fix: rendering of percentage stat 2020-12-18 13:06:35 +05:30
pateljannat
ebd6de1ae1 fix: document naming rule validation for fields 2020-12-18 12:04:50 +05:30
sahil28297
018e45fdcc
chore: add space after if keyword 2020-12-18 00:13:49 +05:30
Suraj Shetty
41a3b8c284
fix(workflow): Update modified timestamp (#12093)
To sync changes in https://github.com/frappe/frappe/pull/11787 after migrate
2020-12-17 20:44:23 +05:30
Rushabh Mehta
c873c36971 feat(minor): add before_commit methods 2020-12-17 18:46:06 +05:30
Deepesh Garg
72c25d28b3 fix: Improve breadrumbs markup schema for website 2020-12-17 17:37:22 +05:30
Marica
d5a1faebcb
Merge pull request #11795 from gavindsouza/fix-broken-folders
fix: Rename Doc (and others)
2020-12-17 11:37:33 +05:30
Gavin D'souza
2b4299a105 test: Set frappe.conf.developer_mode for test_rename_doc 2020-12-17 11:18:13 +05:30
mergify[bot]
f94d5fc092
Merge pull request #12047 from frappe/snyk-fix-e205bf085ec74cf13bd3f75b89038f28
chore(deps): Security upgrade highlight.js from 9.18.5 to 10.4.1
2020-12-16 14:32:24 +00:00
Gavin D'souza
bd7ff5277c fix(hljs): Import core instead of highlight
ref: https://unpkg.com/browse/highlight.js@10.4.1/lib/highlight.js
2020-12-16 19:27:02 +05:30
Gavin D'souza
c876cdc63e fix: Update controllers via delete_doc and rename_doc only in
developer_mode
2020-12-16 19:04:59 +05:30
Himanshu
00255a4c9e
fix: strip html before checking for null values
Co-authored-by: Sahil Khan <sahilkhan28297@gmail.com>
2020-12-16 17:40:18 +05:30
Gavin D'souza
aea6123348 chore: Drop unused? highlight.pack.js 2020-12-16 17:39:29 +05:30
mergify[bot]
530a51f9ed
Merge pull request #11899 from conncampbell/11745-workflow-condition-date
feat: Workflow transition condition allows datetime functions
2020-12-16 10:22:21 +00:00