1
0
Fork 0
mirror of synced 2024-09-21 20:01:32 +12:00
Commit graph

946 commits

Author SHA1 Message Date
Dean
07be0208e5 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
mike12345567
2d4eb10aba Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-07 20:48:28 +01:00
mike12345567
197d195cb4 Switching from scan for app locks to mget - which is a fast O(N) operation that only retrieves what we need. 2022-10-07 18:05:18 +01:00
Michael Drury
060b2aba3c Merge pull request #8175 from Budibase/fix/remove-app-scans
Removing Redis SCAN operation from app services
2022-10-07 17:35:05 +01:00
mike12345567
0c4a40c795 Switching from scan for app locks to mget - which is a fast O(N) operation that only retrieves what we need. 2022-10-07 16:05:01 +01:00
Dean
c09154b03e Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
mike12345567
ef52bde670 Building out initial SDK work - converting some existing exporting work to typescript. 2022-10-06 19:10:45 +01:00
mike12345567
ea2fb6de1b Merge branch 'master' of github.com:Budibase/budibase into develop 2022-10-06 16:54:25 +01:00
Dean
e251c914ff Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean
2ec21741d1 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Andrew Kingston
f2f842444a Update plugin URL utility export to use CJS syntax 2022-10-05 08:57:26 +01:00
Andrew Kingston
788dac0f8d Use CJS style imports in plugin URL helper to work in jest, and respect plugin bucket env var 2022-10-05 08:25:50 +01:00
Andrew Kingston
b487855348 Update plugin JS URL handling 2022-10-04 16:28:21 +01:00
Andrew Kingston
de9b2c44cb Add utility for generating plugin JS URLs 2022-10-04 16:27:04 +01:00
Rory Powell
79226777b1 Merge develop 2022-09-28 08:56:45 +01:00
Martin McKeaveney
c309d25b16 Merge pull request #7881 from Budibase/feature/email-cc
Add CC and BCC (with multiple email support) to Send Email automation action step
2022-09-25 13:40:33 +01:00
Michael Drury
c7fb092294 Fixing issue discovered by test. 2022-09-23 22:24:31 +01:00
mike12345567
e0b6ef66ac Fixing a few issues with roles being correctly reverted. 2022-09-23 17:45:26 +01:00
mike12345567
9b29bd6709 Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-22 18:44:16 +01:00
mike12345567
e3f054470a Updating a few core endpoints to better integrate the groups system and make sure users always have the correct role ID updated onto them. 2022-09-22 18:27:43 +01:00
Mel O'Hagan
1b49f02092 CC and BCC interface 2022-09-21 15:58:04 +01:00
Martin McKeaveney
9b5ed59f34 Merge pull request #7792 from Budibase/feature/plugin-pro
Plugin pro integration
2022-09-18 10:34:06 +01:00
mike12345567
6bad41e3ce Minor fix - datasource hot reloading was working apart from the the CJS require caching, need to clear down the cache entry before reloading. 2022-09-16 11:25:28 +01:00
Martin McKeaveney
c86bdffc52 Merge pull request #7646 from Budibase/qa/qa-core-jest
QA Core repo, and Jest API tests running end to end
2022-09-15 21:12:45 +01:00
mike12345567
40688f6783 Adding budibase/pro integration for plugins, controlling quota limits. 2022-09-15 14:57:27 +01:00
Rory Powell
0f98f2fcaa Merge branch 'master' into develop 2022-09-15 10:19:56 +01:00
Martin McKeaveney
ddc585fad3 Merge branch 'develop' into qa/qa-core-jest 2022-09-15 01:18:58 +01:00
mike12345567
416a2c999f Fixing issue with plugin import for datasources - extract the integration correctly. 2022-09-13 12:16:00 +01:00
mike12345567
722a087af5 Reverting organisation page changes. 2022-09-12 16:21:47 +01:00
mike12345567
828066de46 Merge branch 'develop' of github.com:Budibase/budibase into feature/plugin-management-ui 2022-09-12 15:34:34 +01:00
mike12345567
bbed4cce74 Fixing an intermettient test issue. 2022-09-12 15:16:31 +01:00
Rory Powell
45a43baee2 Merge branch 'master' into develop 2022-09-12 14:05:36 +01:00
mike12345567
3d66e71d7d Fixing an issue with deleting large apps with a lot of internal table data and adding back the export modal which allows picking whether an export includes internal table rows - #7583. 2022-09-09 20:06:29 +01:00
mike12345567
8e56a7a4d9 Fixing an issue with external tables containing time only fields. 2022-09-07 17:57:02 +01:00
NEOLPAR
c2bca8a025 uploading plugin for github, npm and url 2022-09-06 16:28:35 +01:00
Martin McKeaveney
c3f15b5af2 QA Core repo, and Jest API tests running end to end 2022-09-05 18:28:53 +01:00
NEOLPAR
4c47c3a418 sorting npm stuff out 2022-09-05 15:04:26 +01:00
NEOLPAR
7d8940f0cb Merge branch 'plugins-dev-experience' into feature/plugin-management-ui 2022-09-05 09:38:24 +01:00
mike12345567
a5f475872d Updating plugins to not think about versions, only ever one version of each plugin by name, making plugins self host only and adding error checking for datasource implementations. 2022-09-02 19:32:15 +01:00
NEOLPAR
54eed13541 create plugin github public and private 2022-09-01 20:04:45 +01:00
NEOLPAR
0e2a86460c uploading npm and url plugins 2022-08-31 16:09:47 +01:00
mike12345567
320cbfada3 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 15:53:32 +01:00
Rory Powell
5f022e04a3 Merge branch 'develop' into user-fixes 2022-08-31 11:39:41 +01:00
Rory Powell
435465f93a Update shutdown logging 2022-08-31 11:05:49 +01:00
NEOLPAR
e5446d2f8a plugin create npm 2022-08-30 21:37:08 +01:00
Martin McKeaveney
02c93071ee merge 2022-08-30 10:33:37 +01:00
Martin McKeaveney
4aa99336d7 adding path variable 2022-08-25 11:07:35 +01:00
Martin McKeaveney
d5c2f32df3 additional logging around component definitions 2022-08-25 10:57:30 +01:00
Andrew Kingston
975afc29d2 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 11:27:18 +01:00
Andrew Kingston
23a91b89a7 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 11:27:04 +01:00
Rory Powell
917bb96ae6 add on() to mock queue 2022-08-20 11:42:51 +01:00
mike12345567
f329f9868c Adding management of the new README.md file that is retrieved with the plugin skeletons. 2022-08-18 18:23:07 +01:00
mike12345567
2bb32253d8 Adding in hash handling for datasource plugins. 2022-08-18 15:21:55 +01:00
mike12345567
7dfe049ae6 Adding full builder integration of custom components - splitting into own section properly - fixing some issues with SVG class overlap. 2022-08-17 23:13:51 +01:00
mike12345567
b6a5ccbf10 Adding some controls around datasource config creation and updating minio fetch. 2022-08-17 11:01:25 +01:00
mike12345567
2aaff7576b Adding full flow for creating custom datasource. 2022-08-17 10:05:13 +01:00
Mel O'Hagan
5171fc09fb Delete attachments on field clear 2022-08-12 11:29:57 +01:00
mike12345567
76d427001a Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:34:01 +01:00
mike12345567
fc6111272e Fixing viewname enumeration. 2022-08-11 14:40:17 +01:00
mike12345567
b803a3fd93 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
mike12345567
a683665a99 Adding plugin upload API - takes a file form-data and then extracts, uploads to minio and stores data about the plugin to CouchDB. 2022-08-10 20:01:48 +01:00
Martin McKeaveney
7de6117421 changing readstream let to const 2022-08-08 13:54:11 +01:00
Martin McKeaveney
9ec178c7c8 charset encoding 2022-08-08 13:51:02 +01:00
mike12345567
2dea5c5614 Some various session fixes based on current data. 2022-08-05 21:35:26 +01:00
Peter Clement
c3a4941119 Merge pull request #6989 from Budibase/pc/fixes
User Management UI fixes
2022-08-01 09:39:55 +01:00
Peter Clement
79f7fd380d pr comments and updating group check to be more safe 2022-07-30 11:38:08 +01:00
mike12345567
07f3897b55 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-29 14:31:18 +01:00
Peter Clement
dca37a61da adding tests and pr comments 2022-07-27 10:20:39 +01:00
Peter Clement
548e8d518c Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-26 20:19:33 +01:00
Peter Clement
46a6fc5048 refactor groups into pro and some other pr comments 2022-07-26 20:04:29 +01:00
mike12345567
f4db17502a Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-26 17:28:57 +01:00
mike12345567
3fad32899f Main body of updates to support disabling the cron, some cleanup of metadata at deployment to make sure they can be re-ran. 2022-07-25 20:45:29 +01:00
mike12345567
a84d4d014d Fixing issues with exporting apps, first removing the deleted documents when exporting and second making it so that the user has a choice whether to export the development app or the published app from the UI. 2022-07-22 18:16:14 +01:00
Peter Clement
dd34282a33 2nd fix for multi tenancy groups 2022-07-22 10:56:16 +01:00
Peter Clement
723bbd65e4 fixing bug on multi tenant environment 2022-07-22 10:12:16 +01:00
Peter Clement
ba74fa9500 update handling of group roles 2022-07-19 14:20:57 +01:00
Peter Clement
ca41e88045 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 11:23:31 +01:00
mike12345567
c525721854 Fix for #6709 - Adding the option to set a role for app action, allowing users to set what level an automation can be accessed from. 2022-07-15 17:13:45 +01:00
Peter Clement
f3fa67e802 split out id parsing into pro repo 2022-07-15 11:29:20 +01:00
Martin McKeaveney
367cf37795 remove beta stuff and remove self-host banners 2022-07-11 11:08:56 +01:00
Andrew Kingston
467cc27f47 Add env vars to automatically create initial admin user on first run 2022-06-30 11:28:52 +01:00
Martin McKeaveney
251520bcd1 adding types 2022-06-28 12:16:23 +01:00
Rory Powell
4dc5cfc5a7 Merge branch 'release' into merge-release 2022-06-13 11:45:18 +01:00
Martin McKeaveney
c470c2f676 merge with master 2022-06-08 13:26:14 +01:00
Andrew Kingston
72397530ec Apply timezones patch from existing ignore-timezones branch 2022-06-07 08:31:00 +01:00
Martin McKeaveney
d15dfb83fc new ui functionality working from S3 bucket 2022-06-06 23:30:36 +01:00
Peter Clement
5bd5d7df1b Merge pull request #6059 from Budibase/feat/dont-export-app-rows
Allow export of app without rows
2022-06-06 16:31:21 +01:00
Peter Clement
bd737cc1ca negate export button 2022-06-06 15:17:14 +01:00
Martin McKeaveney
d57c4987fe Merge branch 'master' of github.com:Budibase/budibase into develop 2022-06-01 09:47:13 +01:00
mike12345567
fa30457f2b Fixing issue with server not shutting down correctly when an error occurs, making sure that everything clears up gracefully. 2022-05-30 21:22:06 +01:00
mike12345567
723b96c5a5 Adding the ID inputs for the quota breakdown functionality. 2022-05-26 16:01:10 +01:00
Peter Clement
5a67be19fa Merge remote-tracking branch 'origin/develop' into feat/dont-export-app-rows 2022-05-26 10:32:18 +01:00
mike12345567
8bc0142a37 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-25 18:12:27 +01:00
mike12345567
84d0b61588 Swapping bcryptjs for bcrypt. 2022-05-25 16:14:45 +01:00
Peter Clement
af5c1a7e1f change variable to reflect negation 2022-05-25 15:06:41 +01:00
Peter Clement
955b9a4d63 Export app without rows 2022-05-25 09:26:10 +01:00
Martin McKeaveney
92ed60af54 Merge pull request #5786 from Budibase/feature/app-overview-section
Feature/app overview section
2022-05-24 15:16:17 +01:00
mike12345567
1f3d552199 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 17:03:36 +01:00
mike12345567
aede23d44e Improving performance of load script, can generate thousands of users a second. 2022-05-22 18:29:02 +01:00
mike12345567
c528896e2d Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 2022-05-17 17:44:40 +01:00
Dean
5104631d20 Initial Commit for app overview 2022-05-05 12:52:17 +01:00
mike12345567
9e46413202 Fix for export issue reported in #5669 - streaming + closing the database didn't work well together, have to support an edge case for our code stopping execution, but DB access continuing. 2022-05-03 15:20:46 +01:00
Michael Drury
8d78698c60 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-04-26 20:10:26 +01:00
mike12345567
194b76985c Fix for #5269 - the sub type was being lost in some scenarios related to the user table being updated - making sure it is consistently kept when dealing with either of the related tables. 2022-04-26 14:24:51 +01:00
Martin McKeaveney
9ca4dacbaa merge with master 2022-04-26 10:21:45 +01:00
mike12345567
345bbf603c Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 2022-04-21 14:56:14 +01:00
mike12345567
192fb1307e Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them. 2022-04-19 19:42:52 +01:00
Rory Powell
41144db055 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-04-19 16:45:27 +01:00
mike12345567
2accebec7f Fix for issue discovered in #5187 - expanding regex to cover all sorts of number coercion. 2022-04-07 10:26:39 +01:00
Rory Powell
0a4b1eb552 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell
715d42d3e6 Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell
795b48bfb0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
mike12345567
53386909ab Updating row search bookmark to handle numbers as bookmarks. 2022-03-09 10:12:26 +00:00
Rory Powell
eefe4ea2ad Integrate usage quotas with licensing 2022-03-08 14:21:41 +00:00
mike12345567
b6e6f81d15 Adding test cases for user implementation with mocks. 2022-02-25 19:01:17 +00:00
mike12345567
cf27667580 Users implementation added. 2022-02-25 19:00:12 +00:00
mike12345567
8f6e55e65b Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
mike12345567
edd4a3233e Shifting over all of self API, deprecating old endpoints. 2022-02-14 18:11:35 +00:00
mike12345567
dbc048b365 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
mike12345567
1095ad17c6 Adding comments to areas that need to keep using old db creation method. 2022-01-31 17:27:47 +00:00
mike12345567
476f34fb93 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567
9198439f7f Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:00:22 +00:00
mike12345567
f9c7877e02 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
mike12345567
91a90e62b2 Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
mike12345567
d5f8cc1023 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
Michael Drury
d3a90acc55 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567
d2fe119d90 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
mike12345567
ab5c7766b4 Bit of refactoring, adding in functionality to remove invalid static formula when the elements that the formula depends on are removed. 2022-01-24 18:22:59 +00:00
mike12345567
da26761773 Make sure attachments are deleted when table is deleted, or column is removed. 2022-01-24 16:32:41 +00:00
mike12345567
10a2915bcb Getting relationship re-enrichment working, so that static formulas will update when the value of the relationship changes. 2022-01-21 17:45:24 +00:00
Rory Powell
81e8ceff1a Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell
e0dcc7648c Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
mike12345567
deb4a34c18 Adding the ability to filter using the filter drawer for formula fields, getting them based on the enriched contents of a row - adding functionality to denote to each table which other tables depend on them for formula. 2022-01-21 16:24:24 +00:00
mike12345567
87d5e0d39e Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 12:52:58 +00:00
Rory Powell
04386bd1d8 Merge pull request #4000 from Budibase/fix/sync-apps-reset-rows-quotas
App and Row Quota Fixes
2022-01-21 11:20:14 +00:00
mike12345567
50eff577f9 Getting the static formulas being processed on input, not re-processing on output. 2022-01-20 18:04:44 +00:00
Michael Drury
9d5d8284cb Quick fix for #4093 - make sure the App ID/App URL returned for deployed apps is always lowercase, as URLs are not case sensitive and should not be compared as such. 2022-01-18 20:54:19 +00:00
Rory Powell
604d316834 Add dryRun to automation row create and remove env conditional on delete 2022-01-18 15:53:55 +00:00
Rory Powell
fc043e116d Support template and app import in quotas + logging 2022-01-18 15:37:16 +00:00
Rory Powell
79c10fba7c Account for duplicate row ids caused by app import 2022-01-18 12:48:54 +00:00
Rory Powell
ff887f8f88 Sync row usage with app deletion 2022-01-17 18:07:26 +00:00
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