Commit graph

31 commits

Author SHA1 Message Date
Ashish
12d110e006
Feature/datasource connection pools (#357)
* add a library which defines available datasources as constants

* include thread_pool gem and concurrent-ruby gem

* modify per process connection_pools global variable to be a concurrent map datastructure

* add a new DsConnectionPool libary to provide the api for using connections from a connection pool

* convert the connection pool parameters in the ENV to integers before using them

* add a new function in the ds_connection_pool library to reset_connection_pool/s

* add unit tests for the ds_connection_pool library

* fix typo

* better variable names and module_names

* refactor connection pool library test cases to use mocked query service

* add magic comment to make strings frozen

* remove airtable from the list of connection pooled datasources

* separate module inside available_data_sources to list connection poolable datasources

* use datasource_id as the key for storing connection pools of a type; Also handle cases when the pools connections are stale

* add additional test cases for the connection pool library

* fix rubocop errors
2021-07-07 12:16:19 +05:30
Deepti Kakade
b10d777f63
Fixes Rubocop issues in tests (#359)
* Updated project set up guide for Mac, added node version and Webpack install steps.

* Worked on PR comment i.e Can we change this line to Install Node.js ( version: v14.9.0 )

* Fixed "Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping."

* Resolved rubocop comments i.e "Style/FrozenStringLiteralComment: Missing frozen string literal comment." in test folder

Co-authored-by: Deepti Kakade <deepti@saeloun.com>
Co-authored-by: Deepti Kakade <“deepti@saeloun.com”>
2021-07-01 12:54:35 +05:30
Nishant Samel
4aa0397f43
Add unique index to organization_users table (#358)
* Add unique index to `organization_users` table

- Fix https://github.com/ToolJet/ToolJet/issues/232

* Add respective validation test cases

Co-authored-by: Nishant Samel <nishant@saeloun.com>
2021-07-01 12:17:48 +05:30
Apoorv Tiwari
1f43ffec0a
Feature: Added forgot password (#264)
* Add forgot password feature

* Make the requested changes

Co-authored-by: “Apoorv <“tiwari.apoorv1316@gmail.com”>
2021-06-17 12:29:23 +05:30
Navaneeth Pk
e7b63cf233
Feature: Archived users should not be able to login & access restricted routes (#237) 2021-06-12 08:41:56 +05:30
Jibran Kalia
9883bc48e7
Feature: Archive organization users (#224)
Adds the ability to archive users on organization-level
2021-06-12 07:51:57 +05:30
navaneeth
dceaba4179 Feature: Check for updates every 24 hours 2021-06-06 11:11:21 +05:30
navaneeth
4b64b0634a Policy changes and tests for folders 2021-05-19 21:09:34 +05:30
navaneeth
27f6783efd Endpoint to add apps to folders 2021-05-19 15:45:51 +05:30
navaneeth
adbe9f4107 Feature: Endpoint to list folder apps 2021-05-19 14:42:10 +05:30
navaneeth
8bf8c7fb24 Feature: Endpoint for creating folders 2021-05-19 13:05:26 +05:30
navaneeth
2787d9efd5 Feature: Public applications 🎉 2021-05-07 13:55:09 +05:30
navaneeth
1e94dd5c6f Fixed failing tests for app user permissions 2021-04-29 12:12:24 +05:30
navaneeth
95858d1736 Setup Rubocop 2021-04-29 12:11:23 +05:30
navaneeth
4d26373268 Policies and tests for app user management endpoints 2021-04-27 14:54:21 +05:30
navaneeth
def707f0e1 Feature: App-level users & permissions 2021-04-27 12:36:45 +05:30
navaneeth
64069db149 Pundit policies and tests for organization user controller 2021-04-25 19:37:13 +05:30
navaneeth
2060cb0950 Tests for organizations controller 2021-04-25 18:11:46 +05:30
navaneeth
d327fe71dc Setup pundit authorization, add tests for apps controller 2021-04-25 18:05:36 +05:30
navaneeth
2be46770d9 Feature: Set user password from invitation tokens 2021-04-23 13:59:02 +05:30
navaneeth
df496aabcc Feature: Invitation email for new users 2021-04-23 13:06:02 +05:30
Navaneeth Pk
bb1c8e27b8
Feature: Add new users to the organization (#118) 2021-04-23 11:47:24 +05:30
navaneeth
21cb424fcd Generate & store OAuth2 tokens for dat asources 2021-04-18 15:00:07 +05:30
navaneeth
c79263fb40 [37] Encrypt data source credentials 2021-04-15 13:09:45 +05:30
navaneeth
7ede5b8256 Display all app versions 2021-04-12 14:52:51 +05:30
navaneeth
ed8e4f08a4 Endpoint to fetch organization users 2021-04-12 10:20:22 +05:30
navaneeth
78276a2467 Endpoint for fetching all app users 2021-04-12 09:42:00 +05:30
navaneeth
b4da94507d Feature: Create queries for postgresql datasources 2021-04-03 16:44:15 +05:30
navaneeth
3a1bf3c1bd Feature: Create datasources 2021-04-03 11:27:55 +05:30
navaneeth
79ff0e7a7c Feature: Create new apps 2021-04-01 16:29:27 +05:30
navaneeth
e6dcdcf3d3 Initial commit for rails API 2021-03-31 19:08:49 +05:30