Commit 40cd98b
Dev to main sync (RealDevSquad#143)
* Auto fetch task which are overdue
* added type definitions for taskoverdue, refactored the code and removed the use of any
* fixed return type of scheduled func
* added fixtures and tests for getDiscordIds func
* updated type def for user backend
* removed public key from .toml and removed kick command from baseHandler
* removed public key
* added error message in getDiscordIds.ts
* added fixture for taskOverdue, written test for taskOverDue, restructured the code of scheduleEventHandler, altered tests for getDiscordIds, refactored code for taskOverDueDiscordMembers, refactored code for getDiscordIds
* forgot to add updated typeDefinitions for taskOverdue
* extracted url to url.ts
* resolved comments by:bharti
* resolving comments
* keeping schedule event under comments
* error handling in scheduledEventHandler
* resolved comments by:bharti
* resolving comments by:dipayan
* replaced staging url with production
* inserted tracking channel id in url
* extracted super user discord id to constants
* BugFix: /listening (RealDevSquad#126)
* bug fix
* refactored te code
* major fixes
* resolved the comments
---------
Co-authored-by: Prakash Choudhary <[email protected]>
* FEATURE: Add /task command (RealDevSquad#127)
* FEATURE: add code changes for /task command
* feat(utils): add formatDate and formatTask utility
* feat(message): update response format
* FEATURE: add code changes for /task command
* FEAT: add TASK command to register
* Update src/utils/getNickName.ts
* REFACTOR: change var name and add try-catch to getNickName fun
* TEST: add tet for formatDate and formatStatusToTitleCase function
* REFACTOR: extract fetchTasks fun
* TEST: add test for fetchTasks
* TEST(FIX): fix formatDate test
* TEST: improve test coverage of fetchTasks function
* TEST: add test for formatTasks function
* TEST: fix failed test
* TEST: fix failed test
* remove console from getNickName.ts
* TEST: add test for fetchTask funtion
* REFACTOR: changes position of status var
* REFACTOR: add try catch to fetchTasks function
* FIX: lint
* Making Auto fetch Overdue task live (RealDevSquad#134)
* Refactor : Task command (RealDevSquad#137)
* REFACTOR: add function to get RDS user data and replace formatDate function
* TEST: add test for changes
* TEST: add more test
* REFACTOR: change date format
* REFACTOR: change type file extension
* FORMAT: fix prettier
* Discord bot command called user that takes a username as an option and provides user details in response
* Registered /user command for a bot in a specific guild
* /OOO command to get user OOO details (RealDevSquad#129)
* Added utility functions to get and return user details
* Test : For utility functions
* Refactor : time stamp conversion
---------
Co-authored-by: FMK2312 <[email protected]>
Co-authored-by: Sunny Sahsi <[email protected]>
Co-authored-by: Fakhruddin KW <[email protected]>
Co-authored-by: Vinit khandal <[email protected]>
Co-authored-by: SHREYA MISHRA <[email protected]>
Co-authored-by: Prakash Choudhary <[email protected]>
Co-authored-by: Vinit <[email protected]>
Co-authored-by: Dash Deipayan <[email protected]>1 parent cdf3f54 commit 40cd98b
File tree
8 files changed
+99
-1
lines changed- src
- constants
- controllers
- typeDefinitions
- utils
- tests/unit/utils
8 files changed
+99
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
125 | 132 | | |
126 | 133 | | |
127 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
51 | 62 | | |
0 commit comments