Commit graph

36841 commits

Author SHA1 Message Date
hrwx
ede9755649 fix: show sidebar in nav for md and sm screen size 2022-01-28 17:11:48 +01:00
Shariq Ansari
80f733d675 chore: improved code 2022-01-28 21:21:27 +05:30
phot0n
6baae86787 fix: patch for removing post and post comment doctypes 2022-01-28 21:07:18 +05:30
phot0n
e716a55932 refactor(minor): move frequently_visited_links from (now deleted) post to route_history 2022-01-28 20:55:24 +05:30
Shariq Ansari
98faba837f fix: update child table row's linked field on creating new connection 2022-01-28 20:30:52 +05:30
phot0n
17f8a70003 chore: remove post and post comment doctypes 2022-01-28 20:28:42 +05:30
Faris Ansari
b632cc558b fix: remove unnecessary array transformation in request args
`key: ['value', 'value2']` is turned into `key: 'value'` for no reason
2022-01-28 18:47:57 +05:30
Gavin D'souza
0a77059a0d fix: Skip raising only if virtual docfield while checking for conflicts 2022-01-28 18:47:29 +05:30
Gavin D'souza
5b6ceb5543 Merge branch 'develop' of github.com:frappe/frappe into set_value-refactor 2022-01-28 18:39:12 +05:30
Gavin D'souza
1811f464a9 Merge branch 'set_value-refactor' into set_value-refactor 2022-01-28 18:38:46 +05:30
Gavin D'souza
e080eab06b style: Sort imports 2022-01-28 18:38:13 +05:30
Gavin D'souza
4990a59c48 test: Added unit tests for format_timedelta, parse_timedelta,
json_handler
2022-01-28 18:35:27 +05:30
Gavin D'souza
8037866dc1 fix: Handle parsing and formatting timedeltas
* Added utils parse_timedelta, format_timedelta
* Added to json_handler for de-serializing timedelta objects
2022-01-28 18:33:03 +05:30
Gavin D'souza
9091b2a037 feat(minor): Case option in run-tests for specifying TestCase 2022-01-28 18:31:35 +05:30
Saqib Ansari
a5613720ed refactor: use set_fields_as_options 2022-01-28 17:32:50 +05:30
barredterra
fd1006e619 test: compare message, ignore title 2022-01-28 12:16:32 +01:00
Raffael Meyer
07ae6855c3
fix: use format string
Co-authored-by: Himanshu <himanshuwarekar@yahoo.com>
2022-01-28 12:01:38 +01:00
mergify[bot]
74964e04da
Merge pull request #15763 from gavindsouza/misc-fixes-6
fix!: Misc fixes
2022-01-28 10:17:13 +00:00
mergify[bot]
68034a4feb
Merge pull request #15777 from surajshetty3416/chat-removal-patch
fix: Add patch to remove chat related doctypes
2022-01-28 09:14:02 +00:00
Suraj Shetty
6f5feb05fa fix: Add patch to remove chat related doctypes 2022-01-28 14:24:26 +05:30
Gavin D'souza
9ca768a32c fix(test): Update test_virtual_fields 2022-01-28 12:12:30 +05:30
Oneiric
4e5c748fb8
feat: siganture field in webform 2022-01-28 10:42:11 +11:00
barredterra
aba467307f fix: translate default msgprint title in backend 2022-01-27 20:14:51 +01:00
barredterra
20d9a78628 test: compare message instead of entire dict 2022-01-27 20:04:55 +01:00
barredterra
90b5664758 fix: translate title in msgprint 2022-01-27 19:23:24 +01:00
Gavin D'souza
17e970d947 fix: Add is_virtual to Custom Field
The diff for this commit is too large because the format was changed.
But essentially, only "Is Virtual" field was added. This commit was
meant to be a part of the preceeding one. It was kept separate only
because the diffs too large :')
2022-01-27 22:40:41 +05:30
Gavin D'souza
9e3e3f804a feat: Virtual DocField
Add virtual docfield through which you can make callable properties for
the controller
2022-01-27 22:38:48 +05:30
Shariq Ansari
b3b1c3302c chore: renamed tab break fields 2022-01-27 19:18:39 +05:30
Faris Ansari
bf19ebdeb6
fix(boilerplate): add .gitkeep in public folder (#15765)
add .gitkeep file so that public folder is committed to git this is
needed because if public doesn't exist, bench build doesn't
symlink the public folder to sites/assets
2022-01-27 19:17:41 +05:30
Wolfram Schmidt
4718ebc2c3
chore: update translation for first day of week
Added translation connected to: https://github.com/frappe/frappe/pull/15669
2022-01-27 19:17:08 +05:30
Gavin D'souza
51fa09c4ab Merge branch 'develop' of github.com:frappe/frappe into thumbnail-for-images 2022-01-27 18:56:58 +05:30
Gavin D'souza
4cab8ca30a fix(test): Add missing test image for test_make_thumbnail 2022-01-27 18:56:05 +05:30
Gavin D'souza
6c83d82d14 Merge branch 'develop' of github.com:frappe/frappe into dynamic-docfields 2022-01-27 18:50:57 +05:30
Gavin D'souza
d01688bf2d fix: Don't set creation time during doctype sync 2022-01-27 18:33:26 +05:30
Gavin D'souza
487ff091c8 refactor(minor): email.make API
* Avoid double save if possible - seemed like it was added mistakenly,
  didnt find enough evidence for it's addition
* Avoid json.loads breaking if "" was passed for attachments
2022-01-27 18:31:01 +05:30
Gavin D'souza
6b6e10f7c5 fix: Log errors correctly
Prior to this, no tracebacks were logged and the body of the log only
had what was supposed to be the title
2022-01-27 18:29:57 +05:30
Gavin D'souza
de2bcb08b4 fix!: Drop six PY2 compatibility package 2022-01-27 18:28:04 +05:30
Gavin D'souza
5503e18817 chore(typing): Add typing, style fixes
This was going to be a fix at first. Until I realised it couldn't...so I
removed the changes and kept the things back that helped me debug the
issue
2022-01-27 18:27:35 +05:30
mergify[bot]
315f9bbf35
Merge pull request #15752 from shariquerik/image-in-sidebar-mobile-view
fix: Show image in sidebar in mobile view
2022-01-27 10:43:30 +00:00
Suraj Shetty
e0ac23d2de
Merge pull request #15759 from surajshetty3416/fix-text-editor-style 2022-01-27 15:59:04 +05:30
Faris Ansari
be41896d60
revert: server script errors (#15758)
#15334 added a change where all exceptions are caught when a server
script is executed, which makes validation errors useless. reverting this
for now, until we find a better solution.
2022-01-27 15:37:17 +05:30
Saqib Ansari
b5ebf062cb refactor: replace Link field with Select field 2022-01-27 15:21:47 +05:30
Suraj Shetty
0b2015f498 fix: Make text-editor resizable 2022-01-27 15:17:38 +05:30
Suraj Shetty
1569aa768c fix: Code block style 2022-01-27 15:12:04 +05:30
Shariq Ansari
2500d2c587 fix: sider fix 2022-01-27 15:01:23 +05:30
Shariq Ansari
8e21d18ee0 test: fixed workspace ui test 2022-01-27 14:59:24 +05:30
Shariq Ansari
9d70f2c4a7
Merge branch 'develop' into hide-notification-on-click 2022-01-27 14:54:31 +05:30
Shariq Ansari
de4997b2d3 fix: Close notification when any notification item is clicked 2022-01-27 14:42:38 +05:30
Shariq Ansari
6a4b71c75c
Merge branch 'develop' into image-in-sidebar-mobile-view 2022-01-27 13:56:58 +05:30
tundebabzy
38caf3bb22
fix(File): Handle file_path is None (#15552)
* fix: S3 automatic backup fails when the backup folder is empty

* Removed conditional that returns early when
`file_path` argument is invalid i.e `None` or empty string.

This means though that the function will throw an exception if it
receives such invalid input so devs should check their inputs before
calling the function

Co-authored-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>

Co-authored-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>
2022-01-27 13:29:43 +05:30