Commit graph

17548 commits

Author SHA1 Message Date
Suraj Shetty
fadb3f79ec Remove unwanted trailing spaces 2019-02-13 23:07:09 +05:30
Suraj Shetty
d014e02768 Index user field in User Permission doctype for faster select query 2019-02-13 23:00:40 +05:30
Suraj Shetty
a9e9c2e9a0 Return empty list from get_decendants if doc not found 2019-02-13 22:59:20 +05:30
Sagar Vora
af1e7b1443 Merge branch 'hotfix' 2019-02-12 16:18:43 +05:30
Sagar Vora
ead9bde39d bumped to version 11.1.5 2019-02-12 16:38:43 +05:50
Sagar Vora
ea82d6b485
fix: unfreeze oauthlib, requests-oauthlib (#6922) 2019-02-12 16:14:38 +05:30
Suraj Shetty
73c9cbec60
fix(typo): vale -> value 2019-02-12 10:54:19 +05:30
Faris Ansari
5f2d3fe764
Merge pull request #6882 from nabinhait/default-perm
fix: Set field default based on user permissions
2019-02-12 10:07:51 +05:30
Suraj Shetty
e19bb40031
Merge pull request #6879 from SaiFi0102/Fix-Report-Int-Format
fix(Query Report): Do not preformat before frappe.format
2019-02-12 10:00:46 +05:30
Suraj Shetty
902d87bee5
Merge pull request #6827 from Anurag810/user_permission_cleanup
feat: Bulk Insert and Update User permissions
2019-02-12 09:54:29 +05:30
Rushabh Mehta
507945096a fix(base_list): keeping a promise 2019-02-11 23:22:42 +05:30
Rushabh Mehta
49e4f19a80
Merge pull request #6868 from Thunderbottom/oauthlib-upgrade
update(frappe): Update dependency Oauthlib (#6832)
2019-02-11 22:06:27 +05:30
Rushabh Mehta
45f7e8765e
Merge pull request #6906 from netchampfaris/fix-kanban-add-cards
fix: Kanban UX
2019-02-11 22:05:17 +05:30
Rushabh Mehta
2402ed200a
Merge pull request #6911 from netchampfaris/print-preview-ux
fix: Print Preview UX
2019-02-11 22:04:51 +05:30
Rushabh Mehta
699e017555
Merge pull request #6916 from netchampfaris/fix-get-open-count
fix: Skip get_open_count during migrate or install
2019-02-11 22:01:16 +05:30
Faris Ansari
850e9e6d0b fix: Skip get_open_count during migrate or install 2019-02-11 18:41:11 +05:30
Faris Ansari
e9bc640293 fix: Print Preview UX
- Show footer on bottom
- Show message indicating that print may go into multiple pages
2019-02-11 16:56:38 +05:30
Anurag Mishra
ec8ed9d50a fix: codacy 2019-02-11 14:45:25 +05:30
Anurag Mishra
3355240822 select all only if options are greater than 5 2019-02-11 14:32:15 +05:30
Anurag Mishra
68621eedb9 Merge branch 'user_permission_cleanup' of https://github.com/anurag810/frappe into user_permission_cleanup 2019-02-11 13:53:16 +05:30
Anurag Mishra
de958bdac5 added select all and unselect all button 2019-02-11 13:52:18 +05:30
Suraj Shetty
66179ab862
fix: Use .get() to avoid key error 2019-02-10 12:54:37 +05:30
Faris Ansari
63446380f6 fix: Kanban UX
- When adding new card, add them directly and then update it later again
from the updated doc from server
- Update card order when a new card is added
2019-02-09 19:13:05 +05:30
Faris Ansari
1978c33a15 fix: Create Kanban Cards with current filters
If you are in a Kanban Board and you create new cards, it will be added
according to the filters fine, but if you change the filters it still
sets the old filters.
2019-02-09 17:30:42 +05:30
Rushabh Mehta
42c7fffee4 fix: don't send read receipt by default' 2019-02-09 12:01:15 +05:30
Deepesh Garg
e7390b701b fix: Currency symbol in list view (#6900)
* fix: Currency fix in list view

* fix(list_view): Added missing semicolon
2019-02-08 19:41:55 +05:30
Faris Ansari
72a244f9e6
Merge pull request #6903 from sahil28297/fix_email_group_subscribers
fix(email_group): show correct total subscribers after updating email group members
2019-02-08 19:37:51 +05:30
sahil28297
5ad6131e8f
Merge branch 'hotfix' into fix_email_group_subscribers 2019-02-08 18:33:35 +05:30
Sahil Khan
91ac1608db fix: remove print statements 2019-02-08 18:26:04 +05:30
Sahil Khan
192cba460e fix(email_group): show correct total_subscribers after inserting or deleting email group members 2019-02-08 18:22:01 +05:30
rohitwaghchaure
f674ccc3d9
Merge pull request #6895 from surajshetty3416/perm-message-fix
fix(permission): Permission failure message
2019-02-08 16:30:27 +05:30
Suraj Shetty
e292d4d669
Merge branch 'hotfix' into user_permission_cleanup 2019-02-08 10:14:57 +05:30
Rushabh Mehta
97815fb19d
Merge pull request #6897 from kennethsequeira/rep-exec
fix(typo in report): Exection Time -> Execution Time
2019-02-07 20:27:23 +05:30
Rushabh Mehta
ef23c57106
Merge pull request #6896 from netchampfaris/default-print-lang-notification
fix: Set default print language in Notification
2019-02-07 20:26:33 +05:30
Kenneth Sequeira
7b45ca5fef Fix Typo: Exection Time -> Execution Time 2019-02-07 19:23:24 +05:30
Anurag Mishra
44db8b4825 Merge branch 'user_permission_cleanup' of https://github.com/anurag810/frappe into user_permission_cleanup 2019-02-07 18:19:52 +05:30
Anurag Mishra
23e934c67b fix: requested changes 2019-02-07 18:19:28 +05:30
Faris Ansari
1d5310166d fix: Set default print language in Notification 2019-02-07 18:18:01 +05:30
Anurag Mishra
5ed640eb32 fix: requested changes 2019-02-07 18:07:45 +05:30
Suraj Shetty
06892149a9 Show permission failure message based on passed user
- only if user passed is equal to session user or if no user is passed
2019-02-07 17:48:05 +05:30
Rushabh Mehta
9bb0f63ce8
Merge pull request #6873 from britlog/unsubscribe-encoding
Fix encoding error
2019-02-07 07:05:44 +05:30
Rushabh Mehta
57cbac7feb
Merge pull request #6888 from sunnyakaxd/patch-4
fix: (Critical) Close read_only db connection
2019-02-07 07:05:12 +05:30
Rushabh Mehta
9b35a090c3
Merge pull request #6887 from sunnyakaxd/patch-3
fix: remove distinct from count
2019-02-07 07:03:38 +05:30
Himanshu Mishra
53930a12eb
Close read_only db connection
Close read only db connection, else one might end up with 'Too many connections' error from mysql.
2019-02-06 22:32:26 +05:30
Himanshu Mishra
5c14f2c256
remove distinct from count
We shouldn't do a distinct count on primary key, as it is not required, and is also slow. See below query run times.

MariaDB [c6b2c772b91fd3d8]> select count(distinct name) from `tabStock Ledger Entry`;
+----------------------+
| count(distinct name) |
+----------------------+
|              3268372 |
+----------------------+
1 row in set (14.65 sec)

MariaDB [c6b2c772b91fd3d8]> select count(name) from `tabStock Ledger Entry`;
+-------------+
| count(name) |
+-------------+
|     3268372 |
+-------------+
1 row in set (0.24 sec)
2019-02-06 21:04:20 +05:30
Anurag Mishra
7804541aa2
Merge branch 'hotfix' into user_permission_cleanup 2019-02-06 16:54:12 +05:30
Suraj Shetty
73c67481de
test: Change total post length 2019-02-06 16:27:46 +05:30
Suraj Shetty
9b92a21a3b
Merge branch 'hotfix' into default-perm 2019-02-06 16:26:25 +05:30
Anurag Mishra
8b860a8ce7 Fix: onchange of Docname 2019-02-06 16:10:39 +05:30
Anurag Mishra
5d84aa7813 inner button label 2019-02-06 14:57:19 +05:30