Adria Navarro
6d5a8bba84
Fix types
2023-01-20 09:58:59 +00:00
Rory Powell
0b2a445a9a
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
mike12345567
4868083208
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
17865a5ef4
Typescript conversion of linked row controller.
2022-11-25 18:54:57 +00:00
mike12345567
6f6d000cb8
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
00545ee884
Default Datasource and sample row data
2022-11-13 21:37:50 +00:00
mike12345567
86ab50fe33
Fixing viewname enumeration.
2022-08-11 14:40:17 +01:00
mike12345567
a7631bbad9
Shifting the title of the flow item header into separate component so that it can be used by the run history flow as well.
2022-05-12 18:14:38 +01:00
mike12345567
6880e7bde9
Fix for #5269 - the sub type was being lost in some scenarios related to the user table being updated - making sure it is consistently kept when dealing with either of the related tables.
2022-04-26 14:24:51 +01:00
Michael Drury
91c2a40c89
Final pass refactoring - need to test but all code in server converted.
2022-01-28 00:05:39 +00:00
mike12345567
40c6eb2007
Main body of work, refactoring most usages.
2022-01-27 18:18:31 +00:00
mike12345567
4794a5374e
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
mike12345567
8f70ad9cdc
Performance improvements after testing - switching to temporary in memory queries for cloud views.
2021-09-21 15:59:50 +01:00
mike12345567
a5ce11d3ca
Fixing issue #2412 - making sure full enriched records are passed along to automations.
2021-09-13 16:28:52 +01:00
mike12345567
2dd1e7f45e
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
mike12345567
c64fb81749
Fixing issues after upgrading to node 14 and circular dependencies causing issues.
2021-09-02 18:33:41 +01:00
mike12345567
4ff9de1b6c
Fixing issues with search endpoint not handling users fully.
2021-09-02 17:13:00 +01:00
Keviin Åberg Kultalahti
97498b0778
Merge branch 'master' into develop
2021-08-13 14:41:49 +02:00
Martin McKeaveney
e6019bf3c7
linting ✨
2021-08-11 20:34:45 +01:00
Martin McKeaveney
da67de5c8b
lint
2021-08-10 17:46:28 +01:00
Martin McKeaveney
8c6460ddb1
ensure user metadata is created before link documents are created
2021-08-10 13:00:15 +01:00
mike12345567
34397c2e14
Merge branch 'master' of github.com:Budibase/budibase into develop
2021-08-06 13:04:54 +01:00
mike12345567
3744c9093b
Fixing a variety of issues with internal relationships and external SQL relationships.
2021-08-05 19:24:29 +01:00
mike12345567
42f08f97cc
Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
...
This reverts commit 0d2e2314d4
, reversing
changes made to 1beca4ee96
.
2021-08-05 09:59:08 +01:00
Michael Drury
f37946d47e
Revert "Multi-tenancy/organisations"
2021-08-04 10:02:24 +01:00
mike12345567
5ffe3c7935
First version of multi-tenancy, work still to be done.
2021-07-15 17:57:02 +01:00
mike12345567
477adfdbd7
Linting + formatting.
2021-06-25 17:21:36 +01:00
mike12345567
191646b7ee
Removing use of the arguments[0] as they don't mesh well with TS.
2021-06-25 17:14:23 +01:00
mike12345567
373c57580a
Allowing formula fields to be display columns.
2021-06-22 11:49:35 +01:00
mike12345567
13222e2083
Linting.
2021-06-20 10:55:12 +01:00
mike12345567
60de9ccb28
Fixing issue with 1:N relationships and multiple fields, issue #1753 .
2021-06-20 10:53:55 +01:00
mike12345567
c80f63673b
Formatting.
2021-06-08 16:11:46 +01:00
mike12345567
594a290286
Re-writing how global users are handled in server, specifically how they are retrieved, so that for relationships it can handle the global user.
2021-06-08 16:06:30 +01:00
mike12345567
c259564ba8
Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas
2021-05-04 13:24:14 +01:00
Andrew Kingston
556236ebce
Add explicit prettier options
2021-05-04 11:32:22 +01:00
mike12345567
acc6eed8ff
Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas
2021-05-04 10:34:30 +01:00
Keviin Åberg Kultalahti
4ec2e7d01f
lint:fix
2021-05-03 09:31:09 +02:00
mike12345567
4ed611fb73
Adding handlebars formulas to the system, it is now possible to set a formula at a column level which will always be applied on the way out with a relationship depth of one.
2021-04-29 19:06:58 +01:00
mike12345567
659874c9ee
Some final changes to search system so that the new indexing system is used instead of mango to achieve exactly the same result.
2021-03-26 13:46:20 +00:00
mike12345567
b1e443f581
Upping relationship coverage overall to 98% - looking over utilities which are barely ever used.
2021-03-16 23:25:18 +00:00
mike12345567
d6b23b3a79
Adding test cases which bring the link controller coverage to 100%.
2021-03-16 18:13:00 +00:00
mike12345567
fbbb3d12a1
starting into relationship testing.
2021-03-16 13:24:44 +00:00
mike12345567
2467ae2a2e
Updating package.json to include an option for coverage, had to re-write some stuff to make sure that views were not getting coverage statements inserted (breaking things).
2021-03-02 17:13:11 +00:00
mike12345567
a21ca8fb62
First version, still playing around with styling.
2021-03-01 17:06:08 +00:00
mike12345567
20b44c9dbd
Minor update to fix an issue when updating a row that it would throw an error with 1->to->many relationships on existing relationships for that row, as well as cleaning up how relationshipType is put onto the linked table.
2021-02-25 17:07:32 +00:00
Martin McKeaveney
0cfbe2357b
bugfixes
2021-02-25 16:21:41 +00:00
mike12345567
9a49252ae7
Updating link controller to manage existing column comparison a bit better.
2021-02-25 15:21:08 +00:00
mike12345567
5733255cc8
Merge branch 'master' of github.com:Budibase/budibase into bug/relationship-display-id
2021-02-25 12:36:16 +00:00
Martin McKeaveney
b179418767
relationship type constant
2021-02-25 12:21:24 +00:00
mike12345567
66b488dc46
Wrapping throws in new errors.
2021-02-25 12:10:18 +00:00