1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00
Commit graph

335 commits

Author SHA1 Message Date
mike12345567
c8ef404560 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
d2bd2209eb indexable fields 2021-02-08 20:54:55 +00:00
mike12345567
d9ca4f0eed Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +00:00
mike12345567
cd729192ea Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
Martin McKeaveney
2b74fd887b test 2021-02-06 12:31:12 +00:00
mike12345567
36edf3788f Further work, need to have a larger think about the API of this. 2021-02-05 18:46:15 +00:00
mike12345567
c7ed77381e Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-05 16:45:37 +00:00
mike12345567
d5293e299f 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
9f1c2cd602 Initial work towards rbac. 2021-02-05 15:58:25 +00:00
Martin McKeaveney
5b1a2f99d6 merge 2021-02-05 11:18:37 +00:00
Martin McKeaveney
6cb62f6625 fixing JSON and CSV import/export 2021-02-04 08:20:04 +00:00
Martin McKeaveney
184f30771c change backup to be appname 2021-02-03 13:28:11 +00:00
mike12345567
2d82969350 Some quick fixes to allow custom verbs. 2021-02-02 17:28:11 +00:00
mike12345567
b6bdd04ea8 Fixing test failure due to not deleting the ID attached to table in couchTest Utils. 2021-02-02 13:14:32 +00:00
mike12345567
5187639fa0 Linting. 2021-02-02 11:47:20 +00:00
mike12345567
e0ea434f27 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
4b5e572da3 internal search working 2021-02-01 21:02:54 +00:00
Michael Drury
b1127b718e
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
2b4c67039a
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
d0f389a5cb smoother downloads, lint 2021-01-29 21:52:45 +00:00
mike12345567
4d1ad5e726 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
Andrew Kingston
b4ccf9c1d2 Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
Martin McKeaveney
67624ebe94 import and export apps 2021-01-27 13:55:46 +00:00
Martin McKeaveney
476d20d656 simplify queries to only have one type under query verb 2021-01-22 12:22:28 +00:00
Martin McKeaveney
70a49088d0 merge 2021-01-18 14:43:26 +00:00
Martin McKeaveney
882823671a query and datasource unit tests 2021-01-14 20:51:03 +00:00
mike12345567
0c66d9fca4 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
45a02507f7 custom fields in queries 2021-01-13 14:11:53 +00:00
Martin McKeaveney
7a1212ff36 Add all CRUD ops to airtable integration 2021-01-12 17:45:43 +00:00
Martin McKeaveney
04eca5b663 further syntax highlighting updates 2021-01-12 16:49:11 +00:00
Martin McKeaveney
052b39d6ec readable to writable bindings 2021-01-12 10:28:41 +00:00
Martin McKeaveney
72ea05cc05 type safe schema validation 2021-01-11 21:01:21 +00:00
Martin McKeaveney
70e4b2514e merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney
391dabf7a1 direct airtable integration works 2021-01-11 17:18:22 +00:00
Martin McKeaveney
d710874ef1 binding data context in component 2021-01-08 18:22:03 +00:00
Martin McKeaveney
37ef32a173 switching between queries 2021-01-06 12:28:51 +00:00
Martin McKeaveney
0be3c722b8 allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Martin McKeaveney
63ad74b660 separation of datasources and queries 2020-12-18 18:19:43 +00:00
mike12345567
f63466f1d1 Updating deployment service, checking in builder the builder settings info stored in DB before deploying. 2020-12-15 17:27:45 +00:00
mike12345567
775f84b6dc 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
mike12345567
166bf153de 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
Martin McKeaveney
89615e58a7 merge 2020-12-12 20:09:04 +00:00
mike12345567
c3abc9fed4 Removing the static CSS bundling from the server as it is no longer required. 2020-12-09 12:30:21 +00:00
mike12345567
40d855df10 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
2928a379b0 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
Andrew Kingston
9054a8014a Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:16:53 +00:00
Andrew Kingston
d0f2d4c2cd Update user editing to support new email field 2020-12-08 11:43:37 +00:00
Andrew Kingston
1acdcd173c Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 11:42:29 +00:00
Martin McKeaveney
642437e5be
Merge branch 'master' into feature/page-refactor 2020-12-08 10:48:14 +00:00
Martin McKeaveney
efe50230e7 merge with master 2020-12-07 21:32:45 +00:00
Martin McKeaveney
1c40c3dbdd rename level to role in test 2020-12-07 21:28:16 +00:00
Martin McKeaveney
d8aa699bfa merge 2020-12-07 21:20:35 +00:00
Martin McKeaveney
2123c06df5 fix tests 2020-12-07 21:11:07 +00:00
Martin McKeaveney
0e837899a4 code review 2020-12-07 20:46:37 +00:00
mike12345567
e4ef92555c Merge branch 'username-email' of github.com:Budibase/budibase into feature/security-update 2020-12-07 18:08:20 +00:00
mike12345567
8a57f61607 Fixing test case and also making sure that external trigger does what its expected to. 2020-12-07 17:55:35 +00:00
mike12345567
bc9a8ef0e3 Updating test so that it doesn't chain. 2020-12-07 17:42:31 +00:00
Martin McKeaveney
d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +00:00
mike12345567
b65a554ede 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
65302e1dd9 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
mike12345567
c832ed36d4 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567
abe3bdabad Linting. 2020-12-02 13:21:13 +00:00
mike12345567
05d5feb9fd Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
mike12345567
fdd719aadb Quick update to allow deleting layouts if they are not currently in use. 2020-11-30 16:12:06 +00:00
mike12345567
5dbab658ad Adding to JOI the layoutId. 2020-11-30 11:19:22 +00:00
Martin McKeaveney
113c68e4c9 budibase postgres E2E working 2020-11-26 14:43:56 +00:00
mike12345567
d3759a4c10 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
5eec4d7a47 Creating CSS generation capabilities in the server. 2020-11-24 18:11:18 +00:00
mike12345567
90a8435641 Storing some work in commit, currently broken, further work needed - application needs cleaned up. 2020-11-23 14:07:18 +00:00
mike12345567
6a2812f4f4 initial work towards page refactor. 2020-11-20 17:47:13 +00:00
mike12345567
a9d5c3a5cb linting. 2020-11-19 16:56:23 +00:00
mike12345567
87528c8d55 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
mike12345567
1e9e46b8a5 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
48f0608c74 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
acdc1e9a56 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
Michael Drury
63b08e42aa 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
Michael Drury
e35817f5f3 Linting. 2020-11-12 17:43:17 +00:00
Michael Drury
0a73ab83db Fixing test case. 2020-11-12 17:41:50 +00:00
mike12345567
2472168477 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
Michael Drury
4852ecf96a 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
mike12345567
667052e0b4 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
3847c058dc rename buildPage 2020-11-05 13:41:16 +00:00
Martin McKeaveney
291e472765 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney
333844a1f0 feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00
Michael Drury
6bc184f0d6 Updating screens API to be prefixed with /api/screens 2020-11-04 14:05:11 +00:00
Michael Drury
c9a1bf1940 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
9e72e122b6 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Martin McKeaveney
3725a1782b screens in DB 2020-11-03 16:27:28 +00:00
Michael Drury
0cc837b220 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Michael Drury
215e1251bc Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
Michael Drury
98157f076f Some updates, still WIP. 2020-11-02 15:46:08 +00:00
Martin McKeaveney
74890b13c9 pages being stored in couch on initialisation and page save 2020-11-02 14:56:48 +00:00
mike12345567
d587bad363 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 2020-10-29 10:28:27 +00:00
mike12345567
b9f1babc0e Removing instance API as it was un-used and simplifying the nature of an instance. 2020-10-29 10:21:06 +00:00
Michael Drury
c2d2f9e183 Fixing test cases. 2020-10-28 22:37:58 +00:00
Michael Drury
c3a4111292 Some quick fixes. 2020-10-28 22:13:16 +00:00
mike12345567
d79be3c854 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 2020-10-28 20:35:06 +00:00
mike12345567
a967645a21 Some initial work towards webhooks, that generates schema similar to integromat. 2020-10-22 17:48:32 +01:00
Michael Drury
9fc1406c22
Merge pull request #776 from Budibase/version-complibrary
Version the components library
2020-10-22 09:14:07 +01:00
mike12345567
122c34e65c Adding validation to pages to protect against screen/page creation with no parameters. 2020-10-21 17:35:39 +01:00
mike12345567
012b290895 Adding a version to the app and then including this in user authentication, this for now is just the version of the builder/server that it was built with. 2020-10-21 15:28:30 +01:00
Martin McKeaveney
6f4b55c0f5 making deploy process async, adding local deployment history 2020-10-16 12:38:07 +01:00
Martin McKeaveney
202598a7fa fix unit tests 2020-10-15 21:47:20 +01:00
mike12345567
d90c1e3dd3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567
bb3370e742 Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
mike12345567
f2b7d85b6e Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
mike12345567
3a6a03403f Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-07 15:41:39 +01:00
Andrew Kingston
fd02f361f1 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
Michael Shanks
d9e53143d8 merge conflicts - from master 2020-10-06 21:43:54 +01:00
mike12345567
fc2e2a8804 First work towards implementing Dynamo usage in the server when running in the cloud; this is for tracking usage against API keys. 2020-10-06 19:13:41 +01:00
Michael Shanks
ca978b70c8 Merge branch 'master' into fixes 2020-10-05 21:17:01 +01:00
Michael Shanks
f3c941a023 broken tests 2020-10-05 20:58:07 +01:00
Michael Shanks
40e6d4c844 Coerse record fields, to be a bit more tolerant of data input 2020-10-05 17:28:23 +01:00
Martin McKeaveney
6f28374785 merge 2020-10-05 15:08:53 +01:00
Martin McKeaveney
f89aa4b403 adding nice loading states 2020-10-05 14:07:39 +01:00
mike12345567
e0dad53ad3 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-05 10:52:35 +01:00
mike12345567
672f5f8301 Merge branch 'master' of github.com:Budibase/budibase into remove-views 2020-10-05 10:04:23 +01:00
mike12345567
d6e260a873 Merge branch 'remove-views' of github.com:Budibase/budibase into linked-records 2020-10-02 17:02:37 +01:00
mike12345567
89d609bdae Fixing test case broken by automation save record -> create record. 2020-10-02 17:02:18 +01:00
Martin McKeaveney
cccc087727 merge 2020-10-02 16:45:59 +01:00
Martin McKeaveney
ecb4cff96f CSV Import end to end 2020-10-02 16:16:06 +01:00
mike12345567
6b222ffbf0 Merge branch 'remove-views' of github.com:Budibase/budibase into linked-records 2020-10-02 14:49:23 +01:00
mike12345567
e0e1cd7316 Some more test case fixes. 2020-10-02 13:04:44 +01:00
Martin McKeaveney
1fd749ce00 csv import functional 2020-10-01 14:48:07 +01:00
mike12345567
709cdb5ea9 Changing relationship system around a little, to not work with fieldNames anymore in the view and simplifying quite a few of the update systems. 2020-09-30 15:37:38 +01:00
Michael Shanks
838904d14e serve determines whether analytics are enabled 2020-09-29 16:23:34 +01:00
mike12345567
ecfca1dfab Adding routes for getting link records based on a record Id. 2020-09-29 12:02:06 +01:00
mike12345567
a76a7525e3 Update to make sure all linked record updates occur in sync with the API call. 2020-09-29 11:55:18 +01:00
Martin McKeaveney
e7c3afb7f1 CLI tool for exporting apps, tidy up 2020-09-29 10:32:42 +01:00
Martin McKeaveney
c2321797f1 async templates working from S3 2020-09-28 17:04:08 +01:00
Martin McKeaveney
408c814b26 Merge branch 'master' of github.com:Budibase/budibase into csv-export 2020-09-24 16:16:59 +01:00
Martin McKeaveney
9768a23ad4 merge 2020-09-24 15:52:09 +01:00
Martin McKeaveney
0c639bd1a2 providing ability to perform JSON and CSV export from popover 2020-09-23 23:56:26 +01:00
Martin McKeaveney
938f675922 abstract local file upload logic 2020-09-23 17:02:06 +01:00
mike12345567
4bf40a976d Adding re-triggering of test case to help with running test case in GH actions. 2020-09-23 16:35:34 +01:00
mike12345567
58f643bc30 Extending the possible time the test case can wait for the record to be updated into the database (automation trigger) and adding JSdocs to automation utilities as per PR suggestions. 2020-09-23 16:16:24 +01:00
Martin McKeaveney
f40f388dd8 local file upload from apps 2020-09-23 16:15:09 +01:00
mike12345567
d5112c82c6 Fixing delay as it was causing test case to be inconsistent (triggering automation) 2020-09-23 15:29:25 +01:00
mike12345567
e7be9dd698 Fixing issue with test case. 2020-09-23 15:16:14 +01:00
mike12345567
d6213912fd Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-22 12:00:54 +01:00
mike12345567
42d9dd26d9 Confirming suspicions about why a testcase is failing in GH actions only. 2020-09-22 09:50:16 +01:00
mike12345567
84372c0100 Adding to test case to retry looking for entries out of the triggered workflow in the case of slow machines. 2020-09-22 09:13:19 +01:00
mike12345567
5f2acaff01 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:01:00 +01:00
mike12345567
b2d06b7a06 Merge branch 'master' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 13:52:26 +01:00
mike12345567
88d22baf1a Renaming workflows -> automate/automations, throughout the API and the builder itself. 2020-09-21 13:49:34 +01:00
Martin McKeaveney
319fcabaa5 removing delete functionality - not necessary 2020-09-18 12:41:39 +01:00
Martin McKeaveney
5d3867558a merge with master 2020-09-17 16:40:09 +01:00
Martin McKeaveney
bb2058a010 lint 2020-09-17 16:36:39 +01:00
mike12345567
22ef6eb4d3 Some fixes after playing around with the new Builder UI. 2020-09-17 16:16:05 +01:00
mike12345567
dd0cffc226 Making the trigger endpoint detect if the trigger should have a model input and faking any properties that don't exist if required - this behaviour overridden by inputs from external client. 2020-09-17 15:14:08 +01:00