Commit Graph

28 Commits

Author SHA1 Message Date
mike12345567 1c012ee7f7 Fixing an issue with some browsers sending the gzip type as x-gzip rather than gzip, which caused the processing to fail. 2022-10-27 19:14:31 +01:00
mike12345567 d32e4586c2 Refactoring a lot of content around webhooks to Typescript, as well as fixing webhooks and automation app IDs on import of new app. 2022-10-25 18:19:18 +01:00
Rory Powell 0b7ca49418 Fix build failure around PouchDB type 2022-10-25 09:02:55 +01:00
Rory Powell 27cde2c3cf Move backup processing into pro 2022-10-24 15:28:43 +01:00
mike12345567 147799ba0a Moving statistics under backups sdk subfolder. 2022-10-24 10:14:35 +01:00
mike12345567 49e103e8ef Fixing test case. 2022-10-21 18:52:39 +01:00
mike12345567 ba2c387d9c Update with PR comments. 2022-10-21 18:25:35 +01:00
mike12345567 4716eaaab5 Getting the import system to carry out a backup of the app before the restore. 2022-10-20 19:07:10 +01:00
mike12345567 6112d097af Some type updates and processor handling for backup document being created before backup/restore occurs. 2022-10-19 19:19:36 +01:00
mike12345567 e5ebd97ecc Fixing issue with using templates. 2022-10-19 16:57:14 +01:00
mike12345567 0ca72f99d1 Adding statistics output for backups. 2022-10-19 16:48:32 +01:00
mike12345567 2eebd077e7 Fixing issue with metadata name not being provided for uploaded backup on publish. 2022-10-19 13:52:56 +01:00
mike12345567 a1065cc143 Protection for real app IDs. 2022-10-19 11:47:07 +01:00
mike12345567 0cf5bf26a0 Finishing import processor - download backup, delete dev DB and then import over the top of this. Also includes a rollback feature if the backup fails to restore for whatever reason. 2022-10-18 19:43:19 +01:00
mike12345567 ed35a8281f Removing attachment dir constant - no longer needed. 2022-10-18 17:04:18 +01:00
mike12345567 bd1300b82a Updating export/import to include the budibase client and manifest. 2022-10-18 16:42:25 +01:00
mike12345567 07d4d9ee4d Reformatting types to allow queue to be used for import and export. 2022-10-17 19:42:36 +01:00
mike12345567 758c46ce83 Minor fixes after testing manual backup system. 2022-10-14 20:10:44 +01:00
mike12345567 a20ad3233e Main types and work for the CRUD operations of app backup backend in pro + the listeners to handle exporting apps from the server. 2022-10-14 19:24:03 +01:00
mike12345567 488e0c44c0 Fixing multi-app import from cloud. 2022-10-13 15:46:53 +01:00
mike12345567 ae0bfebae7 Full import implementation - needs further testing, untars the file with all apps, then adds each of them individually. 2022-10-12 19:15:28 +01:00
mike12345567 a2d12ef0a6 Adding first pass of attachments updating. 2022-10-12 17:34:17 +01:00
mike12345567 33e31fe2e4 Refactoring more to Typescript, adding the ability to use the _find API of CouchDB. 2022-10-12 17:02:23 +01:00
mike12345567 5a05e0bf28 Adding import functionality - still need to update the attachments URL. 2022-10-11 20:25:22 +01:00
mike12345567 2f5170f70c Some fixes + cleanup of tmp directory. 2022-10-11 19:28:13 +01:00
mike12345567 a41b362040 Export to tarball through tmp. 2022-10-11 18:21:58 +01:00
mike12345567 bb65cf8ef9 Some updates towards supporting attachments in app exports. 2022-10-10 20:08:59 +01:00
mike12345567 06599e0f17 Building out initial SDK work - converting some existing exporting work to typescript. 2022-10-06 19:10:45 +01:00