Commit graph

36088 commits

Author SHA1 Message Date
Aradhya-Tripathi
94f2a6e275 feat: Added run kwarg to get_all, get_values 2021-10-23 15:08:02 +05:30
Aradhya-Tripathi
23c3079433 fix: set_value now takes for_update for pypika objects 2021-10-22 23:43:47 +05:30
Ankush Menat
614423e41c
chore: change repo name 2021-10-22 22:37:06 +05:30
Ankush Menat
488cb31265 ci: move semgrep rules out of repo 2021-10-22 21:46:50 +05:30
gavin
a930e98ca3
Merge pull request #14548 from gavindsouza/fix-flaky-printview
test(website): Clear db.value_cache on tearDown
2021-10-22 20:13:08 +05:30
Faris Ansari
c1053bea93 fix: Field rendering of every field 2021-10-22 19:20:42 +05:30
Faris Ansari
04e10c4c9e fix: Barcode rendering
- CSS variables in svg don't work in PDF
- styling is done via external css now to make it work in form as well as PDF
2021-10-22 19:14:59 +05:30
mergify[bot]
41b550d81d
Merge pull request #14546 from ankush/awesomebar_flaky_test
test: fix flaky awesome_bar test
2021-10-22 12:55:32 +00:00
Gavin D'souza
f08faf151c test(website): Clear db.value_cache on tearDown 2021-10-22 18:18:14 +05:30
Ankush Menat
5996d6829d test: fix flaky awesome_bar test 2021-10-22 15:47:17 +05:30
mergify[bot]
8cbbda7ab7
Merge pull request #14441 from Aradhya-Tripathi/query-conversion
refactor: replacing raw SQL queries with frappe ORM
2021-10-22 09:00:42 +00:00
Gavin D'souza
cb66e6508d refactor(minor): Use pluck & better var naming 2021-10-22 14:17:52 +05:30
Aradhya-Tripathi
0410a88aea refactor: replaced sql_list 2021-10-22 13:31:36 +05:30
gavin
1b8c826ae1
Merge pull request #14531 from ankush/remove_debug
fix: remove debug statements
2021-10-22 12:52:07 +05:30
Umair Sayed
616d97ce78
Changed default for Email Log from 90 to 30 days (#14543) 2021-10-22 07:17:30 +00:00
Aradhya-Tripathi
e46b1d1116 feat: Added pluck in sql to mirror sql_list 2021-10-22 12:44:33 +05:30
Faris Ansari
c679c08675 fix: lru_cache decorator usage 2021-10-22 12:04:27 +05:30
mergify[bot]
bc2ffd5184
Merge branch 'develop' into print-format-builder-beta 2021-10-22 06:19:22 +00:00
mergify[bot]
ff27f80280
Merge pull request #14445 from resilient-tech/refactor-fetch-from
refactor: improved design for fetching values using `add_fetch`
2021-10-22 04:47:10 +00:00
mergify[bot]
868d545ba5
Merge branch 'develop' into print-format-builder-beta 2021-10-22 04:38:08 +00:00
Suraj Shetty
d88bd035d0
refactor: Use LRU cache instead of redis cache 2021-10-22 09:29:15 +05:30
Suraj Shetty
04374de9eb
fix: Update licence text
Co-authored-by: gavin <gavin18d@gmail.com>
2021-10-22 09:22:52 +05:30
mergify[bot]
725013751b
Merge pull request #14538 from frappe/slow_search
fix(ux): debounce awesome_bar search
2021-10-22 03:33:53 +00:00
Aradhya-Tripathi
012edfe090 refactor: made style changes & fixed query conversions 2021-10-22 01:15:46 +05:30
Ankush Menat
128728a0c2 fix: debounce awesome_bar search
When system language is not english each call to search translates all
doctypes, reports etc to match them. This is computationally intensive
and freezes DOM while typing.

Debouncing to make it usable for now.

Ideal solution: cache translations of standard objects somehow / debounce + async.

refer: https://github.com/frappe/frappe/issues/13914

- replaced manual implementation of debouncing with frappe.utils.debounce
- increased timeout to 500ms.
- assuming ~30 wpm and 5 letter / word ~= 0.4 second / letter.
2021-10-21 23:44:47 +05:30
Faris Ansari
2ca464e4dd fix: control styling in preview 2021-10-21 20:32:44 +05:30
Faris Ansari
937fc35022 fix: body height in html preview 2021-10-21 20:13:53 +05:30
Faris Ansari
09c84b24d1 fix: Create letter head UX 2021-10-21 20:06:41 +05:30
Faris Ansari
86afd15100 fix: Revert back to text buttons 2021-10-21 19:43:16 +05:30
Sagar Vora
7aa8059b57 test: add UI test to ensure fetch_from works 2021-10-21 19:11:17 +05:30
Sagar Vora
f2b319920c refactor: improved design for fetching values using add_fetch 2021-10-21 19:00:30 +05:30
Suraj Shetty
cfa257929e
Merge pull request #14532 from resilient-tech/setDefault 2021-10-21 17:45:47 +05:30
mergify[bot]
dfffcc38b6
Merge pull request #14488 from resilient-tech/bulk_update
fix: ignore `flags` in `frappe.client.bulk_update`
2021-10-21 12:05:13 +00:00
Sagar Vora
551f68d85a feat: setDefault for JS Objects 2021-10-21 17:03:43 +05:30
Ankush Menat
a4772d7923
fix: remove debug statement 2021-10-21 16:58:13 +05:30
Sagar Vora
9df93d341b fix: ignore flags in frappe.client.bulk_update 2021-10-21 15:35:02 +05:30
Shariq Ansari
5ceb672983
Merge branch 'frappe:develop' into primary-navbar-css-fix 2021-10-21 14:23:12 +05:30
mergify[bot]
f068e53712
Merge branch 'develop' into add-login-fields 2021-10-21 08:38:36 +00:00
mergify[bot]
c616e557fd
Merge pull request #14358 from dj12djdjs/feat-bulk-rename-merge
feat: bulk rename allow merge option
2021-10-21 08:05:44 +00:00
mergify[bot]
d54c6e6d7a
Merge pull request #14451 from shariquerik/revert-single-scrollbar-pr
revert: Reverting single vertical scrollbar fix
2021-10-21 07:48:03 +00:00
mergify[bot]
6299938165
Merge pull request #14266 from shariquerik/wspace-code-cleanup
fix: Workspace 2.0 code cleanup
2021-10-21 07:31:07 +00:00
Suraj Shetty
cdde111021 fix: Re-arrange code
Return true if user is Admin before checking child table condition
2021-10-21 13:00:52 +05:30
Suraj Shetty
2a2421888f fix: Check parent permission while doing has_permission for child
- Since, permissions for child table is based on parent doctype
2021-10-21 12:21:51 +05:30
Suraj Shetty
5d6252c93e
Merge pull request #14519 from shariquerik/info-timeline-user-fix 2021-10-21 12:14:49 +05:30
mergify[bot]
20a1d2ded5
Merge pull request #14419 from alyf-de/multi-doctype-custom-fields
feat: allow tuple of DocTypes as key
2021-10-21 06:32:55 +00:00
Shariq Ansari
f26dab4b56
Merge branch 'frappe:develop' into revert-single-scrollbar-pr 2021-10-21 11:49:57 +05:30
Mohammad Hasnain
08ac2eda0a Merge branch 'develop' into between-formatting 2021-10-20 19:37:43 +05:30
Faris Ansari
5f5f0e8bba fix: Include print style and print format css 2021-10-20 19:18:35 +05:30
Faris Ansari
c4028c138c fix: fields container height 2021-10-20 19:06:26 +05:30
Faris Ansari
239ec49612 style: formatting 2021-10-20 19:06:16 +05:30