Commit Graph

24548 Commits

Author SHA1 Message Date
Sam Rose 3b68873fc4
Move more view tests out of row.spec.ts 2024-03-14 17:17:56 +00:00
Sam Rose 850fb3d4ec
Get viewV2.spec.ts running against real databases. 2024-03-14 17:11:09 +00:00
Adria Navarro 8bd89a27a5 Fix types 2024-03-14 17:51:43 +01:00
Adria Navarro 215d68715b Declarations 2024-03-14 17:50:31 +01:00
Adria Navarro 81f2fb5aa9 Move manifest.json 2024-03-14 17:50:17 +01:00
Adria Navarro 2407ddbcfb Gen manifest to ts 2024-03-14 17:49:05 +01:00
Adria Navarro a390015757 Fix require 2024-03-14 17:41:30 +01:00
Andrew Kingston 8bbdebe050 Don't show live eval popovers for roles as they have always been broken in JS 2024-03-14 16:40:35 +00:00
Adria Navarro 68bfa2434b Add json back 2024-03-14 17:37:25 +01:00
Adria Navarro 0627a7f3a8 Remove json plugin 2024-03-14 17:31:07 +01:00
Adria Navarro 379b9a3e8f Fix build 2024-03-14 17:28:35 +01:00
Andrew Kingston b6eab42c18 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-14 16:24:16 +00:00
Andrew Kingston 542a1111c6
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-14 16:22:03 +00:00
Adria Navarro 1cb3288531 Update pro ref 2024-03-14 17:18:45 +01:00
Adria Navarro c60baaa012 More types 2024-03-14 17:17:38 +01:00
Adria Navarro 566c4e5c17 Fix typings 2024-03-14 17:17:38 +01:00
Adria Navarro c3531ac8ba Types 2024-03-14 17:17:38 +01:00
Adria Navarro 9e0e9297f5 Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro 8bbf318f4a Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro 38f64aa704 Lint 2024-03-14 17:17:18 +01:00
Adria Navarro d24ea36c64 Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro af3c4285f0 Fix build 2024-03-14 17:17:18 +01:00
Adria Navarro bbe5f0041d Types 2024-03-14 17:17:18 +01:00
Adria Navarro b05dc6ab49 Fix typings 2024-03-14 17:17:18 +01:00
Adria Navarro 0b292f2e82 Allow ts tests 2024-03-14 17:17:18 +01:00
Adria Navarro f782305219 Change to js 2024-03-14 17:17:18 +01:00
Adria Navarro c9973b5ecd Remove type 2024-03-14 17:17:18 +01:00
Adria Navarro 05c8f9b956 Fix js 2024-03-14 17:17:18 +01:00
Adria Navarro afe2335ed8 Fix rollup config 2024-03-14 17:17:18 +01:00
Adria Navarro 52fd8c2369 Remove not required rollup plugin 2024-03-14 17:17:18 +01:00
Adria Navarro 16ca7bbc45 Fix requires 2024-03-14 17:17:18 +01:00
Adria Navarro 2339030fe2 Build both cjs and mjs versions 2024-03-14 17:17:18 +01:00
Adria Navarro 667a5ab990 Fix package.json refs 2024-03-14 17:17:18 +01:00
Adria Navarro 0ad7bde478 Don't run tsc 2024-03-14 17:17:10 +01:00
Adria Navarro a572cc980f Fix ts 2024-03-14 17:17:10 +01:00
Adria Navarro 046e27c737 Change from js to ts 2024-03-14 17:17:10 +01:00
Adria Navarro 3b757476e0 Setup typescript rollup 2024-03-14 17:17:10 +01:00
Adria Navarro 6b3c4ec651 Update entrypoints 2024-03-14 17:17:10 +01:00
Adria Navarro 8503af6729 Point to src 2024-03-14 17:17:10 +01:00
Adria Navarro 82c610efef Set string-templates path 2024-03-14 17:17:10 +01:00
Adria Navarro 813b96354b Final convertions 2024-03-14 17:17:10 +01:00
Adria Navarro 4aa8456d21 More convertions 2024-03-14 17:17:10 +01:00
Adria Navarro 92f08d84d7 More convertions 2024-03-14 17:17:10 +01:00
Adria Navarro b457b0e023 Convert helpers 2024-03-14 17:17:10 +01:00
Adria Navarro cdf251f9cc Processors to esm 2024-03-14 17:17:10 +01:00
Adria Navarro e0873b359c Mark as module 2024-03-14 17:17:10 +01:00
Adria Navarro efef47b77e Indexjs to esm 2024-03-14 17:17:10 +01:00
Andrew Kingston a0e3a8f56c Update drawer styles to fix issue with filter modal 2024-03-14 16:16:58 +00:00
Andrew Kingston 23a91bcd23 Update snippet empty state 2024-03-14 16:16:37 +00:00
Andrew Kingston b3cf3fa636 Improve how snippets are handled in client apps 2024-03-14 16:16:24 +00:00
Gerard Burns 2d488f494c linting 2024-03-14 15:58:55 +00:00
Gerard Burns 49c104d762 wip 2024-03-14 15:57:18 +00:00
Gerard Burns 61f2746cf9 linting 2024-03-14 15:51:48 +00:00
Andrew Kingston 1a9843fcc8 Lint 2024-03-14 15:36:05 +00:00
Gerard Burns d1affc2586 wip 2024-03-14 15:21:55 +00:00
Adria Navarro 2229210082 Remove log 2024-03-14 16:01:32 +01:00
Adria Navarro 8995a5170b
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-14 16:01:00 +01:00
Andrew Kingston af43a18290 Reduce evaluation side panel copy icon size 2024-03-14 14:59:12 +00:00
Andrew Kingston 560d8ee9c9 Update font sizes for live eval to force consistency between browsers 2024-03-14 14:57:51 +00:00
Andrew Kingston a0ccfebebe Soft paywall snippet autocompletion 2024-03-14 14:51:03 +00:00
Sam Rose 34eee52f6e
Merge branch 'master' into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-14 14:49:18 +00:00
Andrew Kingston 049c2b989b Soft paywall snippets 2024-03-14 14:29:13 +00:00
Andrew Kingston 0e94caafcb Update snippet insertion to not insert parenthesis 2024-03-14 14:10:37 +00:00
Gerard Burns 89371c5f5f remove node collapsing magic string 2024-03-14 13:24:34 +00:00
Adria Navarro 329fc53ac8 Custom message 2024-03-14 14:20:51 +01:00
Adria Navarro fdf83fd65d Limit attachment on forms 2024-03-14 13:50:01 +01:00
Adria Navarro 6ca25d400a DRY 2024-03-14 13:32:54 +01:00
Andrew Kingston f8690a6bd9 Update comment 2024-03-14 12:08:03 +00:00
Sam Rose 76e1a4b7da
Fix type check errors. 2024-03-14 11:19:04 +00:00
Sam Rose 945efd7aa6
Merge branch 'master' into move-view-tests 2024-03-14 11:06:45 +00:00
Sam Rose b67ac81089
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-14 11:06:14 +00:00
Sam Rose 47a26e4921
Remove environment setting. 2024-03-14 11:05:50 +00:00
Gerard Burns ece7060b6b Merge branch 'master' into component-collapse-redo 2024-03-14 10:49:34 +00:00
Adria Navarro 9185f976c8
Merge branch 'master' into budi-8067-sql-testing-more-datasource-types 2024-03-14 11:28:38 +01:00
Sam Rose efbf895cde
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-14 10:26:00 +00:00
Sam Rose 5918dfebba
Silence lint warnings. 2024-03-14 10:25:41 +00:00
Sam Rose c8f37e16e5
CSS tweaks. 2024-03-14 10:23:42 +00:00
Adria Navarro 62cec7289d Use guid instead of words 2024-03-14 11:03:43 +01:00
Sam Rose fcd7ee10f1
Create app user facing maintenance page. 2024-03-14 09:57:00 +00:00
Dean 9755d40203 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-14 09:52:01 +00:00
Adria Navarro 0e139c19da Rename 2024-03-14 10:45:58 +01:00
deanhannigan 1db358d5c2
Merge branch 'master' into feature/app-list-actions 2024-03-14 09:33:33 +00:00
Sam Rose 02158a0fb1
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-14 09:24:02 +00:00
Sam Rose 3da2261735
Convert view.spec.js to TypeScript, remove reliace on TestConfiguration. 2024-03-14 09:22:50 +00:00
Sam Rose 64ea77237f
Merge branch 'master' into budi-8067-sql-testing-more-datasource-types 2024-03-14 09:21:46 +00:00
Adria Navarro e9f03649bd Send maximum to dropzone 2024-03-13 21:43:30 +01:00
Adria Navarro b5ab4b90a0 Multiple attachments flags 2024-03-13 21:43:30 +01:00
Adria Navarro fa84b3fbc2 Magic strings to enums 2024-03-13 21:43:30 +01:00
Andrew Kingston 8b4ce703e9 Try to fix tests 2024-03-13 17:01:09 +00:00
Sam Rose 76ecfedaed
Reduce reliance on config a bit more. 2024-03-13 16:44:05 +00:00
Andrew Kingston b4a467f9fd Merge branch 'cheeks-snippets-poc' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-13 16:38:54 +00:00
Sam Rose 68777b0843
Remove all uses of config.createTable 2024-03-13 16:32:33 +00:00
Sam Rose d3c8a28ab6
Remove more old testing practices. 2024-03-13 16:20:45 +00:00
Andrew Kingston 47925e394d Lint and remove outdated comment 2024-03-13 16:20:18 +00:00
Sam Rose ed2926d924
Significantly reduce reliance on the config.* methods on row.spec.ts, making them more independent. 2024-03-13 16:08:21 +00:00
Adria Navarro 625c1dda9f Improve tests 2024-03-13 16:54:39 +01:00
Adria Navarro 940ff5acd2 Fix table changes with empty attachments 2024-03-13 16:48:58 +01:00
Adria Navarro 0420734d97 Add failing test 2024-03-13 16:48:32 +01:00
Andrew Kingston 749dab7f68 Add paths to builder tsconfig 2024-03-13 15:00:42 +00:00
Andrew Kingston 2732a11b4b
Update packages/shared-core/src/constants/index.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-13 14:29:50 +00:00
Andrew Kingston 138cd39c36 Autofocus search inputs 2024-03-13 13:59:14 +00:00
Andrew Kingston 567cbf3ef8 More icon updates for consistency 2024-03-13 13:58:42 +00:00
Andrew Kingston f9156765c0 Update binding panel icons to use new styles 2024-03-13 13:57:24 +00:00
Sam Rose dbf2efb76d
Merge branch 'budi-8067-sql-testing-more-datasource-types' of github.com:budibase/budibase into budi-8067-sql-testing-more-datasource-types 2024-03-13 13:38:29 +00:00
Sam Rose a5c8e8845f
Implement Adri's type guard suggestion. 2024-03-13 13:38:08 +00:00
Andrew Kingston 6d53b06762 Fix typo in automations placeholder 2024-03-13 13:23:48 +00:00
Andrew Kingston 5666a965e0 Fix issue with click_outside and drawers 2024-03-13 13:01:44 +00:00
Andrew Kingston 95f71efdab Cache snippet evaluations in the browser 2024-03-13 12:52:36 +00:00
Andrew Kingston 30622a56ca Add updated snippets IVM bundle 2024-03-13 12:50:26 +00:00
Andrew Kingston 663abde785 Optimise isolated-vm snippet performance by using a map and by caching evaluated snippets 2024-03-13 12:48:55 +00:00
Andrew Kingston 861d48dbf3 Transform snippets into a map in the browser for faster access 2024-03-13 12:37:49 +00:00
Andrew Kingston 64855bbdf0 Optimise cloneDeep usage in string templates 2024-03-13 12:11:09 +00:00
Andrew Kingston 886929b8bc Fix being unable to hide side panels in the binding editor again. Already fixed this but got lost in a merge 2024-03-13 12:06:42 +00:00
Andrew Kingston c9c0384c96 Fix being unable to edit snippets 2024-03-13 12:05:21 +00:00
Andrew Kingston 8a455781d4 Fix regex. Wrong file before 2024-03-13 12:03:57 +00:00
Andrew Kingston 208464a158 Fix snippet decorator regex 2024-03-13 12:02:37 +00:00
Andrew Kingston a1186cd6d3 Remove testing snippet code 2024-03-13 12:01:26 +00:00
Andrew Kingston 2d12a1a8fa Add server-side validation for snippet names 2024-03-13 11:48:17 +00:00
Sam Rose 05cd71107b
Merge branch 'master' into budi-8067-sql-testing-more-datasource-types 2024-03-13 11:29:46 +00:00
Andrew Kingston 8eee45b44a Lint 2024-03-13 10:23:52 +00:00
Andrew Kingston 1f7684d7ba Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-13 10:23:15 +00:00
Andrew Kingston e45beff059 Merge branch 'master' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-13 10:21:07 +00:00
Andrew Kingston 0ddf48f7ff Update automation page to use full width drawers like the design section does 2024-03-13 09:54:27 +00:00
Andrew Kingston c25ea7a9d7 Fix external triggers not getting snippet context 2024-03-13 09:42:31 +00:00
Adria Navarro cc275983dc
Merge branch 'master' into cleanup-isolates 2024-03-13 10:30:37 +01:00
Andrew Kingston 1eafd5e843 Fix issue with drawer positioning when nesting drawers with no target 2024-03-13 09:22:13 +00:00
Andrew Kingston 70821182fe Update automation context to simplify applying snippet context 2024-03-13 09:15:33 +00:00
Andrew Kingston 20f4c5a77d Add snippet context before testing automations manually 2024-03-12 21:41:00 +00:00
Andrew Kingston 3b54daf2c8 Add snippet context before executing automations 2024-03-12 21:40:48 +00:00
Andrew Kingston 28d938ba3e Lint 2024-03-12 19:09:32 +00:00
Andrew Kingston fda71de7c2 Remove unused import 2024-03-12 19:07:38 +00:00
Sam Rose d061c19c80
Remove some extraneous, unused code. 2024-03-12 17:21:33 +00:00
Sam Rose b8f061df68
Merge branch 'master' of github.com:budibase/budibase into budi-8067-sql-testing-more-datasource-types 2024-03-12 17:17:09 +00:00
Sam Rose a70cb903f6
Remove jest timeout. 2024-03-12 17:17:01 +00:00
Andrew Kingston 75dc2b174b Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-12 17:04:34 +00:00
Andrew Kingston 16ce5ac65e Update how snippets are fetched and enriched into context, because HBS helpers can't be async 2024-03-12 17:02:01 +00:00
Andrew Kingston 10c581c3be Fetch snippets from app doc when creating a new isolate 2024-03-12 15:39:26 +00:00
Andrew Kingston b13d2d3803 Merge branch 'master' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-12 15:38:23 +00:00
Sam Rose aff0209176
MariaDB tests passing. 2024-03-12 15:27:34 +00:00
Sam Rose 1334f5dcc5
SQL Server fully passing. 2024-03-12 14:46:52 +00:00
Sam Rose 477d17b53e
Making progress on getting SQL Server working. 2024-03-12 12:25:30 +00:00
Sam Rose d1f876d67f
Fix test that was failing because SQL Server doesn't allow you to insert values into primary key columns unless you set a setting. 2024-03-12 10:55:58 +00:00
Sam Rose ce209a16b3
Get tests running with SQL Server. Need to make them pass next. 2024-03-12 10:42:42 +00:00
Adria Navarro 3f302d300e Add test, account holder cannot be removed 2024-03-12 11:09:16 +01:00
Sam Rose 186f916b40
Get tests passing against a real MySQL. 2024-03-12 09:57:59 +00:00
Adria Navarro 106a71b647 Update pro ref 2024-03-12 10:15:58 +01:00
Adria Navarro 3efaf01684 Fix multiple runs 2024-03-12 10:02:39 +01:00
Adria Navarro 26c98ea084 Fix tests 2024-03-12 09:57:25 +01:00
Adria Navarro cd0004ec3d Add scim tests 2024-03-12 09:46:10 +01:00
Adria Navarro b2000c0805 Lint test 2024-03-12 08:56:56 +01:00