Commit graph

40563 commits

Author SHA1 Message Date
Ankush Menat
d13ab320b7 refactor: Duplicate enqueue checks
scheduled_job_type.enqueue already does check for duplicate job and is
more "recent"
2022-12-14 15:46:46 +05:30
Ankush Menat
2b050f9fc3 test: test without adding hacky flags 2022-12-14 15:46:46 +05:30
Ankush Menat
82d699a801 refactor: misleading "log and raise" and types 2022-12-14 15:46:46 +05:30
Devin Slauenwhite
1fc2639123
fix: hide toolbar label (#19272) 2022-12-14 11:03:51 +05:30
Shariq Ansari
6dab439f42
Merge pull request #19269 from shariquerik/web-form-print-format-fix 2022-12-13 18:57:44 +05:30
Shariq Ansari
55d3bea05b
Merge branch 'develop' into web-form-print-format-fix 2022-12-13 18:06:03 +05:30
Shariq Ansari
2767580732 fix: in web form if print format is empty getting error 2022-12-13 17:41:10 +05:30
Ankush Menat
b91354e28f
Merge pull request #19265 from ankush/prepared_report_sort
fix: sort keys in prepared report filters
2022-12-13 16:50:01 +05:30
Ankush Menat
004c716a67 fix: sort keys in prepared report filters 2022-12-13 16:24:11 +05:30
Ankush Menat
170b7c9b0f chore: correct devel version 2022-12-13 14:20:55 +05:30
Ankush Menat
ee5c82e985 fix(DX): validate virtual doctype controllers 2022-12-13 14:18:19 +05:30
Ankush Menat
290a3df68d chore!: drop backup.py direct calls + pragma nocov 2022-12-13 14:18:19 +05:30
Abdallah A. Zaqout
aa1f03239c
feat: allow user to pick all columns (#19236)
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-12-13 13:36:24 +05:30
Ankush Menat
494400ead2 style: fmt
[skip ci]
2022-12-13 12:07:04 +05:30
Babuuu
607b83de5c
fix: Change page title to app name. (#19247)
[skip ci]
2022-12-13 12:06:01 +05:30
Alfredo Altamirano
ffe3ba140e
fix: TypeError when using frappe.throw() or frappe.msgprint() with lists (#19255)
Co-authored-by: Alfredo Altamirano <Ahuahuachi@users.noreply.github.com>

[skip ci]
2022-12-13 11:59:58 +05:30
Ankush Menat
536ddc7832
build(deps): bump click to latest version (#19248) 2022-12-12 21:48:05 +05:30
Samuel Danieli
e4cb215ad2
fix: untranslated link fields in list view (#19155) 2022-12-12 20:03:06 +05:30
Ankush Menat
c06bddb94b
chore: Drop snyk (#19245)
We use dependabot mainly instead of snyk

[skip ci]
2022-12-12 17:19:39 +05:30
Ankush Menat
025906840d
perf: remove order_by from linked_with checks (#19229) 2022-12-12 15:39:46 +05:30
Ankush Menat
a90fc27c75
refactor!: Remove activity feed (#19241) 2022-12-12 15:29:32 +05:30
Ankush Menat
2ba85af8a3 chore!: remove activity feed logs 2022-12-12 14:28:30 +05:30
Yash Jane
b93022a54e
fix(UX): forget password shows error on wrong email (#19235)
* fix: forget password shows error on wrong email

* test: expected test failure

[skip ci]

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-12-12 12:45:27 +05:30
Raffael Meyer
bb5b0e5e64
refactor!: remove compare util from frappe package (#19234)
Use `from frappe.utils import compare` instead of `frappe.compare`.
2022-12-11 23:20:21 +05:30
Ritwik Puri
ed72e93df7
Merge pull request #18819 from barredterra/select-print-language
fix: use link fields in print view
2022-12-09 18:08:40 +05:30
Saqib Ansari
f6677125d3
fix: do not rename select field options and values on doctype rename (#19223) 2022-12-09 16:36:58 +05:30
Ankush Menat
ec3f705e4f
feat: finer frappe Recorder control with decorator (#19220)
Currently frappe recorder can be enabled globally and profiles every
request. This is often way too much info. If you already know where
problem lies you use this decorator sparingly to only profile relevant
functions.

Usage:
```py
from frappe.recorder import record_queries

@record_queries
def sus_slow_function():
    frappe.db.sql("select everything from everywhere")
```
2022-12-09 14:18:49 +05:30
Ankush Menat
442ba5dbf2
fix: set-config -g (#19217)
This isn't working because it uses update_site_config command which
attemts to find site_dir to create a lock which doesn't work when site
isn't init-ed.
2022-12-09 11:10:09 +05:30
Shariq Ansari
ba66dea42a
Merge pull request #18381 from shariquerik/form-builder-vue3
feat: Form Builder
2022-12-09 10:03:43 +05:30
Raffael Meyer
87985c14b9
Merge branch 'develop' into select-print-language 2022-12-08 17:15:12 +01:00
barredterra
0d87870ca3 refactor: better, consistent names 2022-12-08 17:01:35 +01:00
barredterra
6069cde624 fix: remove seemingly useless code 2022-12-08 17:00:46 +01:00
barredterra
c8a196f768 fix: use standard format if none is selected 2022-12-08 16:59:29 +01:00
barredterra
0c3c4bf197 fix: add missing translations (de) 2022-12-08 16:57:32 +01:00
rohitwaghchaure
2a5d076798
Merge pull request #19207 from rohitwaghchaure/fixed-child-tables-not-working
fix: child table not working
2022-12-08 20:18:16 +05:30
Rohit Waghchaure
95802f4a84 fix: child table not working 2022-12-08 19:37:49 +05:30
Shariq Ansari
318e810d64
Merge branch 'develop' into form-builder-vue3 2022-12-08 18:57:18 +05:30
Raffael Meyer
77ce90dc63
fix: user perm check message (#19165)
* fix: german translation for perm check message

* fix: all the translations  💬
2022-12-08 18:46:06 +05:30
Shariq Ansari
d0e68a198b test(UI): force clear text 2022-12-08 18:26:44 +05:30
Ankush Menat
80c8b07fd7
Merge pull request #19193 from frappe/timeline_escape
refactor: html2text and fix diff render
2022-12-08 17:59:47 +05:30
Shariq Ansari
f11e7c27d7 test(UI): added more UI tests 2022-12-08 17:42:07 +05:30
Ankush Menat
57c81b2f42
fix: log unknown usernames too for failed attempts (#19199)
[skip ci]
2022-12-08 17:41:47 +05:30
Ritwik Puri
0aa24cc5ef
fix: reload shared dialog upon checking any perm (#19196) 2022-12-08 17:32:34 +05:30
Ankush Menat
7578be8191
fix: only make fetch_from field read only if no input (#19192) 2022-12-08 16:38:27 +05:30
Ankush Menat
57cb71311f refactor: use domparser for html2text 2022-12-08 16:22:38 +05:30
Ankush Menat
f4ee9e307b fix: escape html in timline/version 2022-12-08 16:18:17 +05:30
Shariq Ansari
f0a5f0a6f3 fix: Change doctype by clicking on page title
also added go to doctype list menu item
2022-12-08 15:25:08 +05:30
dependabot[bot]
775321b99d
build(deps): bump qs from 6.7.0 to 6.11.0 (#19182)
Bumps [qs](https://github.com/ljharb/qs) from 6.7.0 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.7.0...v6.11.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

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-12-08 13:30:33 +05:30
Dany Robert
2ab543f4ae
fix: allow changing counter for prefix-less series (#19180) 2022-12-08 13:27:14 +05:30
Ankush Menat
49437f53b4
feat: operation level locking for CLI commands (#19162)
This prevents mistakenly issuing same commands twice which can be
dangerous.

added global lock(s):
- [x] bench build

added site level lock(s):
- [x] bench new-site sitename
- [x] bench --site sitename migrate
- [x] bench install-app appname
- [x] bench build
- [x] bench restore (the code is just meh, needs some cleanup)

closes https://github.com/frappe/frappe/issues/13215
2022-12-08 13:24:43 +05:30