GithubHelp home page GithubHelp logo

tricket's People

Contributors

mefernandez avatar ondevio avatar zephyrante avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tricket's Issues

Attachments

Enable the user to add attachments to a ticket

Automatizar backup de tricket con crontab

NOTA: Para que funcione en crontab, es importante usar la ruta absoluta /usr/local/bin/docker-compose y que no asigne consola con el parámetro -T.

crontab -e
@daily cd ~/git/tricket; /usr/local/bin/docker-compose run -T --rm backup

Actualizar contadores de tickets

Contadores actuales:

[centos@ip-172-31-33-44 tricket]$ docker run -it --link tricket_mongo_1:mongo --rm mongo sh -c 'exec mongo "$MONGO_PORT_27017_TCP_ADDR:$MONGO_PORT_27017_TCP_PORT/tricket"'
MongoDB shell version v3.4.4
connecting to: mongodb://172.17.0.5:27017/tricket
MongoDB server version: 3.4.4
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
	http://docs.mongodb.org/
Questions? Try the support group
	http://groups.google.com/group/mongodb-user
Server has startup warnings: 
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] 
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] 
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] 
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] 
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2017-07-13T17:43:31.176+0000 I CONTROL  [initandlisten] 
> use tricket
switched to db tricket
> show collections
counters
customers
migrations
tickets
> db.counters.find()
{ "_id" : "UNK", "seq" : 1 }
{ "_id" : "CUS", "seq" : 2 }
{ "_id" : "MAI", "seq" : 1 }
{ "_id" : "OND", "seq" : 21 }
{ "_id" : "BEL", "seq" : 1 }
{ "_id" : "FRE", "seq" : 1 }
{ "_id" : "GIT", "seq" : 8 }
{ "_id" : "AMA", "seq" : 52 }
{ "_id" : "COA", "seq" : 1 }
{ "_id" : "COI", "seq" : 1 }
{ "_id" : "ONDEVIO", "seq" : 61 }
{ "_id" : "COAATMU", "seq" : 69 }
{ "_id" : "ICAV", "seq" : 322 }
{ "_id" : "COAATAVILA", "seq" : 2 }
{ "_id" : "COAATZ", "seq" : 51 }
{ "_id" : "APATGN", "seq" : 20 }
{ "_id" : "COAATRIOJA", "seq" : 4 }
{ "_id" : "ACCOUNTS", "seq" : 1 }
{ "_id" : "GOODSERVERS", "seq" : 99 }
{ "_id" : "EC2", "seq" : 3 }
Type "it" for more
> it
{ "_id" : "COITT", "seq" : 29 }
{ "_id" : "FRESHDESK", "seq" : 1 }
{ "_id" : "HOTMAIL", "seq" : 1 }
{ "_id" : "COAATTERUEL", "seq" : 26 }
{ "_id" : "CERVIGLAS", "seq" : 22 }
{ "_id" : "CAATLLEIDA", "seq" : 7 }
{ "_id" : "CATEBRE", "seq" : 25 }
{ "_id" : "TISCALI", "seq" : 1 }
{ "_id" : "UCP", "seq" : 1 }
{ "_id" : "COAGRANADA", "seq" : 1 }
> 

Reorganizar repo

Raiz
Docker-compose.yml cada uno por carpeta por servicio
readme
lisence
jshint
docker-algo
mongo-algo
folders:
tricket
backup
migrations
Mailin

Borrado de tickets duplicados CATEBRE-27 CATEBRE-28

docker run -it --link tricket_mongo_1:mongo --rm mongo sh -c 'exec mongo "$MONGO_PORT_27017_TCP_ADDR:$MONGO_PORT_27017_TCP_PORT/tricket"'
> db.tickets.find({ticket_id: 'CATEBRE-27'})
{ "_id" : ObjectId("595bb6f6d99b2314be57303f"), "ticket_id" : "CATEBRE-27", "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Closed", "title" : "Problemes instalació nou equip", "dateCreated" : "2017-05-15T00:00:00.000Z", "worklog" : 2, "notes" : [ { "body" : "Problemes instalació nou equip", "type" : "Internal", "dateCreated" : "2017-05-15T00:00:00.000Z", "worklog" : 2, "user" : "Not asigned" } ], "files" : [ ] }
{ "_id" : ObjectId("5a04090699a4690001e06599"), "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Open", "title" : "No funciona FEW en Terres", "dateCreated" : "2017-11-09T07:51:34.593Z", "notes" : [ { "body" : "http://www.catebre.cat/few/src/main/webapp/Inicio.aspx", "type" : "external", "dateCreated" : "2017-11-09T07:51:34.593Z", "worklog" : 0, "user" : "Mariano Eloy Fernández Osca" } ], "files" : [ "error-few-terres-1510213824422" ], "ticket_id" : "CATEBRE-27" }
> db.tickets.deleteOne({"_id" : ObjectId("5a04090699a4690001e06599")})
{ "acknowledged" : true, "deletedCount" : 1 }
> db.tickets.find({ticket_id: 'CATEBRE-27'})
{ "_id" : ObjectId("595bb6f6d99b2314be57303f"), "ticket_id" : "CATEBRE-27", "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Closed", "title" : "Problemes instalació nou equip", "dateCreated" : "2017-05-15T00:00:00.000Z", "worklog" : 2, "notes" : [ { "body" : "Problemes instalació nou equip", "type" : "Internal", "dateCreated" : "2017-05-15T00:00:00.000Z", "worklog" : 2, "user" : "Not asigned" } ], "files" : [ ] }
> db.tickets.find({ticket_id: 'CATEBRE-28'})
{ "_id" : ObjectId("595bb6f6d99b2314be573023"), "ticket_id" : "CATEBRE-28", "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Closed", "title" : "Cambiar logo SABADELL web", "dateCreated" : "2017-05-22T00:00:00.000Z", "worklog" : 1, "notes" : [ { "body" : "Cambiar logo SABADELL web", "type" : "Internal", "dateCreated" : "2017-05-22T00:00:00.000Z", "worklog" : 1, "user" : "Not asigned" } ], "files" : [ ] }
{ "_id" : ObjectId("5a05769f99a4690001e0659a"), "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Open", "title" : "No funcion FEW en Terres", "dateCreated" : "2017-11-10T09:51:27.564Z", "notes" : [ { "body" : "Hubo que reiniciar los servicios de IIS, y también ambos sitios web del IIS (default y www.catebre.cat).\r\nEl problema estaba en la aplicación few-ws, que es un WS que provee del servicio de autenticación al FEW.\r\nPara comprobar el buen funcionamiento se debe acceder a FEW con usuario \"csd\".\r\nhttp://www.catebre.cat/few/src/main/webapp/modulos/seguridad/FewLogin.aspx", "type" : "external", "dateCreated" : "2017-11-10T09:51:27.564Z", "worklog" : "2", "user" : "Mariano Eloy Fernández Osca" } ], "files" : [ "" ], "ticket_id" : "CATEBRE-28" }
> db.tickets.deleteOne({"_id" : ObjectId("5a05769f99a4690001e0659a")})
{ "acknowledged" : true, "deletedCount" : 1 }

Modificar la asignación inicial de los comentarios del caracter interno a externo

Nos encontramos en la situación que en muchas ocasiones insertamos comentarios para el cliente y quedan guardados como internos y en consecuencia no llega al cliente el mensaje. De modo que hay que cambiar el sistema.

Una opción es no indicar inicialmente el carácter del mensaje. Cuando se añade la nota si no se ha seleccionado, Preguntar si se quiere dejar como carácter externo y enviar la información.

Otra opción que estaría muy bien es poder editar el carácter del mensaje. Si es indica externo, enviar información al cliente.

Thread emails

Add incoming emails to existing ticket if thread exists.

Recuperar los datos de tricket desde los volúmenes Docker

El servicio de spotify-docker-gc limpió todos los contenedores de la máquina services-tf después del apagado programado de la instancia AWS.

Los volúmenes de Docker aún están, pero hay que localizar el que correspondía a los datos de Tricket y restaurarlo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.