Commit Graph

8217 Commits

Author SHA1 Message Date
Andrew Kingston 76c0f24977 Simplify some block logic 2021-11-02 12:58:38 +00:00
Andrew Kingston e43aba075e Comment some parts of blocks implementation for clarity 2021-11-02 08:58:50 +00:00
Andrew Kingston 0f1d9c4de3 Add title setting to table with search block and fix import paths 2021-11-02 08:51:48 +00:00
Andrew Kingston 38eacb5a10 Remove old files and tidy up 2021-11-02 08:47:19 +00:00
Andrew Kingston e6ffccaff7 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 5d40882c66 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 c82cf534d8 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 e9dd47b562 Add initial structure of table with search block 2021-11-01 17:18:38 +00:00
mike12345567 7efa06901e Adding error scenario for table name already in use. 2021-11-01 16:03:53 +00:00
mike12345567 835b0efe74 Adding mysql support. 2021-10-29 18:43:50 +01:00
mike12345567 f071cc5219 Adding many to many support, generating junction table and setting up constraints. 2021-10-29 18:37:29 +01:00
mike12345567 a94376ce43 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 949c6b8653 Adding SQL relationship building. 2021-10-28 22:44:31 +01:00
mike12345567 329156d6cc SQL table building. 2021-10-28 19:39:42 +01:00
Budibase Staging Release Bot 6e6018c8c7 v0.9.173-alpha.6 2021-10-28 11:52:29 +00:00
mike12345567 5e846ac64d First version of schema generation for ms-sql, able to retrieve basic tables and rows. 2021-10-27 18:36:27 +01:00
mike12345567 09d83dea39 Adding docker compose for ms-sql with products, tasks table setup. 2021-10-27 17:32:02 +01:00
Rory Powell c210802b4c Remove whitespace 2021-10-27 17:23:52 +01:00
Rory Powell 8b8c923541 Update tests 2021-10-27 17:21:29 +01:00
Budibase Staging Release Bot c6304ca321 v0.9.173-alpha.5 2021-10-27 15:45:31 +00:00
mike12345567 49d2796f8e Fixing an issue with data source saving. 2021-10-27 16:35:53 +01:00
Budibase Staging Release Bot 2f2bf2f26c v0.9.173-alpha.4 2021-10-27 15:24:55 +00:00
Rory Powell 0ddd689b89 Postgres: Use another schema other than 'public' 2021-10-27 16:21:19 +01:00
Michael Drury 836993bb29 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 484a38c9f5 v0.9.173 2021-10-27 15:13:34 +00:00
Budibase Staging Release Bot 600e28e3d7 v0.9.173-alpha.3 2021-10-27 14:27:54 +00:00
Andrew Kingston 97dd8e9989 Merge pull request #3177 from Budibase/ak-fixes
Relationship aware data provider automatic reloading + extras
2021-10-27 15:16:39 +01:00
mike12345567 b1143e1957 Addressing review comments. 2021-10-27 14:55:09 +01:00
mike12345567 89d04d5cc7 Merge branch 'develop' of github.com:Budibase/budibase into fix/sql-issues 2021-10-27 14:51:43 +01:00
Andrew Kingston 25bafc15d2 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 ce00ddcf68 Fixing builder jest tests. 2021-10-27 13:33:11 +01:00
mike12345567 fa38a4b37e Fixing test cases. 2021-10-27 13:10:46 +01:00
Budibase Staging Release Bot 3376e07bca v0.9.173-alpha.2 2021-10-27 09:02:08 +00:00
Rory Powell dfbbbc443b 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 54ddfb32e0 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 2af3888d8a 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 eb411cd0b0 Fixing #2718 - disabling handlebars helpers for queries. 2021-10-26 20:04:36 +01:00
mike12345567 ac1d6ee23e 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 262b238388 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 313ab9fe97 v0.9.173-alpha.1 2021-10-26 15:27:44 +00:00
Rory Powell 67f851b68c Update app id check in tests 2021-10-26 16:21:26 +01:00
Rory Powell 073f8ade1f 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 a4aa371ceb Add migration unit tests 2021-10-26 15:47:36 +01:00
Budibase Staging Release Bot 25c74c1d70 v0.9.173-alpha.0 2021-10-26 14:03:18 +00:00
Martin McKeaveney 2df75d9b28 Merge branch 'develop' of github.com:Budibase/budibase into feature/template-urls 2021-10-26 15:56:30 +02:00
Rory Powell 86a4ac072b Merge branch 'develop' into match-lowercase-emails 2021-10-26 14:56:22 +01:00
Rory Powell 081e38e5ea Merge branch 'develop' into prevent-dev-app-access 2021-10-26 14:55:59 +01:00
Rory Powell 59c44eafd3 Merge branch 'develop' into scope-or-view 2021-10-26 14:55:45 +01:00
Rory Powell 7c4e675292 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 55599c0a50 Add timeout to node mailer, lower than jest default 2021-10-26 14:31:56 +01:00
Martin McKeaveney a23e1a87e1 allow opening a template directly from a URL 2021-10-26 15:11:14 +02:00
Martin McKeaveney 7d5d4e5d36 merge with master 2021-10-26 14:28:49 +02:00
Rory Powell 7b8318f9db Ignore case when finding user by email 2021-10-26 12:40:30 +01:00
Andrew Kingston 54aad2ff1e Update field disabled state when disabled prop changes 2021-10-26 11:05:48 +01:00
Rory Powell 21da900567 Update snapshot 2021-10-26 09:43:00 +01:00
Rory Powell 46a886f83d Linting 2021-10-26 09:42:19 +01:00
Rory Powell ad61f2af3b Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Budibase Staging Release Bot f7dd62cbc2 v0.9.169-alpha.18 2021-10-25 13:50:36 +00:00
Michael Drury 7ee3029dfe 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 54c5ae1441 Scope view filters to table always 2021-10-25 13:34:48 +01:00
Budibase Staging Release Bot 04b9ad1aae v0.9.169-alpha.17 2021-10-25 09:51:42 +00:00
Rory Powell 07270e041c Merge pull request #3134 from Budibase/no-access-role-remove-public
Remove public role selection
2021-10-25 10:43:47 +01:00
Budibase Staging Release Bot 7b4bf6062a v0.9.169-alpha.16 2021-10-25 09:26:20 +00:00
Rory Powell 547bb8ba80 Merge pull request #3104 from Budibase/view-not-set
Handle nulls / empty in views and tables
2021-10-25 10:16:23 +01:00
Rory Powell 6dbc271751 Remove public role selection 2021-10-25 10:15:04 +01:00
Budibase Release Bot 96ef21114f v0.9.172 2021-10-25 09:08:46 +00:00
Rory Powell 2b283d8bab Revert bad revert 2021-10-25 10:02:43 +01:00
Martin McKeaveney 9a1807bc89 get company size and role into intercom 2021-10-25 11:00:33 +02:00
Rory Powell 99b42c7083 Feedback: Rename set/not set to not empty/empty, remove cell rendering 2021-10-25 09:58:05 +01:00
Budibase Staging Release Bot 7c0dab264d v0.9.169-alpha.15 2021-10-25 08:10:24 +00:00
Martin McKeaveney cec081bdfc Merge pull request #3106 from Budibase/fix/postreleasefixes2
Fix/postreleasefixes2
2021-10-25 09:01:50 +01:00
Budibase Staging Release Bot 895803f618 v0.9.169-alpha.14 2021-10-23 14:17:01 +00:00
Peter Clement 6e2d93f151 Merge pull request #3105 from Budibase/feature/smtp-automation-check
Disable action if SMTP has not been setup
2021-10-23 15:08:50 +01:00
Budibase Staging Release Bot 02804b3003 v0.9.169-alpha.13 2021-10-22 16:58:51 +00:00
mike12345567 a7c5a001fd Merge branch 'develop' of github.com:Budibase/budibase into feature/smtp-automation-check 2021-10-22 17:49:34 +01:00
Martin McKeaveney a83f419867 merge with develop 2021-10-22 17:49:22 +01:00
mike12345567 c5a67f7e89 Merge branch 'develop' of github.com:Budibase/budibase into fix/mike-d-various-fixes 2021-10-22 17:48:21 +01:00
mike12345567 0266e0586f Removing failing cypress tests to pass CI again. 2021-10-22 17:47:32 +01:00
Martin McKeaveney 0a60899a63 Merge branch 'develop' of github.com:Budibase/budibase into fix/postreleasefixes2 2021-10-22 17:39:59 +01:00
mike12345567 f056f2bf7e Merge branch 'develop' of github.com:Budibase/budibase into fix/mike-d-various-fixes 2021-10-22 17:35:05 +01:00
Rory Powell d915400c0a Merge branch 'develop' into view-not-set 2021-10-22 14:44:40 +01:00
mike12345567 bd59c28081 Removing live replication between deployed and development app, instead it is replicated when the app is opened in the builder. Live replication was not working and only actually pulled back the data on deploy which was a little confusing, this way it can easily be controlled. 2021-10-22 14:34:20 +01:00
Budibase Staging Release Bot 510286e80c v0.9.169-alpha.12 2021-10-22 09:02:10 +00:00
Andrew Kingston ae7af27e7a Merge pull request #3103 from Budibase/ak-fixes
Quick fixes for various issues
2021-10-22 09:50:58 +01:00
Peter Clement 3ac85375b2 Merge remote-tracking branch 'origin/develop' into feature/smtp-automation-check 2021-10-22 09:27:13 +01:00
Budibase Staging Release Bot 238b18b09c v0.9.169-alpha.11 2021-10-21 18:01:14 +00:00
Mitch-Budibase 907c506b95 Merge pull request #3108 from Budibase/cypress-testing
Editing customThemingProperties to run all tests
2021-10-21 18:51:07 +01:00
Mitch-Budibase 2a933bf68a Editing customThemingProperties to run all tests
removing 'only' from one of the tests.

Both tests in this spec will now run
2021-10-21 18:50:09 +01:00
Martin McKeaveney 789cfa0768 fix tests 2021-10-21 18:05:18 +01:00
mike12345567 e18d9e7311 Adding email address disabled to update user info, so you can see which user you are currently logged into. 2021-10-21 17:32:01 +01:00
mike12345567 f18a28f0c8 When adding a user through the basic onboarding flow they get a temporary password, but we didn't set force password reset, meaning the user wouldn't necessarily have to change the temp password. 2021-10-21 17:25:29 +01:00
mike12345567 23071993c6 Fixing an issue with user metadata not always being present when user accessing app, causing weird issues. 2021-10-21 17:23:10 +01:00
Peter Clement 2c27a5e7bb negate boolean 2021-10-21 16:38:15 +01:00
Martin McKeaveney 9301406bcd enable collapsible nodes in component tree 2021-10-21 16:24:58 +01:00
Martin McKeaveney 2c5285006d fix import 2021-10-21 16:04:00 +01:00
Martin McKeaveney 3b3862bd01 Merge branch 'develop' into fix/postreleasefixes2 2021-10-21 16:00:48 +01:00
Budibase Staging Release Bot ebfa34e094 v0.9.169-alpha.10 2021-10-21 14:40:18 +00:00
Mitch-Budibase 2636dd67e5 Merge pull request #3024 from Budibase/cypress-testing
New Tests & Command
2021-10-21 15:30:58 +01:00
Mitch-Budibase c81bf77ddd Update to renameAnApplication
Removing a log that I had i place for val
2021-10-21 15:30:19 +01:00
Martin McKeaveney c8a5a1747c remove mysql package 2021-10-21 14:48:20 +01:00
Martin McKeaveney d573eb464a upgrade to mysql2 package 2021-10-21 14:47:35 +01:00
Rory Powell ca4b252abc Merge branch 'develop' into view-not-set 2021-10-21 14:17:04 +01:00
Rory Powell 0fb4613b5a Handle nulls / empty in views and tables 2021-10-21 14:15:55 +01:00
Andrew Kingston 979801be4e Remove log statement in datepicker 2021-10-21 13:52:30 +01:00
Andrew Kingston 906f171ef2 Scope picker transition to avoid weird behaviour when unmounting 2021-10-21 13:36:33 +01:00
Andrew Kingston cc69a3a0c4 Fix styles of template list to display better on mobile 2021-10-21 13:24:37 +01:00
Budibase Staging Release Bot 873c43b8cd v0.9.169-alpha.9 2021-10-21 11:57:41 +00:00
Michael Drury c630b3ea7a Merge pull request #3101 from Budibase/fix/2955
Fixing handlebars binding bug
2021-10-21 12:48:54 +01:00
Budibase Staging Release Bot 83e17da2d3 v0.9.169-alpha.8 2021-10-21 11:40:14 +00:00
Andrew Kingston 85f020d61f Merge pull request #3102 from Budibase/fix/view-column-renaming
Keep views in sync with table schema changes
2021-10-21 12:32:07 +01:00
Martin McKeaveney 218996d50d account for 400 errors in data ui for plus datasources, fix query param selection in automations 2021-10-21 12:31:06 +01:00
Budibase Staging Release Bot fcbe94a08d v0.9.169-alpha.7 2021-10-21 09:52:12 +00:00
Andrew Kingston 2b7f393626 Remove optional chaining from server 2021-10-21 10:24:41 +01:00
Andrew Kingston 5caafed0f8 Keep views up to date with table schema changes 2021-10-20 20:01:49 +01:00
mike12345567 a1aaf00e41 Fixing two issues, not verifying a file has been uploaded for import app and fixing HBS visual issue where handlebars statement could get screwed up. 2021-10-20 18:37:07 +01:00
Andrew Kingston 39c992c6ae Fix view filters not accounting for invalid column names 2021-10-20 14:51:44 +01:00
Budibase Release Bot 36ce61c03e v0.9.171 2021-10-20 13:36:22 +00:00
Budibase Staging Release Bot 845a350505 v0.9.169-alpha.6 2021-10-20 12:59:04 +00:00
Michael Drury 0c678d1cce Merge pull request #3094 from Budibase/fix/sql-auto-update
Fixing issue with SQL tables and automation update row action
2021-10-20 13:48:53 +01:00
Budibase Staging Release Bot cc507bb116 v0.9.169-alpha.5 2021-10-20 12:31:06 +00:00
Andrew Kingston 555742ead1 Merge pull request #3083 from Budibase/fix/date-sorting
Fix date format of dates created with Flatpickr (the date picker in apps)
2021-10-20 13:20:26 +01:00
Budibase Release Bot 949d925f13 v0.9.170 2021-10-20 11:59:17 +00:00
Martin McKeaveney f1126a025b missing dependencies 2021-10-20 12:35:32 +01:00
Budibase Staging Release Bot a65a6d5909 v0.9.169-alpha.4 2021-10-20 09:35:25 +00:00
Andrew Kingston fd9dcf7ce2 Merge pull request #3087 from Budibase/fix/flatpickr-key-events
Fix flatpickr hijacking key events on the whole page
2021-10-20 10:26:42 +01:00
Andrew Kingston 029b447ce7 Merge pull request #3042 from Budibase/fix/app-export-performance
Improve app export experience
2021-10-20 10:25:59 +01:00
Michael Drury e53dba1997 Merge pull request #3086 from Budibase/fix/create-app-exp
Make it possible for first app to be an imported one
2021-10-20 10:24:00 +01:00
mike12345567 1388157706 Making sure cancel/close icon appear when in modal. 2021-10-20 10:05:51 +01:00
mike12345567 bdaf56fac7 Fixing issue with SQL tables and automations updating a row, also making error handling better across automations to make sure some sort of error message is always returned. 2021-10-19 17:00:54 +01:00
Budibase Staging Release Bot 4b77528593 v0.9.169-alpha.3 2021-10-19 15:54:53 +00:00
Martin McKeaveney a174de7f28 error message fixes 2021-10-19 16:52:55 +01:00
Michael Drury 93c0b5ddd4 Merge pull request #3091 from Budibase/fix/table-perms
Fixing table permissions issue
2021-10-19 16:45:41 +01:00
Peter Clement f3990b70e2 Disable action if SMTP has not been setup 2021-10-19 16:44:30 +01:00
Budibase Staging Release Bot ace810d34a v0.9.169-alpha.2 2021-10-19 15:35:03 +00:00
dependabot[bot] 9a09a8c9b3 Bump vm2 from 3.9.3 to 3.9.4 in /packages/server
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.3 to 3.9.4.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.3...3.9.4)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 15:33:24 +00:00
Michael Drury 736a0d0bac Merge pull request #3072 from Budibase/fix/2417
Handling URL.id usage with SQL tables
2021-10-19 16:24:03 +01:00
mike12345567 6539feb6d7 Fixing issue with permissions, if some permissions have already been set for a role an error would be thrown which would break the UI and make it impossible to setup permissions for other tables. 2021-10-19 16:19:48 +01:00
mike12345567 5671b7ff2f Fixing test case issue, Cypress not consistently opening app creation modal. 2021-10-19 16:14:34 +01:00
Andrew Kingston 950e056e1c Give flatpickr its own root component in client apps to avoid it hijacking key events on the whole page 2021-10-19 15:11:14 +01:00
mike12345567 3c2941536a Fixing some issues found with back button/close icon, making sure it is consistent and does what a user would expect. 2021-10-19 15:09:38 +01:00
mike12345567 1e35d507c6 Adding back old import button incase its removal confuses anyone. 2021-10-19 14:26:44 +01:00
mike12345567 a054cfdb4d Making app creation experience more cohesive, allowing app import even when no apps exist. 2021-10-19 14:06:43 +01:00
Andrew Kingston 7924a69016 Fix usage of binding values to datepickers 2021-10-19 14:04:12 +01:00
Budibase Staging Release Bot 1366d824f7 v0.9.169-alpha.1 2021-10-19 12:11:03 +00:00
Peter Clement 845b16a175 Merge pull request #3076 from Budibase/fix/au-not-saving
Fix issue where external datasource action wasn't saving it's values
2021-10-19 13:01:36 +01:00
Peter Clement 767583fc6d Merge remote-tracking branch 'origin/develop' into fix/copy-id-and-rev 2021-10-19 09:53:29 +01:00
Peter Clement dac9523452 remove log 2021-10-19 09:51:40 +01:00
Peter Clement 5a9bd21237 Fix issue where external datasource action wasn't saving it's values 2021-10-19 09:45:04 +01:00
mike12345567 dd75d236c0 Fixes issue #2417 in the backend, looks for fields which could contain a key value and if they do it will resolve them down to the ID field value. 2021-10-18 17:54:34 +01:00
Andrew Kingston 9deb9be1cd Remove date parsing from client date picker as it has moved to the core date picker 2021-10-18 17:12:02 +01:00