Commit Graph

1525 Commits

Author SHA1 Message Date
Martin McKeaveney 8d500584b2 allow empty params 2021-02-23 10:06:55 +00:00
Martin McKeaveney 175d34841b Merge pull request #1156 from Budibase/external-data-source-fixes
External data source fixes
2021-02-22 18:53:22 +00:00
Martin McKeaveney 89c2ae0692 read all columns for schema rather than just the first 2021-02-22 17:41:02 +00:00
mike12345567 794d7cc021 Quick change to make sure as long as internal views are denoted in the db constant they'll be handled. 2021-02-22 16:13:11 +00:00
mike12345567 0345323a3d Adding fix in for views including internal views which shouldn't be added to view calculation. 2021-02-22 16:10:29 +00:00
Martin McKeaveney f16ec615aa Merge pull request #1083 from Budibase/bug/4001-to-0-fix
Attempting to fix the 4001 bug - using ephemeral ports in production (builder)
2021-02-22 13:57:26 +00:00
mike12345567 d9aa1a4890 Switching user activity state to an options field rather than boolean (more extensible). 2021-02-22 12:29:49 +00:00
mike12345567 3dd927e15e Fixing test case. 2021-02-22 12:05:59 +00:00
mike12345567 c801203dc5 Adding the ability to set whether a user is active or not rather than deleting them, stops them from being able to log in to the system. 2021-02-22 11:39:58 +00:00
mike12345567 1f370aa2a5 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-02-22 10:59:34 +00:00
Richard Grant 8ed6dbb312 lint fix
lint complaint fix
2021-02-21 02:27:04 -08:00
Richard Grant 2dac471b2f richard.grant/row-update-user-update-password-fix
update existing user password and login fix
2021-02-21 02:20:05 -08:00
Michael Drury 4a37839151 Merge pull request #1140 from Budibase/feature/relationship-enrichment
Re-introducing relationship tags - showing the display column
2021-02-19 16:54:18 +00:00
Martin McKeaveney e08c917080 adding description blurbs to datasources 2021-02-19 15:07:43 +00:00
mike12345567 780b6e0956 Fixing some issues with enrichment, making sure display column can always be worked out. 2021-02-19 13:21:38 +00:00
Martin McKeaveney 8a60131c7e merge with develop 2021-02-19 12:09:17 +00:00
Martin McKeaveney a4c44a11c5 merge 2021-02-19 12:08:40 +00:00
mike12345567 fa6d3e5e63 Updating the self auth endpoint to use the row processor. 2021-02-19 10:32:24 +00:00
mike12345567 474796baea Fixing an issue found by Andrew K - relationship lookup needs to work on both sides of relationship. 2021-02-19 10:17:11 +00:00
Martin McKeaveney f53463ec0c response parsing 2021-02-18 19:24:42 +00:00
Martin McKeaveney a834f17a80 more design updates 2021-02-18 18:55:08 +00:00
Martin McKeaveney 6e121b6045 design updates, changing query verb names to HTTP verbs 2021-02-18 16:58:10 +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
Michael Drury 7647e346d4 Merge pull request #1125 from Budibase/feature/autocolumns
Feature/autocolumns
2021-02-17 17:18:12 +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 28e244fa16 Fixing an edge case, create table with auto ID, create some rows, then update a column and try to create another row, ID generation would have reset, this makes sure internal changes to the table are kept. 2021-02-17 10:36:36 +00:00
mike12345567 1e39a873b2 Fixing issue with cypress test, fixing a 409 conflict that could occur in table saving - shouldn't happen now. 2021-02-16 18:29:38 +00:00
mike12345567 7b389180c7 Fixing an issue with complex relationships that are heavily intra-related. 2021-02-16 17:21:34 +00:00
mike12345567 b7b1b17148 Fixing test case. 2021-02-16 16:46:18 +00:00
mike12345567 4ccd46e2a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-16 16:38:11 +00:00
Andrew Kingston 85caa27855 Merge pull request #1124 from Budibase/url-context
Bindable URL parameters
2021-02-16 16:32:23 +00:00
mike12345567 1a9d16c8c7 Updating where utilities are held in builder and then making user table relationships autocolumn aware too. 2021-02-16 15:41:50 +00:00
Andrew Kingston ec94aaa90b Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
mike12345567 113de64833 Some further UI work for auto-columns. 2021-02-16 13:56:40 +00:00
Andrew Kingston 77e2ce8eba Merge branch 'master' of github.com:Budibase/budibase into url-context 2021-02-16 09:22:37 +00:00
Martin McKeaveney 13c51f61d9 ensure JSON parsed correctly 2021-02-15 19:57:49 +00:00
mike12345567 23cac6a9ac Fixing issue with linked rows not handling uniqueness correctly when links between tables are using fieldnames for uniqueness. 2021-02-15 19:01:15 +00:00
Martin McKeaveney 5d5637571b tidy up 2021-02-15 18:59:21 +00:00
mike12345567 245cd0a791 Fixing issue with relationships. 2021-02-15 18:53:20 +00:00
Martin McKeaveney 55f98e82d8 REST integration complete 2021-02-15 18:41:56 +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
Martin McKeaveney 5787dd3f93 REST integration end to end 2021-02-15 17:05:53 +00:00
Martin McKeaveney 26377700bb v0.7.8 2021-02-15 14:07:27 +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
Martin McKeaveney 03044d36fe merge 2021-02-12 13:32:37 +00:00
Martin McKeaveney a5dc4de3d2 merge 2021-02-12 13:31:29 +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
Andrew Kingston fdb27f205f Merge branch 'master' of github.com:Budibase/budibase into url-context 2021-02-12 11:43:28 +00:00
Martin McKeaveney 8d92692593 v0.7.7 2021-02-12 11:15:38 +00:00
mike12345567 a1b4572252 Fixing a minor issue with self hosting deployment/app creation. 2021-02-12 10:48:57 +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
Martin McKeaveney 37c00f24bd control RBAC from data section 2021-02-10 18:18:31 +00:00
mike12345567 ca20cbeeca First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567 23f443022b Merge branch 'master' of github.com:Budibase/budibase into feature/autocolumns 2021-02-10 16:10:55 +00:00
mike12345567 feb7e2756f WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
Martin McKeaveney 1958143500 Merge pull request #1107 from Budibase/internal-search
Internal search
2021-02-10 15:44:45 +00:00
Michael Shanks 73d34434ff Updated copyright line in license files 2021-02-10 14:41:37 +00:00
Martin McKeaveney 24c2dd2cdb code review 2021-02-10 14:24:42 +00:00
Martin McKeaveney 587d20b611 Merge branch 'master' of https://github.com/Budibase/budibase into internal-search 2021-02-10 14:02:57 +00:00
Martin McKeaveney 4766d21340 clean up index on table deletion 2021-02-09 18:57:32 +00:00
Martin McKeaveney 9c7a373fb0 primary and secondary index fields 2021-02-09 18:49:12 +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 9fb4c14835 Some more fixes after testing permissions a bit further. 2021-02-09 16:01:02 +00:00
Andrew Kingston da0fce0e8d Fix server query tests 2021-02-09 15:24:56 +00:00
Andrew Kingston 10a9b8034a Fix relationships not being saved for new rows 2021-02-09 14:50:02 +00:00
mike12345567 3712de65ee Make sure both directions exist. 2021-02-09 13:20:53 +00:00
mike12345567 04035a24e9 Quick fix to make sure all relationships link to a valid, existing doc. 2021-02-09 13:18:59 +00:00
mike12345567 ec5f9788c5 Fixing minor bug with permission add. 2021-02-09 13:14:23 +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
Martin McKeaveney 05353c7666 backwards pagination 2021-02-09 12:12:03 +00:00
Martin McKeaveney 36f3bbf6dd user search 2021-02-08 22:29:26 +00:00
Martin McKeaveney 7ef56de1be indexable fields 2021-02-08 20:54:55 +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
Martin McKeaveney 07aeccb36d search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
mike12345567 9752263e25 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-08 17:22:21 +00:00
mike12345567 a55d836c33 Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
Andrew Kingston a82153628d Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-08 09:52:46 +00:00
Martin McKeaveney bfa865cf3c Merge branch 'master' of github.com:Budibase/budibase into internal-search 2021-02-08 09:32:53 +00:00
Martin McKeaveney d3e44268ed v0.7.6 2021-02-06 22:59:28 +00:00
Martin McKeaveney 67371ab25f v0.7.5 2021-02-06 12:43:01 +00:00
Martin McKeaveney 2a78d1f419 test 2021-02-06 12:31:12 +00:00
mike12345567 39a16b93f8 Further work, need to have a larger think about the API of this. 2021-02-05 18:46:15 +00:00
Michael Drury 7567935f71 Merge pull request #1094 from Budibase/bug/user-row-issues
Fixing issues with user row updates + removing an error log from self hosting
2021-02-05 17:01:09 +00:00
mike12345567 6e8912367c Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-05 16:45:37 +00:00
mike12345567 98b23c999d Update to add readable prop to every 'read' query to follow a consistent pattern as well as adding a get endpoint for a single query. 2021-02-05 16:45:23 +00:00
mike12345567 5f582dd1dc Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567 768ea706e6 Quick fix for self hosting error in logs. 2021-02-05 15:24:34 +00:00
mike12345567 c578607511 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-05 13:20:48 +00:00
mike12345567 5ba9f1a65e Fixing some issues found with users and row updates, specifically relationships and numbers. 2021-02-05 12:23:29 +00:00
Martin McKeaveney b4628a43d0 merge 2021-02-05 11:18:37 +00:00
Andrew Kingston 0dd243d8b6 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-05 11:06:51 +00:00
Martin McKeaveney dd1419f2eb v0.7.4 2021-02-05 10:59:29 +00:00
Martin McKeaveney 8d8cdcd732 app export with space in name 2021-02-05 10:55:54 +00:00
Martin McKeaveney 28e2ce28ba v0.7.3 2021-02-05 09:43:45 +00:00
Martin McKeaveney 63b8db6584 pin deps 2021-02-05 09:39:42 +00:00
Martin McKeaveney b1b02934ed custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston da517fbbe6 Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-04 18:05:14 +00:00
mike12345567 45b65c6a11 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
Martin McKeaveney 02a2c60797 v0.7.2 2021-02-04 14:25:15 +00:00
Martin McKeaveney cb95db54c4 Merge pull request #1085 from Budibase/bugfixes-0.7.1
Bugfixes 0.7.1
2021-02-04 12:23:22 +00:00
Martin McKeaveney 1f6a755cb6 fixing JSON and CSV import/export 2021-02-04 08:20:04 +00:00
mike12345567 8656ef3465 Adding a check to the link utils which should make sure the correct link doc is always picked. 2021-02-03 17:19:41 +00:00
mike12345567 a88ce0d608 Attempting to fix the issue with 4001, this updates the cypress tests so that it is easier to change the port on which it runs as well as updating the electron usage of the app to use port 0 (an ephermeral port). 2021-02-03 16:09:48 +00:00
Martin McKeaveney efe1cca74b change backup to be appname 2021-02-03 13:28:11 +00:00
Martin McKeaveney e283dc0bb1 v0.7.1 2021-02-03 10:30:22 +00:00
Martin McKeaveney befb94aaa9 fixes for mySQL and MSSQL non default ports 2021-02-03 08:20:21 +00:00
Martin McKeaveney 7a386ac1b5 v0.7.0 2021-02-02 18:52:05 +00:00
mike12345567 ec21fcbc4d Some quick fixes to allow custom verbs. 2021-02-02 17:28:11 +00:00
mike12345567 febf06d3f6 Adding a nicer error for when user input JSON is invalid. 2021-02-02 16:44:31 +00:00
mike12345567 6a41875556 Some fixes for integrations, making Dynamo work correctly and allow local usage as well as using the API to try and make responses that are objects work better. 2021-02-02 16:26:15 +00:00
mike12345567 ca66433aa2 fixing cypress test. 2021-02-02 14:55:52 +00:00
mike12345567 4d30e6a45a Fixing test failure due to not deleting the ID attached to table in couchTest Utils. 2021-02-02 13:14:32 +00:00
mike12345567 fc179ed78b Linting. 2021-02-02 11:47:20 +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
Martin McKeaveney 27c7f5697b internal search working 2021-02-01 21:02:54 +00:00
mike12345567 164c5594e3 Fixing attachment issue in self hosting, urls are enriched on way out to point directly to MINIO. 2021-02-01 18:08:06 +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 c13e71e870 adding appimage back 2021-01-31 20:31:17 +00:00
Martin McKeaveney 6b814fdb82 Merge pull request #1029 from Budibase/qol-updates
Qol updates - Import/Export App From File
2021-01-29 22:54:38 +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
Andrew Kingston ea1ca745d1 Merge pull request #1039 from Budibase/feature/current-user-datasource
Add current user relationships as a data source, and current user bindings
2021-01-29 16:21:12 +00:00
Martin McKeaveney ff490ef843 Merge branch 'master' of github.com:Budibase/budibase into qol-updates 2021-01-29 15:46:50 +00:00
mike12345567 73ac1f976c Fixing weird formatting issue. 2021-01-29 13:43:20 +00:00
mike12345567 9367ce5bbc Fixing a bug found by tests in auth. 2021-01-29 13:14:36 +00:00
mike12345567 8c5dbabb69 Quick update to chane how hosting key is noted. 2021-01-29 12:21:22 +00:00
Martin McKeaveney f745975a0c privacy features + allow builder usage without cloud API key 2021-01-28 19:32: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 6e2d2fba96 Merge pull request #1036 from SOVLOOKUP/master
add arangodb integration
2021-01-28 15:30:34 +00:00
sovlookup a2bafdc814 prettify code 2021-01-28 23:08:53 +08:00
Andrew Kingston db8ff9001d Remove log statement 2021-01-28 14:51:37 +00:00
sovlookup 3f1797acd6 cannot return result directly fix it 2021-01-28 22:35:41 +08:00
Andrew Kingston 9d870dbccc Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
sovlookup faaf4c6a27 this commit is ok 2021-01-28 22:26:53 +08:00
sovlookup 136faa243b fix a little space 2021-01-28 22:23:17 +08:00