Commit graph

36568 commits

Author SHA1 Message Date
Saqib Ansari
de76ef6518 test: doctypes are added to link_title_map in boot_info 2022-02-12 13:01:06 +05:30
Saqib Ansari
e6d1a7a476 fix: get_input_value for link control 2022-02-12 12:19:47 +05:30
Saqib Ansari
bbbeb342df fix: test for show title field in link fields 2022-02-09 13:05:35 +05:30
Saqib Ansari
e2c968e255 fix: customized doctypes to show_title_field_in_link 2022-02-09 11:54:44 +05:30
Saqib Ansari
6e0c4946f1 Merge branch 'develop' of https://github.com/frappe/frappe into link_title_refactor 2022-02-09 10:43:34 +05:30
Saqib Ansari
073fbdd3bc Merge branch 'link_title_refactor' of https://github.com/nextchamp-saqib/frappe into link_title_refactor 2022-02-09 10:32:47 +05:30
gavin
71ceb496d1
Merge pull request #15907 from ankush/qb_non_select
fix: executing non-select qb code from whitelisted methods
2022-02-08 16:19:02 +05:30
Suraj Shetty
72408c46c9
Merge pull request #15820 from kamaljohnson/fix-imap-folder-append-to-not-working-issue 2022-02-08 13:34:21 +05:30
Ankush Menat
b64c03d83d test: restricted QB 2022-02-08 13:22:31 +05:30
Ankush Menat
496e5b513b fix: executing non-select qb code from whitelisted methods
Co-Authored-By: Gavin D'souza <gavin18d@gmail.com>
2022-02-08 13:06:24 +05:30
kamaljohnson
cb25d894b4 refactor: code cleanup 2022-02-08 12:54:51 +05:30
Suraj Shetty
b978b5a70b test: Fix mocked method and formatting issues 2022-02-08 12:01:11 +05:30
kamaljohnson
84501c663e fix: use new mocked_inbound_mail in test_email
- remove in_test block from production code
2022-02-08 08:33:09 +05:30
kamaljohnson
0e63c9c33e fix: test fail issue for some email tests
- test_threading
- test_threading_by_message_id
- test_threading_by_subject
2022-02-08 08:11:43 +05:30
kamaljohnson
d318675522 feat: add coverage for some more email tests
- test_incoming
- test_incoming_with_attach
- test_incoming_attached_email_from_outlook_plain_text_only
- test_incoming_attached_email_from_outlook_layers
2022-02-08 01:27:26 +05:30
kamaljohnson
7b0e646e10 fix: none type issue in email test, add more coverage to test_auto_reply 2022-02-08 01:04:44 +05:30
kamaljohnson
2366640d60 Merge branch 'develop' into fix-imap-folder-append-to-not-working-issue 2022-02-07 22:13:11 +05:30
Ankush Menat
05e29fa496
test: ignore dataimport test on postgres (#15902)
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
2022-02-07 21:15:41 +05:30
kamaljohnson
30840b1f95 Merge branch 'develop' into fix-imap-folder-append-to-not-working-issue 2022-02-07 19:32:12 +05:30
Ankush Menat
c5fbd07840
revert: "fix: use now instead of is_async in tests (#15893)" (#15899)
This reverts commit 1cd4722235.
2022-02-07 19:10:42 +05:30
kamaljohnson
e109c6b039 Merge branch 'develop' into fix-imap-folder-append-to-not-working-issue 2022-02-07 18:26:04 +05:30
kamaljohnson
7c51c6a9ea fix: add in_test parameter from frappe.local.flags.in_test mock 2022-02-07 18:25:36 +05:30
Rushabh Mehta
7f3ace8a4e
Merge pull request #15411 from phot0n/remove-unnecessary-fields
refactor: remove parent, parenttype and parentfield columns from non-child table doctypes
2022-02-07 18:02:14 +05:30
phot0n
a6ea0c9e37 fix: add index on parent in child table doctype 2022-02-07 17:49:37 +05:30
phot0n
7bd84496c1 fix: use int for docstatus in get_default_df 2022-02-07 16:43:16 +05:30
phot0n
266e1f95ed chore: adding back idx column
This is needed for ordering in display of links as it keeps
track of the clicks on a particular link item
2022-02-07 16:40:01 +05:30
kamaljohnson
0252afa04a Merge branch 'develop' into fix-imap-folder-append-to-not-working-issue 2022-02-07 16:22:04 +05:30
kamaljohnson
caab903edb fix: add back in_test override for imap_folders test
Since a lot of tests still uses the old way i.e, use `in_test` and execute custome (non-production) code to get results. Kept the same code for now else as a major test refactor needs to be done.
2022-02-07 15:49:59 +05:30
phot0n
aeadcb1322 chore(notifications.py): remove unused get_unseen_likes 2022-02-07 15:12:43 +05:30
phot0n
f64b0eee46 test: child table creation and transitioning 2022-02-07 15:12:43 +05:30
phot0n
9e42d1b769 chore: remove patch 2022-02-07 15:12:43 +05:30
phot0n
dfb1b8b406 chore(notifications.py): remove unused function get_unread_emails 2022-02-07 15:12:43 +05:30
phot0n
b31f3c24f6 refactor: remove parent, parenttype, parentfield, idx columns from non-child table doctypes
* feat: add parent, parenttype, idx, parentfield columns to doctypes when transitioning from normal -> child table

* fix: remove parent, parenttype, parentfield, idx from DocType DocType
2022-02-07 15:12:37 +05:30
Ankush Menat
1cd4722235
fix: use now instead of is_async in tests (#15893) 2022-02-07 14:00:26 +05:30
Suraj Shetty
ce791aef5f
Merge branch 'develop' into link_title_refactor 2022-02-07 12:45:48 +05:30
Wolfram Schmidt
fb1ff60ab2
polished the "Tag" translation (#15889)
corrected some translations and added missing ones
2022-02-07 06:50:56 +00:00
Suraj Shetty
723bfa1ca5
Merge branch 'develop' into fix-imap-folder-append-to-not-working-issue 2022-02-07 12:00:11 +05:30
Suraj Shetty
ae2dd3f6b8 fix: Remove in_test flag inside get_inbound_mails
- Use mocked data instead for testing
2022-02-07 11:59:06 +05:30
Wolfram Schmidt
1944a547f9 added translation for Yes/No
Since v13 the translation of the english No was "Kein". Which is not the right choice when selecting between yes or no. "Kein" is more something like none...
2022-02-06 14:48:16 +01:00
Mohammad Hasnain Mohsin Rajan
29bfdc54c8
Merge pull request #15888 from ChillarAnand/whoosh 2022-02-06 12:31:07 +05:30
ChillarAnand
3f21b6707a fix: Use whoosh AsyncWriter to prevent write locks 2022-02-06 08:40:23 +05:30
kamaljohnson
c80c81ed32 fix: messages and test_mail not passed issue while running test 2022-02-04 18:20:07 +05:30
Mohammad Hasnain Mohsin Rajan
4ff86e1d63
revert: "refactor: set amended docname to original docname" (#15867)
* Revert: "refactor: set amended docname to original docname"

80d111baf2.

* test: test if amended doc has different name
2022-02-04 17:22:18 +05:30
kamaljohnson
6881e58194 Merge branch 'develop' into fix-imap-folder-append-to-not-working-issue 2022-02-04 16:58:49 +05:30
kamaljohnson
1cc0f88d0b fix: issue when test_mails are passed while testing 2022-02-04 15:47:27 +05:30
kamaljohnson
8f8bafbdde fix: sider styling issue 2022-02-04 15:29:12 +05:30
kamaljohnson
8cc26af272 fix: remove messages-1.raw 2022-02-04 15:28:16 +05:30
kamaljohnson
3734dc7927 feat: add tests for imap folders email syncing with multiple folders 2022-02-04 15:07:18 +05:30
Suraj Shetty
68d934ae0f
Merge branch 'develop' into link_title_refactor 2022-02-04 14:53:26 +05:30
Raffael Meyer
89922bae90
feat: utility methods for docstatus (#15515)
* feat: utility methods for docstatus

* refactor: use utility method for doctsatus

* refactor: enum for docstatus

* refactor: docstatus as property

* fix: set docstatus

* feat: docstatus extends int class

* test: docstatus of BaseDocument

* refactor: occurrences of docstatus

* fix: typo

* refactor: move docstatus to a separate file

* test: docstatus

* fix: sider
2022-02-04 07:41:25 +00:00