mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* added app_versions fields * added data migration for backward compatibility * added ce specific logic * fixed ce migration (need to dev-test) * moved to data migration * migration changes * added endpoint to create draft version * backend changes * added draft to app_import scenario * added version description * minor changes (needs improvement) * fixed breaking dropdown in editor * updated submodule commits * revert package.json * revert ui not used changes * submodule changes * reverting non used files * ui changes * ui changes * ui changes * ui changes * ui changes * copywriting changes * ui changes * ui changes * edit version modal changes * ui integration changes * added button solid and removed unused css * removed commented code from create version modal * updated button size to use large * ui changes * draft version modal changes * added sub-module commits to main * draft version endpoint changes * ui changes for draft version modal * fix breaking ui * ui changes for banner * minor ui changes * remove scss changes from themes file * removed unused components (cleanup) * removed unused components (pr cleanup) * draft version changes * create version modal changes * canvas banner fixes * comment creation logic * refactor: version dropdown * update endpoint changes * fix: promote logic * update submodule * fix: released version and create version modal * fix draft version creation * minor ui changes * minor backend fixes * tooltip changes * added all components in same folder * added minor comments * import fixes * refactor files * fix: overlay issues * fix: on version creation * fix ce bugs * bug fixes * bug fixes * bug fixes * add migrations * splitting changes for import export * minor fixes * draft version of adapter for import -export * git sync minor changes * removed updatedAt from data queries * bug fixes * backend changes * made field optional * added get all branch endpoint (pending to test) * migration changes * branch creation endpoint and dto changes * app_version util service changes * fixed version type changes * branching related changes * chore: Update submodule hash * added logic to allow only single draft version for branching feature * added default value as true for branching * added feature keys * minor changes * minor changes * minor fixes * initial branching support * minor changes * added created by field in app_versions table * minor changes * branching api fixes * bug fixes * minor fix * fix: auto-commit during version creation * chore: update frontend submodule hash * pull changes * fix: include organisationId in fetchPr * chore: update server submodule hash * minor fix (pending to dev test) * scss changes * remove git sync css from themes file * minor change * fix styling * fix: add copy-writing for main branch lockedbanner * chore: update frontend submodule hash * fix: version listing * chore: Update server submodule hash * fix banner lock * base merge * chore: update frontend submodule hash * fix: version listing * merge base * fix: add new prop in AppGitPushDto * chore: update frontend & server submodule hash * fix: auto-commit on promoting the default branch * fix: dropdown states * fix: dropdown states * fix: hide pull commit button from promoted environments * fix: enhance git sync handling for draft versions and improve version creation logic * fix: remove unnecessary whitespace in VersionManagerDropdown component * freeze state fixes * fix: correctly read branch author * chore: update frontend and backend submodule * fixes * fix: atomic changes during branch creation * fix: error propagation * fixed freeze state * refactor methods * submodule update * fix: update autoCommit default state and disable checkbox in CreateBranchModal; remove tooltips in LifecycleCTAButton * feat: enhance BranchDropdown and LifecycleCTAButton; update icons and styles; add Check2 icon * minor fixes * feat: update BranchDropdown to always show Create PR button; enhance CreateBranchModal to refresh versions and include releasedVersionId; improve CreateDraftVersionModal to refresh versions after creating a draft * chore: update subproject commit reference in server/ee * feat: enhance CreateDraftVersionModal to improve version selection logic and add debugging logs * chore: update server submodule * chore: update subproject commit reference in frontend/ee * update submodule * update submodule * chore: comment out import option label in BaseImportAppMenu * ce build fix * fixes * minor fixes * fixes build issues * Git Sync Phase2 Changes (#14886) * Feature: Adding co-relation-id mapping (#14621) * feat: add migration for co_relation_id column * minor cleanup * added entities and dummy util file * fix: Add co-relation column for events * fixed compilation issues * added fields * minor changes * added timestamp cleanups * modified existing migration t * minor updates in co_relation id changes * fix: update migration script * feat: map co-relation-id during pull * chore: update server submodule * fixed layout co_relation id issue * fixed migration changes * revert * timestamp fixes * minor fixes * minor fix * chore: update server submodule (#14755) --------- Co-authored-by: rohanlahori <rohanlahori99@gmail.com> * resolved merge conflicts * fixed app crashing * Feature/version tagging (#14903) * feat: add migration for co_relation_id column * minor cleanup * added entities and dummy util file * fix: Add co-relation column for events * fixed compilation issues * added fields * minor changes * added timestamp cleanups * modified existing migration t * minor updates in co_relation id changes * fix: update migration script * feat: map co-relation-id during pull * chore: update server submodule * fixed layout co_relation id issue * fixed migration changes * revert * timestamp fixes * minor fixes * minor fix * added migration * minor changes * migration fix * dto changes * fixes * feature: api call for github tags post saving version * chore: update frontend & server submodule hash * fix for sub-branch pull * minor fix * feat: send message in api call * chore: update frontend & server submodule hash * chore: update frontend submodule hash * chore: update frontend submodule hash * minor fixes in import flow * fix: remove await from createGit tag * chore: Update server & frontend submodule hash * save version before committing * removed all logs * removed unused console logs * removed logs * fixes * minor fixes * fixes * removed commit changes flow from draft versions * version id fix * minor fixes * added latest changes endpoint using app Name * co_relation_id fix * added co_relation id changes * fixed co_relation id import issue * minor ui fix * fixes for tag flow * version tag fixes * submodule commits --------- Co-authored-by: parthy007 <parthadhikari1812@gmail.com> * fixed appId issue * commented not used entity field * minor co_relation_id fix * auto-commit on app creation changes * normalize(folder-apps): enforce single folder per app using created_at * Changed message * feat: enhance branch and version management UI with improved styles and functionality * Toast message copywritin * git sync related things * feat: Add tooljet folder architecture to gitsync * fix: remove autocommit on app creation * chore: Update server and frontend submodules * git sync apps & folder restriction * chore: Update server and frontend submodules * fix: restrict app rename * feat: Add version dropdown on app import * chore: Update server submodule hash * moved some logic to util.service.ts * fix branch dropdown and draft button status * feat: Support saved version import on app name change * chore: Update server & frontend submodule hash * chore: Update server and frontend server submodule * fix: add flag to skip folder check * chore: Update server and frontend submodules * chore: Update frontend submodule hash * chore: Update frontend & server submodule hash * fix: version name in version dropdown of import modal * fix: sub module * chore: update server and frontend submodule hashes * fix: send correct version name * fix: retriggering of renaming listner * chore: Update frontend & server submodule hash * fix: latest commit on pull tab * rebase submodule * fix imported app version status * remove draft tag on version dropdown in modal * version desc. optional & app removel message & empty version push err message * fix: restrict app rename without draft version * chore: Update frontend & server submodule hash * fix: latest commit on pull modal * fixed the folder success toast (#15272) * fix: git commit on version creation * fix commit button states on valid/invalid license * chore: Update frontend & server submodule hash * fix: pull error text --------- Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com> Co-authored-by: parthy007 <parthadhikari1812@gmail.com> Co-authored-by: Pratush <pratush@Pratushs-MacBook-Pro.local> Co-authored-by: Vijaykant Yadav <vjy239@gmail.com> Co-authored-by: Pratush <pratush@Pratushs-MBP.lan> Co-authored-by: YuktiGoyal02 <100783212+YuktiGoyal02@users.noreply.github.com> --------- Co-authored-by: rohanlahori <rohanlahori99@gmail.com> Co-authored-by: Vijaykant Yadav <vjy239@gmail.com> Co-authored-by: parthy007 <parthadhikari1812@gmail.com> Co-authored-by: Rohan Lahori <64496391+rohanlahori@users.noreply.github.com> Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com> Co-authored-by: Pratush <pratush@Pratushs-MacBook-Pro.local> Co-authored-by: Pratush <pratush@Pratushs-MBP.lan> Co-authored-by: YuktiGoyal02 <100783212+YuktiGoyal02@users.noreply.github.com>
30 lines
870 B
TypeScript
30 lines
870 B
TypeScript
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
|
|
export class NormalizeFolderAppsKeepFirstCreatedMappingPerApp1769151383974 implements MigrationInterface {
|
|
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`
|
|
DELETE FROM folder_apps
|
|
WHERE id IN (
|
|
SELECT id FROM (
|
|
SELECT id,
|
|
ROW_NUMBER() OVER (
|
|
PARTITION BY app_id
|
|
ORDER BY created_at ASC
|
|
) AS rn
|
|
FROM folder_apps
|
|
) t
|
|
WHERE t.rn > 1
|
|
);
|
|
`);
|
|
await queryRunner.query(`
|
|
CREATE UNIQUE INDEX IF NOT EXISTS uniq_folder_apps_app_id
|
|
ON folder_apps (app_id);
|
|
`);
|
|
}
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`
|
|
DROP INDEX IF EXISTS uniq_folder_apps_app_id;
|
|
`);
|
|
}
|
|
}
|