Commit graph

36088 commits

Author SHA1 Message Date
hrwx
cc5723b42f Merge branch 'develop' of github.com:frappe/frappe into multistep_webforms 2021-12-28 04:50:51 +05:30
mergify[bot]
72ee2a0817
Merge pull request #15434 from ChillarAnand/archive
fix: Use makedirs instead of mkdir to create archived sites path
2021-12-27 19:57:21 +00:00
ChillarAnand
f648852e81 fix: Use makedirs instead of mkdir to create arhived sites path 2021-12-27 18:02:14 +05:30
mergify[bot]
b7dfd7f75a
Merge pull request #15443 from alyf-de/dont-rebuild-search
feat: option to not rebuild search on rename
2021-12-27 12:04:19 +00:00
gavin
e1ec5ec964
Merge pull request #15458 from gavindsouza/print-format-rename
fix: Rename Property Setter on Print Format Rename
2021-12-27 15:48:05 +05:30
mergify[bot]
047466bc77
Merge pull request #15457 from ruchamahabal/fix-set-fetch-from
fix: set fetch from values before checking permissions
2021-12-27 09:57:02 +00:00
mergify[bot]
b3cacdf40d
Merge pull request #15435 from karthikeyan5/develop-fix-mobile-print-page-menu
fix(print page): additional menu in mobile view print page
2021-12-27 09:51:14 +00:00
Gavin D'souza
7a68d797e9 fix: Rename Property Setter on Print Format Rename
This fixes the default print format set when Custom Print Formats are
renamed
2021-12-27 15:02:52 +05:30
Rucha Mahabal
97d049cab9 fix: set fetch from values before checking permissions
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2021-12-27 12:56:41 +05:30
mergify[bot]
bace5cd209
Merge pull request #15439 from shariquerik/container-js-fix
fix: Workspace content loading twice
2021-12-27 06:41:03 +00:00
Suraj Shetty
7cb293799a
Merge branch 'develop' into container-js-fix 2021-12-27 11:33:21 +05:30
Wolfram Schmidt
f0e15338fe
fix: Grammar of error statement in 404 page (#15447)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-12-27 11:23:30 +05:30
Suraj Shetty
a83f91f5b4
Merge pull request #15454 from frappe/misc-fixes-25-dec 2021-12-27 11:20:41 +05:30
mergify[bot]
753523bb77
Merge pull request #15449 from frappe/fix-iss-15448
fix: don't run webhook in migrate
2021-12-27 05:41:14 +00:00
Raffael Meyer
829475a98d
fix: don't run webhook in migrate 2021-12-25 22:53:17 +01:00
mergify[bot]
ba9d302357
Merge pull request #15328 from saxenabhishek/aks-test-fixtures
test: import fixtures
2021-12-25 20:46:33 +00:00
Suraj Shetty
8dce649933 fix: Use last_value as a fallback if model value isn't set
- Did this to avoid repeated value set of datetime value which causes browser to freeze.
This happens only with the datetime control is used in filters (with a default value) and is not linked with a form.
2021-12-25 22:50:34 +05:30
Suraj Shetty
16435de3d6 fix: Null state style 2021-12-25 21:38:58 +05:30
barredterra
429d5178e0 feat: option to not rebuild search on rename 2021-12-24 16:14:10 +01:00
karthikeyan5
a1c9282368 fix: update refresh lable in print view 2021-12-24 20:35:17 +05:30
mergify[bot]
1b28c3b4ed
Merge pull request #15407 from resilient-tech/server-scripts
feat: `frappe.enqueue` and `frappe.call` for Server Scripts
2021-12-24 14:14:51 +00:00
Suraj Shetty
84f366bbfc
Merge branch 'develop' into aks-test-fixtures 2021-12-24 19:19:45 +05:30
Suraj Shetty
f19c67314d
style: Fixed indentation 2021-12-24 19:19:22 +05:30
mergify[bot]
8b3ccd9ab6
Merge pull request #15437 from gavindsouza/custom-child-table-get_list
fix: Handle custom child tables via check_parent_permission
2021-12-24 13:41:02 +00:00
Shariq Ansari
9f18c9eeb7
Merge branch 'develop' into container-js-fix 2021-12-24 17:12:12 +05:30
Ankush Menat
3ff26ae44c
Merge pull request #15426 from gavindsouza/feedback-bs
refactor: Fractional ratings patch
2021-12-24 17:11:41 +05:30
Shariq Ansari
109b07971c fix: removed unused code from container.js which fixes workspace content loading twice 2021-12-24 16:31:18 +05:30
Ankush Menat
0b7f2804d7 refactor: make ratings field nullable while altering 2021-12-24 16:31:09 +05:30
Ankush Menat
600156b1a1 refactor!: allow modified column to be nullable
* updated change_column_type to allow making columns nullable.
* breaking change: in postgres the method was previously nullable by
  default, changed it to be consistent with mariadb.
2021-12-24 16:31:06 +05:30
Rushabh Mehta
193eca4721
Merge pull request #15438 from shariquerik/single-card-for-tabs
refactor(UI): Single card design for form
2021-12-24 16:06:46 +05:30
Shariq Ansari
6eb00fd378
Merge branch 'develop' into single-card-for-tabs 2021-12-24 15:04:39 +05:30
Shariq Ansari
a2a6e112ee refactor(UI): Single card design for form 2021-12-24 14:42:32 +05:30
Gavin D'souza
0f71dd411b style: DatabaseQuery.execute's permission cond block 2021-12-24 14:01:26 +05:30
Gavin D'souza
84ebdabe49 refactor(minor): frappe.has_permission
The throw block was very clearly broken. Referencing frappe.throw inside
__init__.py rip. Added drop in replacement msgprint call
2021-12-24 13:59:57 +05:30
Gavin D'souza
3b7b555148 fix: Pass parent_doctype required for DatabaseQuery perm checks
has_child_table_permission would throw 'Parent DocType Required: Please
specify a valid parent DocType for {TEST DOCTYPE}' after the previous
commit 33b7d7d74f. Passing parent_doctype
solves this
2021-12-24 13:57:07 +05:30
Gavin D'souza
33b7d7d74f fix: Handle custom child tables via check_parent_permission
Check `tabCustom Field` and `tabDocfield` for matching parent existence.
2021-12-24 13:28:40 +05:30
karthikeyan5
dd731903bd fix(print page): addtional menu in mobile view 2021-12-24 10:04:42 +05:30
mergify[bot]
7e34c27690
fix: Incorrect timespan daterange calculation (backport #15369) (#15431)
Co-authored-by: Kartik Sharma <kartiksharma9319@gmail.com>
2021-12-24 00:20:57 +05:30
mergify[bot]
99ab47b949
Merge pull request #15394 from gavindsouza/safe-base64-decode
fix: Safe decode base64 data in case of incorrect padding
2021-12-23 18:07:15 +00:00
mergify[bot]
6ba68ea5a3
Merge pull request #15413 from hrwX/update_notification_msg
chore: update msg_print messages
2021-12-23 18:07:07 +00:00
mergify[bot]
3af410a05f
Merge pull request #15427 from ankush/route_hist
fix: mutating route history while get_last_doc
2021-12-23 18:00:32 +00:00
saxenabhishek
ed9dad8f30 test: import single doctype 2021-12-23 22:13:51 +05:30
mergify[bot]
059e1cc364
fix: Report boilerplate (js, py) year to current year (#15429)
Co-authored-by: mymi14s <mymi14s@hotmail.com>
2021-12-23 21:49:45 +05:30
Ankush Menat
442e58415b fix: mutating route history while get_last_doc
co-authored-by: @skjbulcher
2021-12-23 21:32:23 +05:30
saxenabhishek
016bda51aa test: import doctype fixtures 2021-12-23 21:29:12 +05:30
Gavin D'souza
141f4922e7 fix: Skip patch if column already converted
Co-authored-by: Ankush Menat <me@ankush.dev>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2021-12-23 19:55:53 +05:30
Gavin D'souza
fd11b0e8e7 fix: Re-run patch to ensure column conversion
Co-authored-by: Ankush Menat <me@ankush.dev>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2021-12-23 19:55:45 +05:30
Gavin D'souza
27f8a1ea56 refactor: Fractional ratings patch
* Change column types of rating fields
* Workaround added for truncated/NULL values

Co-authored-by: Ankush Menat <me@ankush.dev>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2021-12-23 19:55:36 +05:30
Shariq Ansari
074d0b498b refactor: show dashboard section on particular tabs (set options = Dashboard) 2021-12-23 12:09:51 +05:30
Himanshu
f123ed09b5
chore: update title and messages for frappe.msgprint
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2021-12-22 20:08:15 +00:00