Commit graph

35987 commits

Author SHA1 Message Date
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
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
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
Gavin D'souza
f72c445d41 fix: Clear Document cache on rename, delete 2022-01-03 19:02:41 +05:30
Gavin D'souza
e3fc400fd4 refactor(minor): Override clear_cache instead of separate hooks
Clear cached maps via Document.clear_cache
2022-01-03 19:01:01 +05:30
Ankush Menat
f93b49861a
Merge pull request #15504 from surajshetty3416/fix-treeview-ux
fix: Do not allow rebuilding of tree for doctypes without `lft` & `rgt`
2022-01-03 18:50:16 +05:30
mergify[bot]
a52cd373af
Merge pull request #15508 from nextchamp-saqib/fix-modified-on-rename
fix: renaming a document updates the modified timestamp
2022-01-03 13:11:47 +00:00
Saqib Ansari
b0b19d7a09 fix: renaming a document updates the modified timestamp 2022-01-03 18:25:12 +05:30
Suraj Shetty
3e009e9bdb fix: Use copy of an array while adding new content for proper change trigger 2022-01-03 17:39:23 +05:30
Faris Ansari
f7e8135a0c chore: colocate ui tests
UI tests can now be colocated where they make more sense.
The filename must start with ui_test_ and end with .js to be
picked up by cypress.
2022-01-03 16:19:11 +05:30
Faris Ansari
b73ed8ffbc test: UI test for blog category dropdown 2022-01-03 16:19:11 +05:30
Faris Ansari
84be09f93a fix: convert raw sql to frappe.qb 2022-01-03 16:19:11 +05:30
Faris Ansari
3064b61385 feat(blog): Browse by category
Add option to filter blogs by category on blog list
2022-01-03 16:19:11 +05:30
Suraj Shetty
d1ca3fa78c fix: Hide "Rebuild Tree" option if treeview is loaded for non-nestedset doctype 2022-01-03 15:26:16 +05:30
Rushabh Mehta
b1ae0da9df
Merge pull request #15503 from rmehta/tab-show-dashboard
fix(ux): add "Show Dashboard" check for tab breaks
2022-01-03 15:08:31 +05:30
Rushabh Mehta
1fcd6cb2a4 fix(ux): Add "Show Dashboard" in Customize Form" 2022-01-03 14:51:57 +05:30
Suraj Shetty
9258941151 fix: Do not allow rebuilding of tree for doctypes without lft & rgt 2022-01-03 14:25:42 +05:30
Rushabh Mehta
66a8e125d4 fix(ux): add "Show Dashboard" check for tab breaks 2022-01-03 13:57:36 +05:30
Suraj Shetty
54242a3911
Merge pull request #15497 from surajshetty3416/fix-user-permission-ux 2022-01-03 12:26:19 +05:30
Suraj Shetty
0868ad02f8 refactor: Re-arrange user form
- To fix order of fields in quick entry form
2022-01-03 11:59:11 +05:30
Suraj Shetty
b2d16e7db8 refactor: Re-arraange fields in user permission to avoid confusion 2022-01-03 11:31:06 +05:30
Suraj Shetty
b77d08d26a fix: Check if value for applicable_for exists before setting it null
To avoid "Not Saved" state even after saving the document
2022-01-03 11:30:03 +05:30
Rushabh Mehta
2a8f07d6fb fix(minor): List data types alphabetically in DocType 2022-01-02 18:53:15 +05:30
Lev
0345954b65
perf: BaseDocument improvements (#15398)
* perf: BaseDocument improvements

* Add `default_fields_set`, use default placeholder to lookup fields in update(), refactor get_valid_columns()

* Revert all changes except "update()"

Co-authored-by: Gavin D'souza <gavin18d@gmail.com>
2021-12-31 22:31:40 +05:30
mergify[bot]
c9fc7ee97c
Merge pull request #15485 from hrwX/translations_context
fix: unhide context field
2021-12-31 15:52:46 +00:00
hrwx
f0a9d50671 fix: unhide context field 2021-12-31 14:51:18 +05:30
Gavin D'souza
ecb0cd4139 test: Add test for disallowing setting tandard fields
Via db008020f6
2021-12-30 10:37:12 +05:30
Gavin D'souza
881f3ad8c1 fix: Set owner & creation if new Document
via a323d624eb
2021-12-30 10:35:49 +05:30
Gavin D'souza
272cea4940 test: Add test for owner, creation constants 2021-12-30 10:33:08 +05:30