1
0
Fork 0
mirror of synced 2024-09-15 00:38:01 +12:00
Commit graph

260 commits

Author SHA1 Message Date
mike12345567
dd16c84ecd Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +00:00
mike12345567
33fa31aae9 Adding test cases for component, templates and hosting as well as updating some existing test cases. 2021-03-09 16:07:44 +00:00
mike12345567
bd00138bed Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567
68bb5d5062 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
acba31d29d Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567
229498332e Two character change, some API calls with sub resources and primary resources weren't working, should allow either the sub resource or the main resource to trigger allowance. 2021-02-26 10:06:02 +00:00
mike12345567
641fd42686 Fixing coercion of null to empty string for options fields. 2021-02-25 11:26:28 +00:00
mike12345567
468ee7ac0c Fixing an issue with option fields not being unselectable. 2021-02-25 11:09:00 +00:00
mike12345567
91878ed2ce Having the server send out _id and primaryDisplay in an object for relationships, also accepting objects and coercing them on way in. 2021-02-25 09:41:04 +00:00
mike12345567
73636d8f78 Copying the table on way in so that after function call the input table can be copied to output table to decide whether to save. 2021-02-24 17:59:55 +00:00
mike12345567
fa6d3e5e63 Updating the self auth endpoint to use the row processor. 2021-02-19 10:32:24 +00:00
mike12345567
f080fa6537 Some major performance optimisations, found that db.find is not fast unless its indexed, there is also no point in indexing for our internal relationship searching, however we can use the allDocs call. This will likely be slow for very large calls (say 100K records) but for these sort of calls we really need to paginate anyway. 2021-02-18 13:38:57 +00:00
mike12345567
5fab1529ec work in progress, enriching in the display names. 2021-02-17 18:04:21 +00:00
mike12345567
a93eb180ce Starting with some work towards a deeper enrichment of rows. 2021-02-17 17:09:59 +00:00
mike12345567
d294ffbb3b Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-17 15:20:14 +00:00
mike12345567
9b59b47d9e Fixing issue #1050 - two issues found, one with running automations in self host throwing an error when trying to access cloud resources (Dynamo) and secondly the worker pool does not have access to resources in the main server instance, therefore need to re-init when running an external action (get manifest, to download the package). 2021-02-17 13:40:14 +00:00
mike12345567
4ccd46e2a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-16 16:38:11 +00:00
mike12345567
113de64833 Some further UI work for auto-columns. 2021-02-16 13:56:40 +00:00
mike12345567
1a2b9bbef4 Removing unused stuff. 2021-02-15 18:41:26 +00:00
mike12345567
4b1855974c Work in progress, getting the server backend mostly ready for this work. 2021-02-15 17:47:14 +00:00
mike12345567
8bf10544c2 Fixing test case. 2021-02-12 20:41:30 +00:00
mike12345567
4f1a0ac645 Fixing an issue with RBAC, there was a mutable issue where a server builtin resource was getting updated, fixed this by not exposing the mutable structure, instead exposing a function which provides a new object everytime. 2021-02-12 20:34:54 +00:00
mike12345567
6bc9123a86 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
mike12345567
f266129489 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
mike12345567
1a8fe9b02c Some more fixes for RBAC as well as fixing the duplication of roles. 2021-02-12 12:02:07 +00:00
mike12345567
a1075881a6 Linting. 2021-02-12 09:55:37 +00:00
mike12345567
9ea0456248 Flipping RBAC implementation to use levels -> role for resource perms API and resource -> level -> role for full fetch (please note full fetch will only work for resources that have a custom permission in the system somewhere, everything else simply defaults to standard. 2021-02-11 18:13:09 +00:00
mike12345567
a2ce35b2f6 Fixing minor issue with switch to level -> roleID. 2021-02-11 13:38:07 +00:00
mike12345567
6c4c70e62b Some updates to RBAC backend, try to make switch to object support level -> roleID. 2021-02-11 13:29:15 +00:00
mike12345567
c3840d8017 Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
mike12345567
1abc4dd1f7 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
Andrew Kingston
56d8a27286 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
mike12345567
ca20cbeeca First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567
feb7e2756f WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
mike12345567
182d720051 Fixing a minor issue with self hosting deployment/app creation. 2021-02-09 17:43:22 +00:00
mike12345567
821de55363 Adding basic permissions test which proves a public user can read from a table, but cannot write. 2021-02-09 17:24:36 +00:00
mike12345567
cc02397b01 Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case. 2021-02-09 13:01:45 +00:00
mike12345567
c0aaaf0046 Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +00:00
mike12345567
7a65a59c78 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
mike12345567
a55d836c33 Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
mike12345567
5f582dd1dc Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567
45b65c6a11 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
mike12345567
c9690f730c Added some unit tests for the enrichment process of rows, in the process found some issues with linking a table to itself, so fixed those so that we can do that in the future if desired. 2021-02-02 11:46:10 +00:00
Michael Drury
4a8bc72888 Merge pull request #1049 from Budibase/feature/selfhosting-info
Quick update to self hosting to make next steps clear
2021-02-01 13:24:50 +00:00
Martin McKeaveney
675e374323 smoother downloads, lint 2021-01-29 21:52:45 +00:00
Martin McKeaveney
94ef16075a copy even users to dump 2021-01-29 17:17:13 +00:00
mike12345567
13fe937e67 This commit includes some fixes for a few auth issues I found when I was working on this and a static page which shows the self hosting info to get the user going (if they end up there). 2021-01-28 18:30:59 +00:00
Martin McKeaveney
9f8c9fa810 import and export apps 2021-01-27 13:55:46 +00:00
mike12345567
3dd985cfb6 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
mike12345567
ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00