Commit graph

5850 commits

Author SHA1 Message Date
barredterra
35d6e70382 feat: add sender_name_field 2023-12-01 18:39:39 +01:00
Ankush Menat
1e20820846
refactor: Indicate that weak hash functions are not usedforsecurity (#23540)
[skip ci]
2023-12-01 16:04:37 +05:30
Ankush Menat
c23771475c
refactor: Use hooks to specify default log clearing (#23507) 2023-11-30 13:06:29 +05:30
Ankush Menat
d61022536f fix(UX): Indicate that email is scheduled 2023-11-27 20:50:40 +05:30
Ankush Menat
ded94bf050 Merge branch 'develop' into comm-send-after 2023-11-27 20:27:59 +05:30
Rushabh Mehta
2c34c71b43 refactor: Cleanup Login Settings in System Settings 2023-11-27 14:08:45 +05:30
Rushabh Mehta
4a25451f44 refactor: Add tabs to "System Settings" 2023-11-27 13:56:54 +05:30
Nabin Hait
ddac8af434
fix: ignore duplicate contact creation (#23423) 2023-11-24 18:16:02 +05:30
14987
0361fd8b8d
doc: Update doc string 2023-11-24 17:01:58 +05:30
14987
1bdc5997e5
feat(communication): Add send_after in communication 2023-11-24 16:57:19 +05:30
mergify[bot]
514ea6e259
Merge pull request #23309 from akhilnarang/drop-redundant-bool
refactor(treewide): code cleanup
2023-11-23 11:20:55 +00:00
Akhil Narang
f8c5a61bbd
refactor(report): simplify check further
NoneType will evaluate to False here so we don't need this complexity

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2023-11-23 15:54:13 +05:30
Akhil Narang
f007f16ce9
fix: handle invalid passwords better (#23377)
* chore(login): show a message for response code 500 as well

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* refactor: reject passwords > 512 characters

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

---------

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-23 15:35:37 +05:30
Akhil Narang
fbc88a4d24
refactor(treewide): code cleanup
Drop redundant bool conversion

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-23 13:57:51 +05:30
Ankush Menat
f526054ae2
refactor: Remove usage of utcnow (#23369) 2023-11-23 13:21:27 +05:30
Ankush Menat
a4cbe36cbe
Merge pull request #23132 from frappe/jitter-scheduling
perf(Scheduling): add jitter to job scheduling
2023-11-22 10:59:38 +05:30
David Arnold
f9141d04bf
fix(naming_rule): polish list view 2023-11-21 18:02:22 +01:00
18alantom
aeec01c7f9 perf(Scheduling): add jitter to job scheduling
Addresses #19007
2023-11-21 12:21:53 +05:30
Ankush Menat
cd189b3f7f fix: remove link - modifying while iterating 2023-11-21 12:01:55 +05:30
Ankush Menat
d715b0ad31
Merge pull request #22804 from akhilnarang/non-nullable-fields
feat: allow setting fields as not nullable
2023-11-20 12:46:02 +05:30
Akhil Narang
eb45da3913
feat: Allow usage of print() within safe_exec() (#23084)
* feat(safe_exec): allow usage of `print()`

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* refactor(system_console): update description to mention `print()` instead of `log()`

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* feat: unconditionally add debug logs to response if present

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* chore(safe_exec): add in a test for running `print()` within safe_exec

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* fix(safe_exec): ignore warning

RestrictedPython warns us if we call `print()` don't use their `printed` variable

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* feat: store debug logs from scheduled jobs

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* fix: avoid ignoring warnings, disabled in prod anyway

* chore: remove unnecessary logging

This can be moved to level 2 when required

---------

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-11-20 12:45:41 +05:30
Akhil Narang
7d3295f09e
fix(doctype): update query was broken
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-16 14:51:57 +05:30
Akhil Narang
5a4053fe2c
chore: make use of non_nullable to avoid ifnull usage
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-16 14:51:57 +05:30
Akhil Narang
0026a6ceac
feat(docfield): add in a nullable checkbox field
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-16 14:51:55 +05:30
Shariq Ansari
8cbe919696 fix: add submit role to system manager if doctype is submittable 2023-11-16 11:16:53 +05:30
RitvikSardana
0c4245634f
feat: Apply Filters to Link Fields Via Form Builder (#22844)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2023-11-15 11:34:19 +05:30
barredterra
0911299ace test: mark as spam 2023-11-15 01:05:40 +01:00
barredterra
1aea320dfe refactor: mark as spam 2023-11-15 01:05:32 +01:00
barredterra
73a0ed9f15 fix: set status last 2023-11-15 00:44:22 +01:00
barredterra
6e753cf118 refactor: deduplication logic 2023-11-15 00:33:19 +01:00
barredterra
46a34e25e8 test: parse links in email 2023-11-15 00:01:13 +01:00
barredterra
329531bf6e feat: link communication by email 2023-11-14 23:27:27 +01:00
barredterra
2507c6af97 fix: check the correct email account 2023-11-14 23:25:34 +01:00
barredterra
02e3e23b4c refactor: email linking 2023-11-14 23:24:36 +01:00
mergify[bot]
b8d1ede3d7
Merge pull request #23161 from TMF42/fix--incorrect-date-range-when-relinking-documents
fix: incorrect date range when relinking files
2023-11-12 14:28:40 +00:00
Suraj Shetty
8dd73998b1
Merge pull request #23149 from git-avc/fix-docfield-columns-description 2023-11-12 07:54:56 +05:30
Ankush Menat
dd86c48306 fix: Ignore None returned by RQ job
Even though type signature suggests that it always returns job object it
sometimes doesn't if you read the code.
2023-11-09 20:25:03 +05:30
Thomas Fojan
df026366df fix: incorrect date range when relinking files 2023-11-08 21:23:25 +01:00
avazquez@ctgalega.com
9baf5e6de4 fix: typo accuracy 2023-11-08 00:38:16 +01:00
avazquez@ctgalega.com
268c851f85 fix: description for columns property in docfield 2023-11-08 00:29:46 +01:00
barredterra
67404e0cd0 Merge branch 'develop' into po-translation 2023-11-06 19:40:25 +01:00
Ankush Menat
47c3151662
fix: remove data import legacy leftover fields (#23113)
* fix: clear last message if ignoring DNE

* fix: attempt to delete data import legacy leftover fields
2023-11-06 19:18:39 +05:30
Suraj Shetty
e3d536659e
Merge pull request #22684 from GursheenK/audit-trail-filters 2023-11-06 17:12:45 +05:30
barredterra
dd5bb0ff46 fix: allow page deletion during migrate 2023-11-03 22:03:27 +01:00
Ankush Menat
2ab8c2a053
refactor: misc changes (#23082)
- Fail early for developer mode
- Convert delete content function to method
- do io after db transaction commits
- write a test
2023-11-03 07:27:34 +00:00
Vishnu VS
ae7a893100
feat: granted delete permission and added folder deletion function for pages (#23077)
* fix: grant delete permission to administrator

* feat: added function to delete folder associated with the  page
2023-11-03 12:34:07 +05:30
Raffael Meyer
f0155674a5
refactor!: remove redundant sending of translations (#22962)
* chore!: remove redundant translation

* refactor!: remove "get_translated_dict" hook

Instead, include the results from
`frappe.geo.country_info.get_translated_dict` in `get_all_translations`.

* test: money_in_words uses translated currency

... and now we have translations.

* Revert "test: money_in_words uses translated currency"

This reverts commit e07d594ac1ce4b120c0fceb5d23377cb981fe820.

* refactor!: stop translating timezone and currency

* refactor: rename `get_translated_dict`

... to `get_translated_countries`
2023-11-02 20:04:14 +05:30
Gursheen Anand
0098ec637f fix: change btn label 2023-11-02 15:27:51 +05:30
Gursheen Anand
0126fefdf0 fix: set filters in refresh 2023-11-02 15:26:00 +05:30
Shariq Ansari
45236a98d7
Merge pull request #22968 from shariquerik/form-builder-ui-refactor 2023-11-01 19:14:56 +05:30