Commit graph

3508 commits

Author SHA1 Message Date
Suraj Shetty
b629a58094
Merge pull request #28126 from Abdeali099/new-app-template-fixes 2024-11-05 12:47:37 +05:30
Gavin D'souza
ecb4795ed3
feat: Enable Sentry Sampling
Closes https://github.com/frappe/frappe/issues/28245
2024-10-28 11:27:51 +01:00
David Arnold
8d6f8bce01
chore(typing): add some more typing to frappe.__init__ (#28215) 2024-10-21 11:30:11 +00:00
David Arnold
91a737d8fe
chore(typing): fix some (exotic) type errors treewide (#28210) 2024-10-21 10:02:04 +00:00
David Arnold
2abba7b51b
fix: don't force values into the string type (#28185) 2024-10-19 19:00:25 +00:00
David Arnold
75b58802ad
fix(docref): json serialization (#28182) 2024-10-19 14:11:51 +00:00
David Arnold
8b1180ba27
refactor: server script autocompletion to be more generic (#28180) 2024-10-19 12:56:24 +00:00
David Arnold
7a9748a417
refactor: permutate implementation to assert no functional change in preparation (#28160) 2024-10-18 02:40:06 +02:00
Corentin Forler
ee73ed8c02
fix: Make background print status translatable 2024-10-16 12:13:55 +02:00
Abdeali Chharchhoda
dabaf45b17 refactor: Removed first empty line from github workflows template 2024-10-15 00:44:35 +05:30
Abdeali Chharchhoda
c23e342048 refactor: Enhance gitignore_template with additional directories and files 2024-10-15 00:37:17 +05:30
David Arnold
3873580bba
fix: persistent per-site record creation log (#28070) 2024-10-10 09:32:59 +00:00
David Arnold
bd06784d1b
ci: Run optimized python and control warnings (#28063)
* ci: run doubly optimized python

* ci: control python warnings
2024-10-09 13:29:30 +00:00
David Arnold
8cfeb156df
devx: add deprecation dumpster (#27887)
* feat: Add deprecation_dumpster.py file

* docs: add jovial and jocose docstring for frappe/deprecation_dumpster.py

* refactor: fill the dumpster with its own kind

* refactor: move to the deprecation dumpster

* chore: color coding class

* fix: only check import error when import errors
2024-10-08 18:56:10 +02:00
David Arnold
7e453ea515
Testing Module (#28000)
* refactor: add create_handler alongside create_logger

* fix: bench helper click exceptions for --help (2nd attempt)

* fix: increase logging level missing test records

* fix: reorganize test runner into testing module and refine logging

* fix: semgrep complaint

* chore: remove unused code; only keep deprecation proxies

* fix: import statements

* fix: output & string processing
2024-10-07 09:46:49 +02:00
avc
da28df59e9
fix: try catch for license text fetching (#27526) 2024-10-06 23:26:23 +02:00
David
b66d16da5d
fix: cli helper wrapper (oversight #27753) 2024-09-26 12:38:59 +02:00
Akhil Narang
44447d27e0
fix(format_timedelta): don't try to call .total_seconds() if a string was passed in
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-09-23 16:15:24 +05:30
Akhil Narang
ce3b15c3e1
fix: update comment
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-09-23 16:14:12 +05:30
Raffael Meyer
d3248612cb
fix: money in words (#27190) 2024-09-21 16:24:39 +02:00
Raffael Meyer
b91cacdd18
feat!: enhance Language to become more of a Locale (#27178) 2024-09-21 16:02:58 +02:00
Akhil Narang
ce613e2454
Merge pull request #27689 from pa1narendra/social-login-key-keycloak
feat(auth): Added keycloak as a social login provider
2024-09-19 18:14:28 +05:30
Akhil Narang
71b869a975
refactor(keycloak): set API endpoint while getting list of oauth providers
urljoin() just adds the base URL to the relative path, here our base URL has an extra route in the path which isn't added in.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-09-19 15:31:32 +05:30
Akhil Narang
c2001919a5
chore(decrypt): mention the key in error if specificed
This would allow the user to know which key is failing, and just update that if required

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-09-16 12:51:49 +05:30
David
202cce8a0d
refactor: type hint cli context 2024-09-13 17:25:43 +02:00
David (aider)
0e92dc3a97
feat: friendly error wrapper on cli 2024-09-13 17:07:04 +02:00
David
d87b786687
chore: fix all invocation of init for singledispatch -> min 1 positional arg 2024-09-13 11:53:52 +02:00
David
7d5b63a267
fix: improve serializer 2024-09-12 21:06:10 +02:00
David
091df9fe2b
refactor!: make room in the frappe.config namespace
BRAKING: fappe.config namespace moved to
frappe.utils.modules namespace
2024-09-12 12:18:58 +02:00
David
d50e579317
feat(utm): make data helper more useful 2024-09-12 00:08:11 +02:00
Sumit Bhanushali
60fe377a72
Merge pull request #27429 from Vishnu7025/utils-functions
feat: add get_month function to return current or specific month as a…
2024-08-22 01:18:44 +05:30
vishnu
22042ae00b chore: pre-commit 2024-08-21 18:49:48 +00:00
vishnu
5b73b8c20a chore: added calendar module 2024-08-21 18:28:34 +00:00
vishnu
ace2122e92 chore: removed extra functiion 2024-08-21 18:07:03 +00:00
Akhil Narang
5149a92cbf
Merge pull request #27434 from akhilnarang/fix-html-sanitize
fix(sanitize_html): sanitize all string inputs if specified
2024-08-20 11:52:40 +05:30
Akhil Narang
82cd08afd2
fix(sanitize_html): sanitize all string inputs
No reason to exclude JSON and what bs4 *thinks* is invalid HTML
The browser is happy to render both of those if its remotely valid

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-08-19 13:10:15 +05:30
Devin Slauenwhite
f2422ad219
fix: allow rediss connection scheme 2024-08-17 16:15:25 -04:00
vishnu
b41083561e feat: Add get_month function to return current or specific month as a string 2024-08-17 14:11:00 +00:00
Akhil Narang
2c7852e6aa
Merge pull request #27394 from ljain112/fix-rename-nested-set
fix: incorrect parameters in `frappe.db.set_value` call in `after_rename` method
2024-08-13 18:32:13 +05:30
ljain112
38f6b9f9d9 fix: incorrect parameters in frappe.db.set_value call in after_rename method 2024-08-13 16:33:11 +05:30
Shariq Ansari
44eccd6135 fix: redirect to default path via social login 2024-08-13 12:23:20 +05:30
Shariq Ansari
4df61ed72c chore: added framework espresso logo 2024-08-12 22:22:18 +05:30
Shariq Ansari
1ea56db399 chore: renamed include_as_app to include_in_apps_screen 2024-08-12 19:24:32 +05:30
Shariq Ansari
5bd7d60962 fix: unit test is broken 2024-08-12 18:05:06 +05:30
Shariq Ansari
11b699c60d
Merge branch 'develop' into app-switcher 2024-08-12 16:29:34 +05:30
Shariq Ansari
0f0cf07ff5 fix: added include_as_app in hooks which is used to show app on apps page 2024-08-12 14:20:49 +05:30
Akhil Narang
3efd8c6d71
chore(scheduler): never mark sites as dormant if running in developer mode
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-08-12 13:27:14 +05:30
Raffael Meyer
71eb3704bd
fix: preserve exif data in optimized image (#27341) 2024-08-08 11:28:32 +02:00
Sumit Bhanushali
1c35f2216f fix(XLSX): remove unsupported characters from sheet title 2024-08-05 18:01:30 +05:30
Dany Robert
968800ce72
fix(babel): not a valid locale identifier (#26749) 2024-07-26 14:58:49 +02:00