Adria Navarro
742eb4ff46
Lint fix
2023-11-20 15:36:55 +01:00
mike12345567
3228463749
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2023-11-17 17:23:25 +00:00
mike12345567
dde446286d
Switching getMultiple to default to failure if not all entries found, then updating usages.
2023-11-09 17:08:14 +00:00
mike12345567
a26f2e83e4
Some of the new table getters did not account for table IDs not being found, adding a new function which properly accounts for IDs being missing and manages it correctly, rather than leaving tables in an undefined state.
2023-11-09 14:45:23 +00:00
Michael Drury
c511f621d3
Merge branch 'master' into more-db-typing-improvements
2023-11-08 18:50:39 +00:00
mike12345567
4dc6b1eeda
Merge branch 'master' of github.com:Budibase/budibase into fix/11972-external-relationship-formulas
2023-11-08 14:41:53 +00:00
Sam Rose
47292b8ab4
Make DB name non-optional.
2023-11-08 14:37:19 +00:00
mike12345567
e8fb43d30c
Updating DesignDocument and View typing - making it more clear how view and lucene indexing works.
2023-11-08 12:46:00 +00:00
Sam Rose
fdfda100c1
Ensure that the DB always returns Documents.
2023-11-07 18:14:52 +00:00
mike12345567
635af0f76a
Getting external rows to be more consistent with the internal API - the formulas should be processed using the outputProcessing as they were being processed, but was causing an overwrite. The problem was that the external system internally processed the formulas/relationships, then squashed the relationships. Once it got to the external API, it would go through normal output processing, which would run over the squashed rows, causing an inconsistent behaviour.
2023-11-06 19:03:37 +00:00
mike12345567
17319a6981
Moving things around so that DEFAULT_BB_DATASOURCE_ID can be imported without cyclics occurring.
2023-10-31 17:52:39 +00:00
Michael Drury
2bfdd9769e
Merge pull request #12177 from Budibase/feature/make-table-source-id-required
...
Make sourceId property of table required (for all table types)
2023-10-27 13:35:47 +01:00
Sam Rose
536d85d828
WIP: Improving the use of DatabaseQueryOpts.
2023-10-26 15:04:33 +01:00
mike12345567
ed0670a008
Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things.
2023-10-26 13:19:09 +01:00
mike12345567
455b26bac9
Making sure the source ID is always set when creating a table - the frontend expects this to be set for every table so making the type represent this correctly.
2023-10-25 19:00:25 +01:00
mike12345567
fdfd58391a
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2023-10-19 18:25:11 +01:00
mike12345567
13dadbcc7d
Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf
2023-10-18 15:22:00 +01:00
Sam Rose
f9bff0846a
Merge branch 'master' into refactor/remove-jsdoc-types-in-ts-files
2023-10-18 11:45:52 +01:00
Adria Navarro
06ae3fb52c
Log warn
2023-10-18 12:07:50 +02:00
Adria Navarro
ea1853c78c
Remove sentry from the backend
2023-10-18 10:51:09 +02:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant.
2023-10-17 16:46:32 +01:00
mike12345567
b267e4ca28
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2023-10-17 14:53:09 +01:00
mike12345567
09ce950e64
Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf
2023-10-11 17:24:08 +01:00
Adria Navarro
a3b3c176d3
More types
2023-10-11 13:37:50 +02:00
Adria Navarro
1e8aa9eb60
More types
2023-10-11 13:36:56 +02:00
Adria Navarro
79ef97387b
Subtype on datetime
2023-10-11 13:06:18 +02:00
Adria Navarro
3f6d48da1f
Fix autoid numbers
2023-10-11 13:03:05 +02:00
Adria Navarro
74cba9de27
Lint
2023-10-10 18:54:57 +02:00
Adria Navarro
1b7be0d637
Fix import
2023-10-10 18:54:57 +02:00
Adria Navarro
6c328109b6
Fixes
2023-10-10 18:54:57 +02:00
Adria Navarro
ea86ded912
Fixes
2023-10-10 18:54:57 +02:00
melohagan
23b7a8de72
Allow relationship to be deleted even if missing ( #11991 )
...
* Allow relationship to be deleted even if missing
* Comment
2023-10-06 14:17:36 +01:00
mike12345567
ee4a042204
Typing fixes - unsure why all of these came up suddenly.
2023-10-05 18:40:56 +01:00
mike12345567
3e2f9dfc4e
Further enhancement, client library sends up the column it wants enriched and then we can ignore everything else, makes a big difference for enriching users (with a lot of relationships).
2023-10-05 18:23:18 +01:00
mike12345567
069fd33964
Some work towards improving performance of internal DB enrichment, there is a problem with cyclic enrichment due to the outputProcessing, need to decide how to handle formulas on enrichment.
2023-10-04 19:18:21 +01:00
mike12345567
1db95a3006
Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs
2023-10-02 16:32:10 +01:00
Adria Navarro
9860023c9e
inputProcessing async
2023-09-19 10:06:17 +02:00
Adria Navarro
dc29ebfe27
Fix tests
2023-09-13 15:54:44 +02:00
Adria Navarro
142fb18c17
Fix tests
2023-09-13 14:09:48 +02:00
mike12345567
7110351bdc
Revert "revert develop into master"
...
This reverts commit fd099658a0
.
2023-08-18 14:33:21 +01:00
Martin McKeaveney
fd099658a0
revert develop into master
2023-08-17 10:28:15 +01:00
mike12345567
2011e1693e
PR comments.
2023-08-08 12:06:25 +01:00
mike12345567
a1d85a831c
Some quick modifications to allow the views to go through the standard row CRUD, the view search is still separate for now however this may change.
2023-08-04 16:58:40 +01:00
mike12345567
dce38908c9
PR comments (backend).
2023-08-01 10:56:47 +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
43024e1a30
Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs
2023-07-26 14:40:49 +01: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
c870039416
Refactor plus selector
2023-07-24 16:29:49 +02:00
Adria Navarro
fbccec64c7
Renames
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
e2c1a549de
Find by table
2023-07-24 15:15:43 +02:00
Adria Navarro
899c8a14fb
Implement and test create
2023-07-24 15:15:43 +02:00
mike12345567
c185dd7dd0
Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs
2023-07-21 18:41:48 +01:00
mike12345567
87d80e08f5
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-07-21 17:34:27 +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
Adria Navarro
2698e47ec4
Type internal db.get
2023-07-18 11:41:51 +02:00
mike12345567
adef1ed5ce
Initial attempt to get SQS up and running within BB.
2023-07-06 21:49:25 +01:00
Michael Drury
adbdaf394a
Small update to make sure that save/patch calls to the rows API (all DS+) return the squashed relationships, not the whole structure.
2023-06-01 18:18:12 +01:00
Dean
e1a87f2072
Reverted eval call to direct. Indirect appears to cause issues in cloud
2023-05-26 10:22:28 +01:00
Adria Navarro
2d2d50a5df
Merge branch 'develop' into chore/esbuild
2023-05-18 11:34:11 +02:00
Adria Navarro
3933a3881b
Test dynamodb connection
2023-05-15 17:58:09 +02:00
Adria Navarro
f426ba1ac3
Merge branch 'chore/npmless-builds' into chore/esbuild
2023-05-02 14:56:34 +01: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
361005b521
Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild
2023-04-13 17:23:58 +01:00
adrinr
e8e77cc140
Use esbuild for server
2023-03-31 12:32:41 +01:00
adrinr
8d45e44e2f
Fix types
2023-03-30 11:30:35 +01:00
mike12345567
f070be5f65
Moving search index to an enum.
2023-02-24 13:15:14 +00:00
mike12345567
41eb0c3964
Updating worker db config to have replication available (for audit logs).
2023-02-21 17:22:23 +00:00
mike12345567
6ec5e97ce9
Required work to support the new lucene audit logs search indexing.
2023-02-17 16:26:55 +00:00
adrinr
9bb1a2fa18
Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite
2023-02-06 09:12:13 +00:00
adrinr
420cb36ca7
Replace beforeeach for before alls
2023-02-03 19:02:40 +00:00
adrinr
fe8853580e
Tweak tests
2023-02-03 18:40:25 +00:00
adrinr
9f8522a901
Improve link controller tests
2023-02-03 17:59:15 +00:00
adrinr
4eb0c07953
Merge branch 'feature/dependencies-image' into test/9339-sqlpostgres-row-api-test-suite
2023-02-02 10:12:33 +00:00
adrinr
abe3e2921f
Race conditions
2023-01-31 22:50:52 +00:00
Adria Navarro
7f53cbeca7
Fix types
2023-01-20 09:58:59 +00:00
Adria Navarro
6bc658c1ff
Fix types
2023-01-18 11:50:00 +00:00
Rory Powell
fba7ef26ad
Replace ts-jest with swc/jest ( #9289 )
...
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00
Dean
dc001bc27f
Merge remote-tracking branch 'origin/develop' into fix/sample-data-edit-removed-delete-fixed
2022-11-29 12:54:22 +00:00
Dean
7d0e2c289d
Disabled the ability to rename the Sample Data datasource. Updated the backend to ensure that renaming doesn't alter its structure and block deletion
2022-11-28 17:25:10 +00:00
mike12345567
12d6e60525
One file left in the server, some fixes after converting the internal row controller.
2022-11-26 15:42:53 +00:00
mike12345567
658f12281d
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
eeebd0fe70
Typescript conversion of linked row controller.
2022-11-25 18:54:57 +00:00
mike12345567
7eac8fafd6
Some server typescript re-writes, only automations left and some controllers.
2022-11-25 15:01:46 +00:00
mike12345567
02ede5d067
Finally removing all usages of backend-core/ type imports from server, including some further typescript conversions.
2022-11-22 19:49:59 +00:00
Dean
192c9b56e2
Import refactoring and some review updates.
2022-11-21 15:53:47 +00:00
Dean
0441704c57
Import fixes for backend core constants. Minor name change for default data source from Test DB to Sample Data
2022-11-21 12:47:36 +00:00
Dean
02a902ebd3
Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource
2022-11-21 11:10:29 +00:00
Dean
e932aa105b
Shifted the budibase datasource constant to backend-core
2022-11-17 16:28:48 +00:00
mike12345567
c6366c573a
Final server test fixes, after all updates to context/removal of context faking.
2022-11-15 19:04:39 +00:00
mike12345567
5f658a0398
Converting further DB layers to TS - fixing mocks.
2022-11-15 18:33:24 +00:00
Dean
f73b4f8b01
Review updates
2022-11-15 17:03:35 +00:00
mike12345567
72c9aadae0
Updating test cases - trying to get everything in order for merge.
2022-11-14 20:25:05 +00:00
Dean
ebccc21e7f
Fixed imports
2022-11-13 22:34:01 +00:00
Dean
ff7a3b8cef
Default Datasource and sample row data
2022-11-13 21:37:50 +00:00
mike12345567
c744d23832
Major update - removing the use of context for PouchDB instances, swapping knowledge of PouchDB to the PouchLike structure that replaces it.
2022-11-09 16:53:42 +00:00
mike12345567
f5557fd805
Fetching a list of backup/restore events includes the full user object.
2022-10-20 15:05:50 +01:00