Commit Graph

2015 Commits

Author SHA1 Message Date
mike12345567 8f82b069d2 Removing unused require. 2021-03-10 18:46:52 +00:00
mike12345567 163d24a767 Updating row tests, reducing console logging during tests for speed and clarity, testing some misc endpoints and updating search functionality to use a starts with operator when working with strings on rows. 2021-03-10 17:55:42 +00:00
Martin McKeaveney f69e06870b Merge pull request #1266 from Budibase/middleware-tests
Middleware tests
2021-03-10 15:28:11 +00:00
mike12345567 a6bde49ad3 Updating application tests to run a lot deeper, which required updating some other tests to account for creation of empty screens and layouts. 2021-03-10 12:56:30 +00:00
mike12345567 a48f1c72f2 Adding auth tests. 2021-03-10 12:20:07 +00:00
mike12345567 28329d7f6b Fixing issue with datasource find endpoint, removing un-used code and updating data source test. 2021-03-10 11:56:52 +00:00
mike12345567 dd16c84ecd Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +00:00
Martin McKeaveney 4b5a1d6177 allowing airtable query to send down the number of records you want from your table 2021-03-10 10:39:58 +00:00
Martin McKeaveney ca5ca7add9 finish authenticated tests 2021-03-09 17:31:52 +00:00
mike12345567 929db83e99 Upping user test cases to cover all of controller. 2021-03-09 17:09:18 +00:00
Martin McKeaveney 4d39cf5405 authenticated tests 2021-03-09 17:04:24 +00:00
mike12345567 d9151cca0a Adding test cases for backup and integration. 2021-03-09 16:28:41 +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
Martin McKeaveney 5dcc4f23c6 usageQuota tests 2021-03-09 15:13:14 +00:00
Martin McKeaveney c755df9f91 resourceId tests 2021-03-09 12:39:32 +00:00
mike12345567 6231c25ed5 Updating query test to include mocked preview/execute and adding layout tests. 2021-03-09 11:56:32 +00:00
Martin McKeaveney c4b3a7c884 refactor selfhost middleware tests to use TestConfiguration 2021-03-09 11:33:16 +00:00
Martin McKeaveney 05efe05061 tests for authorized middleware 2021-03-09 11:27:12 +00:00
mike12345567 2bf227ab58 Adding API key tests. 2021-03-08 18:18:53 +00:00
mike12345567 c5cb40c1cf Adding a query find and planning to tackle mocking out the preview and execute functionality. 2021-03-08 18:03:26 +00:00
mike12345567 0652133a30 Some fixes after testing webhooks as well as adding test cases for all webhook endpoints. 2021-03-08 15:57:19 +00:00
Martin McKeaveney 1b1ed8a823 self hosted middleware test 2021-03-08 15:46:12 +00:00
mike12345567 701a479b2a Updating routing test cases. 2021-03-08 14:49:19 +00:00
mike12345567 bd2a901f60 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-03-08 10:42:57 +00:00
Martin McKeaveney 1a9290b395 middleware tests 2021-03-05 14:13:43 +00:00
Michael Drury 1f03851f0d Merge pull request #1252 from Budibase/feature/test-refactor
Server test refactor
2021-03-05 13:43:18 +00:00
mike12345567 a9304bbcbd linting. 2021-03-05 12:55:52 +00:00
mike12345567 0878d692c2 Reducing the boilerplate needed around setting up a test case. 2021-03-05 12:11:44 +00:00
mike12345567 110ae15fb3 Some more quick modifications to test re-factor before PR. 2021-03-05 11:24:15 +00:00
Martin McKeaveney 9495e08b58 remove variable 2021-03-04 17:55:58 +00:00
Martin McKeaveney 39e2d78317 refactor view tests 2021-03-04 17:55:24 +00:00
mike12345567 242341e74f Moving comment. 2021-03-04 17:12:44 +00:00
mike12345567 10d5da6aab Small amount more user refactoring, removing use of couchTestUtils. 2021-03-04 17:06:33 +00:00
Martin McKeaveney ed0ee4fe60 Merge branch 'feature/test-refactor' of https://github.com/Budibase/budibase into feature/test-refactor 2021-03-04 16:54:50 +00:00
Martin McKeaveney 19b613d6e5 refactor user test 2021-03-04 16:54:44 +00:00
mike12345567 01f9981f11 Refactoring table testcases. 2021-03-04 14:36:59 +00:00
mike12345567 bd00138bed Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567 317d6633a2 Refactoring to remove the use of the supertest, making this part of the test config. 2021-03-04 12:32:31 +00:00
mike12345567 68a5580fb9 Refactoring query tests. 2021-03-04 10:57:41 +00:00
mike12345567 54d12bd9e7 Switching out how headers are handled, and updating the permissions test. 2021-03-04 10:40:27 +00:00
mike12345567 5d3b110985 Refactoring data source test cases. 2021-03-04 10:05:50 +00:00
mike12345567 798d29e743 Re-writing automation tests. 2021-03-03 18:41:49 +00:00
mike12345567 6d9b8a6678 Initial work on test refactoring, laying the utilities down which will be the basis of new testing framework, interacting directly with the controllers. 2021-03-03 17:52:41 +00:00
Martin McKeaveney 7f38415967 v0.8.5 2021-03-03 17:46:36 +00:00
Martin McKeaveney a9ab12b999 v0.8.4 2021-03-03 17:05:18 +00:00
Martin McKeaveney 69a9e3135f Merge branch 'master' into develop 2021-03-03 16:00:10 +00:00
Martin McKeaveney d4bbb731fc codecov GH action 2021-03-02 18:22:35 +00:00
mike12345567 37211e4e9d Updating server package to always generate coverage report but don't display as text. 2021-03-02 17:42:32 +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
Keviin Åberg Kultalahti 4575285d5f fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
mike12345567 0766e2fc40 Merge branch 'master' of github.com:Budibase/budibase into feature/one-many-relationship-changes 2021-03-02 09:59:52 +00:00
mike12345567 0c8026c5ce First version, still playing around with styling. 2021-03-01 17:06:08 +00:00
mike12345567 2e7410bc71 Linting. 2021-02-27 10:45:01 +00:00
mike12345567 2b11f8adfa Very minor change due to issue #1204 - wasn't allowing unauthenticated requests through. 2021-02-27 10:15:05 +00:00
mike12345567 acba31d29d Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567 7427eb82c1 Merge branch 'master' of github.com:Budibase/budibase into bug/perms-fix 2021-02-26 10:06:24 +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
Martin McKeaveney a0456e86bd v0.8.3 2021-02-25 17:18:36 +00:00
mike12345567 78286ae514 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 779deddc5a v0.8.2 2021-02-25 16:39:52 +00:00
Martin McKeaveney c73c77448c bugfixes 2021-02-25 16:21:41 +00:00
Martin McKeaveney bf7bc51566 fix user creation relationships bug 2021-02-25 15:24:54 +00:00
mike12345567 51ed23d0a7 Updating link controller to manage existing column comparison a bit better. 2021-02-25 15:21:08 +00:00
Martin McKeaveney e72057499a v0.8.1 2021-02-25 13:50:33 +00:00
Martin McKeaveney e75355cfa3 Update Dockerfile 2021-02-25 13:27:46 +00:00
Martin McKeaveney b4996ccb4d v0.8.0 2021-02-25 12:49:03 +00:00
mike12345567 cd36739c23 Merge branch 'master' of github.com:Budibase/budibase into bug/relationship-display-id 2021-02-25 12:36:16 +00:00
Martin McKeaveney fbbeb19724 adding many to many constant 2021-02-25 12:23:47 +00:00
Martin McKeaveney 2d75bc750b relationship type constant 2021-02-25 12:21:24 +00:00
mike12345567 429811ec8b Wrapping throws in new errors. 2021-02-25 12:10:18 +00:00
mike12345567 a311002632 Found some issues with relationship columns being doubled up, this isn't validated client side, best to make sure it doesn't happen server-side (can really break your data structure if columns overwrite each other). 2021-02-25 12:06:13 +00:00
Martin McKeaveney 89350c91d1 refactor 2021-02-25 11:59:31 +00:00
Martin McKeaveney bcaed4f4e4 Server side data integrity for 1:N 2021-02-25 11:55:23 +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
Martin McKeaveney 19fb11e69d 1-n-data-integrity 2021-02-25 11:05:15 +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
Martin McKeaveney ed6a77a55d mysql key length 2021-02-24 21:58:38 +00:00
Martin McKeaveney 18429c5e78 Merge branch 'master' of https://github.com/Budibase/budibase into develop 2021-02-24 21:57:50 +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 d16015587f Fixing an issue where the table that a view was attached to was not being retrieved correctly, inhibiting the ability to enrich with relationships. 2021-02-24 16:55:06 +00:00
Martin McKeaveney a17a1fb07b SSL config for mysql, remove rickroll 2021-02-24 16:31:47 +00:00
mike12345567 8f9ea1cd8a Minor change, making sure each link is definitely unique by combining each of its three unique properties into a uniqueness hash, was missing one of the components. 2021-02-24 13:55:48 +00:00
Michael Drury 2ac101630b Updating packages in builder and server, making build work in Windows. 2021-02-24 10:56:12 +00:00
mike12345567 90f9be36dd Using cross-env instead of pure environment variable specification to make it work on windows. 2021-02-24 10:13:16 +00:00
Martin McKeaveney 71778c0dc1 Merge pull request #1163 from Budibase/develop
Develop
2021-02-23 15:35:39 +00:00
Andrew Kingston 35e88390d5 Update icon for row updated trigger 2021-02-23 14:16:44 +00:00
Andrew Kingston 9013c493aa Add new automation trigger for updating rows 2021-02-23 14:07:19 +00:00
Martin McKeaveney d4dc591247 Merge pull request #1161 from Budibase/0.8-bugfixes
0.8 bugfixes
2021-02-23 11:51:16 +00:00
Michael Drury 8d9508bb3f Merge pull request #1155 from Budibase/bug/fix-binding-issue
Fixing issue with copying/cutting and pasting components with bindings
2021-02-23 11:35:23 +00:00
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
sovlookup 2f167d8245 add arangodb integration 2021-01-28 22:20:15 +08:00
sovlookup 0e7e5920c6 add arangodb integration 2021-01-28 22:17:39 +08:00
mike12345567 561ce349f9 Fixing an issue that aptkingston found with relationships were links on the way out would be multiplied (due to the bi-directional nature). 2021-01-28 14:03:19 +00:00
sovlookup 13aab3b809 add arangodb integration 2021-01-28 21:48:29 +08:00
sovlookup d1ba3f97f6 add arangodb integration 2021-01-28 21:42:40 +08:00
Martin McKeaveney 79277f0ee0 v0.6.2 2021-01-27 17:43:38 +00:00
Martin McKeaveney 23899840d3 v0.6.1 2021-01-27 16:47:44 +00:00
Martin McKeaveney b1a76ad74d v0.6.0 2021-01-27 15:04:13 +00:00
Martin McKeaveney 9f8c9fa810 import and export apps 2021-01-27 13:55:46 +00:00
Martin McKeaveney 19a3e609e6 return schemas from backend 2021-01-26 16:02:44 +00:00
Martin McKeaveney 75b5b0eb52 only allow read queries in datasources 2021-01-26 15:23:23 +00:00
Martin McKeaveney fcbb27b628 Merge branch 'master' of github.com:Budibase/budibase into mysql-connector 2021-01-26 11:10:08 +00:00
Martin McKeaveney b52a2efef0 MySQL integration and self hosted deploy event 2021-01-26 11:07:30 +00:00
Andrew Kingston 5bec329581 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-26 09:11:43 +00:00
Martin McKeaveney 83b8fe10b3 merge 2021-01-25 16:19:03 +00:00
Keviin Åberg Kultalahti 2034fb8646 adds success notification messages to row API 2021-01-25 12:44:44 +01:00
Martin McKeaveney 7286167b9d merge 2021-01-22 18:06:53 +00:00
Andrew Kingston 6a7e137ff6 Remove server logging integration definitions every time they're fetched 2021-01-22 14:37:24 +00:00
Martin McKeaveney fcb1c082cb simplify queries to only have one type under query verb 2021-01-22 12:22:28 +00:00
Keviin Åberg Kultalahti e411ac5b3d Merge branch 'master' into feature/client-feedback-component 2021-01-22 12:34:16 +01:00
Andrew Kingston 0535e3b84a Adding server yarn lock file which was somehow removed 2021-01-22 11:21:15 +00:00
Martin McKeaveney 1e9736e396 sensible defaults, adding popover for parameters 2021-01-22 10:54:23 +00:00
Keviin Åberg Kultalahti e3b4ef81ae adds dummy errorStore to client lib 2021-01-22 10:24:43 +01:00
Andrew Kingston e271f97ac7 Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 12:14:09 +00:00
mike12345567 239079d973 Linting. 2021-01-21 11:32:26 +00:00
Andrew Kingston 9978d0707d Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 3dd985cfb6 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston 7ebed8059d Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-21 10:45:04 +00:00
mike12345567 ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston 4381fb2748 Fix postgres integration schema credentials 2021-01-20 13:23:06 +00:00
Andrew Kingston b1c292b79c Fix incorrect paths after merge 2021-01-20 13:20:08 +00:00
Andrew Kingston 47dabc16ce Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +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 994b88c2c7 Merge pull request #993 from Budibase/external-tables
External Data Connectors
2021-01-18 17:23:12 +00:00
kevmodrome 9bd1422449 adds missing css link in the actual app output 2021-01-18 16:23:14 +01:00
Martin McKeaveney 53db6e05f9 merge 2021-01-18 14:43:26 +00:00
Michael Drury 4d0eb1a49f Merge pull request #996 from Budibase/feature/self-host-pretty-url
Pretty URLs for self hosting
2021-01-18 12:54:48 +00:00
mike12345567 6be84b81b9 Review comments. 2021-01-18 12:36:49 +00:00
Martin McKeaveney 7ed062bf1e fix no schema bug, feedback from demo 2021-01-15 17:29:46 +00:00
mike12345567 cdef4ead8c Removing mention of mustache from the server package. 2021-01-15 14:38:10 +00:00
Martin McKeaveney dfca8a7f4b lint 2021-01-15 13:44:42 +00:00
Martin McKeaveney fc5ebd6b53 mongo config 2021-01-15 13:42:14 +00:00
Martin McKeaveney 6d5dc7592e dynamo integration 2021-01-15 13:24:36 +00:00
Martin McKeaveney a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Michael Drury 1c7bbb4276 Merge pull request #920 from Budibase/dependabot/npm_and_yarn/packages/server/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8 in /packages/server
2021-01-15 12:41:40 +00:00
Michael Drury f2038afff7 Merge pull request #963 from Budibase/dependabot/npm_and_yarn/packages/server/urijs-1.19.5
Bump urijs from 1.19.2 to 1.19.5 in /packages/server
2021-01-15 12:41:20 +00:00
Andrew Kingston 26067ed026 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-15 10:26:19 +00:00
Martin McKeaveney 0a3d338985 query and datasource unit tests 2021-01-14 20:51:03 +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 d820e3287e Making sure URLs are always lower-case. 2021-01-14 17:31:17 +00:00
mike12345567 cfe3c6e3d2 Found small issue with encoding uris, simple fix. 2021-01-14 17:11:39 +00:00
mike12345567 7fc0122689 Merge branch 'master' of github.com:Budibase/budibase into feature/self-host-pretty-url 2021-01-14 17:03:05 +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
Martin McKeaveney b96518458e v0.5.3 2021-01-14 15:24:01 +00:00
Martin McKeaveney 836092ec82 v0.5.2 2021-01-14 15:03:58 +00:00
Martin McKeaveney 951808e535 v0.5.1 2021-01-14 14:46:40 +00:00
Martin McKeaveney 3ea31ba383 v0.5.0 2021-01-14 14:37:53 +00:00
Andrew Kingston bd237b3e7c Clean paths and file structure 2021-01-14 10:03:33 +00:00
Andrew Kingston cdfcff4bbb Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +00:00
Martin McKeaveney 267e85c2bf tidy up 2021-01-13 18:29:51 +00:00
Martin McKeaveney 01ff661f17 schema updates, custom fields 2021-01-13 16:39:47 +00:00
Martin McKeaveney 94ee5855a5 custom fields in queries 2021-01-13 14:11:53 +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
Andrew Kingston af73139a87 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 9b035df33e WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney 33d63607e2 Add all CRUD ops to airtable integration 2021-01-12 17:45:43 +00:00
Martin McKeaveney 19f6139a1a allow deletion of queries and datasources 2021-01-12 17:04:51 +00:00
Martin McKeaveney d05f1666fc further syntax highlighting updates 2021-01-12 16:49:11 +00:00
Martin McKeaveney 23d83739b0 readable to writable bindings 2021-01-12 10:28:41 +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
Martin McKeaveney 579e3a79b7 direct airtable integration works 2021-01-11 17:18:22 +00:00
Martin McKeaveney b76d42bcde use dynamic input in query 2021-01-11 15:34:43 +00:00
dependabot[bot] ec03dc0655 Bump urijs from 1.19.2 to 1.19.5 in /packages/server
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.5.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 11:51:27 +00:00
dependabot[bot] a3fb1c860f Bump ini from 1.3.5 to 1.3.8 in /packages/server
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 11:51:22 +00:00
Martin McKeaveney 102b7ce61f binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks a878d7eb40 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney 8e40f4b5f8 Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567 85320ea938 Some minor updates, making template object store URL in self hosting relative so everything just goes through the proxy, and fixing issue with API key being required to create apps in self hosting. 2021-01-07 15:37:41 +00:00
Andrew Kingston cf087209d7 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Martin McKeaveney 963d8cb679 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
Martin McKeaveney d1a119f06a new datasource design 2021-01-07 13:13:46 +00:00
mike12345567 405ca07efe Adding a build method which can push docker images if you are logged in to docker CLI and making the main docker compose file use the pushed images instead. 2021-01-07 11:38:37 +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 1c553a75df Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 11:00:02 +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
Andrew Kingston a30a0b3749 Merge pull request #943 from Budibase/cheeks-bugfixes
Cheeks Bugfixes
2021-01-05 12:00:18 +00:00
Martin McKeaveney 755fa0ac4a allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Martin McKeaveney b4b4941003 use queries in front end 2020-12-30 12:58:39 +00:00
Martin McKeaveney 736adca7a4 v0.4.3 2020-12-23 22:39:10 +00:00
Martin McKeaveney 4a38b2be70 add notarization step back in for OSX 2020-12-23 22:33:10 +00:00
Andrew Kingston fb3a3d504e Fix new layouts having bad styling 2020-12-23 09:23:03 +00:00
mike12345567 207415a932 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-22 16:24:34 +00:00
Martin McKeaveney 29b51bc6c2 separation of datasources and queries 2020-12-18 18:19:43 +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 cc34838f45 Updating deployment service, checking in builder the builder settings info stored in DB before deploying. 2020-12-15 17:27:45 +00:00
mike12345567 c65ed9ad46 Linting. 2020-12-15 16:42:40 +00:00
mike12345567 21978007cf Adding feature to allow configured the builder to point at a self hosted system instead of production (for deployment). 2020-12-15 16:41:55 +00:00
Martin McKeaveney 0665a0dcc5 v0.4.2 2020-12-15 15:23:45 +00:00
Martin McKeaveney ab7a0bbeae Update package.json 2020-12-15 15:08:21 +00:00
Martin McKeaveney 14b88d781a v0.4.1 2020-12-15 14:46:11 +00:00
Martin McKeaveney 9900ce131f Update package.json
We can't build RPM for our scoped package due to - https://github.com/electron-userland/electron-builder/issues/5240

Need to remove RPM for now as it's blocking the release
2020-12-15 14:01:46 +00:00
Martin McKeaveney f834004dab v0.4.0 2020-12-15 11:53:28 +00:00
Andrew Kingston b582b7ac22 Merge pull request #903 from Budibase/feature/security-update
Security Update & Role-Based Screens
2020-12-15 09:52:18 +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
Martin McKeaveney 9851138fb5 Merge pull request #897 from Budibase/replace-appimage
replace appimage with native linux packages
2020-12-14 15:20:05 +00:00
Martin McKeaveney 8e10a4ac7d MS SQL Server integration 2020-12-12 21:48:51 +00:00
Martin McKeaveney 7255a21819 merge 2020-12-12 20:09:04 +00:00
mike12345567 0e854473f0 Putting together the basics of the compose system, this is now functional, along with some handy scripts to make it work. This requires minimum docker 1.25.0 to run due to the use of --env-file. 2020-12-11 16:38:40 +00:00
mike12345567 a94ce70cee Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 18:01:38 +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
Andrew Kingston 045f0f1bfe Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-09 15:57:32 +00:00
mike12345567 9c9cdcc3de Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 15:21:34 +00:00
Andrew Kingston fba15e6d70 Remove client CSS bundle from index.html template 2020-12-09 12:33:09 +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
kevmodrome 2fcdf3483b adds colorpicker to card componeent 2020-12-09 12:00:17 +01: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
mike12345567 4ce920df01 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:52:18 +00:00
mike12345567 a464feba6d Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 10:02:33 +00:00
mike12345567 4d5ac0ee9e Updating builder/server in a few ways, to allow creating users with extra columns attached, allowing password to be updated in the builder and making sure that all row endpoints correctly pass through the user controller so that we can still have customised functionality for users (such as making sure password is never returned). 2020-12-08 17:33:08 +00:00
Martin McKeaveney fb569a4425 fixing bugs found during testing 2020-12-08 16:55:43 +00:00
mike12345567 2ad44fe60a Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-08 13:45:53 +00:00
mike12345567 48e40cde99 Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:41:07 +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
mike12345567 9a63252666 Fixing automations to use recurseMustache from utilities. 2020-12-08 11:47:33 +00:00
Andrew Kingston 1c73786226 Update user editing to support new email field 2020-12-08 11:43:37 +00:00
Andrew Kingston b7cb7c59a0 Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 11:42:29 +00:00
Martin McKeaveney b7f628e250 lint 2020-12-08 11:23:06 +00:00
Martin McKeaveney 5f0aa7e584 Merge branch 'master' into feature/page-refactor 2020-12-08 10:48:14 +00:00
Martin McKeaveney 7fc7500fa3 merge with master 2020-12-07 21:32:45 +00:00
Martin McKeaveney c00af29fbc rename level to role in test 2020-12-07 21:28:16 +00:00
Martin McKeaveney 39473cb029 merge 2020-12-07 21:20:35 +00:00
Martin McKeaveney cffa809316 fix tests 2020-12-07 21:11:07 +00:00
Martin McKeaveney ccb6b59588 code review 2020-12-07 20:46:37 +00:00
Martin McKeaveney a7789067d3 fix layout bugs, some tidy up 2020-12-07 20:29:41 +00:00
mike12345567 74f5197865 Merge branch 'username-email' of github.com:Budibase/budibase into feature/security-update 2020-12-07 18:08:20 +00:00
mike12345567 837778c250 Fixing test case and also making sure that external trigger does what its expected to. 2020-12-07 17:55:35 +00:00
mike12345567 ed292db82e Updating test so that it doesn't chain. 2020-12-07 17:42:31 +00:00
mike12345567 63f38ce99d Making chaining of automations through different row creation/deletions possible. 2020-12-07 17:23:53 +00:00
Martin McKeaveney 3af5ec36b8 merge 2020-12-07 15:53:51 +00:00
Martin McKeaveney 74f138ee9a lint 2020-12-07 15:49:19 +00:00
Martin McKeaveney a9d0c68a60 component store refactor - remove concept of currentPreviewItem and currentComponentInfo 2020-12-07 15:27:46 +00:00
mike12345567 3339f364b6 Updating role constraints and making sure roles can't be deleted if they are in use. 2020-12-07 15:21:06 +00:00
Martin McKeaveney 0439a101a3 replace appimage with native linux packages 2020-12-07 10:15:27 +00:00
Martin McKeaveney 6b5c1ffafa consolidate routing and component selection 2020-12-05 12:09:58 +00:00
Martin McKeaveney 3b049bc286 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
mike12345567 ffad7bb3d0 Some work towards replication of couch locally. 2020-12-04 17:10:01 +00:00
Andrew Kingston 049e046192 Merge branch 'feature/page-refactor' of github.com:Budibase/budibase into feature/page-refactor 2020-12-04 14:08:13 +00:00
Andrew Kingston 75e4b4f8cd Change screen templates to be functions which can be enriched by the application 2020-12-04 14:03:40 +00:00
Andrew Kingston 0eb599ee16 Fix bug with getting screen list in app definition 2020-12-04 14:02:58 +00:00
mike12345567 54e3c3a90f Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/security-update 2020-12-04 14:01:13 +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 bf82348f9f Hopefully a fix for the 4001 bug we have been experiencing. 2020-12-04 13:45:14 +00:00
Martin McKeaveney ad4e4e4679 update user id generation 2020-12-04 13:28:19 +00:00
Martin McKeaveney f05d696ef7 email as default user identifier 2020-12-04 12:22:45 +00:00
mike12345567 6f3c4ba0ea Hopefully a fix for the 4001 bug we have been experiencing. 2020-12-04 12:09:02 +00:00
mike12345567 ee37bca225 Quick fixes for self deployment. 2020-12-04 12:07:51 +00:00
Andrew Kingston a8a8b60a55 Fix variable name in returned message when deleting a role 2020-12-04 08:28:35 +00:00
mike12345567 a5d2e9a3b9 Some work to not contact lambda or use quotas when deploying locally. 2020-12-03 17:45:20 +00:00
Martin McKeaveney 277524b86e accommodate login layout 2020-12-03 17:31:38 +00:00
mike12345567 3bcbb5f27c Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/self-hosting 2020-12-03 15:01:41 +00:00
kevmodrome 5d686e22ff adds rollup-json to standard-components and adds RichText to Form component 2020-12-03 15:03:17 +01:00
mike12345567 623afd6459 Making public and basic roles accessible. 2020-12-03 12:28:30 +00:00
mike12345567 2a41f57382 Linting and update to try and fix issues when screens are created, screen saving now generates CSS. 2020-12-03 12:08:33 +00:00
mike12345567 622f295e21 Merge branch 'feature/page-refactor' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 18:07:30 +00:00
mike12345567 c0ccf67283 Quick fix and making sure CSS temp files in app directory don't get uploaded. 2020-12-02 18:07:17 +00:00
Martin McKeaveney c0c8c430ea serve app assets 2020-12-02 17:42:59 +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
Martin McKeaveney 9b25a61706 allow editing of screen layout from modal 2020-12-02 16:15:14 +00:00
Martin McKeaveney 13824dcf09 merge 2020-12-02 14:15:07 +00:00
mike12345567 4319c4bb3f Linting. 2020-12-02 13:27:20 +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 326551d2ed Linting. 2020-12-02 13:21:13 +00:00
mike12345567 05225f7787 Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
mike12345567 de26870303 Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/self-hosting 2020-12-01 17:54:50 +00:00
mike12345567 3dde3e0581 Making sure deployment object is used everywhere to hide all underlying deployment properties. 2020-12-01 16:51:17 +00:00
Martin McKeaveney 33c40063af layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
mike12345567 103161c7a8 Expanding on deployment, attempting to hide all the quota stuff behind layers that we can more easily abstract, as well as hiding away any AWS specific features in the index of deployment. 2020-12-01 13:39:34 +00:00
mike12345567 ac6b2aa6c8 Initial work, layout out some work which will eventually become docker compose, just using bash scripts for now. 2020-11-30 18:04:47 +00:00
mike12345567 0fea7893ea Quick update to allow deleting layouts if they are not currently in use. 2020-11-30 16:12:06 +00:00
Andrew Kingston a54dd9509f Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
mike12345567 b55c4bc9c0 Merge branch 'master' of github.com:Budibase/budibase into feature/page-refactor 2020-11-30 11:47:08 +00:00
mike12345567 b29f06db1f Adding to JOI the layoutId. 2020-11-30 11:19:22 +00:00
Andrew Kingston a0f3b16e51 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-27 15:59:32 +00:00
Martin McKeaveney d068f2b758 Merge pull request #880 from Budibase/users-as-table
Users as table
2020-11-27 15:52:54 +00:00
mike12345567 060fee722c Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-27 15:11:56 +00:00
Martin McKeaveney 6cca720117 browse contents of s3 buckets from within budibase 2020-11-26 21:23:20 +00:00
Martin McKeaveney 9a6ac6915b CouchDB integration E2E 2020-11-26 17:34:15 +00:00
Martin McKeaveney 5e5b489cb9 elasticsearch end to end 2020-11-26 17:03:18 +00:00
Martin McKeaveney fbf501aebc mongoDB end to end 2020-11-26 16:46:36 +00:00
Martin McKeaveney 298ef30360 budibase postgres E2E working 2020-11-26 14:43:56 +00:00
Andrew Kingston b8bc583fd9 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 07229858c8 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +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
Martin McKeaveney ce4bf552f1 fix users test, remove superfluous files 2020-11-25 15:30:10 +00:00
Martin McKeaveney 9a365a8359 fix create user automation 2020-11-25 15:11:33 +00:00
Martin McKeaveney c225d54e99 extract constant 2020-11-25 15:03:19 +00:00
mike12345567 e26baa6faf Creating CSS generation capabilities in the server. 2020-11-24 18:11:18 +00:00
Martin McKeaveney eb9cfcb8bd tidy up 2020-11-24 17:02:58 +00:00
Martin McKeaveney 2f996d4e68 users as table working end to end 2020-11-24 17:00:15 +00:00
Michael Shanks 300fbb3a5a Correct licenses 2020-11-24 16:04:44 +00:00
Martin McKeaveney a92d54f9a7 user table and relationships complete 2020-11-24 14:04:14 +00:00
Martin McKeaveney b44b2cf881 fix windows url issue 2020-11-24 10:23:29 +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
Martin McKeaveney cee26fb0b6 map fulfilled promises 2020-11-23 16:42:28 +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
Martin McKeaveney 9823243c11 prevent one broken app from breaking your whole install 2020-11-23 15:34:23 +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
mike12345567 e96cd81f30 Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-23 11:00:19 +00:00
mike12345567 b2da94c490 initial work towards page refactor. 2020-11-20 17:47:13 +00:00
Michael Drury 342b310cd1 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 20:44:38 +00:00
Michael Drury 0d98f3b442 Another quick fix for apps to work again. 2020-11-19 20:42:49 +00:00
Michael Drury 7ac1c2198e Fixing issues thrown up by PR. 2020-11-19 20:31:11 +00:00
Michael Drury 4a74801a1a Linting. 2020-11-19 20:19: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
Andrew Kingston ef2eba0433 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 17:55:40 +00:00
mike12345567 b74d4dc473 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-19 16:58:54 +00:00
mike12345567 961a921a09 linting. 2020-11-19 16:56:23 +00:00
mike12345567 4997df919e Fixing issues with the application API, it utilised /api/:appId heavily which is a route that matches nearly everything. 2020-11-19 16:55:59 +00:00
Andrew Kingston aaa6aa4c72 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 13:56:51 +00:00
mike12345567 790d5718af Updates to routing to follow the new style of single tree with all the subpaths nested as the full path. 2020-11-19 13:39:17 +00:00
mike12345567 3cda7ca489 Creating a function for the client to be able to pull in client definition from API. 2020-11-18 18:24:12 +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
Andrew Kingston fef561ffe4 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +00:00
mike12345567 63f7641c9e linting. 2020-11-17 18:13:21 +00:00
mike12345567 3252b2d630 Finishing up routing structure, now available on /api/routing. 2020-11-17 18:12:21 +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
mike12345567 7f5c3a4688 Updating to have proper access control via an accessController and nearly ready to spit out the routing structure. 2020-11-16 18:04:44 +00:00
Martin McKeaveney e9e97101e9 v0.3.8 2020-11-16 13:54:26 +00:00
Martin McKeaveney b3730cd4f5 Merge pull request #860 from Budibase/linux-deb
Linux deb
2020-11-16 09:38:25 +00:00
Martin McKeaveney 3c46536bbb lint 2020-11-14 17:56:24 +00:00
Martin McKeaveney cd5f720617 remove unnecessary images 2020-11-14 17:51:37 +00:00
Martin McKeaveney a9cf06e357 linux deb package, builder icon and auto update support for linux 2020-11-14 17:43:52 +00:00
Michael Drury a423664f4c Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate. 2020-11-13 15:35:20 +00:00
Martin McKeaveney 193a8c312d Merge branch 'master' of github.com:Budibase/budibase into quota-errors 2020-11-13 13:07:52 +00:00
kevmodrome e9f3307864 adds non-working RichText component 2020-11-13 11:12:38 +01:00
Michael Drury be7febe49f Linting. 2020-11-12 17:43:17 +00:00
Michael Drury b6ea9440de Fixing test case. 2020-11-12 17:41:50 +00:00
mike12345567 6148128554 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
mike12345567 7cc0a9ca33 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into feature/backend-routing 2020-11-12 15:10:07 +00:00
mike12345567 7fcdf9c675 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-12 15:08:50 +00:00
Martin McKeaveney b355b8bad9 track quota errors in deployment 2020-11-12 12:58:05 +00:00
Martin McKeaveney 28360ded59 Merge pull request #855 from Budibase/server-render-index
Server render index page, simplify CSS bundling, refactor static asset compilation
2020-11-12 11:18:09 +00:00
Martin McKeaveney 1d98025291 lint 2020-11-12 10:45:05 +00:00
Martin McKeaveney 9e190ac1ec tidy up 2020-11-12 10:41:49 +00:00
Martin McKeaveney 13311ae680 JSDoc for static asset compilation 2020-11-12 10:36:15 +00:00
Martin McKeaveney 9b914e0395 remove squirrelly, compile a single bundle.css for each page, svelte and hbs server rendering 2020-11-12 10:25:25 +00:00
Michael Drury 1f4e27eb13 WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional. 2020-11-11 17:34:15 +00:00
Martin McKeaveney 2e6ed0bad9 v0.3.7 2020-11-10 20:23:36 +00:00
Martin McKeaveney ace53ee0f3 Merge pull request #851 from Budibase/turn-off-invalidation
remove cf invalidation, adding validation around successful deploys only
2020-11-10 19:55:43 +00:00
mike12345567 5b26fce1ea Starting work off towards routing of screens in backend, getting view ready and a bit of cleanup to make internal views easier to create. 2020-11-10 17:22:41 +00:00
Martin McKeaveney faf9fd4754 increasing log level in production 2020-11-10 17:16:40 +00:00
Martin McKeaveney 129d36ccfe remove cf invalidation, adding validation around successful deploys only 2020-11-10 17:08:02 +00:00
mike12345567 928c306769 Fixing #848 - standard components was not using the same API calls consistently which was breaking some things like charts. For now just make it consistent by updating it to make calls the same way as client lib does but the SDK will eventually replace all this and solve these problems. 2020-11-10 15:09:54 +00:00
mike12345567 f8f46b90e5 Fixing an issue where screens couldn't be deleted and fixing an issue where rows would still contain data from a column that no longer exists if a column was deleted from a table. 2020-11-10 13:59:46 +00:00
Martin McKeaveney 6d135fa965 Merge branch 'master' of github.com:Budibase/budibase into server-render-index 2020-11-09 20:18:37 +00:00
Martin McKeaveney 4c5c386a14 v0.3.6 2020-11-09 18:16:36 +00:00
Martin McKeaveney 1a273d9b05 v0.3.5 2020-11-09 16:28:06 +00:00
Martin McKeaveney 8cb716df3b start server render index.html 2020-11-09 15:24:29 +00:00
mike12345567 2467043f35 Improving consistency of how appId is retrieved and making sure it is valid when being used. 2020-11-09 14:38:29 +00:00
Martin McKeaveney 725e32fe8e v0.3.4 2020-11-09 11:08:41 +00:00
Martin McKeaveney b102559aff Merge pull request #834 from Budibase/bug/more-auth-fixes
More Auth bugfixes
2020-11-09 10:49:57 +00:00
Martin McKeaveney a9e60a8a57 prevent screen being selected when you save a component 2020-11-09 10:28:49 +00:00
mike12345567 f2e1f1f4e9 The API that the components library would use was not always consistent with the API client library would use and this would sometimes break things. 2020-11-09 09:42:35 +00:00
Martin McKeaveney 6e5cdb4828 v0.3.3 2020-11-06 21:40:31 +00:00
Martin McKeaveney 23d317955b Merge pull request #830 from Budibase/bug/electron-no-pathname
Fixing issue with Electron apps not being able to determine appId
2020-11-06 21:39:12 +00:00
mike12345567 ce12325b8c Fixing issues with auth not being able to find appId in pathname, using the currentapp cookie if pathname not populated. 2020-11-06 21:13:21 +00:00
Martin McKeaveney 8d3dd9694e Merge pull request #824 from Budibase/port-fixes
potential resolutions for the 4001 issue
2020-11-06 21:00:57 +00:00
Martin McKeaveney 127f0e6eb3 PR review 2020-11-06 18:00:25 +00:00
mike12345567 6d41a30440 Quick change, we had a replication statement for testing, should be removed for production and uncommented when needed. 2020-11-06 15:47:12 +00:00
Michael Drury bd65dd5992 Merge pull request #826 from Budibase/tidy-up-store
Pages and Screens to couch as well as general store tidy up
2020-11-06 14:54:54 +00:00
Martin McKeaveney f183b72023 remove superfluous files 2020-11-06 13:46:19 +00:00
Martin McKeaveney a8b5c3c255 small tidy ups 2020-11-06 13:40:00 +00:00
mike12345567 e353c2a1c4 Updating templates to be able to run locally with an environment variable LOCAL_TEMPLATES and making them work using the DB. Users are also no longer included in the db dump. 2020-11-06 12:30:30 +00:00
Martin McKeaveney 646a7ab072 v0.3.2 2020-11-06 11:39:44 +00:00
Martin McKeaveney cb25c31d17 potential resolutions for the 4001 issue 2020-11-05 22:09:49 +00:00
mike12345567 4d0771ac9e Fixing some bugs that have been found. 2020-11-05 14:38:44 +00:00
Martin McKeaveney bdfd80fc03 rename buildPage 2020-11-05 13:41:16 +00:00
mike12345567 0c8bd319f3 More cleanup, removing template app pages that were unused and fixing a bug with auth not being configured correctly when app created. 2020-11-05 12:43:03 +00:00
mike12345567 105d407ce8 Further updates to clear out all usage of the old frontend store functions. 2020-11-05 11:44:18 +00:00
Martin McKeaveney 1106026687 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney eeb6df894e feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00
Michael Drury 8b35abe25f Updating screens API to be prefixed with /api/screens 2020-11-04 14:05:11 +00:00
Michael Drury 8c6a97198f Main work to get screens into the DB, fixing up issue with async page updates not being handled in order. 2020-11-04 12:36:38 +00:00
Michael Drury 22cacbbdb3 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Michael Drury 7f3410204a Updates to pages so that they are written to DB and retrieved correctly. 2020-11-03 17:42:54 +00:00
Martin McKeaveney ea3162f329 screens in DB 2020-11-03 16:27:28 +00:00
Michael Drury 4f28bd9430 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Michael Drury 19bcecf9f3 Linting and fixing client test case, have to mock getAppId as the location will never be set during testing. 2020-11-03 14:30:20 +00:00
Michael Drury d8da28502e Removing appIds from tokens to reduce confusion. 2020-11-03 13:58:17 +00:00
Michael Drury ac73b5c4aa Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId. 2020-11-03 13:45:49 +00:00
Michael Drury 871e9b123e Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
mike12345567 a1fd261af6 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Michael Drury c89f73efc0 Some updates, still WIP. 2020-11-02 15:46:08 +00:00
Martin McKeaveney 4d388987c4 pages being stored in couch on initialisation and page save 2020-11-02 14:56:48 +00:00
Martin McKeaveney dc12752c6b started creating APIs for screens 2020-11-01 15:32:54 +00:00
mike12345567 d9025d1aa1 Getting rid of userInstanceMap, preparing for meat of auth update. 2020-10-30 17:12:06 +00:00