Commit Graph

1949 Commits

Author SHA1 Message Date
Martin McKeaveney 2761eaed2d postgres connection pooling 2021-05-19 20:58:59 +01:00
Martin McKeaveney e6548a6c92
Merge pull request #1503 from Budibase/cron
Cron Automation trigger
2021-05-19 19:33:49 +01:00
mike12345567 0db486d4e8 Formatting. 2021-05-19 16:24:50 +01:00
mike12345567 ed63d1d8f2 Updating user test cases. 2021-05-19 16:24:20 +01:00
mike12345567 ecc1527833 Merge branch 'next' of github.com:Budibase/budibase into user-app-list 2021-05-19 15:58:17 +01:00
mike12345567 8c68f1c134 Fixing issues with the user table within the apps. 2021-05-19 15:55:00 +01:00
mike12345567 6d6eee2a93 Adding the ability to get all apps, with the status attached. 2021-05-19 15:09:57 +01:00
mike12345567 af531241c4 Adding a get self endpoint in the global users. 2021-05-19 13:37:59 +01:00
mike12345567 8e10b42f9c Merge branch 'user-app-list' of github.com:Budibase/budibase into user-app-list 2021-05-19 13:18:38 +01:00
mike12345567 1956d9765e Adding admin only endpoint, removing the ability to create/delete global users from the app server and adding a global self user update. 2021-05-19 13:17:50 +01:00
mike12345567 ed4455b450 Fixing test cases. 2021-05-19 11:27:19 +01:00
Andrew Kingston 2cc37e196d Add missing properties to first name and last name user schema 2021-05-19 11:06:57 +01:00
Martin McKeaveney 2683b2c03a remove outputs from cron 2021-05-19 10:57:02 +01:00
Martin McKeaveney 775fd10b6f activations 2021-05-19 10:46:47 +01:00
Martin McKeaveney 50701c74f4 Adding cron presets to automations 2021-05-18 22:20:41 +01:00
mike12345567 48b7a31c2a 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 4b77c75cbb cron automation trigger end to end 2021-05-18 21:03:26 +01:00
mmckeaveney 7c3b3f78a7 groundwork for cron automation trigger 2021-05-18 15:37:54 +00:00
Keviin Åberg Kultalahti e838950777 Merge branch 'next' into admin/user-management-ui 2021-05-18 12:27:46 +02:00
Martin McKeaveney dbabe0afaf
Merge pull request #1496 from Budibase/feature/draft-apps
Feature/draft apps
2021-05-18 11:25:51 +01:00
Keviin Åberg Kultalahti a3f5e1af8c lint:fix 2021-05-18 12:21:57 +02:00
Martin McKeaveney d5fb542589 lint 2021-05-17 21:43:50 +01:00
Keviin Åberg Kultalahti b8870ed8c4 erge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 15:29:33 +02:00
mike12345567 dd61b0734f Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-17 14:28:56 +01:00
Keviin Åberg Kultalahti afa76615ee Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 15:28:52 +02:00
Martin McKeaveney 15cc048280 tidy up 2021-05-17 14:24:37 +01:00
mike12345567 19b1310c60 Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-17 14:24:36 +01:00
Keviin Åberg Kultalahti 5a7ac2287b Merge branch 'feature/draft-apps' into admin/user-management-ui 2021-05-17 15:21:48 +02:00
mike12345567 dd4a963c3e Updating role system to never think about the dev app. 2021-05-17 14:20:19 +01:00
Keviin Åberg Kultalahti 913fbcc990 Merge branch 'next' into admin/user-management-ui 2021-05-17 10:11:25 +02:00
Andrew Kingston bdca01e7d8 Use POST requests with JSON bodies for searching instead of GETs with query string params 2021-05-17 08:16:04 +01:00
Martin McKeaveney 6dc288fcc3 merge 2021-05-16 21:29:07 +01:00
Martin McKeaveney 0ed0550e73 revert functionality working 2021-05-16 21:25:37 +01:00
mike12345567 ac0f620b38 Formatting. 2021-05-14 16:32:51 +01:00
mike12345567 c45fdefb48 Adding administration roles API. 2021-05-14 16:31:07 +01:00
Andrew Kingston d1ace0f212 Add missing tableId setting to search params 2021-05-14 15:46:46 +01:00
mike12345567 2d0122f7d6 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 da6b76fbf5 Lint 2021-05-14 15:41:58 +01:00
Andrew Kingston 82b64dcd1f Refactor server side search to use objects for params to tidy things up 2021-05-14 15:41:26 +01:00
mike12345567 165e003760 Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-13 18:10:20 +01:00
mike12345567 4652aaa16f Fixing two issues which were blocking previews, one the user was no longer being updated as an admin (when first building/creating an app) and two, role was not being carried across from global user properly. 2021-05-13 18:10:09 +01:00
Martin McKeaveney e8661a1ab7 publish button 2021-05-13 17:33:31 +01:00
Martin McKeaveney 0ee83a2e60 set up live replication between prod and dev instances 2021-05-13 17:24:32 +01:00
Andrew Kingston 04353f8c88 Remove debug logging 2021-05-13 15:37:06 +01:00
Andrew Kingston 26014f4e5c Remove sorting by auto ID when output processing rows 2021-05-13 15:35:54 +01:00
mike12345567 e560390d8a Fixing an issue with portal calls causing the app to be re-locked. 2021-05-13 15:32:03 +01:00
mike12345567 86000b1714 Fixing issues with redis keys, however still not removing lock. 2021-05-13 14:34:04 +01:00
mike12345567 c87319c267 Fixing forgotten id access. 2021-05-13 14:24:55 +01:00
mike12345567 28a7282a8b Fixing userId storage to redis and making sure lockedBy property never stored. 2021-05-13 14:17:04 +01:00
Martin McKeaveney 31901c89f8 merge, UI for managing your own app locks 2021-05-13 14:04:03 +01:00
mike12345567 f4e3e1d196 Altering object store so that all writes/reads to the object store have the dev app prefix replaced with standard app. 2021-05-13 13:29:53 +01:00
Andrew Kingston f54096447d Add jsdoc to search utils 2021-05-13 13:11:16 +01:00
Andrew Kingston 1c07e0a895 Fix bug with determing whether another page exists when performing paginated searches 2021-05-13 12:38:12 +01:00
Andrew Kingston da40086c0b Allow multipage searches and implement optional pagination to data providers 2021-05-13 12:26:18 +01:00
mike12345567 799b3fc138 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
Mike Shanks 3aaeb8f7da v0.8.18 2021-05-13 11:17:08 +01:00
Martin McKeaveney 61a5b109f5 dev mode E2E 2021-05-13 11:06:08 +01:00
mike12345567 2fa7ee5bcb Formatting. 2021-05-12 17:43:29 +01:00
mike12345567 3811acbaec Adding dev endpoint to clear lock. 2021-05-12 17:43:01 +01:00
mike12345567 f6fbeb4858 Putting together redis lock system. 2021-05-12 17:37:09 +01:00
mike12345567 e29d7512e4 Updating search endpoint to have egress processing. 2021-05-12 14:44:47 +01:00
Andrew Kingston 16c6e09c61 Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-12 14:35:00 +01:00
mike12345567 53acb9745a Fixing an issue found with queries, if an optional property isn't set then problems could arise before. 2021-05-12 12:52:34 +01:00
mike12345567 fed94bea70 Merge branch 'next' of github.com:Budibase/budibase into feature/draft-apps 2021-05-12 12:49:42 +01:00
Andrew Kingston a3fbe6a34a Allow data provider filtering using dates and date ranges, and allow filtering using a value or binding for any type 2021-05-11 18:33:25 +01:00
mike12345567 e917dbd897 Removing more useless deployment code. 2021-05-11 17:53:54 +01:00
mike12345567 d7d29cf0f3 Formatting. 2021-05-11 17:50:26 +01:00
mike12345567 c9d903a92f 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 2ea05c44b4 Changing INTERNAL_KEY to INTERNAL_API_KEY. 2021-05-11 15:23:03 +01:00
mike12345567 147d67cd26 Merge branch 'smtp-configuration' of github.com:Budibase/budibase into smtp-configuration 2021-05-11 15:09:22 +01:00
mike12345567 8faa9554ed 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 c8b1adb135 merge 2021-05-11 14:58:55 +01:00
Martin McKeaveney 3bf3fc5e02 email template E2E, adding preview 2021-05-11 14:44:43 +01:00
mike12345567 7d78d7b15a 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
Andrew Kingston 78ae68981e Add support for numerical sorting 2021-05-11 11:24:16 +01:00
Andrew Kingston 3eabaea42f Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-11 10:47:52 +01:00
Andrew Kingston 5aebceb608
Merge pull request #1472 from Budibase/app-list
App list screen
2021-05-11 08:43:47 +01:00
mike12345567 330f92ff7c Some cleanup. 2021-05-10 18:07:57 +01:00
Martin McKeaveney b415fb2089 pull template type from body instead of params 2021-05-10 14:41:52 +01:00
mike12345567 6fa96981ae Other minor fixes after doing some initial setup testing. 2021-05-10 13:18:05 +01:00
Andrew Kingston 526107aeb0 Merge branch 'next' of github.com:Budibase/budibase into app-list 2021-05-10 12:31:42 +01:00
mike12345567 595698b7c9 Fixing issue with object store functions not being mockable in the server. 2021-05-07 14:27:46 +01:00
mike12345567 634cba509d Formatting. 2021-05-07 13:55:57 +01:00
mike12345567 902119c39c Updating with a tested and functional API for uploading files for configs. 2021-05-07 13:55:30 +01:00
mike12345567 ad02e56887 Fixing issues with bullboard and integrating the express app with our koa app (if prefix matches). 2021-05-07 12:24:51 +01:00
mike12345567 7e10dc16b3 Merge branch 'next' of github.com:Budibase/budibase into feature/logo-api 2021-05-07 11:41:32 +01:00
Andrew Kingston 1158276bc6 Bump svelte and routify deps, fix builder _reset usage and some tidy ups 2021-05-07 11:14:43 +01:00
dependabot[bot] 647c443fd4
Bump lodash from 4.17.13 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.13 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.13...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 08:57:55 +00:00
Michael Drury cf762f8dcd 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
Andrew Kingston c3ea022f8b Configure vite with a base URL so proxy works 2021-05-06 17:22:09 +01:00
Michael Drury f823b73a47
Merge pull request #1449 from Budibase/feature/password-reset
Password reset and invitations backend
2021-05-06 11:04:15 +01:00
mike12345567 44db8cf9ec Formatting. 2021-05-05 17:49:53 +01:00
mike12345567 96f036b720 Updating testing system across the board after playing around with it, having the worker tests run when top level test is ran, fixing environment in worker when testing, removing the use of redis (replacing with ioredis-mock) when in test. 2021-05-05 17:49:34 +01:00
Keviin Åberg Kultalahti a86961085f add analytics toggling 2021-05-05 18:39:36 +02:00
Keviin Åberg Kultalahti e999f53291 introduces portal stores concept and adds an org one that handles configs 2021-05-05 17:50:45 +02:00
Keviin Åberg Kultalahti 9980ee8093 allow navigation to other URLs than /builder 2021-05-05 11:22:39 +02:00
mike12345567 66341473ca Fixing issues with Redis/Bull and the integration with new redis module. 2021-05-04 18:13:44 +01:00
mike12345567 89310c0879 Merge branch 'next' of github.com:Budibase/budibase into feature/password-reset 2021-05-04 15:21:53 +01:00
mike12345567 c259564ba8 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Martin McKeaveney bb2f4f485b merge with next 2021-05-04 11:49:34 +01:00
Martin McKeaveney a4cc4191b4 merge with next 2021-05-04 11:40:59 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston 1c3d477523 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
mike12345567 87cfaf1181 Merge branch 'labday/mike-formulas' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:50:52 +01:00
mike12345567 acc6eed8ff Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Martin McKeaveney 4618dfd2d1 merge 2021-05-04 09:55:14 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Michael Drury 124e30e00f Fixing cypress tests. 2021-04-30 19:17:00 +01:00
Andrew Kingston 5aee405245 Add server-side searching and pagination to data providers using internal tables 2021-04-30 16:29:53 +01:00
Martin McKeaveney da25d8b6e5 tidy up 2021-04-30 15:44:37 +01:00
Martin McKeaveney 2dbcfe3ed1 external data connector block 2021-04-29 21:35:16 +01:00
mike12345567 4ed611fb73 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 bd8269619c Support NOT lucene queries and escape whitespace 2021-04-29 14:55:51 +01:00
Andrew Kingston 717b0b0af6 Expose search API endpoint 2021-04-29 14:55:33 +01:00
Martin McKeaveney b4051dfed6 merge with next 2021-04-29 11:45:47 +01:00
mike12345567 3e2da63822 Updating auth middleware to accomodate public endpoints for the server properly and some refactoring. 2021-04-28 18:13:21 +01:00
Andrew Kingston 0caad1f582 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
mike12345567 e8e210dfe2 Updating packages so that @budibase/auth doesn't stop installations. 2021-04-28 15:25:49 +01:00
mike12345567 8f22473998 Stripping out conjunction in view filter if its the first one. 2021-04-28 14:57:52 +01:00
mike12345567 6a0f80f25e Fixing login issue. 2021-04-28 14:28:25 +01:00
mike12345567 129b827d9f Adding a redis client to the auth system, as part of work towards the reset password flow. 2021-04-27 17:29:05 +01:00
mike12345567 84e66f826b Updates after finding a better template to use and adding some real email testing with Ethereal platform. 2021-04-26 14:14:51 +01:00
mike12345567 d985d338ec Updating test cases and some re-work of the email system. 2021-04-23 18:07:39 +01:00
mike12345567 46c9df6245 Adding testing to worker, still WIP. 2021-04-23 14:58:06 +01:00
Martin McKeaveney 737e9dba47 config specificity 2021-04-22 11:45:22 +01:00
mike12345567 e057217b48 Initial CRUD interface for templates. 2021-04-21 18:15:57 +01:00
mike12345567 bb5dbf27aa Some re-work of the auth package, making it a bit easier to use/less likely to make a mistake. 2021-04-21 16:42:44 +01:00
mike12345567 ebaf8c3a2f Updating cypress tests to work with the new user ID system. 2021-04-21 11:33:12 +01:00
mike12345567 a464aa09db Linting and formatting. 2021-04-20 17:33:44 +01:00
mike12345567 f6425524a4 Updating test cases now that login has changed a bit. 2021-04-20 17:27:23 +01:00
mike12345567 7612b5ed16 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 547492189a Adding cleanup operation to dynamo client. 2021-04-19 22:36:14 +01:00
mike12345567 c121300840 Fixing an issue with the DynamoDB integration, didn't specify the correct terms for the AWS credentials. 2021-04-19 22:24:13 +01:00
mike12345567 ade007482c Updating the server to remove use of the email in the user ID. 2021-04-19 16:26:33 +01:00
Martin McKeaveney 174dc6c780 v0.8.17 2021-04-19 10:39:27 +01:00
mike12345567 bd6741fc1c Merge branch 'master' of github.com:Budibase/budibase into next 2021-04-16 17:01:35 +01:00
Martin McKeaveney 07d108aafa default user 2021-04-15 23:14:10 +01:00
Martin McKeaveney 4700b24793 account for empty user id in automations 2021-04-15 21:34:03 +01:00
mike12345567 ee1a7a69ac Fixing some issues with auth module. 2021-04-15 16:57:01 +01:00
mike12345567 2edb559fcf Updating auth lib so that it takes in a pouch instance rather than creating its own. 2021-04-15 16:45:21 +01:00
mike12345567 fb4e52baff Updating worker/server to run in cypress properly. 2021-04-15 16:25:48 +01:00
mike12345567 cfbd75b36d 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 20a16e07a1 Removing test case that isn't valid anymore. 2021-04-14 17:27:58 +01:00
Martin McKeaveney 3810cc7483 Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-14 17:02:18 +01:00
Martin McKeaveney 4c8c5c17b2 removing initial user creation 2021-04-14 17:02:12 +01:00
mike12345567 3697a270ec Linting. 2021-04-14 16:44:10 +01:00
mike12345567 8e729f92e1 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 bd2e75c745 Removing server 403. 2021-04-14 15:44:18 +01:00
mike12345567 e9767eabc5 Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
Keviin Åberg Kultalahti 5d1d53f679 adds focus action to first input field of modals 2021-04-14 10:22:45 +02:00