1
0
Fork 0
mirror of synced 2024-09-27 14:51:28 +12:00
Commit graph

315 commits

Author SHA1 Message Date
mike12345567
b765502d74 Working on moving file system access around, starting by centralising it then working out what needs to be moved to object store and how. 2021-03-19 14:43:41 +00:00
mike12345567
ef5049ccc7 Merge branch 'master' of github.com:Budibase/budibase into tests/automation-tests 2021-03-15 20:44:54 +00:00
mike12345567
60841d1b1f Removing unused code that was causing some issues with API key lookup and validation in self hosted setups. 2021-03-15 20:43:08 +00:00
mike12345567
d5ec1b3167 Removing un-used code and removing some files from coverage that aren't of consequence. 2021-03-15 17:14:56 +00:00
mike12345567
799168c6b8 Adding in all the automation step tests, beginning work on the general automation tests. 2021-03-12 15:32:16 +00:00
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
mike12345567
5a7c0de397 Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
mike12345567
329b76590c Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
mike12345567
419c6b9393 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00
Martin McKeaveney
53db6e05f9 merge 2021-01-18 14:43:26 +00:00
mike12345567
cdef4ead8c Removing mention of mustache from the server package. 2021-01-15 14:38:10 +00:00
Martin McKeaveney
a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
mike12345567
a9f36d1a42 Adding some fixes for general settings menu not respecting non-deployed apps fully. 2021-01-14 17:52:49 +00:00
mike12345567
16a25a7cff When self hosting it is now possible to use a pretty URL to access the app rather than the normal appId. 2021-01-14 17:01:31 +00:00
Michael Shanks
fbb4fd482f Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Martin McKeaveney
f7383f37da type safe schema validation 2021-01-11 21:01:21 +00:00
Martin McKeaveney
a48869a2f0 merge 2021-01-11 20:29:33 +00:00
mike12345567
210897b909 This simply removes the self hosting logo URL feature as it doesn't really make sense, screen/layout templates are held in the builder codebase and therefore controlling the logo from the server isn't really possible. 2021-01-11 18:09:43 +00:00
Michael Shanks
a878d7eb40 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
mike12345567
882cfa700b Updating worker to support using a self host key, a basic level of security, stopping builder from asking for API key if currently configured for self hosting, made the default values for self hosting make sense for a basic local installation, this should be final. 2021-01-06 16:58:29 +00:00
Martin McKeaveney
d7a0d29b03 switching between queries 2021-01-06 12:28:51 +00:00
mike12345567
287bcd01d2 Fixing up settings to only take the one URL now, the main hosting URL. 2021-01-06 10:59:10 +00:00
mike12345567
207415a932 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-22 16:24:34 +00:00
mike12345567
31bc45985f Update after testing, it is now possible to make a deployment to a self hosted environment. Some work still required, better authentication around MINIO deployment, currently the bucket is set to public read and there is no signing/verification to the upload process, also right now four different URLs are needed for the builder to connect correctly, ideally this shouldn't be the case. 2020-12-18 12:54:20 +00:00
kevmodrome
b6974cba08 update test snapshot 2020-12-18 11:29:26 +01:00
kevmodrome
67d98119b5 updates test 2020-12-18 11:20:25 +01:00
kevmodrome
b3497d3846 fixes encoding issue of file to work with non-english chars 2020-12-18 11:10:36 +01:00
mike12345567
4e13565d1f Adding a deployment service which takes over from the lambdas in local operation, this may become part of the hosting portal if we ever decide to opensource that part of it. 2020-12-16 19:50:02 +00:00
mike12345567
c65ed9ad46 Linting. 2020-12-15 16:42:40 +00:00
mike12345567
f5a9c68c69 WIP - starting to work on deployment and hosting so that they don't use static URLs anymore to reach assets, instead using environment variables to determine what to use. 2020-12-14 18:31:48 +00:00
mike12345567
2546346f36 Adding the ability to change default logo URL for new apps in self hosting. 2020-12-14 15:56:33 +00:00
mike12345567
7b21acd8bd Updating API key controller in self-host mode to return self host API key. 2020-12-09 17:10:53 +00:00
mike12345567
1cbe3771ab Adding in self hosted API key. 2020-12-09 17:04:05 +00:00
mike12345567
3959a18406 Removing the static CSS bundling from the server as it is no longer required. 2020-12-09 12:30:21 +00:00
mike12345567
36432a490f Updating row controller to make sure that all user requests (bar deletion) are passed through correctly to the user controller so that any logic such as removing user password can be correctly held in the user controller logic. 2020-12-09 10:54:30 +00:00
Andrew Kingston
77f049d1bd Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:16:53 +00:00
mike12345567
79cfc5ea01 Fixing an issue with power user not being usable. 2020-12-08 12:20:37 +00:00
Andrew Kingston
cecf4e9bca Fix bug with checking user access 2020-12-04 14:01:10 +00:00
mike12345567
1c37299107 Fixing a caching bug found by cheeks. 2020-12-04 14:01:02 +00:00
mike12345567
19faffff83 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
mike12345567
1a9f1aed9b Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567
05225f7787 Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
mike12345567
8a013c33c3 Major re-work, client library stills needs some work but it appears layouts and screens are no longer inter-dependent. 2020-11-25 17:56:09 +00:00
mike12345567
e26baa6faf Creating CSS generation capabilities in the server. 2020-11-24 18:11:18 +00:00
mike12345567
ddca22245c Changing up how the static assets are compiled, making a 'css' directory in which individual assets CSS is written and then bundled together meaning that not all assets need to be sent up at once for css bundle to be built. 2020-11-23 16:56:35 +00:00
mike12345567
71ca88207d Removing all reference to 'pages' in server source code, now to look at builder. 2020-11-23 15:46:26 +00:00
mike12345567
8ae24a4b30 Storing some work in commit, currently broken, further work needed - application needs cleaned up. 2020-11-23 14:07:18 +00:00
Michael Drury
a16063b11f Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:18:28 +00:00
Michael Drury
7fb26408cf Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:16:37 +00:00
mike12345567
6a50b1057d Fixing some bugs with previous commit and updating to add the functionality of the api/routing/client. 2020-11-18 15:12:42 +00:00
mike12345567
e793c46097 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00