Commit graph

36088 commits

Author SHA1 Message Date
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
85360ef4c0 test: Add cases to check date utilities 2022-01-03 13:37:11 +05:30
Suraj Shetty
b5e2f78a88 fix: Start week from Sunday instead of Monday
- Like we do in client-side
2022-01-03 13:36:32 +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
Pruthvi Patel
289d7e7afa fix: clear cache when filters passed as dn param in set_value 2022-01-01 17:49:59 +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
Suraj Shetty
a49afeb304
Merge branch 'develop' into time-zone-info-in-web-form 2021-12-31 14:25:35 +05:30
Saif Ur Rehman
063cc293a9 fix(Migrate): add unique and index for new columns 2021-12-31 13:37:40 +05:00
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
Gavin D'souza
568d9b94ed test: Use db_set to change creation, status 2021-12-30 10:33:00 +05:30
Gavin D'souza
62499422a8 style: Make fieldname bold in user message 2021-12-30 10:32:50 +05:30
Gavin D'souza
24830298b0 fix: Make owner, creation fields constant for docs 2021-12-30 10:32:22 +05:30
hrwx
39c0577fc5 chore: update cypress test cases 2021-12-30 02:09:51 +05:30
hrwx
8935691b32 Merge branch 'develop' of github.com:frappe/frappe into multistep_webforms 2021-12-30 01:58:29 +05:30
Jannat Patel
950f60ef69 fix: sr no column alignment 2021-12-29 22:41:24 +05:30
mergify[bot]
39097b05a7
Merge pull request #15470 from shariquerik/fix-link-js
fix: do not validate if options is undefined
2021-12-29 06:19:30 +00:00
Himanshu
8947a542d1
fix: translations in setup wizard (#15401)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2021-12-29 10:15:52 +05:30
mergify[bot]
5793b3ce52
Merge pull request #15464 from ChillarAnand/archive
test: Test case for archiving site before dropping
2021-12-29 03:54:37 +00:00
hrwx
409ebfcda5 fix: show invalid value error 2021-12-29 01:52:06 +05:30
Shariq Ansari
0fd20c7862 fix: do not validate if options is undefined 2021-12-28 19:10:59 +05:30
Suraj Shetty
2d5c5c7f10
fix: Use frappe.permissions.has_permission for proper error message (#15467) 2021-12-28 16:09:42 +05:30
ChillarAnand
8191fafa58 chore: Add test for archiving site before dropping 2021-12-28 16:04:37 +05:30
Jannat Patel
688829efa5 fix: time zone info in web form 2021-12-28 15:51:17 +05:30
hrwx
546fd9e1e4 Merge branch 'multistep_webforms' of github.com:hrwx/frappe into multistep_webforms 2021-12-28 04:53:02 +05:30