Adria Navarro
c80cc35ae3
Stop container after tests
2023-02-06 19:49:30 +00:00
Adria Navarro
9a8ae45c54
Spin up postgres only on the postgres test
2023-02-06 19:43:08 +00:00
mike12345567
241de7553e
Merge.
2023-02-06 18:00:42 +00:00
mike12345567
7722bf8d87
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
adrinr
14beca3dde
Don't return foreign keys on updates and deletes
2023-02-06 17:37:00 +00:00
adrinr
192cb59b87
Fix tests
2023-02-06 17:30:33 +00:00
adrinr
f63c6c2f3a
Fix tests
2023-02-06 14:54:49 +00:00
adrinr
1f00989109
Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite
2023-02-06 09:12:13 +00:00
Adria Navarro
59b1137060
Merge pull request #9419 from Budibase/feature/dependencies-image
...
Chore - use testcontainers
2023-02-06 09:09:07 +00:00
Martin McKeaveney
eee7de8be1
fix build
2023-02-05 23:12:08 +00:00
Martin McKeaveney
f94dd598c4
merge
2023-02-05 22:11:37 +00:00
Adria Navarro
6afca62b2a
Increase timeouts
2023-02-05 10:34:42 +00:00
Adria Navarro
9f57aca6e4
Flaky test
2023-02-05 10:33:21 +00:00
Adria Navarro
4438b2d6ab
Flaky test
2023-02-05 10:00:27 +00:00
Adria Navarro
a92fd2633f
Fix flaky test
2023-02-05 09:04:47 +00:00
Adria Navarro
b2bdd00a6b
Add onClose back in tests
2023-02-04 20:30:12 +00:00
Adria Navarro
e0affd656b
Dont close server on tests
2023-02-04 18:51:10 +00:00
mike12345567
810de61474
Some quick scripts for loading a lot of rows and apps.
2023-02-03 19:29:28 +00:00
adrinr
06ffca74cd
Cleanup
2023-02-03 19:23:36 +00:00
adrinr
f64bf4e0d8
Replace beforeeach for before alls
2023-02-03 19:02:40 +00:00
adrinr
50c1fc0237
Tweak tests
2023-02-03 18:40:25 +00:00
adrinr
73e37433f3
Change before each for before all
2023-02-03 18:08:29 +00:00
adrinr
c2642b8f7d
Improve link controller tests
2023-02-03 17:59:15 +00:00
adrinr
91e7b30483
Improve row tests
2023-02-03 17:55:40 +00:00
adrinr
2f74d62232
Improve automation tests
2023-02-03 17:49:21 +00:00
adrinr
141790ef70
Fix automation timeouts
2023-02-03 16:28:29 +00:00
adrinr
8f986f7ea6
Remove long timeout
2023-02-03 14:51:50 +00:00
adrinr
c747cabe73
Rename name for id
2023-02-03 12:09:56 +00:00
adrinr
7605bb46f6
Fix ts
2023-02-03 11:30:30 +00:00
adrinr
6d3117d6ac
Dry
2023-02-03 11:28:27 +00:00
Peter Clement
0773428f37
check postgres has been called
2023-02-03 09:19:27 +00:00
Peter Clement
8bc6b411e8
use correct postgres mock
2023-02-03 09:15:40 +00:00
Mateus Badan de Pieri
99658907ad
updated
2023-02-02 15:14:54 +00:00
Mateus Badan de Pieri
2908ef3f01
updated tests
2023-02-02 14:39:33 +00:00
adrinr
68d147b0f7
Merge branch 'develop' into feature/dependencies-image
2023-02-02 13:49:45 +00:00
adrinr
3a7d413cf6
Remove isDockerisedTest
2023-02-02 10:50:20 +00:00
adrinr
3d7b47fc27
Fix tests after merge
2023-02-02 10:43:18 +00:00
adrinr
7c38749131
Merge branch 'feature/dependencies-image' into test/9339-sqlpostgres-row-api-test-suite
2023-02-02 10:12:33 +00:00
Rory Powell
f5be4f1d4a
Fix server build by removing unused dependency on file path in backend-core
2023-02-02 09:26:39 +00:00
adrinr
aa8aa2b311
Replace faker for chance
2023-02-01 17:11:50 +00:00
Adria Navarro
25fb740aef
Merge branch 'develop' into feature/dependencies-image
2023-02-01 16:32:00 +00:00
Michael Drury
cc715d450f
Merge pull request #9493 from Budibase/fix/8236
...
CouchDB integration fixes
2023-02-01 13:55:03 +00:00
mike12345567
a71ee1b693
PR comments.
2023-02-01 13:01:38 +00:00
melohagan
8e0d764dd2
Fix/elastic search delete ( #9492 )
...
* Make sure json param isn't included in delete
* lint
2023-02-01 12:47:38 +00:00
adrinr
13a1b15f93
Increase timeout
2023-02-01 12:29:03 +00:00
adrinr
4b1d47b900
Merge branch 'develop' into feature/dependencies-image
2023-02-01 10:56:22 +00:00
adrinr
5253f68d61
Race conditions
2023-01-31 22:50:52 +00:00
mike12345567
c038e483e2
Updates to use our new Nano layer for CouchDB integration rather than PouchDB.
2023-01-31 19:49:31 +00:00
adrinr
057ec7d540
Fix installation race conditions
2023-01-31 17:27:25 +00:00
adrinr
961c1276f8
Prepopulate dbs
2023-01-31 16:51:08 +00:00
adrinr
6090ed36f2
Handle db creation race conditions
2023-01-31 16:15:11 +00:00
deanhannigan
b11c9724ca
Merge pull request #9467 from Budibase/feature/auth-screens-redesign
...
Selfhost onboarding UX/UI updates
2023-01-31 16:13:46 +00:00
deanhannigan
fc7c58231e
Merge pull request #9025 from Budibase/feature/configurable-data-export
...
Filtering and sort on data row export
2023-01-31 15:35:12 +00:00
mike12345567
0d6db18a63
Environment variable test base.
2023-01-31 15:27:16 +00:00
Dean
4b2d802cba
Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export
2023-01-31 15:08:46 +00:00
adrinr
75b306ac17
Looking for testcontainer config
2023-01-31 11:23:26 +00:00
adrinr
49a344dfba
Log as error
2023-01-31 10:30:57 +00:00
adrinr
19cdeb2631
Add more logs
2023-01-31 10:21:19 +00:00
melohagan
31eb4cf95d
Fix/automation update deletes relationship ( #9468 )
...
* Add padding to text field input
* Apply padding to modal binding input
* Support relationships in automation bindings
* Trim automation field keys
* Trim automation field name
* Empty string check
* Add checkbox for clearing relationships update row
* Added state for automation field metadata
* clearRelationships updateRow check
* Padding tweak
2023-01-31 10:11:56 +00:00
Adria Navarro
35a92a5fad
Merge branch 'develop' into feature/dependencies-image
2023-01-30 18:54:05 +00:00
adrinr
60fc564efd
Start race condition
2023-01-30 18:51:22 +00:00
mike12345567
fa51f67fc3
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
adrinr
18a0675545
Fix jest.setup
2023-01-30 18:18:23 +00:00
mike12345567
2314ede068
Adding context update to test case since it used to rely on the context update functionality.
2023-01-30 10:59:54 +00:00
mike12345567
86f670fabe
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
93a8b0583c
Fixes for tests, allow any handlebars for datasources (dynamic vars).
2023-01-27 18:06:39 +00:00
Dean
5538938c4f
Expanding mime check for cloud tarball import
2023-01-27 18:01:12 +00:00
mike12345567
7ca5c877a1
Updating datasources to use new onlyFound option.
2023-01-27 15:21:04 +00:00
mike12345567
dd67f106ed
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
abe17e6c0e
Fixing issue with apps not being created correctly due to the recent update to context.
2023-01-27 13:37:36 +00:00
Rory Powell
be5b8347ef
Merge branch 'develop' into feature/environment-variables
2023-01-27 11:27:11 +00:00
adrinr
79c48bf6bc
Remove wrong createApp
2023-01-26 18:24:20 +00:00
adrinr
e11f1d1d44
Fix issues with parallel tests and self/cloud modes
2023-01-26 18:20:21 +00:00
mike12345567
d189fc82f8
Adding test cases as per PR comments.
2023-01-26 18:20:21 +00:00
mike12345567
2e099a7029
Quick updates for #8989 - this issue appeared to be fixed already but just adding a few extra bits of security to make sure that looping only occurs when valid data is found in the binding.
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
bf0f7d5bab
Fix user test
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
48ee427178
Fix issues with parallel tests and self/cloud modes
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
5933422a79
Fix date related tests
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
4ac3102f2a
Fix automation test
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
498d1776e0
Fix snapshots test
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
7b935d8476
Set expected id
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
d46ef8e68c
Fix application delete tests
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
5abb095f58
Use multitenancy for tests
2023-01-26 18:20:21 +00:00
adrinr
9bcb33285c
Fix timespan issues
2023-01-26 18:20:05 +00:00
mike12345567
c99b4ae3a3
Adding test cases as per PR comments.
2023-01-25 18:27:58 +00:00
Adria Navarro
be24db0a9b
Don't create the apps on test
2023-01-25 10:13:35 +00:00
mike12345567
b138d86318
Quick updates for #8989 - this issue appeared to be fixed already but just adding a few extra bits of security to make sure that looping only occurs when valid data is found in the binding.
2023-01-24 19:09:36 +00:00
mike12345567
f82e8f1f20
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
Adria Navarro
1b3c7bb6f8
Wipe db before tests
2023-01-24 18:51:15 +00:00
Adria Navarro
9bdc54f0aa
Remove mocks
2023-01-24 17:48:49 +00:00
Adria Navarro
730c40e6b9
tweak tests
2023-01-24 15:46:50 +00:00
Peter Clement
8cf63278d8
ensure object is passed to processObjectSync
2023-01-24 15:44:34 +00:00
Adria Navarro
dbdc3e89d9
Merge branch 'feature/test-image' into feature/dependencies-image
2023-01-23 18:43:36 +00:00
Adria Navarro
286e6f4123
Merge branch 'develop' into feature/test-image
...
# Conflicts:
# packages/worker/yarn.lock
2023-01-23 18:40:44 +00:00
Adria Navarro
b0ffdc079d
Merge branch 'feature/test-image' into feature/dependencies-image
2023-01-23 18:08:19 +00:00
Adria Navarro
359e2d1d1f
Move more stuff to .env.test
2023-01-23 18:02:28 +00:00
Adria Navarro
e9cd0984d9
Dry, moving env variables to a .env.test file
2023-01-23 17:41:32 +00:00
Adria Navarro
30830503c9
Set parameters
2023-01-23 16:53:34 +00:00
melohagan
c72bce9e4a
Add fields for MongoDB SSL cert file paths ( #8260 )
...
* Added fields for tls certificate files
* lint
* Only include cert fields if SELF_HOSTED
* lint
* Refactor getSchema function
* Add datasource field group with accordion
* Handle no display column on fieldGroup field
* Override text transform accordian header
* Renamed from TLS to SSL in UI config
* readable flag
* Add accordion component
* Refactor
2023-01-23 16:46:02 +00:00
Adria Navarro
9225b658ae
Use couchdb from docker container
2023-01-23 16:45:06 +00:00
Dean
a1faeece3c
Merge remote-tracking branch 'origin/develop' into feature/configurable-data-export
2023-01-23 11:43:15 +00:00
melohagan
cdcd00ac20
Treat bigint as string ( #8877 )
...
* Make bigint string type
* Handle BigInt relationships
* remove unused var
* Revert CreateEditRelationship modal changes
2023-01-22 19:19:16 +00:00
mike12345567
8a7922110d
Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image
2023-01-20 19:55:11 +00:00
melohagan
d274f3af1e
SQL filtering: Always escape key in LIKE statements ( #9278 )
...
* Always escape key in like statements
* lint
2023-01-20 14:03:14 +00:00
Adria Navarro
a531f2edba
Update openapi specs
2023-01-20 12:12:59 +00:00
Adria Navarro
e9ea2290c6
Fix types
2023-01-20 12:03:00 +00:00
Adria Navarro
f19b68e5ee
Extra typings
2023-01-20 11:48:11 +00:00
Adria Navarro
616c5d7d59
Fix broken tests
2023-01-20 10:29:11 +00:00
Adria Navarro
ae748d78d2
Fix old tests
2023-01-20 10:12:52 +00:00
Adria Navarro
6d5a8bba84
Fix types
2023-01-20 09:58:59 +00:00
Adria Navarro
82035f0114
Add enrich test
2023-01-19 20:09:39 +00:00
mike12345567
e7e6e3419e
Some minor updates after reviewing.
2023-01-19 19:10:41 +00:00
Adria Navarro
0cd647f142
Test delete multiple
2023-01-19 17:28:42 +00:00
Adria Navarro
2cd4d106e1
Change tests to use internal apis
2023-01-19 17:23:48 +00:00
Adria Navarro
63c6728825
Add get all rows tests
2023-01-19 16:46:05 +00:00
Adria Navarro
f685ad6af7
Fix validate schema
2023-01-19 16:43:39 +00:00
Adria Navarro
a900a47e49
Rename file
2023-01-19 16:21:37 +00:00
Adria Navarro
b1894fac48
Use right tableid
2023-01-19 16:10:29 +00:00
Adria Navarro
0862dfe2eb
Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite
2023-01-19 15:25:46 +00:00
Mateus Badan de Pieri
6e5c126d5a
adding validation for envvar bindings
...
adding validation for envvar bindings
2023-01-19 15:07:56 +00:00
melohagan
e35bb2db3d
Do not set sort column if display is formula ( #9378 )
...
* Unset sort column if it is formula
* Null safety
2023-01-19 13:32:45 +00:00
Adria Navarro
39f3cc57eb
Add "get" tests
2023-01-19 11:44:48 +00:00
Adria Navarro
df418daf40
Add pagination and sort tests
2023-01-19 11:35:00 +00:00
Adria Navarro
eba811787f
Add search query tests
2023-01-19 11:20:20 +00:00
Adria Navarro
cb0f45e47c
Improve tests
2023-01-19 11:06:41 +00:00
Adria Navarro
2a0217abe2
Add search test
2023-01-19 11:00:51 +00:00
Adria Navarro
6c0adb2e31
Merge branch 'develop' into test/9339-sqlpostgres-row-api-test-suite
2023-01-19 10:05:58 +00:00
mike12345567
f8a2c9e169
Updating datasource API to remove secrets when returning datasources.
2023-01-18 19:16:19 +00:00
Adria Navarro
0c6731c2ed
Test delete
2023-01-18 17:21:17 +00:00
Adria Navarro
a024a1e577
Add update test
2023-01-18 17:11:52 +00:00
Adria Navarro
18df47b1f4
Dry tests
2023-01-18 17:07:09 +00:00
Adria Navarro
b15ce4f4e4
Adding more tests
2023-01-18 16:48:18 +00:00
Adria Navarro
029453eab5
Retrieve row test
2023-01-18 16:46:40 +00:00
Adria Navarro
0bfef72480
Create an app before each test
2023-01-18 16:06:45 +00:00
Andrew Kingston
c3f5e33b29
Portal redesign ( #9336 )
...
* Update BB logo to black
* Update top nav bar and core layout
* Add redesign for apps pages
* Update user and groups pages
* More WIP portal redesign!
* Fix top nav colours and fix selected tab not updating
* Remove log
* Update copy on settings pages
* Update and standardise page headers and subtitles, and remove side nav titles
* Update font styles to allow for easy customisation
* Update button styles to always use newStyles, update auth page styles
* Update settings pages to new designs
* Update structure for account pages
* Add initial rewrite of app overview section
* Update config checklist to properly center
* Update app overview version and name/url screens
* Add tooltip to explain why URL cannot be changed until unpublishing
* Update overview automation history tab
* Update overview backups page
* Rewrite app overview access tab
* Update table hover colours
* Remove scrolling from tables when not required and stop selects from updating their own state locally
* Update table styles to support flexible column widths much better
* Fix extremely long strings in breadcrumbs not wrapping
* Fix multiple issues with long text overflow
* Fix flashing in version settings page
* Fix loading bugs in app backups page
* Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues
* Tidy up
* Update user details page to use tables and match designs
* Update users detail page
* Update user and group details pages with new tables
* Fix automation error linking from apps page and improve automation fetching logic in automation history
* Move theme and API key into user profile dropdown instead of settings
* Move settings before account and show plugins for devs
* Convert plugins page to table and update components and modals
* Update links when going back from the builder
* Update plugin search placeholder
* Fix URLs in app overview
* Properly handle text overflow in plugins table
* Remove getting started checklist
* Fix checklist removal and fix profile modal
* Update email details page to match new designs
* Cleanup
* Add licensing and env logic to determine which account links to show
* Update upgrade button URL for cloud accounts
* Update app list to use a more compact style
* Make core page layout responsive and update apps list to be responsive
* Update mobile design of apps page
* Update more pages to be responsive and add mobile specific components
* Refactor main portal page into multiple components
* Update multiple pages to be responsive and improve loading experience
* Make automation history page responsive
* Update backups page to be responsive
* Update pickers to use absolutely positioned root popover so that overflow does not matter
* Fix some responsive styles
* Fix update link in app overview
* Improve dropdown logic
* Lint
* Update click outside handler to handle modals properly
* Remove log
* Fix mobile menu upgrade button not closing menu
* Hide groups page if disabled at tenant level
* Centralise menu logic and show full menu on mobile
* Update app access assignment and fix backups table
* Ensure avatars cannot be squished
* Standardise disabled field text colour
* Allow developer users to access users, groups and usage pages
* Allow readonly access to users and groups for developer users
* Remove logs
* Improve users page loading experience
* Improve responsiveness on apps list page and fix discussions link styles
* Update spacing on user and group detail page and fix usage page showing wrong copy
* Fix logo override not working
* Pin minio version to an old one that supports the fs backend in dev
* Shrink upgrade button
* Shrink user dropdown
* Update assignment modal text
* Remove clickable visual styles from plugins
* Always show groups section in app access page
* Update app overview button styles to include more CTAs
* Hide edit and view links in more menu on overview page unless on mobile
* Make usage stats responsive and fix layout issues
* Add comment to docker-compose config
2023-01-18 13:56:53 +00:00
Adria Navarro
b47b693098
Clean code
2023-01-18 13:55:24 +00:00
Adria Navarro
45b1e9fee3
Add test for multiple rows
2023-01-18 12:26:26 +00:00
Adria Navarro
0beb6d97b1
Use postgres as datasource
2023-01-18 12:19:40 +00:00
Adria Navarro
d91634b6d0
Fix types
2023-01-18 11:50:00 +00:00
Adria Navarro
d40aef8830
More typings
2023-01-18 10:45:42 +00:00
Adria Navarro
ac3905c195
Implement test
2023-01-17 17:39:59 +00:00
Adria Navarro
153eb392c2
Add basic test
2023-01-17 17:22:31 +00:00
Adria Navarro
36c3cfc27d
Type tests utils
2023-01-17 17:19:39 +00:00
Adria Navarro
19ab0ceb40
Prevent killing tests when stopping the server
2023-01-17 16:07:26 +00:00
Adria Navarro
39b33aaf5c
Treat new tests are "no tests"
2023-01-17 16:05:02 +00:00
Adria Navarro
1ce8807dfd
Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite
2023-01-17 15:25:25 +00:00
mike12345567
20a677e510
Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables
2023-01-17 15:25:17 +00:00
Gerard Burns
36f9bd8d71
JSON import changes ( #9288 )
...
* JSON import changes
* Fix lockfiles
* PR Feedback, fix tests
* fix tests
* pr feedback
2023-01-17 15:07:52 +00:00
Adria Navarro
bbad666004
Delete apps on end
2023-01-17 10:28:51 +00:00
mike12345567
4bc47c1563
Minor updates to the context system and also adding env vars to automation context.
2023-01-16 16:47:59 +00:00