Commit graph

55264 commits

Author SHA1 Message Date
Aarol D'Souza
620c44863c
fix: correct regex in sidebar module app filtering (#38131)
Co-authored-by: petnd <58605206+petnd@users.noreply.github.com>
2026-04-13 11:53:47 +05:30
AarDG10
255a3e94fa fix(print_utils): fix pdf rendering via chrome by considering bytes
Issue has been caught w/ chrome pdf generator, it returns bytes. This fixes that by considering bytes and then turning it into a PdfWriter obj.
2026-04-13 11:53:39 +05:30
Ejaaz Khan
11a9eba342
Merge pull request #38533 from KerollesFathy/feat/frappe-confirm-custom-labels
feat: Add `primary_label` and `secondary_label` params to frappe.confirm
2026-04-13 11:32:07 +05:30
Kaushal Shriwas
44da9da9f7 fix(ui): use Math.floor instead of Math.round for day_diff 2026-04-12 14:23:00 +05:30
Raffael Meyer
2ac1998000
feat(File): add helper to copy attachment to different doc (#37972) 2026-04-11 21:45:47 +02:00
MochaMind
5fdebb67bf
fix: sync translations from crowdin (#38537) 2026-04-11 20:58:56 +02:00
Kaushal Shriwas
8aae2c921b fix(ui): use calendar days for relative timestamp display 2026-04-11 23:26:59 +05:30
Kaushal Shriwas
334d4d971f fix: validate hidden and mandatory fields without default in web form 2026-04-11 16:57:02 +05:30
KerollesFathy
4184f87703 feat: add primary_label and secondary_label params to frappe.confirm 2026-04-10 21:19:04 +00:00
AarDG10
10553f80ef fix(note): force sanitization in notes 2026-04-10 16:55:25 +05:30
Kaushal Shriwas
a80feaf8d4 fix: use indicator class for notification dot and sync seen state 2026-04-10 13:39:40 +05:30
Ejaaz Khan
1b81ff8490
Merge pull request #38499 from frappe/l10n_develop
fix: sync translations from crowdin
2026-04-10 12:12:46 +05:30
Kaushal Shriwas
fa7b946bf8 fix: use bell-dot icon and scoped selectors for notification indicator 2026-04-10 09:35:31 +05:30
Ejaaz Khan
d14ac27e32
Merge pull request #38392 from Shllokkk/report-printing-fixes
fix: report printing fixes
2026-04-09 21:40:36 +05:30
MochaMind
dc86ee6e2b fix: Bosnian translations 2026-04-09 20:53:54 +05:30
MochaMind
f6b8a92b91 fix: Croatian translations 2026-04-09 20:53:51 +05:30
Shllokkk
820bc52201 fix: minor bugs in the print settings dialog and populate default print format field for a report 2026-04-09 19:22:52 +05:30
Shllokkk
45c04a85ac feat(report): add default_print_format link field to report doctype 2026-04-09 19:22:52 +05:30
Saqib Ansari
58618cd0f9
fix: add secondary action for amended documents with tooltip (#38510) 2026-04-09 15:30:03 +05:30
Ejaaz Khan
4b53fa7409
Merge pull request #38425 from krishna-254/fix-calendar-end-date-issue
fix: adjust end date for all-day events in calendar
2026-04-09 14:41:59 +05:30
Ejaaz Khan
525b7575b0
Merge pull request #38469 from KerollesFathy/fix/not-in-filter-null-values
fix: remove null values from "not in" filter
2026-04-09 14:13:18 +05:30
Ejaaz Khan
4d1aaf5932
Merge pull request #38506 from safwansamsudeen/fix-file-attachments-link
fix: attachments file link incorrect
2026-04-09 14:08:51 +05:30
Ejaaz Khan
ff38ee1763
Merge pull request #38503 from nextchamp-saqib/fix-allow-importing-custom-docperms
fix: allow importing custom docperms
2026-04-09 14:08:30 +05:30
Safwan Samsudeen
9690ab10bd fix: attachments file link incorrect 2026-04-09 13:05:14 +05:30
Aarol D'Souza
0122b49ef6
Merge pull request #37554 from AarDG10/refactor-password
refactor(user): misc. fixes and refactors
2026-04-09 11:26:33 +05:30
Saqib Ansari
d990bece32 fix: allow importing custom docperms 2026-04-09 11:14:49 +05:30
Kaushal Shriwas
f77e9f09f2 chore: resolve merge conflict with develop 2026-04-09 10:58:08 +05:30
Kaushal Shriwas
7111e942f2 fix: notification badge not clearing on click and missing on sidebar 2026-04-09 10:49:10 +05:30
Ankush Menat
9c77848b81 refactor: Simpler iterator implementation using itertools 2026-04-09 10:02:57 +05:30
Shrihari Mahabal
4c94239b1c
Merge pull request #38372 from ShrihariMahabal/load-notifications-on-demand
perf: load notifications and events on demand
2026-04-08 22:24:03 +05:30
Ankush Menat
02510e506a fix: get_docs - Always use iterator internally
When `get_docs` output is unknown, we might end up generating queries
for child table with `in (...)` containing thousands of doc names.

This doesn't fare well with databases, so it's better to chunk it to
1000 by default. This is an acceptable tradeoff IMO.
2026-04-08 21:59:44 +05:30
Ankush Menat
2364216fb1 fix: Avoid masking in get_docs
get_doc, so far doesn't do perm checks by default. Masking is part of
permissions.
2026-04-08 21:41:45 +05:30
Ankush Menat
b1a723f514 refactor: remove redundant lock_rows 2026-04-08 21:36:07 +05:30
Ankush Menat
8a0825fe6d test: don't hardcode throw-away doctype names 2026-04-08 21:31:04 +05:30
Ankush Menat
a303fbc3ea refactor: Consistent API for list/generator
Returning chunks is not expected API. Why? Because we should always be
able to do:

```python
for doc in frappe.get_docs(...):
    ...
```
2026-04-08 21:31:02 +05:30
Ankush Menat
0d833d658e refactor: use as_iterator instead of as_generator
Because it's already used in `db.sql`. So use consistent naming.
2026-04-08 21:17:25 +05:30
MochaMind
4a316e6842 fix: Swedish translations 2026-04-08 20:52:40 +05:30
Kaushal Shriwas
c5aa51a7e6 fix: show notification badge on desktop bell icon 2026-04-08 20:15:29 +05:30
mergify[bot]
ba254318a0
Merge branch 'develop' into fix-calendar-end-date-issue 2026-04-08 08:15:21 +00:00
Kaushal Shriwas
51cfc8181e
perf(query): replace Coalesce with OR IS NULL in func_in (#38336) 2026-04-08 10:57:07 +05:30
Ankush Menat
0ae52b051e test: use another doctype to avoid test pollution 2026-04-08 10:50:47 +05:30
Ankush Menat
0d8ddb5958 Merge branch 'develop' into get-docs 2026-04-08 10:50:31 +05:30
Soham Kulkarni
e6180c4ab4
Merge pull request #38487 from mikaeylinen/portal-no-cache 2026-04-08 10:39:21 +05:30
Aarol D'Souza
6841a4a808
Merge pull request #38481 from AarDG10/fix-junit-xml-output
fix(testing): use XMLTestRunner when junit_xml_output is wanted
2026-04-08 10:23:07 +05:30
Raffael Meyer
8a80840abd
fix(Email Account): create_dummy (#38480) 2026-04-07 22:37:09 +02:00
Mikael Ylinen
838506a6e1 fix(website): disable HTML caching for portal pages 2026-04-07 23:15:41 +03:00
Raffael Meyer
dadf822152
fix(Translation): don't remove HTML from source_text (#33558) 2026-04-07 21:09:56 +02:00
AarDG10
fe12722e4b fix(testing): use XMLTestRunner when junit_xml_output is wanted 2026-04-07 22:10:36 +05:30
Ejaaz Khan
62c297678d
Merge pull request #38450 from raizasafeel/feat/a11y
feat: add accessibillity to desk landing page icons
2026-04-07 21:22:35 +05:30
Ejaaz Khan
dc9aea5383
Merge pull request #38456 from iamejaaz/63835-number-card
fix(Dashboard): hide widget not working
2026-04-07 21:17:16 +05:30