Commit graph

39821 commits

Author SHA1 Message Date
Ankush Menat
17e546f1a5 Revert "fix: allow backtick in HTML templates as well"
This reverts commit 2f96458bcb.
2022-10-12 18:50:12 +05:30
Ankush Menat
ab3f706948 Revert "feat: consistent, translatable timeline messages (#17526)"
This reverts commit 112c492f3e.
2022-10-12 18:03:57 +05:30
Ankush Menat
c3644093d9 style: format
[skip ci]
2022-10-12 17:38:41 +05:30
Ankush Menat
81ac342c64
Merge pull request #18020 from Alchez/feat-doctype-layout-sync-dev
feat: allow syncing new fields in Doctype Layout
2022-10-12 17:37:14 +05:30
Rohan Bansal
b61e91d8a2 fix: append custom layout JS to existing doctype JS 2022-10-12 16:42:23 +05:30
Aradhya Tripathi
457de5c6b3
fix: stripping comments sent to the database API (#18229)
* feat: stripping comments sent to the database API

* test: Added tests for comment stripping

* fix: only stripping comments in string fields

* refactor: removing on the fly mutations

* refactor: added helper to avoid mutations

* refactor: simplify sanitization

* refactor: removing indexing from everywhere

* refactor: readable functions

* test: only run mdb test on mdb

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-12 16:36:55 +05:30
Nikhil Kothari
1da6ca6731
feat: add export option without template and headers (#18241)
* feat: add export option without template and headers

* Update frappe/core/doctype/data_export/data_export.json

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2022-10-12 16:36:02 +05:30
Raffael Meyer
3d17e1589e
feat: search in translated title, if we show title (#17828)
* refactor: use meta.translated_doctype

* refactor: get_title_field_query

* feat: search in title, if we show title

* refactor: build_for_autosuggest

* style: black

* fix: don't order translated doctypes by untranslated relevance

* feat: match all fields for translated doctypes

* feat: translate all fields in description, remove redundant title

* refactor: title in link

* fix: show name in description for title links
2022-10-12 16:31:53 +05:30
Faris Ansari
725d1d20b7
fix: Date rendering in Safari (#17450)
* fix: Date rendering in Safari

new Date(frappe.datetime.now_datetime()) is Invalid in Safari because it
doesn't support the YYYY-MM-DD format, the hiphens need to be removed.
But in this case there is no need to pass any value to Date constructor
to get the current datetime.

* fix: use now_datetime with string replace

Co-authored-by: Maharshi Patel <39730881+maharshivpatel@users.noreply.github.com>

* chore: linter fix

* chore: removed missed line from last commit

Co-authored-by: Maharshi Patel <39730881+maharshivpatel@users.noreply.github.com>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-10-12 16:30:26 +05:30
PeterG
77ae997b14
fix: google calendar sync times (#18384) 2022-10-12 15:23:04 +05:30
Ankush Menat
98dd7b0616
refactor: simplify api.py (#18372) 2022-10-12 15:18:39 +05:30
stephen
729be707cb
fix: progress bar not disappearing (#18375)
* fix: progress bar not disappearing

* style: format

[skip ci]

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-12 12:27:49 +05:30
Ankush Menat
cfee53d573
refactor: load balanced parallel tests without orchestrator (#18386)
* feat: dry run in test runner for debuggin

* refactor: load balance TestRunner using # of tests
2022-10-12 12:13:24 +05:30
Shariq Ansari
9987ba06b3
Merge pull request #18380 from shariquerik/grid-upload-format-fix 2022-10-12 12:09:45 +05:30
Ankush Menat
6de4d68b24
ci: disable test orchestrator (#18385) 2022-10-12 10:10:44 +05:30
mergify[bot]
f0952d0fbb
refactor: use file api to read import data (#18379) (#18382)
* refactor: use file api for reading data in import

* fix: remove unused import

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
(cherry picked from commit 702e8674f94fde353ac12885f5782ea73ef75b6f)

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-11 21:59:43 +05:30
Shariq Ansari
a9460c920a
Merge branch 'develop' into grid-upload-format-fix 2022-10-11 19:25:36 +05:30
Shariq Ansari
95f23b3adb fix: format currency value as float while grid upload 2022-10-11 19:06:00 +05:30
Ankush Menat
4863ba154e
build(deps): bump oauthlib (#18373)
CVE-2022-36087 - https://github.com/advisories/GHSA-3pgj-pg6c-r5p7
2022-10-11 18:08:12 +05:30
Shariq Ansari
0d6b06b244
Merge pull request #18355 from shariquerik/vue-css-refactor 2022-10-11 18:04:17 +05:30
Rohan Bansal
5a431b0ec5 fix: ux improvements on doctype layout 2022-10-11 17:25:48 +05:30
Ankush Menat
fadf4049e3 ci: manually label critical files for coverage
[skip ci]
2022-10-11 16:05:45 +05:30
Shariq Ansari
3504ca08f2 fix: revert dynamic entryNames for js 2022-10-11 14:26:32 +05:30
Shariq Ansari
db62545c08
Merge pull request #18315 from shadrak98/reduce-margin 2022-10-11 13:33:50 +05:30
Shariq Ansari
8b7120ffba
Merge branch 'develop' into vue-css-refactor 2022-10-11 13:30:20 +05:30
Sagar Vora
2f96458bcb fix: allow backtick in HTML templates as well 2022-10-11 13:22:13 +05:30
Shariq Ansari
16fb96f6bd fix: responsive 2022-10-11 12:38:46 +05:30
Shariq Ansari
bfbdaa4f4d
chore: code cleanup
Co-authored-by: Sagar Vora <sagar@resilient.tech>
2022-10-11 12:32:36 +05:30
Nabin Hait
e821699c82
fix: Set email account in Communication only if exists (#18361) 2022-10-11 12:20:59 +05:30
stephen
768daf0961
fix: type-error in email signature code (#18353)
* fix: type-error in email signature code

* refactor: import

[skip ci]

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-11 12:03:18 +05:30
Ankush Menat
b03e0752b9
fix: ignore if df doesn't exist (#18358) 2022-10-11 11:51:01 +05:30
Ritwik Puri
426ecc5a1e
fix: link field self linking (#18330) 2022-10-11 00:59:18 +05:30
Shariq Ansari
61642b0b61
Merge branch 'develop' into vue-css-refactor 2022-10-10 22:06:51 +05:30
Shariq Ansari
9a22ab0d6a fix: remove .css & .css.map file 2022-10-10 21:38:05 +05:30
Anand Baburajan
feb198a019
docs: fix make_autoname example (#18354) 2022-10-10 21:04:35 +05:30
Shariq Ansari
09f9cda115 fix: load css data instead of loading css bundle file when js is loaded 2022-10-10 21:01:28 +05:30
Shariq Ansari
a62861ec9f
fix: scoped vue css (#18351)
[skip ci]
2022-10-10 18:25:30 +05:30
Ankush Menat
3426d5307f
Merge pull request #18343 from Alchez/dev-list-filter-ux
fix: always show list filters and add confirmation when deleting filters
2022-10-10 16:54:00 +05:30
Tom-Finke
42f6aa664d
feat: support list view for "show titles instead of name" (#18060)
* initial commit

* fix: account for set_fields not being called

* fix: two links with title field with the same name: add prefix

* chore: add semicolons

* fix: only fetch for title field value for link title doctypes

* fix: linting errors

* style: formatting

[skip ci]

Co-authored-by: Raymond Reggers <raymond@adaptiv.nl>
Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com>
2022-10-10 16:51:18 +05:30
avc
df9417fa25
chore: fix es translations
Typo corrections and translations added.
2022-10-10 16:42:50 +05:30
Ankush Menat
f063194e20 fix(UX): always show saved filters 2022-10-10 16:27:32 +05:30
Ankush Menat
4020513712
feat: allow auto clearing notificaiton log (#18344) 2022-10-10 16:21:37 +05:30
Rohan Bansal
683db938e3 feat: auto-show list filters and add confirmation when deleting filters 2022-10-10 15:48:47 +05:30
Ritwik Puri
121a6e1108
fix(notification): redirect to the referenced document if present otherwise go to notification log (#18334) 2022-10-10 14:02:24 +05:30
dependabot[bot]
6c2f73a030
build(deps): bump snyk from 1.707.0 to 1.996.0 (#18311)
Bumps [snyk](https://github.com/snyk/snyk) from 1.707.0 to 1.996.0.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Commits](https://github.com/snyk/snyk/compare/v1.707.0...v1.996.0)

---
updated-dependencies:
- dependency-name: snyk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 13:55:10 +05:30
Ankush Menat
66710ae5c5
ci: Verify yarn lock file (#18336) 2022-10-10 13:45:49 +05:30
Sagar Vora
a93d052c98
chore: update yarn.lock (#18326) 2022-10-10 13:36:10 +05:30
Faris Ansari
88b8bb28e6
fix: scope build_events css (#18335) 2022-10-10 13:22:18 +05:30
Ankush Menat
c3b547f897
refactor!: scheduler without external libraries (#18331) 2022-10-10 13:09:34 +05:30
Ankush Menat
4a3259ed92
fix: set system time on doc for Now (#18288) 2022-10-08 19:53:08 +05:30