Skip to content

Conversation

@chintans
Copy link
Member

@chintans chintans commented May 7, 2017

This change is Reviewable

siddharthashw and others added 30 commits March 24, 2017 09:12
IConfigurationRepository.cs - repository for Configuration
ConfigurationController.cs - Controller for Configuration
HomeController.cs - updated the url of SlackOAuthAuthorization
ConfigurationStatusAC.cs - application class for configuration
PromactErpContext.cs - added table of configuration
Configuration.cs - model of Configuration
configuration.component.ts - configuration component
configuration.html - configuration page
configuration.model.ts - model of configuration
configuration.routes.ts - routing of configuration
configuration.service.ts - service of configuration
shared.service.ts - added shared service for global variable
app.component.ts - app method to get configuration set up
app.module.ts - added SharedService in provider
index.html - added link for configuration and validation for view
AutofacConfig.cs - register ConfigurationRepository
erp-custom.css - added css for switch (added by asra)

Fixes - #282
ConfigurationRepositoryTest.cs - added test case for ConfigurationRepository
Configuration.cs - added seed data for Configuration
…component.ts

configuration.component.ts - added string constant
configuration.service.ts - update the services
shared.service.ts - added get method
stringConstant.ts - added string constant

Fixes - #282
configuration.component.spec.ts - added 2 test cases
…d disable app

IConfigurationRepository.cs - added 2 methods to get app credential and disable app
ConfigurationRepositoryTest.cs - added 2 test cases for get app credential and disable app
ConfigurationController.cs - added authorize
HomeController.cs - updated SlackOAuthAuthorization
stringConstant.ts - update string slackAppUrl

Fixes - #282
package.json - updated md2 version to 0.0.17

Fixes - #282
…mmand

IStringConstantRepository.cs - separated scope for redmine and leave slash command
StringConstantRepository.cs - separated scope for redmine and leave slash command
…eBotTokenAsync in AppCredentialRepository. Fixes#282
IAppCredentialRepository.cs - added a method to Clear BotToken By Module
BotRepository.cs - added repository to handle task mail and scrum bot
IBotRepository.cs - added repository to handle task mail and scrum bot
ConfigurationRepository.cs - added functionality to turn off bot by module name
OAuthLoginRepository.cs - added functionality to turn on bot by module name
packages.config - Added slackAPI
AutofacConfig.cs(Test) - register BotRepository
AutofacConfig.cs - register BotRepository
Global.asax.cs - remove bot class resolving and added IBotRepository and turn on bot on 1st time run

Fixes - #282
ScrumRepository.cs - contain functionality of scrum bot
ISocketClientWrapper.cs - wrapper of slack client socket
SocketClientWrapper.cs - wrapper of slack client socket
ITaskMailBotRepository.cs - contain functionality of task mail bot
TaskMailBotRepository.cs - contain functionality of task mail bot
ConfigurationRepository.cs - added functionality to turn off bot
OAuthLoginRepository.cs - added functionality to turn on bot
AutofacConfig.cs (Test) - register IScrumRepository, ISocketClientWrapper and ITaskMailBotRepository
AutofacConfig.cs - register IScrumRepository, ISocketClientWrapper and ITaskMailBotRepository
BotStartUp.cs - added functionality for start bot if token exist
Global.asax.cs - moved Autofac dependency related startup.cs
Startup.cs - added autofac and related method

Fixes - #282
IAppCredentialRepository.cs - added a method to Clear BotToken By Module
BotRepository.cs - added repository to handle task mail and scrum bot
IBotRepository.cs - added repository to handle task mail and scrum bot
ConfigurationRepository.cs - added functionality to turn off bot by module name
OAuthLoginRepository.cs - added functionality to turn on bot by module name
packages.config - Added slackAPI
AutofacConfig.cs(Test) - register BotRepository
AutofacConfig.cs - register BotRepository
Global.asax.cs - remove bot class resolving and added IBotRepository and turn on bot on 1st time run

Fixes - #282
ScrumRepository.cs - contain functionality of scrum bot
ISocketClientWrapper.cs - wrapper of slack client socket
SocketClientWrapper.cs - wrapper of slack client socket
ITaskMailBotRepository.cs - contain functionality of task mail bot
TaskMailBotRepository.cs - contain functionality of task mail bot
ConfigurationRepository.cs - added functionality to turn off bot
OAuthLoginRepository.cs - added functionality to turn on bot
AutofacConfig.cs (Test) - register IScrumRepository, ISocketClientWrapper and ITaskMailBotRepository
AutofacConfig.cs - register IScrumRepository, ISocketClientWrapper and ITaskMailBotRepository
BotStartUp.cs - added functionality for start bot if token exist
Global.asax.cs - moved Autofac dependency related startup.cs
Startup.cs - added autofac and related method

Fixes - #282
siddharthashw and others added 30 commits May 22, 2017 15:59
MailSettingController.cs - divided code in region
groupAdd.component.spec.ts - added test case for selectEmail and removeEmail
groupAdd.component.ts - added functionality for selectEmail and removeEmail
groupAdd.html - used material chip and autoselect instead of md2-chip
groupEdit.component.spec.ts - added test case for selectEmail and removeEmail
groupEdit.component.ts - added functionality for selectEmail and removeEmail
groupEdit.html - used material chip and autoselect instead of md2-chip
group.module.ts -  added a provider MaterialAutoSelectChip
mailsetting.component.spec.ts - added test case for group select and remove
mailsetting.component..ts - added group select and remove functionality
mailsetting.html - used material chip and autoselect instead of md2-chip
mailsetting.module.ts - added a provider MaterialAutoSelectChip
angular-material-chip-autoselect.service.ts - added add and remove service from list which are used in material auto select
shared.module.ts - import and export MaterialModule
stringConstant.ts - added 2 string constants
karma-test-shim.js - added reference of material
package.json - added new package -> angular-material - 2.0.0.beta3
system.config.js - added reference of material
erp-custom.css - design for chip and autocomplete
AfterLogIn.cshtml - link for material reference

Fixes - #353
…s and TaskMailDetailsAC

EmailServiceTemplateRepository.cs - added function for "in comment column if there is no comments then it kept to be hyphen" and " in status column, status are in proper case. like, In Progress, Completed and Road Block"
TaskMailRepository.cs - updated the subject of task mail
Bot.cs - replace logger of user name
TaskMailDetailsAC.cs - application class for sent mail of task mail functionality
TaskMail.tt - updated first column name and remove unneccessary first line and updated data type
IStringConstantRepository.cs - added few string constants
StringConstantRepository.cs - added few string constants
AppStringLiteral.cs - added few string constants

Fixes - Task mail format
TaskMailRepository.cs - used tolower where it required for verification else save the same data as passed from user and used from of mail - FromMailAddressForTaskMailBot
EnvironmentVariableTestRepository.cs -  added new vaiable - EnvironmentVariableTestRepository
Bot.cs - used tolower were it is required
EnvironmentVariableRepository.cs - added new variable - EnvironmentVariableTestRepository
IEnvironmentVariableRepository.cs - added new variable - EnvironmentVariableTestRepository
IStringConstantRepository.cs - added new variable - EnvironmentVariableTestRepository
StringConstantRepository.cs - added new variable - EnvironmentVariableTestRepository
AppStringLiteral.cs - added new variable - EnvironmentVariableTestRepository
SETUP.md - updated set doc for mail setting

Fixes - #356
… ScrumBotRepository and updated its test cases. Fixes#358.
…rtSlackIdToSlackUserName to ProcessToConvertSlackUserRegexIdToSlackId

LeaveManagementBotRepository.cs - updated method name ProcessToConvertSlackIdToSlackUserName to ProcessToConvertSlackUserRegexIdToSlackId and remove dependencies of slack username
LeaveManagementBotRepositoryTest.cs - updated test cases parameters
Bot.cs - updated the name of ILeaveManagementBotRepository's ProcessToConvertSlackUserRegexIdToSlackId
OAuthController.cs - removed API unneccessary APIs
IStringConstantRepository.cs - added new string constant for username validation message
AppStringLiteral.cs - added new string constant for username validation message

Fixes - #358
Bot.cs - added functionality to re-connect bot when get exception
Fixes - bot reconnect issue and refresh token now expired and application gets stop working
Fixes - bot reconnect issue and refresh token now expired sue to which application gets stop working
…yRefreshToken

ServiceRepository.cs - added new parameter userId in GerAccessTokenByRefreshToken
AttachmentRepository.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
AttachmentRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
GroupRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
LeaveManagementBotRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
LeaveReportRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
MailSettingDetailsByProjectAndModuleTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
MailSettingRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
OauthCallsRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
OAuthLoginRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
ScrumBotRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
ScrumReportRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
ScrumSetUpRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
SlackRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
TaskMailRepositoryTest.cs - updated UserAccessTokenAsync as per changes in IServiceRepository
index.html - replace path of Promact ERP logo
leaveReport-Details.component.ts - added method to replace special character from text
scrumProject-Details.component.ts - added method to replace special character from text
taskmail-details.component.ts - added method to replace special character from text
package.json - added @types/jspdf
tsconfig-aot.json - noImplicitAny = true
typings.json - added jspdf for global
…alLoginAsync

Bot.cs - now bot will not be offline and user will get proper message
SessionExpiredException.cs - exception handler
IStringConstantRepository.cs - added string constants
StringConstantRepository.cs - added string constants
AppStringLiteral.cs - added string constants
leaveReport-Details.component.ts - added validation
scrumProject-Detailscomponent.ts - added validation
taskmail-detailscomponent.ts - added validation
scrumProject-Details.component.spec.ts - changes done as per changes in model
scrumProject-Details.component.ts - added replace special of array of string
scrumProject-EmployeeScrumDetails.model.ts - updated data type of Answers
mock.scrumReport.service.ts - changes done as per changes in model
Fixes - Scrum Report data type error
scrumProject-Details.component.ts - displaying issue fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants