Commit Graph

1860 Commits

Author SHA1 Message Date
mike12345567 033bd521cf Fixing an issue with redirect having the middleware applied before the redirection 2021-09-06 15:48:46 +01:00
mike12345567 ae73efaabe Fixing an issue in prod where the /builder endpoint wasn't being allowed past without tenancy. 2021-09-06 13:36:41 +01:00
Maurits Lourens 4d4d6aa27b fix fetching tables from database with uppercase name 2021-09-06 12:33:03 +02:00
mike12345567 a3cffa8905 Getting rid of automation step download system. 2021-09-03 17:36:00 +01:00
mike12345567 3f960e4f13 Fixing an issue that occurs when the table name and the primary display column are the same name. 2021-09-03 14:49:56 +01:00
Michael Drury 8ce56c8492 Merge pull request #2531 from Budibase/fix/sql-relationship-issues
Relationship bug fixes (SQL and internal) and a few other bits
2021-09-03 11:47:36 +01:00
mike12345567 0b0da47778 Fixing issues discovered by test cases. 2021-09-03 11:06:44 +01:00
mike12345567 8c3eb30ab1 Fixing issues after upgrading to node 14 and circular dependencies causing issues. 2021-09-02 18:33:41 +01:00
mike12345567 b17e9aa5e4 Fixing issue with using 'ta' in view name. 2021-09-02 17:49:21 +01:00
mike12345567 2148bf6da4 Fixing issues with search endpoint not handling users fully. 2021-09-02 17:13:00 +01:00
mike12345567 d2cb0282ea Fixing issue with rows not returning correctly. 2021-09-02 13:31:46 +01:00
Andrew Kingston 6e856c4bd7 Fix indexing of rows with arrays of objects 2021-09-02 12:00:18 +01:00
mike12345567 a9e2336036 Fixing issues with SQL many relationship updates. 2021-09-01 19:40:47 +01:00
Andrew Kingston 047cd4ea88 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Martin McKeaveney 8ed415107f prevent sql relationship delete from erroring 2021-08-31 19:59:49 +01:00
Martin McKeaveney 83db9754d5 prevent relationships getting overridden in mySQL connector 2021-08-31 14:44:33 +01:00
Maurits Lourens 3e7369b1cb add patch method to the rest api interface 2021-08-30 22:55:12 +02:00
PClmnt 58b966c0cc Merge pull request #2470 from Budibase/multi-option-datatype
Multi-Option Data Type
2021-08-27 14:43:09 +01:00
Peter Clement e03244e44e change index definition 2021-08-27 14:10:19 +01:00
Peter Clement ee830d0e85 refactor of multi-option filtering and validation 2021-08-27 08:05:22 +01:00
Keviin Åberg Kultalahti cf9a8c3805 fix datasources not getting updated correctly 2021-08-26 22:01:24 +02:00
Peter Clement 544dd4ef1d Merge remote-tracking branch 'origin/develop' into multi-option-datatype 2021-08-26 14:38:05 +01:00
Peter Clement 1ab618c2ef fix indexing of arrays 2021-08-26 14:22:52 +01:00
Martin McKeaveney b8d10a2b6d merge package updates 2021-08-26 14:13:30 +01:00
Peter Clement 4fa36727e4 Update validation for array type 2021-08-26 14:04:18 +01:00
Peter Clement f7ebf7f8a4 Fix lucene not allowed characters 2021-08-26 11:39:42 +01:00
Peter Clement 91d5308d99 linting 2021-08-25 19:25:57 +01:00
Peter Clement 078cb07b04 use normal combobox for filtering array columns 2021-08-25 17:00:42 +01:00
Peter Clement 725b9bb6e2 Add more validation options for array field 2021-08-25 15:49:04 +01:00
Peter Clement 05568295b5 Add not contains option to lucene query builder 2021-08-25 14:05:00 +01:00
Martin McKeaveney 700caa7e34 making sure relationships for autocolumns are created when uploading a CSV 2021-08-24 20:04:28 +01:00
Peter Clement f000d44e39 Add contains option to lucene query builder 2021-08-24 16:14:38 +01:00
Martin McKeaveney 2ff9e33773 fix test 2021-08-20 16:21:08 +01:00
Martin McKeaveney e7f8454ad7 make SQL startsWith queries case insensitive 2021-08-20 15:20:52 +01:00
Peter Clement 17438372d0 Add ability for user to select 'List' data type for a column 2021-08-19 16:54:44 +01:00
Martin McKeaveney 1a588f0973 Merge pull request #2400 from Budibase/feature/budibase-kubernetes
Budibase Kubernetes Support
2021-08-19 07:54:55 +01:00
Martin McKeaveney af4c1b23de simplify couchDB configuration 2021-08-18 11:23:28 +01:00
Martin McKeaveney f07dcf7f55 Merge pull request #2401 from mslourens/update_datasource_name
Update the name of the datasource
2021-08-18 10:44:04 +01:00
Maurits Lourens de944480da update the name of the datasource 2021-08-17 23:57:11 +02:00
Martin McKeaveney 2e30626e89 merge with dev 2021-08-17 21:27:30 +01:00
Martin McKeaveney 9360d7ebef Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-kubernetes 2021-08-17 21:26:16 +01:00
Martin McKeaveney 87bf640a5d conditionally apply username and password to couchdb auth 2021-08-17 16:48:02 +01:00
Martin McKeaveney 5d560022c5 lint 2021-08-17 14:15:24 +01:00
Martin McKeaveney f4232bd7d7 couchDB auth options 2021-08-17 14:11:03 +01:00
Martin McKeaveney 8e1e016c66 Revert "Feature/couchdb auth" 2021-08-17 07:16:43 +01:00
Maurits Lourens 87c59db02e fix lint issues 2021-08-16 22:07:15 +02:00
Maurits Lourens 459ba46c48 return validation errors 2021-08-16 21:15:15 +02:00
Martin McKeaveney 2661d1c0b4 lint 2021-08-16 17:17:48 +01:00
Martin McKeaveney 0bfbedac80 lint 2021-08-16 16:47:26 +01:00
Martin McKeaveney beb16a733e utility helper for determining correct couchDB URL 2021-08-16 16:38:00 +01:00
Martin McKeaveney 769c37a11d couchdb direct auth 2021-08-16 15:58:04 +01:00
Martin McKeaveney 0d6b0c887b named templates for local k8s DNS resolution 2021-08-16 15:15:07 +01:00
Martin McKeaveney a248084c56 budibase kubernetes support 2021-08-16 11:42:21 +01:00
Keviin Åberg Kultalahti f6218d8e0b Merge branch 'master' into develop 2021-08-13 14:41:49 +02:00
Martin McKeaveney 83b99be1d6 linting 2021-08-11 20:34:45 +01:00
Martin McKeaveney 1678c86bf4 lint 2021-08-10 17:46:28 +01:00
Martin McKeaveney ccb7f67458 ensure user metadata is created before link documents are created 2021-08-10 13:00:15 +01:00
mike12345567 a8eb067de3 Merge branch 'fix/apps-2195-2282-2283' of github.com:Budibase/budibase into develop 2021-08-06 17:14:31 +01:00
mike12345567 be48677490 Fixes for a lot of issues generated by the use of the pouchdb allDbs call, which is not designed for multi-client DB setups like ours, using CouchDB method instead. 2021-08-06 16:38:07 +01:00
mike12345567 6414614312 Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-08-06 13:16:04 +01:00
mike12345567 a7ba02620d Linting. 2021-08-06 13:11:41 +01:00
mike12345567 bc84bab52c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-06 13:04:54 +01:00
Michael Drury ae18e3408e Merge pull request #2286 from Budibase/fix/relationships-2167
Some fixes for internal and external relationships
2021-08-06 12:51:44 +01:00
mike12345567 29817892a8 Fixing test cases. 2021-08-06 12:33:04 +01:00
Martin McKeaveney 9751e84bed fix sql server integration 2021-08-05 22:15:40 +01:00
mike12345567 5a0ef45c29 Fixing issues with many to many relationships in SQL, sometimes not creating right relationships. 2021-08-05 19:49:30 +01:00
mike12345567 789922e5a2 Linting. 2021-08-05 19:26:00 +01:00
mike12345567 7624390f0b Fixing a variety of issues with internal relationships and external SQL relationships. 2021-08-05 19:24:29 +01:00
Martin McKeaveney c2e80b0b63 Merge branch 'master' of github.com:Budibase/budibase 2021-08-05 17:04:26 +01:00
Martin McKeaveney 0b3c04d71c lint 2021-08-05 16:57:23 +01:00
Martin McKeaveney 05ec5dc70c Merge pull request #2260 from Budibase/fix/views-2209
Formulas and relationships in views
2021-08-05 16:43:59 +01:00
Martin McKeaveney 7864f75a14 Merge pull request #2244 from mslourens/headers_in_webhook_automation_step
add headers input in outgoing webhook automation step
2021-08-05 16:43:04 +01:00
Martin McKeaveney 02a99f32cb updating attachment relative path so it works in all envs 2021-08-05 16:40:39 +01:00
Martin McKeaveney 6f3abeb739 Merge pull request #2272 from Budibase/fix/export-2193
Fix exporting data from table
2021-08-05 16:18:13 +01:00
mike12345567 83462a0eee Fixing merge issues. 2021-08-05 10:52:34 +01:00
mike12345567 f8599e1352 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-05 10:38:41 +01:00
mike12345567 46ea3f3e9e Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 4834b765be, reversing
changes made to 2456e69483.
2021-08-05 09:59:08 +01:00
Martin McKeaveney b35cab476a remove self host check from apps call 2021-08-04 20:33:39 +01:00
Martin McKeaveney 10e8df1fe7 Update budibase CDN link 2021-08-04 19:56:51 +01:00
mike12345567 cf5f0b3262 Linting. 2021-08-04 18:22:53 +01:00
mike12345567 217e5a02bf Fixing issue #2193, also fixing the name of the file on export, as well as fixing an issue with the exporters not handling relationships. 2021-08-04 18:20:51 +01:00
mike12345567 daed47a0a8 Fix #2209 - views, calculations and group by can't support formula or link fields, making sure these aren't options in the UI. Also fixing an issue where formula values were being saved to DB. 2021-08-04 15:22:41 +01:00
mike12345567 57f46bfdb4 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-04 15:00:50 +01:00
mike12345567 f4a3d2ff3b Fix for #2250, strings were being parsed for numbers which was causing the issue for strings starting with numbers, using the table schema to determine is parsing necessary. 2021-08-04 14:46:21 +01:00
Martin McKeaveney df927e3feb merge with master 2021-08-04 13:20:11 +01:00
Michael Drury ec26f6ab5e Merge branch 'develop' into feature/multi-tenants 2021-08-04 10:07:31 +01:00
Michael Drury b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
Maurits Lourens 81b4f8f5d4 add try/catch block around JSON.parse, since user input can be incorrect formatted string 2021-08-03 22:53:18 +02:00
Maurits Lourens 3029178eeb add headers input in outgoing webhook automation step 2021-08-03 22:39:01 +02:00
mike12345567 e7974f7e86 Implementing some changes to how context gets set for tenancy, after testing, as well as updating server. 2021-08-03 15:32:25 +01:00
mike12345567 f3ce979230 Linting. 2021-08-02 18:36:32 +01:00
mike12345567 7743384f77 re-write, to use the ideas that Rory put in place, still WIP, un-tested but all implemented. 2021-08-02 18:34:43 +01:00
Martin McKeaveney 0f1bb2ccff fix mongo code review comment 2021-07-29 10:11:52 +01:00
Martin McKeaveney 7ba17204c5 Merge pull request #1963 from faroutchris/feature/query-mongo-collection
Feature/query mongo collection
2021-07-29 10:10:52 +01:00
mike12345567 4606248ffd Fixing up everything found when testing with Cypress. 2021-07-26 13:19:47 +01:00
mike12345567 4d0faa38e3 Changing how apps are retrieved to be more efficient. 2021-07-23 20:01:53 +01:00
mike12345567 9377c7b0f3 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:20:41 +01:00
mike12345567 df942f7d7c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
mike12345567 7588bfde39 Adjusting how redis modules are loaded, making sure client is always set, before init. 2021-07-23 16:53:22 +01:00
mike12345567 26582f5ceb Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:11:05 +01:00
mike12345567 4160d63b2d Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:10:59 +01:00
Andrew Kingston d6761fa9a8 Fix setVersion not returning itself to restore builder syntax compatibility 2021-07-23 15:57:50 +01:00
Andrew Kingston 72061f341e Add missing version to paginated search endpoint 2021-07-23 15:55:58 +01:00
mike12345567 fa3cf585d7 Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
mike12345567 94744ffbd8 Updating to use default false for search pre-processing. 2021-07-23 13:44:46 +01:00
mike12345567 a5d9883f28 Updating internal search to disable features were required. 2021-07-23 13:29:50 +01:00
mike12345567 e24c6bafd1 Removing optional chaining, not valid in Node. 2021-07-23 13:07:10 +01:00
Rory Powell 249df46770 Mark google activated by default for old configs 2021-07-23 11:38:17 +01:00
mike12345567 3f7bafe23d Linting. 2021-07-22 22:37:20 +01:00
mike12345567 313302cae2 Fixing test cases and bugs that they raised. 2021-07-22 22:36:16 +01:00
Andrew Kingston 520651119b Fix lucene filtering of all types by parsing values as expected types, and correctly wrapping non-numeric types while building queries 2021-07-22 15:53:20 +01:00
mike12345567 27b2a13817 Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
mike12345567 358b2aef89 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-19 17:35:48 +01:00
mike12345567 e026375f50 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-19 16:24:19 +01:00
mike12345567 2ec00c32b6 Linting. 2021-07-19 14:32:14 +01:00
mike12345567 65358cf10d Fixing an issue with lucene equality searching, strings weren't handled correctly. 2021-07-19 14:31:06 +01:00
mike12345567 e56a0f5aa3 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
mike12345567 d6c47c5027 Changing how automations handle multi-tenancy. 2021-07-19 10:59:34 +01:00
Michael Drury 126bf74347 Fixing issue with update row after rows API changed. 2021-07-16 19:13:44 +01:00
mike12345567 f3156fca06 Further work, tenancy now working but some more work to be done. 2021-07-16 18:04:49 +01:00
mike12345567 b7995dd61d Updating auth to utilise the tenant system. 2021-07-16 15:08:58 +01:00
mike12345567 912659a8ad First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
mike12345567 afd642c60d Fixing deployment issue. 2021-07-14 17:51:35 +01:00
mike12345567 f6a133e556 Cleaning up deployments into the app DB, moving API keys to be in global DB (which will be tenancy managed) and adding concept of platform info DB. 2021-07-14 16:29:32 +01:00
mike12345567 3eb82b5a63 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
mike12345567 ae3a09d560 Merge branch 'master' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-14 13:53:57 +01:00
mike12345567 004f719dde Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
Martin McKeaveney 7e5c4be14f fix postgres query array value 2021-07-13 17:11:11 +01:00
mike12345567 7aca56f019 Adding float type to MySQL. 2021-07-12 11:10:11 +01:00
mike12345567 184df6c685 Fixing some issues discovered with the new SQL connectors were the input type would always be string (causing some SQL types to break) - parsing these before input to attempt to fix this problem - issue referenced in #1943. 2021-07-12 10:51:30 +01:00
Martin McKeaveney bebfe4c6e1 merge with master 2021-07-11 18:07:46 +01:00
Christo 8579d1872c Test: Add some basic tests for mongodb queries 2021-07-09 20:08:26 +02:00
Christo 4096f4857c Feat: Add collection fields as "extra" query config for MongoDB 2021-07-09 19:28:46 +02:00
Kyle Harrison 2d451bb3a9 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Andrew Kingston aa2691a452 Merge pull request #1953 from Budibase/client-feature-flags
Client library updating and client library feature awareness
2021-07-09 16:52:45 +01:00
Andrew Kingston 4112049a17 Remove log statement, batch uploads and remove unecessary conditional 2021-07-09 16:42:09 +01:00
Andrew Kingston 60987e3d5c Remove leftover code from testing 2021-07-09 12:42:48 +01:00
Andrew Kingston ef4a0f8c79 Bundle latest client library with the server and use it when updating apps in production 2021-07-09 12:33:09 +01:00
Andrew Kingston 959405332d Add tests for updating and reverting client library version 2021-07-08 13:20:52 +01:00
Andrew Kingston 0ce553eaf2 Add endpoint to revert client app version 2021-07-08 12:56:54 +01:00
mike12345567 b0fb7ae991 Fixing test cases. 2021-07-08 00:30:55 +01:00
Andrew Kingston 9440e4a5bf Add UI to revert app version and initial work on app revert backend 2021-07-07 17:35:28 +01:00
mike12345567 93cc9530ed Merge branch 'develop' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:17:16 +01:00
mike12345567 7f0fc5f899 Fixing session issues after testing a bit. 2021-07-07 17:15:53 +01:00
Andrew Kingston 0a44b1e3d8 Add client libary update management from inside the builder 2021-07-07 17:07:42 +01:00
Andrew Kingston 9bf6600ccd Add feature flags to manifest 2021-07-07 13:53:59 +01:00
Andrew Kingston 9542910a41 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston 298e948432 Mock redis shutdown method to avoid errors 2021-07-07 09:34:56 +01:00
Andrew Kingston 82c00e6757 Only clean up app tmp dir if it exists during testing 2021-07-07 09:34:40 +01:00
Martin McKeaveney 13517d5298 make logged in users basic by default, prevent allowing users to be assigned as default in the UI 2021-07-06 18:43:04 +01:00