Repository navigation
GitHub issues fixing - #2215
Merged
Merged
GitHub issues fixing#2215
Conversation
…p lists and docs
Data sources
- node-service plugins send the headers of the data source and of the query,
{{ }} expressions in query headers included; DuckDB, Firebird and Firebase,
which cannot send any, no longer offer the field (#1607)
- SQL results answer whole numbers beyond the JavaScript safe range as strings (#1910)
- SMTP data sources have a TLS mode: STARTTLS when offered (default), STARTTLS
required, or implicit SSL/TLS (#2112)
- the GraphQL data source form accepts a URL whose host has no dot (#1682)
- the authentication types of the data source forms are translated (#1609)
- Lowcoder API plugin action labels are corrected (#1959, #1955)
Components and scripts
- links in editable table cells work in preview and view (#1778)
- the Google Sheets change-set field follows the selected query (#1649)
- "Allow Custom Tags" works in single select and is offered only where it has an
effect (#2197)
- utils.resetPassword resolves true on success and rejects on failure (#2034)
- stream queries read binary frames and report frames that are not JSON (#1839)
- permanently hidden columns are not listed in the column chooser (#1983)
- the module component menu no longer offers a playground it does not have (#1953)
- toasts keep line breaks (#2206)
App lists
- the app list and the marketplace show, sort and search the title, falling back
to the name (#2024, #887)
Documentation
- the OpenAPI document path and the self-hosting quickstart are corrected, and
CI checks both (#1835, #1774)
Behaviour changes
- large SQL whole numbers are strings instead of rounded numbers
- utils.resetPassword now rejects on failure
- headers saved on node-service data sources and queries now reach the server
Tests: unit tests in client, api-service and node-service, and end-to-end specs
for the fixed behaviour, with opt-in MySQL and SMTPS sidecars.
…r and workspace defects - bound values follow while actions keep arriving: a running timer no longer holds back the redraw of the app, which now happens at least every 100 ms - a hidden floating button component is not drawn in the published view - the titles of the two transfer lists are no longer swapped - Format (Mod-L) works in JSON editors - the Table Lite column chooser can be opened when it is the only toolbar icon - a super admin who is the only administrator of a workspace cannot leave it (#2164) Behaviour changes - an app that swapped its two transfer titles to compensate has to swap them back Tests: unit tests in client and api-service, and end-to-end specs for the timer, floating button, transfer and column chooser behaviour.
… data sources A remote status outside 200-299 returned a successful result holding the error body. The query now fails with the status, reason and body: the body is cut at 1000 characters, the data source's secrets are masked in it, and it stays out of the service log.
…Supabase DynamoDB writes arrays as lists (sets only as typed values), and returns binaries as base64 and numbers a double cannot hold as strings. Turso returns blobs as base64 and integers outside the safe range as strings. S3 and Supabase uploads refuse text that is not base64, and accept a data URL.
Leaving and removal already refused this; changing the role did not. Two simultaneous changes of the last two admins can still both pass.
…settings api-service logs a warning at startup while LOWCODER_API_KEY_SECRET is a value published in this repository, and a signed token without a user id is answered with 401. LOWCODER_MAX_REQUEST_SIZE now applies to api-service, the new LOWCODER_MAX_QUERY_RESPONSE_SIZE (default 20m, as before) limits the answer of a REST API or GraphQL query, and a size that cannot be read stops the startup. node-service no longer refuses encrypted requests that are within the limit. The end-to-end README is updated for this and the three preceding commits.
The cell was drawn empty for any value without a matching option, including free text in a summary row. The value is now shown as written, as the Select component does.
The event handlers page had no section on the action. It now says that the script fails with a SyntaxError shown only in the browser console, and gives the async wrapper.
… ended session leads to the workspace sign-in After a form sign-in, sign-up or admin sign-in the client opened the page it had saved when it sent the visitor away without checking it, so an address on another site was followed. Only a page of this site is opened now, anything else opens the home page. A 401 on a page a signed-in user had open sent the visitor to the general sign-in page. It now names the user's workspace, which a second 401 arriving after the sign-out keeps for five seconds. Refs #1189
…epends on The query ran 600 ms after its view mounted whether or not a module it calls was ready, and failed with "module1.method1 is not a function". A module that is still loading now marks the queries that use it as not ready. A JavaScript page-load query runs once its dependencies are ready, which also makes one that reads another page-load query's data run, where it never did. A query that is still waiting after ten seconds runs anyway. Refs #483
Table Lite's Select column now renders through the same view as the Table column, so a value that matches no option is shown as written. The view also accepts an undefined value.
The form of a JSON Schema Form component was handed the app's data again one debounced render after the typing. A copy of the typed data counted as changed fields for the form, which dropped their validation errors, so a submit inside that window showed no error and ran no handler. The form now keeps the data it reported until the app's data differs from it, and the container width is held outside the view so that a width change renders no form.
A cached Flux that was subscribed to again before it had completed could stall the response of the application, data source, folder, query library and organization listings when a filter dropped an item. The listings now collect the whole result before they cache it (FluxHelper.cacheCompletely), and a test reads the sources to flag a bare cache() at the end of a Flux chain.
…intact - DynamoDB: lists are written as lists (sets only through typed values), numbers beyond the safe integer range are read as strings, binaries as base64, and a plain ExclusiveStartKey is wrapped. - Turso: integers above 2^53 are strings, blobs are base64, and a failed statement reports its message instead of an object. - S3 and Supabase Storage: invalid base64 is rejected (a data-URL prefix is stripped), an empty bucket is refused for every operation, and listObjects keeps the common prefixes. - CouchDB: docGet no longer requires an If-None-Match header. - WooCommerce and n8n: a server URL with a trailing slash no longer gets the API path appended twice. - OpenAPI-runner plugins fail a query on a non-2xx answer with its status and body.
… the canvas The canvas of a module's editor had an id of its own, so overlays were drawn into the page, covered the whole editor and blocked the insert panel. The canvas carries the shared canvas container id again, so an overlay is drawn inside it as in the app editor.
The editor sends, with each save, the id of its page load and the number of the save within it. The server keeps the last number it accepted for the page load and refuses an older save (409, code 5310), so a save that was retried or delayed and reaches the server after a newer one can no longer replace it. A save without the two parameters is handled as before; a half-sent or invalid pair is rejected.
…, is not lost The editor took the first throttled change as its baseline and never sent a save that failed. It now saves every change, tells the user while a change is not saved yet, and sends a failed save again with a growing delay while the tab is open. A refused save (a conflict, a permission) is reported instead of retried. Each save carries the id of the page load and its number, which the server uses to refuse an older save that arrives late. The end-to-end suite drops the retry that hid a lost save and the reporter that counted it, and gains tests for the retry and for the order of saves.
- Table tests cover the row, cell, expansion and column state of the Table and Table Lite components, and each sibling keeps its own state. - A shared expansion context and the empty-row constant live in their own modules, so the table files no longer import each other in a cycle. - Async rejection checks are awaited, the evaluator test replaces the page's fetch so that no request leaves the test, and the navigator mock reports online.
…nition is ready When a module instance was pointed at another module app, it stayed ready with the previous app's definition, so the queries that wait for modules could run against it. The instance is now loading again until the definition of the new app arrives, and a late definition or readiness answer of the previous app is ignored. Refs #483
The two new save-order errors had an English text only, which the message key bundle test reports.
The super admin account is created by a migration that runs after the API starts, so the API answers 13 to 25 s before the account can sign in. A sign-in in that window was refused as an invalid email or password, which failed the super admin, enterprise and takeover tests. The run script now polls the sign-in from inside the app container, with the password read from the container's environment and sent on stdin.
…plicate workspace memberships On a new database the super admin job ran while change set 001 built the unique index of the relations. The super admin's own sign-in joins the first workspace in enterprise mode, so it could write a membership row of the same pair between the job's workspace save and its own membership step; the index build then failed on the duplicate, the API stopped and the proxy answered 502 until supervisor restarted it (about one enterprise start in five). The start-up job is now an application runner ordered after the migration runner and awaited; a failing setup is logged and the start goes on. The creator's membership step takes an existing row of the pair and raises its role, never lowers it, and only a collision of that insert is taken. Change set 001 removes identical membership rows before it builds the index, so a database that already aborted starts.
…was a guess The 502 that the tests' first sign-in met was the API restarting, not the empty current-user answer the wait covers.
The first start on a machine initialises the data directory, which took 5 min 15 s on a slow disk; the 2 minute wait failed every test of the module there. With the longer wait the 23 tests pass.
Deploying lowcoder-cloud with
|
| Latest commit: |
e43f8c7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ff6b1ceb.lowcoder-cloud.pages.dev |
| Branch Preview URL: | https://github-issues-fixing.lowcoder-cloud.pages.dev |
|
…equest A module whose app definition fails to preload now logs the failure instead of leaving a rejected promise unhandled, and no longer marks the module ready. The three test classes no longer dereference values Sonar sees as possibly null, and the cached-flux guard replaces a redundant regex alternative and a nested repetition with a small parenthesis scanner that accepts the same inputs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Proposed changes
Fixes for various github reported issues.
Types of changes
What types of changes does your code introduce to Lowcoder?
Put an
xin the boxes that apply.Checklist
You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.
Put an
xin the boxes that apply.Further comments
n/a