Adria Navarro
d3470dfcb0
Fix imports
2023-08-04 12:00:25 +03:00
Adria Navarro
a91ce15c9b
Move interface SearchParams to types
2023-08-03 05:14:50 +02:00
Andrew Kingston
858a0796bd
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-02 14:50:40 +01:00
Adria Navarro
a3a1e29350
Handle undefineds
2023-08-02 13:37:36 +02:00
mike12345567
7871bedb25
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-08-01 15:27:38 +01:00
Andrew Kingston
bb810e14d7
Fix issue with order 0 being ignored
2023-08-01 14:24:06 +01:00
Andrew Kingston
cb78788bdb
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-01 14:12:03 +01:00
Adria Navarro
67baa56cbf
Skip flaky test
2023-08-01 14:40:47 +02:00
mike12345567
4e1aa4fbbd
Final PR comment.
2023-08-01 12:33:59 +01:00
Adria Navarro
1b2ce184d9
Fix types
2023-07-31 17:22:10 +02:00
Adria Navarro
da6136a108
Enrich schema using the new data
2023-07-31 17:15:51 +02:00
Andrew Kingston
0c72d08763
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-07-31 08:43:11 +01:00
Andrew Kingston
8204935dfa
Add ability to update views, create views with existing filters and sorting applied
2023-07-30 12:49:07 +01:00
mike12345567
8522cb94d3
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-07-28 17:10:43 +01:00
Adria Navarro
b9820f94e6
Import lodash modules
2023-07-28 17:11:48 +02:00
mike12345567
3798caf86d
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-07-28 16:08:38 +01:00
mike12345567
d8f50f139e
Frontend update for app builders, handling when in the builder portal and don't have any app access, as well as allowing viewing of apps from the portal.
2023-07-27 17:52:56 +01:00
Adria Navarro
2457bf1b37
Extract external getrow to sdk
2023-07-26 16:03:14 +02:00
mike12345567
8253ad0a2e
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-07-26 14:24:29 +01:00
Adria Navarro
11f0569446
Move row.validate to the sdk
2023-07-26 14:12:58 +02:00
Adria Navarro
2c6725404f
Types
2023-07-26 13:54:35 +02:00
Adria Navarro
aeeb69d80e
Merge pull request #11352 from Budibase/BUDI-7189/return_default_row_data
...
Return default row data
2023-07-26 11:29:24 +01:00
Adria Navarro
17b394dba9
Increase timeouts
2023-07-26 12:12:32 +02:00
Adria Navarro
d07f840559
Increase timeouts
2023-07-25 22:15:45 +02:00
Adria Navarro
3ce92e8034
Implement and test external field selector
2023-07-25 19:48:46 +02:00
Adria Navarro
67f502579e
Test schema
2023-07-25 19:48:46 +02:00
Adria Navarro
3c28d112b5
Add internal sdk tests
2023-07-25 19:48:46 +02:00
Adria Navarro
d93c99b947
Return data when schema is defined
2023-07-25 19:48:46 +02:00
Adria Navarro
29bc87a47f
Update view endpoint
2023-07-25 15:33:49 +02:00
Adria Navarro
c9dc4006a1
Merge branch 'BUDI-7189-views-v2' into BUDI-7189/return_columns_based_on_schema
2023-07-24 16:47:46 +02:00
Adria Navarro
c870039416
Refactor plus selector
2023-07-24 16:29:49 +02:00
Adria Navarro
1cf4e6e85a
Return full object from search
2023-07-24 16:13:15 +02:00
Adria Navarro
d1d86b6803
Filter on the sdk
2023-07-24 16:13:15 +02:00
Adria Navarro
c58b145afd
Test sdks
2023-07-24 16:12:42 +02:00
Adria Navarro
d8b801e647
Remove wrong describe
2023-07-24 16:04:54 +02:00
Adria Navarro
77a004f19a
Remove wrong describe
2023-07-24 16:02:59 +02:00
Adria Navarro
ff57b982f8
Move enrich view schemas to view sdk
2023-07-24 15:57:17 +02:00
Adria Navarro
dceb51a08d
Skip table order if defined on view
2023-07-24 15:17:05 +02:00
Adria Navarro
8e904cea13
Set order to the tests
2023-07-24 15:17:05 +02:00
Adria Navarro
810bb41547
Add sdk tests
2023-07-24 15:17:04 +02:00
Adria Navarro
d2020fd6bc
Move enrich views to sdk
2023-07-24 15:17:04 +02:00
Adria Navarro
3f2fa1a8dc
Remove view endpoint
2023-07-24 15:17:04 +02:00
Adria Navarro
30138570d5
Typex
2023-07-24 15:17:04 +02:00
Adria Navarro
c747881d73
Allow selecting certain columns
2023-07-24 15:17:04 +02:00
Adria Navarro
f3f0ee0959
Return view schema endpoint
2023-07-24 15:17:04 +02:00
Adria Navarro
fbccec64c7
Renames
2023-07-24 15:15:44 +02:00
Adria Navarro
6d973ce99a
Infer table on search
2023-07-24 15:15:44 +02:00
Adria Navarro
36b82681ff
Remove tableid from remove view url
2023-07-24 15:15:44 +02:00
Adria Navarro
fc831db06b
Store ids containing table info
2023-07-24 15:15:44 +02:00
Adria Navarro
ff3bbf6217
Allow ViewV2 types
2023-07-24 15:15:44 +02:00
Adria Navarro
ac0ae34808
Fix search
2023-07-24 15:15:44 +02:00
Adria Navarro
21e17053c6
Don't persist the view as doc
2023-07-24 15:15:44 +02:00
Adria Navarro
d6121d1504
Remove fetch view
2023-07-24 15:15:44 +02:00
Adria Navarro
76f89e10d3
Create/delete, save to table
2023-07-24 15:15:44 +02:00
Adria Navarro
b82876b147
Remove view fetch logic
2023-07-24 15:15:44 +02:00
Adria Navarro
582e0eb1dd
Use types
2023-07-24 15:15:43 +02:00
Adria Navarro
b778921028
Test sorting
2023-07-24 15:15:43 +02:00
Adria Navarro
d981ad039d
Typings
2023-07-24 15:15:43 +02:00
Adria Navarro
e71d883dfd
Change status codes
2023-07-24 15:15:43 +02:00
Adria Navarro
160d949423
Catch 404s
2023-07-24 15:15:43 +02:00
Adria Navarro
8282fbb99b
Type responses
2023-07-24 15:15:43 +02:00
Adria Navarro
4ca25ee065
Implement deletes
2023-07-24 15:15:43 +02:00
Adria Navarro
e2c1a549de
Find by table
2023-07-24 15:15:43 +02:00
Adria Navarro
f395b79cac
Fix fetch
2023-07-24 15:15:43 +02:00
Adria Navarro
4a5a3e2c33
Implement and test fetch
2023-07-24 15:15:43 +02:00
Adria Navarro
899c8a14fb
Implement and test create
2023-07-24 15:15:43 +02:00
mike12345567
87d80e08f5
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-07-21 17:34:27 +01:00
mike12345567
bb032852e5
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-07-21 16:26:34 +01:00
mike12345567
7673673db2
Updating RelationshipTypes -> RelationshipType.
2023-07-21 12:57:47 +01:00
mike12345567
3abe5d4cb2
Frontend work to support logging in as an app builder - also making sure when a new app is created that the user is assigned app access to it.
2023-07-20 18:34:12 +01:00
mike12345567
40b4943766
Fix for dynamic variables being duplicated when creating new REST queries - also moved some stuff to backend SDK to make a bit re-usable, allowing backend to detect duplicate dynamic variables and error.
2023-07-20 13:07:19 +01:00
Adria Navarro
58c59eba5e
Remove unused db usages
2023-07-18 12:00:02 +02:00
Adria Navarro
2698e47ec4
Type internal db.get
2023-07-18 11:41:51 +02:00
Adria Navarro
deb256a013
Refactor and clean export tests
2023-07-17 19:50:06 +02:00
Adria Navarro
07607c0fd2
Fix tests
2023-07-17 19:07:54 +02:00
Adria Navarro
ccb5143383
Remove context from search
2023-07-17 18:45:40 +02:00
Adria Navarro
90bf4655ea
Remove ctx from export rows (search not implemented)
2023-07-17 15:57:12 +02:00
Adria Navarro
1bd8bdf84c
Clean ctx from fetchview
2023-07-17 15:29:41 +02:00
Adria Navarro
e7f1bcab9e
Remove ctx from fetch
2023-07-17 14:16:12 +02:00
Adria Navarro
81c6eab05e
Fix references
2023-07-17 12:19:20 +02:00
Adria Navarro
77b3547af7
Remove usercontroller dependency from internal
2023-07-17 12:19:20 +02:00
Adria Navarro
9fbad37218
Fix tests
2023-07-17 10:51:52 +02:00
Adria Navarro
d1b64bcd9c
Moving files and functions
2023-07-14 17:09:34 +02:00
mike12345567
c1e9bc3c81
PR comments.
2023-07-04 11:59:56 +01:00
mike12345567
4e560a1f32
Adding warning back in for non-409 errors of user sync.
2023-07-03 16:00:33 +01:00
mike12345567
76bce0be1a
Removing the alert log of failure, this isn't really an error scenario, as it'll automatically get updated as part of app syncs and if the sync is reran.
2023-07-03 15:28:42 +01:00
mike12345567
6495b55b9d
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-06-29 17:06:14 +01:00
mike12345567
4d2aa2a67b
PR comments.
2023-06-27 12:45:00 +01:00
mike12345567
1d5bc39282
PR comments.
2023-06-27 12:24:50 +01:00
mike12345567
1c09913d33
Fix for foreign keys being unsettlable after update, breaking Postgres test.
2023-06-26 15:05:10 +01:00
mike12345567
e022da5bc8
Adding test case for foreign key autocolumn enrichment.
2023-06-23 18:31:02 +01:00
mike12345567
c2b4dec88f
Fix to make foreign keys auto-columns when used in relationships as well as making sure that when fetching tables that they can be removed, using the old fetch mechanism (to be replaced, but needs to work for now).
2023-06-23 18:09:52 +01:00
mike12345567
3d3efadb37
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-06-23 15:19:49 +01:00
melohagan
0860a5b248
Exclude entities from datasource env processing ( #11000 )
2023-06-22 17:35:47 +01:00
Rory Powell
5f716a62a4
Revert "Merge branch 'develop' into master"
...
This reverts commit 67fb9de7f4
, reversing
changes made to ebec885b0a
.
2023-06-16 10:13:43 +01:00
Jonny McCullagh
757ca6a166
Merge master develop ( #10897 )
...
* Binding drawer fixes
* Added missing headless flag for the bindable combobox
* Fix for QueryEditor width
* Fix svelte transitions in grid new row component breaking routify
* Bump version to 2.7.7
* fix REST connector failure to save
* Bump version to 2.7.8
* Bump version to 2.7.9
* Unexpected token when export data (#10721 )
* Tidy ID string for JSON parse
* Display error for composite keys
* Unit test WIP
* directly assign the mock function on the datasource
* Unit tests for exportRows ID handling
---------
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
* Return all rows if oneOf value is falsey (#10638 )
* Bump version to 2.7.10
* Make sure divider fields are left-most (#10627 )
* Make sure divider fields are left most
* Refactor
* Bump version to 2.7.11
* Temporarily remove the focus store update as it triggers a full redraw of the component settings
* Linting
* Removed commented out code
* Bump version to 2.7.12
* Bump version to 2.7.13
* Do not show Business tag for Email action (#10867 )
* Bump version to 2.7.14
* new deploy trigger (#10892 )
* point the deploys at the new env
* Bump version to 2.7.15
---------
Co-authored-by: Dean <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: Budibase Staging Release Bot <>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-06-14 16:18:09 +01:00
Adria Navarro
4b065dda8b
Fix exports/imports
2023-06-14 12:32:26 +01:00
Adria Navarro
a4f0b45d5e
Fix merge
2023-06-14 11:17:32 +01:00
Adria Navarro
a9bf6967dc
Merge branch 'budi-7010/export_controller_as_post' into budi-7010-encrypt-app-exports
2023-06-14 11:17:26 +01:00
Adria Navarro
551ca404b4
Decrypt file
2023-06-12 16:27:19 +01:00
Adria Navarro
1f4cdf348f
Encrypt files
2023-06-12 11:49:38 +01:00
Adria Navarro
978591e2ba
Enable encrypting
2023-06-09 16:26:48 +01:00
Adria Navarro
4acfc623b4
Use import for tar
2023-06-09 14:52:19 +01:00
mike12345567
9ee06e8e42
Updating fetch within main datasource UI to mimic that of the onboarding.
2023-06-07 18:34:32 +01:00
Peter Clement
f680fbd822
Merge remote-tracking branch 'origin/develop' into feature/sync-automations
2023-05-18 11:35:25 +01:00
Adria Navarro
a21039d5b4
Fix auth checks when specified auth
2023-05-16 11:43:13 +02:00
Peter Clement
d43fc819c7
refactor check for collect step into sdk
2023-05-16 09:29:40 +01:00
Adria Navarro
c3856a48aa
Fix types
2023-05-15 13:16:56 +02:00
mike12345567
5363693ac3
Removing automation logs from app exports as they are not useful - they take up space and the imported app won't have ran any automations yet. I have added it as a flag so that this does not affect backups (as you would want to maintain logs for backups).
2023-04-27 11:36:52 +01:00
mike12345567
060dc05afa
Removing export all apps functionality from cloud - this was a very niche feature and often confusing, now there is a consistent flow for starting out in self host.
2023-04-20 17:19:17 +01:00
mike12345567
b4e6cbce7a
Some final updates to get tests passing again, issue with publisher tenant ID being the 'unique' format which cannot actually be used.
2023-04-17 15:59:59 +01:00
Michael Drury
ef5bcc4b66
Main body of PR comments, switching event handling to be a publisher of async events, a generic event; then adding a new async document update processor, which can later be converted to be part of the event processing pipeline.
2023-04-15 00:37:22 +01:00
mike12345567
b2d7f24ff3
Adding builder test case.
2023-04-12 20:02:37 +01:00
mike12345567
23e99ca4b7
Adding group and user tests for user sync.
2023-04-12 19:59:05 +01:00
mike12345567
e623820478
Adding test cases.
2023-04-11 17:33:52 +01:00
Michael Drury
58d0a82108
First sync test, checking that a user is created correctly.
2023-04-05 22:35:01 +01:00
Michael Drury
70c9d06832
Adding group management to background user/group sync.
2023-04-05 20:51:47 +01:00
mike12345567
e699f4684a
Updating the global user sync to be more accurate and also remove old user metadata from apps that users don't have access to anymore.
2023-04-04 18:03:56 +01:00
Michael Drury
ff98ba5a0a
Adding a document update queue based on the events which can be used to track when certain documents have changed, using this for users and groups to detect when a re-sync is needed.
2023-04-04 00:25:15 +01:00
mike12345567
5b150e7748
Removing migration change and fixing #9738 - making sure that exports with excludeRows enabled don't include attachments.
2023-03-01 19:43:40 +00:00
mike12345567
eba18a4159
Fix for #9739 - there was an issue with the mango syntax, when working with multi attachment columns it was using an AND comparator instead of OR, it should be searching for rows that contain any attachment column, not all attachment columns.
2023-03-01 19:01:13 +00:00
mike12345567
0c80ea2083
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-02-10 17:42:56 +00:00
mike12345567
4acfae6af6
Updating so that datasources always have correct types after environment variable enrichment.
2023-02-10 12:47:23 +00:00
mike12345567
0d21801ece
Fix based on testing.
2023-02-08 19:44:17 +00:00
mike12345567
68912f8030
Minor fix for the plugin datasource error that occurred when opening apps in an environment where the datasource no longer exists.
2023-02-08 19:17:15 +00:00
mike12345567
4d86df057b
Some fixes for #8770 - the CLI was very memory intensive when working with large databases, that contained many revisions. We don't need the revisions for app exports/backups, therefore I've updated our export systems to drop the revision history as it compacts the database significantly and speeds up exports/reduces memory usage.
2023-02-06 17:54:40 +00:00
mike12345567
c2eb8fb976
Update to cover the authentication for REST, replacing it with secret value and converting to password field, as well as minor update to env dropdown to only be a password field when not containing an environment variable - #9480 .
2023-01-30 18:50:35 +00:00
mike12345567
ec719b251c
Adding test case for secret-value replacement, to confirm that datasources API correctly replaces secret values with the actual secret.
2023-01-27 18:27:03 +00:00
mike12345567
fec16e23a0
Fixes for tests, allow any handlebars for datasources (dynamic vars).
2023-01-27 18:06:39 +00:00
mike12345567
3a40a64d15
Updating datasources to use new onlyFound option.
2023-01-27 15:21:04 +00:00
mike12345567
d667276fa1
Adding a onlyFound option to our handlebars system so that we can enrich only the parts we have and leave other components for further enrichment.
2023-01-27 15:15:07 +00:00
mike12345567
6349b08888
Don't check whether or not a datasource uses env vars when the function specifically includes the env vars, always fetch them so that they can be returned and put into context for queries to use.
2023-01-24 18:56:19 +00:00
Peter Clement
22e1c1cccf
ensure object is passed to processObjectSync
2023-01-24 15:44:34 +00:00
mike12345567
f4d389797c
Some minor updates after reviewing.
2023-01-19 19:10:41 +00:00
Mateus Badan de Pieri
eae7b529a7
adding validation for envvar bindings
...
adding validation for envvar bindings
2023-01-19 15:07:56 +00:00
mike12345567
b659060beb
Updating datasource API to remove secrets when returning datasources.
2023-01-18 19:16:19 +00:00
mike12345567
5e68a4d814
Minor updates to the context system and also adding env vars to automation context.
2023-01-16 16:47:59 +00:00
mike12345567
fc5f6ca530
Adding the ability to store environment variables to context, to make them more easily available/re-usable, as well as exposing them to queries.
2023-01-13 19:53:46 +00:00
mike12345567
87cf52192d
Small update to properly support environments with environment variables, making sure that datasources correctly select based on app ID.
2023-01-12 14:38:12 +00:00
mike12345567
03df57d077
Adding in basic implementation of variable usage, getting from pro and enriching through new datasource SDK.
2023-01-11 17:57:51 +00:00
mike12345567
f4f730aae2
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-01-06 17:29:35 +00:00
mike12345567
76825c38b9
Adding test cases for the attachment re-write feature, mocking the direct couch find functionality.
2023-01-06 13:33:22 +00:00
mike12345567
cf90282303
Moving some stuff around to make more testable.
2023-01-06 12:47:12 +00:00
mike12345567
0c37c57a4b
Fix for #9249 - there was an issue with the updating of attachment URLs when importing an app/backup, this resolves it by utilising pagination in the CouchDB find API, making sure to iterate through all documents when there is a larger number.
2023-01-05 18:03:36 +00:00
Rory Powell
786039055e
File authentication using presigned URLs ( #8883 )
...
* file auth wip
* Private plugin bucket wip
* Add etag to logo request, fix circular dependency
* Resolve cyclic dependency
* Ensure browser doesn't cache custom component
* Global file fixes
* File fixes / remove permaUrl
* Add ctx local storage
* Enable presigned url to work from any host
* Test fix
* Self hosting w/ S3 + other fixes
* Fix for serving dev app in multi tenant
* Fix backup restore and import attachment url processing, never store attachment urls
* Test fixes
* Unit tests WIP
* Replace file path with base64 encoded private key
* Multi tenancy tests for files
* Environment files fixes
* Post-merge build and test fixes
* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass
* Re-add default '/' minio route :(
* Rename iconFile -> iconFileName
* Add cloudfront vars to k8s templates
* Remove public bucket policy
* Remove duplicated test
2022-12-15 11:35:22 +00:00
mike12345567
a120ba0c8d
Fixing repl options.
2022-12-07 18:22:02 +00:00
mike12345567
be0b15428b
Linting.
2022-12-07 14:43:27 +00:00
mike12345567
617863ddd1
Fix for #7865 - if you deleted a cron automation immediately after creating/publishing it there was a scenario where prod automations would be out of sync with dev automations and it wouldn't really delete. To get around this, we do an automation sync back to dev DB - meaning that the cron ID is known and can be disabled.
2022-12-07 14:32:29 +00:00
mike12345567
dbde23a4de
Fixes based on test failures.
2022-12-06 12:47:48 +00:00
mike12345567
2ba9088faa
PR comments, moving more stuff into SDK.
2022-12-06 12:22:41 +00:00