Commit graph

40820 commits

Author SHA1 Message Date
Faris Ansari
76deeb531c fix: support list of str or int in filters 2023-01-10 18:22:05 +05:30
Faris Ansari
a0f6a5ff46 fix: move pluck to run 2023-01-10 18:21:50 +05:30
Faris Ansari
95d8a0f919 fix: allow Table instance 2023-01-10 16:48:38 +05:30
Faris Ansari
fe13108eec fix: refactor
- move operator map in separate file
- remove unnecessary code
- organize functions
2023-01-10 16:15:33 +05:30
Faris Ansari
49471922e4
Merge branch 'develop' into refactor-qb-engine 2023-01-09 23:01:26 +05:30
Shariq Ansari
2827167975
Merge pull request #19539 from shariquerik/hide-unhide-workspace 2023-01-09 21:01:46 +05:30
Shariq Ansari
f19e7281ae test: added UI test for hide/unhide workspace 2023-01-09 20:41:18 +05:30
Faris Ansari
08fc5b5c90 fix: allow list of dict in filters 2023-01-09 19:54:26 +05:30
Faris Ansari
60febc9799 fix: list filter
filters as list must always be list of list
2023-01-09 19:44:11 +05:30
Shariq Ansari
a6b56c36a9 fix: render drop-icon if hide/unhide parent workspace 2023-01-09 19:30:13 +05:30
Daizy Modi
d6c6df74db
fix: use doc.has_permission instead of frappe.has_permission (#19541) 2023-01-09 19:03:45 +05:30
Shariq Ansari
9ca33d2946 chore: type check 2023-01-09 18:46:35 +05:30
Shariq Ansari
b4da91cdfd
Merge branch 'develop' into hide-unhide-workspace 2023-01-09 18:32:35 +05:30
Ritwik Puri
fabe3906aa
chore: remove deprecated check_admin_or_system_manager function (#19540) 2023-01-09 18:32:09 +05:30
Shariq Ansari
29ff3be1cc style: hide drop-icon if child workspaces are hidden 2023-01-09 18:31:04 +05:30
Faris Ansari
9e9de7053c fix: set default order_by direction to desc 2023-01-09 18:19:31 +05:30
Faris Ansari
6192a9285a fix: use Field objects as is in apply_filter 2023-01-09 17:51:55 +05:30
Shariq Ansari
97a57f7105 feat: hide/unhide workspace from sidebar 2023-01-09 17:51:25 +05:30
Ankush Menat
f5771baf66
ci: use GITHUB_TOKEN for roulette api calls (#19537)
This is safe cuz we set read only permission on this token in workflows.

NOTE: Changing permission type is dangerous here!
2023-01-09 17:09:59 +05:30
Ankush Menat
3e715985c6
fix: ignore unhandled emails while deleting email account (#19534)
[skip ci]
2023-01-09 16:53:23 +05:30
Faris Ansari
f982439eb9 fix: pass fields explicitly
- to prevent addition of default `name` field
- also, add fields only if it is a select query
2023-01-09 16:43:44 +05:30
Faris Ansari
35c2654f00 chore: indentation fix 2023-01-09 15:34:50 +05:30
Faris Ansari
be654eaa60
Merge branch 'develop' into refactor-qb-engine 2023-01-09 15:23:20 +05:30
Faris Ansari
e4ac91a035 fix: ignore string with parenthesis
if it is not an sql function
2023-01-09 15:20:30 +05:30
Ankush Menat
92a705f8fd
ci: retry if rate limited in roulette (#19523)
[skip ci]
2023-01-09 13:11:22 +05:30
Ankush Menat
ac5b86cab1
ci: use node18 for releases (#19525)
Node <18 isn't supported anymore

> [semantic-release]: node version >=18 is required. Found v14.21.1.

> See https://github.com/semantic-release/semantic-release/blob/master/docs/support/node-version.md for more details and solutions.

[skip ci]
2023-01-09 13:10:26 +05:30
jiangying
f18135b52b
chore: simplify frappe/permissions.py raise_exception condition assignment (#19518)
* simplify frappe/permissions.py raise_exception
2023-01-09 13:03:59 +05:30
Ankush Menat
82d18f0bf0
Merge pull request #19519 from AHasanin/fix-userprofile-with-postgres
fix(user profile): fix user profile queries to support postgresql
2023-01-09 12:23:07 +05:30
Ankush Menat
075a2d778e feat: UnixTimestamp QB function 2023-01-09 12:05:52 +05:30
Ahmed Hasanin
45c80669bc
Merge branch 'develop' into fix-userprofile-with-postgres 2023-01-08 19:52:46 +02:00
AHasanin
78816428e4 fix(user_profile): remove unnecessary f string 2023-01-08 19:51:05 +02:00
jiangying
8273c9f244
chore: fix comment typo in frappe/desk/reportview.py (#19517) 2023-01-08 20:04:14 +05:30
AHasanin
9d14c68ca8 fix(user profile): fix user profile qeuries to support postgres 2023-01-08 16:15:20 +02:00
Ritwik Puri
e315c4f4b6
Merge pull request #19516 from dj12djdjs/fix-customize-form
fix: use doc_type within frappe.model.with_doctype
2023-01-08 10:15:27 +05:30
Devin Slauenwhite
fa06093fc4 fix: use doc_type within frappe.model.with_doctype 2023-01-07 17:35:50 -05:00
Shariq Ansari
32ea734e9c
Merge pull request #19510 from shariquerik/delete-standard-workspace-fix 2023-01-07 19:21:25 +05:30
Shariq Ansari
6f1e3e1a91 fix: show settings button only to workspace manager 2023-01-07 19:01:41 +05:30
Shariq Ansari
056d8e0368
Merge branch 'develop' into delete-standard-workspace-fix 2023-01-07 17:57:22 +05:30
Shariq Ansari
0a8591ffa4
Merge pull request #19496 from barredterra/workspace-perms 2023-01-07 17:30:24 +05:30
Shariq Ansari
580c9d6571 fix: do not allow to change module field if developer_mode is not set 2023-01-07 17:19:38 +05:30
Shariq Ansari
6f8fd738c4 fix: do not show delete button for standard workspace if developer_mode is not on 2023-01-07 17:18:58 +05:30
Gughan Ravikumar
4654db6e26
fix: use file name for backups to Google Drive (#19504)
Currently, backups to Google Drive are uploaded with the absolute path as the filenames. This fix changes that.

[skip ci]
2023-01-06 17:06:51 +05:30
Ankush Menat
6bae5a2974 fix: Dont create __init__.py in prod
closes https://github.com/frappe/frappe/issues/16618
2023-01-06 13:31:32 +05:30
Ankush Menat
010aa4636a
fix: Dont throw back to / if desk page not found (#19494) 2023-01-06 10:54:02 +05:30
Shariq Ansari
deaaa789cf
Merge pull request #19495 from shariquerik/redirect-to-fix 2023-01-05 21:47:07 +05:30
barredterra
033c6b357e fix: remove "All" permission for Workpace 2023-01-05 17:02:31 +01:00
Shariq Ansari
abc5b51e57 fix: after login if redirect is used getting blank screen 2023-01-05 20:39:35 +05:30
Shariq Ansari
bfa488c7fb
Merge pull request #19492 from ruchamahabal/fix-tab 2023-01-05 19:23:33 +05:30
Shariq Ansari
8fab9e8b1f
Merge branch 'develop' into fix-tab 2023-01-05 17:02:33 +05:30
Shariq Ansari
a221d37157
Merge pull request #19491 from shariquerik/failing-date-test 2023-01-05 17:02:21 +05:30