Commit Graph

24622 Commits

Author SHA1 Message Date
Adria Navarro 69ecf5183b Fix cli check:types 2024-03-15 10:38:51 +01:00
deanhannigan 7a737e7664
Merge branch 'master' into feature/app-list-actions 2024-03-15 09:31:54 +00:00
Adria Navarro 204aadc8e6 Fix 2024-03-15 10:29:59 +01:00
Adria Navarro 987ea60537 Add string-templates check:types 2024-03-15 10:29:47 +01:00
Sam Rose 241c3fc385
Merge branch 'master' into reorganise-row-tests 2024-03-15 09:21:38 +00:00
Dean f2dbeed6e8 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-15 09:20:02 +00:00
Adria Navarro 9dac9d0a3d Types 2024-03-15 10:18:47 +01:00
deanhannigan 72a671e93b
Merge branch 'master' into feature/app-list-actions 2024-03-15 09:10:57 +00:00
Dean 4949ea1bcd PR feedback 2024-03-15 09:09:44 +00:00
Adria Navarro 9671399ca8 Bundle build 2024-03-15 10:04:45 +01:00
Adria Navarro c698b684e4 Lint 2024-03-15 09:59:18 +01:00
Adria Navarro e3033b5e50 Add nx build dependencies back 2024-03-15 09:53:30 +01:00
Adria Navarro e1512f15de Add nx dependencies back 2024-03-15 09:47:48 +01:00
Adria Navarro 4332034434 Type tests 2024-03-15 09:41:32 +01:00
Adria Navarro 972cbf43b8 Types 2024-03-15 09:35:38 +01:00
Adria Navarro 05a169e2fd Remove nx dependencies 2024-03-15 00:11:22 +01:00
Adria Navarro 49cca6d69a Lint 2024-03-15 00:07:05 +01:00
Adria Navarro cfb1665ed9 Fix tests 2024-03-15 00:00:17 +01:00
Adria Navarro bd4b14e995 Fix tests 2024-03-14 23:51:24 +01:00
Adria Navarro acbb06edf7 Split code 2024-03-14 22:32:17 +01:00
Adria Navarro 03122b464f Types 2024-03-14 18:39:08 +01:00
Adria Navarro 029ac07fa2 Fix types 2024-03-14 18:37:49 +01:00
Sam Rose 3c2f2b95b3
Finishing touches. 2024-03-14 17:29:50 +00:00
Adria Navarro d4e72e4a0b Fix test/utils exports 2024-03-14 18:26:14 +01:00
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
Adria Navarro e754c660ee Fix edition of groups with groups 2024-03-12 08:56:36 +01:00
Adria Navarro 4b2c16998c Fix SCIM groups edition 2024-03-12 08:51:01 +01:00
Adria Navarro 75df04fbda Fix group edition display for builders 2024-03-12 08:40:16 +01:00
Adria Navarro 6f2f5fd5ce Display AD message correctly for builders 2024-03-12 08:38:47 +01:00
Andrew Kingston 79ae159329 Add code mirror completions for snippets 2024-03-11 21:10:53 +00:00
Sam Rose a78704bca8
Working on maintenance screen for app users. 2024-03-11 16:55:02 +00:00
Andrew Kingston cef0911950 Fix merge 2024-03-11 16:21:07 +00:00
Andrew Kingston 1a8a649be4 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-11 16:20:04 +00:00
Andrew Kingston a806dff3f4 Remove concept of validity from binding panel and allowing saving anything 2024-03-11 16:18:37 +00:00
Andrew Kingston 8b71c2731b Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-11 16:16:29 +00:00
Andrew Kingston ca4318f8c2 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-11 15:47:48 +00:00
Adria Navarro e9b72710de
Merge branch 'master' into fix/group-member-protection 2024-03-11 16:46:56 +01:00
Adria Navarro 4f5eb6110a Update pro ref 2024-03-11 16:46:33 +01:00
Andrew Kingston f4ff245aa8
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-11 15:41:59 +00:00
Sam Rose 19803f9182
Use BBUI components instead of raw HTML. 2024-03-11 15:19:23 +00:00
Dean 1cd20781fb Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-11 14:41:07 +00:00
Dean debb7c7255 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-11 14:33:05 +00:00
Dean d6fd5933a4 PR feedback and bug fix for server tests being completely skipped 2024-03-11 14:22:41 +00:00
Adria Navarro 8e69f05071 Update pro ref 2024-03-11 15:16:07 +01:00
Andrew Kingston 9c15d8bd2f Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-11 14:01:06 +00:00
Andrew Kingston 20c8191323 Fix bgu 2024-03-11 14:00:42 +00:00
Andrew Kingston af10b65d51 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-11 13:55:12 +00:00
Andrew Kingston b1c4c910d8
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-11 13:49:06 +00:00
Sam Rose 3550ae8c1a
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support-2 2024-03-11 13:45:08 +00:00
Andrew Kingston bb953d3bc4 Shorten duplicate key value 2024-03-11 13:32:27 +00:00
Andrew Kingston a3b1062d09 Fix existing issue of CodeEditor completions not being reactive and allow saving invalid HBS bindings 2024-03-11 13:18:53 +00:00