1
0
Fork 0
mirror of synced 2024-09-14 16:27:26 +12:00
Commit graph

744 commits

Author SHA1 Message Date
Andrew Kingston
960a2925ca Fix bug with determing whether another page exists when performing paginated searches 2021-05-13 12:38:12 +01:00
Andrew Kingston
e09440f077 Allow multipage searches and implement optional pagination to data providers 2021-05-13 12:26:18 +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
Martin McKeaveney
c3e7548255 dev mode E2E 2021-05-13 11:06:08 +01:00
mike12345567
3ad1e9a5b2 Formatting. 2021-05-12 17:43:29 +01:00
mike12345567
3f75ebf853 Adding dev endpoint to clear lock. 2021-05-12 17:43:01 +01:00
mike12345567
e4aaf69792 Updating search endpoint to have egress processing. 2021-05-12 14:44:47 +01:00
mike12345567
75f9335a44 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
Andrew Kingston
4db2ee1843 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
2f5ecf6e5f Removing more useless deployment code. 2021-05-11 17:53:54 +01:00
mike12345567
4827ee1484 Formatting. 2021-05-11 17:50: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
Andrew Kingston
1a2e17ff17 Add support for numerical sorting 2021-05-11 11:24:16 +01:00
Andrew Kingston
e661fe8cf2 Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-11 10:47:52 +01:00
mike12345567
6db30045ad Some cleanup. 2021-05-10 18:07:57 +01:00
mike12345567
d517ca1ac9 Fixing issue with object store functions not being mockable in the server. 2021-05-07 14:27:46 +01:00
mike12345567
4e3bc326b4 Updating with a tested and functional API for uploading files for configs. 2021-05-07 13:55:30 +01:00
mike12345567
e5f3b3956c Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Martin McKeaveney
8ecb70a8f7 merge with next 2021-05-04 11:40:59 +01:00
Andrew Kingston
797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston
c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
mike12345567
dcf69b2181 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Martin McKeaveney
72ed644803 merge 2021-05-04 09:55:14 +01:00
Keviin Åberg Kultalahti
0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston
6f6770cef7 Add server-side searching and pagination to data providers using internal tables 2021-04-30 16:29:53 +01:00
Martin McKeaveney
6d32d5f8b1 tidy up 2021-04-30 15:44:37 +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
3a601d76ce Support NOT lucene queries and escape whitespace 2021-04-29 14:55:51 +01:00
Martin McKeaveney
b876e91ae6 merge with next 2021-04-29 11:45:47 +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
102f4bf1d4 Stripping out conjunction in view filter if its the first one. 2021-04-28 14:57:52 +01:00
Martin McKeaveney
6462848191 config specificity 2021-04-22 11:45:22 +01:00
mike12345567
89fef34401 Updating cypress tests to work with the new user ID system. 2021-04-21 11:33:12 +01:00
mike12345567
de19e986c6 Linting and formatting. 2021-04-20 17:33: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
2ef1586d4d Adding cleanup operation to dynamo client. 2021-04-19 22:36:14 +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
Martin McKeaveney
201b26059c account for empty user id in automations 2021-04-15 21:34:03 +01:00
mike12345567
aacfb6adba Updating worker/server to run in cypress properly. 2021-04-15 16:25:48 +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
3dfe255eb4 Removing test case that isn't valid anymore. 2021-04-14 17:27:58 +01:00
Martin McKeaveney
0f6bfb53fc removing initial user creation 2021-04-14 17:02:12 +01:00
mike12345567
56552d02ef Removing server 403. 2021-04-14 15:44:18 +01:00
mike12345567
6c58c90a7a Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
mike12345567
e8383653c1 Formatting. 2021-04-13 20:26:26 +01:00
mike12345567
c7c158dd84 Fixing up tests, need to mock most of the worker functionality so that worker doesn't need to run during tests. 2021-04-13 20:25:43 +01:00
mike12345567
f1e37a501c Fixing an issue with save row, changing how pre existing was handled caused an issue. 2021-04-13 17:41:32 +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
mike12345567
56b4b1583c Fixing some issues with the ctx.user, this was previously filled in by the old auth middleware. 2021-04-13 15:27:47 +01:00
Martin McKeaveney
d82516d949 remove buildertoken refs 2021-04-13 14:00:09 +01:00
Martin McKeaveney
3226ee90e2 Authentication working on builder homepage, integration with currentapp middleware 2021-04-13 11:56:57 +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
Martin McKeaveney
e2ce7098c5 merge 2021-04-12 10:48:27 +01:00
Martin McKeaveney
98576f586e login page 2021-04-11 11:35:55 +01:00
mike12345567
4f71e11c94 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567
e34894dd92 Global user management now functioning as expected, there were some errant db.destroy functions from the system previously, this is now cleaned up. 2021-04-09 16:55:56 +01:00
mike12345567
3214abb89a Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
Andrew Kingston
e76f40548b Disable image processing of attachments 2021-04-09 14:22:11 +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
8cde219db9 First pass of global user configuration through existing user API with role mappings. 2021-04-08 16:58:33 +01:00
Martin McKeaveney
c7f4070ff5 encapsulate more auth functionality into shared module and use in worker 2021-04-08 11:20:37 +01:00
Martin McKeaveney
57b3a28708 Merge branch 'dev-experience' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 17:17:00 +01:00
mike12345567
30b7678c78 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 2021-04-07 16:08:29 +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
mike12345567
a4b1f2390e Formatting. 2021-04-06 18:08:07 +01:00
mike12345567
74aa94fac6 Fixing issue with node modules path. 2021-04-01 16:36:27 +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
0b7502ba7e Updating some route middleware security. 2021-04-01 14:38:31 +01:00
mike12345567
de694ff338 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
mike12345567
2252498cd6 Updating dev server rendered svelte app client link. 2021-04-01 12:08:47 +01:00
mike12345567
1c44808336 Adding a nuke stack option at top of repo and then setting up proxy for dev experience through envoy. 2021-04-01 12:02:31 +01:00
Andrew Kingston
60a045b4c3 Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Andrew Kingston
ee33a151b0 Support serving vite-bundled builder from server 2021-03-31 19:55:55 +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
Martin McKeaveney
8f5fd32f74 scripting block 2021-03-26 14:56:34 +00:00
mike12345567
12ed9f9d02 Quick change after reviewing. 2021-03-26 14:46:29 +00:00
mike12345567
273855ed8c Some minor updates to make search test cases pass. 2021-03-26 14:11:24 +00:00
mike12345567
97f8d34947 Some final changes to search system so that the new indexing system is used instead of mango to achieve exactly the same result. 2021-03-26 13:46:20 +00:00
mike12345567
b97071bf82 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567
24c523faad Initialising CouchDB link to lucene and app design DBs for it. 2021-03-25 18:04:44 +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
6919057320 Fixing cypress test issues. 2021-03-25 13:32:05 +00:00
mike12345567
8a577b81f6 Fixing an issue with a test case, was going down dev path. 2021-03-25 11:41:41 +00:00
Martin McKeaveney
9c281baeb6 script block 2021-03-25 11:17:04 +00:00
mike12345567
e58d689ca0 Formatting. 2021-03-24 18:31:53 +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
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
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
14586cd124 moving some test cases to not use file system and re-introducing the image processor. 2021-03-22 17:19:45 +00:00
mike12345567
fca242b9ee Updating API keys and changing over system to allow use of builder endpoints when running in cloud. 2021-03-22 16:39:11 +00:00
mike12345567
c49637db47 Work in progress, have refactored the templating system to remove local templates, application and template system now work through minio with no file access. 2021-03-19 19:07:47 +00:00
mike12345567
b765502d74 Working on moving file system access around, starting by centralising it then working out what needs to be moved to object store and how. 2021-03-19 14:43:41 +00:00
mike12345567
7c5771c32d Merge branch 'browser-compat' of github.com:Budibase/budibase into browser-compat 2021-03-16 14:12:26 +00:00
Andrew Kingston
21ad0d0022 Merge branch 'browser-compat' of github.com:Budibase/budibase into browser-compat 2021-03-16 13:52:05 +00:00
Andrew Kingston
9212a2f623 Revert deletion of S3 upload of attachments in cloud env 2021-03-16 13:51:50 +00:00
mike12345567
4a3a420dee Merge branch 'next' of github.com:Budibase/budibase into browser-compat 2021-03-16 13:50:31 +00:00