Commit graph

2017 commits

Author SHA1 Message Date
Sagar Vora
54f9b894ed fix: add yesterday and tomorrow to timespan; optimise get_timespan_date_range 2021-01-07 21:24:23 +05:30
Saurabh
97b693c6b0
feat: Added permission to grant only Select access to document (#12063)
* feat: add permtype 'select' to DocPerm and CustomDocPerm

* feat: add 'select' perm in rights tupple

* feat: provisions to handle select permission

* feat: toggle href based on permissions

* feat: pass permission type explicitly while validating link in permission check

* fix: sider

* feat: added test cases to validate select perm

* feat: add method frappe.only_has_select_perm to explicitly check the select perm

* fix: if user only has select perm then do not show anchor tag for link fields

* fix: sider
2020-12-29 16:58:28 +05:30
Faris Ansari
2b9d176630
Merge pull request #12033 from netchampfaris/fix-base-path-restore 2020-12-10 14:07:21 +05:30
Faris Ansari
6289d7dd59
Merge pull request #12056 from anupamvs/date-format
feat: added data format support DD-Mon-YY
2020-12-10 11:17:38 +05:30
Shivam Mishra
c5d0830553 fix: cint seconds before operations 2020-12-10 10:37:29 +05:30
Anupam
e197a6fd7f feat: added data format support DD-Mon-YY 2020-12-08 17:07:32 +05:30
Gavin D'souza
3ce680a5f9 Merge branch 'develop' of github.com:frappe/frappe into fix-base-path-restore 2020-12-04 18:17:59 +05:30
Gavin D'souza
1b609af8e5 fix: Handle paths relative to bench root and sites folder 2020-12-04 18:15:17 +05:30
Abhishek Balam
3676f8dc6f
Merge pull request #11720 from saurabh6790/format-email-fix
fix: validate email id before passing to formataddr
2020-12-04 17:42:53 +05:30
Abhishek Balam
d229e363b3 fix: revert cstr import added 2020-12-04 17:10:42 +05:30
Abhishek Balam
9d060f9653 fix: cstr import added 2020-12-04 17:01:55 +05:30
mergify[bot]
c394488f79
Merge pull request #12008 from gavindsouza/server-script-fixes
fix: Server scripts enhancements
2020-12-03 11:32:21 +00:00
Abhishek Balam
9e5c1a9a52
Merge pull request #12014 from abhishekbalam/image_metadata_strip
feat(File): Option to strip EXIF data from image files before uploading
2020-12-01 17:52:21 +05:30
Abhishek Balam
e306f5601c fix: made requested changes 2020-11-30 18:58:53 +05:30
Abhishek Balam
7d4992549d feat: added option in system settings to remove exif tags, default 1 2020-11-30 17:19:35 +05:30
Gavin D'souza
3e1f6c8103 style: Use f-string instead of format 2020-11-30 15:37:29 +05:30
Gavin D'souza
d5d0bc8ea9 fix: Return dummy function to avoid NoneType not callable 2020-11-30 15:25:55 +05:30
Rohan Bansal
f8fd59b6eb fix: remove HTTP filter 2020-11-30 15:15:19 +05:30
Rohan Bansal
84dcc9c521 Merge remote-tracking branch 'upstream/develop' into fix-release-check 2020-11-30 15:14:47 +05:30
Abhishek Balam
3a074756c1 fix: removed content_type param 2020-11-30 14:58:01 +05:30
Abhishek Balam
bd2e3530cd fix: strip exif data from image files before uploading 2020-11-30 11:59:16 +05:30
Rohan Bansal
9a84a7eb45 feat: use giturlparse to parse Git URLs 2020-11-27 17:30:43 +05:30
mergify[bot]
d7c1e41dc2
Merge pull request #12004 from tirkarthi/fix-warnings
fix: Import ABC from collections.abc for Python 3.9 compatibility.
2020-11-27 06:33:40 +00:00
Gavin D'souza
5babacac3e fix: Show function not available in namespace instead of nothing
Prior to this, frappe._dict was being used to inject functions to the
server script namespaces. This meant unimplemented methods
returned None and we'd get a NoneType not callable error
2020-11-27 11:02:37 +05:30
Karthikeyan Singaravelan
3a146580a8 fix: Use html.unescape for Python 3.9 compatibility. 2020-11-26 13:30:58 +00:00
Karthikeyan Singaravelan
0d4f116b3e fix: Import ABC from collections.abc for Python 3.9 compatibility. 2020-11-26 13:17:12 +00:00
Rohan Bansal
08c8e517b6 fix: git check flow 2020-11-25 18:08:18 +05:30
Rohan Bansal
ac597b0273 Merge remote-tracking branch 'upstream/develop' into fix-release-check 2020-11-25 15:54:17 +05:30
mergify[bot]
8e9a631ad9
Merge pull request #11794 from prssanna/period-dashboard
fix: calculate chart data from beginning of period
2020-11-25 05:32:58 +00:00
Shivam Mishra
edbb26d73e fix: display style removed from emails 2020-11-20 11:49:45 +05:30
Suraj Shetty
41221ccde7
Merge branch 'develop' into period-dashboard 2020-11-18 17:08:38 +05:30
Gavin D'souza
39da1e0363 fix: Raise error if executable not found in PATH 2020-11-17 18:44:34 +05:30
Gavin D'souza
2fd5a82bbd fix: Add header content in database backups 2020-11-13 19:43:07 +05:30
Gavin D'souza
14fe6ccfa3 fix: Add is_partial check in bench restore 2020-11-13 19:42:38 +05:30
Rohan Bansal
b52cfd1903 fix: add git URL check 2020-11-12 15:24:12 +05:30
Rohan Bansal
0e18070910 fix: error on trying to check semantic version 2020-11-11 14:56:55 +05:30
Gavin D'souza
34af8cb326 fix: Show partial backups when flag set
* in fetch_latest_backups whitelisted API
* BackupGenerator.get_recent_backup
2020-11-10 13:12:22 +05:30
Gavin D'souza
a073a59544 fix: Add partial slug only for database file 2020-11-10 12:04:22 +05:30
Gavin D'souza
b4e17b9f95 fix: Give more information about file to match verbosity 2020-11-10 10:52:10 +05:30
Gavin D'souza
853acf6dd0 fix: Add "partial" tag in the backup file following site name to
indicate its nature
2020-11-10 10:51:23 +05:30
Gavin D'souza
44f8c6e264 Merge branch 'develop' of github.com:frappe/frappe into skip-backup-tables 2020-11-09 19:08:36 +05:30
rohitwaghchaure
ead05cff0c
Merge pull request #11871 from anupamvs/jinja-issue
fix: frappe.utils.formatdate not working in the jinja template
2020-11-09 17:32:24 +05:30
mergify[bot]
39b549291f
Merge pull request #11903 from surajshetty3416/fix-login-page-failure
fix(website): Bust cache by passing build_version to link and script src
2020-11-09 11:52:26 +00:00
Suraj Shetty
13175a8bc4 fix(website): Bust cache by passing build_version to link and script sources 2020-11-09 15:54:17 +05:30
Suraj Shetty
01312889f8 refactor: Move get_build_version to utils.py 2020-11-09 15:31:49 +05:30
Gavin D'souza
fb0d1fbac1 Merge branch 'develop' of github.com:frappe/frappe into skip-backup-tables 2020-11-09 14:53:59 +05:30
Shivam Mishra
9e0d2abc6a fix: permission not applied on fetching goal chart 2020-11-06 14:04:52 +05:30
Anupam
3523323c64 fix: frappe.utils.formatdate not working in the jinja template 2020-11-04 19:09:41 +05:30
ABHISHEK KEDAR
7afb5b0b73
feat: as_raw update to display content inline not always download as attachment (#11569)
* feat: as_raw update to display content inline not always download as attachment

* fix: string formatting corrected in as_raw()

* fix: missing quotes in filename in as_raw()
2020-10-30 06:58:25 +00:00
Aditya Hase
67276b72f7
Merge pull request #11792 from adityahase/fix-pdf-generation
fix(pdf): PDF generation shouldn't fail in background jobs and tests
2020-10-28 11:42:55 +05:30