Gavin D'souza
db209cbdf7
fix: Permit no fields if dt is table and no parenttype is specified
2023-02-06 13:33:49 +05:30
Gavin D'souza
5829dabf74
fix: Add DefaultValue to core_doctypes_list
2023-02-06 12:45:02 +05:30
Gavin D'souza
18395b66f0
fix(get_permitted_fieldnames): Return all fields if permissions not defined
2023-02-06 12:42:06 +05:30
Gavin D'souza
471290bd92
test: Make test_link_field_order re-runable
2023-02-06 12:39:44 +05:30
Gavin D'souza
4648c287f9
fix(meta): get_permitted_fields
...
Don't return any fields if user doesn't have permission for at least one
field
2023-02-04 11:55:02 +05:30
Gavin D'souza
c18c73d8c5
test: Add test for get_permitted_fields without parenttype
2023-02-03 22:23:14 +05:30
Gavin D'souza
f9eff18fd0
fix(meta): Remove faulty permitted fields cache
...
The Meta property didn't respect user parameter passed
2023-02-03 22:12:26 +05:30
Gavin D'souza
b4b3dd2318
feat: FrappeTestCase.assertSequenceSubset
...
Util for checking if a sequence is a subset of another
2023-02-03 21:26:33 +05:30
Gavin D'souza
e3d9c210a8
test: Added test for get_permitted_fields
2023-02-03 21:25:56 +05:30
Gavin D'souza
c4544cb37e
test: test_get_count
2023-02-03 20:53:53 +05:30
Gavin D'souza
da3b98c91a
Merge branch 'develop' into distinct-get_count
2023-02-03 20:26:21 +05:30
Ritwik Puri
d118cfb94a
fix: Pass parent_doctype to fetch permitted fields in child tables
2023-02-03 20:20:00 +05:30
Gavin D'souza
0c17d400c0
fix(db_query): Handle distinct in fn calls
2023-02-03 20:12:55 +05:30
Ankush Menat
ccaf4c1e7e
Merge pull request #19854 from gavindsouza/get_all-virtual-dts
...
fix: Interface DatabaseQuery to virtual doctypes' get_list
2023-02-03 17:30:57 +05:30
Ankush Menat
0741d72332
Merge pull request #19912 from ankush/migration_base_dt
...
fix: Many migration fixes
2023-02-03 16:42:28 +05:30
Ankush Menat
95ad5c7696
fix: Dont use meta for get_controller
2023-02-03 16:14:12 +05:30
Ankush Menat
11f7e41994
fix: Show local variables in tracebacks during migration
2023-02-03 16:01:30 +05:30
Ankush Menat
75d092ef7d
Revert "fix: Report sidebar must consider Permission Query" ( #19921 )
2023-02-03 15:13:18 +05:30
Ankush Menat
b889bb5b5a
fix: list view setting patch failures
...
- make idempotent
- ignore ordering (fails as it tries to query order which might not
exist
2023-02-03 13:28:59 +05:30
Ankush Menat
90c4543065
fix: Dont use cached controllers during migration
2023-02-03 13:28:59 +05:30
Ankush Menat
8d133ce32a
fix: Ignore route conflict validations during migrate
2023-02-03 13:28:59 +05:30
Ankush Menat
5348dd1f29
fix: Migration fails while inserting docfield
...
When migrating base doctypes we need to insert docfield which triggers
document naming rule code and document naming rule doesn't yet exists
cause that's what we are trying to migrate.
Fix: skip naming rule on bootstrapped doctypes.
2023-02-03 13:28:59 +05:30
Ritwik Puri
47edc63170
fix: support for different delimiter for timeline email linking ( #19751 )
2023-02-03 11:47:38 +05:30
Ankush Menat
3f1deeba67
fix: can't sign out due to missing roles ( #19905 )
2023-02-02 22:53:24 +05:30
Ankush Menat
07529ff1c3
fix: Consider parenttype when renaming ( #19901 )
2023-02-02 17:05:44 +05:30
Suraj Shetty
9598beb0c9
Merge pull request #19853 from gavindsouza/perf-list-update
2023-02-02 14:52:14 +05:30
Gavin D'souza
3cd781e316
Merge branch 'develop' into get_all-virtual-dts
2023-02-02 13:55:24 +05:30
Gavin D'souza
fdff6351cd
test: Add test for DatabaseQuery for virtual doctypes
2023-02-02 13:45:35 +05:30
Gavin D'souza
c4061904da
test: Split DBQuery & ReportView API tests into separate cases
2023-02-02 13:45:17 +05:30
Gavin D'souza
5d3453eeb9
refactor: Re-use DefaultOrderBy value as global constant
2023-02-02 13:43:31 +05:30
Gavin D'souza
d50f6fa7b4
test: cleanup test_create_virtual_doctype
2023-02-02 13:42:29 +05:30
Ritwik Puri
73078e89ba
Merge pull request #19888 from ankush/drop_tables
...
fix: drop table if exists for action and links
2023-02-01 22:55:40 +05:30
Ankush Menat
dad0e5cbba
fix: drop table if exists for action and links
...
closes https://github.com/frappe/frappe/issues/19712
2023-02-01 22:37:43 +05:30
Ritwik Puri
dd1cac0acc
Merge pull request #19885 from phot0n/fix-email-queue-sender
...
fix: use sender from formatted email body for email queue
2023-02-01 22:02:18 +05:30
phot0n
a0d1d1bd0e
test: fix test_unsubscribe
2023-02-01 21:37:23 +05:30
phot0n
5236aeb4b0
test: email queue sender with always_use_account_name_as_sender_name and always_use_account_email_id_as_sender
2023-02-01 20:18:51 +05:30
Gavin D'souza
cc7141edfe
fix: Use debounce to process_document_refreshes
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2023-02-01 19:09:01 +05:30
phot0n
f8d7151e19
fix: use sender from formatted email body for email queue
2023-02-01 17:08:25 +05:30
Gavin D'souza
ccb7c8cd80
fix(desk): Filter out other doctypes on list_update event
2023-02-01 17:05:01 +05:30
Gavin D'souza
419503ec06
Merge branch 'develop' into perf-list-update
2023-02-01 16:56:34 +05:30
Shariq Ansari
0f6f599c55
Merge pull request #19871 from developsessions/fix_possible_none_value
2023-02-01 16:40:10 +05:30
Suraj Shetty
99756dbb59
Merge pull request #19533 from gavindsouza/permlevel-apis
2023-02-01 16:24:34 +05:30
Ankush Menat
1b016d34bd
fix: misc migration related fixes ( #19874 )
...
* fix: ignore certain validations during migrate
These are recoverable after migration is completed, better to let update
go through first.
* fix: Let people set arbitrary Data field options
It will be treated as vanilla Data field by default but other apps can
chose to modify behaviour based on it.
AFAIK there is no real side effects of this.
2023-02-01 16:02:59 +05:30
Shariq Ansari
1dab286bd8
Merge branch 'develop' into fix_possible_none_value
2023-02-01 15:50:03 +05:30
Shariq Ansari
dbefead489
Merge pull request #19878 from frappe/mergify/bp/develop/pr-19869
2023-02-01 15:45:10 +05:30
sameer Chauhan
967ea894d9
fix: translations update in MutliSelectDialog
...
fix: translations update in MutliSelectDialog in the title field
(cherry picked from commit 88c77edc0d33c29e2eadbb6dabab83ba46d27774)
2023-02-01 10:12:17 +00:00
gavin
9d10028a35
Merge branch 'develop' into permlevel-apis
2023-02-01 14:59:30 +05:30
developsessions
bcbcc87f4b
fix: possible none value evaluation in get_formatted function
2023-02-01 09:24:42 +01:00
Ankush Menat
9d97097c12
fix: dont apply varchar length validation on singles ( #19872 )
...
closes https://github.com/frappe/frappe/issues/19833
[skip ci]
2023-02-01 10:22:50 +05:30
Ankush Menat
4ca23dd5fa
fix: Dont setup socketio events on new doc ( #19864 )
2023-01-31 18:52:13 +05:30