Commit Graph

179 Commits

Author SHA1 Message Date
c55b2fc723 case 4703 - report script console.error details in render errors
The page log showed console.error objects only as JSHandle@object and errors
without their stack. Each ERROR line is still logged at once; object and
Error arguments are then fetched from the page and added as detail lines
(object JSON, error stack without Puppeteer frames and with file names only).
A failing render waits up to 2 s for pending details. Page log appends are
locked. Report designer manual (Script errors) and changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:14:52 -07:00
a807693187 case 4719 - report templates no longer hold the renderer's token or download key
The report page gets placeholders for the token and download key; request
interception (ReportApiRelay, now in every kind of install) puts the real
values only on the page's requests to ayApiUrl, then relays them (IIS) or
lets the browser continue. Requests to other addresses go out unchanged,
without credentials. Notification reports keep their rights. Report
scripting manual and changelog updated. F20 fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 20:04:55 -07:00
a6447ecb37 case 4632 - reports render under IIS: the report page's API calls are relayed by the server
Inside IIS (in-process) AyaNova has no port of its own, so the report page
could not reach the API: user reports called http://127.0.0.1:<request port>
(reset on https), notification reports 127.0.0.1:7575 (refused). Under IIS the
page's requests under the API URL are now intercepted and made by the server
(util/ReportApiRelay.cs) to the local address and port a user's request
arrived on, with its host name and scheme; notification reports use the
latest signed-in request, else the override. Outside IIS nothing changes.
The notification token check requires a request from this machine, no longer
host 127.0.0.1. Manual (IIS install, override page) and changelog updated.
Deferred: emailed PDF content type application/pdf/pdf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:04:24 -07:00
bd4494abac case 4712 - customer contacts reach only their own customer's work orders
Step 2 of 4712 (security review F13). The customer work-order rights checked
only tag-based feature switches, never which customer a work order belongs to.
New UserBiz.CustomerContactOwnsCustomerAsync (own customer, or for a head
office contact a customer of its head office), used by:
- workorder/customer/{id}: another customer's work order is not found (404);
- customer work order report (-100): exactly one work order, which must be the
  contact's (the renderer used every id it was given);
- work order attachment list and download for contacts; other attachment types
  are refused to contacts (the customer screens show them only on work orders).

Checked: other customer's work order 404 (was 200); report on another's or on
two work orders not found; own customer report still accepted (202).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:52:31 -07:00
bf0555fb31 case 4690 - report browser: launch chrome-headless-shell; writable config/cache folders for the browser; Ubuntu 24.04 droplet results
Full Chrome 155 would not start under a Linux service user with no writable
home (chrome_crashpad_handler: --database is required). chrome-headless-shell
starts, and measured on a 1 GB droplet is 3-4x faster and smaller per render.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 08:12:21 -07:00
892ef59608 case 4690 - report browser download/launch failures: logged at Error, specific error returned to the client
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:31:29 -07:00
a34e012eee case 4690 - report browser downloads under the data path, not beside the app; manual updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:25:00 -07:00
76dab8d865 case 4690 - remove MiniProfiler (never used): packages, wiring, profiler auth workaround, credits entry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:49:28 -07:00
f3e8026501 case 4690 - PuppeteerSharp 25.15.0; launch arguments as separate elements; --lang keeps the server locale as browser default
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:12:49 -07:00
15933c0b1c case 4632 2025-04-03 21:05:18 +00:00
9d7c575dd1 case 4632 2025-02-18 21:08:56 +00:00
d0ab3ea096 case 4586 2024-05-11 01:38:02 +00:00
557241b0e5 case 4586 - got to build point without error all dependencies updated but reporting error handling work to be done and not tested at all yet 2024-05-10 00:09:48 +00:00
ddc6258411 case 4568 2024-01-25 23:03:23 +00:00
e86bb56a06 2023-11-07 18:09:45 +00:00
ce1e3f2b68 2023-10-26 23:42:32 +00:00
198bc8f249 case 4398 2023-01-26 00:21:17 +00:00
5c06f98be0 2022-12-20 21:40:00 +00:00
b090c1040d case 4341 2022-12-13 22:17:39 +00:00
02ab8be92b case 4209 2022-10-13 00:14:58 +00:00
7734cdad57 case 4209 2022-10-12 20:21:52 +00:00
652b5f49d7 2022-10-12 18:31:51 +00:00
4fe4bc1ebb 2022-03-18 14:20:40 +00:00
bba206d7bd 2022-03-15 23:34:25 +00:00
d129192c9f 2022-03-15 21:27:20 +00:00
182e68965e Fixing report timeout error message problem recently introduced when changed timeout process 2022-01-19 19:50:53 +00:00
74e2a2955a case 4068 2022-01-04 18:18:51 +00:00
e8ad7901ec 2021-12-30 15:11:45 +00:00
ed62274b42 2021-12-29 19:53:18 +00:00
04062df1e1 2021-12-29 19:35:41 +00:00
57c318e8fa 2021-12-28 18:20:40 +00:00
7f40e53df0 2021-12-28 18:17:23 +00:00
c5756d0079 2021-12-28 18:08:46 +00:00
3faac9cdc9 2021-12-28 17:56:28 +00:00
3f8c5b80bb 2021-12-28 16:34:46 +00:00
fe851a78c9 2021-12-28 16:24:36 +00:00
c3432146a7 2021-12-28 01:05:02 +00:00
075747b5b9 2021-12-28 00:44:27 +00:00
09538483d3 2021-12-27 23:39:56 +00:00
68332a7290 2021-12-27 22:01:29 +00:00
aff0fa3a46 2021-12-27 20:54:29 +00:00
ff9eac611c 2021-12-27 20:45:11 +00:00
4c0976a050 2021-12-27 20:22:41 +00:00
5252a989b2 2021-12-27 20:11:58 +00:00
76f42101c7 switching to JOB for report rendering 2021-12-27 19:31:01 +00:00
30d22e2a6a 2021-12-27 15:22:08 +00:00
4760f49899 2021-12-25 00:55:04 +00:00
71fa9e5ef5 2021-12-24 22:57:45 +00:00
95a2b0ccff 2021-12-24 16:16:40 +00:00
2385a50372 2021-12-24 15:12:48 +00:00