Commit graph

36414 commits

Author SHA1 Message Date
Verequies
379342d0ca fix: Postgres Compatibility for Standard Views
Core/User DocType: Add 'group_by' for PostgreSQL

Signed-off-by: Verequies <hamishclaxton@gmail.com>

fix: Postgres Compatibility for Standard Views

Desk/Dashboard DocType: Fix lowercase table name

Signed-off-by: Verequies <hamishclaxton@gmail.com>

Desk/Page/Setup Wizard: Fix data not being commited to database

Signed-off-by: Verequies <hamishclaxton@gmail.com>

Model/db_query: Fix queries with order_by and group_by for PostgreSQL

Signed-off-by: Verequies <hamishclaxton@gmail.com>

Model/db_query: Fix order_by without table name for PostgreSQL

Signed-off-by: Verequies <hamishclaxton@gmail.com>
2022-01-06 14:02:23 +05:30
Suraj Shetty
0a8b5fe785 test: Fix get_field command for select fields 2022-01-06 13:38:48 +05:30
hrwx
a3c5c08cff chore: bump datatable version 2022-01-06 13:07:04 +05:30
hrwx
c8c77437fa feat: add translations to datatable 2022-01-06 13:00:16 +05:30
Saqib Ansari
55178101e8 fix: catch exceptions while parsing json on request failure 2022-01-06 12:48:06 +05:30
gavin
8319363d61
Merge pull request #15542 from gavindsouza/frappeclient-redirect
fix: FrappeClient post_api request being redirected to GET request
2022-01-06 12:01:50 +05:30
harshpwctech
997c0e25cb
Updating the get_payment_gateway_url method (#15423)
This change is proposed as on_payment_authorized method defined in any doctype for which the payment is made isn't getting triggered.

https://github.com/frappe/frappe/pull/12756
2022-01-06 05:54:58 +00:00
mergify[bot]
ea5d99b0e9
Merge pull request #15484 from MochaTechnologies/migrate-new-column-index
fix(Migrate): add unique and index for new columns
2022-01-06 05:54:18 +00:00
mergify[bot]
9c8a3003b9
Merge pull request #15468 from pateljannat/time-zone-info-in-web-form
fix: Time zone info in web form
2022-01-06 05:52:16 +00:00
Summayya
eafb89f059 refactor: use border radius variable 2022-01-06 11:13:04 +05:30
Suraj Shetty
a051f796cc
Merge branch 'develop' into multistep_webforms 2022-01-06 11:06:28 +05:30
Suraj Shetty
1d11ff0375
Merge branch 'develop' into fix-datetime-filter 2022-01-06 11:06:02 +05:30
Suraj Shetty
454a08aa18 test: Remove unnecessary code 2022-01-06 10:43:04 +05:30
Suraj Shetty
30591720f8 test: Fix flaky grid flaky test
Simplified test case as bit
2022-01-06 10:18:12 +05:30
Suraj Shetty
ed2e37eaf7 style: Fix sider issues 2022-01-06 09:18:42 +05:30
Suraj Shetty
54fbd0b5e6 test: UI test cases for "First Day of the Week" 2022-01-06 09:05:08 +05:30
barredterra
bf28199a6d fix: awesomeplete line wrapping 2022-01-05 18:14:54 +01:00
Gavin D'souza
984420363a fix: Use params instead of data for client login 2022-01-05 20:38:16 +05:30
Navdeep
d73428df91 feat(fixes): for frappeclient post_api(POST) request being redirected to GET request on calling server 2022-01-05 20:35:31 +05:30
mergify[bot]
77fd08985a
Merge pull request #15533 from nextchamp-saqib/fix-frt-test
fix: set `first_response_time` only if communication is sent
2022-01-05 11:11:16 +00:00
mergify[bot]
50adb122b2
Merge pull request #15517 from supergicko/fix/ldap-settings-tls-protocol
fix(ldap): Auto-negotiate the highest TLS protocol version supported by client & server
2022-01-05 10:50:54 +00:00
Suraj Shetty
5d5ad78789 refactor: Rename week_starts_on to first_day_of_the_week
For consistency
2022-01-05 14:54:46 +05:30
Saqib Ansari
ae5644c3e1 fix: set first_response_time only if communication is sent 2022-01-05 14:23:44 +05:30
Gavin D'souza
73dc1b567d test: Added test for deny_multiple_sessions 2022-01-05 14:13:00 +05:30
Gavin D'souza
069bcec0aa refactor: TestAuth
* Made it easier to run locally :')
* Moved content in setupclass rather than class init
2022-01-05 14:11:35 +05:30
mergify[bot]
96a45473ab
Merge pull request #15492 from resilient-tech/fix-clear-cache-in-set-value
fix: clear cache for all docs matched with the filters passed as `dn` param in `set_value`
2022-01-05 07:06:07 +00:00
Ankush Menat
2d0bd8f34a
Merge pull request #15529 from ankush/fix/role_cache
fix: avoid cached results for `table_exists` during install
2022-01-05 12:14:19 +05:30
Ankush Menat
80d456ef7e fix: avoid cached results for table_exists during install 2022-01-05 11:54:46 +05:30
Christoph Kappel
c99e576e1b fix: offer all (also modern) supported tls versions (PROTOCOL_TLS_CLIENT [1]) to LDAP endpoints instead of only (deprecated) PROTOCOL_TLSv1 [2]
Background: Currently, when connecting to a ldap backend, ssl.PROTOCOL_TLSv1 [2] is offered as only option to the backend.

This leads to following issues:
- LDAP Backends that do not support TLSv1.0 (because of security reasons [3]) cannot be used in ERPNext
- erpnext can ONLY connect to LDAP Backends offering the insecure [3] TLSv1.0 protocol  (see ldap_settings.py ln: 61, 63)

With this change to ssl.PROTOCOL_TLS_CLIENT we allow erpnext customers to configure LDAP Backends that also support more modern/secure (TLSv1.2 and up) transport
while still ensure backwards compatibility and allowing TLSv1.0,
since ssl.PROTOCOL_TLS "Auto-negotiates the highest protocol version that both the client and server support" [1]

[1]: https://docs.python.org/3/library/ssl.html#ssl.PROTOCOL_TLS_CLIENT
[2]: https://docs.python.org/3/library/ssl.html#ssl.PROTOCOL_TLSv1
[3]: https://tools.ietf.org/id/draft-ietf-tls-oldversions-deprecate-02.html
2022-01-04 16:52:55 +01:00
mergify[bot]
5ad5fd7c22
Merge pull request #15527 from gavindsouza/assignment-owner
fix: Revert breaking API change in Assign To
2022-01-04 14:38:08 +00:00
Suraj Shetty
f6d0697309 test: Fix test_assign 2022-01-04 19:54:41 +05:30
Gavin D'souza
6e4aa52e2e fix: Show assignments correctly for Forms 2022-01-04 19:20:03 +05:30
Gavin D'souza
1b57717058 fix: Return key name as owner for consistency 2022-01-04 18:58:17 +05:30
Gavin D'souza
dc2a99b8d6 refactor(minor): Use pluck instead of re-iteration 2022-01-04 18:57:49 +05:30
Faris Ansari
c1995226d7
Merge pull request #15526 from netchampfaris/blog-category-load-more
fix(blog): Load more with category filter
2022-01-04 17:34:23 +05:30
mergify[bot]
22adb529d9
Merge pull request #15495 from ankush/postgres_rollbacks
fix(postgres)!: transactions implementation for PostgreSQL
2022-01-04 11:56:11 +00:00
Faris Ansari
22dd06101b fix(blog): Load more with category filter
When you click "Load more" on a blog category page, it will now fetch blog posts for that category
2022-01-04 17:19:10 +05:30
gavin
7a0d787831
Merge pull request #14918 from gavindsouza/owner-unchange
fix: Constant fields for documents
2022-01-04 17:18:20 +05:30
Shariq Ansari
8daa3e457a fix: sider fix 2022-01-04 15:45:02 +05:30
Shariq Ansari
4d3fb52944
Merge branch 'develop' into wspace-new-design 2022-01-04 15:37:47 +05:30
Shariq Ansari
db3870151a fix: Workspace Sidebar, Edit, New Page Fixes
Bugs:
- Clicking on + button multiple time opens multiple block list
- Resizing Onboarding block breaks design
- In edit mode links should not be clickable
- While creating new page we cannot revisit it from sidebar
- While adding multiple links in card getting error

Refactor:
- All Sidebar actions happens while you do it, no need to click Save Customization button
- Updating Sidebar, Creating New Page, Duplicating every action is much faster
- Most of the actions are happening in background while rending page using cached data
2022-01-04 15:35:57 +05:30
Gavin D'souza
9ed95a2d75 chore: Update caniuse-lite package 2022-01-04 15:32:59 +05:30
Gavin D'souza
4b9d8c0258 fix: Remove extra Document.validate_owner validation 2022-01-04 15:31:08 +05:30
Suraj Shetty
65a28002c2
Merge branch 'develop' into fix-datetime-filter 2022-01-04 15:19:56 +05:30
Gavin D'souza
6f2125fca6 Merge branch 'develop' of github.com:frappe/frappe into owner-unchange 2022-01-04 15:06:37 +05:30
gavin
25196cb06d
Merge pull request #15521 from gavindsouza/owner-field-change
fix: Remove internal owner field used in existing tables
2022-01-04 15:03:20 +05:30
Ankush Menat
ce27b740f1
Merge pull request #15523 from ankush/copy_link
feat(minor): copy link to clipboard
2022-01-04 14:32:18 +05:30
Ankush Menat
06926cf123 feat(minor): copy link to clipboard 2022-01-04 14:25:23 +05:30
Suraj Shetty
53b2c472a6 fix: Re-setup moment object whenever week_starts_on is changed 2022-01-04 14:14:06 +05:30
Suraj Shetty
6b77ed68e9 fix: Revert unnecessary code 2022-01-04 14:07:17 +05:30