Commit graph

37417 commits

Author SHA1 Message Date
Sagar Vora
e9b1cdcdca refactor(BaseDocument)!: dont return __dict__ if key is falsy 2022-04-04 11:11:13 +05:30
Suraj Shetty
93e59a03c0
Merge pull request #16499 from surajshetty3416/fix-frappe-api-test-case-class 2022-04-04 07:39:10 +05:30
Suraj Shetty
80e8460850 test: Allow more options like content_type to be passed
`kwargs` is used internally while creating EnvironBuilder which eventually builds request object so additional options of request like content_type or mimetype  can be passed via kwargs
2022-04-04 07:14:43 +05:30
Suraj Shetty
3f1444438c
Merge pull request #16459 from nidhipurohit11/command-correction 2022-04-02 18:09:44 +05:30
Suraj Shetty
c27b9d3f31 test(command): Select staticarea of field if input is not available 2022-04-02 17:42:22 +05:30
Suraj Shetty
47a63b94e6 Merge branch 'develop' of https://github.com/frappe/frappe into command-correction 2022-04-02 16:57:16 +05:30
Suraj Shetty
b65cecdd34
Merge pull request #16493 from frappe/dependabot/npm_and_yarn/minimist-1.2.6 2022-04-02 16:55:31 +05:30
dependabot[bot]
020dac8c44
chore(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 06:53:04 +00:00
Faris Ansari
09c2b56f76
Merge pull request #16491 from netchampfaris/esbuild-target
chore: Set esbuild target to `es2017`
2022-04-02 12:22:33 +05:30
Suraj Shetty
1800dc0a18
Merge pull request #16377 from shariquerik/customize-form-highlighted-rows-fix 2022-04-02 08:49:46 +05:30
Suraj Shetty
e34b14291d
Merge branch 'develop' into customize-form-highlighted-rows-fix 2022-04-02 08:16:34 +05:30
Faris Ansari
93169e054d chore: set esbuild output target to es2017 2022-04-01 21:30:42 +05:30
Faris Ansari
0a09ad2a2f chore: update esbuild to 0.14.29 2022-04-01 21:30:24 +05:30
Sagar Vora
aedd2fb2b6
Revert "perf: 80% faster doc.get for fields with None as value" (#16490) 2022-04-01 20:39:27 +05:30
Suraj Shetty
02d0885783
Merge pull request #16488 from surajshetty3416/fix-flaky-test 2022-04-01 19:21:15 +05:30
Suraj Shetty
b8212501fb
Merge branch 'develop' into fix-flaky-test 2022-04-01 19:05:50 +05:30
Suraj Shetty
42643c3faa fix: Follow FIFO while inserting global search record
the latest enqueued value should override the value of the existing document
2022-04-01 18:47:05 +05:30
Gavin D'souza
1728db8428 fix(file_manager): Correct and => or usage in refactored query 2022-04-01 17:50:33 +05:30
gavin
278827cb18
Merge pull request #16468 from gavindsouza/misc-fixes-8
fix(utils): Misc fixes
2022-04-01 17:28:40 +05:30
Gavin D'souza
179f61b2e1 fix(test): Commit post global_search.sync_global_search
This is an attempt to tackle the flaky test_delete_doc test. Not sure if
this will do anything but the other tests seem to be having a commit
directly after the sync...so following that here.

If this works, the goal would be to find a way to get rid of the commits
altogether. Since the flaky test can't be replicated locally, let's see
if this works !!!!
2022-04-01 17:02:29 +05:30
Gavin D'souza
1b0731010e chore(test): Cleanup imports for global search 2022-04-01 17:01:49 +05:30
Gavin D'souza
eaa332e901 fix(goal): Make sure history field contains a JSON dump 2022-04-01 16:43:25 +05:30
Gavin D'souza
842a4b03a5 fix(test_goal): Generate fresh data for each test 2022-04-01 16:42:43 +05:30
gavin
4756efca91
Merge pull request #16477 from resilient-tech/perf-doc-get
perf: 80% faster `doc.get` for fields with `None` as value
2022-04-01 16:26:27 +05:30
gavin
3f6bbd6349
Merge pull request #16474 from resilient-tech/perf-get-doc-filters
perf: reduce query when calling `get_doc` with filters
2022-04-01 15:53:55 +05:30
Suraj Shetty
6f99a4d8db
chore: Update CODEOWNERS 2022-04-01 15:00:57 +05:30
Shariq Ansari
0013f363e5
Merge branch 'develop' into customize-form-highlighted-rows-fix 2022-04-01 14:33:01 +05:30
Sagar Vora
428fc98fa7 chore: add comment to explain line 2022-04-01 14:28:13 +05:30
mergify[bot]
a2da74b84b
Merge pull request #16484 from shariquerik/failing-ui-test
test(fix): Cypress test form.js
2022-04-01 08:54:34 +00:00
Sagar Vora
e73c552632 fix: implement for_update for Single documents 2022-04-01 14:15:35 +05:30
Ankush Menat
046f5d31af
fix: don't update autoname field when using Document.save (#16436) 2022-04-01 14:00:27 +05:30
Shariq Ansari
d24eff20ba
Merge branch 'develop' into failing-ui-test 2022-04-01 13:58:38 +05:30
Sagar Vora
0c85ca1e59
Merge pull request #16448 from resilient-tech/perf-get_cached_value
perf: ~90% faster `get_cached_value` from Redis cache
2022-04-01 13:47:27 +05:30
Sagar Vora
2775364afd perf: 90% faster get_cached_value from Redis cache 2022-04-01 13:45:21 +05:30
mergify[bot]
8605516f98
Merge pull request #16482 from ChillarAnand/gh
fix: Use github.com as fallback when Github API rate limit is hit
2022-04-01 07:23:13 +00:00
gavin
85fc1643c2
Merge pull request #16424 from resilient-tech/perf-cf
perf: improve Custom Field insertion time
2022-04-01 12:51:15 +05:30
Shariq Ansari
888372cd57 test: fixed failing form.js cypress test 2022-04-01 12:46:46 +05:30
Suraj Shetty
bb98e47e11
Merge pull request #16470 from netchampfaris/refactor-background-jobs-page 2022-04-01 12:06:13 +05:30
ChillarAnand
112593fb5f fix: Use github.com when github api rate is crossed 2022-04-01 12:05:04 +05:30
gavin
549d1bb02d
Merge pull request #16475 from resilient-tech/fix-get-val-as-dict
fix(`get_value`): make `as_dict` work for list-style filters
2022-04-01 11:26:54 +05:30
Suraj Shetty
beb84ffb2d
Merge pull request #16476 from resilient-tech/better-repr 2022-04-01 10:51:32 +05:30
Suraj Shetty
487a877593
Merge pull request #16479 from pateljannat/section-with-features 2022-04-01 10:48:31 +05:30
Jannat Patel
7da95d4f2e fix: markdown support for section with features 2022-04-01 09:40:50 +05:30
Sagar Vora
811c213082 perf: 80% faster doc.get for fields with None as value 2022-04-01 04:35:19 +05:30
Sagar Vora
0ec26cee70 perf: use as_dict parameter 2022-04-01 01:57:09 +05:30
Sagar Vora
d3f8f676d4 fix: show parent in __repr__ only if available 2022-04-01 01:30:58 +05:30
Sagar Vora
e1cc626bd5 style: improve code readability 2022-04-01 01:18:25 +05:30
Sagar Vora
493c7025f5 fix(get_value): make as_dict work for list-style filters 2022-04-01 00:33:15 +05:30
Sagar Vora
bd35734307 perf: reduce query when calling get_doc with filters 2022-04-01 00:03:54 +05:30
Suraj Shetty
be3d2a9732
Merge pull request #16186 from pateljannat/discussions-component-redesign
feat: discussions component redesign
2022-03-31 16:48:29 +05:30