dbf256 / teamcity-password-reset-plugin Goto Github PK
View Code? Open in Web Editor NEWTeamCity password reset plugin
License: MIT License
TeamCity password reset plugin
License: MIT License
Instead of placing your settings in config/main-config.xml. You should consider making your own config file like config/teamcity-password-reset-plugin.xml
and reading your settings from there. Instead of doing it manually you could also do it like these guys https://github.com/guardian/teamcity-s3-plugin. And have your own settings page and have it write to that file.
I've added your plugin to TeamCity, however for some reason it is expecting issues with sending email on password reset. Please note that email notifications are properly configured and work in other cases (when pressing "Test Connection" button or for successful/failing builds).
TeamCity version: 9.1 (build 36973)
Logs from teamcity-server.log:
[2016-01-06 16:41:47,185] INFO - jetbrains.buildServer.SERVER - 1 user(s) were found for [email protected]
[2016-01-06 16:41:47,191] ERROR - jetbrains.buildServer.SERVER - Failed to send message, SMTP config is not valid: Port is not set, Host is not set
TeamCity does not have good API to send email to a user, but there is a jetbrains.buildServer.notification.MessageSender service which can be used for this task. At the moment this extension is implemented by email notifier only.
You can use jetbrains.buildServer.ExtensionProvider to obtain all registered implementations of MessageSender interface. You can distinguish email sender by looking for "Email Notifier" in return value of describe() method. Not very robust, but still better than implementing own email sending.
And by the way, congratulations for winning the plugin contest!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.