Commit Graph

8307 Commits

Author SHA1 Message Date
mike12345567 e188367ae2 Removing constants import that was breaking things. 2021-11-08 18:59:27 +00:00
mike12345567 d5f10f5f13 Linting. 2021-11-08 18:27:18 +00:00
mike12345567 2312defd3c Fixing some issues with multi-select coming back as string. 2021-11-08 18:23:48 +00:00
mike12345567 0e499fd60d Some refactoring to make it easier to find specific edge cases of sql clients. 2021-11-08 18:12:40 +00:00
mike12345567 a0ebe7537d Merge branch 'develop' of github.com:Budibase/budibase into fix/user-metadata 2021-11-08 17:28:32 +00:00
mike12345567 15907280b2 Fixing #3182 so that sorting is disabled for certain column types that we cannot use, as well as fixing some issues with MS-SQL plus tables. 2021-11-08 17:25:05 +00:00
Andrew Kingston 08ae550791 Update default number of cards in card list block to 8 2021-11-08 16:54:43 +00:00
Andrew Kingston de9c038150 Fix card list block empty state and update size 2021-11-08 16:40:45 +00:00
Andrew Kingston 3e5980082f Fix card button text potentially showing as undefined 2021-11-08 14:51:13 +00:00
mike12345567 94263b8496 Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-08 14:43:28 +00:00
Budibase Release Bot c10163a301 v0.9.180 2021-11-08 14:36:40 +00:00
Andrew Kingston aa56d6fd63 Add card list with search block. Add concept of nested settings which can consume their own contexts and are not enriched at the top level 2021-11-08 14:35:58 +00:00
Martin McKeaveney 41d61a8310
Merge pull request #3289 from Budibase/fix/prevent-revert
fix revert on unpublished app
2021-11-08 15:28:20 +01:00
Martin McKeaveney 0b6e6b35e8 change message when app not deployed 2021-11-08 15:26:44 +01:00
Martin McKeaveney 42e9286c68 adding check to make sure production db isn't created on sync 2021-11-08 15:26:07 +01:00
Budibase Staging Release Bot e611847752 v0.9.180-alpha.0 2021-11-08 14:13:09 +00:00
mike12345567 c1e23c0153 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-08 14:00:47 +00:00
Budibase Release Bot ec321ba7cb v0.9.179 2021-11-08 12:29:59 +00:00
Martin McKeaveney ed051e1547 fix revert on unpublished app 2021-11-08 13:06:25 +01:00
mike12345567 c22356fb4d Fixing an issue with relationship modal breaking when multiple data sources available to relate to, also fixing an pile of issues with creating and reading rows from SQL server plus. 2021-11-05 18:55:36 +00:00
mike12345567 ab38258654 Updating usage quota middleware to fix issue presented in #3258 where anything with an _id and a _rev is considered to exist in CouchDB, which won't always be the case. Handle the scenario of an external database ID and don't error. 2021-11-05 14:59:28 +00:00
Rory Powell 5c8ad247f8 Merge branch 'develop' into postgres-schema 2021-11-05 14:07:39 +00:00
mike12345567 948ec067d5 Updating underlying sql to not use ilike unless in postgres client. 2021-11-05 13:48:13 +00:00
Andrew Kingston 2f949bad85 Lint 2021-11-05 12:43:26 +00:00
mike12345567 ed89efba70 Cleaning up repeated work in sql server building of schema. 2021-11-05 12:41:26 +00:00
Andrew Kingston f8f906b9de Add ability to link rows in tables, and link rows in the table with search block 2021-11-05 12:38:33 +00:00
Andrew Kingston f08b30b65e Remove forced capitalisation of setting labels 2021-11-05 12:38:15 +00:00
Andrew Kingston cb263cd1e4 Fix issue getting bindable properties when selecting a screen 2021-11-05 12:37:42 +00:00
Andrew Kingston dd73ed3e1a Fix issue saving a doc with a multi-options datatype that was not defined 2021-11-05 12:37:16 +00:00
mike12345567 974cf7b27e Linting and updating SQL Server schema generation to include auto column and primary key recognition. 2021-11-05 12:33:48 +00:00
mike12345567 cadb05923e Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-05 10:58:04 +00:00
mike12345567 c0ff805816 Adding a check to disable user sync in test when server not available. 2021-11-04 20:28:26 +00:00
Budibase Release Bot 56e5aca60f v0.9.178 2021-11-04 16:37:06 +00:00
Budibase Staging Release Bot 87f472a82c v0.9.176-alpha.3 2021-11-04 16:30:06 +00:00
Martin McKeaveney 37ddd416c0 tidy up 2021-11-04 17:28:07 +01:00
Martin McKeaveney a48f8434eb fix safari 2021-11-04 17:24:56 +01:00
Martin McKeaveney 1c237d8dc6
Merge pull request #3187 from Budibase/fix/safari-bug
Fix budibase builder preview on safari
2021-11-04 17:22:02 +01:00
Martin McKeaveney 5ebeb6814d refactor switch into a key value handler object
tidy up - remove logs and comments

update windowed modals to use postMessage
2021-11-04 17:21:17 +01:00
mike12345567 9aa708588a Adding the sync call from the worker for creation, updating and deletion of users. Making sure that production and development apps are always up to date with user metadata. 2021-11-04 14:53:03 +00:00
Budibase Release Bot 0b57f74a43 v0.9.177 2021-11-04 13:56:13 +00:00
Martin McKeaveney e9fe1edfc6
Merge pull request #3159 from Budibase/feature/template-urls
allow opening a template directly from a URL
2021-11-04 14:46:18 +01:00
Martin McKeaveney 9ce371fa3c remove logs 2021-11-04 14:04:58 +01:00
Martin McKeaveney 7cead2d8f4 cookie based approach 2021-11-04 14:03:18 +01:00
Andrew Kingston 9d473e9a34 Lint 2021-11-04 11:31:43 +00:00
Andrew Kingston dc9b1a2a8c Add button to table with search block and support defining multiple settings sections in component manifest entries 2021-11-04 11:30:43 +00:00
Martin McKeaveney 24805b183b lint 2021-11-04 10:50:43 +01:00
Budibase Release Bot 2715f44db0 v0.9.176 2021-11-04 09:24:56 +00:00
Budibase Staging Release Bot f7b155c7dd v0.9.176-alpha.2 2021-11-04 09:24:27 +00:00
Michael Drury 09e123de95
Merge pull request #3092 from Budibase/dependabot/npm_and_yarn/packages/server/vm2-3.9.4
Bump vm2 from 3.9.3 to 3.9.4 in /packages/server
2021-11-04 09:15:34 +00:00
Michael Drury 821f2da4ec
Merge pull request #3226 from Budibase/fix/3195
Fix for bindings not passing through falsy values
2021-11-04 09:13:57 +00:00
Michael Drury 4d6b63b537
Merge pull request #3239 from Budibase/fix/mike-various
Various fixes for recent issues
2021-11-04 09:13:27 +00:00
Budibase Staging Release Bot bbd249c07d v0.9.176-alpha.1 2021-11-04 00:48:41 +00:00
Martin McKeaveney a46ef3fe4f
Merge pull request #3231 from opensas/patch-1
fix: update README.md
2021-11-04 01:39:34 +01:00
Michael Drury 8bf2e7278e Adding sync user endpoint to server which can be used by the worker. 2021-11-03 23:15:38 +00:00
Michael Drury 1aeb12b0aa Syncing user metadata when builder opened as well as including all global user props for filtering/searching. 2021-11-03 22:23:00 +00:00
Budibase Staging Release Bot 30bdc11527 v0.9.176-alpha.0 2021-11-03 16:33:02 +00:00
Rory Powell 4629fc9e6b Merge branch 'master' into develop 2021-11-03 16:24:16 +00:00
Budibase Release Bot 22f33ba0f0 v0.9.175 2021-11-03 16:20:47 +00:00
Andrew Kingston df9f061d66 Remove conditional props from manifest for table with search block 2021-11-03 16:18:12 +00:00
Andrew Kingston 7fc5851b4c Revert changes to medium sized checkbox 2021-11-03 16:17:45 +00:00
Rory Powell 2358c215d9
Merge pull request #3238 from Budibase/user-password-fix
Fix: Prevent user updates in multi tenant mode from deleting user password
2021-11-03 16:10:39 +00:00
Andrew Kingston 3acc937ddc Fix picker width in table with search block and enable autosizing of other search components 2021-11-03 15:53:45 +00:00
Rory Powell 85cca04321 Add expired user notification 2021-11-03 15:46:45 +00:00
mike12345567 24b2036e09 Fixing rest test mocking. 2021-11-03 15:45:19 +00:00
Andrew Kingston c5433e6ef8 Add support for tables updating server-side sorting 2021-11-03 15:26:15 +00:00
Budibase Release Bot 551be52bfb v0.9.174 2021-11-03 15:10:20 +00:00
Rory Powell 2dced6f7a8 Fix: Prevent user updates in multi tenant mode from deleting user password. Also forward the authentication error from the backend to the login page to warn when an sso user is trying to log in with a password when one is not present 2021-11-03 15:04:05 +00:00
mike12345567 9ce1866fab Fixing an issue with webhooks, couldn't use them in development (like getting schema) and making sure trigger will always use production app #3143. 2021-11-03 14:08:47 +00:00
mike12345567 62613f6a74 Fixing #3237 and #3235 - always apply headers on out going webhooks if they are specified and handle a range of response codes. 2021-11-03 13:13:22 +00:00
mike12345567 aebd39d874 Fixing REST PUT using POST as per #3227. 2021-11-03 13:12:20 +00:00
Andrew Kingston 7ec5c2b1f2 Allow table with search block to render correct components for all relevant field types 2021-11-03 11:58:06 +00:00
Andrew Kingston 73d5d1289b Standardise fetching schema from client apps to fix issues with determing schema for certain data sources 2021-11-03 11:57:47 +00:00
Martin McKeaveney f07e383b5a remove log 2021-11-03 12:56:42 +01:00
mike12345567 bbcee67e4c Fixing issue #3199 - don't allow submitting automation creation modal without name, adding error message. 2021-11-03 11:55:01 +00:00
Martin McKeaveney e7167713fc set template URL in store instead of passing around param 2021-11-03 12:43:52 +01:00
Andrew Kingston bea7a5955e Fix spectrum bug with larger checkboxes 2021-11-03 11:02:59 +00:00
opensas 2ae6f9ee6e
fix: update README.md
add space between #### and text title
2021-11-03 02:42:44 -03:00
Budibase Staging Release Bot a0c9f4c977 v0.9.173-alpha.8 2021-11-02 17:06:37 +00:00
mike12345567 be8979e50a Fixing bug #3195 with zero/falsy values not being passed out of bindings. 2021-11-02 16:55:16 +00:00
mike12345567 2719f7e97e Fixing bug #3195 with zero/falsy values not being passed out of bindings. 2021-11-02 16:30:43 +00:00
Budibase Staging Release Bot fb8cc1c243 v0.9.173-alpha.7 2021-11-02 15:32:59 +00:00
Michael Drury 4fe7a3eebb
Merge pull request #3224 from Budibase/labday/mike-sql
SQL table manipulation and some external table UI rework
2021-11-02 15:23:30 +00:00
mike12345567 67ed3dac19 Fixing some issues with MySQL and dropping foreign key constrained columns. 2021-11-02 13:36:23 +00:00
Andrew Kingston 212e62b62e Simplify some block logic 2021-11-02 12:58:38 +00:00
Andrew Kingston ee7ab70f4d Comment some parts of blocks implementation for clarity 2021-11-02 08:58:50 +00:00
Andrew Kingston 4cbe82c1db Add title setting to table with search block and fix import paths 2021-11-02 08:51:48 +00:00
Andrew Kingston 7bd46a6ecb Remove old files and tidy up 2021-11-02 08:47:19 +00:00
Andrew Kingston 808d2d0f73 Add generic block structure with support for writing blocks like normal svelte components rather than a JSON builder 2021-11-02 08:45:27 +00:00
mike12345567 2d2d342a8c Removing the edit display columns modal as it was very specific and a little confusing, these are defaulted now anyway like internal tables. 2021-11-01 21:17:51 +00:00
mike12345567 3e82abd88e Updating external table UI a bit, adding the concept of defining an existing relationship, updating the data sources UI to make it a bit less cluttered and make the creation of tables more obvious. 2021-11-01 21:15:46 +00:00
Andrew Kingston 6ad3df2e7f Add initial structure of table with search block 2021-11-01 17:18:38 +00:00
mike12345567 1d48ffc38a Adding error scenario for table name already in use. 2021-11-01 16:03:53 +00:00
mike12345567 5d0ce3bf89 Adding mysql support. 2021-10-29 18:43:50 +01:00
mike12345567 0cf08df80f Adding many to many support, generating junction table and setting up constraints. 2021-10-29 18:37:29 +01:00
mike12345567 eb8fde5c95 Fixing a lot of issues around dropping columns, updating columns, relationships and bi-directionality, display columns now default to something for SQL tables as well. 2021-10-29 13:34:10 +01:00
mike12345567 7b1114b7df Adding SQL relationship building. 2021-10-28 22:44:31 +01:00
mike12345567 246d08c804 SQL table building. 2021-10-28 19:39:42 +01:00
Andrew Kingston f682e7e4ac Add in-preview editing for all field labels 2021-10-28 16:31:22 +01:00
Andrew Kingston 90403948dd Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston 232957f610 Add in-preview editing of buttons and add settings bar for buttons 2021-10-28 15:29:48 +01:00
Andrew Kingston d3839f2f91 Focus contenteditable node when starting editing a component in the preview 2021-10-28 13:28:43 +01:00
Andrew Kingston 9bf5d50d4f Add in-preview editing of link text and improve placeholder usage when combined with in-preview editing 2021-10-28 13:20:04 +01:00
Andrew Kingston 1333844a2c Move keyboard handling into client library so that component deletion via keyboard can reference client app state 2021-10-28 13:00:55 +01:00
Budibase Staging Release Bot 9b63fd62eb v0.9.173-alpha.6 2021-10-28 11:52:29 +00:00
Andrew Kingston 7c16a1423b Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +01:00
mike12345567 51dcdf0697 First version of schema generation for ms-sql, able to retrieve basic tables and rows. 2021-10-27 18:36:27 +01:00
mike12345567 ac27ba4c81 Adding docker compose for ms-sql with products, tasks table setup. 2021-10-27 17:32:02 +01:00
Rory Powell 5b06aa082c Remove whitespace 2021-10-27 17:23:52 +01:00
Rory Powell 60f8bc0450 Update tests 2021-10-27 17:21:29 +01:00
Budibase Staging Release Bot 7a6cf5d534 v0.9.173-alpha.5 2021-10-27 15:45:31 +00:00
mike12345567 3ff25e4122 Fixing an issue with data source saving. 2021-10-27 16:35:53 +01:00
Budibase Staging Release Bot 92f0963726 v0.9.173-alpha.4 2021-10-27 15:24:55 +00:00
Rory Powell 1ffab7f5d6 Postgres: Use another schema other than 'public' 2021-10-27 16:21:19 +01:00
Michael Drury 88c34a42c5
Merge pull request #3165 from Budibase/fix/sql-issues
Not importing SQL tables without a primary key and displaying an error, disabling query HBS helpers
2021-10-27 16:14:13 +01:00
Budibase Release Bot b0a9de45cf v0.9.173 2021-10-27 15:13:34 +00:00
Budibase Staging Release Bot 7bbd460f86 v0.9.173-alpha.3 2021-10-27 14:27:54 +00:00
Andrew Kingston 13a0744c50
Merge pull request #3177 from Budibase/ak-fixes
Relationship aware data provider automatic reloading + extras
2021-10-27 15:16:39 +01:00
mike12345567 d2c738ab33 Addressing review comments. 2021-10-27 14:55:09 +01:00
mike12345567 f86448a276 Merge branch 'develop' of github.com:Budibase/budibase into fix/sql-issues 2021-10-27 14:51:43 +01:00
Andrew Kingston 6b69ce4eb9 Use explicity onDestroy calls rather than an onMount return value to ensure callbacks are actually executed to fix data provider cleanup issues 2021-10-27 14:24:36 +01:00
mike12345567 c15aafe6a2 Fixing builder jest tests. 2021-10-27 13:33:11 +01:00
mike12345567 24eebd9b98 Fixing test cases. 2021-10-27 13:10:46 +01:00
Budibase Staging Release Bot 4aaffe23c0 v0.9.173-alpha.2 2021-10-27 09:02:08 +00:00
Rory Powell de95198506
Merge pull request #3155 from Budibase/match-lowercase-emails
Ignore case when finding user by email
2021-10-27 09:51:37 +01:00
Rory Powell 9cc7bc3bf6
Merge pull request #3145 from Budibase/prevent-dev-app-access
Prevent non builder from accessing dev apps
2021-10-27 09:50:50 +01:00
Andrew Kingston 5d5a35fd32 Don't invalidate users table due to autocolumn fields in schema when hot reloading data in the client library 2021-10-27 08:37:51 +01:00
mike12345567 8b2c505050 Fixing #2718 - disabling handlebars helpers for queries. 2021-10-26 20:04:36 +01:00
mike12345567 015b2a8f56 Fixing #2820 - SQL system no longer includes tables without a primary key constraint and it displays an error to handle this. 2021-10-26 20:03:54 +01:00
Andrew Kingston 870219722a Invalidate related tables automatically via client library and fix issue with data source invalidation from modals 2021-10-26 19:12:55 +01:00
Budibase Staging Release Bot e68412b6c6 v0.9.173-alpha.1 2021-10-26 15:27:44 +00:00
Rory Powell fd9796f715 Update app id check in tests 2021-10-26 16:21:26 +01:00
Rory Powell 7b3c4903dd
Merge pull request #3142 from Budibase/scope-or-view
Scope view filters to table always
2021-10-26 16:17:14 +01:00
Rory Powell 957ce7ef04 Add migration unit tests 2021-10-26 15:47:36 +01:00
Budibase Staging Release Bot 2b38fa91be v0.9.173-alpha.0 2021-10-26 14:03:18 +00:00
Martin McKeaveney 822900d421 Merge branch 'develop' of github.com:Budibase/budibase into feature/template-urls 2021-10-26 15:56:30 +02:00
Rory Powell 61bb04af7e Merge branch 'develop' into match-lowercase-emails 2021-10-26 14:56:22 +01:00
Rory Powell 26bb6cb6b5 Merge branch 'develop' into prevent-dev-app-access 2021-10-26 14:55:59 +01:00
Rory Powell 383f200b99 Merge branch 'develop' into scope-or-view 2021-10-26 14:55:45 +01:00
Rory Powell 62b7787097
Merge pull request #3160 from Budibase/smtp-timeout
Add timeout to node mailer, lower than jest default
2021-10-26 14:52:48 +01:00
Rory Powell 507a58c9c5 Add timeout to node mailer, lower than jest default 2021-10-26 14:31:56 +01:00
Martin McKeaveney 64c48d0ee4 allow opening a template directly from a URL 2021-10-26 15:11:14 +02:00
Martin McKeaveney 9ec7cfbd75 merge with master 2021-10-26 14:28:49 +02:00
Rory Powell 2011e579a1 Ignore case when finding user by email 2021-10-26 12:40:30 +01:00
Andrew Kingston 8cf672252a Update field disabled state when disabled prop changes 2021-10-26 11:05:48 +01:00
Rory Powell 4b80bed3a1 Update snapshot 2021-10-26 09:43:00 +01:00
Rory Powell b8c10c9e9f Linting 2021-10-26 09:42:19 +01:00
Rory Powell 0718f99850 Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Budibase Staging Release Bot cc89350ccb v0.9.169-alpha.18 2021-10-25 13:50:36 +00:00
Michael Drury 1aee0e8f2a
Merge pull request #3122 from Budibase/fix/mike-d-various-fixes
Various fixes, including replacing live replication from prod -> dev
2021-10-25 14:41:08 +01:00
Rory Powell f1a74d4384 Scope view filters to table always 2021-10-25 13:34:48 +01:00