Commit graph

49400 commits

Author SHA1 Message Date
Gavin D'souza
3dd23e07ec
fix(event): Better calculation of next recurring event
Previous method was confusing and had gaps
2025-04-15 22:11:41 +02:00
Gavin D'souza
d179bfffdc
chore(Event): Test readability 2025-04-15 19:28:06 +02:00
Gavin D'souza
551be4f6ab
fix: Clear site test records log before running test
Not sure if this was intentional - there is no documentation as far as i
can tell
2025-04-15 18:28:21 +02:00
Gavin D'souza
4093f13067
chore: Drop dead file 2025-04-15 18:23:18 +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
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
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
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
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
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
Henning Wendtland
b59a94a523
fix: improve url validation (#32052) 2025-04-11 11:51:08 +05:30
Nihantra Patel
d0b58f8690 fix: Prevent duplicate ToDo creation when assigning 2025-04-11 11:43:38 +05:30
ruthra kumar
db3fb92b3d refactor: updated font-family name to 'saudiriyal' 2025-04-10 17:41:07 +05:30
Frappe PR Bot
d65f7d904e
fix: sync translations from crowdin (#32051) 2025-04-10 13:47:05 +02:00
Ankush Menat
c29b93f4cc
fix: increase failure threshold for preapred report (#32063)
Because of long queues and longer reports
2025-04-10 10:43:45 +00:00
gavin
49f524f892
Merge pull request #31933 from gavindsouza/type-off-type-on
fix: Skip ruff qa on auto-generated typing blocks
2025-04-10 11:45:05 +02:00
Akhil Narang
cd45e4f28c
Merge pull request #32061 from akhilnarang/update-boilerplate
chore: update boilerplate with our latest configs
2025-04-10 13:27:56 +05:30
Akhil Narang
c348c22e9e
Merge pull request #32064 from akhilnarang/drop-RUF001-exclusion
fix: only exclude RUF001 where we're using some ambiguous characters
2025-04-10 13:18:51 +05:30
Akhil Narang
b399e496b1
chore: update boilerplate with our latest configs
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-10 13:04:50 +05:30
Akhil Narang
78640cb205
fix: only exclude RUF001 where we're using some ambiguous characters
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-10 12:57:18 +05:30
Tarun Pratap Singh
6d9d4f9e86
fix(push_notification): use cstr to convert a None body to empty string (#32056) 2025-04-10 12:47:30 +05:30
Raffael Meyer
0da49edc8f
fix: list_view_settings can be missing (#32048) 2025-04-10 05:52:09 +00:00
Akhil Narang
5f35b8e5f7
Merge pull request #32047 from jll-02/patch-10
fix: make app installation possible again
2025-04-10 11:01:29 +05:30
Soham Kulkarni
17f95a1e0a
Merge pull request #32054 from sokumon/better-sidebar
fix: close children item when collapased
2025-04-10 10:35:54 +05:30