1
0
Fork 0
mirror of synced 2024-08-04 12:51:47 +12:00
Commit graph

1053 commits

Author SHA1 Message Date
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
9d3c28ecbf 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
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
ae1753a654 set content type on client lib upload 2021-06-03 21:33:44 +01:00
Martin McKeaveney
ca6735a11a set content type on client lib upload 2021-06-03 21:33:44 +01:00
Andrew Kingston
4d7dce31c7 Merge branch 'master' of github.com:Budibase/budibase into lab-day-plausible 2021-06-02 11:39:41 +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
7a0bbfdb84 Merge branch 'master' of https://github.com/Budibase/budibase into lab-day-2705 2021-06-01 19:24:24 +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
6f6b0e5cce Formatting. 2021-06-01 16:02:20 +01:00
mike12345567
522ed9706c Formatting. 2021-06-01 16:02:20 +01:00
mike12345567
2057985631 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
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
1b8e6ce195 Merge branch 'master' of github.com:Budibase/budibase into lab-day-plausible 2021-06-01 15:16:09 +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
71834d01c6 Formatting. 2021-05-28 19:55:01 +01:00
mike12345567
9b7cbc9d01 Formatting. 2021-05-28 19:55:01 +01:00
mike12345567
71e192da6c Fixing an issue with page not loading. 2021-05-28 18:54:30 +01:00
mike12345567
dfd1815041 Fixing an issue with page not loading. 2021-05-28 18:54:30 +01:00
mike12345567
28099d6454 Fixing bug. 2021-05-28 12:05:03 +01:00
mike12345567
544f6a26ef Fixing bug. 2021-05-28 12:05:03 +01:00
mike12345567
4b6fd4149b Making sure certain fields aren't cleansed. 2021-05-28 12:04:15 +01:00
mike12345567
6416d7f197 Making sure certain fields aren't cleansed. 2021-05-28 12:04:15 +01:00
mike12345567
6c2f0f5917 Cleansing input rows against the table schema. 2021-05-28 11:59:04 +01:00
mike12345567
70019b9b74 Cleansing input rows against the table schema. 2021-05-28 11:59:04 +01:00
Martin McKeaveney
a453f6cac2 adding watchtower to docker config 2021-05-28 10:09:32 +01:00
Martin McKeaveney
0c90f9ffc5 adding watchtower to docker config 2021-05-28 10:09:32 +01:00
mike12345567
bc6660fd0e Updating permissions to allow roles other than builder/admin to use apps properly. 2021-05-27 14:53:41 +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
f3198aec98 sanitizing client lib URL 2021-05-24 21:30:46 +01:00
Martin McKeaveney
064f1e961b sanitizing client lib URL 2021-05-24 21:30:46 +01:00
Martin McKeaveney
4e2d8ee6cf removed node modules upload call 2021-05-24 19:54:00 +01:00
Martin McKeaveney
39fb5f9b78 removed node modules upload call 2021-05-24 19:54:00 +01:00
Martin McKeaveney
3d4eab27a8 remove public folder concept, upload client lib directly 2021-05-24 19:49:34 +01:00
Martin McKeaveney
1b920a2f16 remove public folder concept, upload client lib directly 2021-05-24 19:49:34 +01:00
mike12345567
8200f2a4e8 Fixing issue with redis updates in tests. 2021-05-24 17:05:46 +01:00
mike12345567
ab4e880807 Fixing issue with redis updates in tests. 2021-05-24 17:05:46 +01:00
mike12345567
4653471412 Updating UI to use the updated at. 2021-05-21 14:38:58 +01:00
mike12345567
a54b582e0d Updating UI to use the updated at. 2021-05-21 14:38:58 +01:00
mike12345567
f56250824c Adding a debounced updated at timestamp to applications. 2021-05-21 13:07:10 +01:00
mike12345567
6ccec1632a Adding a debounced updated at timestamp to applications. 2021-05-21 13:07:10 +01:00
Martin McKeaveney
79d5fbeaea fix lint 2021-05-20 13:09:02 +01:00
Martin McKeaveney
e28a5e98ab fix lint 2021-05-20 13:09:02 +01:00
mike12345567
53d5480aad Fixing automation test case. 2021-05-20 12:07:07 +01:00
mike12345567
3437f620d6 Fixing automation test case. 2021-05-20 12:07:07 +01:00
mike12345567
0db486d4e8 Formatting. 2021-05-19 16:24:50 +01:00
mike12345567
7d3169e5e1 Formatting. 2021-05-19 16:24:50 +01:00
mike12345567
ed63d1d8f2 Updating user test cases. 2021-05-19 16:24:20 +01:00
mike12345567
4e9097862d 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
d62280ae83 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
c6f7f115b5 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
0bbd45b413 Adding the ability to get all apps, with the status attached. 2021-05-19 15:09:57 +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
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
dbabe0afaf
Merge pull request #1496 from Budibase/feature/draft-apps
Feature/draft apps
2021-05-18 11:25:51 +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
19b1310c60 Merge branch 'feature/draft-apps' of github.com:Budibase/budibase into feature/draft-apps 2021-05-17 14:24:36 +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
dd4a963c3e Updating role system to never think about the dev app. 2021-05-17 14:20:19 +01:00
mike12345567
277ceb3ad1 Updating role system to never think about the dev app. 2021-05-17 14:20:19 +01:00
Martin McKeaveney
6dc288fcc3 merge 2021-05-16 21:29:07 +01:00
Martin McKeaveney
fc7ddbe540 merge 2021-05-16 21:29:07 +01:00
Martin McKeaveney
0ed0550e73 revert functionality working 2021-05-16 21:25:37 +01:00
Martin McKeaveney
0f2bcf581d revert functionality working 2021-05-16 21:25:37 +01:00
mike12345567
ac0f620b38 Formatting. 2021-05-14 16:32:51 +01:00
mike12345567
a61edd8124 Formatting. 2021-05-14 16:32:51 +01:00
mike12345567
c45fdefb48 Adding administration roles API. 2021-05-14 16:31:07 +01:00
mike12345567
c947199558 Adding administration roles API. 2021-05-14 16:31:07 +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
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
26014f4e5c Remove sorting by auto ID when output processing rows 2021-05-13 15:35:54 +01:00
Andrew Kingston
1a729aca91 Remove sorting by auto ID when output processing rows 2021-05-13 15:35:54 +01:00
mike12345567
86000b1714 Fixing issues with redis keys, however still not removing lock. 2021-05-13 14:34:04 +01:00
mike12345567
6056b8bb61 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
b5d23b19ff 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
mike12345567
9f09c76cce Fixing userId storage to redis and making sure lockedBy property never stored. 2021-05-13 14:17:04 +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
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
2fa7ee5bcb Formatting. 2021-05-12 17:43:29 +01:00
mike12345567
3ad1e9a5b2 Formatting. 2021-05-12 17:43:29 +01:00
mike12345567
f6fbeb4858 Putting together redis lock system. 2021-05-12 17:37:09 +01:00
mike12345567
2021c59dd9 Putting together redis lock system. 2021-05-12 17:37:09 +01:00
mike12345567
fed94bea70 Merge branch 'next' of github.com:Budibase/budibase into feature/draft-apps 2021-05-12 12:49:42 +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
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
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
2ea05c44b4 Changing INTERNAL_KEY to INTERNAL_API_KEY. 2021-05-11 15:23:03 +01:00
mike12345567
8e1f18e456 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
0aabcf5a47 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
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
c8b1adb135 merge 2021-05-11 14:58:55 +01:00
Martin McKeaveney
6a688c7aad merge 2021-05-11 14:58:55 +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
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
6fa96981ae Other minor fixes after doing some initial setup testing. 2021-05-10 13:18:05 +01:00
mike12345567
77b4b206f7 Other minor fixes after doing some initial setup testing. 2021-05-10 13:18:05 +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
d517ca1ac9 Fixing issue with object store functions not being mockable in the server. 2021-05-07 14:27:46 +01: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
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
c259564ba8 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +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
556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston
797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
mike12345567
acc6eed8ff Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +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
4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Keviin Åberg Kultalahti
0afbf1649e lint:fix 2021-05-03 09:31:09 +02: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
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
0caad1f582 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +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
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
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
ade007482c Updating the server to remove use of the email in the user ID. 2021-04-19 16:26:33 +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
07d108aafa default user 2021-04-15 23:14:10 +01:00
Martin McKeaveney
d27609de40 default user 2021-04-15 23:14:10 +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
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
3697a270ec Linting. 2021-04-14 16:44:10 +01:00
mike12345567
c7171d0303 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
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
8b20fcb573 Getting most of the test auth working, adding in global builder configuration. 2021-04-13 18:12:35 +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
a8f7977510 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
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
d0bdd113e1 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
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
06f3b1fbad ensuring public users can log in after being assigned a roleId 2021-04-13 16:56:45 +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
b728fc1a3c currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney
d72a6dc8df currentapp being set correctly for user 2021-04-13 13:26:13 +01:00
Martin McKeaveney
654a53fc0a Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
Martin McKeaveney
3226ee90e2 Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +01:00
mike12345567
2aa26a2302 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
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
698c983056 Updating fetch self to get the global user as well as local metadata. 2021-04-12 15:54:14 +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
22a3f1691f in progress - currentapp token 2021-04-12 12:02:28 +01:00
Martin McKeaveney
dd0b4baef5 in progress - currentapp token 2021-04-12 12:02:28 +01:00
mike12345567
dccd559b56 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567
4f71e11c94 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567
164ef9a22e Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567
3214abb89a Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567
b419430f04 Updating to make sure a relative URL is always used for attachments. 2021-04-09 13:49:16 +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
75e0d82c8d Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
mike12345567
d508b905be Making attachments always a relative path on the way out. 2021-04-09 13:41:39 +01:00
mike12345567
fed4910ac8 Merge branch 'dev-experience' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:22 +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
c926206ad7 Fixing an issue with group by views. 2021-04-07 13:08:28 +01:00
mike12345567
852ecd840c Fixing an issue with group by views. 2021-04-07 13:08:28 +01:00
Andrew Kingston
4cb085d80d 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
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
2ccdf54924 Use node_modules to fetch component manifest in test env 2021-04-07 11:16:48 +01:00
Andrew Kingston
1ca48a1602 Use node_modules to fetch component manifest in test env 2021-04-07 11:16:48 +01:00
mike12345567
e9e01f00cc Fixing issue with node modules path. 2021-04-01 16:36:27 +01:00
mike12345567
74aa94fac6 Fixing issue with node modules path. 2021-04-01 16:36:27 +01:00
mike12345567
07c4d519f6 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
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
b25cd7a23f Fixing node modules path. 2021-04-01 16:22:44 +01:00
mike12345567
2f03b758a9 Fixing node modules path. 2021-04-01 16:22:44 +01:00
mike12345567
e2c5051467 Updating standard components to make use of the development version in node_modules. 2021-04-01 16:19:31 +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
3672188f4e Some refactoring of utilities and constants, as well as documenting work carried out here. 2021-04-01 14:11:58 +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
8ea12c30a6 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
mike12345567
de694ff338 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
mike12345567
865baf6d16 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
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
a5fd8d0e33 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567
b97071bf82 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567
d459de1ae1 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
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
321d3cbd5d 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
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
e9ceff42d5 Attempting to solve component library issue permanently in test. 2021-03-25 15:19:41 +00:00
mike12345567
8d23152562 Attempting to solve component library issue permanently in test. 2021-03-25 15:19:41 +00:00
mike12345567
1cf0027c6e 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
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
7c2ef4d43f Fixing cypress test issues. 2021-03-25 13:32:05 +00:00
mike12345567
6919057320 Fixing cypress test issues. 2021-03-25 13:32:05 +00:00
mike12345567
3bef238d55 Updating system for hosting error that blocked creating apps when server not configured correctly. 2021-03-25 12:53:43 +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
f4c7455936 merge 2021-03-24 20:44:52 +00:00
Martin McKeaveney
4d141d8ba8 merge 2021-03-24 20:44:52 +00:00
mike12345567
775ae3171f Fixing an issue with attachments. 2021-03-24 18:31:13 +00:00
mike12345567
c91f21f8e2 Fixing an issue with attachments. 2021-03-24 18:31:13 +00:00
mike12345567
73cf53d149 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
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
e9ed014bac Adding a self host clause around minio aws config. 2021-03-24 12:55:29 +00:00
mike12345567
ff993db223 Adding a self host clause around minio aws config. 2021-03-24 12:55:29 +00:00
mike12345567
e61a365d24 Some changes after testing, needed to update object store client creation. 2021-03-24 12:54:59 +00:00
mike12345567
9c0a4ab4fb Some changes after testing, needed to update object store client creation. 2021-03-24 12:54:59 +00:00
mike12345567
e715423544 Fixing some test cases that were affected by file system refactor. 2021-03-23 18:04:53 +00:00
mike12345567
1a878c3e08 Fixing some test cases that were affected by file system refactor. 2021-03-23 18:04:53 +00:00
mike12345567
19b5b41953 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
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
d7497aa989 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
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
afaa706e07 simplify try catch in manage script 2021-03-23 11:01:33 +00:00
Martin McKeaveney
90228e3334 simplify try catch in manage script 2021-03-23 11:01:33 +00:00
mike12345567
091782389a 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
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
35e3999b05 Merge branch 'single-stack-dev' of github.com:Budibase/budibase into feature/fs-removal 2021-03-22 17:20:07 +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
0f05568412 moving some test cases to not use file system and re-introducing the image processor. 2021-03-22 17:19:45 +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
bf2adb0458 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
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
2852a739a4 basic single stack dev setup 2021-03-22 15:43:26 +00:00
Martin McKeaveney
6742c3ca99 basic single stack dev setup 2021-03-22 15:43:26 +00:00
mike12345567
95ee615006 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
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
8821eba634 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
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
2f608b3320 Merge branch 'master' of github.com:Budibase/budibase into tests/automation-tests 2021-03-15 20:44:54 +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
8b9271e5b7 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
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
3b0988074c Removing un-used code and removing some files from coverage that aren't of consequence. 2021-03-15 17:14:56 +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
b63599d024 Adding in all the automation step tests, beginning work on the general automation tests. 2021-03-12 15:32:16 +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
63f081930f Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +00:00
mike12345567
dd16c84ecd Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +00:00
mike12345567
daaf352b89 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
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
eacf3387de Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567
bd00138bed Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567
2467ae2a2e 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
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
491eb00ea1 Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567
acba31d29d Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567
74dfeb7c7b 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
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
f134724ed6 Fixing coercion of null to empty string for options fields. 2021-02-25 11:26:28 +00:00
mike12345567
641fd42686 Fixing coercion of null to empty string for options fields. 2021-02-25 11:26:28 +00:00
mike12345567
63db4edbbe Fixing an issue with option fields not being unselectable. 2021-02-25 11:09:00 +00:00
mike12345567
468ee7ac0c Fixing an issue with option fields not being unselectable. 2021-02-25 11:09:00 +00:00
mike12345567
d34a9e12e2 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
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
cdb1c87069 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
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
a6d82f8c95 Updating the self auth endpoint to use the row processor. 2021-02-19 10:32:24 +00:00
mike12345567
fa6d3e5e63 Updating the self auth endpoint to use the row processor. 2021-02-19 10:32:24 +00:00
mike12345567
24a07bae41 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
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
f572bc836e work in progress, enriching in the display names. 2021-02-17 18:04:21 +00:00
mike12345567
5fab1529ec work in progress, enriching in the display names. 2021-02-17 18:04:21 +00:00
mike12345567
cecc8e4306 Starting with some work towards a deeper enrichment of rows. 2021-02-17 17:09:59 +00:00
mike12345567
a93eb180ce Starting with some work towards a deeper enrichment of rows. 2021-02-17 17:09:59 +00:00
mike12345567
cae779c1dc Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-17 15:20:14 +00:00
mike12345567
d294ffbb3b Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-17 15:20:14 +00:00
mike12345567
1f92d09d7f 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
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
a744515ee2 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-16 16:38:11 +00:00
mike12345567
4ccd46e2a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-16 16:38:11 +00:00
mike12345567
02a68beee1 Some further UI work for auto-columns. 2021-02-16 13:56:40 +00:00
mike12345567
113de64833 Some further UI work for auto-columns. 2021-02-16 13:56:40 +00:00
mike12345567
89d33ea98a Removing unused stuff. 2021-02-15 18:41:26 +00:00
mike12345567
1a2b9bbef4 Removing unused stuff. 2021-02-15 18:41:26 +00:00
mike12345567
10aa830d05 Work in progress, getting the server backend mostly ready for this work. 2021-02-15 17:47:14 +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
e7135e0058 Fixing test case. 2021-02-12 20:41:30 +00:00
mike12345567
8bf10544c2 Fixing test case. 2021-02-12 20:41:30 +00:00
mike12345567
f57db6afad 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
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
c812823c3f Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
mike12345567
6bc9123a86 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
mike12345567
da59ca30e6 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
mike12345567
f266129489 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
mike12345567
fcc683cf99 Some more fixes for RBAC as well as fixing the duplication of roles. 2021-02-12 12:02:07 +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
0e95370b79 Linting. 2021-02-12 09:55:37 +00:00
mike12345567
a1075881a6 Linting. 2021-02-12 09:55:37 +00:00
mike12345567
3fd557bf08 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
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
60b7d68c2e Fixing minor issue with switch to level -> roleID. 2021-02-11 13:38:07 +00:00
mike12345567
a2ce35b2f6 Fixing minor issue with switch to level -> roleID. 2021-02-11 13:38:07 +00:00
mike12345567
091b4ee95d Some updates to RBAC backend, try to make switch to object support level -> roleID. 2021-02-11 13:29:15 +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
a3ae17be8e Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
mike12345567
c3840d8017 Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
mike12345567
fdb825d444 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
mike12345567
1abc4dd1f7 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
Andrew Kingston
aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +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
7a2405c756 First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567
ca20cbeeca First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567
f4a503d015 WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
mike12345567
feb7e2756f WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
mike12345567
123846dab0 Fixing a minor issue with self hosting deployment/app creation. 2021-02-09 17:43:22 +00:00
mike12345567
182d720051 Fixing a minor issue with self hosting deployment/app creation. 2021-02-09 17:43:22 +00:00
mike12345567
31d7a7a378 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
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
c8ef404560 Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case. 2021-02-09 13:01:45 +00:00
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
d9ca4f0eed Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +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
7d8cdafc60 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
mike12345567
7a65a59c78 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
mike12345567
cd729192ea Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
mike12345567
a55d836c33 Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
mike12345567
9f1c2cd602 Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567
5f582dd1dc Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567
8eeda82511 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
mike12345567
45b65c6a11 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
mike12345567
e0ea434f27 Added some unit tests for the enrichment process of rows, in the process found some issues with linking a table to itself, so fixed those so that we can do that in the future if desired. 2021-02-02 11:46:10 +00:00
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
b1127b718e
Merge pull request #1049 from Budibase/feature/selfhosting-info
Quick update to self hosting to make next steps clear
2021-02-01 13:24:50 +00:00
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
d0f389a5cb smoother downloads, lint 2021-01-29 21:52:45 +00:00
Martin McKeaveney
675e374323 smoother downloads, lint 2021-01-29 21:52:45 +00:00
Martin McKeaveney
91ee1b313e copy even users to dump 2021-01-29 17:17:13 +00:00
Martin McKeaveney
94ef16075a copy even users to dump 2021-01-29 17:17:13 +00:00
mike12345567
4d1ad5e726 This commit includes some fixes for a few auth issues I found when I was working on this and a static page which shows the self hosting info to get the user going (if they end up there). 2021-01-28 18:30:59 +00:00
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
67624ebe94 import and export apps 2021-01-27 13:55:46 +00:00
Martin McKeaveney
9f8c9fa810 import and export apps 2021-01-27 13:55:46 +00:00
mike12345567
afe0996b70 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +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
3f6d9e21e0 Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
mike12345567
ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
mike12345567
e8ef03bb1c Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
mike12345567
5a7c0de397 Adding jest test cases to string templating library. 2021-01-19 17:29:38 +00:00
mike12345567
759a106d2d Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
mike12345567
329b76590c Updating to have real auto-completion on string templates library. 2021-01-19 15:29:49 +00:00
mike12345567
3c627d6455 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +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
70a49088d0 merge 2021-01-18 14:43:26 +00:00
Martin McKeaveney
53db6e05f9 merge 2021-01-18 14:43:26 +00:00
mike12345567
67cc893670 Removing mention of mustache from the server package. 2021-01-15 14:38:10 +00:00
mike12345567
cdef4ead8c Removing mention of mustache from the server package. 2021-01-15 14:38:10 +00:00
Martin McKeaveney
6f57c1d22d better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Martin McKeaveney
a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
mike12345567
61f5d77335 Adding some fixes for general settings menu not respecting non-deployed apps fully. 2021-01-14 17:52:49 +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
0c66d9fca4 When self hosting it is now possible to use a pretty URL to access the app rather than the normal appId. 2021-01-14 17:01:31 +00:00
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
6c6f93af34
Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00