Commit graph

36014 commits

Author SHA1 Message Date
barredterra
24ac11c98f fix: update yarn.lock 2022-01-06 15:43:17 +01:00
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
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
Saqib Ansari
ae5644c3e1 fix: set first_response_time only if communication is sent 2022-01-05 14:23:44 +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
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
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
Gavin D'souza
ff13b12be5 fix: Populate ToDo.allocate_to column 2022-01-04 13:59:27 +05:30
Ankush Menat
da9d07474a test: rollback tests that are aborting transactions 2022-01-04 13:59:22 +05:30
Ankush Menat
08464553f3 fix: define check_transaction_status for postgres
To implement repeatable reads it has to respect transactions.
2022-01-04 13:59:22 +05:30
Ankush Menat
5fac8bb965 test: don't hardcode test password 2022-01-04 13:59:22 +05:30
Ankush Menat
43364cf89b fix!: use repeatable read isolation level
RR isolation is default in MariaDB, for sake of consistency use same
isolation level in postgres
2022-01-04 13:59:22 +05:30
Ankush Menat
5ac79925ef fix: postgres install that doesn't abort transactions 2022-01-04 13:59:17 +05:30
shadrak gurupnor
a4aad4dc7a fix: failed test cases & sider issue 2022-01-04 13:39:42 +05:30
shadrak gurupnor
1832df06ad fix: replace owner with allocated_to 2022-01-04 13:39:33 +05:30
shadrak gurupnor
6c6ff2c16d fix: overriding of owner of doc
feat: Fixed the dilemma of owner field in ToDo document
2022-01-04 13:39:16 +05:30
Gavin D'souza
bb004fc33b fix: Remove redundant owner fields in Email Template, Help Article 2022-01-04 13:32:44 +05:30
Suraj Shetty
ce350e7481
Merge pull request #15520 from frappe/mergify/bp/develop/pr-15477 2022-01-04 12:11:18 +05:30
Deepesh Garg
f21d81a58a fix: Linting Issues
(cherry picked from commit b28c75a82fcef86af25a47768e050558825612ee)
2022-01-04 06:40:34 +00:00
Deepesh Garg
a2b808075b fix: Route options not getting set while navigating from one report to another
(cherry picked from commit 124ae9138891a1caf8908b2c9ab578d52992f410)
2022-01-04 06:40:33 +00:00
Ankush Menat
0fddbafd09 fix(postgres)!: dont silently rollback on db exception 2022-01-04 11:25:08 +05:30
Ankush Menat
d603aaf601 fix: define is_syntax_error for postgres 2022-01-04 11:25:08 +05:30
Ankush Menat
5492e1930f
Merge pull request #15516 from ankush/savepoint_wrapper
feat: savepoint contextmanager
2022-01-04 11:23:04 +05:30
Ankush Menat
3c83043301 chore: sort imports
also fix `time` import
2022-01-04 10:53:31 +05:30
Ankush Menat
e08b41964c feat: savepoint contextmanager
syntactic sugar around frappe.db.savepoint and rollback
2022-01-03 22:20:39 +05:30
mergify[bot]
a817a4ac5e
Merge pull request #15363 from netchampfaris/browse-blog-by-category
feat(blog): Browse by category
2022-01-03 15:32:05 +00:00
Suraj Shetty
a9d48813e6
Merge branch 'develop' into browse-blog-by-category 2022-01-03 20:29:08 +05:30
Suraj Shetty
c0963b9d27
Merge pull request #15498 from surajshetty3416/fix-user-form-ux 2022-01-03 20:22:47 +05:30
Suraj Shetty
8dd1a37bed
Merge pull request #15507 from surajshetty3416/fix-multiselect-change-event 2022-01-03 20:17:32 +05:30
Gavin D'souza
322a777b59 fix(ux): Auto Repeat's validation message has grammatical fixes 2022-01-03 19:10:28 +05:30
Gavin D'souza
f7b5982919 test(assign_rule): Setup and teardown for local testing 2022-01-03 19:09:42 +05:30
Gavin D'souza
3a38456583 refactor(minor): Assignment Rule
* Simplified and refactored logic
* Added type hints for where it gets really unbearable :')
* Minor perf improvements & better API usages
2022-01-03 19:05:58 +05:30