Commit graph

834 commits

Author SHA1 Message Date
Ankush Menat
1f42ed8d5a
Revert "Consolidated bulk print from list view" (#37724) 2026-03-03 02:11:40 +00:00
dataCenter430
c5349c4ec0
Merge pull request #37720 from consolidated-bulk-print-from-list-view
Consolidated bulk print from list view
2026-03-02 16:29:57 -05:00
dataCenter430
3d8107ff17 chore: apply pre-commit formatting for consolidated print 2026-03-02 22:19:15 +01:00
dataCenter430
101983c7af feat: add consolidated print backend route
Adds a new WWW page at /consolidated_printview that renders multiple
documents of the same DocType in a single continuous HTML layout with
no forced page breaks between records.

- get_context() iterates over a JSON list of names, renders each doc
  via the existing get_rendered_template() pipeline (falls back to
  WeasyPrint for beta print-format-builder formats), and joins the
  results with a thin visual separator
- Per-document page-break-after is suppressed via CSS override so all
  records flow as one uninterrupted printable page
- trigger_print=1 fires window.print() automatically, matching the
  behaviour of the existing single-doc /printview route
- Permission and render errors are caught per-document and logged so
  one bad record does not abort the whole batch
- Access log entry recorded for auditing (first 10 doc names)

Made-with: Cursor
2026-03-02 21:45:07 +01:00
Suraj Shetty
4e9bc5703b
Merge pull request #37511 from safwansamsudeen/print-preview-dates 2026-02-25 14:52:41 +05:30
Safwan Samsudeen
3a11d3cf03 fix: cast dates in print preview 2026-02-25 12:01:26 +05:30
mergify[bot]
0055eb186d
Merge branch 'develop' into pdf-generator-issue 2026-02-25 06:14:38 +00:00
Safwan Samsudeen
7f90bc817f fix: use format's pdf generator in full page 2026-02-24 16:16:43 +05:30
Sumit Jain
356bcbfe7b fix(search): add Autocomplete field type to search filters 2026-02-19 20:44:52 +05:30
Aarol D'Souza
9eef4f6dae
fix: force type check in whitelisted methods (#37044)
* fix(contact): force type check in contact whitelisted methods

* fix(google_indexing): force type check in google_indexing whitelisted methods

* fix(assignment_rule): add type checks to assignment_rule whitelisted methods

* refactor: remove unused args

* fix(queue): add type hints to whitelisted methods in queue.py

* fix(auto_email_report): add type hints to whitelisted methods

* fix(dashboard): add type hints to whitelisted methods

* fix(sidebar_item_group): add type hints to whitelisted methods

* fix(weasyprint): add type hints to whitelisted methods

* fix(backups): add type hints to whitelisted methods

* fix(document_naming_settings): add type hints to whitelisted methods

* fix(get_latest_submissions): add type hints to whitelisted methods

* fix(custom_field): add type hints to whitelisted methods

* fix(customize_form): add type hints to whitelisted methods

* fix(personal_data_deletion_request): add type hints to whitelisted functions

* fix(__init__): add type hints to whitelisted methods

* fix(prepared_report): add type hints to whitelisted methods

* fix(session_default_settings): add type hints to whitelisted methods

* fix(document_follow): add type hints to whitelisted methods

* fix(route_history): add type hints to whitelisted methods

* fix(form_tour): add type hints to whitelisted methods

* fix(dashboard_settings): add type hints to whitelisted methods

* fix(address): add type hints to whitelisted methods

* fix(contact): add type hints to whitelisted methods

* fix(discussion_reply): add type hints to whitelisted methods

* fix(auto_repeat): add type hints to whitelisted methods

* fix: add the missing type hints and misc. corrections

* fix(email): add type hints to whitelisted methods

* fix(permitted_documents_for_users): add type hints to whitelisted methods

* fix: correct the type hints

* fix: int PK types

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-02-17 15:16:30 +00:00
krantheman
5d135a20b2 fix: show search filter on portals and fix layout 2026-02-05 12:45:23 +07:00
Akhil Narang
9050003baf
fix: escape user name on me page (#36703)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-02-04 19:33:05 +05:30
sokumon
bcbc529a4e fix: throw a permission error 2026-02-03 16:18:11 +05:30
sokumon
ef6ce2cad7 fix: show doctypes with guest view 2026-02-03 16:18:11 +05:30
Akhil Narang
25152151eb
fix(qrcode): escape user name
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-01-29 11:29:53 +05:30
Ejaaz Khan
0bff903e34
Revert "fix: RTL direction for login form inputs (#35782)"
This reverts commit 9b34838adb.
2026-01-21 14:07:38 +05:30
Joseph Adams
9b34838adb
fix: RTL direction for login form inputs (#35782)
* fix: RTL direction for login form inputs

* Fix RTL overlap for login password field

* Fix login RTL alignment

* fix: refine RTL login input layout

---------

Co-authored-by: josephadamsdev <josephadamsdev@users.noreply.github.com>
2026-01-21 12:18:49 +05:30
Ankush Menat
29be54a35d
perf: misc v16 fixes (#35790)
* perf: Reduce queries for setup wizard progress

These are queried on boot continuously, can just cache installed app doc.

* fix: remove stray db.commit in csrf generation
2026-01-09 11:06:06 +00:00
sokumon
1a3585a2d0 fix(portal): reroute to /logout from 2025-12-29 10:39:30 +05:30
Akhil Narang
8723a2b6ee
fix: ruff fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
Akhil Narang
588cb1e44d
refactor: tomli -> tomllib
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
sokumon
0ea047a776 fix: reroute portal users correctly 2025-12-19 20:34:28 +05:30
sokumon
dd2dc053ca chore: more renames to /desk 2025-12-18 20:45:04 +05:30
sokumon
46f6c7481f feat: introduce /portal 2025-12-15 10:55:33 +05:30
Ankush Menat
02ecb10205
fix!: Remove badly written default portal list views (#35182)
* fix!: Remove badly written default portal list views

* fix!: Remove guest permissions from web form list endpoint

* test: cleanly terminate gunicorn

int sometimes ends up leaving socket open
2025-12-14 07:11:45 +00:00
Sagar Vora
2b9752097f
refactor!: deprecate older web view links (#35150) 2025-12-10 18:12:49 +05:30
Akhil Narang
2dcfe07ca8
refactor: make use of check_permission parameter for get_lazy_doc
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-10 16:52:26 +05:30
Sagar Vora
2c774a75a2 fix: restrict send_login_link to POST method only 2025-11-21 18:13:35 +05:30
Akhil Narang
ccb675b0f2
fix(list): fix distinct usage
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-11-19 21:15:58 +05:30
sokumon
8f4a66d679 fix: keep sidebar editing access only in dev mode for now 2025-11-15 08:50:56 +05:30
sokumon
0f79208f89 chore: file cleanup 2025-11-14 23:05:13 +05:30
sokumon
c918601b0a fix(ci): tests 2025-11-14 23:05:13 +05:30
sokumon
49714e916f chore: rename from app to desk 2025-11-14 23:05:13 +05:30
sokumon
86db71f8fa feat: move /app to /desk 2025-11-14 23:05:13 +05:30
sokumon
1e1455d373 refactor: move desktop inside desk 2025-11-14 23:05:10 +05:30
sokumon
2a47687690 fix: make the desktop page functional 2025-11-14 23:05:10 +05:30
sokumon
2af99c6009 feat: reIntroduce Desktop Icon 2025-11-14 23:05:10 +05:30
Rehan Ansari
56e48c49ef fix: unified email icons in login forms 2025-10-19 16:53:53 +05:30
Ankush Menat
727775f820
Merge pull request #33088 from ankush/computed_child_table
feat: Computed/virtual child-tables
2025-10-15 18:32:16 +05:30
Akhil Narang
4d75ad1454
fix: add in type hints to the list APIs
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-10-14 17:11:40 +05:30
Sagar Vora
a93530e221 Merge branch 'develop' into computed_child_table 2025-10-14 12:53:32 +05:30
Sagar Vora
a084f5a2f3 refactor: separate only computed CTs, with new include_computed flag 2025-10-14 12:31:47 +05:30
petnd
27a68aaf8b
feat: allow to disable standard pages (#33756)
* feat: allow to disable about and contact page

* feat: change redirect to /404
2025-10-08 11:18:55 +05:30
Sagar Vora
2c9c6c0fd5 fix: correct table_fields references 2025-10-01 12:25:00 +05:30
Akhil Narang
6ca4d4d167
refactor(treewide): ruff format
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 13:16:43 +05:30
Ayush Chaudhari
4a830b49e8 fix: better redirect handling 2025-09-17 21:42:22 +05:30
Raizaaa
aa3bb0e4d7 fix: remove trailing spaces in translatable strings 2025-08-27 13:23:17 +03:00
git-avc
3e99b64293 fix: valid password msg 2025-08-17 09:56:42 +02:00
Soham Kulkarni
64db88228f
refactor: seperate blogs into a seperate app (#32737)
* fix: remove doctypes,workspace blocks, files

* fix: minor python tests and UI tests

* fix: remove blog post from tests

* fix: remove blogger as role for tests

* fix: add check for if doctype exists

* fix: ui test

* fix: more cleanup

* fix: cleanup comments and fix test_query

* fix: resolve conflicts

* fix: add warning and handle comments
2025-07-28 14:35:02 +05:30
Vishal Sindham
e1217282ac feat(password-reset-form): Add show/hide toggle option to password reset form 2025-06-29 19:47:02 +05:30