Komal-Saraf0609
dda56b3759
test: Fixed sider issues
2022-04-14 13:27:20 +05:30
Komal-Saraf0609
651aa36cd2
test: Added script for control type "Data"
2022-04-14 13:20:54 +05:30
mergify[bot]
b656c8da58
Merge pull request #16610 from gavindsouza/reload-doc_force
...
fix: Obey force kwarg frappe.reload_doc
2022-04-14 06:28:23 +00:00
Gavin D'souza
5564f1e007
fix: Allow adding JSON fields via Customize Form
2022-04-14 09:52:26 +05:30
Shridhar Patil
39f8267a15
feat: added support for data type json ( #16187 )
...
> Please provide enough information so that others can review your pull request:
Added json support for postgres and mariadb
> Explain the **details** for making this change. What existing problem does the pull request solve?
https://github.com/frappe/frappe/projects/4#card-50160428
> Screenshots/GIFs

---
**Previous attempts:**
https://github.com/frappe/frappe/pull/8128
https://github.com/frappe/frappe/pull/7096
Docs: https://frappeframework.com/docs/v13/user/en/basics/doctypes/fieldtypes#json
2022-04-14 04:21:41 +00:00
mergify[bot]
5f0a95f8bd
Merge pull request #16449 from resilient-tech/refactor-_dict
...
refactor!: improved `frappe._dict`
2022-04-14 03:51:55 +00:00
Ankush Menat
2fbf8c905f
fix: dont override local proxies ( #16611 )
2022-04-13 20:44:10 +05:30
Gavin D'souza
3cd047becf
fix: Obey force kwarg frappe.reload_doc
2022-04-13 19:22:46 +05:30
mergify[bot]
b193194484
Merge pull request #16608 from gavindsouza/allow-childtable-naming
...
fix!: Allow child table naming (autoname)
2022-04-13 12:48:36 +00:00
Gavin D'souza
03d542edce
fix!: Allow child table naming
2022-04-13 17:32:58 +05:30
gavin
8ffbef08ae
Merge pull request #16509 from gavindsouza/kanban-fixes
...
fix: new Kanban Dialog
2022-04-13 14:54:31 +05:30
Shariq Ansari
9c0223650c
fix: Email Dialog 'To' field is not full width ( #16603 )
2022-04-13 14:20:56 +05:30
mergify[bot]
18fec46c8c
Merge pull request #16604 from ankush/app_installer_fixes
...
fix: misc app installer fix
2022-04-13 08:38:53 +00:00
Ankush Menat
dad19e2c3f
fix: required_apps blocks app install
2022-04-13 13:51:51 +05:30
Sagar Vora
77879933ce
style: make changes as per linter
2022-04-13 13:21:01 +05:30
Ankush Menat
8269e8dd47
fix: ignore duplicate modules during install
2022-04-13 13:03:09 +05:30
Gavin D'souza
a65ace78eb
Merge branch 'develop' of github.com:frappe/frappe into kanban-fixes
2022-04-13 13:00:06 +05:30
Sagar Vora
38959637e7
perf: move less expensive condition first
...
Co-authored-by: gavin <gavin18d@gmail.com>
2022-04-13 11:40:35 +05:30
Sagar Vora
93051389b1
fix: use isinstance instead of looping over __dict__
2022-04-13 11:20:01 +05:30
Sagar Vora
d2dfc8c335
fix: define __slots__ to avoid __dict__ creation
2022-04-13 11:19:20 +05:30
Sagar Vora
594e653347
refactor: improved frappe._dict
2022-04-13 11:19:19 +05:30
gavin
0ef7e99062
Merge pull request #16596 from gavindsouza/test-nestedset
...
test: Added TestCase for NestedSet (Tree DocTypes)
2022-04-13 00:31:56 +05:30
Gavin D'souza
70a8a49c9c
fix: new_doctype API testing util
...
Use kwargs instead of mapping defined kwargs to single actions
2022-04-12 19:06:35 +05:30
Gavin D'souza
dfadf42d87
test: Added tests for nestedset
2022-04-12 19:06:01 +05:30
Gavin D'souza
20742e396f
Merge branch 'develop' of github.com:frappe/frappe into test-nestedset
2022-04-12 18:09:22 +05:30
Gavin D'souza
01e101d4b8
chore: Add typing and and style conflicts
2022-04-12 15:40:37 +05:30
mergify[bot]
fcb86d7f96
Merge pull request #16559 from frappe/sitemap-publish-condition
...
fix: sitemap condition
2022-04-12 08:06:02 +00:00
Ankush Menat
3fb1eaf13b
perf: dont query for impossible child/ancestor ( #16577 )
...
Also avoid manual plucking
2022-04-12 13:31:57 +05:30
Gavin D'souza
de0614aaaa
Merge branch 'develop' of github.com:frappe/frappe into sitemap-publish-condition
2022-04-12 13:21:21 +05:30
Gavin D'souza
93ee8b2e38
refactor(minor): Sitemap
2022-04-12 13:19:33 +05:30
mergify[bot]
0ed9440653
Merge pull request #16590 from nabinhait/ignore-permlevel-for-fields
...
feat: Ignore permlevel for specific fields
2022-04-12 07:39:04 +00:00
Suraj Shetty
278204eeca
Merge branch 'develop' into ignore-permlevel-for-fields
2022-04-12 12:49:22 +05:30
gavin
b15e174c87
Merge pull request #16511 from gavindsouza/deferred_insert-refactor
...
refactor: Deferred insert
2022-04-12 12:43:17 +05:30
gavin
18108eef65
fix(desk): Use Int control for Long Int ( #16572 )
...
Type `Long Int` doesn't have a JS control, we can use the Int's instead. Prior to this, forms of DocTypes with Long Int fields would just not render :trollface:
<img width="1440" alt="Screenshot 2022-04-11 at 3 36 40 PM" src="https://user-images.githubusercontent.com/36654812/162716347-c924775c-50ee-4e8c-8627-21c178f4e221.png ">
2022-04-12 06:59:05 +00:00
Gavin D'souza
a0bdf499b5
style: Resolve conflicts with linters post codebase format
2022-04-12 12:26:36 +05:30
Nabin Hait
b4476e0257
feat: Ignore permlevel for specific fields
2022-04-12 12:24:23 +05:30
Gavin D'souza
88e53556b0
Merge branch 'develop' of github.com:frappe/frappe into deferred_insert-refactor
2022-04-12 12:23:55 +05:30
Gavin D'souza
f6c879ab1d
refactor: Route History
...
* Use newer deferred_insert APIs
* Refactor query to use QB notation
* Styled with black-ish
2022-04-12 12:14:51 +05:30
Ankush Menat
da5a5eda02
fix: incorrect type in make_property_setter query ( #16584 )
...
* fix: incorrect type in make_property_setter query
* fix: Remove redundant as_list kwarg
Co-authored-by: gavin <gavin18d@gmail.com>
2022-04-12 12:00:11 +05:30
Gavin D'souza
022bbe9889
chore: Ignore codebase formatting change in blame
...
The previous record was inconsequential as the merge was squashed
2022-04-12 11:30:28 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Abhishek Saxena
5c8856d66e
refactor: db.sql calls to frappe.qb ( #16107 )
...
# Changes
- Introduces `subqry` class to use in where clause when there is a non-column condition. eg.
> .where(subqry(no_of_roles) == 0)
- Convert SQL queries to frappe.qb
# Testing
Functions with query refactors
- frappe.boot.get_user_pages_or_reports() -> Same output of `get_bootinfo()` as develop
- frappe.boot.get_unseen_notes() -> Forms the same query as develop
```sql
SELECT `name`,`title`,`content`,`notify_on_every_login`
FROM `tabNote` WHERE `notify_on_every_login`=1
AND `expire_notification_on`>'2022-03-30 01:10:53.393874'
AND (SELECT `nsb`.`user` FROM `tabNote Seen By` `nsb` WHERE `nsb`.`parent`=`tabNote`.`name`) NOT IN ('Administrator')
```
- frappe.installer._delete_doctypes() -> installed and uninsalled a dummy app to drop tables
### Not tested
- frappe.make_property_setter()
- frappe.realtime.get_pending_tasks_for_doc() [whitelist method]
- frappe.sessions.Session.start()
- frappe.twofactor.cache_2fa_data()
2022-04-12 05:07:25 +00:00
mergify[bot]
31d87176c1
Merge pull request #16570 from resilient-tech/fix-theme-switcher
...
fix: theme switcher shortcut issue
2022-04-11 11:26:56 +00:00
Shariq Ansari
b51d8379b5
fix: Card link indicator hover color same as link background color ( #16568 )
2022-04-11 16:15:35 +05:30
lapardnemihk1099
5993a8ba57
chore: sider issues fixed
2022-04-11 14:45:13 +05:30
lapardnemihk1099
27d226f295
test: theme switcher dialog shortcut test
2022-04-11 14:32:14 +05:30
mergify[bot]
bb6d682c07
Merge pull request #16507 from phot0n/from-signature
...
feat(minor): use specific email signature via from field
2022-04-11 08:19:05 +00:00
Shariq Ansari
1e63475b2a
style: Added gap between from and to field
2022-04-11 13:07:52 +05:30
Shariq Ansari
0739104d2a
Merge branch 'develop' into from-signature
2022-04-11 12:47:11 +05:30
Shivam Mishra
e89fd7a2af
fix: sitemap condition
2022-04-10 16:22:56 +05:30