pgkiln 0.72.0 → 0.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/db/migrations/140_item_region_types.sql +27 -0
  2. package/db/migrations/141_workspace_resources.sql +115 -0
  3. package/docs/apex-feature-parity.md +91 -12
  4. package/docs/guide/01-installation.md +1 -0
  5. package/docs/guide/03-builder.md +47 -4
  6. package/docs/guide/04-pages-and-regions.md +41 -1
  7. package/docs/guide/05-items.md +43 -3
  8. package/docs/guide/11-from-apex.md +3 -0
  9. package/docs/guide/12-development.md +25 -3
  10. package/docs/guide/16-files.md +29 -0
  11. package/docs/guide/19-rest-data-sources.md +41 -3
  12. package/examples/hr/hr_75_item_region_types.sql +81 -0
  13. package/examples/hr/hr_76_remote_servers.sql +48 -0
  14. package/package.json +1 -1
  15. package/public/app.css +48 -0
  16. package/public/app.js +377 -1
  17. package/src/ai/service.ts +10 -1
  18. package/src/app.ts +2 -0
  19. package/src/builder/advisor.ts +18 -2
  20. package/src/builder/ai.ts +29 -3
  21. package/src/builder/arrange.ts +7 -0
  22. package/src/builder/components.ts +5 -5
  23. package/src/builder/designer.ts +9 -3
  24. package/src/builder/home.ts +3 -0
  25. package/src/builder/i18n/de.ts +6 -0
  26. package/src/builder/i18n/en.ts +6 -0
  27. package/src/builder/i18n/es.ts +6 -0
  28. package/src/builder/i18n/fr.ts +6 -0
  29. package/src/builder/i18n/it.ts +6 -0
  30. package/src/builder/i18n/ja.ts +6 -0
  31. package/src/builder/i18n/ko.ts +6 -0
  32. package/src/builder/i18n/nl.ts +6 -0
  33. package/src/builder/i18n/pt.ts +6 -0
  34. package/src/builder/i18n/zh-cn.ts +6 -0
  35. package/src/builder/i18n/zh-tw.ts +6 -0
  36. package/src/builder/network-access.ts +33 -0
  37. package/src/builder/region-help.ts +8 -2
  38. package/src/builder/rest-catalogs.ts +22 -14
  39. package/src/builder/routes.ts +5 -1
  40. package/src/builder/static-files.ts +14 -4
  41. package/src/builder/websources.ts +12 -6
  42. package/src/builder/workflows.ts +2 -1
  43. package/src/builder/workspace-resources.ts +528 -0
  44. package/src/i18n/ar.ts +13 -0
  45. package/src/i18n/cs.ts +13 -0
  46. package/src/i18n/da.ts +13 -0
  47. package/src/i18n/de.ts +13 -0
  48. package/src/i18n/el.ts +13 -0
  49. package/src/i18n/es.ts +13 -0
  50. package/src/i18n/fi.ts +13 -0
  51. package/src/i18n/fr.ts +13 -0
  52. package/src/i18n/he.ts +13 -0
  53. package/src/i18n/it.ts +13 -0
  54. package/src/i18n/ja.ts +13 -0
  55. package/src/i18n/ko.ts +13 -0
  56. package/src/i18n/nb.ts +13 -0
  57. package/src/i18n/pl.ts +13 -0
  58. package/src/i18n/pt.ts +13 -0
  59. package/src/i18n/ru.ts +13 -0
  60. package/src/i18n/sv.ts +13 -0
  61. package/src/i18n/tr.ts +13 -0
  62. package/src/i18n/uk.ts +13 -0
  63. package/src/i18n/zh.ts +13 -0
  64. package/src/i18n.ts +26 -0
  65. package/src/metadata.ts +22 -5
  66. package/src/remote-servers.ts +133 -0
  67. package/src/restcatalog.ts +21 -10
  68. package/src/restsync.ts +1 -1
  69. package/src/runtime/context.ts +2 -0
  70. package/src/runtime/items.ts +32 -3
  71. package/src/runtime/page-regions.ts +50 -0
  72. package/src/runtime/region-cache.ts +1 -1
  73. package/src/runtime/regions.ts +11 -0
  74. package/src/runtime/render.ts +3 -17
  75. package/src/runtime/report.ts +55 -3
  76. package/src/runtime/static-files.ts +46 -17
  77. package/src/runtime/template-components.ts +2 -1
  78. package/src/websources.ts +43 -18
  79. package/src/workspace-export.ts +80 -1
@@ -0,0 +1,27 @@
1
+ -- Sprint 140 (AP-4): item and region types that were still missing from the Page Designer's gallery.
2
+ --
3
+ -- Items: shuttle two lists (available, chosen) with move and order buttons; a <select multiple> without JavaScript
4
+ -- select_one a searchable single pick from a list of values; a <select> without JavaScript
5
+ -- select_many a searchable multi pick with chips; a <select multiple> without JavaScript
6
+ -- (shuttle and select_many store their values colon-separated, like multiselect)
7
+ -- Regions: classic_report a report without the Actions menu and the interactive features (report templates, pagination types)
8
+ -- breadcrumb the page's breadcrumb trail (for the Breadcrumb bar position)
9
+ -- help_text the page's help text (meta.page.help, new here)
10
+
11
+ alter table meta.item drop constraint item_type_check;
12
+ alter table meta.item add constraint item_type_check check (type in (
13
+ 'text', 'textarea', 'number', 'date', 'datetime', 'select', 'radio', 'checkbox', 'switch', 'hidden', 'display', 'password',
14
+ 'checkbox_group', 'multiselect', 'popup_lov', 'email', 'tel', 'url', 'color', 'file', 'location', 'richtext', 'markdown',
15
+ 'rating', 'combobox', 'daterange', 'qrcode', 'plugin', 'image', 'address',
16
+ 'shuttle', 'select_one', 'select_many'));
17
+
18
+ alter table meta.region drop constraint region_type_check;
19
+ alter table meta.region add constraint region_type_check
20
+ check (type in ('report', 'form', 'chart', 'cards', 'static', 'grid', 'calendar', 'dynamic', 'facets', 'tasks', 'workflows', 'map', 'tree',
21
+ 'template_component', 'smart_filters', 'display_selector', 'list', 'data_reporter', 'ai_assistant', 'plugin', 'url', 'search',
22
+ 'login', 'form_designer', 'classic_report', 'breadcrumb', 'help_text'));
23
+
24
+ -- (APEX: Page → Help → Help Text) Markdown with &ITEM. substitutions, shown by a help_text region of the page.
25
+ -- Nullable, so exports of older versions import as they are (export_app and import_app copy every page column).
26
+ alter table meta.page add column help text check (help is null or length(help) <= 20000);
27
+ comment on column meta.page.help is 'The page''s help text (Markdown, &ITEM. substitutions), shown by a region of type help_text.';
@@ -0,0 +1,115 @@
1
+ -- Sprint 141 (AP-7): what a workspace's applications share (APEX: Static Workspace Files, Remote Servers,
2
+ -- workspace-level Web Credentials).
3
+ --
4
+ -- meta.workspace_file a workspace's CSS, JavaScript, images and fonts (never HTML), served to each of its
5
+ -- applications at /a/<alias>/workspace-files/<name> (the application's own origin, so the
6
+ -- Content-Security-Policy stays script-src 'self') and named #WORKSPACE_FILES#<name> in the
7
+ -- "every page loads" lists and in templates. The runtime role reads neither the table nor
8
+ -- the content: meta.workspace_file_versions() gives an application its own workspace's
9
+ -- names and versions; the server sends the content with the owner pool.
10
+ -- meta.remote_server a named base URL per workspace (static id, e.g. CRM): this installation's URL, or an
11
+ -- environment variable PGKILN_SERVER_<...> that wins when it is set, and an optional
12
+ -- default web credential. REST data sources (meta.rest_source.server), REST source catalogs
13
+ -- (meta.rest_catalog.server) and AI services (meta.ai_service.server_id) refer to it; the
14
+ -- URL it resolves to goes through the same checks as before (allow-list, the workspace's
15
+ -- network access list, address checks at connect time). Not readable by the runtime role.
16
+ -- meta.workspace_credential web credentials of a workspace, used by its applications by name when an application has
17
+ -- none of that name. Secrets (*_enc) are encrypted by the server with PGKILN_SECRET_KEY
18
+ -- (src/secrets.ts), write-only, never exported; no grant to the runtime role at all.
19
+ --
20
+ -- All new columns on existing tables are nullable: exports of older versions import as they are, and export_app /
21
+ -- import_app copy every column of meta.rest_source (no redefinition needed).
22
+
23
+ -- ---------------------------------------------------------------- workspace files
24
+ create table meta.workspace_file (
25
+ id serial primary key,
26
+ workspace_id int not null references meta.workspace on delete cascade,
27
+ name text not null check (name ~ '^[A-Za-z0-9][A-Za-z0-9_.-]{0,99}$' and name !~ '\.\.' and lower(name) !~ '\.(html?|xhtml|xml|php|exe)$'),
28
+ mime text not null check (mime ~ '^[a-z]+/[a-z0-9.+-]+$'),
29
+ content bytea not null check (octet_length(content) <= 5 * 1024 * 1024),
30
+ updated_by text,
31
+ updated_at timestamptz not null default now(),
32
+ unique (workspace_id, name)
33
+ );
34
+ revoke all on meta.workspace_file from public;
35
+ comment on table meta.workspace_file is 'Static workspace files (141): served to the workspace''s applications at /a/<alias>/workspace-files/<name>; in the workspace export';
36
+
37
+ -- The names and versions (milliseconds) of the workspace files an application may load: its own workspace's only.
38
+ create function meta.workspace_file_versions(p_app_id int) returns jsonb
39
+ language sql stable security definer set search_path = meta, pg_catalog as $$
40
+ select coalesce(jsonb_object_agg(f.name, floor(extract(epoch from f.updated_at))::bigint), '{}')
41
+ from meta.workspace_file f
42
+ where f.workspace_id = meta.app_workspace(meta.checked_app(p_app_id))
43
+ $$;
44
+ revoke all on function meta.workspace_file_versions(int) from public;
45
+ grant execute on function meta.workspace_file_versions(int) to pgkiln_runtime;
46
+
47
+ -- ---------------------------------------------------------------- remote servers
48
+ create table meta.remote_server (
49
+ id serial primary key,
50
+ workspace_id int not null references meta.workspace on delete cascade,
51
+ static_id text not null check (static_id ~ '^[A-Z][A-Z0-9_]{0,59}$'),
52
+ name text not null check (name ~ '^\S(.{0,98}\S)?$'),
53
+ description text check (length(description) <= 2000),
54
+ -- this installation's base URL, e.g. https://crm.example.com/api (no trailing slash, query or fragment)
55
+ base_url text check (base_url ~ '^https?://[^\s<>"{}?#]+$' and base_url !~ '/$' and length(base_url) <= 2000),
56
+ -- or the server's environment variable that holds it (wins when set): PGKILN_SERVER_<NAME> only
57
+ env_var text check (env_var ~ '^PGKILN_SERVER_[A-Z0-9_]{1,60}$'),
58
+ -- the web credential sources on this server use when they name none of their own
59
+ credential text check (credential ~ '^[A-Z][A-Z0-9_]{0,59}$'),
60
+ updated_by text,
61
+ created_at timestamptz not null default now(),
62
+ updated_at timestamptz not null default now(),
63
+ unique (workspace_id, static_id),
64
+ check (base_url is not null or env_var is not null)
65
+ );
66
+ revoke all on meta.remote_server from public;
67
+ comment on table meta.remote_server is 'Remote servers (141): a named base URL per workspace for REST data sources, catalogs and AI services; in the workspace export';
68
+
69
+ -- a REST data source on a server: its URL is then a path after the server's base URL ('' is the base URL itself)
70
+ alter table meta.rest_source add column server text check (server ~ '^[A-Z][A-Z0-9_]{0,59}$');
71
+ alter table meta.rest_source drop constraint rest_source_url_check;
72
+ alter table meta.rest_source add constraint rest_source_url_check
73
+ check (url ~ '^https?://' or (server is not null and url ~ '^([/?][^\s]*)?$'));
74
+ comment on column meta.rest_source.server is 'A remote server of the application''s workspace (static id): the URL is then a path after its base URL';
75
+
76
+ -- a catalog on a server: services are paths after the server's base URL; base_url is then optional
77
+ alter table meta.rest_catalog add column server text check (server ~ '^[A-Z][A-Z0-9_]{0,59}$');
78
+ alter table meta.rest_catalog alter column base_url drop not null;
79
+ alter table meta.rest_catalog add constraint rest_catalog_base_or_server check (base_url is not null or server is not null);
80
+ comment on column meta.rest_catalog.server is 'A remote server of the workspace (static id): data sources made from the catalog use it';
81
+
82
+ -- an AI service on a server (administrators choose one of any workspace): its base URL is the server's plus server_path
83
+ alter table meta.ai_service
84
+ add column server_id int references meta.remote_server on delete set null,
85
+ add column server_path text check (server_path ~ '^/[^\s]*$' and length(server_path) <= 500);
86
+ alter table meta.ai_service drop constraint ai_service_compatible_url;
87
+ alter table meta.ai_service add constraint ai_service_compatible_url
88
+ check (provider <> 'openai_compatible' or base_url is not null or server_id is not null);
89
+ comment on column meta.ai_service.server_id is 'A remote server whose base URL (plus server_path) the service calls instead of base_url';
90
+
91
+ -- ---------------------------------------------------------------- workspace web credentials
92
+ create table meta.workspace_credential (
93
+ id serial primary key,
94
+ workspace_id int not null references meta.workspace on delete cascade,
95
+ name text not null check (name ~ '^[A-Z][A-Z0-9_]{0,59}$'),
96
+ description text check (length(description) <= 2000),
97
+ type text not null default 'basic' check (type in ('basic', 'header', 'bearer', 'oauth2', 'aws_sigv4')),
98
+ username text,
99
+ header_name text check (header_name ~ '^[A-Za-z0-9!#$%&''*+.^_`|~-]{1,64}$'),
100
+ token_url text check (token_url ~ '^https?://'),
101
+ scope text,
102
+ valid_for text[] not null default '{}',
103
+ grant_type text not null default 'client_credentials' check (grant_type in ('client_credentials', 'password', 'refresh_token')),
104
+ oauth_username text,
105
+ -- "v1:" + base64(iv, tag, ciphertext); written by the server only (src/secrets.ts)
106
+ secret_enc text,
107
+ password_enc text,
108
+ refresh_token_enc text,
109
+ token_refreshed_at timestamptz,
110
+ updated_by text,
111
+ updated_at timestamptz not null default now(),
112
+ unique (workspace_id, name)
113
+ );
114
+ revoke all on meta.workspace_credential from public;
115
+ comment on table meta.workspace_credential is 'Web credentials of a workspace (141): its applications use them by name when they have none of that name; secrets encrypted, never exported';
@@ -7,24 +7,24 @@ open item and open an issue or pull request; see [CONTRIBUTING.md](../CONTRIBUTI
7
7
  Legend: ✅ available · 🟡 partial (see notes) · ❌ not yet · ➖ not planned (a deliberate choice,
8
8
  or better served by the PostgreSQL ecosystem; see the notes and [extensions](guide/15-extensions.md))
9
9
 
10
- Last reviewed: 2026-11-04 against **APEX 26.2** (sprint 139: OpenTelemetry, traces with a span per SQL statement, web call, AI request and tool call, logs, metrics and `/metrics` for Prometheus, browser spans relayed by pgkiln, per workspace off or its own collector (AP-6); sprint 138: an application's Utilities tab with a dashboard, database object dependencies, change history per component, Upgrade application, UI defaults (APEX's Attribute Dictionary), application and page checksums and an icon browser (AP-5); sprint 137: Create page as a grid of page types with previews, the page types interactive report, smart filters, search page, data loading, tree, timeline, media list, content row, comments, dashboard, wizard, unified task list and workflow console, a Feature tab with nine features that install once, and Create page as copy with shared components mapped or copied (AP-3); sprint 136: vector providers (an AI service with an embedding model or a SQL function), `meta.embed`, *Add vector column* in Table Properties with an HNSW index and a queue that keeps embeddings current, search types vector and hybrid (reciprocal rank fusion with full-text) and a Retrieve (RAG) tool for AI agents, all as the app's role through RLS, on pgvector (AP-1); sprint 135: full-text search configurations, APEX's Oracle Text search type on PostgreSQL full-text search with stemming, ranking, highlights, *Did you mean* and *Add full-text search* in Table Properties (AP-2); sprint 134: the builder also in Italiano, 中文 (简体), 中文 (繁體), 日本語 and 한국어, APEX's ten builder languages plus Nederlands (SEC-5); sprints 121, 123–125: the builder in Deutsch, English, Español, Français, Nederlands and Português, step by step: the frame, sign-in, Workspace home, App Builder, Page Designer menus, the SQL Workshop's home, SQL Worksheet, Object Browser and Table Properties, Shared Components, application settings, users, identity providers, developers and workspaces (WS-7); sprint 122: *Ask in your own words* sets faceted search and smart filter facets, smart filters read a typed phrase (WS-5), and Sample Maps, Sample Approvals, Sample Data Loading and Sample Files in the App Gallery (WS-8); sprint 120: the App Gallery's single-topic sample apps (charts, cards, calendar, interactive grids, dynamic actions, reporting), the UX Pattern Catalog and a Utility Apps tab with Lookup Lists, Release Notes and Announcements (WS-8); sprint 119: data security per table, a roles × columns matrix and masked values per application role in a masking view, the same identity for pages, AI tools, REST, AutoREST and MCP (WS-13); sprint 118: Administration → Mail queue with delivery per hour and per workspace, the slowest provider calls and failures with Retry and Purge, a workspace's own mail service, and workspace network access lists that narrow the installation's allow-list (WS-9); sprint 117: Pillar Light and Pillar Dark navigation appearances with a header strip, clearer navigation tree states, subtle colour utilities, RTL; sprint 116: the comparison moved from 26.1 to 26.2, with a section for the 26.2 workspace items WS-1 … WS-13 and OCI managed identities; the App Builder list with Updated by, working copies and the lock; `pgkiln import --only`, a file-level import; stale rows on facet menus and blueprints fixed; sprint 115: popup LOVs that load on scroll, Wait Popup dynamic actions and dynamic actions on menu entries; sprint 114: Workflow 26.2 with custom task outcomes, task events and notifications, Send E-Mail and draft steps, migrating running instances and the diagram as SVG / PNG; sprint 113: Team Development with issues, labels, milestones, templates, a board and a set-up wizard; sprint 112: AI interactive reports with chips, Undo, computed columns and a phrase parser that needs no AI service; sprint 111: AI Agents with tools as a shared component, a Navigate tool with checksummed URLs, Gemini and OpenAI-compatible services; sprint 110: Data Reporter as a workspace tool with datasets, reporting applications, editors and viewers, published reports with stable URLs and pins; sprint 109: the Workspace home above the App Builder and SQL Workshop, with a summary, top applications, users and developers, and an optional release check; sprint 108: the code editor's syntax colours in the builder's light and dark themes, read-only SQL highlighted, the Data Modeler in dark mode; sprint 107: a transaction mode in the SQL Worksheet with Commit and Rollback; DA-18: JavaScript (MLE) not planned, plv8 where installed; sprint 106: the change log of DDL change sets with Flyway, Liquibase and SQL downloads; sprint 104: RESTful Services modules, templates and handlers with PL/pgSQL and media handlers, privileges, OpenAPI and Try it; sprint 103: Schema Export / Import with pg_dump and pg_restore; sprint 102: the SQL Monitor with live sessions, Top SQL and a statement's plan; sprint 101: Scheduling of pg_cron jobs with a schedule builder, run now and run history; sprint 100: RESTful Services, tables and views published as REST endpoints with paging, filters, keys and OpenAPI; sprint 99: Administration → Database Users for PostgreSQL roles; sprint 98: the Data Modeler with relational diagrams, DDL and a data dictionary; sprint 97: charts of a query in the worksheet, saved charts and their dashboard; sprint 96: the SQL Workshop's Launchpad with pins and tool groups, the builder's search with Ctrl+K; sprint 95: Table Properties: create, edit or copy a table in a form with a DDL preview and Apply in one transaction; sprint 94: an object's menu with Open in a panel, Quick DDL, Add index / trigger / policy and Drop with dependents; sprint 93: worksheets saved as SQL Scripts with tabs and a Files list, Format, Convert case, find and replace, bind and substitution variables; sprint 92: the worksheet's Query Result with sort, value dialog, copy and downloads, plans as a tree with the slowest step and misestimates, SQL History with status, search and run again; sprint 91: the SQL Worksheet like Database Actions' SQL: navigator, Run Statement at the cursor and Run Script with a log per statement, Explain Plan, Autotrace, notices, history, Run as an application role; sprint 90: Comment Out in the page designer, gallery labels in title case; sprint 89: the Object Browser's schema, one row of tabs, blank NULLs, Modify column; sprint 88: home cards with colour bands and round icons, the hero on the page background, a page footer with the version and Back to top; sprint 87: the Create Application wizard reloads the page list for a schema, RLS badges, the alias from the name; sprint 86: the page designer by page number, HTML error pages in the builder; sprint 85: the Form Designer, beyond APEX; sprint 84: the date picker, facet menus; sprint 83: Component Settings and Component Groups; sprint 82: Report Queries; sprint 81: Application Computations and Shortcuts in Shared Components; sprint 80: the master grid's first row selected when the page opens and after a search; grid cells as text with their format mask until edited, with cell navigation by arrow keys, Enter, F2 and Escape; sprint 79: generated dashboards with sums, donuts and lines, leaving out charts that say nothing; applications open in their own light or dark mode until the user chooses, per application; a user menu with Appearance and Sign in when signed out; the developer toolbar's App and Page texts and debug state; the report search's column scope in the magnifier; sprint 78: generated faceted search reports with one column per foreign key, the faceted search's total row count, Show all and Yes/No values, one search field, friendly headings and number formats in generated grids and master-detail pages, friendly names in the Create Application wizard's page list; sprint 77: the Page Designer's layout and tree by display position, button positions, the tree's context menu with Duplicate and Copy to other page, Show Common / Show All, Go to group and the Template Options dialog; display positions, button positions and side-column page templates at runtime; sprint 76: the interactive report's menus and pagination, date items in the date format; sprint 75: the SQL Workshop's Object Browser and tabs; sprint 74: the builder's information architecture: Shared Components grid, Settings tabs, application home search and tasks; sprint 73: the Create Application wizard on one page with page types and features; sprint 72: the runtime chrome compared with APEX 26.2's: the developer toolbar, the Iris look, the navigation bar's Help menu and Install button; sprint 71: generated applications compared with APEX 26.2's: labels, foreign key names in reports, file columns, format masks, the Home page and the dashboard; sprint 70: treemap, sunburst and timeline charts; sprint 69: dragging tasks on a Gantt chart; sprint 68: the Data Reporter's welcome page, Find my workspace; sprint 67: REST source catalogs from OpenAPI documents, a workspace's export and import (two rows added); sprint 66: a blueprint from an existing application; sprint 65: facet charts; sprint 64: approval vacation rules and expiration policies; sprint 63: range, box plot and stock charts; sprint 62: workspace preferences (SQL Workshop and RESTful services per workspace), extension links, Manage backups across applications, SQL Workshop utilities with object reports, About Database and a database monitor; sprint 61: the builder's screens compared with APEX 26.1: the workspace sign-in page, the Administration menu with workspace message, environment banner and utilization, the SQL Workshop home, the App Gallery, application groups and cross application reports (four rows added); sprint 60: isolated workspaces with their own database logins, row-level security on pgkiln's tables and workspace database roles, workspace administrators; sprint 59: the Page Designer's help pane, Quick edit from the developer toolbar; sprint 58: page groups; sprint 57: region templates hero, title bar, buttons container, inline dialog and drawer, wizard with wizard progress, the carousel; sprint 56: Generate DDL and Schema Comparison in the SQL Workshop, `pgkiln ddl` and `pgkiln compare`; sprint 55: an editable login page with a Login region and the Minimal page template, Forgot password through the application's mail service; sprint 54: interactive grid views, the single row view, group by and chart; sprint 53: application settings, user preferences and items kept per user, dynamic translations, `meta.data_export` and data export downloads, display image and geocoded address items; sprint 52: every dynamic action event and action, Ajax callbacks, an error handling function, the session timeout warning; sprint 51: checked imports, application backups, availability and Run only, feedback, type-specific attribute help; sprint 50: lost update detection, warn on unsaved changes, the URL and search regions with search configurations, the developer toolbar with a session state viewer, and e-mail through SMTP with OAuth2, Microsoft Graph, Amazon SES and HTTP APIs; import checks, application availability, property help and e-mail compared again; 2026-10-06: pgkiln 0.31.0, in progress: static application files and the Execute JavaScript dynamic action; region, item, dynamic action and process plug-ins; conditional and dynamic theme styles; XML and Excel in `meta.parse_data`, zips in SQL, `meta.v_boolean`; file items in S3-compatible object storage; map layers by the visible area and as vector tiles; a graphical query builder; tenants for workflows and tasks; application files as YAML and region static IDs; Lucide icons and icon modifiers; PWA push notifications; 0.30.0: 136 icons and an icon picker; an axe-core accessibility audit; cropping pictures; session sharing between applications; twenty-two built-in languages; 0.29.0: workspaces; the Iris base style; drawers; built-in template components including the metric card; Theme Roller dark-mode colours, live preview and template options on items and report columns; report selection across pages; instance settings; fourteen built-in languages; 0.28.0: AI with Claude and OpenAI; 0.27.0: Data Reporter; sample data generator; create application from several sheets, pasted data or existing tables; 0.26.0: working copies with a three-way merge; theme, library and boilerplate applications with subscriptions; 0.25.0: Gantt, pyramid and polar charts; map layers, clustering and server-side spatial filters; REST data sources that write back from forms and grids and synchronise into tables, OAuth2 password and refresh-token grants; debug messages per request and an install/upgrade log; `meta.web_request()` and `meta.parse_data()`; Theme Roller style variants and template options; 0.24.0: automations with several actions, error handling per row and runs from SQL; invoke-API workflow steps; Unload Data in the Data Workshop; create page wizards for cards, calendar, chart, map, faceted search, form and master-detail; create an application from a file; 0.23.0: interactive grid aggregates, frozen/moved/resized columns, layouts and saved grid reports, master-detail, row actions and copy/paste; download processes, execution chains in the background, workflow processes, branches to a function's URL or another app, the Dialog Closed event; number format masks, automatic time zone, runtime messages in German, French and Spanish; SQL scripts, Quick SQL, a query builder, XML loading and data load definitions; custom authentication, lists, page and application locks with developer comments, supporting objects; 0.22.0: keyset paging, report PDFs and REST collections streamed from a cursor, database-account authentication; 0.21.0: HTTP-header authentication behind a reverse proxy; 0.20.0: a popup list of values with server-side search; 0.19.0: row-range pagination, maximum row counts and row limits, lazy loading and caching of regions, streamed CSV/Excel downloads; 0.18.0: calendar week/day/list views with drag and drop, bubble/gauge/funnel/radar charts and drill-down, smart filters, a region display selector and more facet types, computations, conditional branches, build options, menu buttons, REST data sources and web credentials, rich text/Markdown, rating, combobox, date range and QR code items; 0.17.0: an App Builder home, workspace dashboard and utilities like APEX's; 0.16.0: a Page Designer with drag-and-drop layout, a code editor with autocomplete, template components and plug-ins, parallel branches and versions of workflows, the `pgkiln` command line with one file per component; 0.15.0: drop and paste files, heat maps, filtering a report by the map area; 0.14.0: stacked, combo, scatter and pie charts, several files per upload item; 0.13.0: map and tree regions; 0.12.0: REST modules in the builder; 0.11.0: workflows and Progressive Web Apps; 0.10.0: LDAP, SAML, "Keep me signed in", document templates, JSON loading, approvals and the task list; pgkiln installs no application, HR is an example).
10
+ Last reviewed: 2026-11-04 against **APEX 26.2** (sprint 141: static workspace files (`#WORKSPACE_FILES#`), remote servers for REST data sources, catalogs and AI services (an environment variable per environment), and workspace-level web credentials (AP-7); sprint 140: the items Shuttle (ordered), Select One and Select Many, the regions Classic Report (report templates, pagination types), Breadcrumb and Help Text with a page help text, and a [mapping of every APEX item and region type](#item-and-region-types-one-by-one) (AP-4); sprint 139: OpenTelemetry, traces with a span per SQL statement, web call, AI request and tool call, logs, metrics and `/metrics` for Prometheus, browser spans relayed by pgkiln, per workspace off or its own collector (AP-6); sprint 138: an application's Utilities tab with a dashboard, database object dependencies, change history per component, Upgrade application, UI defaults (APEX's Attribute Dictionary), application and page checksums and an icon browser (AP-5); sprint 137: Create page as a grid of page types with previews, the page types interactive report, smart filters, search page, data loading, tree, timeline, media list, content row, comments, dashboard, wizard, unified task list and workflow console, a Feature tab with nine features that install once, and Create page as copy with shared components mapped or copied (AP-3); sprint 136: vector providers (an AI service with an embedding model or a SQL function), `meta.embed`, *Add vector column* in Table Properties with an HNSW index and a queue that keeps embeddings current, search types vector and hybrid (reciprocal rank fusion with full-text) and a Retrieve (RAG) tool for AI agents, all as the app's role through RLS, on pgvector (AP-1); sprint 135: full-text search configurations, APEX's Oracle Text search type on PostgreSQL full-text search with stemming, ranking, highlights, *Did you mean* and *Add full-text search* in Table Properties (AP-2); sprint 134: the builder also in Italiano, 中文 (简体), 中文 (繁體), 日本語 and 한국어, APEX's ten builder languages plus Nederlands (SEC-5); sprints 121, 123–125: the builder in Deutsch, English, Español, Français, Nederlands and Português, step by step: the frame, sign-in, Workspace home, App Builder, Page Designer menus, the SQL Workshop's home, SQL Worksheet, Object Browser and Table Properties, Shared Components, application settings, users, identity providers, developers and workspaces (WS-7); sprint 122: *Ask in your own words* sets faceted search and smart filter facets, smart filters read a typed phrase (WS-5), and Sample Maps, Sample Approvals, Sample Data Loading and Sample Files in the App Gallery (WS-8); sprint 120: the App Gallery's single-topic sample apps (charts, cards, calendar, interactive grids, dynamic actions, reporting), the UX Pattern Catalog and a Utility Apps tab with Lookup Lists, Release Notes and Announcements (WS-8); sprint 119: data security per table, a roles × columns matrix and masked values per application role in a masking view, the same identity for pages, AI tools, REST, AutoREST and MCP (WS-13); sprint 118: Administration → Mail queue with delivery per hour and per workspace, the slowest provider calls and failures with Retry and Purge, a workspace's own mail service, and workspace network access lists that narrow the installation's allow-list (WS-9); sprint 117: Pillar Light and Pillar Dark navigation appearances with a header strip, clearer navigation tree states, subtle colour utilities, RTL; sprint 116: the comparison moved from 26.1 to 26.2, with a section for the 26.2 workspace items WS-1 … WS-13 and OCI managed identities; the App Builder list with Updated by, working copies and the lock; `pgkiln import --only`, a file-level import; stale rows on facet menus and blueprints fixed; sprint 115: popup LOVs that load on scroll, Wait Popup dynamic actions and dynamic actions on menu entries; sprint 114: Workflow 26.2 with custom task outcomes, task events and notifications, Send E-Mail and draft steps, migrating running instances and the diagram as SVG / PNG; sprint 113: Team Development with issues, labels, milestones, templates, a board and a set-up wizard; sprint 112: AI interactive reports with chips, Undo, computed columns and a phrase parser that needs no AI service; sprint 111: AI Agents with tools as a shared component, a Navigate tool with checksummed URLs, Gemini and OpenAI-compatible services; sprint 110: Data Reporter as a workspace tool with datasets, reporting applications, editors and viewers, published reports with stable URLs and pins; sprint 109: the Workspace home above the App Builder and SQL Workshop, with a summary, top applications, users and developers, and an optional release check; sprint 108: the code editor's syntax colours in the builder's light and dark themes, read-only SQL highlighted, the Data Modeler in dark mode; sprint 107: a transaction mode in the SQL Worksheet with Commit and Rollback; DA-18: JavaScript (MLE) not planned, plv8 where installed; sprint 106: the change log of DDL change sets with Flyway, Liquibase and SQL downloads; sprint 104: RESTful Services modules, templates and handlers with PL/pgSQL and media handlers, privileges, OpenAPI and Try it; sprint 103: Schema Export / Import with pg_dump and pg_restore; sprint 102: the SQL Monitor with live sessions, Top SQL and a statement's plan; sprint 101: Scheduling of pg_cron jobs with a schedule builder, run now and run history; sprint 100: RESTful Services, tables and views published as REST endpoints with paging, filters, keys and OpenAPI; sprint 99: Administration → Database Users for PostgreSQL roles; sprint 98: the Data Modeler with relational diagrams, DDL and a data dictionary; sprint 97: charts of a query in the worksheet, saved charts and their dashboard; sprint 96: the SQL Workshop's Launchpad with pins and tool groups, the builder's search with Ctrl+K; sprint 95: Table Properties: create, edit or copy a table in a form with a DDL preview and Apply in one transaction; sprint 94: an object's menu with Open in a panel, Quick DDL, Add index / trigger / policy and Drop with dependents; sprint 93: worksheets saved as SQL Scripts with tabs and a Files list, Format, Convert case, find and replace, bind and substitution variables; sprint 92: the worksheet's Query Result with sort, value dialog, copy and downloads, plans as a tree with the slowest step and misestimates, SQL History with status, search and run again; sprint 91: the SQL Worksheet like Database Actions' SQL: navigator, Run Statement at the cursor and Run Script with a log per statement, Explain Plan, Autotrace, notices, history, Run as an application role; sprint 90: Comment Out in the page designer, gallery labels in title case; sprint 89: the Object Browser's schema, one row of tabs, blank NULLs, Modify column; sprint 88: home cards with colour bands and round icons, the hero on the page background, a page footer with the version and Back to top; sprint 87: the Create Application wizard reloads the page list for a schema, RLS badges, the alias from the name; sprint 86: the page designer by page number, HTML error pages in the builder; sprint 85: the Form Designer, beyond APEX; sprint 84: the date picker, facet menus; sprint 83: Component Settings and Component Groups; sprint 82: Report Queries; sprint 81: Application Computations and Shortcuts in Shared Components; sprint 80: the master grid's first row selected when the page opens and after a search; grid cells as text with their format mask until edited, with cell navigation by arrow keys, Enter, F2 and Escape; sprint 79: generated dashboards with sums, donuts and lines, leaving out charts that say nothing; applications open in their own light or dark mode until the user chooses, per application; a user menu with Appearance and Sign in when signed out; the developer toolbar's App and Page texts and debug state; the report search's column scope in the magnifier; sprint 78: generated faceted search reports with one column per foreign key, the faceted search's total row count, Show all and Yes/No values, one search field, friendly headings and number formats in generated grids and master-detail pages, friendly names in the Create Application wizard's page list; sprint 77: the Page Designer's layout and tree by display position, button positions, the tree's context menu with Duplicate and Copy to other page, Show Common / Show All, Go to group and the Template Options dialog; display positions, button positions and side-column page templates at runtime; sprint 76: the interactive report's menus and pagination, date items in the date format; sprint 75: the SQL Workshop's Object Browser and tabs; sprint 74: the builder's information architecture: Shared Components grid, Settings tabs, application home search and tasks; sprint 73: the Create Application wizard on one page with page types and features; sprint 72: the runtime chrome compared with APEX 26.2's: the developer toolbar, the Iris look, the navigation bar's Help menu and Install button; sprint 71: generated applications compared with APEX 26.2's: labels, foreign key names in reports, file columns, format masks, the Home page and the dashboard; sprint 70: treemap, sunburst and timeline charts; sprint 69: dragging tasks on a Gantt chart; sprint 68: the Data Reporter's welcome page, Find my workspace; sprint 67: REST source catalogs from OpenAPI documents, a workspace's export and import (two rows added); sprint 66: a blueprint from an existing application; sprint 65: facet charts; sprint 64: approval vacation rules and expiration policies; sprint 63: range, box plot and stock charts; sprint 62: workspace preferences (SQL Workshop and RESTful services per workspace), extension links, Manage backups across applications, SQL Workshop utilities with object reports, About Database and a database monitor; sprint 61: the builder's screens compared with APEX 26.1: the workspace sign-in page, the Administration menu with workspace message, environment banner and utilization, the SQL Workshop home, the App Gallery, application groups and cross application reports (four rows added); sprint 60: isolated workspaces with their own database logins, row-level security on pgkiln's tables and workspace database roles, workspace administrators; sprint 59: the Page Designer's help pane, Quick edit from the developer toolbar; sprint 58: page groups; sprint 57: region templates hero, title bar, buttons container, inline dialog and drawer, wizard with wizard progress, the carousel; sprint 56: Generate DDL and Schema Comparison in the SQL Workshop, `pgkiln ddl` and `pgkiln compare`; sprint 55: an editable login page with a Login region and the Minimal page template, Forgot password through the application's mail service; sprint 54: interactive grid views, the single row view, group by and chart; sprint 53: application settings, user preferences and items kept per user, dynamic translations, `meta.data_export` and data export downloads, display image and geocoded address items; sprint 52: every dynamic action event and action, Ajax callbacks, an error handling function, the session timeout warning; sprint 51: checked imports, application backups, availability and Run only, feedback, type-specific attribute help; sprint 50: lost update detection, warn on unsaved changes, the URL and search regions with search configurations, the developer toolbar with a session state viewer, and e-mail through SMTP with OAuth2, Microsoft Graph, Amazon SES and HTTP APIs; import checks, application availability, property help and e-mail compared again; 2026-10-06: pgkiln 0.31.0, in progress: static application files and the Execute JavaScript dynamic action; region, item, dynamic action and process plug-ins; conditional and dynamic theme styles; XML and Excel in `meta.parse_data`, zips in SQL, `meta.v_boolean`; file items in S3-compatible object storage; map layers by the visible area and as vector tiles; a graphical query builder; tenants for workflows and tasks; application files as YAML and region static IDs; Lucide icons and icon modifiers; PWA push notifications; 0.30.0: 136 icons and an icon picker; an axe-core accessibility audit; cropping pictures; session sharing between applications; twenty-two built-in languages; 0.29.0: workspaces; the Iris base style; drawers; built-in template components including the metric card; Theme Roller dark-mode colours, live preview and template options on items and report columns; report selection across pages; instance settings; fourteen built-in languages; 0.28.0: AI with Claude and OpenAI; 0.27.0: Data Reporter; sample data generator; create application from several sheets, pasted data or existing tables; 0.26.0: working copies with a three-way merge; theme, library and boilerplate applications with subscriptions; 0.25.0: Gantt, pyramid and polar charts; map layers, clustering and server-side spatial filters; REST data sources that write back from forms and grids and synchronise into tables, OAuth2 password and refresh-token grants; debug messages per request and an install/upgrade log; `meta.web_request()` and `meta.parse_data()`; Theme Roller style variants and template options; 0.24.0: automations with several actions, error handling per row and runs from SQL; invoke-API workflow steps; Unload Data in the Data Workshop; create page wizards for cards, calendar, chart, map, faceted search, form and master-detail; create an application from a file; 0.23.0: interactive grid aggregates, frozen/moved/resized columns, layouts and saved grid reports, master-detail, row actions and copy/paste; download processes, execution chains in the background, workflow processes, branches to a function's URL or another app, the Dialog Closed event; number format masks, automatic time zone, runtime messages in German, French and Spanish; SQL scripts, Quick SQL, a query builder, XML loading and data load definitions; custom authentication, lists, page and application locks with developer comments, supporting objects; 0.22.0: keyset paging, report PDFs and REST collections streamed from a cursor, database-account authentication; 0.21.0: HTTP-header authentication behind a reverse proxy; 0.20.0: a popup list of values with server-side search; 0.19.0: row-range pagination, maximum row counts and row limits, lazy loading and caching of regions, streamed CSV/Excel downloads; 0.18.0: calendar week/day/list views with drag and drop, bubble/gauge/funnel/radar charts and drill-down, smart filters, a region display selector and more facet types, computations, conditional branches, build options, menu buttons, REST data sources and web credentials, rich text/Markdown, rating, combobox, date range and QR code items; 0.17.0: an App Builder home, workspace dashboard and utilities like APEX's; 0.16.0: a Page Designer with drag-and-drop layout, a code editor with autocomplete, template components and plug-ins, parallel branches and versions of workflows, the `pgkiln` command line with one file per component; 0.15.0: drop and paste files, heat maps, filtering a report by the map area; 0.14.0: stacked, combo, scatter and pie charts, several files per upload item; 0.13.0: map and tree regions; 0.12.0: REST modules in the builder; 0.11.0: workflows and Progressive Web Apps; 0.10.0: LDAP, SAML, "Keep me signed in", document templates, JSON loading, approvals and the task list; pgkiln installs no application, HR is an example).
11
11
 
12
12
  ## At a glance
13
13
 
14
14
  | Area | ✅ | 🟡 | ❌ | ➖ | In short |
15
15
  |---|---:|---:|---:|---:|---|
16
16
  | App Builder and development | 22 | 0 | 0 | 0 | Page Designer with drag-and-drop and a code editor, wizards, search, where used, an Advisor, a CLI with one file per component, page locks and comments, supporting objects, working copies with a three-way merge, theme/library/boilerplate apps with subscriptions; App Builder AI (pages, SQL and table descriptions) |
17
- | Regions | 23 | 0 | 0 | 0 | All everyday regions, a search region over search configurations and a URL region; twenty-two chart types with drill-down; calendars with week/day/list views and drag and drop; faceted search, smart filters and a region display selector; interactive reports with breaks, aggregates, highlights, compute, group by, pivot, chart view and saved reports; interactive grids with single row, group by and chart views; maps (with vector tiles) and trees; template components; row ranges, lazy loading and region caching for large tables |
18
- | Items | 13 | 0 | 0 | 0 | All common items, file upload (several files per item), rich text and Markdown editors, star rating, combobox, date range, QR code, password reveal, display image and geocoded address |
17
+ | Regions | 24 | 0 | 0 | 0 | All everyday regions incl. classic reports with report templates, breadcrumb and help text regions, a search region over search configurations and a URL region; twenty-two chart types with drill-down; calendars with week/day/list views and drag and drop; faceted search, smart filters and a region display selector; interactive reports with breaks, aggregates, highlights, compute, group by, pivot, chart view and saved reports; interactive grids with single row, group by and chart views; maps (with vector tiles) and trees; template components; row ranges, lazy loading and region caching for large tables |
18
+ | Items | 15 | 0 | 0 | 0 | All common items incl. shuttle, Select One and Select Many, file upload (several files per item), rich text and Markdown editors, star rating, combobox, date range, QR code, password reveal, display image and geocoded address |
19
19
  | Logic and processing | 18 | 0 | 0 | 1 | User preferences and application settings; all dynamic action events and actions, Ajax callbacks and an error handling function; Core APEX model complete with computations, conditional branches, build options and menu buttons, download, chain and workflow processes; JavaScript from static application files in dynamic actions; region, item, dynamic action and process plug-ins |
20
20
  | Security | 22 | 0 | 0 | 0 | An editable login page and Forgot password; a session timeout warning; On par or stricter (CSP without `unsafe-inline`); OIDC, SAML and LDAP; header authentication behind a proxy; database accounts; custom authentication |
21
21
  | User interface | 12 | 0 | 0 | 0 | Region templates incl. hero, inline dialog and drawer, wizard and carousel; Universal Theme-like and responsive; a Theme Roller with style variants and conditional, dynamic styles; about 1,700 icons with Font APEX-like modifiers |
22
22
  | Globalization | 6 | 0 | 0 | 0 | One translated app like 26.1 with dynamic translations of table values; number format masks and automatic time zone; twenty-two built-in languages |
23
- | Data and integration | 13 | 0 | 0 | 2 | REST source catalogs from OpenAPI documents; Generate DDL and schema comparison; `meta.data_export` and data export downloads (CSV, JSON, XML, HTML, Excel, PDF); e-mail through SMTP (password or OAuth2), Microsoft Graph, Amazon SES and HTTP APIs; REST APIs via PostgREST, REST data sources that write back and synchronise, web credentials with OAuth2 grants, CSV/XLSX/JSON/XML loading with saved definitions and unloading, SQL scripts and Quick SQL, report PDFs and document templates |
23
+ | Data and integration | 15 | 0 | 0 | 2 | Remote servers, static workspace files and workspace web credentials; REST source catalogs from OpenAPI documents; Generate DDL and schema comparison; `meta.data_export` and data export downloads (CSV, JSON, XML, HTML, Excel, PDF); e-mail through SMTP (password or OAuth2), Microsoft Graph, Amazon SES and HTTP APIs; REST APIs via PostgREST, REST data sources that write back and synchronise, web credentials with OAuth2 grants, CSV/XLSX/JSON/XML loading with saved definitions and unloading, SQL scripts and Quick SQL, report PDFs and document templates |
24
24
  | Workflow, automation and AI | 6 | 0 | 0 | 0 | Scheduled automations with several actions and runs from SQL, approvals, a task list and workflows with parallel branches, versions and invoke-API steps; AI with Claude or OpenAI: *Generate text with AI*, an assistant region with tools, natural-language report filters and blueprints |
25
25
  | Administration | 15 | 0 | 0 | 0 | OpenTelemetry traces, logs and metrics to the team's own monitoring and `/metrics` for Prometheus (24.2); An APEX-like sign-in with a workspace and a Workspace home; a mail queue dashboard, a workspace's own mail service and network access list (26.1 / 26.2); a workspace's components exported and imported as one file; workspace message, environment banner and utilization; isolated workspaces with their own database logins and roles, and workspace administrators; application availability and Run only, automatic backups, user feedback; a developer toolbar with a session state viewer and debug per session; Top SQL per app; debug messages per request; an install/upgrade log |
26
26
  | APEX 26.2 workspace (WS-1 … WS-13) | 13 | 0 | 0 | 1 | Workspace home, Data Reporter as a workspace tool, Team Development, AI Agents, AI interactive reports, Workflow 26.2, the mail queue, workspace mail and network access, the 26.1 component details, the App Builder list's details, the Pillar navigation appearances and data security per table (rows, columns and masked values), the App Gallery's single-topic sample apps, UX Pattern Catalog and Utility Apps; the builder in eleven languages (APEX's ten and Nederlands) |
27
- | **Total** | **163** | **0** | **0** | **4** | 167 APEX features compared: 98% available, none missing, 4 deliberately not planned |
27
+ | **Total** | **168** | **0** | **0** | **4** | 172 APEX features compared: 98% available, none missing, 4 deliberately not planned |
28
28
 
29
29
  (Counts are of the rows in the tables below. A review on 2026-10-06 added 18 rows for APEX features that were
30
30
  not compared before, one on 2026-10-12 added two more (property help, application availability), and one on
@@ -33,7 +33,9 @@ application reports, Manage Service), so the share available dropped without any
33
33
  two, REST source catalogs and the workspace export, with their features. Sprint 116 compared with APEX 26.2 and added
34
34
  the section [APEX 26.2 workspace](#apex-262-workspace-ws-1--ws-13): fourteen rows, the 26.2 workspace items WS-1 … WS-13
35
35
  and OCI managed identities. Some of them repeat a row above from the workspace's side; they are counted on purpose, as
36
- the 26.2 comparison. Sprint 139 added OpenTelemetry (24.2), found missing by the 27 Oct pass (AP-6).)
36
+ the 26.2 comparison. Sprint 139 added OpenTelemetry (24.2), found missing by the 27 Oct pass (AP-6). Sprint 140 split the shuttle off the
37
+ multi-select row and added Select One / Select Many (24.2) and the Help Text region (AP-4). Sprint 141 split remote servers off the
38
+ database links row and added static workspace files with workspace web credentials (AP-7).)
37
39
 
38
40
  ## App Builder and development
39
41
 
@@ -66,7 +68,7 @@ the 26.2 comparison. Sprint 139 added OpenTelemetry (24.2), found missing by the
66
68
 
67
69
  | APEX | pgkiln | Notes |
68
70
  |---|---|---|
69
- | Classic report | ✅ | `report` with `interactive: false` |
71
+ | Classic report (report templates, pagination types) | ✅ | (sprint 140) Region type `classic_report`: the report renderer without the Actions menu, column menus, saved reports or downloads, and none of an interactive report's settings from the URL; sorting by headings, an optional search; `report_template` `standard` (a table), `value_pairs` (Value Attribute Pairs), `badges` (Badge List) or `media_list` (Media List); `pagination` `total` (X–Y of Z), `range` (X–Y) or `none` ([chapter 4](guide/04-pages-and-regions.md#classic_report-classic-report)) |
70
72
  | Interactive report | ✅ | (sprint 76) An Actions menu of nine entries with dialogs, a column heading menu (sort, hide, control break, the column's values to filter by), a search in one column, hidden columns, pagination with the range, first/last and rows per page. Search, column filters, sort, rows per page, control break, aggregates (with subtotals), highlight, saved private and public reports, computed columns, group by, pivot, chart view, row selection into a page item, CSV, Excel (typed cells) and PDF download, print, reset, reflow on phones. a maximum row count (`max_rows`), natural-language control (*Ask in your own words*, 26.1) and row selection that stays across pages. Not possible: flashback queries (PostgreSQL has none; use an audit or temporal table) |
71
73
  | Interactive grid | ✅ | Inline edit, add and delete rows, lists of values, required columns, per-row errors, all-or-nothing save, signed row keys, search and paging; **aggregates** over the whole result (developer and user defined), **frozen columns**, column **reorder/resize/hide** (Actions → Columns, or drag and drop), per-user layouts and **saved grid reports** (private and public), **master-detail** (signed row selection, the first row selected on load and after a search, details refreshed in place), **navigation and edit mode** (cells as text with their format mask until clicked, Enter or F2; arrow keys between cells), a **row actions menu** (edit, duplicate, delete, links) and **copy/paste** of cell ranges (tab-separated, spreadsheet compatible) ([chapter 4](guide/04-pages-and-regions.md)) |
72
74
  | Interactive grid views: single row view, chart view, group by | ✅ | (sprint 54) **Single row view**: one row of the search as a form with first/previous/next/last and *Add row*, from the Actions or row actions menu, saved by the grid's own process with the same checks; **group by** and **chart** set up in the Actions menu over every row of the search, as for the interactive report; `views` limits them; Save comes back to the same search, page and view ([chapter 4](guide/04-pages-and-regions.md#grid-interactive-grid)). No pivot view on grids (the interactive report has one), no editing in the single row view of columns the grid doesn't show |
@@ -77,7 +79,8 @@ the 26.2 comparison. Sprint 139 added OpenTelemetry (24.2), found missing by the
77
79
  | Faceted search | ✅ | Checkbox, range (predefined, or a custom from/to on numbers and dates), star rating and search facets with live counts that honour the other facets; exclude on checkbox facets (26.1). Values travel as query parameters, never as SQL text. (sprint 65) **Facet charts**: a bar or pie chart of a facet's counts, each mark filtering on its value. (sprint 78) The **total row count**, *Show all* after seven values, booleans as Yes/No, one search field (the report's own is left out). (sprint 84) A checkbox facet's **⋮ menu** (APEX: the facet's menu): *Clear* and *Sort by count* / *Sort by name* ([chapter 4](guide/04-pages-and-regions.md#facets-faceted-search)) |
78
80
  | Smart filters | ✅ | One search field with filter chips and suggestions over a report, the same facet types; URL-based, works without JavaScript ([chapter 4](guide/04-pages-and-regions.md#smart_filters)) |
79
81
  | Static content, dynamic content | ✅ | `static` (HTML with substitutions) and `dynamic` (a SELECT returning HTML) |
80
- | Breadcrumb | ✅ | Automatic, from the page's breadcrumb parent |
82
+ | Breadcrumb | ✅ | Automatic, from the page's breadcrumb parent; (sprint 140) also a `breadcrumb` region for the Breadcrumb bar position (the title bar then leaves its own out), with or without the current page. No separate breadcrumb shared component: the trail follows the pages' parents |
83
+ | Help Text region, page help | ✅ | (sprint 140) The page's *Help text* (Markdown with `&ITEM.` substitutions, item values stay text) and a `help_text` region that shows it ([chapter 4](guide/04-pages-and-regions.md#breadcrumb-and-help_text)) |
81
84
  | Navigation menu (side or top) | ✅ | Collapsible side menu or top bar; a drawer on tablets and phones |
82
85
  | Region display selector, tabs | ✅ | Tabs or a select list; regions can share a tab, *Show all*, the choice remembered in the session, `#R<id>` links. Accessible tabs with JavaScript; without it every region shows with links to each |
83
86
  | Tree | ✅ | `tree` region from id / parent id / label rows, with icons, links and the first levels open; works without JavaScript |
@@ -96,7 +99,9 @@ the 26.2 comparison. Sprint 139 added OpenTelemetry (24.2), found missing by the
96
99
  |---|---|---|
97
100
  | Text field, textarea, number, date picker, password, hidden, display only | ✅ | Native inputs, with the right phone keyboard (`inputmode`) |
98
101
  | Select list, radio group, checkbox, switch | ✅ | |
99
- | Checkbox group, shuttle / multi-select | ✅ | Colon-separated values, as in APEX |
102
+ | Checkbox group, multi-select | ✅ | Colon-separated values, as in APEX |
103
+ | Shuttle | ✅ | (sprint 140) `shuttle`: available and selected lists, a filter, move one / all, remove one / all, top / up / down / bottom, double-click and keyboard; colon-separated in the chosen order; a multi-select list without JavaScript ([chapter 5](guide/05-items.md#shuttle-select-one-and-select-many)) |
104
+ | Select One, Select Many (24.2) | ✅ | (sprint 140) `select_one`, `select_many`: a search field with a list box over the list of values (ARIA combobox), chips for Select Many; a select list or multi-select list without JavaScript. The list box filters the rows the page read (`max_rows`); a Popup LOV searches on the server |
100
105
  | Popup LOV | ✅ | `popup_lov`: a dialog with server-side search (loaded page after page as the dialog scrolls, at most 100 rows a request; ‹ / More without IntersectionObserver) of the item's own shared, static or SQL list of values, extra display columns, return vs display value; the posted value is checked against the list; a select list without JavaScript ([chapter 5](guide/05-items.md)) |
101
106
  | Cascading, shared and static lists of values | ✅ | `cascade_parents`, `LOV:NAME`, `STATIC:` |
102
107
  | E-mail, phone, URL, colour picker | ✅ | Typed inputs |
@@ -108,6 +113,78 @@ the 26.2 comparison. Sprint 139 added OpenTelemetry (24.2), found missing by the
108
113
  | Password reveal toggle (24.2) | ✅ | `{"reveal": true}` on password items; the value is never sent back to the page |
109
114
  | Display image, geocoded address | ✅ | (sprint 53) `image` items show a picture from an https URL, a path or a BLOB from a query (served as the application's role, sandboxed); `address` items check the text against the installation's Nominatim-compatible geocoder (`GEOCODER_URL`) and put the chosen address's position into another item |
110
115
 
116
+ ## Item and region types, one by one
117
+
118
+ (sprint 140) Every item type and region type of APEX 26.2's Page Designer, and what pgkiln uses for it, so the next
119
+ review is a diff. Not counted in [At a glance](#at-a-glance): the rows above compare features.
120
+
121
+ **Items**
122
+
123
+ | APEX item type | pgkiln | Notes |
124
+ |---|---|---|
125
+ | Checkbox | `checkbox` | `true` / `false` |
126
+ | Checkbox Group | `checkbox_group` | colon-separated; `{"switches": true}` |
127
+ | Color Picker | `color` | `#rrggbb` |
128
+ | Combobox | `combobox` | free text with suggestions, tags |
129
+ | Date Picker | `date`, `datetime` | pgkiln's date picker in the date format; `daterange` has no APEX type |
130
+ | Display Image | `image` | |
131
+ | Display Only | `display` | display values of a list of values |
132
+ | File Upload (File Browse) | `file` | several files per item |
133
+ | Geocoded Address | `address` | `GEOCODER_URL` |
134
+ | Hidden | `hidden` | |
135
+ | Image Upload (24.2) | `file` | with `{"accept": "image/*", "crop": "1:1", "max_px": 1600}` |
136
+ | Markdown Editor | `markdown` | |
137
+ | Number Field | `number` | format masks |
138
+ | Password | `password` | `{"reveal": true}` |
139
+ | Percent Graph | — | a template component or a report column template draws it ([template components](guide/04-pages-and-regions.md#template-components)) |
140
+ | Popup LOV | `popup_lov` | server-side search, infinite scrolling |
141
+ | QR Code | `qrcode` | |
142
+ | Radio Group | `radio` | |
143
+ | Rich Text Editor | `richtext` | sanitised HTML |
144
+ | Select List | `select` | |
145
+ | Select Many (24.2) | `select_many` | sprint 140 |
146
+ | Select One (24.2) | `select_one` | sprint 140 |
147
+ | Shuttle | `shuttle` | sprint 140 |
148
+ | Star Rating | `rating` | |
149
+ | Switch | `switch` | |
150
+ | Text Field | `text`, `email`, `tel`, `url` | the subtypes as their own types |
151
+ | Text Field with autocomplete (desupported) | `combobox` | |
152
+ | Textarea | `textarea` | |
153
+ | List Manager (desupported) | — | desupported in APEX; a `shuttle` or `select_many` does the job |
154
+ | Plug-in | `plugin` | item plug-ins with their own JavaScript |
155
+
156
+ **Regions**
157
+
158
+ | APEX region type | pgkiln | Notes |
159
+ |---|---|---|
160
+ | AI Assistant | `ai_assistant` | |
161
+ | Breadcrumb | `breadcrumb` | sprint 140; the title bar shows the trail without one |
162
+ | Calendar | `calendar` | |
163
+ | Cards | `cards` | |
164
+ | Chart | `chart` | |
165
+ | Classic Report | `classic_report` | sprint 140; before: `report` with `interactive: false` |
166
+ | Dynamic Content (PL/SQL Dynamic Content) | `dynamic` | a SELECT returning HTML |
167
+ | Faceted Search | `facets` | |
168
+ | Form | `form` | |
169
+ | Help Text | `help_text` | sprint 140 |
170
+ | Interactive Grid | `grid` | |
171
+ | Interactive Report | `report` | |
172
+ | List | `list` | |
173
+ | Map | `map` | |
174
+ | Region Display Selector | `display_selector` | |
175
+ | Search | `search` | |
176
+ | Smart Filters | `smart_filters` | |
177
+ | Static Content | `static` | |
178
+ | Template Component (Avatar, Badge, Comments, Content Row, Media List, Metric Card, Timeline) | `template_component` | built in, and your own |
179
+ | Tree | `tree` | |
180
+ | URL | `url` | |
181
+ | Unified Task List | `tasks` | |
182
+ | Workflow Console | `workflows` | |
183
+ | Data Reporter (26.2, a workspace tool) | `data_reporter` | also a region in an application |
184
+ | Column Toggle Report, Reflow Report, List View (jQuery Mobile, desupported) | — | desupported in APEX; reports reflow on phones (`"mobile": "reflow"`) |
185
+ | Plug-in | `plugin` | region plug-ins with their own code |
186
+ | — | `login`, `form_designer` | pgkiln's own: the login page's sign-in form, a form designer for business users |
187
+
111
188
  ## Logic and processing
112
189
 
113
190
  | APEX | pgkiln | Notes |
@@ -204,7 +281,9 @@ the 26.2 comparison. Sprint 139 added OpenTelemetry (24.2), found missing by the
204
281
  | Data Reporter: self-service reports for business users (26.1) | ✅ | A **Data Reporter** region ([chapter 4](guide/04-pages-and-regions.md#data_reporter-data-reporter)): the developer offers tables and views with chosen columns, labels and format masks; signed-in users pick columns, filter, group with totals (count, sum, average, minimum, maximum), sort and chart, and save reports privately or shared with the app's users. Runs as the app's role (grants and RLS apply); works without JavaScript and fits phones. (sprint 68) A **welcome page** like 26.1's: a greeting (the developer's own, or pgkiln's), the sources as cards that start a report, the user's reports latest first, shared ones, and a search. One source per report (offer a view to combine tables); no downloads from a reporter yet (sprint 110) **A workspace tool too**: App Builder → **Data Reporter** ([chapter 3](guide/03-builder.md#data-reporter-datasets-and-reporting-applications)) keeps **datasets** (tables and views of one schema with joins proposed from foreign keys, offered columns with labels, masks and descriptions, a row filter; files and the workspace export) and makes a **reporting application** on them in two clicks: viewers open published reports by a stable URL and pin them, editors build and publish, administrators moderate; every report runs as the application's SELECT-only role through RLS. |
205
282
  | REST Source Catalogs (Workspace Utilities) | ✅ | (sprint 67) Workspace utilities → **REST Source Catalogs**: a workspace's web services with a base URL and services, from an **OpenAPI 3 / Swagger 2.0** document (file, pasted or read from a URL on the allow-list), a catalog file or by hand: parameters (under the service's own names), row selector, typed columns and write-back operations from the response schemas and collection/item paths, with notes on what can't be used. An application's *REST data sources → From a REST source catalog* makes a data source from a service, with its own web credential ([chapter 19](guide/19-rest-data-sources.md#rest-source-catalogs)). **Missing:** YAML documents (convert to JSON), APEX's built-in catalogs (e.g. Oracle Fusion) |
206
283
  | JSON sources, duality views (24.2) | ➖ | PostgreSQL `jsonb` works in any SQL region, form or grid source |
207
- | Remote servers / database links | ➖ | `postgres_fdw` or `dblink` |
284
+ | Remote Servers (Workspace Utilities): a named base URL per environment for REST data sources, catalogs and AI services | ✅ | (sprint 141, AP-7) Workspace utilities → **Remote servers** ([chapter 19](guide/19-rest-data-sources.md#remote-servers)): a static id, this installation's base URL and/or an environment variable `PGKILN_SERVER_<NAME>` that wins when set, and a default web credential. REST data sources (a server and a path), REST source catalogs and AI services name a server, so changing it moves every source at once; the resolved URL passes the allow-list, the workspace's network access list (which shows each server's host) and the address checks. In the workspace export (an existing server keeps its local URL) |
285
+ | Static Workspace Files (`#WORKSPACE_FILES#`), workspace-level Web Credentials | ✅ | (sprint 141, AP-7) Workspace utilities → **Static workspace files**: CSS, JavaScript, images and fonts with the static application files' types (no HTML), size limit and headers, served to each application of the workspace at `/a/<alias>/workspace-files/<name>`, loaded with `#WORKSPACE_FILES#name` and written as `#WORKSPACE_FILES#` / `#APP_FILES#` in HTML and templates ([chapter 16](guide/16-files.md#static-workspace-files)). **Web credentials** of the workspace, used by name by its applications (an application's own of the same name wins); secrets encrypted, write-only, never exported. Both in the workspace export |
286
+ | Remote database regions (REST Enabled SQL), database links | ➖ | Not built: regions on another database were left out of sprint 141. `postgres_fdw` or `dblink` bring another PostgreSQL database's tables into the application's own |
208
287
  | E-mail: `APEX_MAIL`, the Send E-Mail process, e-mail templates | ✅ | (sprint 50) `meta.send_mail`, `meta.send_mail_template`, `meta.add_mail_attachment` and `meta.mail_status`, queued in the caller's transaction and sent by the server after the commit with retries; the **send_email** process; Shared Components → **E-mail templates** (`#NAME#` escaped in HTML, `#NAME!RAW#`; exported). Further than APEX (SMTP with a password only, through `UTL_SMTP`): **mail services** for SMTP with a password or **OAuth2** (XOAUTH2, e.g. Exchange Online after the end of basic authentication), **Microsoft 365 through Graph**, **Amazon SES**, **Resend, Postmark, SendGrid and Mailgun**, or log only; encrypted write-only secrets, allowed senders, a service, From address and daily limit per application, a mail log with retry and cancel ([chapter 6](guide/06-processing.md#sending-e-mail)). No bounce or delivery webhooks, no mail in workflows other than from SQL steps |
209
288
 
210
289
  ## Workflow, automation and AI
@@ -379,9 +458,9 @@ Sources: [APEX 26.2 new features](https://docs.oracle.com/en/database/oracle/ape
379
458
  | Plug-ins, Component Settings | The same names (User Interface; component settings sprint 83): rows per page of reports, grids and popup lists of values, list of values rows, star rating stars |
380
459
  | Component Groups | The same name (Other Components, sprint 83): a library application's lists of values, authorization schemes, build options, template components and lists, subscribed to at once; Page Groups for pages |
381
460
  | Progressive Web App | Settings → Progressive Web App |
382
- | Static Application Files, Static Workspace Files | Static Application Files; workspace files ➖ not planned |
461
+ | Static Application Files, Static Workspace Files | Static Application Files; Static workspace files in Workspace utilities (sprint 141) |
383
462
  | Report Layouts, Report Queries | The same names (Files and Reports, sprint 82): a report query is one query printed as PDF with a report layout, Excel, CSV, JSON, XML or HTML (`?doc=NAME`, document buttons); APEX's several queries for one layout: a document template's JSON columns |
384
- | REST Data Sources, Web Credentials, REST Enabled SQL, Data Load Definitions | The same names (Data Sources); REST Enabled SQL ➖ not planned (one database) |
463
+ | REST Data Sources, Web Credentials, REST Enabled SQL, Data Load Definitions | The same names (Data Sources); web credentials of the workspace and Remote Servers in Workspace utilities (sprint 141); REST Enabled SQL ➖ not planned (one database) |
385
464
  | Workflows, Task Definitions, Automations | The same names |
386
465
  | Text Messages, Translate, Dynamic Translations, Globalization Attributes | Translations and Text Messages, Dynamic Translations, Settings → Globalization |
387
466
  | Map Backgrounds | ➖ Not planned per application: the installation's map tile server (`MAP_TILE_URL`) is every map's background |
@@ -189,6 +189,7 @@ which is read at startup; real environment variables take precedence.
189
189
  | `PGKILN_OLD_SECRET_KEY` | *(none)* | (0.67) Only for `pgkiln admin rotate-key`: the key the secrets are stored with now |
190
190
  | `PGKILN_REST_ALLOWED_HOSTS` | *(none: no outgoing calls)* | Hosts REST data sources and `invoke_api` may call: `api.example.com`, `*.example.com`, `host:8443`, `*` (any public host) ([chapter 19](19-rest-data-sources.md#server-configuration-and-the-allow-list)); a workspace's [network access list](03-builder.md#network-access) can narrow it, and the SMTP server of a workspace's own mail service must be on it |
191
191
  | `PGKILN_REST_PRIVATE_HOSTS` | *(none)* | Hosts that may resolve to private, loopback or link-local addresses (also allows them) |
192
+ | `PGKILN_SERVER_<NAME>` | *(none)* | (sprint 141) The base URL of a [remote server](03-builder.md#static-workspace-files-remote-servers-and-web-credentials) that names this variable, e.g. `PGKILN_SERVER_CRM=https://crm.example.com`: it wins over the URL stored with the server, so each environment (development, test, production) sets its own. Only names starting `PGKILN_SERVER_` can be used |
192
193
  | `PGKILN_PUSH_HOSTS` | the browsers' push services | The hosts push notifications may be posted to: `fcm.googleapis.com,updates.push.services.mozilla.com,web.push.apple.com,*.notify.windows.com` when unset ([chapter 17](17-mobile.md#push-notifications)) |
193
194
  | `PGKILN_PUSH_SUBJECT` | `PUBLIC_URL` when it is https | The contact the push services see (`mailto:ops@example.com` or an https URL); Apple refuses notifications without one |
194
195
  | `PGKILN_PUSH_PRIVATE_HOSTS` | *(none)* | For tests only: a push service on a private or loopback address, also over plain http |
@@ -226,7 +226,7 @@ department. Every installation has the **Default** workspace, which holds the ap
226
226
  current workspace; a working copy stays in its main application's workspace. Imports made with the command line
227
227
  (`pgkiln import`) go into Default. Exports don't carry the workspace.
228
228
  - **Workspace utilities**: tiles for users and sign-in, application groups, the App Gallery, developers, the SQL
229
- Workshop and the dashboard (and, for administrators, instance settings, workspaces, AI and mail services and the
229
+ Workshop, the dashboard, [static workspace files, remote servers and web credentials](#static-workspace-files-remote-servers-and-web-credentials) (and, for administrators, instance settings, workspaces, AI and mail services and the
230
230
  installation), with **Cross Application Reports** in the side column (APEX: Cross Application Reports), each over
231
231
  every application of the current workspace: *Application attributes* (type, sign-in, availability, build status,
232
232
  debug level, language, database role), *Build options*, *Developer comments*, *Authentication* (sign-in methods,
@@ -332,6 +332,9 @@ applications' files. Choose what goes in:
332
332
  | SQL scripts, blueprints, data generators | The SQL Workshop's saved work |
333
333
  | Data Reporter datasets | Every [dataset](#data-reporter-datasets-and-reporting-applications) (sprint 110) |
334
334
  | Team Development | [Label groups, labels, milestones, templates and issues](#team-development) with their comments and history; an issue's application by alias (sprint 113) |
335
+ | Static workspace files | Every [file](#static-workspace-files-remote-servers-and-web-credentials), its content in base64 (sprint 141) |
336
+ | Remote servers | Static id, name, base URL, environment variable, default credential; on import an **existing server keeps its own base URL** (it is per installation), a new one takes the file's (sprint 141) |
337
+ | Web credentials | The workspace's web credentials **without their secrets**: a new one gets its secret entered after the import, an existing one keeps its own (sprint 141) |
335
338
 
336
339
  Never in the file: the workspace's name, its [isolation](#isolated-workspaces) and database roles, its
337
340
  [mail service](#a-workspaces-own-mail-service) and [network access list](#network-access) (installation-specific, like
@@ -351,6 +354,37 @@ Utilization), for administrators and the workspace's administrators: the number
351
354
  page views of the last 30 days and SQL scripts; per application its pages, regions, items, page views, users and the
352
355
  size of its static files; and the schemas the workspace's database roles use with their tables and storage.
353
356
 
357
+ ### Static workspace files, remote servers and web credentials
358
+
359
+ What every application of a workspace shares (sprint 141; APEX: *Static Workspace Files*, *Remote Servers* and
360
+ workspace-level *Web Credentials*). Three tiles of Workspace utilities, for the **current workspace**: its developers
361
+ see them, its administrators (and the installation's) add, change and delete. Nothing here reaches another workspace:
362
+ another workspace's file is never served to an application, its servers and credentials are never found.
363
+
364
+ - **Static workspace files** (`/builder/workspace-files`): CSS, JavaScript, JSON, images and fonts, with the same
365
+ names, types (no HTML), 5 MB limit and headers as [static application files](#static-application-files). Each
366
+ application serves them from its own address, `/a/<alias>/workspace-files/<name>`, so the Content-Security-Policy
367
+ stays `script-src 'self'`. An application loads one on every page with `#WORKSPACE_FILES#brand.css` in *Every page
368
+ loads* (Shared Components → Static application files; a page: Page → Appearance → JavaScript and CSS files), next to
369
+ its own files; HTML, templates, list entries and links write `#WORKSPACE_FILES#logo.png` and
370
+ `#APP_FILES#guide.pdf`, which become those addresses. The *Loaded by* column says which applications (and pages)
371
+ load a file. The builder's preview of a file is sandboxed.
372
+ - **Remote servers** (`/builder/remote-servers`): a **static id** (`CRM`), a name, this installation's **base URL**
373
+ (`https://crm.example.com/api`, no trailing slash) and/or an **environment variable** `PGKILN_SERVER_<NAME>` that
374
+ holds it (it wins when the server's environment sets it: one value per environment; only names starting
375
+ `PGKILN_SERVER_`, so no other variable becomes a URL), and an optional **default web credential**. A
376
+ [REST data source](19-rest-data-sources.md#remote-servers), a [REST source catalog](19-rest-data-sources.md#rest-source-catalogs)
377
+ and an [AI service](#ai-services) name a server and a path instead of a full URL: changing the server moves all of
378
+ them at once. The list shows the URL now (and where it comes from), whether the [network access](#network-access)
379
+ lists let it through, and what uses each server. Renaming a static id moves this workspace's sources and catalogs
380
+ along. The URL still passes every check a full URL does.
381
+ - **Web credentials** (`/builder/workspace-credentials`): the [web credentials](19-rest-data-sources.md#web-credentials)
382
+ of the workspace (basic, header, bearer, OAuth2, object storage), which its applications use **by name** wherever a
383
+ credential is named: REST data sources, the Invoke API process and workflow step, `meta.web_request`, remote servers,
384
+ object storage. An application's own credential with the same name wins (the page lists which applications override
385
+ one). Secrets are encrypted with `PGKILN_SECRET_KEY`, write-only, never exported and never readable by the runtime
386
+ role; `pgkiln admin rotate-key` and the lockout checks include them.
387
+
354
388
  ### Isolated workspaces
355
389
 
356
390
  On a workspace's page an administrator chooses **Isolate this workspace** (Workspace utilities → Workspaces → the
@@ -1464,7 +1498,7 @@ APEX's *Static Application Files*: JavaScript, CSS, JSON, images and fonts that
1464
1498
  application. **Shared Components → Static application files** uploads them (several at once; a
1465
1499
  file with the same name is replaced), writes and edits text files in the browser, renames and
1466
1500
  deletes them. They are served from the application's own address,
1467
- `/a/<alias>/static/<name>`, to anyone (like APEX's `#APP_FILES#`), so don't put secrets in them,
1501
+ `/a/<alias>/static/<name>`, to anyone (`#APP_FILES#` in HTML and templates, as in APEX; sprint 141), so don't put secrets in them,
1468
1502
  and they are part of the export (section `static_files`, base64; in a directory export the files
1469
1503
  themselves under `static/`).
1470
1504
 
@@ -1476,7 +1510,8 @@ themselves under `static/`).
1476
1510
  application includes, in order; a page adds its own under **Page → Appearance → JavaScript and
1477
1511
  CSS files** (APEX's *JavaScript File URLs* and *CSS File URLs*). Scripts load with
1478
1512
  `<script src defer>` after pgkiln's own, stylesheets with `<link>`; a name that is not uploaded
1479
- yet is left out until it is. Renaming a file updates both lists.
1513
+ yet is left out until it is. Renaming a file updates both lists. `#WORKSPACE_FILES#name` in either list loads a
1514
+ [static workspace file](#static-workspace-files-remote-servers-and-web-credentials) (sprint 141).
1480
1515
  - **Caching**: pages link to `…/static/<name>?v=<version>`, which browsers keep for a year; a
1481
1516
  change gives a new version. A link without `?v=` is checked again every time (with an ETag).
1482
1517
  - **The Content-Security-Policy stays strict** (`script-src 'self'`): code runs only from these
@@ -1753,6 +1788,11 @@ fails with *The host … is not on the network access list of workspace …*, is
1753
1788
  (level 2, warning, for `meta.web_request` in a page process; level 1 for regions and processes) and appears under
1754
1789
  **Refused calls** (kept 7 days). **Check a URL** says whether a URL may be called, without calling it.
1755
1790
 
1791
+ **Remote servers** (sprint 141): the page lists the host each of the workspace's
1792
+ [remote servers](#static-workspace-files-remote-servers-and-web-credentials) stands for now, where its URL comes from
1793
+ (base URL or environment variable) and whether a call to it would pass; under the workspace's own list it names the
1794
+ servers on each entry.
1795
+
1756
1796
  Not covered by a workspace's list: the installation's own services, which only administrators configure (installation
1757
1797
  mail services, AI services, the geocoder, sign-in providers) and push notification services (their own list,
1758
1798
  `PGKILN_PUSH_HOSTS`).
@@ -1778,7 +1818,10 @@ large language model services of this installation. A service has:
1778
1818
  - the **maximum output tokens** per request (1–128,000) and a **time limit** (5–600 seconds; pages
1779
1819
  wait for the answer);
1780
1820
  - an optional **base URL** for a gateway or proxy that speaks the provider's API (calls to the AI
1781
- service don't go through `PGKILN_REST_ALLOWED_HOSTS`: only administrators set this URL);
1821
+ service don't go through `PGKILN_REST_ALLOWED_HOSTS`: only administrators set this URL), or
1822
+ (sprint 141) a **remote server** of any workspace plus a path (the service's page, *Remote server*):
1823
+ the service then calls the server's URL of the moment, so moving the endpoint changes one value. The
1824
+ API key is sent to that URL: choose a server whose workspace administrators you trust with it;
1782
1825
  - the **API key**: stored encrypted with `PGKILN_SECRET_KEY`, write-only (never shown again, never
1783
1826
  exported or logged, not readable by applications, never sent to the browser). Without one the
1784
1827
  server's `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `GEMINI_API_KEY` or `OPENAI_COMPATIBLE_API_KEY`
@@ -14,6 +14,7 @@ A page has a number (unique in the app), a name, a title, and these behaviours:
14
14
  | `authz` | scheme name | Who may open it (403 otherwise) |
15
15
  | `protection` | `checksum`, `unrestricted` | Whether URL item values need a checksum |
16
16
  | `warn_unsaved` | boolean | Ask before the user leaves the page with unsaved changes, see [below](#warn-on-unsaved-changes) |
17
+ | `help` | Markdown | (140; APEX: Page → Help Text) The page's help text, with `&ITEM.` substitutions; a [`help_text` region](#breadcrumb-and-help_text) shows it. At most 20,000 characters |
17
18
 
18
19
  ### Warn on unsaved changes
19
20
 
@@ -170,6 +171,7 @@ database only checks the shape (at most 12 names of lower case letters, digits a
170
171
  | Type | Purpose |
171
172
  |---|---|
172
173
  | [`report`](#report-interactive-report) | Read-only table from a SELECT, with search, filters, sorting, control break, aggregates, highlights, computed columns, group by, pivot and chart views, row selection, saved reports, paging and CSV/Excel/PDF download |
174
+ | [`classic_report`](#classic_report-classic-report) | (140) A report without the Actions menu and the interactive features: a table, value/attribute pairs, a badge list or a media list, with a choice of pagination |
173
175
  | [`grid`](#grid-interactive-grid) | Editable table on one database table, with aggregates, frozen, movable and resizable columns, saved grid reports, a row actions menu, master-detail, copy/paste of cells, and single row, group by and chart views |
174
176
  | [`form`](#form) | Fields for one row of a table, with automatic fetch and save |
175
177
  | [`chart`](#chart) | Bar, column, stacked, line, area, combo, scatter, bubble, donut, pie, gauge, funnel, radar, Gantt, pyramid, polar, range, box plot, stock, treemap, sunburst or timeline chart from a SELECT, with drill-down links |
@@ -189,6 +191,8 @@ database only checks the shape (at most 12 names of lower case letters, digits a
189
191
  | [`search`](#search-search-region) | One search field over several sources (search configurations), results grouped per source |
190
192
  | [`url`](#url-url-region) | Another site's page (or a page of this server) in a sandboxed frame |
191
193
  | `login` | The sign-in form of the application's own login page (no attributes): identity providers, user name and password, *Keep me signed in*, *Forgot password?*; see [chapter 8](08-security.md#the-login-page) |
194
+ | [`breadcrumb`](#breadcrumb-and-help_text) | (140) The page's breadcrumb trail, for the Breadcrumb bar position |
195
+ | [`help_text`](#breadcrumb-and-help_text) | (140) The page's help text |
192
196
  | [`static`](#static-and-dynamic-content) | Fixed HTML with `&ITEM.` substitutions |
193
197
  | [`dynamic`](#static-and-dynamic-content) | HTML produced by a SELECT |
194
198
 
@@ -403,7 +407,7 @@ Attributes (most of them are also in the page designer's **Report settings** for
403
407
  | `max_rows` | none | Maximum row count: the report, its total and its downloads read at most this many rows (1 to 1,000,000) |
404
408
  | `lazy` | `false` | Load the region after the page shows (see [large tables](#large-tables)) |
405
409
  | `cache` | none | Keep the rendered region: `{"scope": "user" \| "session" \| "all", "seconds": 300}` |
406
- | `searchable` | `true` | Show the search box (`false` = a "classic report") |
410
+ | `searchable` | `true` | Show the search box (`false`: no search, no Actions menu; or use a [`classic_report`](#classic_report-classic-report)) |
407
411
  | `fulltext` | none | (sprint 135) A `tsvector` column of the source that the search box also uses: a row is found when its text contains the search text, **or** its tsvector matches it (`websearch_to_tsquery`: stemmed words, `"phrases"`, `or`, `-word`). It may be a `hidden` column (you chose it). Without it, the only `tsvector` column the user may see is used, if there is one. Not with a search in one column |
408
412
  | `fulltext_config` | language's | (sprint 135) The text search configuration of that search (`english`, `dutch`…, the one the tsvector was made with); by default the application's primary language's, else `simple`. Only names in `pg_ts_config` are used |
409
413
  | `interactive` | `true` | Show the Actions menu (only when searchable) |
@@ -432,6 +436,25 @@ downloads; highlights, aggregates and the group by, pivot and chart views are sh
432
436
 
433
437
  ---
434
438
 
439
+ ### `classic_report` (classic report)
440
+
441
+ (sprint 140; APEX: Classic Report) A report from a SELECT without the Actions menu, column heading
442
+ menus, saved reports, downloads or row selection: the same renderer as the interactive report
443
+ with those left out, and none of their settings is read from the URL. Users can sort by a column
444
+ heading (`"sortable": false` leaves that out) and page; a search field only with
445
+ `"searchable": true`. Items placed in the region show above it, as filters for its query.
446
+
447
+ | Attribute | Default | Meaning |
448
+ |---|---|---|
449
+ | `report_template` | `"standard"` | `standard`: a table (a card per row on phones, `"mobile": "scroll"` keeps the table); `value_pairs`: each row as headings and values (APEX: Value Attribute Pairs); `badges`: the first column as the label and the second as a large value (APEX: Badge List); `media_list`: a title (column `title`, else the first) and a text (`description`, `text` or `body`, else the second), the title a link with `link` |
450
+ | `pagination` | `"total"` | `total`: rows X–Y of Z; `range`: rows X–Y without counting them all; `none`: every row on one page (at most `max_rows`, 500) and no pager |
451
+ | `page_size` | 15 | Rows per page (the user has no rows-per-page choice) |
452
+ | `headings`, `hidden`, `formats`, `link`, `empty`, `max_rows`, `lazy`, `cache` | | As for [`report`](#report-interactive-report) |
453
+
454
+ ```json
455
+ {"report_template": "badges", "pagination": "none"}
456
+ ```
457
+
435
458
  ### `grid` (interactive grid)
436
459
 
437
460
  An editable table on **one** table. Required properties: `table_name` (e.g. `hr.dept`),
@@ -1791,6 +1814,23 @@ Attributes:
1791
1814
  {"height": 640, "sandbox": ["allow-scripts", "allow-same-origin"], "fullscreen": true}
1792
1815
  ```
1793
1816
 
1817
+ ### `breadcrumb` and `help_text`
1818
+
1819
+ (sprint 140; APEX: Breadcrumb and Help Text regions)
1820
+
1821
+ - **`breadcrumb`**: the page's breadcrumb trail as links: the pages above it by their *Breadcrumb
1822
+ parent* (else the home page), the ones the user may open, then the current page's title
1823
+ (`{"current": false}` leaves that out). Put it in the **Breadcrumb bar** position with template
1824
+ `plain`, which is where the Page Designer's gallery puts one. A page with a breadcrumb region
1825
+ shows the trail only there: its title bar leaves its own out.
1826
+ - **`help_text`**: the page's **Help text** (Page Designer → page properties → Help), Markdown with
1827
+ `&ITEM.` substitutions; item values stay text (no Markdown or HTML of their own). HTML in the help
1828
+ text itself is shown as text, links to `javascript:` are not links. Without a help text the region
1829
+ says *No help is available for this page.* (the runtime message `region.no_help`), or
1830
+ `{"empty": "…"}`.
1831
+
1832
+ HR page 50 (*Project team*) has both, and two classic reports.
1833
+
1794
1834
  ### `static` and `dynamic` content
1795
1835
 
1796
1836
  - **`static`**: `source` is HTML written by the developer, with `&ITEM.` substitutions