Commit graph

2935 commits

Author SHA1 Message Date
Ankush Menat
3e2d2a703a test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
hrwx
42a3fe0fa2 chore: remove untranslated matching 2022-08-12 17:04:37 +01:00
Himanshu
3faaf5f361
Merge branch 'develop' into merge_translated_doctypes 2022-08-12 13:10:49 +01:00
Gavin D'souza
fe4702553c chore: Add typing 2022-08-12 12:53:24 +05:30
Himanshu
1bdfd0176a
Merge branch 'develop' into merge_translated_doctypes 2022-08-11 13:50:11 +01:00
Ernesto Ruiz
ec2bcda440
feat: add button in calendar view list to show calendar (#17778)
* feat: add button in calendar view list to show calendar

* style: format JS

* chore: linting

Co-authored-by: gavin <gavin18d@gmail.com>
2022-08-11 13:10:30 +05:30
hrwx
b01929405d refactor: translatable doctypes 2022-08-05 21:38:10 +01:00
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Gavin D'souza
85e3ee9403 chore: Minified DocType JSON notation from old verbose notation 2022-08-03 12:22:03 +05:30
Sagar Vora
183f60232c perf: specify reference doctype in filters 2022-08-02 06:15:00 +05:30
Sagar Vora
fac7460fb8
chore: remove duplicate field in get_version (#17674) 2022-07-29 15:10:01 +05:30
Shariq Ansari
4fadc21d85
feat: Role based permission for Dashboard Chart (#17634) 2022-07-28 18:29:33 +05:30
Shariq Ansari
0b9a9ebfac
fix: load avatars of user in notification dropdown (#17630) 2022-07-27 10:42:01 +05:30
mergify[bot]
249e647fc4
Merge pull request #17592 from nabinhait/notify-mentions
feat: Enable mentions and notify users from any text field
2022-07-23 14:12:38 +00:00
Ankush Menat
615f0dbcb8 Revert "refactor: desk missing doc handling"
This reverts commit d11fdc3ca4.
2022-07-22 19:24:34 +05:30
Ankush Menat
d11fdc3ca4 refactor: desk missing doc handling
- reduce 1 query
- make normal and virtual doc behave in same manner
2022-07-22 18:50:06 +05:30
Shridhar Patil
0285d4f686
fix: frappe.db.exists will always return error for virtual doctype (#17595)
So first check whether the doctype is virutal
2022-07-22 18:49:38 +05:30
Nabin Hait
ad1de51b0d
Merge branch 'develop' into notify-mentions 2022-07-22 17:39:58 +05:30
Nabin Hait
53c22b0493 feat: Enable mentions and notify users from any text field 2022-07-22 15:26:37 +05:30
Ankush Menat
e8efd64dbc refactor!: better API contracts for virtual doctype
Current APIs implement class methods as instance method, which is
problamamtic while implementing methods. E.g. If load_from_db doesn't
like empty docname then all class method will stop working.

This change while breaking is essential for usability of virtual
doctype.
2022-07-22 14:26:02 +05:30
Ankush Menat
e88bc35cae refactor: move is_virtual_doctype to relevant file 2022-07-22 14:25:48 +05:30
Shridhar
b2203893a1 fix: do not fetch comments from parent for virtual doctype 2022-07-22 14:25:48 +05:30
Ankush Menat
10da1622f4 fix: form view broken for virtual doctype 2022-07-22 14:25:48 +05:30
gavin
486f26a1ff
Merge branch 'develop' into mariadb-client-refactor 2022-07-20 12:41:46 +05:30
Suraj Shetty
99c6990761 fix: Allow fields to have "*" without array 2022-07-20 11:30:57 +05:30
Gavin D'souza
1ccdad811a Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-07-19 16:23:24 +05:30
Ankush Menat
0164a87ac9
Merge pull request #17350 from Aradhya-Tripathi/get-all-mod
feat: Adding support to Query engine
2022-07-13 18:36:04 +05:30
Ankush Menat
3fdd89a737
refactor!: remove old weekly cleanup for route history (#17493)
This is now configurable with log settings.

This also fixes circular import issue that occurs when restoring backup
2022-07-13 11:02:56 +05:30
Ankush Menat
c1f1895563
Merge pull request #17474 from ruthra-kumar/preserve_type_in_excel_export
fix: Preserve data type in excel export except for composite
2022-07-12 16:13:16 +05:30
Ankush Menat
0a73a3c708 refactor: stringify all non-excel types
style: incorrect EOF

test: excel export types
2022-07-12 15:53:55 +05:30
ruthra kumar
dd9fbeff4b fix: Preserve data type in excel export except for composite 2022-07-12 14:03:24 +05:30
stephen
3aaf59d870
fix: username for Notification Log was wrong for Administrator (#17434)
* fix: username for Notification Log was wrong for Administrator

* refactor: simplify make_notification_logs

- Split overindented code
- Remove check for EPS, if EPS is disabled then why is it creating
  notification?

* fix: fetch email ID from User document before notifying

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-07-11 11:56:47 +05:30
gavin
43f378d848
Merge branch 'develop' into mariadb-client-refactor 2022-07-07 16:00:38 +05:30
Ankush Menat
b5128a35fd
refactor: simplify fetching of readable records (#17417)
- remove encoding, use cstr directly
- remove falsy values by default None, empty string.
2022-07-07 14:40:59 +05:30
mergify[bot]
010a436569
Merge pull request #17407 from ruthra-kumar/error_on_export_of_composite_cell_value
fix: valueerror on export with composite cell valu
2022-07-07 05:49:18 +00:00
ruthra kumar
ffd75e8a16 fix: valueerror on export with composite cell valu 2022-07-06 12:35:20 +05:30
Suraj Shetty
d4166dbe20 refactor: Replace html2text with markdownify 2022-07-06 08:23:14 +05:30
Gavin D'souza
71b5c77e6e Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-07-05 14:55:02 +05:30
Ankush Menat
06ce1f33ec refactor: remove unnecessary exception handling 2022-07-04 11:59:54 +05:30
Ankush Menat
e9a9496ebc fix: duplicate tracebacks in console 2022-07-04 11:25:47 +05:30
Aradhya Tripathi
ebd1d5b48c
Merge branch 'develop' into get-all-mod 2022-07-01 13:25:32 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
refactor: clean up code to py39+ supported syntax

- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes

Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Gavin D'souza
fddd624a7c Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-06-30 14:31:52 +05:30
Ankush Menat
813dcc1848
Revert "feat: Adding support to Query engine" 2022-06-29 23:30:23 +05:30
Gavin D'souza
cf699fe40b Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-06-29 13:49:18 +05:30
Ankush Menat
181833848f
Merge pull request #17337 from ankush/lint_cleanup
fix: remove bare exception catching
2022-06-29 11:39:05 +05:30
gavin
91e76ff874
Merge branch 'develop' into get-all-mod 2022-06-28 19:47:20 +05:30
Aradhya
4af2e1e886 refactor: replaced frappe.db.query with frappe.qb.engine 2022-06-28 19:43:50 +05:30
Ankush Menat
c8ac3f922e Revert "fix: extra column in excel after exporting report with group by (#17126)"
This reverts commit 971b8160a3.
2022-06-28 18:40:27 +05:30
Ankush Menat
d35d7ffbe2 fix: remove bare exception catching
A bare except catches lots of things (like generator iteration end) and should never be used.
2022-06-28 18:05:00 +05:30