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
|
151ed604f8
|
Fixing some issues detected by the test cases, making the in-use mechanism for context more clear to complete avoid stack up of contexts (leading to loss of knowledge around previous databases.
|
2022-04-20 23:10:39 +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 |
Rory Powell
|
33719fcb09
|
Merge branch 'feature/licensing' into feature/posthog-v2
|
2022-04-12 17:12:46 +01:00 |
Rory Powell
|
befb61c915
|
smtp events + centralise worker test config
|
2022-04-06 17:00:17 +01:00 |
Rory Powell
|
ec4e9df4c2
|
Refactor automation tests to run independently
|
2022-04-06 12:34:31 +01:00 |
Rory Powell
|
6128dfadcf
|
Logout events
|
2022-04-05 16:56:28 +01:00 |
Rory Powell
|
8d39bf9f2e
|
sso auth + datasource events, test updates
|
2022-04-05 15:46:04 +01:00 |
Rory Powell
|
d0af6cc8ca
|
App events
|
2022-04-04 15:59:00 +01:00 |
Rory Powell
|
15b676ce1c
|
Remove remaining direct usage of CouchDB. Add common pouch config to backend-core
|
2022-03-29 16:03:44 +01:00 |
Rory Powell
|
819f9b75de
|
Link app context with tenancy, remove app tenancy middleware
|
2022-03-24 13:04:49 +00:00 |
mike12345567
|
84ef694712
|
Fixing test case.
|
2022-02-28 18:53:03 +00:00 |
mike12345567
|
83d4994f55
|
Starting to fix up test cases.
|
2022-02-25 15:55:19 +00:00 |
Michael Drury
|
01bb56cbf4
|
Adding a testing system which generates the schema and compares against responses.
|
2022-02-24 23:21:10 +00:00 |
Maurits Lourens
|
a3626986a1
|
fix tests
|
2022-02-11 17:28:19 +01: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
|
e718b18127
|
Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db
|
2022-01-31 14:09:07 +00:00 |
Rory Powell
|
54a32b41ef
|
Merge branch 'develop' into feature/migrations-2.0
|
2022-01-30 22:37:11 +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 |
Rory Powell
|
767354ad60
|
Add app db support + app url migration
|
2022-01-27 10:40:31 +00:00 |
Rory Powell
|
ffcf5354eb
|
Add CSRF Token
|
2022-01-25 22:54:50 +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
|
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 |
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 |
Rory Powell
|
cc338f03df
|
Invalidate dynamic variables when they are removed from datasource
|
2022-01-11 10:35:53 +00:00 |
mike12345567
|
1327394784
|
Switching out @budibase/auth to @budibase/backend-core.
|
2022-01-10 19:33:00 +00:00 |
mike12345567
|
44a8d36c91
|
Adding basic test cases for static and dynamic variables (backend).
|
2022-01-04 18:23:45 +00:00 |
mike12345567
|
89d04d5cc7
|
Merge branch 'develop' of github.com:Budibase/budibase into fix/sql-issues
|
2021-10-27 14:51:43 +01:00 |
mike12345567
|
fa38a4b37e
|
Fixing test cases.
|
2021-10-27 13:10:46 +01:00 |
Rory Powell
|
67f851b68c
|
Update app id check in tests
|
2021-10-26 16:21:26 +01:00 |
Rory Powell
|
ad61f2af3b
|
Prevent non builder from accessing dev apps
|
2021-10-25 16:59:09 +01:00 |
Peter Clement
|
01265b0b02
|
fix tests
|
2021-09-28 15:29:42 +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 |
Michael Drury
|
b86a6fddc9
|
Revert "Multi-tenancy/organisations"
|
2021-08-04 10:02:24 +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
|
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
|
3f7bafe23d
|
Linting.
|
2021-07-22 22:37:20 +01:00 |
mike12345567
|
313302cae2
|
Fixing test cases and bugs that they raised.
|
2021-07-22 22:36:16 +01:00 |
mike12345567
|
b7995dd61d
|
Updating auth to utilise the tenant system.
|
2021-07-16 15:08:58 +01:00 |
mike12345567
|
912659a8ad
|
First version of multi-tenancy, work still to be done.
|
2021-07-15 17:57:02 +01:00 |
mike12345567
|
b0fb7ae991
|
Fixing test cases.
|
2021-07-08 00:30:55 +01:00 |
mike12345567
|
f0e7b9b25e
|
Speeding up server tests and removing the ability for it to port collide.
|
2021-06-25 16:14:06 +01:00 |
mike12345567
|
96fd8ed947
|
Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support.
|
2021-06-25 13:46:02 +01:00 |
Martin McKeaveney
|
f8fdae0604
|
automation server tests updated
|
2021-06-17 16:35:58 +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 |
mike12345567
|
e20b115b4d
|
Fixing broken backend test cases.
|
2021-06-07 14:08:49 +01:00 |
mike12345567
|
7032305f01
|
Formatting.
|
2021-06-04 12:13:57 +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
|
7ab24fed2b
|
merge with master
|
2021-05-20 10:40:15 +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 |
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
|
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
|
797e8a8b67
|
Add explicit prettier options
|
2021-05-04 11:32:22 +01:00 |
Keviin Åberg Kultalahti
|
0afbf1649e
|
lint:fix
|
2021-05-03 09:31:09 +02:00 |
mike12345567
|
819d6e79f5
|
Updates after finding a better template to use and adding some real email testing with Ethereal platform.
|
2021-04-26 14:14:51 +01:00 |
mike12345567
|
0dd46d12fa
|
Updating test cases and some re-work of the email system.
|
2021-04-23 18:07:39 +01:00 |
mike12345567
|
ea8e3b7d3f
|
Adding testing to worker, still WIP.
|
2021-04-23 14:58:06 +01:00 |
mike12345567
|
76ceb6a951
|
Some re-work of the auth package, making it a bit easier to use/less likely to make a mistake.
|
2021-04-21 16:42:44 +01:00 |
mike12345567
|
ec3a9db383
|
Updating test cases now that login has changed a bit.
|
2021-04-20 17:27:23 +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 |
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
|
105e1cc16f
|
Getting most of the test auth working, adding in global builder configuration.
|
2021-04-13 18:12:35 +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 |
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
|
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
|
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
|
d28737da34
|
Upping relationship coverage overall to 98% - looking over utilities which are barely ever used.
|
2021-03-16 23:25:18 +00:00 |
mike12345567
|
d6329e2409
|
Adding test cases which bring the link controller coverage to 100%.
|
2021-03-16 18:13:00 +00:00 |
mike12345567
|
794372987e
|
Adding more test cases for the controllers, tables and views weren't as well covered as required.
|
2021-03-15 16:36:38 +00:00 |
mike12345567
|
3406138f34
|
Finishing off automation test cases, above 90% coverage for automations codebase.
|
2021-03-15 14:11:13 +00:00 |
mike12345567
|
189a673c9c
|
Testing some of the automation actions (still a few to complete) and adding quick test case for the self host stuff.
|
2021-03-11 18:29:48 +00:00 |