Commit Graph

21671 Commits

Author SHA1 Message Date
Sam Rose 6c3b535863
Simplify try-catch in the migrate function. 2023-10-25 16:49:29 +01:00
Sam Rose 4a00649f7f
Simplify the function signature of processInternalTables 2023-10-25 16:46:14 +01:00
Sam Rose e03b1be9d1
Make sure new column name cannot be the same as an existing column name. 2023-10-25 16:41:37 +01:00
Sam Rose c5097487e2
Use FieldType constant instead of raw string. 2023-10-25 16:38:55 +01:00
Sam Rose ef84e96f98
Use RelationshipType enum instead of raw string. 2023-10-25 16:38:14 +01:00
Sam Rose 2c5dd99da2
Use FieldSubtype enum instead of raw strings. 2023-10-25 16:37:15 +01:00
Sam Rose 7acce7b7c0
Remove unused dispatch import. 2023-10-25 16:01:08 +01:00
Sam Rose c9e3b7a348
Remove the previous attempt at syncing grid state, it is no longer needed. 2023-10-25 16:00:14 +01:00
Sam Rose 0ac6b17ff0
Remove stray console.log 2023-10-25 15:33:53 +01:00
Sam Rose 402a53cacb
User constant for user table ID. 2023-10-25 15:33:12 +01:00
Sam Rose 5779e97e6e
Add column name input validation. 2023-10-25 15:29:56 +01:00
Dean ce443e6295 Merge remote-tracking branch 'origin/master' into feature/form-block-settings-reflow 2023-10-25 15:15:42 +01:00
Sam Rose fbf60ece4f
Merge base branch. 2023-10-25 14:58:37 +01:00
Sam Rose e3a702c214
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-25 14:54:39 +01:00
Sam Rose 007e919d0e
Spring cleaning before review. 2023-10-25 14:53:51 +01:00
Andrew Kingston a3226bc905
Merge branch 'master' into enable-collapsing-settings-sections 2023-10-25 14:43:05 +01:00
Sam Rose 70f39b6b6b
Fix missing sourceId on Table sent to the websocket. 2023-10-25 14:41:23 +01:00
Dean 8db0b300fd Merge remote-tracking branch 'origin/master' into feature/buttongroup-component 2023-10-25 14:26:58 +01:00
Dean 6a3fadd3e1 Merge remote-tracking branch 'origin/master' into feature/form-block-settings-reflow 2023-10-25 14:04:03 +01:00
Andrew Kingston 62f4c3e85b
Merge branch 'master' into refactor-grid-columns 2023-10-25 13:57:22 +01:00
Andrew Kingston 2bb8ba45d1
Merge branch 'master' into grid-inline-searching 2023-10-25 13:50:55 +01:00
Dean 536a27541f Merge remote-tracking branch 'origin/master' into feature/change-global-admin-to-creator 2023-10-25 13:27:54 +01:00
Dean d4ff67b999 Merge remote-tracking branch 'origin/master' into feature/component-name-setting-ux-update 2023-10-25 12:34:13 +01:00
Andrew Kingston d3fe9775f3
Merge branch 'master' into grid-inline-searching 2023-10-25 12:32:04 +01:00
Dean 9200366f79 Merge remote-tracking branch 'origin/master' into fix/view1-sortable-column-config 2023-10-25 12:09:59 +01:00
Dean b952892c42 Generalised the fix as not all calculations will have a groupby per PR feedback 2023-10-25 12:08:56 +01:00
Sam Rose 52f97fbd1f
Attempt to emit events that include the originator. 2023-10-25 11:38:31 +01:00
Sam Rose 78afba63de
Emit table updates to the builder socket, and some minor refactoring. 2023-10-25 11:03:35 +01:00
Dean 66fda3db09 Merge remote-tracking branch 'origin/master' into fix/view1-sortable-column-config 2023-10-25 09:15:37 +01:00
José Vte. Calderón bc1999fe30
Merge branch 'master' into feature/sync-quotas-2 2023-10-25 10:02:09 +02:00
Andrew Kingston 4fb18baf17 Merge branch 'grid-inline-searching' of github.com:Budibase/budibase into refactor-grid-columns 2023-10-25 08:48:21 +01:00
Andrew Kingston b88be9b1df
Merge branch 'master' into feature/form-block-description 2023-10-25 08:45:34 +01:00
jvcalderon 65111c81ef Reactivate sync quotas migration 2023-10-25 08:44:59 +02:00
Michael Drury 9983d67163 Adding mimetype for client library response (correcting from octet-stream). 2023-10-24 22:13:56 +01:00
Michael Drury 5fabe32434 Making sure client endpoint available in prod. 2023-10-24 20:35:25 +01:00
Michael Drury c6b377c565
Revert "Revert "Client library fetching through server"" 2023-10-24 18:13:36 +01:00
Michael Drury e2e5c9044c
Revert "Client library fetching through server" 2023-10-24 18:12:20 +01:00
Sam Rose 0f5c2cff00
Handle a couple more edge cases more gracefully. 2023-10-24 18:06:25 +01:00
Sam Rose fb998502bb
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-24 17:34:41 +01:00
Sam Rose a8ae16852c
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column-4 2023-10-24 17:34:19 +01:00
Sam Rose f4c6ab7f48
Make sure the user cannot enter the same column name as the old column for the migrated column. 2023-10-24 17:33:49 +01:00
Michael Drury 2888335724
Merge branch 'master' into fix/client-lib-fetching 2023-10-24 17:31:44 +01:00
mike12345567 701d30abb4 Don't pass through default tenant ID. 2023-10-24 17:30:57 +01:00
mike12345567 ba5b1d7cfa Adding tenant ID to query string and fixing test cases. 2023-10-24 17:27:58 +01:00
Sam Rose d3670ddf21
Add an input to allow the user to choose the new column name. 2023-10-24 17:22:49 +01:00
mike12345567 b53158ac08 Moving the client library to be retrieved using the same mechanism as we do in development, through the server instance (same as the builder itself). This should help with the CDN issues that we have been having, although attachments are still currently affected. 2023-10-24 16:25:14 +01:00
jvcalderon 102a082484 Update pro submodule 2023-10-24 17:18:13 +02:00
jvcalderon cea1c04b73 Creators count functionality 2023-10-24 17:16:44 +02:00
Sam Rose 2f0a40e9bb
Introduce modal to show warning to users, and toast to show success. 2023-10-24 15:18:46 +01:00
Andrew Kingston ea7b3381c2 Merge branch 'master' of github.com:Budibase/budibase into grid-inline-searching 2023-10-24 13:37:44 +01:00
Adria Navarro 969ab79a61
Merge branch 'master' into feature/buttongroup-component 2023-10-24 14:30:09 +02:00
Andrew Kingston 7e3d59a582
Merge branch 'master' into grid-inline-searching 2023-10-24 13:30:07 +01:00
Andrew Kingston 7c19e9ed96
Merge branch 'master' into fix-table-metadata 2023-10-24 11:34:52 +01:00
jvcalderon 5c1710b5da Update pro submodule 2023-10-24 12:15:28 +02:00
jvcalderon dbc903f3e6 Remove console.log 2023-10-24 12:03:07 +02:00
jvcalderon 980a46abb3 Merge branch 'master' into feature/per-creator-migration 2023-10-24 11:03:02 +02:00
jvcalderon f643bc5ee8 Keep only migrations 2023-10-24 10:24:00 +02:00
Andrew Kingston d82aec9f31
Merge branch 'master' into feature/form-block-description 2023-10-24 08:56:14 +01:00
Andrew Kingston 76edd1421a
Merge branch 'master' into feature/formblock-styles-tab-reflow 2023-10-24 08:55:51 +01:00
Andrew Kingston 00450dc59b
Merge branch 'master' into feature/form-block-settings-reflow 2023-10-24 08:55:37 +01:00
Andrew Kingston 654e6539bb
Merge branch 'master' into fix-table-metadata 2023-10-24 08:55:23 +01:00
Andrew Kingston b6a8e6c0cf
Merge branch 'master' into enable-collapsing-settings-sections 2023-10-24 08:54:54 +01:00
Adria Navarro 52b86b44cb
Merge branch 'master' into feature/change-global-admin-to-creator 2023-10-24 09:54:19 +02:00
Andrew Kingston c5537dd58c Prettier 2023-10-24 08:46:55 +01:00
Andrew Kingston f355933bf3 Add grid support for old views with groupBy specified, and any other datasource that has a custom means of determining a datasource schema 2023-10-24 08:26:57 +01:00
Sam Rose a701933f48
Frontend changes for the user column migration work. 2023-10-23 17:57:25 +01:00
Dean 08a22f1525 Show 'Creator' instead of 'Admin' for the global user role picker 2023-10-23 16:47:05 +01:00
Sam Rose 42e31d19fb
Merge master. 2023-10-23 16:18:51 +01:00
Adria Navarro 3deb8341d3
Merge branch 'master' into BUDI-7641/package_version_from_env 2023-10-23 15:57:24 +02:00
jvcalderon bc4dd8e1c9 Update pro submodule 2023-10-23 15:43:44 +02:00
Adria Navarro 453c0744be Fix tests 2023-10-23 15:20:44 +02:00
Adria Navarro e3b342da57 Fix after renames 2023-10-23 13:57:23 +02:00
Adria Navarro 3c85f1ce9e Fix after renames 2023-10-23 13:55:58 +02:00
Adria Navarro 3c16e82035 Comment docker 2023-10-23 13:55:23 +02:00
Adria Navarro 0cc7cc67a3 Renames 2023-10-23 13:53:18 +02:00
Andrew Kingston 73f3b76c01 Update default column visibility check 2023-10-23 12:40:29 +01:00
Dean cf8a634a72 Merge remote-tracking branch 'origin/master' into feature/form-block-description 2023-10-23 12:34:31 +01:00
jvcalderon a22aea63a3 Update pro submodule 2023-10-23 13:33:56 +02:00
jvcalderon a285fb1d40 Missed code in merge 2023-10-23 13:33:27 +02:00
jvcalderon 648410348d [Revert] [Added] Per user per creator changes 2023-10-23 13:27:59 +02:00
Sam Rose 5e6ed0fd67
Implement many-to-one user column migration. 2023-10-23 11:54:27 +01:00
Adria Navarro 4ee1fd0f7a Default to package.json 2023-10-23 12:23:44 +02:00
Sam Rose febfab0927
Fix tests/types. 2023-10-23 10:48:10 +01:00
Sam Rose 9e279be4c3
Put pro back to where it was. 2023-10-23 10:35:41 +01:00
Sam Rose 06f0a8da1a
Update pro submodule. 2023-10-23 09:59:11 +01:00
Sam Rose 9dd16381a7
Merge base branch. 2023-10-23 09:52:17 +01:00
Sam Rose 86458dc321
Merge branch 'feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column-2 2023-10-23 09:50:40 +01:00
Sam Rose 2d26597d07
Fix tests after merge. 2023-10-23 09:49:57 +01:00
Sam Rose a563cf3594
Merge master. 2023-10-23 09:39:34 +01:00
Adria Navarro e7459bb5e7 Fix test 2023-10-20 20:42:58 +02:00
Adria Navarro 71869badfa Fix tests 2023-10-20 19:19:35 +02:00
Adria Navarro d1f0e8fca0 Fix tests 2023-10-20 17:53:40 +02:00
Adria Navarro e83e45e2b6
Merge branch 'master' into BUDI-7641/package_version_from_env 2023-10-20 17:40:17 +02:00
Adria Navarro 5ee1d73e81 Add args to build 2023-10-20 17:25:30 +02:00
Adria Navarro 9dacb5849b Add versions to server/worker docker v2 2023-10-20 17:19:44 +02:00
Adria Navarro 13a8b20ea9
Merge branch 'master' into update-pro-ref 2023-10-20 17:04:04 +02:00
Adria Navarro 8a939dd3e6 Update pro submodule ref 2023-10-20 17:02:24 +02:00
mike12345567 8c744ea7a9 PR comments. 2023-10-20 15:57:45 +01:00
mike12345567 04a2bbc61a Two fixes here - a quick fix for the builder side panel, making sure it fills up with users correctly (not all, but enough to make it look more pleasant) as well as dropping user search endpoint permissions to allow basic users to access it for user columns. 2023-10-20 15:45:35 +01:00
Dean 871891c2a2 Parse view v1 schema to fix builder crashed caused by 'groupedby' views 2023-10-20 15:35:16 +01:00
Adria Navarro 56ae857d49 Add version to dev .env 2023-10-20 16:21:48 +02:00
Adria Navarro 961913b88a Use version from environment 2023-10-20 16:21:35 +02:00
Andrew Kingston 9a72c418c9 Remove duplicate comment 2023-10-20 14:13:30 +01:00
Michael Drury 8e76618a85
Merge branch 'master' into fix/12121-datasource-error-stopping-creation 2023-10-20 12:45:18 +01:00
Andrew Kingston 3bfa6e9d60
Merge branch 'master' into grid-inline-searching 2023-10-20 12:32:07 +01:00
mike12345567 bc8e84b815 Fixing datasource error states causing a datasource to fail to be built fully - this was simply a frontend issue of the error not being handled on creation. 2023-10-20 12:19:04 +01:00
Andrew Kingston 940801d8ea
Merge branch 'master' into grid-all-datasources 2023-10-20 11:54:42 +01:00
Dean 49389c2f35 Merge remote-tracking branch 'origin/master' into feature/component-name-setting-ux-update 2023-10-20 11:31:51 +01:00
Andrew Kingston db286d431a Fix dependsOn logic for gridblock after renaming setting key 2023-10-20 11:20:14 +01:00
Andrew Kingston fa90629139 Improve grid datasource backwards compatibility 2023-10-20 11:14:24 +01:00
Dean 22a8f7bfae Lint, removed dependancy import 2023-10-20 11:09:00 +01:00
Andrew Kingston 7fd7943a5a Remove required prop from gridblock to ensure backwards compatiblity 2023-10-20 11:07:37 +01:00
Dean 45d1551083 PR feedback 2023-10-20 11:03:59 +01:00
Andrew Kingston 452dc92356 Merge branch 'master' of github.com:Budibase/budibase into grid-all-datasources 2023-10-20 10:41:08 +01:00
Dean 3e51557281 Feedback update, add tag to getsections fn definition 2023-10-20 10:38:34 +01:00
Dean 7de000e5df Lint 2023-10-20 10:15:33 +01:00
Dean 276ec8c71b Merge remote-tracking branch 'origin/master' into feature/buttongroup-component 2023-10-20 10:10:57 +01:00
Dean f135af1957 Merge remote-tracking branch 'origin/master' into feature/component-name-setting-ux-update 2023-10-20 09:45:29 +01:00
Dean 3e9104a4d1 Refactored naming logic into common area in the event that there is no title. 2023-10-20 09:44:42 +01:00
Andrew Kingston 8d2530d4c8 Swap let for const 2023-10-20 09:19:05 +01:00
Andrew Kingston 357f495c0d Respect grid visibility and ordering by default when rendering tables 2023-10-20 09:14:15 +01:00
Andrew Kingston 880c509f64 Always use custom table columns if provided to ensure we allow showing hidden columns if requested. Use grid visibility and order metadata by default in tables 2023-10-20 09:13:42 +01:00
Andrew Kingston ff257abab3 Update copy for table column widths to inform user that a unit is required 2023-10-20 09:09:32 +01:00
Andrew Kingston d0b71ada08 Ensure BBUI table component ignores numeric widths that are invalid 2023-10-20 09:08:45 +01:00
Adria Navarro 806685014b
Merge branch 'master' into BUDI-7641/remove-npm-from-apps-worker-docker 2023-10-20 10:07:33 +02:00
Adria Navarro 6b68e52836 Use v2 dockerfiles 2023-10-20 10:02:18 +02:00
Sam Rose a3ad8780de
Implement many-to-many user column migrations. 2023-10-19 17:28:55 +01:00
mike12345567 d1b551c6aa Type fixes. 2023-10-19 16:56:45 +01:00
Adria Navarro a30982177f Update pro 2023-10-19 17:06:26 +02:00
Dean c983d844d3 Merge remote-tracking branch 'origin/master' into feature/form-block-description 2023-10-19 12:30:59 +01:00
Dean f59d622291 Moved buttons section below fields 2023-10-19 12:28:28 +01:00
mike12345567 470735cc97 Updating types across old table utilities. 2023-10-19 12:26:29 +01:00
Dean 3b0a9fdfcb Merge remote-tracking branch 'origin/master' into feature/form-block-settings-reflow 2023-10-19 12:11:43 +01:00
mike12345567 f072a77d9f Updating throw. 2023-10-19 12:03:49 +01:00
mike12345567 54d976f750 Fixing PR comments. 2023-10-19 12:02:49 +01:00
Dean b6de1c544b Merge remote-tracking branch 'origin/master' into feature/formblock-styles-tab-reflow 2023-10-19 12:01:00 +01:00
Dean ad54b31667 Moved label align and button size into styles section of form block. Added tagged component settings section to the style section. General settings and sections now have a tag property for filtering. 2023-10-19 12:00:47 +01:00
Andrew Kingston 94654e9888 Allow manifest key to initially collapse settings sections 2023-10-19 11:31:56 +01:00
Andrew Kingston a069b343e9 Allow settings sections to be collapsible 2023-10-19 11:29:37 +01:00
Adria Navarro 35f7aa0955
Merge branch 'master' into BUDI-7641/remove-npm-from-apps-worker-docker 2023-10-19 12:02:45 +02:00
Adria Navarro 63a26ac823 Fix dependencies 2023-10-19 11:16:52 +02:00
Adria Navarro 3851a67915 Unify jsonwebtoken and lodash packages 2023-10-19 11:00:53 +02:00
Sam Rose 77729737bc
First test passes! 2023-10-19 09:47:50 +01:00
mike12345567 9bd67595ec Merge branch 'master' of github.com:Budibase/budibase into refactor/improve-table-sdk 2023-10-18 19:05:23 +01:00
mike12345567 2d5818ae33 Updating datasource controller to use SDK rather than calling through controllers. 2023-10-18 18:58:58 +01:00
mike12345567 25ad78a94e Adding utilities. 2023-10-18 18:58:27 +01:00
mike12345567 8d1163e50d Adding external SDK, updating external controllers. 2023-10-18 18:58:19 +01:00
mike12345567 6bfa9d407b Adding internal SDK, updating internal table controllers. 2023-10-18 18:57:52 +01:00
mike12345567 291a97a078 Moving getters. 2023-10-18 18:57:30 +01:00
mike12345567 35e6452ecb Adding basic structure for the external/internal SDK. 2023-10-18 18:57:19 +01:00