Sagar Vora
0c220169da
chore: reorder pylint disable
2022-12-07 13:50:59 +05:30
Sagar Vora
aa53779e6b
fix: improve condition to init context
2022-12-07 13:46:34 +05:30
Sagar Vora
7d47d10692
fix: override RestrictedPython transformer to allow _dict, revert frappe.as_dict
2022-12-07 13:45:28 +05:30
Sagar Vora
10695d3d49
feat: make context optional when calling render_template
2022-12-07 13:32:38 +05:30
Sagar Vora
f2e1dbe7eb
fix: restore _dict, used in Jinja code
2022-12-07 13:13:27 +05:30
Raffael Meyer
6e8820e627
chore: translate doctype in link error ( #19164 )
2022-12-07 00:31:39 +05:30
Ankush Menat
d389fffbb7
feat: inter-process file locks ( #19133 )
2022-12-06 16:31:51 +05:30
Ankush Menat
bbcc365a24
fix: use monotonic clock for timing code ( #19138 )
...
* fix: use monotonic time for timing code
`time.time()` depends on system clock which can drift away and get corrected
over time. If you're unlucky it will get corrected in your timing code
and give absurd results.
* test: dont check for status
can refresh and give wrong output
[skip ci]
2022-12-06 15:42:37 +05:30
Daizy Modi
d76b5fb719
fix: type conversion for read receipt in communication email
2022-12-06 08:25:11 +00:00
Shariq Ansari
2201601170
Merge branch 'develop' into ldap-multiple-email
2022-12-05 22:28:51 +05:30
Shariq Ansari
86dc33c1f1
fix: LDAP - check each email in list before creating user
2022-12-05 22:14:51 +05:30
Ankush Menat
4ba72d0f29
fix: give more weight to sequential matches ( #19121 )
2022-12-05 18:00:15 +05:30
Aradhya Tripathi
68e9fa639e
docs: Added query_builder docs ( #19086 )
...
* docs: Added query_builder docs
* docs: Added future works
2022-12-05 16:48:12 +05:30
Sagar Vora
9a3819e608
fix: disable signups by default ( #19114 )
...
* fix: disable signups by default
* fix: set `disable_signup` to `0` for tests
2022-12-05 16:40:51 +05:30
Sagar Vora
4ea39d1a68
chore!: drop device support from session ( #18729 )
...
* chore!: drop device support from session
* chore: remove `session_expiry_mobile` field
* fix: remove extra `%s`
2022-12-05 16:37:32 +05:30
Ankush Menat
186b88a8cb
build: Bump minimum required MariaDB version ( #19116 )
2022-12-05 16:24:35 +05:30
Ankush Menat
56b6e3eabd
fix: deduplicate currencies manually
...
on mariadb 10.3 `insert ignore` doesn't work
2022-12-05 16:00:44 +05:30
ruthra kumar
90a4c93bf9
fix: attribute error on export of reports with additional columns ( #19105 )
2022-12-05 15:03:10 +05:30
Ankush Menat
39faf34ba4
fix: ignore empty/None scripts ( #19111 )
2022-12-05 13:32:45 +05:30
Ankush Menat
34f3f1469f
Merge pull request #19088 from phot0n/correct-doctype-perm-webform
...
fix(security): validate web form permissions correctly
2022-12-05 12:46:22 +05:30
Ritwik Puri
6444f66b36
Merge pull request #19093 from resilient-tech/get_permlevel_access
...
chore(Document): simplify `get_permlevel_access`
2022-12-05 12:41:32 +05:30
Raffael Meyer
f6f2c5ff8a
fix(UX): freeze on delete ( #19094 )
2022-12-05 12:36:33 +05:30
Maharshi Patel
03afa99e6c
feat(UI): Sticky Tabs Header ( #18906 )
...
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
Co-authored-by: Shariq Ansari <sharique.rik@gmail.com>
2022-12-05 12:19:58 +05:30
phot0n
d7f4540132
chore: consider docname via data
2022-12-05 12:19:29 +05:30
phot0n
8e0c4ce702
fix: use webform doctype rather than allowing user to pass any doctype
2022-12-05 11:56:12 +05:30
Sagar Vora
389e675764
fix: ensure correct parenttype when retrieving roles
2022-12-05 00:44:09 +05:30
barredterra
6e5ab01f21
fix: only System Manager can access Google Drive
2022-12-04 15:57:01 +01:00
Sagar Vora
4acddacf2d
chore(Document): simplify get_permlevel_access
2022-12-04 02:44:18 +05:30
Raffael Meyer
c7ef28fa0c
fix: don't validate to & from dates if any one is missing in validate_from_to_dates ( #19079 )
2022-12-03 18:32:59 +05:30
Ankush Menat
9c104a8e5e
fix: Warn about incompatible mariadb versions
2022-12-03 12:20:35 +05:30
Ankush Menat
11cdd21b88
fix: drop mariadb 10.2 checks
2022-12-03 12:20:35 +05:30
Sagar Sharma
cc9499c613
chore: typo in validate_loop msg ( #19091 )
...
* fix: typo in `validate_loop` msg
* chore: update translations
[skip ci]
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-12-03 12:08:41 +05:30
Ankush Menat
7d52df875f
perf(install): bulk insert country and currencies ( #19084 )
2022-12-03 12:03:05 +05:30
Raffael Meyer
04d1292cf1
fix: consistent translation in meta.get_label ( #19080 )
2022-12-02 23:38:15 +05:30
phot0n
856d7a9f65
fix: use permtype from passed arguments in has_web_form_permission when applying document permissions
2022-12-02 20:52:00 +05:30
Ankush Menat
28360e3983
perf: dont clear all cache during default install ( #19078 )
...
When installing frappe all system settings are for some reason moved to
tabDefaultValue, each default insert clears cache so meta is fetched
again on each insert.
Overall this results ins ~13% of install time.
2022-12-02 12:48:19 +05:30
Shariq Ansari
ef5c618954
Merge pull request #19063 from shariquerik/do-not-escape-undefined
2022-11-30 20:34:34 +05:30
Sagar Vora
2e2f8e8175
fix: only check for special characters in fieldname ( #19061 )
...
* fix: only check for special characters in fieldname
* chore: revert #18965
2022-11-30 16:03:02 +05:30
Shariq Ansari
903ade145a
fix: do not escape undefined txt
2022-11-30 15:48:03 +05:30
Nikhil
53957447b3
fix: check for bad zip files during unzipping in file doctype ( #19058 )
...
* check for bad zip files
2022-11-30 14:34:09 +05:30
Ankush Menat
83f591e69b
fix: empty search shows None ( #19055 )
...
[skip ci]
2022-11-30 12:52:59 +05:30
Shariq Ansari
3fd5b3703b
Merge pull request #19049 from frappe/mergify/bp/develop/pr-18858
2022-11-29 18:20:48 +05:30
Shariq Ansari
6babd4ec04
Merge pull request #18999 from CleoMenezesJr/develop
2022-11-29 18:00:04 +05:30
Anh Lê
7a68797d96
fix: Optimize check field type is tab break if the doctype has a workflow ( #18858 )
...
Co-authored-by: Anh Le <anhle>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
(cherry picked from commit d9ce6c12bf59ca9d96e385a09ef39ab417c24e2e)
2022-11-29 12:29:34 +00:00
Shariq Ansari
cc4e2868fc
fix: keep actions on right
...
Make action button's font text smaller with lesser padding
2022-11-29 17:20:13 +05:30
Ankush Menat
5d1444c21c
docs: add missing help text for commands ( #19039 )
...
closes https://github.com/frappe/frappe/issues/19036
[skip ci]
2022-11-29 16:01:25 +05:30
Shariq Ansari
a6d715b943
Merge branch 'develop' into patch-1
2022-11-29 15:12:19 +05:30
phot0n
8c28a233e2
fix: check read permission when downloading prepared report file
2022-11-29 14:43:27 +05:30
phot0n
5444df7036
chore: use default timeout 25 mins for prepared report
2022-11-29 13:46:11 +05:30
phot0n
f88d76f011
chore: convert job_id to link fieldtype in prepared report doctype
2022-11-29 13:46:11 +05:30