Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
6f27959
fix: Invalid Date Display in Table Widget's Date Column When Using Un…
jacquesikot Sep 30, 2024
3484a7b
fix: removing unused dependencies and explicitly installing used ones…
KelvinOm Sep 30, 2024
a6c109b
feat: allow multiple lines in alert component (#36126)
saiprabhu-dandanayak Sep 30, 2024
dc2ab49
fix: updating migration repo for DSCrudAndBindings spec (#36452)
Sep 30, 2024
37c2cf5
fix: clicking on + in list view does not create a new query (#36467)
a6hishekpandey Sep 30, 2024
2090919
test: replace 3rd party api with TED (#36594)
NandanAnantharamu Sep 30, 2024
bb11bf5
chore: create appsmith schema for postgres (#36591)
AnaghHegde Sep 30, 2024
367ac87
chore: Add logs for default DB url for CI test workflows (#36506)
abhvsn Oct 1, 2024
2e2146d
fix: Release blocker: toast with whitespace (#36629)
albinAppsmith Oct 1, 2024
241dfa8
test: replaced 3rd party apit in treeSelect (#36598)
NandanAnantharamu Oct 1, 2024
05d3822
fix: Amazon S3 large file uploads issue fixed (#36584)
sneha122 Oct 1, 2024
17d5d6e
chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (…
mohanarpit Oct 1, 2024
00fb934
fix: updated the max connection pool size and datasourceDestroy metho…
NilanshBansal Oct 2, 2024
f454d83
chore: Updated zone and section to extend HTML attributes (#36623)
albinAppsmith Oct 2, 2024
4f50141
fix: Revert "feat: allow multiple lines in alert component" (#36643)
albinAppsmith Oct 2, 2024
f49cf0a
fix: remove redundant eval trigger (#36433)
Oct 2, 2024
03abcfe
chore: WDS Refinement inner spacing (#36505)
ichik Oct 2, 2024
688324e
chore: Adding the GraphQLEditorForm for the modularised flow (#36633)
ankitakinger Oct 2, 2024
40c4a66
chore: Bust OAuth2 client cache for spring boot 3.3 (#36660)
nidhi-nair Oct 2, 2024
25e83f6
fix: fixed mysql plugin tests by closing the connections (#36657)
NilanshBansal Oct 2, 2024
b582098
fix: Revert "fix the gitSync related issue" (#36658)
Oct 3, 2024
0e5f5f7
fix: Revert PageSaga changes (#36666)
Oct 3, 2024
177636d
chore: Updated doc urls (#36634)
sagar-qa007 Oct 3, 2024
a01edff
chore: fetch spec with removed third party (#36636)
sagar-qa007 Oct 3, 2024
877ee4c
chore: message string added for links (#36678)
Oct 3, 2024
9e2fb95
feat: init AI chat widget (#36610)
znamenskii-ilia Oct 3, 2024
24e144e
chore: Add grants for appsmith user for embedded postgres (#36664)
abhvsn Oct 4, 2024
799ccd0
chore: add TBP failures to postgres channel (#36630)
AnaghHegde Oct 4, 2024
d1e788b
chore: add ai chat to wds config map (#36687)
jsartisan Oct 4, 2024
cf0bfa5
fix: Fix shareapp case due to load issue (#36627)
sagar-qa007 Oct 4, 2024
62a208c
fix:Ensure alert message triggers only once when onDropdownClose in s…
prasad-madine Oct 4, 2024
4f70e6d
chore: [Plugin Action Editor] Query forms in Plugin Action Form (#36684)
hetunandu Oct 4, 2024
c0f7fa7
chore: Updated another set of third party urls (#36571)
sagar-qa007 Oct 4, 2024
e495422
feat: add AIChat stories and tests (#36700)
znamenskii-ilia Oct 4, 2024
b447e6a
chore: decoupled svg imports from main bundle (#36662)
vsvamsi1 Oct 5, 2024
67c9ae2
fix: Clear all session for Spring upgrade (#36695)
nidhi-nair Oct 7, 2024
28e54fe
chore: span push and sentry logs (#36682)
ApekshaBhosale Oct 7, 2024
95010fd
fix: remove cache control headers for requests handled with an error …
Oct 7, 2024
3ff67d3
test: Update Inline_editing_3_spec.js to include expected JSON parsin…
rahulbarwal Oct 7, 2024
56e7f89
chore: removed old flags for airgap instances (#36609)
Oct 7, 2024
8e9b843
test: udpated files by removing un-used APIs (#36705)
NandanAnantharamu Oct 7, 2024
5493893
Merge branch 'master' of github.com:appsmithorg/appsmith into release
abhvsn Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/ci-test-custom-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,22 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: app/client/package.json

- name: Check DB URL
if: steps.run_result.outputs.run_result != 'success'
run: |
db_url=$(grep -oP 'APPSMITH_DB_URL=\K[^ ]+' cicontainerlocal/stacks/configuration/docker.env || echo "")
if [[ -z "$db_url" ]]; then
echo "::error::APPSMITH_DB_URL not found in the environment file"
exit 1
fi
if [[ $db_url == "postgresql"* ]]; then
echo "Database type: Postgres. Ensure PostgreSQL-specific configurations are in place."
elif [[ $db_url == "mongo"* ]]; then
echo "Database type: MongoDB. Verify MongoDB connection settings if issues arise."
else
echo "::warning::Unknown database type. Please verify the database configuration."
fi

# actions/setup-node@v4 doesn’t work properly with Yarn 3
# when the project lives in a subdirectory: https://github.com/actions/setup-node/issues/488
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/server-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:

- name: Figure out the PR number
run: echo ${{ inputs.pr }}

- name: Default database URL
run: echo "Is this a PG build? ${{ inputs.is-pg-build }}"

- name: Print the Github event
run: echo ${{ github.event_name }}
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/test-build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -499,3 +499,32 @@ jobs:
--header 'Authorization: Bearer ${{ secrets.SLACK_APPSMITH_ALERTS_TOKEN }}' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw "$body"


notify-slack-for-pg:
needs: ci-test-result
runs-on: ubuntu-latest

if: ( failure() && github.ref == 'refs/heads/pg' )

steps:
- name: Notify failure on workflow run and on Slack
run: |
set -o errexit
set -o nounset
set -o xtrace

run_url='${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}'
slack_message="🚨 TBP workflow failed in <$run_url|${{ vars.EDITION }} attempt ${{ github.run_attempt }} (run ${{ github.run_id }})>."

# This is the ChannelId of the proj-postgres-sync channel.
body="$(jq -nc \
--arg channel C07JMLWEXDJ \
--arg text "$slack_message" \
'$ARGS.named'
)"
curl -v https://slack.com/api/chat.postMessage \
--fail-with-body \
--header 'Authorization: Bearer ${{ secrets.SLACK_APPSMITH_ALERTS_TOKEN }}' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw "$body"
13 changes: 13 additions & 0 deletions app/client/cypress/e2e/Regression/Apps/CommunityIssues_Spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ describe(

it("2. Validate table navigation with Server Side pagination enabled with Default selected row", () => {
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("pagination");
agHelper.AssertExistingToggleState("Server side pagination", "true");

propPane.ExpandIfCollapsedSection("rowselection");
propPane
.ValidatePropertyFieldValue("Default selected row", "0")
.then(($selectedRow: any) => {
Expand Down Expand Up @@ -114,6 +116,7 @@ describe(
deployMode.NavigateBacktoEditor();
table.WaitUntilTableLoad(0, 0, "v2");
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("pagination");
propPane.TogglePropertyState("Server side pagination", "Off");
deployMode.DeployApp();
table.WaitUntilTableLoad(0, 0, "v2");
Expand All @@ -122,10 +125,12 @@ describe(
deployMode.NavigateBacktoEditor();
table.WaitUntilTableLoad(0, 0, "v2");
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("pagination");
propPane.TogglePropertyState("Server side pagination", "On");
});

it("4. Change Default selected row in table and verify", () => {
propPane.ExpandIfCollapsedSection("rowselection");
propPane.UpdatePropertyFieldValue("Default selected row", "1");
deployMode.DeployApp();
table.WaitUntilTableLoad(0, 0, "v2");
Expand All @@ -140,6 +145,7 @@ describe(

it("5. Verify Default search text in table as per 'Default search text' property set + Bug 12228", () => {
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("search\\&filters");
propPane.TypeTextIntoField("Default search text", "Bug");
deployMode.DeployApp();
table.AssertSearchText("Bug");
Expand All @@ -148,6 +154,7 @@ describe(
deployMode.NavigateBacktoEditor();

EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("search\\&filters");
propPane.TypeTextIntoField("Default search text", "Quest", true, false);

deployMode.DeployApp();
Expand All @@ -157,20 +164,23 @@ describe(
table.WaitUntilTableLoad(0, 0, "v2");

EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("search\\&filters");
propPane.TypeTextIntoField("Default search text", "Epic"); //Bug 12228 - Searching based on hidden column value should not be allowed
deployMode.DeployApp();
table.AssertSearchText("Epic");
table.WaitForTableEmpty("v2");
deployMode.NavigateBacktoEditor();

EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("search\\&filters");
propPane.RemoveText("defaultsearchtext");
agHelper.GetNClick(dataSources._refreshIcon, 0, true);
table.WaitUntilTableLoad(0, 0, "v2");
});

it("6. Validate Search table with Client Side Search enabled & disabled & onSearchTextChanged is set", () => {
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("search\\&filters");
agHelper.AssertExistingToggleState("Client side search", "true");

deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.TABLE));
Expand All @@ -188,6 +198,7 @@ describe(
table.WaitUntilTableLoad(0, 1, "v2");

EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("search\\&filters");
propPane.TogglePropertyState("Client side search", "Off");

deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.TABLE));
Expand All @@ -205,6 +216,7 @@ describe(
deployMode.NavigateBacktoEditor();
table.WaitUntilTableLoad(0, 1, "v2");
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("search\\&filters");
propPane.TogglePropertyState("Client side search", "On");
propPane.EnterJSContext("onSearchTextChanged", "");
propPane.ToggleJSMode("onSearchTextChanged", false);
Expand All @@ -224,6 +236,7 @@ describe(
deployMode.NavigateBacktoEditor();
table.WaitUntilTableLoad(0, 1, "v2");
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("search\\&filters");
propPane.TogglePropertyState("Client side search", "Off");

deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.TABLE));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import { featureFlagIntercept } from "../../../../support/Objects/FeatureFlags";
import {
agHelper,
locators,
entityExplorer,
propPane,
draggableWidgets,
apiPage,
entityItems,
homePage,
assertHelper,
} from "../../../../support/Objects/ObjectsCore";
Expand All @@ -15,12 +10,6 @@ import EditorNavigation, {
} from "../../../../support/Pages/EditorNavigation";

describe("Property Pane Suggestions", { tags: ["@tag.JS"] }, () => {
before(() => {
featureFlagIntercept({
ab_learnability_ease_of_initial_use_enabled: true,
});
});

before(function () {
agHelper.ClearLocalStorageCache();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import EditorNavigation, {

const publish = require("../../../../locators/publishWidgetspage.json");
const testdata = require("../../../../fixtures/testdata.json");
import {
agHelper,
entityExplorer,
} from "../../../../support/Objects/ObjectsCore";
import { agHelper, propPane } from "../../../../support/Objects/ObjectsCore";

describe(
"Binding the Table and input Widget",
Expand All @@ -32,7 +29,7 @@ describe(

it("2. validation of data displayed in input widgets based on sorting", function () {
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);

propPane.ExpandIfCollapsedSection("rowselection");
cy.testJsontext("defaultselectedrow", "0");
cy.get(".draggable-header").contains("id").click({ force: true });
cy.wait(1000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const commonlocators = require("../../../../locators/commonlocators.json");
const testdata = require("../../../../fixtures/testdata.json");
import apiPageLocators from "../../../../locators/ApiEditor";
import {
entityExplorer,
apiPage,
deployMode,
propPane,
Expand Down Expand Up @@ -91,6 +90,7 @@ describe(
it("3. Table-Text, Validate Server Side Pagination of Paginate with Total v2 Records Count", function () {
deployMode.NavigateBacktoEditor();
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("pagination");
propPane.UpdatePropertyFieldValue("Total Records", "20");
deployMode.DeployApp();
cy.wait("@postExecute");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe(

it("2. validation of data displayed in input widgets based on selected row", function () {
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
_.propPane.ExpandIfCollapsedSection("rowselection");
cy.testJsontext("defaultselectedrow", "2");
cy.readTableV2dataPublish("2", "0").then((tabData) => {
const tabValue = tabData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ describe(
cy.readTableV2dataPublish("0", "0").then((tabData) => {
expect(tabData).to.eq("#2");
});
_.propPane.ExpandIfCollapsedSection("search\\&filters");
// Input onsearchtextchanged control
cy.get(".t--property-control-onsearchtextchanged .t--js-toggle")
.first()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ describe(
);
// validation of data displayed in input widgets based on search value set
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
_.propPane.ExpandIfCollapsedSection("search\\&filters");
cy.get(".t--property-control-allowsearching input").click({
force: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe(
//Validate Table V2 with API data and then add a column
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget);
propPane.UpdatePropertyFieldValue("Table data", "{{Api1.data}}");
propPane.ExpandIfCollapsedSection("pagination");
cy.CheckWidgetProperties(commonlocators.serverSidePaginationCheckbox);
cy.get(`.t--widget-tablewidgetv2 .page-item`)
.first()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import EditorNavigation, {
const commonlocators = require("../../../../locators/commonlocators.json");
const publish = require("../../../../locators/publishWidgetspage.json");
import {
entityExplorer,
agHelper,
deployMode,
propPane,
Expand Down Expand Up @@ -113,6 +112,7 @@ describe(
EditorNavigation.SelectEntityByName("Table1", EntityType.Widget, {}, [
"Container3",
]);
propPane.ExpandIfCollapsedSection("rowselection");
cy.testJsontext("defaultselectedrow", "2");
cy.wait("@updateLayout");
cy.get(commonlocators.TableV2Row)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {
entityExplorer,
locators,
agHelper,
propPane,
Expand All @@ -17,6 +16,7 @@ describe(
agHelper.AddDsl("jsonFormDynamicHeightDsl");

EditorNavigation.SelectEntityByName("JSONForm1", EntityType.Widget);
propPane.ExpandIfCollapsedSection("general");
agHelper
.GetWidgetCSSHeight(
locators._widgetInDeployed(draggableWidgets.JSONFORM),
Expand Down
Loading