Commit graph

50544 commits

Author SHA1 Message Date
Gavin D'souza
886adfbc43
feat: allow overriding query execution
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-15 13:59:16 +05:30
Akhil Narang
89e85d0a9a
Merge pull request #32126 from akhilnarang/skip-app-if-error
fix: skip adding app to list if we can't run the permission hook
2025-04-15 11:44:04 +05:30
Akhil Narang
2077e90bf1
fix: skip adding app to list if we can't run the permission hook
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-15 11:30:31 +05:30
Soham Kulkarni
2bf892ad90
Merge pull request #32133 from sokumon/readme-fix
fix: broken link in readme
2025-04-15 09:49:33 +05:30
sokumon
53ef331003 fix: broken link in readme 2025-04-15 09:47:34 +05:30
Raffael Meyer
a20e1284ac
fix: move buttons to top (#32111) 2025-04-14 19:14:43 +02:00
Gavin D'souza
e381b3288f
test: Pass date objects instead of str for get_events 2025-04-14 18:09:28 +02:00
Gavin D'souza
d133523154
fix(Event): Handle end of the month repeats 2025-04-14 17:55:37 +02:00
Gavin D'souza
b23d5c3a43
refactor: get_events new events' logic 2025-04-14 17:55:36 +02:00
Gavin D'souza
e970f58e38
fix: Remove incoming fix for GET notifications 2025-04-14 17:55:34 +02:00
Gavin D'souza
a717af6402
fix: Bump event modified conflict 2025-04-14 17:55:33 +02:00
Gavin D'souza
229f91f2a9
fix: Use GET for get_events for notification bar
(cherry picked from commit 5215f91c0aa32c6e28ef3f58d2959e00eef14016)
2025-04-14 17:55:31 +02:00
Gavin D'souza
f2e5c2ab26
chore: Remove redundant casting
(cherry picked from commit 3cd431df800cc448268200823bee59820407f096)
2025-04-14 17:55:30 +02:00
Gavin D'souza
97942dba3c
refactor(Event): get_events
* Don't show repeatable events starting in the future for the past dates
  [fix]
* Simplify logic & variables naming for better maintainability, reduce
  unnecessary looping, data structures [perf]
* Use standard library when possible [refactor]

(cherry picked from commit 4570758b5fd02e724b8b044abdd1a3817bcef35b)
2025-04-14 17:55:29 +02:00
Gavin D'souza
15ea3188ab
chore: please the gods with fmt
because my vessel is unworthy of containing their graciousness; thank
gha ci 🙏

(cherry picked from commit 0b2cf24ff587bc2379061d9f119cabca5ed77d7f)
2025-04-14 17:55:27 +02:00
Gavin D'souza
1b74359348
refactor: get_events
Simplify logic, optimized for readability

I tried to fix this issue I had, but ended up discarding that since it
didn't do the job well....anyway...

(cherry picked from commit 1219af7228a6151e6a0aca48901a3cc022920ff9)
2025-04-14 17:55:26 +02:00
Gavin D'souza
3894d4093a
fix(google-calendar): Use byday variable type properly
Introduced via https://github.com/frappe/frappe/pull/31772

(cherry picked from commit 3829c2a1c2cedf55c036254c57b211959619468b)
2025-04-14 17:55:22 +02:00
Soham Kulkarni
15371ce6f8
Merge pull request #32084 from sokumon/export-report-name
fix: respect include filters while generating report name
2025-04-14 20:23:39 +05:30
gavin
bd20447ccd
Merge pull request #32128 from frappe/revert-31933-type-off-type-on
Revert "fix: Skip ruff qa on auto-generated typing blocks"
2025-04-14 15:25:38 +02:00
Ankush Menat
348202b6fc
fix(UX): block inserting more than 5000 items in table (#32127)
The "upload" feature allows adding arbitrary number of rows and browsers
usually can't handle >1000 well in current grid (+ backend doesn't
support this either)
2025-04-14 13:23:13 +00:00
gavin
b4cfb35a61
Revert "fix: Skip ruff qa on auto-generated typing blocks" 2025-04-14 15:16:07 +02:00
Akhil Narang
db910dccad
Merge pull request #32118 from iamejaaz/35370-beta-print-issue
chore: remove duplicate call of access log
2025-04-14 18:32:27 +05:30
Ankush Menat
c70ba644a9
fix: Show doctype name in perm check errors (#32122)
`meta.doctype` is always `DocType`
2025-04-14 12:29:51 +00:00
Corentin Forler
e4683b2479
feat(assign): Show description in assign modal 2025-04-14 14:25:56 +02:00
Ejaaz Khan
4a365b3fc4 chore: remove duplicate call of access log 2025-04-14 16:45:54 +05:30
Gavin D'souza
4bc19078bb fix: Event google URL field not big enough for irl data
(cherry picked from commit 08e7abaac37235b6205057b92ee9a8f11fe0df1e)

# Conflicts:
#	frappe/desk/doctype/event/event.json
2025-04-14 08:13:26 +00:00
Ejaaz Khan
45ebe74eab
Merge pull request #32112 from iamejaaz/35370-beta-print-issue
fix: print builder beta print option not working
2025-04-14 13:13:43 +05:30
Ejaaz Khan
65fd87a198 chore: remove unwanted files 2025-04-14 12:21:07 +05:30
Ejaaz Khan
e266956a19 test: fix print format failing test 2025-04-14 12:18:31 +05:30
Ejaaz Khan
5b8dde43bd chore: use get() method to get attr 2025-04-14 11:56:09 +05:30
Ejaaz Khan
ed6dd8cd5b fix: print builder beta print option not working 2025-04-14 11:32:44 +05:30
ruthra kumar
68ca9527f2
Merge pull request #32072 from ruthra-kumar/updated_riyal_woff2
refactor: updated font-family name to 'saudiriyal'
2025-04-14 09:53:22 +05:30
ruthra kumar
e04a161257 fix: allow custom fonts in wkhtmltopdf 2025-04-13 14:47:04 +05:30
Sagar Vora
e6f729bc61
Merge pull request #32103 from sagarvora/no-hashable-pls
revert: remove hashable behavior of DocRef
2025-04-12 19:02:43 +05:30
Sagar Vora
176a752670 revert: remove hashable behavior of DocRef 2025-04-12 18:50:50 +05:30
Sagar Vora
39636fb260
Merge pull request #32101 from sagarvora/revert-meta-sig
revert: meta signature
2025-04-12 18:38:43 +05:30
Sagar Vora
beeeed4160 revert: meta signature 2025-04-12 18:29:25 +05:30
Ankush Menat
eb79ecaca9
chore: Revert document read only mode (#32102)
We can trust mappers to do the right thing, restricting few methods
doesn't prevent anything real anyway, unnecessary overhead and breakages.
2025-04-12 18:27:16 +05:30
Sagar Vora
f70c32c23e
fix: dont recheck healthy state after value is retrieved from client cache (#32099) 2025-04-12 18:16:02 +05:30
marination
a322378633 fix: Exclude perm restrcited fields from standard list view filter 2025-04-11 16:47:05 +02:00
Ankush Menat
fe5be4b3d1
fix: Add a long timeout instead of indefinite blocking (#32090)
Redis handles non-blocking calls differently and auto-recovers from
timeouts
2025-04-11 13:05:25 +00:00
sokumon
c547bdcb78 fix: remove print statement 2025-04-11 18:13:32 +05:30
Akhil Narang
f37f4e6ad9
fix(test_notification): User.birth_date is a date field (#32088)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-11 17:38:50 +05:30
jll-02
89ed7c90a7
feat: addes x-priority option to email header and the frappe.sendmail function (#31966)
creating the option to give the email an importance.
1 = Highest, 3 = Normal, 5 = Lowest
commonly used to flag the importance of emails

Co-authored-by: Jan Lukas Liesen <=>
2025-04-11 16:18:19 +05:30
gavin
34e1d58973
Merge pull request #31838 from SnehitGunjikar/api_key_fix
fix: check if user is diabled during api authentication
2025-04-11 11:55:02 +02:00
sokumon
6b85e94e5b fix: respect include filters while generating report name 2025-04-11 14:14:29 +05:30
Sagar Vora
ac39749929
Merge pull request #32082 from sagarvora/cached-prop
feat: use `cached_property` without locks on all supported Python versions
2025-04-11 13:49:49 +05:30
Ankush Menat
a6edcface5 test: update constant for bundle and memory usage
Over time code size has grown without any major regressions, so just
accomodating them here.
2025-04-11 13:40:42 +05:30
Sagar Vora
7421ffa79a feat: use cached_property without locks on all supported Python versions 2025-04-11 13:21:27 +05:30
Ejaaz Khan
ffa8738d6d
Merge pull request #32077 from Nihantra-Patel/fix_duplicate_todo
fix: Prevent duplicate ToDo creation when assigning
2025-04-11 12:14:29 +05:30