Commit Graph

905 Commits

Author SHA1 Message Date
Rory Powell 8fc60af820 Calculate total rows in migration, centralise quota enabled logic and tidy to use env vars only 2022-01-17 12:44:53 +00:00
Rory Powell a12a30c8ad Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-14 10:12:57 +00:00
Martin McKeaveney 4b6e88075d merge with master 2022-01-13 14:58:17 +01:00
mike12345567 bca8212d1d Merge branch 'develop' of github.com:Budibase/budibase into fix/sync-apps-reset-rows-quotas 2022-01-12 13:20:22 +00:00
mike12345567 97c6f3298a Removing use of direct package access. 2022-01-12 12:54:25 +00:00
mike12345567 5ee6aa24b2 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
Rory Powell e58bd14dcc Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-12 09:34:14 +00:00
Rory Powell 979313f966 Enable migration 2022-01-11 18:38:18 +00:00
Rory Powell 726315afde Sync app quota to correct number, reset and disable rows quota 2022-01-11 17:49:42 +00:00
mike12345567 37d0617ace Renaming some variables to core, fixing test cases that referenced auth directly. 2022-01-11 16:18:30 +00:00
mike12345567 b33523a73d Merge branch 'develop' of github.com:Budibase/budibase into feature/auth-core 2022-01-11 15:16:07 +00:00
mike12345567 1327394784 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
mike12345567 c75cc47ad3 Updating to handle prod vs dev apps and deletion of attachments, as well as handling it on update. 2022-01-06 18:45:40 +00:00
mike12345567 f1981220af Removing attachments when row is deleted (always, need to restrict if app is deployed). 2022-01-06 17:59:29 +00:00
Martin McKeaveney 4d77353692 adding minio URL to objectStoreUrl check 2021-12-31 13:28:52 +00:00
Andrew Kingston d06cc93757 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-15 13:36:10 +00:00
Andrew Kingston 7146b994ff Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-07 15:11:32 +00:00
mike12345567 99e2cd52e8 Adding stats, code, timings and size of request. 2021-12-06 18:23:18 +00:00
mike12345567 a6de5a4fa1 Exporting date and auto id field, but not importing autocolumns when table is created. 2021-12-02 16:17:10 +00:00
mike12345567 003b6424a2 Fixing issue with updating row validation to allow empty objects. 2021-11-29 17:54:09 +00:00
Michael Drury a726d158b8 Merge pull request #3338 from Budibase/feature/query-rbac-timeouts
Query RBAC, query and automation threading/timeouts
2021-11-17 11:39:09 +00:00
mike12345567 11debac115 Updating to manage completed events piling up, this will periodically clear out all events - repeats cannot be removed with the removeOnCompleted job option. 2021-11-16 18:58:24 +00:00
mike12345567 f13257bebe Updating the getAllApps function to use a cached version of the app metadata, rather than retrieving it individually everytime. Also invalidating the results everytime they are updated (at least in the important locations). 2021-11-15 17:40:45 +00:00
Michael Drury 0ac5c4713a Fixing test case (didn't provide a schema). 2021-11-12 20:23:00 +00:00
mike12345567 1d7fe369c6 Linting and updating csv parser test case to match new functionality. 2021-11-12 19:39:12 +00:00
mike12345567 d9d5391a40 Some UI work, as well as moving SQL to using a proper bulk insert method and fixing an issue found with csv parsing and removing of invalid columns. 2021-11-12 19:24:56 +00:00
mike12345567 af5e196b4c Adding all required controls for data import to internal tables, just need to implement external table data import. 2021-11-12 18:26:57 +00:00
mike12345567 5c8670c7f4 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-rbac-timeouts 2021-11-11 13:50:42 +00:00
mike12345567 dc8d0aa533 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-11 13:48:07 +00:00
mike12345567 cca28ce255 Adding worker controls to both automations and queries. 2021-11-11 12:11:09 +00:00
Martin McKeaveney 2a2963dac4 bust cache when app versions are different 2021-11-11 12:21:45 +01:00
mike12345567 781e8359a1 Adding worker-farm back to have a mechanism to run queries within which we can timeout. 2021-11-10 19:35:09 +00:00
mike12345567 94ee13ffc4 Adding the sync call from the worker for creation, updating and deletion of users. Making sure that production and development apps are always up to date with user metadata. 2021-11-04 14:53:03 +00:00
Michael Drury 3a5e004f36 Adding sync user endpoint to server which can be used by the worker. 2021-11-03 23:15:38 +00:00
Rory Powell ad61f2af3b Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Andrew Kingston 029b447ce7 Merge pull request #3042 from Budibase/fix/app-export-performance
Improve app export experience
2021-10-20 10:25:59 +01:00
Andrew Kingston d00f3f27fe Refactor app exports to allow a streaming realtime backup, and tidy up 2021-10-18 12:08:12 +01:00
Rory Powell a94becac9c Merge pull request #2975 from Budibase/no-access-role
No access role / public by default
2021-10-18 11:08:45 +01:00
Peter Clement 5cfaa17798 add check for missing _rev 2021-10-18 09:51:13 +01:00
Peter Clement eb957bc94f Potential fix for issues with updating and saving rows and columns 2021-10-17 21:23:30 +01:00
mike12345567 5b81d25d1a Fixing some issues which were causing errors during the cypress test runs, such as not redirect /api/system/ requests to the worker. 2021-10-14 16:25:07 +01:00
mike12345567 b46a945fc4 Adding the basics of the query transformers to the frontend and to the backend, as well as switching to vm2 for script running. 2021-10-12 18:45:13 +01:00
Rory Powell 8c67f3da13 No access role / public by default 2021-10-12 10:05:57 +01:00
mike12345567 183b6e7b50 Fixing issue with user's being logged in and trying to access other tenants public apps, this work makes sure that users from other tenants will not be 403'd immediately (too aggressive) but instead they will have all other their RBAC roles revoked. 2021-10-07 15:49:26 +01:00
Martin McKeaveney ab24e02941 UX improvements 2021-10-05 23:49:32 +01:00
Martin McKeaveney 4c59087904 templates working end to end 2021-10-05 23:02:28 +01:00
Rory Powell 380e3b4ccf Merge pull request #2882 from Budibase/honour-quota
Deny only when usage quota is exceeded
2021-10-04 16:47:53 +01:00
Rory Powell c3a95d6c03 Deny only when usage quota is exceeded 2021-10-04 14:07:10 +01:00
mike12345567 c82c9df522 Fixing issue with direct app request in self host not working when un-authenticated (doesn't re-direct to login). 2021-10-04 13:31:53 +01:00
Michael Drury 5a203d7b7d Merge pull request #2847 from Budibase/fix/2665
Fix created by/updated by auto columns breaking public forms
2021-10-01 15:16:22 +01:00
mike12345567 8decbc20d5 Fixing issue with created by/updated by on public forms, also fixing a small issue with analytics ping generating a 404. 2021-10-01 15:00:11 +01:00
mike12345567 be09410cae Quick fix for worker, API key was not considered good enough to access worker, updated this and added better error to smtp action. 2021-10-01 13:29:08 +01:00
mike12345567 d282cd030f Some fixes after testing and adding some basic work to the frontend. 2021-09-28 18:05:52 +01:00
mike12345567 a83b9835b2 Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-28 11:23:03 +01:00
mike12345567 9f0d8a91b7 Putting together cloud export and import functionality, still need to test, but basic concept there. 2021-09-27 19:12:41 +01:00
Martin McKeaveney 1e3fca15c5 abstract usagedoc creation into auth, create the doc if it doesn't exist 2021-09-27 17:35:22 +01:00
Martin McKeaveney bd1f6752ff merge with develop 2021-09-27 16:37:55 +01:00
Martin McKeaveney 2da28ecc71 prevent SMTP fallback for automations 2021-09-27 16:28:39 +01:00
Michael Drury a9823062d4 Merge pull request #2729 from Budibase/fix/no-perms-hierarchy
Removing the concept of permissions hierarchy from backend for resources
2021-09-27 15:15:31 +01:00
Martin McKeaveney 5b4bf74e2c re-adding env var controls for cloud limit functionality 2021-09-27 15:03:48 +01:00
Martin McKeaveney 35d4eac78a fallback SMTP configuration for cloud 2021-09-27 14:57:22 +01:00
mike12345567 009f30b5cc Removing useless statement. 2021-09-27 12:17:59 +01:00
mike12345567 32bdc4a991 Minimal fix for issue involving JSON views and newlines with postgres, this fix couldn't be more over-arching as it risked breaking new lines across the board. Have included a script for setting up the test scenario as well. This fixes issue #2612. 2021-09-24 18:10:30 +01:00
Martin McKeaveney 83384faed8 remove old middleware 2021-09-23 23:26:09 +01:00
Martin McKeaveney c49b88b57a automation runs quotas 2021-09-23 23:25:25 +01:00
Martin McKeaveney 4a2028c354 usageQuota middleware writing to couch 2021-09-23 22:40:14 +01:00
mike12345567 e47bf71e6c Getting rid of the concept of permissions hierarchy, roles still have a hierarchy and base permissions still follow the old system, but resources can be given a stack of separate permissions which don't override each other. 2021-09-23 19:04:53 +01:00
Michael Drury f45c780d99 Merge pull request #2698 from Budibase/feature/view-cloud-replacement
Cloud View replacement
2021-09-22 18:21:38 +01:00
Martin McKeaveney e2ed2e8b56 merge from master 2021-09-21 21:42:52 +01:00
mike12345567 c8dbf02acf Performance improvements after testing - switching to temporary in memory queries for cloud views. 2021-09-21 15:59:50 +01:00
Martin McKeaveney f9d368f021 only write to backups bucket in self host 2021-09-21 14:36:30 +01:00
mike12345567 cf5b7b1a99 Fixing issues with automation steps found during testing. 2021-09-20 19:21:04 +01:00
mike12345567 0ff5fd1ef0 Adding functionality so that when an automation trigger is deleted its test inputs will also be deleted. 2021-09-13 18:03:09 +01:00
mike12345567 a92530f170 Fixing issue #2412 - making sure full enriched records are passed along to automations. 2021-09-13 16:28:52 +01:00
mike12345567 3eeb7c27b8 Introducing the concept of flagging an automation as 'in test' which means it can run with triggers and everything as it normally would in development. 2021-09-10 14:37:34 +01:00
mike12345567 84cdec5907 Adding some basic test cases for the metadata API, testing that automation tests do store history. 2021-09-10 13:52:41 +01:00
mike12345567 a366ab80e1 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-rework 2021-09-09 16:33:41 +01:00
mike12345567 557bd2df9f Adding metadata system and re-writing how Cron works, previously cron only worked in dev because it would never be enabled for the production app ID, this makes it so that it is never enabled for the dev app and when the production app is deployed it runs through all the automations and checks if any need cron jobs setup/disabled. 2021-09-08 19:29:28 +01:00
Andrew Kingston d371344d9b Fix test for loading component library 2021-09-07 10:05:24 +01:00
Andrew Kingston 3c3a69318f Remove some other reference to standard-components 2021-09-06 18:45:39 +01:00
Andrew Kingston d607f7b25b Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-06 17:29:51 +01:00
mike12345567 a3cffa8905 Getting rid of automation step download system. 2021-09-03 17:36:00 +01:00
mike12345567 8c3eb30ab1 Fixing issues after upgrading to node 14 and circular dependencies causing issues. 2021-09-02 18:33:41 +01:00
mike12345567 2148bf6da4 Fixing issues with search endpoint not handling users fully. 2021-09-02 17:13:00 +01:00
Andrew Kingston 047cd4ea88 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Peter Clement 544dd4ef1d Merge remote-tracking branch 'origin/develop' into multi-option-datatype 2021-08-26 14:38:05 +01:00
Peter Clement 17438372d0 Add ability for user to select 'List' data type for a column 2021-08-19 16:54:44 +01:00
Martin McKeaveney a248084c56 budibase kubernetes support 2021-08-16 11:42:21 +01:00
mike12345567 a7ba02620d Linting. 2021-08-06 13:11:41 +01:00
mike12345567 bc84bab52c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-06 13:04:54 +01:00
Martin McKeaveney c2e80b0b63 Merge branch 'master' of github.com:Budibase/budibase 2021-08-05 17:04:26 +01:00
Martin McKeaveney 0b3c04d71c lint 2021-08-05 16:57:23 +01:00
Martin McKeaveney 05ec5dc70c Merge pull request #2260 from Budibase/fix/views-2209
Formulas and relationships in views
2021-08-05 16:43:59 +01:00
Martin McKeaveney 02a99f32cb updating attachment relative path so it works in all envs 2021-08-05 16:40:39 +01:00
mike12345567 83462a0eee Fixing merge issues. 2021-08-05 10:52:34 +01:00
mike12345567 f8599e1352 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-05 10:38:41 +01:00
mike12345567 46ea3f3e9e Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 4834b765be, reversing
changes made to 2456e69483.
2021-08-05 09:59:08 +01:00
Martin McKeaveney 10e8df1fe7 Update budibase CDN link 2021-08-04 19:56:51 +01:00
mike12345567 daed47a0a8 Fix #2209 - views, calculations and group by can't support formula or link fields, making sure these aren't options in the UI. Also fixing an issue where formula values were being saved to DB. 2021-08-04 15:22:41 +01:00
Michael Drury b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567 e7974f7e86 Implementing some changes to how context gets set for tenancy, after testing, as well as updating server. 2021-08-03 15:32:25 +01:00
mike12345567 7743384f77 re-write, to use the ideas that Rory put in place, still WIP, un-tested but all implemented. 2021-08-02 18:34:43 +01:00
mike12345567 7588bfde39 Adjusting how redis modules are loaded, making sure client is always set, before init. 2021-07-23 16:53:22 +01:00
mike12345567 4160d63b2d Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:10:59 +01:00
mike12345567 fa3cf585d7 Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
mike12345567 27b2a13817 Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
mike12345567 e56a0f5aa3 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
mike12345567 f3156fca06 Further work, tenancy now working but some more work to be done. 2021-07-16 18:04:49 +01:00
mike12345567 912659a8ad First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Martin McKeaveney bebfe4c6e1 merge with master 2021-07-11 18:07:46 +01:00
Kyle Harrison 2d451bb3a9 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Andrew Kingston aa2691a452 Merge pull request #1953 from Budibase/client-feature-flags
Client library updating and client library feature awareness
2021-07-09 16:52:45 +01:00
Andrew Kingston 4112049a17 Remove log statement, batch uploads and remove unecessary conditional 2021-07-09 16:42:09 +01:00
Andrew Kingston 60987e3d5c Remove leftover code from testing 2021-07-09 12:42:48 +01:00
Andrew Kingston ef4a0f8c79 Bundle latest client library with the server and use it when updating apps in production 2021-07-09 12:33:09 +01:00
Andrew Kingston 0ce553eaf2 Add endpoint to revert client app version 2021-07-08 12:56:54 +01:00
mike12345567 93cc9530ed Merge branch 'develop' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:17:16 +01:00
Andrew Kingston 0a44b1e3d8 Add client libary update management from inside the builder 2021-07-07 17:07:42 +01:00
Andrew Kingston 82c00e6757 Only clean up app tmp dir if it exists during testing 2021-07-07 09:34:40 +01:00
Martin McKeaveney 13517d5298 make logged in users basic by default, prevent allowing users to be assigned as default in the UI 2021-07-06 18:43:04 +01:00
mike12345567 b847f85d91 WIP - first version of user sessions. 2021-07-06 18:10:04 +01:00
mike12345567 0141a5a64c Fix for #1794 - updating csv validators and parsers for date and numbers to allow attribute to not be present. 2021-06-22 14:43:57 +01:00
mike12345567 c531a02725 Allowing formula fields to be display columns. 2021-06-22 11:49:35 +01:00
mike12345567 b0bb2a23db Fix for #1710 - don't allow setting setting info from within apps and making the user portal a bit more clear about builders being global admins. 2021-06-14 15:23:24 +01:00
mike12345567 72c3ff8c2e Formatting. 2021-06-08 18:06:56 +01:00
mike12345567 fe66c3535c Fixing a collection of issues, specifically users being exported/imported and issues with database import causing weirdness (metadata doc being wrong). 2021-06-08 18:06:16 +01:00
mike12345567 b05c67e8b5 Formatting. 2021-06-08 16:11:46 +01:00
mike12345567 33184be064 Re-writing how global users are handled in server, specifically how they are retrieved, so that for relationships it can handle the global user. 2021-06-08 16:06:30 +01:00
Andrew Kingston b1398340f5 Merge pull request #1620 from Budibase/lab-day-plausible
Lab day work (better searching for external data sources, date range component, fixes)
2021-06-07 09:47:10 +01:00
mike12345567 fe4fcad77c Fixing issue with builder not always having the correct roles to view an app - global builders are now admins in all apps. 2021-06-04 12:13:29 +01:00
Martin McKeaveney ca6735a11a set content type on client lib upload 2021-06-03 21:33:44 +01:00
Andrew Kingston 256f6ab065 Merge branch 'master' of github.com:Budibase/budibase into lab-day-plausible 2021-06-02 11:39:41 +01:00
Martin McKeaveney edfc23454d Merge branch 'master' of https://github.com/Budibase/budibase into lab-day-2705 2021-06-01 19:24:24 +01:00
mike12345567 522ed9706c Formatting. 2021-06-01 16:02:20 +01:00
mike12345567 c81a8ba3ed Fixing issue with roles not being added correctly to global users and cleaning up roles when an app is deleted. 2021-06-01 15:58:40 +01:00
Andrew Kingston b375c525be Merge branch 'master' of github.com:Budibase/budibase into lab-day-plausible 2021-06-01 15:16:09 +01:00
mike12345567 9b7cbc9d01 Formatting. 2021-05-28 19:55:01 +01:00
mike12345567 dfd1815041 Fixing an issue with page not loading. 2021-05-28 18:54:30 +01:00
mike12345567 544f6a26ef Fixing bug. 2021-05-28 12:05:03 +01:00
mike12345567 6416d7f197 Making sure certain fields aren't cleansed. 2021-05-28 12:04:15 +01:00
mike12345567 70019b9b74 Cleansing input rows against the table schema. 2021-05-28 11:59:04 +01:00
Martin McKeaveney 0c90f9ffc5 adding watchtower to docker config 2021-05-28 10:09:32 +01:00
mike12345567 aab11fa932 Updating permissions to allow roles other than builder/admin to use apps properly. 2021-05-27 14:53:41 +01:00
Martin McKeaveney 064f1e961b sanitizing client lib URL 2021-05-24 21:30:46 +01:00
Martin McKeaveney 39fb5f9b78 removed node modules upload call 2021-05-24 19:54:00 +01:00
Martin McKeaveney 1b920a2f16 remove public folder concept, upload client lib directly 2021-05-24 19:49:34 +01:00
mike12345567 ab4e880807 Fixing issue with redis updates in tests. 2021-05-24 17:05:46 +01:00
mike12345567 a54b582e0d Updating UI to use the updated at. 2021-05-21 14:38:58 +01:00
mike12345567 6ccec1632a Adding a debounced updated at timestamp to applications. 2021-05-21 13:07:10 +01:00
Martin McKeaveney e28a5e98ab fix lint 2021-05-20 13:09:02 +01:00
mike12345567 3437f620d6 Fixing automation test case. 2021-05-20 12:07:07 +01:00
mike12345567 7d3169e5e1 Formatting. 2021-05-19 16:24:50 +01:00
mike12345567 4e9097862d Updating user test cases. 2021-05-19 16:24:20 +01:00
mike12345567 d62280ae83 Merge branch 'next' of github.com:Budibase/budibase into user-app-list 2021-05-19 15:58:17 +01:00
mike12345567 c6f7f115b5 Fixing issues with the user table within the apps. 2021-05-19 15:55:00 +01:00
mike12345567 0bbd45b413 Adding the ability to get all apps, with the status attached. 2021-05-19 15:09:57 +01:00
mike12345567 d40fb215f9 Adding the ability to create options based on CSV, this will use the import data to create options. 2021-05-18 22:14:27 +01:00
Martin McKeaveney d9ed0686ab Merge pull request #1496 from Budibase/feature/draft-apps
Feature/draft apps
2021-05-18 11:25:51 +01:00
mike12345567 17504443df Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-17 14:24:36 +01:00
mike12345567 277ceb3ad1 Updating role system to never think about the dev app. 2021-05-17 14:20:19 +01:00
Martin McKeaveney fc7ddbe540 merge 2021-05-16 21:29:07 +01:00
Martin McKeaveney 0f2bcf581d revert functionality working 2021-05-16 21:25:37 +01:00
mike12345567 a61edd8124 Formatting. 2021-05-14 16:32:51 +01:00
mike12345567 c947199558 Adding administration roles API. 2021-05-14 16:31:07 +01:00
mike12345567 cea82f9335 A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
Andrew Kingston 1a729aca91 Remove sorting by auto ID when output processing rows 2021-05-13 15:35:54 +01:00
mike12345567 6056b8bb61 Fixing issues with redis keys, however still not removing lock. 2021-05-13 14:34:04 +01:00
mike12345567 b5d23b19ff Fixing forgotten id access. 2021-05-13 14:24:55 +01:00
mike12345567 9f09c76cce Fixing userId storage to redis and making sure lockedBy property never stored. 2021-05-13 14:17:04 +01:00
mike12345567 5df453d2a3 Updating locks to store the whole global user as well as implementing the locks on dev apps fetch. 2021-05-13 12:16:09 +01:00
mike12345567 3ad1e9a5b2 Formatting. 2021-05-12 17:43:29 +01:00
mike12345567 2021c59dd9 Putting together redis lock system. 2021-05-12 17:37:09 +01:00
mike12345567 13b1e78ee2 Merge branch 'next' of github.com:Budibase/budibase into feature/draft-apps 2021-05-12 12:49:42 +01:00
mike12345567 2ec6b15e56 General cleanup, doing away with the concept of hosting in the builder and the generally confusing difference between cloud, self hosting and running locally - server is simply always a server now. 2021-05-11 17:49:26 +01:00
mike12345567 8e1f18e456 Changing INTERNAL_KEY to INTERNAL_API_KEY. 2021-05-11 15:23:03 +01:00
mike12345567 0aabcf5a47 Merge branch 'smtp-configuration' of github.com:Budibase/budibase into smtp-configuration 2021-05-11 15:09:22 +01:00
mike12345567 92cc0bc7cd Updating to support SMTP email automation action, as well as some general work around from and subject which previously we'ren't fully implemented. 2021-05-11 15:08:59 +01:00
Martin McKeaveney 6a688c7aad merge 2021-05-11 14:58:55 +01:00
mike12345567 7736869148 Some updates, working towards supporting automation send smtp email also removing the styling template, adding to base. 2021-05-11 12:02:29 +01:00
mike12345567 77b4b206f7 Other minor fixes after doing some initial setup testing. 2021-05-10 13:18:05 +01:00
mike12345567 d517ca1ac9 Fixing issue with object store functions not being mockable in the server. 2021-05-07 14:27:46 +01:00
Michael Drury 5006ca90c4 Some general backend cleanup. moving packages around, removing some traces of electron, and prepping for standardised object store library. 2021-05-06 19:27:24 +01:00
mike12345567 e5f3b3956c Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
mike12345567 dcf69b2181 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 a14c80bf6c Adding handlebars formulas to the system, it is now possible to set a formula at a column level which will always be applied on the way out with a relationship depth of one. 2021-04-29 19:06:58 +01:00
Andrew Kingston 9c903feed0 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
mike12345567 b4c8bf81f7 Swapping over everything to use the new user ID and updating everything after some end to end testing. 2021-04-20 17:17:44 +01:00
mike12345567 eaa89c824e Updating the server to remove use of the email in the user ID. 2021-04-19 16:26:33 +01:00
Martin McKeaveney d27609de40 default user 2021-04-15 23:14:10 +01:00
mike12345567 9af9761753 Some changes to initial login form, improvements based on testing and attempts to fix cypress test failures. 2021-04-15 15:57:55 +01:00
mike12345567 c7171d0303 Linting. 2021-04-14 16:44:10 +01:00
mike12345567 dc20151c19 Some more server-side fixes, updating it so that builders have permissions to do anything for now (means that a builder user doesn't have to be present in app database to work. 2021-04-14 16:00:58 +01:00
mike12345567 105e1cc16f Getting most of the test auth working, adding in global builder configuration. 2021-04-13 18:12:35 +01:00
mike12345567 ad626d3e47 Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management 2021-04-13 17:12:09 +01:00
mike12345567 a1227c5819 Removing the lookup of _id in usage quota when in dev/self host for performance reasons as part of usage quota, re-writing some bits of fetch self for cleaner implementation, fixing some issues with updating/saving users from within app. 2021-04-13 17:11:55 +01:00
Martin McKeaveney a68227735c ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +01:00
Martin McKeaveney d72a6dc8df currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney 3226ee90e2 Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
mike12345567 eaad867780 Some work towards implementing the current app cookie, removing some old dead code and re-working some of the different middlewares involved. 2021-04-12 18:31:58 +01:00
mike12345567 0e583eb185 Updating fetch self to get the global user as well as local metadata. 2021-04-12 15:54:14 +01:00
Martin McKeaveney dd0b4baef5 in progress - currentapp token 2021-04-12 12:02:28 +01:00
mike12345567 4f71e11c94 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567 3214abb89a Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567 30a7303762 Updating to make sure a relative URL is always used for attachments. 2021-04-09 13:49:16 +01:00
mike12345567 d508b905be Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
mike12345567 b737aa673d Merge branch 'dev-experience' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:22 +01:00
mike12345567 852ecd840c Fixing an issue with group by views. 2021-04-07 13:08:28 +01:00
Andrew Kingston 99258da2df Add commonJS fields to package.json for client and standard components so the server can require them 2021-04-07 11:31:19 +01:00
Andrew Kingston 1ca48a1602 Use node_modules to fetch component manifest in test env 2021-04-07 11:16:48 +01:00
mike12345567 74aa94fac6 Fixing issue with node modules path. 2021-04-01 16:36:27 +01:00
mike12345567 4f589a8b49 Fixing an issue with server still expecting tmp directory to be created externally and updating component library to not cache with require in dev. 2021-04-01 16:28:51 +01:00
mike12345567 2f03b758a9 Fixing node modules path. 2021-04-01 16:22:44 +01:00
mike12345567 751607f72e Updating standard components to make use of the development version in node_modules. 2021-04-01 16:19:31 +01:00
mike12345567 95efc26839 Some refactoring of utilities and constants, as well as documenting work carried out here. 2021-04-01 14:11:58 +01:00
mike12345567 de694ff338 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
mike12345567 ae8dd1ec78 Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth. 2021-03-29 17:32:05 +01:00
mike12345567 b97071bf82 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567 415b48856f Fixing an issue with bucket creation, sometimes many calls will be made at once for checking bucket exists, just manage this by storing the state of promise. 2021-03-25 19:22:08 +00:00
mike12345567 b70ff24dac Some further work to make sure all use of the budibaseAppsDir is removed in important places. 2021-03-25 18:03:58 +00:00
mike12345567 8d23152562 Attempting to solve component library issue permanently in test. 2021-03-25 15:19:41 +00:00
mike12345567 d5154a1ed9 Some cleanup fixes for tests that makes sure temp directory isn't getting out of control. 2021-03-25 14:46:32 +00:00
mike12345567 6919057320 Fixing cypress test issues. 2021-03-25 13:32:05 +00:00
mike12345567 ed01d2463e Updating system for hosting error that blocked creating apps when server not configured correctly. 2021-03-25 12:53:43 +00:00
Martin McKeaveney 4d141d8ba8 merge 2021-03-24 20:44:52 +00:00
mike12345567 c91f21f8e2 Fixing an issue with attachments. 2021-03-24 18:31:13 +00:00
mike12345567 d66af9f151 Getting rid of the CLOUD environment variable, this makes no sense anymore, now there is isDev() and isProd() which will work out the current state of the cluster. 2021-03-24 18:21:23 +00:00
mike12345567 ff993db223 Adding a self host clause around minio aws config. 2021-03-24 12:55:29 +00:00
mike12345567 9c0a4ab4fb Some changes after testing, needed to update object store client creation. 2021-03-24 12:54:59 +00:00
mike12345567 1a878c3e08 Fixing some test cases that were affected by file system refactor. 2021-03-23 18:04:53 +00:00
mike12345567 34918013cb Main work of file system refactor now complete, ready to test more fully - most test cases passing, need to look through them more thoroughly and make sure everything still makes sense. 2021-03-23 17:54:02 +00:00
mike12345567 00344b3b39 Some changes to how environment is loaded to make the init process by default flesh out some good settings. 2021-03-23 15:37:11 +00:00
Martin McKeaveney 90228e3334 simplify try catch in manage script 2021-03-23 11:01:33 +00:00
mike12345567 36c20b2498 Updating some of the deployment/uploading mechanism purely to remove file system, all of this will go anyway but some of it was used to handle file uploads (attachments) to object store so needed to convert it a bit 2021-03-22 18:06:10 +00:00
mike12345567 78eb00b39d Merge branch 'single-stack-dev' of github.com:Budibase/budibase into feature/fs-removal 2021-03-22 17:20:07 +00:00
mike12345567 14586cd124 moving some test cases to not use file system and re-introducing the image processor. 2021-03-22 17:19:45 +00:00
mike12345567 fca242b9ee Updating API keys and changing over system to allow use of builder endpoints when running in cloud. 2021-03-22 16:39:11 +00:00
Martin McKeaveney 6742c3ca99 basic single stack dev setup 2021-03-22 15:43:26 +00:00
mike12345567 c49637db47 Work in progress, have refactored the templating system to remove local templates, application and template system now work through minio with no file access. 2021-03-19 19:07:47 +00:00
mike12345567 b765502d74 Working on moving file system access around, starting by centralising it then working out what needs to be moved to object store and how. 2021-03-19 14:43:41 +00:00
mike12345567 ef5049ccc7 Merge branch 'master' of github.com:Budibase/budibase into tests/automation-tests 2021-03-15 20:44:54 +00:00
mike12345567 60841d1b1f Removing unused code that was causing some issues with API key lookup and validation in self hosted setups. 2021-03-15 20:43:08 +00:00
mike12345567 d5ec1b3167 Removing un-used code and removing some files from coverage that aren't of consequence. 2021-03-15 17:14:56 +00:00
mike12345567 799168c6b8 Adding in all the automation step tests, beginning work on the general automation tests. 2021-03-12 15:32:16 +00:00
mike12345567 dd16c84ecd Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +00:00
mike12345567 33fa31aae9 Adding test cases for component, templates and hosting as well as updating some existing test cases. 2021-03-09 16:07:44 +00:00
mike12345567 bd00138bed Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567 68bb5d5062 Updating package.json to include an option for coverage, had to re-write some stuff to make sure that views were not getting coverage statements inserted (breaking things). 2021-03-02 17:13:11 +00:00
mike12345567 acba31d29d Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567 229498332e Two character change, some API calls with sub resources and primary resources weren't working, should allow either the sub resource or the main resource to trigger allowance. 2021-02-26 10:06:02 +00:00
mike12345567 641fd42686 Fixing coercion of null to empty string for options fields. 2021-02-25 11:26:28 +00:00
mike12345567 468ee7ac0c Fixing an issue with option fields not being unselectable. 2021-02-25 11:09:00 +00:00
mike12345567 91878ed2ce Having the server send out _id and primaryDisplay in an object for relationships, also accepting objects and coercing them on way in. 2021-02-25 09:41:04 +00:00
mike12345567 73636d8f78 Copying the table on way in so that after function call the input table can be copied to output table to decide whether to save. 2021-02-24 17:59:55 +00:00
mike12345567 fa6d3e5e63 Updating the self auth endpoint to use the row processor. 2021-02-19 10:32:24 +00:00
mike12345567 f080fa6537 Some major performance optimisations, found that db.find is not fast unless its indexed, there is also no point in indexing for our internal relationship searching, however we can use the allDocs call. This will likely be slow for very large calls (say 100K records) but for these sort of calls we really need to paginate anyway. 2021-02-18 13:38:57 +00:00
mike12345567 5fab1529ec work in progress, enriching in the display names. 2021-02-17 18:04:21 +00:00
mike12345567 a93eb180ce Starting with some work towards a deeper enrichment of rows. 2021-02-17 17:09:59 +00:00
mike12345567 d294ffbb3b Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-17 15:20:14 +00:00
mike12345567 9b59b47d9e Fixing issue #1050 - two issues found, one with running automations in self host throwing an error when trying to access cloud resources (Dynamo) and secondly the worker pool does not have access to resources in the main server instance, therefore need to re-init when running an external action (get manifest, to download the package). 2021-02-17 13:40:14 +00:00
mike12345567 4ccd46e2a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-16 16:38:11 +00:00
mike12345567 113de64833 Some further UI work for auto-columns. 2021-02-16 13:56:40 +00:00
mike12345567 1a2b9bbef4 Removing unused stuff. 2021-02-15 18:41:26 +00:00
mike12345567 4b1855974c Work in progress, getting the server backend mostly ready for this work. 2021-02-15 17:47:14 +00:00
mike12345567 8bf10544c2 Fixing test case. 2021-02-12 20:41:30 +00:00
mike12345567 4f1a0ac645 Fixing an issue with RBAC, there was a mutable issue where a server builtin resource was getting updated, fixed this by not exposing the mutable structure, instead exposing a function which provides a new object everytime. 2021-02-12 20:34:54 +00:00
mike12345567 6bc9123a86 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
mike12345567 f266129489 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
mike12345567 1a8fe9b02c Some more fixes for RBAC as well as fixing the duplication of roles. 2021-02-12 12:02:07 +00:00
mike12345567 a1075881a6 Linting. 2021-02-12 09:55:37 +00:00
mike12345567 9ea0456248 Flipping RBAC implementation to use levels -> role for resource perms API and resource -> level -> role for full fetch (please note full fetch will only work for resources that have a custom permission in the system somewhere, everything else simply defaults to standard. 2021-02-11 18:13:09 +00:00
mike12345567 a2ce35b2f6 Fixing minor issue with switch to level -> roleID. 2021-02-11 13:38:07 +00:00
mike12345567 6c4c70e62b Some updates to RBAC backend, try to make switch to object support level -> roleID. 2021-02-11 13:29:15 +00:00
mike12345567 c3840d8017 Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
mike12345567 1abc4dd1f7 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
Andrew Kingston 56d8a27286 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
mike12345567 ca20cbeeca First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567 feb7e2756f WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
mike12345567 182d720051 Fixing a minor issue with self hosting deployment/app creation. 2021-02-09 17:43:22 +00:00
mike12345567 821de55363 Adding basic permissions test which proves a public user can read from a table, but cannot write. 2021-02-09 17:24:36 +00:00
mike12345567 cc02397b01 Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case. 2021-02-09 13:01:45 +00:00
mike12345567 c0aaaf0046 Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +00:00
mike12345567 7a65a59c78 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
mike12345567 a55d836c33 Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
mike12345567 5f582dd1dc Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567 45b65c6a11 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
mike12345567 c9690f730c Added some unit tests for the enrichment process of rows, in the process found some issues with linking a table to itself, so fixed those so that we can do that in the future if desired. 2021-02-02 11:46:10 +00:00
Michael Drury 4a8bc72888 Merge pull request #1049 from Budibase/feature/selfhosting-info
Quick update to self hosting to make next steps clear
2021-02-01 13:24:50 +00:00
Martin McKeaveney 675e374323 smoother downloads, lint 2021-01-29 21:52:45 +00:00
Martin McKeaveney 94ef16075a copy even users to dump 2021-01-29 17:17:13 +00:00
mike12345567 13fe937e67 This commit includes some fixes for a few auth issues I found when I was working on this and a static page which shows the self hosting info to get the user going (if they end up there). 2021-01-28 18:30:59 +00:00
Martin McKeaveney 9f8c9fa810 import and export apps 2021-01-27 13:55:46 +00:00
mike12345567 3dd985cfb6 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
mike12345567 ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
mike12345567 5a7c0de397 Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
mike12345567 329b76590c Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
mike12345567 419c6b9393 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00
Martin McKeaveney 53db6e05f9 merge 2021-01-18 14:43:26 +00:00
mike12345567 cdef4ead8c Removing mention of mustache from the server package. 2021-01-15 14:38:10 +00:00
Martin McKeaveney a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
mike12345567 a9f36d1a42 Adding some fixes for general settings menu not respecting non-deployed apps fully. 2021-01-14 17:52:49 +00:00
mike12345567 16a25a7cff When self hosting it is now possible to use a pretty URL to access the app rather than the normal appId. 2021-01-14 17:01:31 +00:00
Michael Shanks fbb4fd482f Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Martin McKeaveney f7383f37da type safe schema validation 2021-01-11 21:01:21 +00:00
Martin McKeaveney a48869a2f0 merge 2021-01-11 20:29:33 +00:00
mike12345567 210897b909 This simply removes the self hosting logo URL feature as it doesn't really make sense, screen/layout templates are held in the builder codebase and therefore controlling the logo from the server isn't really possible. 2021-01-11 18:09:43 +00:00
Michael Shanks a878d7eb40 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
mike12345567 882cfa700b Updating worker to support using a self host key, a basic level of security, stopping builder from asking for API key if currently configured for self hosting, made the default values for self hosting make sense for a basic local installation, this should be final. 2021-01-06 16:58:29 +00:00
Martin McKeaveney d7a0d29b03 switching between queries 2021-01-06 12:28:51 +00:00
mike12345567 287bcd01d2 Fixing up settings to only take the one URL now, the main hosting URL. 2021-01-06 10:59:10 +00:00
mike12345567 207415a932 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-22 16:24:34 +00:00
mike12345567 31bc45985f Update after testing, it is now possible to make a deployment to a self hosted environment. Some work still required, better authentication around MINIO deployment, currently the bucket is set to public read and there is no signing/verification to the upload process, also right now four different URLs are needed for the builder to connect correctly, ideally this shouldn't be the case. 2020-12-18 12:54:20 +00:00
kevmodrome b6974cba08 update test snapshot 2020-12-18 11:29:26 +01:00
kevmodrome 67d98119b5 updates test 2020-12-18 11:20:25 +01:00
kevmodrome b3497d3846 fixes encoding issue of file to work with non-english chars 2020-12-18 11:10:36 +01:00
mike12345567 4e13565d1f Adding a deployment service which takes over from the lambdas in local operation, this may become part of the hosting portal if we ever decide to opensource that part of it. 2020-12-16 19:50:02 +00:00
mike12345567 c65ed9ad46 Linting. 2020-12-15 16:42:40 +00:00
mike12345567 f5a9c68c69 WIP - starting to work on deployment and hosting so that they don't use static URLs anymore to reach assets, instead using environment variables to determine what to use. 2020-12-14 18:31:48 +00:00
mike12345567 2546346f36 Adding the ability to change default logo URL for new apps in self hosting. 2020-12-14 15:56:33 +00:00
mike12345567 7b21acd8bd Updating API key controller in self-host mode to return self host API key. 2020-12-09 17:10:53 +00:00
mike12345567 1cbe3771ab Adding in self hosted API key. 2020-12-09 17:04:05 +00:00
mike12345567 3959a18406 Removing the static CSS bundling from the server as it is no longer required. 2020-12-09 12:30:21 +00:00
mike12345567 36432a490f Updating row controller to make sure that all user requests (bar deletion) are passed through correctly to the user controller so that any logic such as removing user password can be correctly held in the user controller logic. 2020-12-09 10:54:30 +00:00
Andrew Kingston 77f049d1bd Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:16:53 +00:00
mike12345567 79cfc5ea01 Fixing an issue with power user not being usable. 2020-12-08 12:20:37 +00:00
Andrew Kingston cecf4e9bca Fix bug with checking user access 2020-12-04 14:01:10 +00:00
mike12345567 1c37299107 Fixing a caching bug found by cheeks. 2020-12-04 14:01:02 +00:00
mike12345567 19faffff83 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
mike12345567 1a9f1aed9b Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567 05225f7787 Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
mike12345567 8a013c33c3 Major re-work, client library stills needs some work but it appears layouts and screens are no longer inter-dependent. 2020-11-25 17:56:09 +00:00
mike12345567 e26baa6faf Creating CSS generation capabilities in the server. 2020-11-24 18:11:18 +00:00
mike12345567 ddca22245c Changing up how the static assets are compiled, making a 'css' directory in which individual assets CSS is written and then bundled together meaning that not all assets need to be sent up at once for css bundle to be built. 2020-11-23 16:56:35 +00:00
mike12345567 71ca88207d Removing all reference to 'pages' in server source code, now to look at builder. 2020-11-23 15:46:26 +00:00
mike12345567 8ae24a4b30 Storing some work in commit, currently broken, further work needed - application needs cleaned up. 2020-11-23 14:07:18 +00:00
Michael Drury a16063b11f Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:18:28 +00:00
Michael Drury 7fb26408cf Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:16:37 +00:00
mike12345567 6a50b1057d Fixing some bugs with previous commit and updating to add the functionality of the api/routing/client. 2020-11-18 15:12:42 +00:00
mike12345567 e793c46097 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
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
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
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
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
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 f183b72023 remove superfluous files 2020-11-06 13:46:19 +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
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
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 22cacbbdb3 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +00:00
Martin McKeaveney ea3162f329 screens in DB 2020-11-03 16:27:28 +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 5ae952721c Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-10-30 16:25:00 +00:00
Martin McKeaveney e59f759ad6 removing dead code 2020-10-29 11:46:26 +00:00
mike12345567 eeecd61058 Fixing another linting issue. 2020-10-29 11:04:02 +00:00
mike12345567 22e2455bbf Merge branch 'master' of github.com:Budibase/budibase into feature/remove-multitenancy 2020-10-29 10:45:02 +00:00
mike12345567 5b2be03bc3 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 2020-10-29 10:28:27 +00:00
Michael Drury f621cb0853 Some quick fixes. 2020-10-28 22:13:16 +00:00
Martin McKeaveney ffc2c7bd5f adding cloud check to dev check 2020-10-28 21:27:37 +00:00
mike12345567 ea03d099b3 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 2020-10-28 20:35:06 +00:00
mike12345567 7f9ff8ded7 Merge branch 'bug/local-forbidden' of github.com:Budibase/budibase into feature/webhooks 2020-10-26 17:59:03 +00:00
mike12345567 f78ec2ddef Found an issue where environment variables would load before they had actually been updated from dotenv, made sure they are always loaded correctly. 2020-10-26 17:49:33 +00:00
mike12345567 0d8ec8e03a Some initial work towards webhooks, that generates schema similar to integromat. 2020-10-22 17:48:32 +01:00
mike12345567 905cbc00e3 Merge branch 'master' of github.com:Budibase/budibase into version-complibrary 2020-10-21 15:33:23 +01:00
mike12345567 9a41fde685 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
Andrew Kingston 64812e2ddc Replace sharp with jimp for image processing 2020-10-21 13:00:23 +01:00
Andrew Kingston f86ee9d573 Fix test 2020-10-20 12:52:55 +01:00
Andrew Kingston c0e0b48a80 Allow CSV upload in browser and add display column option 2020-10-19 19:24:05 +01:00
mike12345567 de9c4ea3ee Fixing some issues seen with cloudfront and adding a bit more UI around the deployment history as pending can be happening for some time. 2020-10-19 15:33:26 +01:00
Andrew Kingston b139144b62 Fix default home page overriding detail pages 2020-10-16 15:32:50 +01:00
Andrew Kingston a978062a02 Set default link font weight to 500 2020-10-16 15:32:30 +01:00
Andrew Kingston 82b8e3e0ed Add XS shadow to top nav header to act as a slight border 2020-10-16 08:38:04 +01:00
mike12345567 e70c0f32c7 Some changes for authentication and getting rid of allScreens component of store as it was causing confusion and breakages. 2020-10-15 13:52:56 +01:00
Andrew Kingston 3de238c66a Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 17:09:50 +01:00
Andrew Kingston e0c309850b Update default page templates 2020-10-14 17:06:58 +01:00
Andrew Kingston b0171c1a9f Add translucent background to slot component 2020-10-14 17:05:29 +01:00
Martin McKeaveney 4823e66fe9 merge 2020-10-14 15:08:54 +01:00
Martin McKeaveney 79b50dc0b7 lint 2020-10-14 13:21:43 +01:00
Martin McKeaveney 2ae3191758 fix csv import 2020-10-14 13:09:03 +01:00
mike12345567 7ee64e8abd Merge branch 'master' of github.com:Budibase/budibase into chuckles-fixes 2020-10-14 12:16:16 +01:00
Martin McKeaveney cb5c09d439 simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
Andrew Kingston e50d33b7cb Add flex design property and fix existing default layout 2020-10-13 17:46:18 +01:00
mike12345567 3e9836138b Removing deprecated function - exists. 2020-10-13 17:02:59 +01:00
mike12345567 ca9012d07d Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:31 +01:00
mike12345567 5e9d32824c Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:08 +01:00
Andrew Kingston fa59b05d74 Add back in sharp reference which was commented out 2020-10-13 09:42:44 +01:00
Andrew Kingston ba616a7b36 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-13 09:24:13 +01:00
Martin McKeaveney 99500cb123 remove screen1 from dummy data 2020-10-12 21:22:23 +01:00
Andrew Kingston 0ac8a33210 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
mike12345567 d8f3a2ef17 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Martin McKeaveney 979422be52 Merge branch 'master' into deployment-api-usage 2020-10-09 21:43:28 +01:00
Martin McKeaveney 64b378364a deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567 c3380d8ab4 Fixing some bugs with JWT creation not getting an API key. 2020-10-09 20:44:35 +01:00
mike12345567 5d49d529e3 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 fdaa69ee7f 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 89d02357b8 Making sure any errors that occur in usage quota are thrown up to stop endpoint from functioning. 2020-10-09 17:28:49 +01:00
Andrew Kingston 4ef8929462 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston 009d04a0a5 Add relationships as data source 2020-10-09 12:24:18 +01:00
mike12345567 4584257007 Adding in default plan if the obj found does not have the required information. 2020-10-09 11:32:25 +01:00
mike12345567 c280586b9b Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 11:21:26 +01:00
mike12345567 325e291222 Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 eea0bc5fb9 Update to IDs as has been discussed, to change them from colons (:) to underscores (_) as this is more URL, S3 and file system safe. Also shortening most prefixes down to two characters. 2020-10-09 09:47:37 +01:00
mike12345567 a54ca6ac39 Fixing linting issue. 2020-10-08 18:36:31 +01:00
mike12345567 552c31a53e Updates for API usage after testing against local Dynamo. 2020-10-08 17:34:41 +01:00
mike12345567 922e214dca Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
mike12345567 25cc60aa94 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 14:48:20 +01:00
mike12345567 a72d8e42ad Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +01:00
mike12345567 2c3566f686 Adding a regex to allow certain paths with : on windows. 2020-10-07 11:04:36 +01:00
Andrew Kingston 3dc30262d7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
mike12345567 13c9be4ea3 Adding a basic sanitise path function and fixing up use cases of appId filesystem paths throughout the system. 2020-10-07 00:24:56 +01:00
Martin McKeaveney 5e6cbe3b6d cleaner parsing 2020-10-05 19:21:51 +01:00
Martin McKeaveney dd9eb9bb6a merge 2020-10-05 15:08:53 +01:00
Martin McKeaveney c3a5d964bc tidy up 2020-10-05 14:43:34 +01:00
Martin McKeaveney 3a460429a0 adding nice loading states 2020-10-05 14:07:39 +01:00
Martin McKeaveney 140233960e unit tests for csv parser 2020-10-05 11:48:13 +01:00
mike12345567 3ad58c2aa7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-05 10:52:35 +01:00
Martin McKeaveney b754fc3f07 account for omitted rows 2020-10-05 10:51:58 +01:00
Martin McKeaveney 5e86076530 CSV Import end to end 2020-10-02 16:16:06 +01:00
Martin McKeaveney 6a2da91f31 CLI tool for exporting apps, tidy up 2020-09-29 10:32:42 +01:00
Martin McKeaveney b27f80071f async templates working from S3 2020-09-28 17:04:08 +01:00
mike12345567 7e3715d88a Some groundwork for the linked records, building up a much more in-depth emitter for models and records to drive the record cleanup. 2020-09-25 18:05:26 +01:00
mike12345567 08e5e75dbb Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:49:15 +01:00
mike12345567 6967f5f4f0 Fixing linting. 2020-09-21 14:48:24 +01:00
mike12345567 c31a978288 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:01:00 +01:00
mike12345567 61964f9106 Merge branch 'master' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 13:52:26 +01:00
mike12345567 5f064ade9d Renaming workflows -> automate/automations, throughout the API and the builder itself. 2020-09-21 13:49:34 +01:00
Martin McKeaveney af9b8ac9bd return processed file sizes 2020-09-18 11:01:39 +01:00
Martin McKeaveney f48736ffe9 lint 2020-09-17 16:36:39 +01:00
mike12345567 2911a7ba35 Changing how default inputs for workflow definitions are handled and providing pretty print options for enums. 2020-09-17 12:44:59 +01:00
mike12345567 53b317aad1 Fixing a circular dependency that meant a utilities enumerations could not be used until full system initialisation, exporting enums earlier and commenting. 2020-09-16 14:58:30 +01:00
mike12345567 1382c3bb12 This is a breaking change, it updates the block definitions to work with the new structure of inputs and outputs. 2020-09-15 14:27:23 +01:00
Michael Shanks 30aed16951 remove references to material design components 2020-08-14 11:21:52 +01:00
Martin McKeaveney 9e00550eda Cypress Tests Running in CI (#524)
* cypress test setup

* running cypress in CI

* fixing tests after first time setup wizard

* bb api key

* API Key in right place

* adding env in cypress.json

* env var in setup

* lint

* API key not working

* fill in API key form if present

* allow more time for creation

* cypress server for debug

* video recording, better debugging

* Adding debug logs

* set node env

* cypress env

* cancel irrelevant test
2020-08-05 15:18:28 +01:00
Michael Shanks a39f99cf7c bugfix: create app pointing to hardcoded standard-components version 2020-08-03 15:28:45 +01:00
Michael Shanks bac8249132 can delete screens 2020-07-21 15:01:32 +01:00
Martin McKeaveney 020ef654db lint 2020-07-14 21:10:51 +01:00
Martin McKeaveney b4e70301a0 download component libraries from NPM tarball 2020-07-14 21:07:53 +01:00
Michael Shanks 80a597e1fc fix: create app failing from unknown folder copy issues 2020-07-14 07:02:46 +01:00