ucdavis / aggie-bot Goto Github PK
View Code? Open in Web Editor NEWA Slack-compatible chat bot for use by UC Davis
License: MIT License
A Slack-compatible chat bot for use by UC Davis
License: MIT License
If someone posts a service-now ticket number and it is already in URL form, slackbot should not respond with the URL.
example here: https://ucdavis.slack.com/archives/C1BDQPBMK/p1490121523657511
User posted this URL:
https://ucdavisit.service-now.com/ess/knowledge_detail.do?sysparm_article=KB0000129
and the bot responded with:
https://ucdavisit.service-now.com/ess/knowledge_detail.do?sysparm_article=KB0000129
Would it be possible for the bot to ignore the user's post, either by seeing the "=KB...." or "http...KB..."
I'd like to get another opinion on this as the short URLs are http, not https.
For a given KB#, KB0000132
The current URL returned is:
https://ucdavisit.service-now.com/ess/knowledge_detail.do?sysparm_article=KB0000132
Is shorter version is preferred:
http://kb.ucdavis.edu/?id=0132
the short URL can be padded with zeros:
http://kb.ucdavis.edu/?id=0000132
Or the leading zeros can be removed:
http://kb.ucdavis.edu/?id=132
Instead of just 'ldap thielen' (which uses 'thielen' to search a number of fields), it should optionally recognize fields such as:
ldap mail somebody
ldap email somebody
ldap login somebody
ldap loginid somebody
etc.
When we find text like INC023923, it should offer a link to https://ucdavisit.service-now.com/textsearch.do?sysparm_no_redirect=true&sysparm_search=INC0384171
If someone mentions, say, a ServiceNow ticket in a thread, AggieBot will reply in the channel, not the thread. It should either be quiet or reply in the thread.
Use http://secalert.ucdavis.edu/contacts.pl to allow one to specify an IP and return the Slack + e-mail details. One command is in a channel, the other is for a DM.
For Standard Change templates:
STDCHG#######
e.g.: STDCHG0001026
The URL should be:
https://ucdavisit.service-now.com/nav_to.do?uri=std_change_proposal.do?sys_id=STDCHG0001026
For a Change Request
CHG#######
e.g.: CHG0031056
The URL should be:
https://ucdavisit.service-now.com/nav_to.do?uri=change_request.do?sys_id=CHG0031056
TBD
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.