Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFixes: Minimize Docker resource efficiency (this pull request is to pass github test flow for branch different than develop) #2791

Closed
Changes from 1 commit
Commits
Show all changes
674 commits
Select commit Hold shift + click to select a range
ff67081
fix: Fixed error in UnblockUser mutation (#2243)
Doraemon012 Apr 21, 2024
3f59503
fix minor bug: ensure single database connection on server startup (#…
lokeshwar777 Apr 22, 2024
53e08d5
chore(deps): bump @typescript-eslint/parser from 7.6.0 to 7.7.0 (#2247)
dependabot[bot] Apr 22, 2024
f7a0d01
chore(deps): bump @types/node from 20.12.5 to 20.12.7 (#2252)
dependabot[bot] Apr 22, 2024
436f609
chore(deps): bump mongoose from 8.3.1 to 8.3.2 (#2248)
dependabot[bot] Apr 22, 2024
8216ba5
chore(deps): bump @graphql-tools/utils from 10.1.2 to 10.1.3 (#2250)
dependabot[bot] Apr 22, 2024
867c51c
chore(deps): bump @typescript-eslint/eslint-plugin from 7.6.0 to 7.7.…
dependabot[bot] Apr 22, 2024
03fe1b8
wrong org id (#2231)
pranshugupta54 Apr 22, 2024
5f7b155
feat : Event agendas - Minor improvements and fixes (#2254)
Atharva-Kanherkar Apr 22, 2024
7bd0b3f
fix: Fixed permissions for deleting fundraising campaigns (#2256)
akhilender-bongirwar Apr 22, 2024
715cbca
Fix: Ensure videos directory is created before running tests (#2261)
akhilender-bongirwar Apr 25, 2024
21dcbd1
Update README.md
palisadoes Apr 27, 2024
0730681
Update README.md
palisadoes Apr 27, 2024
a7fa6e3
fix: invalid url error while fetching advertisements (#2226)
disha1202 Apr 27, 2024
636e51c
Added new media directories (#2267)
palisadoes Apr 27, 2024
6e196fa
Updates INSTALLATION.md to be clearer on Docker installation (#2269)
palisadoes Apr 28, 2024
0f8f683
Update the Docker Setup Process Documentation (#2271)
palisadoes Apr 28, 2024
c39d46d
Updated the installation steps. Fixes #2268 (#2272)
palisadoes Apr 29, 2024
107780b
Fixes #2268 v3 (#2273)
palisadoes Apr 29, 2024
85c2684
Mongodb setup bug + tests (#2257)
pranshugupta54 Apr 29, 2024
c32c2d7
Fixes #2268 - Ubuntu docker-compose Path (#2275)
palisadoes Apr 29, 2024
bf09811
Fixes #2268 v4 (#2276)
palisadoes Apr 29, 2024
bba81e8
chore(deps): bump @apollo/server from 4.10.2 to 4.10.4 (#2277)
dependabot[bot] Apr 29, 2024
6430789
chore(deps): bump ioredis from 5.3.2 to 5.4.1 (#2278)
dependabot[bot] Apr 29, 2024
5200473
chore(deps): bump tsx from 4.7.2 to 4.7.3 (#2279)
dependabot[bot] Apr 29, 2024
094622b
chore(deps): bump @vitest/coverage-v8 from 1.5.0 to 1.5.2 (#2280)
dependabot[bot] Apr 29, 2024
eb6470b
chore(deps): bump @types/i18n from 0.13.10 to 0.13.12 (#2281)
dependabot[bot] Apr 29, 2024
9fa6a1c
feat: prompt server port during setup (#2263)
NamitBhutani May 1, 2024
2304f1e
chore(deps): bump @types/nodemailer from 6.4.14 to 6.4.15 (#2287)
dependabot[bot] May 6, 2024
0996dbb
chore(deps): bump @graphql-tools/utils from 10.1.3 to 10.2.0 (#2288)
dependabot[bot] May 6, 2024
b97d386
chore(deps): bump @vitest/coverage-v8 from 1.5.2 to 1.6.0 (#2290)
dependabot[bot] May 6, 2024
f423571
chore(deps): bump typedoc-plugin-markdown from 3.17.1 to 4.0.0 (#2289)
dependabot[bot] May 6, 2024
5c03305
chore(deps): bump @typescript-eslint/eslint-plugin from 7.7.0 to 7.8.…
dependabot[bot] May 6, 2024
ebce5ed
Fix error invoking getFundraisingById Resolver (#2294)
GlenDsza May 9, 2024
6c8ae19
chore(deps): bump typedoc-plugin-markdown from 4.0.0 to 4.0.1 (#2301)
dependabot[bot] May 13, 2024
16ce46f
chore(deps): bump ws from 8.16.0 to 8.17.0 (#2302)
dependabot[bot] May 13, 2024
75ae77c
chore(deps): bump rimraf from 5.0.5 to 5.0.7 (#2303)
dependabot[bot] May 13, 2024
07222bd
Fixed error in populating pledges & its users (#2299)
GlenDsza May 13, 2024
0b54a13
chore(deps): bump zod from 3.22.4 to 3.23.8 (#2304)
dependabot[bot] May 13, 2024
ca4b029
chore(deps): bump validator and @types/validator (#2300)
dependabot[bot] May 13, 2024
fca05f1
Fixed setup not detecting SERVER_PORT in .env (#2297)
lokicodess May 16, 2024
99e1dd4
bugfixed 1979 api (#2298)
rahulch07 May 18, 2024
9e44434
chore(deps): bump mongoose-paginate-v2 from 1.8.0 to 1.8.1 (#2308)
dependabot[bot] May 23, 2024
17cf44f
chore(deps): bump @types/lodash from 4.17.0 to 4.17.4 (#2309)
dependabot[bot] May 23, 2024
33e85fd
chore(deps): bump @typescript-eslint/eslint-plugin from 7.8.0 to 7.9.…
dependabot[bot] May 23, 2024
ce27220
coderabbit yaml (#2313)
pranshugupta54 May 23, 2024
4518f6e
Query for AgendaCategory by organization (#2316)
gautam-divyanshu May 23, 2024
b4161ba
Bug fixed: Agenda Item & section mutation and Query (#2321)
gautam-divyanshu May 23, 2024
9b54d15
chore(deps): bump @typescript-eslint/parser from 7.7.0 to 7.10.0 (#2322)
dependabot[bot] May 23, 2024
b9fecf3
chore(deps): bump @graphql-codegen/typescript from 4.0.6 to 4.0.7 (#2…
dependabot[bot] May 27, 2024
68d4f54
chore(deps): bump redis from 4.6.13 to 4.6.14 (#2325)
dependabot[bot] May 27, 2024
1fd4fae
chore(deps): bump axios from 1.6.8 to 1.7.2 (#2326)
dependabot[bot] May 27, 2024
a9901bb
chore(deps): bump @typescript-eslint/eslint-plugin from 7.9.0 to 7.10…
dependabot[bot] May 27, 2024
83fe756
chore(deps): bump @graphql-codegen/typescript-resolvers (#2327)
dependabot[bot] May 30, 2024
a02d462
Fix superadmin access #2307 with user-posted media (#2318)
lokicodess Jun 1, 2024
c3dc32b
chore(deps): bump lint-staged from 15.2.2 to 15.2.5 (#2332)
dependabot[bot] Jun 3, 2024
eb1ef98
chore(deps): bump @types/node from 20.12.7 to 20.14.0 (#2334)
dependabot[bot] Jun 3, 2024
7ffa02a
chore(deps): bump mongodb from 6.5.0 to 6.7.0 (#2331)
dependabot[bot] Jun 3, 2024
8aa4d5b
chore(deps): bump @graphql-inspector/cli from 4.0.3 to 5.0.6 (#2333)
dependabot[bot] Jun 3, 2024
cdada28
chore(deps): bump @typescript-eslint/parser from 7.10.0 to 7.12.0 (#2…
dependabot[bot] Jun 10, 2024
b49d646
chore(deps): bump typedoc-plugin-markdown from 4.0.1 to 4.0.3 (#2338)
dependabot[bot] Jun 10, 2024
40032ff
chore(deps): bump @types/lodash from 4.17.4 to 4.17.5 (#2340)
dependabot[bot] Jun 10, 2024
268927d
chore(deps): bump mongoose-paginate-v2 from 1.8.1 to 1.8.2 (#2339)
dependabot[bot] Jun 10, 2024
e59b14b
chore(deps): bump uuid from 9.0.1 to 10.0.0 (#2341)
dependabot[bot] Jun 10, 2024
6bc9821
Add Sort for FundCampaigns & modify Pledge Update/Delete Resolvers (#…
GlenDsza Jun 12, 2024
521a812
chore(deps): bump express-rate-limit from 7.2.0 to 7.3.1 (#2348)
dependabot[bot] Jun 17, 2024
61a3eab
chore(deps): bump @graphql-tools/utils from 10.2.1 to 10.2.2 (#2349)
dependabot[bot] Jun 17, 2024
f5c4c00
chore(deps): bump pm2 from 5.3.1 to 5.4.0 (#2350)
dependabot[bot] Jun 17, 2024
165ae34
chore(deps): bump lint-staged from 15.2.5 to 15.2.7 (#2352)
dependabot[bot] Jun 17, 2024
b337911
Agenda Item By Event and Organization (#2346)
gautam-divyanshu Jun 17, 2024
9855945
chore(deps): bump nodemailer from 6.9.13 to 6.9.14 (#2364)
dependabot[bot] Jun 24, 2024
3cfcdf8
chore(deps): bump @typescript-eslint/parser from 7.12.0 to 7.13.1 (#2…
dependabot[bot] Jun 24, 2024
1912a2d
chore(deps): bump eslint-plugin-tsdoc from 0.2.17 to 0.3.0 (#2365)
dependabot[bot] Jun 24, 2024
0c8536e
chore(deps): bump @typescript-eslint/eslint-plugin from 7.10.0 to 7.1…
dependabot[bot] Jun 24, 2024
2d376be
done (#2357)
gautam-divyanshu Jun 25, 2024
b2e403e
Add Search & Sort support for fundsByOrganization & getFundById (#2367)
GlenDsza Jun 25, 2024
89a4ebb
Removed .github/workflows/pull_changes.yml (#2347)
anwersayeed Jun 28, 2024
2da7e73
done (#2370)
gautam-divyanshu Jul 3, 2024
9b6c06a
chore(deps): bump tsx from 4.7.3 to 4.16.0 (#2372)
dependabot[bot] Jul 4, 2024
a2ac260
chore(deps): bump @graphql-codegen/typescript-resolvers (#2374)
dependabot[bot] Jul 4, 2024
71c17b9
chore(deps): bump @types/node from 20.14.0 to 20.14.9 (#2375)
dependabot[bot] Jul 4, 2024
dccb451
Documentation :TSDoc Comments in config, directives, helpers director…
gautam-divyanshu Jul 5, 2024
2f8fb69
Bug in translations (#2384)
pranshugupta54 Jul 6, 2024
109cc0b
chore(deps): bump @graphql-tools/utils from 10.2.2 to 10.3.1 (#2387)
dependabot[bot] Jul 12, 2024
7527508
chore(deps): bump tsx from 4.16.0 to 4.16.2 (#2388)
dependabot[bot] Jul 12, 2024
718e904
chore(deps): bump typedoc-plugin-markdown from 4.0.3 to 4.1.2 (#2390)
dependabot[bot] Jul 12, 2024
ade24e7
chore(deps): bump redis from 4.6.14 to 4.6.15 (#2391)
dependabot[bot] Jul 12, 2024
d0c167b
chore(deps): bump rimraf from 5.0.7 to 6.0.1 (#2392)
dependabot[bot] Jul 12, 2024
7fb4ea8
chore(deps): bump @typescript-eslint/parser from 7.13.1 to 7.16.0 (#2…
dependabot[bot] Jul 15, 2024
0479dae
chore(deps): bump typedoc-plugin-markdown from 4.1.2 to 4.2.1 (#2397)
dependabot[bot] Jul 15, 2024
2f7ea21
chore(deps): bump @types/lodash from 4.17.5 to 4.17.6 (#2398)
dependabot[bot] Jul 15, 2024
151f44b
chore(deps): bump @graphql-tools/utils from 10.3.1 to 10.3.2 (#2399)
dependabot[bot] Jul 15, 2024
7fc9f13
Added `usertags` connection (GSoC) (#2394)
meetulr Jul 15, 2024
d6db44f
chore(deps): bump ws from 8.17.0 to 8.18.0 (#2410)
dependabot[bot] Jul 23, 2024
7b5dfaa
chore(deps): bump @types/validator from 13.11.10 to 13.12.0 (#2411)
dependabot[bot] Jul 23, 2024
591ad4d
chore(deps): bump @graphql-codegen/typescript from 4.0.8 to 4.0.9 (#2…
dependabot[bot] Jul 23, 2024
d4de28b
chore(deps): bump husky from 9.0.11 to 9.1.1 (#2413)
dependabot[bot] Jul 23, 2024
4989592
chore(deps): bump @graphql-tools/schema from 10.0.3 to 10.0.4 (#2414)
dependabot[bot] Jul 23, 2024
29f4141
Added mutations for directChat and groupChat and fix subscriptions (#…
disha1202 Jul 23, 2024
2aa1c0a
Documentation: Ts docs Part-2 (#2406)
gautam-divyanshu Jul 23, 2024
19f6664
Documentation: TSDoc comments in Resolvers folder (#2409)
gautam-divyanshu Jul 25, 2024
51ece02
Resolving the bug-fix (#2379)
Suyash878 Jul 25, 2024
7258cfd
fix: issue #2382 by upgrading graphql version (#2415)
Aaradhy-Sharma Jul 25, 2024
1f38da5
Add tests for 100% coverage of src/resolvers/User/posts.ts (#2417)
Aaradhy-Sharma Jul 27, 2024
681148f
chore(deps): bump @graphql-codegen/typescript-resolvers (#2422)
dependabot[bot] Jul 29, 2024
71b44f5
chore(deps): bump mongodb from 6.7.0 to 6.8.0 (#2425)
dependabot[bot] Jul 29, 2024
93b4041
chore(deps): bump mongoose-paginate-v2 from 1.8.2 to 1.8.3 (#2421)
dependabot[bot] Jul 29, 2024
0556d61
chore(deps): bump @types/uuid from 9.0.8 to 10.0.0 (#2423)
dependabot[bot] Jul 29, 2024
6712e99
Workflow removed for docs generation (#2427)
gautam-divyanshu Aug 2, 2024
1428b03
chore(deps): bump typedoc-plugin-markdown from 4.2.1 to 4.2.3 (#2436)
dependabot[bot] Aug 7, 2024
81c2f0e
chore(deps): bump redis from 4.6.15 to 4.7.0 (#2438)
dependabot[bot] Aug 7, 2024
f053f40
chore(deps): bump @apollo/server from 4.10.4 to 4.10.5 (#2434)
dependabot[bot] Aug 7, 2024
0db7f78
chore(deps): bump husky from 9.1.1 to 9.1.4 (#2435)
dependabot[bot] Aug 7, 2024
fe65d85
Added getPledgesByUserId Resolver & added pledges and campaigns in Ap…
GlenDsza Aug 11, 2024
14d78bc
Added getEventVolunteerGroups (#2446)
GlenDsza Aug 11, 2024
7d136c2
Tsdoc comments for left over files Part-4 (#2444)
gautam-divyanshu Aug 11, 2024
7aa603d
Update CONTRIBUTING.md
palisadoes Aug 11, 2024
50c0f0d
Update README.md
palisadoes Aug 11, 2024
142a09b
Update CONTRIBUTING.md
palisadoes Aug 11, 2024
1bca86c
chore(deps): bump typescript from 5.4.5 to 5.5.4 (#2450)
dependabot[bot] Aug 12, 2024
e95e758
chore(deps): bump prettier from 3.2.5 to 3.3.3 (#2452)
dependabot[bot] Aug 12, 2024
10a5203
chore(deps): bump express-rate-limit from 7.3.1 to 7.4.0 (#2453)
dependabot[bot] Aug 12, 2024
db3d2f5
feat: User tags backend adjustments (GSoC) (#2460)
meetulr Aug 15, 2024
3bacbf3
changed reference from twitter to X (#2463)
AnshulKahar2729 Aug 17, 2024
36642ab
chore(deps): bump tsx from 4.16.2 to 4.17.0 (#2469)
dependabot[bot] Aug 20, 2024
8f8ec57
chore(deps): bump axios from 1.7.2 to 1.7.4 (#2470)
dependabot[bot] Aug 20, 2024
fda09a9
chore(deps): bump winston from 3.13.0 to 3.14.2 (#2468)
dependabot[bot] Aug 20, 2024
03fef5e
chore(deps): bump @graphql-tools/schema from 10.0.4 to 10.0.6 (#2467)
dependabot[bot] Aug 20, 2024
0b4c3aa
created (#2455)
gautam-divyanshu Aug 21, 2024
a683bda
done (#2457)
gautam-divyanshu Aug 21, 2024
cd9c868
Added Caddy Support to Talawa API Cloud Instance (#2430)
vasujain275 Aug 21, 2024
27e091c
fix: add ts-doc comments (#2475)
meetulr Aug 23, 2024
b5c4805
Update feature-request.md
palisadoes Aug 24, 2024
ceae03f
Update bug-report.md
palisadoes Aug 24, 2024
a87b45a
dedchange (#2481)
prayanshchh Aug 24, 2024
2ce36aa
chore(deps): bump lint-staged from 15.2.7 to 15.2.9 (#2487)
dependabot[bot] Aug 26, 2024
b725e81
chore(deps): bump vitest and @vitest/coverage-v8 (#2488)
dependabot[bot] Aug 26, 2024
d526ae4
chore(deps): bump @types/lodash from 4.17.6 to 4.17.7 (#2489)
dependabot[bot] Aug 26, 2024
72e1e6b
chore(deps): bump @typescript-eslint/eslint-plugin from 8.0.1 to 8.2.…
dependabot[bot] Aug 26, 2024
f81fb09
chore(deps): bump husky from 9.1.4 to 9.1.5 (#2486)
dependabot[bot] Aug 26, 2024
67d017f
ci: add parallelism to reduce tests CI time (#2490)
syedali237 Aug 30, 2024
4942af2
Add changes for CodeRabbit.AI (#2495)
ARYANSHAH1567 Sep 1, 2024
8478615
chore(deps): bump lint-staged from 15.2.9 to 15.2.10 (#2498)
dependabot[bot] Sep 2, 2024
2137476
chore(deps): bump tsx from 4.17.0 to 4.19.0 (#2499)
dependabot[bot] Sep 2, 2024
534ade4
chore(deps): bump @apollo/server from 4.10.5 to 4.11.0 (#2501)
dependabot[bot] Sep 2, 2024
1ac9aab
chore(deps): bump @types/node from 20.14.9 to 22.5.2 (#2500)
dependabot[bot] Sep 2, 2024
cedc0f1
Update .node-version
palisadoes Sep 2, 2024
4ae6ee6
Update pull-request.yml
palisadoes Sep 2, 2024
2bd7ea0
Update push.yml
palisadoes Sep 2, 2024
95597d7
Remove Deprecated ESLint Config (#2504)
GlenDsza Sep 2, 2024
0e711c6
Update Action Item & Category Resolvers (#2508)
GlenDsza Sep 7, 2024
b4099b9
Added Sample Data For AgendaCategory & Removed Delete Fund/Campaign M…
GlenDsza Sep 8, 2024
b411d90
chore(deps): bump graphql-markdown from 7.0.0 to 7.1.0 (#2513)
dependabot[bot] Sep 9, 2024
92fd725
chore(deps): bump @types/node from 22.5.2 to 22.5.4 (#2514)
dependabot[bot] Sep 9, 2024
29a4afc
chore(deps): bump @types/yargs from 17.0.32 to 17.0.33 (#2516)
dependabot[bot] Sep 9, 2024
9f4d540
chore(deps): bump concurrently from 8.2.2 to 9.0.0 (#2517)
dependabot[bot] Sep 9, 2024
69f027c
Added the field Identifier (#2509)
ARYANSHAH1567 Sep 9, 2024
6093752
Fixed setup script (#2512)
ARYANSHAH1567 Sep 9, 2024
df7a52d
Fixed the eslint_disable_check.py script (#2521)
ARYANSHAH1567 Sep 15, 2024
7a9acec
chore(deps): bump typedoc-plugin-markdown from 4.2.3 to 4.2.7 (#2536)
dependabot[bot] Sep 17, 2024
c952c7a
chore(deps): bump tsx from 4.19.0 to 4.19.1 (#2537)
dependabot[bot] Sep 17, 2024
2683bbf
Feature: Added MinIO Setup and Configuration for Local and Docker Env…
chandel-aman Sep 23, 2024
bbdb374
chore(deps): bump @types/jsonwebtoken from 9.0.6 to 9.0.7 (#2543)
dependabot[bot] Sep 28, 2024
3e1689c
chore(deps): bump @faker-js/faker from 8.4.1 to 9.0.1 (#2544)
dependabot[bot] Sep 28, 2024
efa063f
chore(deps): bump @vitest/coverage-v8 from 2.0.5 to 2.1.1 (#2545)
dependabot[bot] Sep 28, 2024
54d44cf
upgraded the nodemailer package to 6.9.15 (#2549)
syedali237 Sep 28, 2024
fb5076f
Query returns null for the image field of the likedBy object of the p…
prayanshchh Sep 28, 2024
d77e6b9
chore(deps): bump axios from 1.7.4 to 1.7.7 (#2557)
dependabot[bot] Oct 1, 2024
c1e47ae
chore(deps): bump helmet from 7.1.0 to 8.0.0 (#2558)
dependabot[bot] Oct 1, 2024
eba6bb5
chore(deps): bump eslint-plugin-import from 2.29.1 to 2.30.0 (#2559)
dependabot[bot] Oct 1, 2024
fb23e01
chore(deps): bump concurrently from 9.0.0 to 9.0.1 (#2560)
dependabot[bot] Oct 5, 2024
5e38dbf
chore(deps): bump @types/validator from 13.12.0 to 13.12.2 (#2546)
dependabot[bot] Oct 5, 2024
628dcf2
chore(deps): bump winston from 3.14.2 to 3.15.0 (#2566)
dependabot[bot] Oct 9, 2024
d9b4cf8
chore(deps): bump @vitest/coverage-v8 from 2.1.1 to 2.1.2 (#2567)
dependabot[bot] Oct 9, 2024
0e11238
chore(deps): bump eslint-plugin-import from 2.30.0 to 2.31.0 (#2568)
dependabot[bot] Oct 9, 2024
82726ff
chore(deps): bump @typescript-eslint/parser from 8.0.1 to 8.8.0 (#2569)
dependabot[bot] Oct 9, 2024
b677650
chore(deps): bump express-rate-limit from 7.4.0 to 7.4.1 (#2570)
dependabot[bot] Oct 9, 2024
cc00489
Implemented Reply functionality for DirectChat and GroupChat (#2420)
disha1202 Oct 12, 2024
f63e383
Revert "Implemented Reply functionality for DirectChat and GroupChat …
palisadoes Oct 12, 2024
c03e2fb
Migrating to eslint.config.js (#2522)
Suyash878 Oct 12, 2024
7dd375d
Update push.yml
palisadoes Oct 12, 2024
1628ba4
Update pull-request.yml
palisadoes Oct 12, 2024
790ab29
Update pull-request.yml
palisadoes Oct 12, 2024
e9391fa
session management feature for merge (#2556)
JordanCampbell1 Oct 13, 2024
2bbde4b
mdx file name changed (#2586)
gautam-divyanshu Oct 13, 2024
d262c65
Update codeql-codescan.yml
palisadoes Oct 14, 2024
f9e8275
Update codeql-codescan.yml
palisadoes Oct 14, 2024
63f9965
chore(deps): bump husky from 9.1.5 to 9.1.6 (#2588)
dependabot[bot] Oct 14, 2024
68ef5ec
chore(deps): bump @types/lodash from 4.17.7 to 4.17.10 (#2589)
dependabot[bot] Oct 14, 2024
dac0b6d
chore(deps): bump @types/node from 22.5.4 to 22.7.5 (#2590)
dependabot[bot] Oct 14, 2024
61f89fd
chore(deps): bump @graphql-codegen/typescript from 4.0.9 to 4.1.0 (#2…
dependabot[bot] Oct 14, 2024
01a2814
chore(deps): bump graphql-voyager from 2.0.0 to 2.1.0 (#2592)
dependabot[bot] Oct 14, 2024
c1dc667
Configurable Session Timeout for Community (#2464)
JordanCampbell1 Oct 15, 2024
755c14a
Handle creatorId (#2564)
ARYANSHAH1567 Oct 17, 2024
c35f0f3
updated vitest and @vitest/coverage-v8 version (#2595)
Aryan4884 Oct 17, 2024
f1c816b
updated eslint version (#2594)
Aryan4884 Oct 17, 2024
9600b6c
feat: implemented Reply functionality for chat (#2584)
disha1202 Oct 21, 2024
2f605f9
Updated chat schema (#2466)
disha1202 Oct 21, 2024
cb0e624
chore(deps): bump @types/lodash from 4.17.10 to 4.17.12 (#2603)
dependabot[bot] Oct 22, 2024
4e2e045
chore(deps): bump date-fns from 3.6.0 to 4.1.0 (#2605)
dependabot[bot] Oct 22, 2024
be55d7f
chore(deps): bump @graphql-tools/resolvers-composition (#2607)
dependabot[bot] Oct 22, 2024
4a88fe6
chore(deps): bump @types/node from 22.7.5 to 22.7.8 (#2609)
dependabot[bot] Oct 22, 2024
7e5ec1c
feat: Add functionality for adding people to a tag (GSoC) (#2612)
meetulr Oct 27, 2024
2f8be16
updated google recaptcha image in installation.md (#2608)
sethdivyansh Oct 27, 2024
f526143
Update pull-request.yml
palisadoes Oct 27, 2024
5392ea0
Update pull-request.yml
palisadoes Oct 27, 2024
2c372d9
feat: Add support for bulk tag operations (GSoC) (#2616)
meetulr Oct 28, 2024
2ab7dd8
Update dependabot.yaml
palisadoes Oct 29, 2024
9bf7afd
chore(deps): bump graphql-upload from 16.0.2 to 17.0.0 (#2622)
dependabot[bot] Oct 29, 2024
6c588a0
chore(deps): bump @types/express-rate-limit from 6.0.0 to 6.0.2 (#2620)
dependabot[bot] Oct 29, 2024
adb4c7c
chore(deps): bump graphql-markdown from 7.1.0 to 7.3.0 (#2618)
dependabot[bot] Oct 29, 2024
848f31a
chore(deps): bump @typescript-eslint/parser from 8.8.1 to 8.11.0 (#2619)
dependabot[bot] Oct 29, 2024
42024f6
chore(deps): bump uuid from 10.0.0 to 11.0.1 (#2621)
dependabot[bot] Oct 29, 2024
e59b02f
update pull-request.yml to ignore github actions when label "ignore-p…
govindsingh3477 Oct 29, 2024
9f3b05f
Onboard renovate (#2634)
tasneemkoushar Nov 1, 2024
f1f5f3b
fix: removed all references to direct chat and group chat (#2629)
disha1202 Nov 1, 2024
3f83e44
feat: Add filter and sort for userTags (GSoC) (#2635)
meetulr Nov 2, 2024
f4877b9
Add support for Volunteer Leaderboard, linking Volunteer/Groups/Membe…
GlenDsza Nov 2, 2024
e22122f
Events attended support added with fetching recurring event query (#2…
duplixx Nov 3, 2024
7631f17
Enhance File Storage and API Capabilities with Minio Integration and …
chandel-aman Nov 4, 2024
c2e98d0
chore(deps): bump nodemailer and @types/nodemailer (#2640)
dependabot[bot] Nov 4, 2024
3bae7c4
chore(deps): bump @types/cls-hooked from 4.3.8 to 4.3.9 (#2641)
dependabot[bot] Nov 4, 2024
3521837
chore(deps): bump @graphql-codegen/cli from 5.0.2 to 5.0.3 (#2642)
dependabot[bot] Nov 4, 2024
bba5d82
chore(deps): bump @apollo/server from 4.11.0 to 4.11.2 (#2643)
dependabot[bot] Nov 4, 2024
3adf52b
Fixed membership request being added in the user's DB (#2582)
syedali237 Nov 10, 2024
15e98ac
chore(deps): bump @types/node from 22.7.8 to 22.9.0 (#2648)
dependabot[bot] Nov 11, 2024
8acf00f
chore(deps): bump @types/lodash from 4.17.12 to 4.17.13 (#2651)
dependabot[bot] Nov 11, 2024
03bad97
chore(deps): bump globals from 15.11.0 to 15.12.0 (#2652)
dependabot[bot] Nov 11, 2024
7acaa69
chore(deps): bump @aws-sdk/client-s3 from 3.675.0 to 3.691.0 (#2662)
dependabot[bot] Nov 14, 2024
99ec143
chore(deps): bump @vitest/coverage-v8 from 2.1.3 to 2.1.5 (#2663)
dependabot[bot] Nov 14, 2024
9a60a87
chore(deps): bump @graphql-inspector/cli from 5.0.6 to 5.0.7 (#2665)
dependabot[bot] Nov 14, 2024
f6eeb9e
Update pull-request.yml
palisadoes Nov 14, 2024
3244b22
chore(deps): update dependencies (renov): dependency black to v24 [se…
renovate[bot] Nov 14, 2024
a6e7ac9
Update dependabot.yaml
palisadoes Nov 16, 2024
e978dd7
Feature/change PR template with check list added. (#2694)
HarshDodiya1 Nov 18, 2024
37cfbde
getVolunteerRanks test fix (#2704)
prayanshchh Nov 20, 2024
95152aa
Update pull-request.yml
palisadoes Nov 23, 2024
92443bb
Devcontainer (#2429)
AVtheking Nov 23, 2024
6ac435b
Update pull-request-target.yml
palisadoes Nov 25, 2024
9f4c0b0
Update pull-request-target.yml
palisadoes Nov 25, 2024
832d310
Using nodemon to get rid of the experimental warning (#2715)
Suyash878 Nov 25, 2024
740ca31
Removing eslintrc.json and eslintignore (#2743)
Suyash878 Dec 8, 2024
67c805e
Updating the setup script to handle sample data import for Docker (#…
VanshikaSabharwal Dec 11, 2024
6bd0fec
fix(deps): update dependencies (renov): dependency nanoid to v5.0.9 […
renovate[bot] Dec 12, 2024
f3280aa
Update README.md
palisadoes Dec 15, 2024
2440e4f
Update README.md
palisadoes Dec 15, 2024
0ca595e
Updated setup.ts to support docker compose v2 and pass npm run typech…
Aad1tya27 Dec 20, 2024
039b0f1
fix: Upgraded package typescript from 5.5.4 to 5.6.2 : fixes #2538 (#…
bandhan-majumder Dec 20, 2024
4b5c74f
Feature Added: An option for users to leave the Organization (Fixes P…
raggettii Dec 23, 2024
bde62af
Updated DockerCompose.dev.yaml for cosuming less resource
Dec 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix minor bug: ensure single database connection on server startup (#…
…2240)

* Fix MongoDB URI in loadPlugin function

* Implement connection check before establishing new database connection

* Replace isConnected variable with mongoose.connection.readyState check

* Add check comments to db.ts file
lokeshwar777 authored Apr 22, 2024
commit 3f595035067961274887dc7d39679cdcadeccdc3
2 changes: 1 addition & 1 deletion src/config/plugins/loadPlugins.ts
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import mongoose from "mongoose";
// Only loads plugin data for the time if it's not currently present in the database
const loadPlugins = async (): Promise<void> => {
try {
await mongoose.connect(process.env.MONGO_URI as string);
await mongoose.connect(process.env.MONGO_DB_URL as string);
logger.info("\x1b[1m\x1b[32m%s\x1b[0m", `Connected to the database`);
const res = await Plugin.find();
const databaseTitle = mongoose.connection.db.databaseName;
10 changes: 10 additions & 0 deletions src/db.ts
Original file line number Diff line number Diff line change
@@ -6,6 +6,12 @@ import { checkReplicaSet } from "./utilities/checkReplicaSet";
let session!: mongoose.ClientSession;

export const connect = async (dbName?: string): Promise<void> => {
// firstly we check if a connection to the database already exists.
if (mongoose.connection.readyState !== 0) {
// if the connection state is not 0, it means a connection already exists so we return.
return;
}
// if no connection exists, we try to establish a new connection.
try {
await mongoose.connect(MONGO_DB_URL as string, {
dbName,
@@ -52,6 +58,10 @@ export const connect = async (dbName?: string): Promise<void> => {
};

export const disconnect = async (): Promise<void> => {
if (mongoose.connection.readyState === 0) {
logger.warn("No active database connection to disconnect.");
return;
}
session?.endSession();
await mongoose.connection.close();
};