GithubHelp home page GithubHelp logo

polonel / trudesk Goto Github PK

View Code? Open in Web Editor NEW
1.2K 54.0 419.0 83.27 MB

:coffee: :seedling: Trudesk is an open-source help desk/ticketing solution.

Home Page: http://trudesk.io

License: Other

JavaScript 86.61% CSS 4.45% HTML 0.60% TypeScript 0.11% Makefile 0.01% Dockerfile 0.01% Shell 0.01% SCSS 3.87% Sass 1.59% Handlebars 2.76%
mongodb javascript nodejs trudesk helpdesk tickets ticketing-system issues cases support

trudesk's Introduction


Community Edition

Codacy grade
© 2014-2023, Trudesk, Inc. (@trudesk).


Open Source Help Desk - Simply Organized.

Quickly resolve issues & task with an easy-to-use solution. Built with one goal in mind, to keep work loads organized and simple. This is the source for Trudesk Community Edition. For the more comprehensive, cloud-hosted version, please see Trudesk Cloud at Trudesk.io.

Deploy Trudesk Anywhere

Trudesk is built with nodejs and mongodb and can run on any cloud provider, docker, bare-metal, or even a raspberry pi. Take it for a spin on Ubuntu 20.04 with a one liner -
curl -L -s https://storage.trudesk.io/install/ubuntu-1.2.sh | sudo bash

Requirements

  • NodeJS 16+
  • MongoDB 5.0+
  • Elasticsearch 8 (optional to enable search)

Documentation

Online documentation: https://docs.trudesk.io/v1.2

Contributing

If you like what you see here, and want to help support the work being done, you could:

  • Report Bugs
  • Request/Implement Features
  • Refactor Codebase
  • Help Write Documentation

Sponsors

Just a few who have made the project possible.

Trudesk is tested with confidence using BrowserStack.

License

Copyright 2014-2023 Trudesk, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

trudesk's People

Contributors

0x3333 avatar adebisi-fa avatar ahmedadel999 avatar alsemany avatar arunyadavnitk avatar asilluron avatar clackner-gpa avatar codacy-badger avatar doekia avatar jbuehlz avatar josep11 avatar mrt-prodz avatar mtudury avatar nguyen26052004 avatar polonel avatar r00tedsec avatar rickyprat avatar semantic-release-bot avatar shahyar avatar snyk-bot avatar swat30 avatar tapvt avatar teutat3s avatar vijaye-statsig avatar yarun1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trudesk's Issues

Installation Failed

I got below issue during installation

Crap! Something funky happened.
Alright. This entire install script is in beta. Didn't I mention that? Anyway, there are a couple of options below to try and resolve the issue. There are some common pit falls and workarounds in the docs that may help. Submitting the issue will help identify any bugs in the script and will help others as well.

{"success":false,"error":{"name":"MongoError","message":"Authentication failed.","ok":0,"errmsg":"Authentication failed.","code":18,"codeName":"AuthenticationFailed"}}
turedesk_installation

OS : Windows 8 64 BIT

Error Installation

{"success":false,"error":{"code":11000,"index":0,"errmsg":"E11000 duplicate key error collection: trudesk.counters index: id dup key: { : "tickets" }","op":{"_id":"tickets","next":1001,"__v":0}}}

any idea ???

ticket types > create and tags > create does not do anything

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
I navigate the menu using settings > ticket types and click the "create" button in the top right.
The screen flashes (modal appears briefly), if I press it again the modal comes up and stays.

If I repeat the same procedure on tags I see the loading bar go across screen but no modal or change in screen. Repeated presses on create do nothing after this.

What did you expect to happen:
I expect modals (correct?) to be displayed to allow me to create a tag or ticket type

How to reproduce it (as minimally and precisely as possible):
Navigating off http://localhost:8118/settings/tickettypes/ and returning reproduces the behavior. The same for ../tags

Anything else we need to know?:
This is a fresh install, only one created ticket and the one admin user.

Environment:

  • Trudesk Version: Trudesk version 0.1.10 [release candidate]
  • OS (e.g. from /etc/os-release): Ubuntu 17.10, FireFox
  • Node.JS Version: 9.5
  • MongoDB Version: 3.2
  • Is this hosted on cloud.trudesk.io: no

Click Logout the system can not logout but return back to dashboard

Is this a BUG REPORT or FEATURE REQUEST?:

  • [x ] BUG
  • FEATURE

What happened:
Click Logout the system can not logout but return back to dashboard
What did you expect to happen:
return to login page
How to reproduce it (as minimally and precisely as possible):
deploy to the same environment . it occurs every time

Anything else we need to know?:

Environment:

  • Trudesk Version:1.0.0
  • OS (e.g. from /etc/os-release):macOS 10.13.4
  • Node.JS Version:v8.9.4
  • MongoDB Version:v3.6.3
  • Is this hosted on cloud.trudesk.io:no

Confirm Delete on Groups

Confirm Delete prompt needs to be added to the delete group button to prevent accidental deletion.

Messages Not Working

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
Starting a message does not open any type of window

What did you expect to happen:
Message popup

How to reproduce it (as minimally and precisely as possible):
I am using Chrome v61, click on any user in the online panel. Also clicking messages on the left hand side-panel does not seem to be showing anything besides the attempted conversations

server-side logs

11|trudesk | 11/9 11:32:44 [32201] - debug:  CastError: Cast to date failed for value "Invalid Date" at path "createdAt" for model "messages"
11|trudesk |     at new CastError (/home/trudesk/node_modules/mongoose/lib/error/cast.js:27:11)
11|trudesk |     at SchemaDate.cast (/home/trudesk/node_modules/mongoose/lib/schema/date.js:221:13)
11|trudesk |     at SchemaDate.handleSingle (/home/trudesk/node_modules/mongoose/lib/schema/date.js:256:15)
11|trudesk |     at SchemaDate.castForQuery (/home/trudesk/node_modules/mongoose/lib/schema/date.js:289:18)
11|trudesk |     at SchemaDate.SchemaType.castForQueryWrapper (/home/trudesk/node_modules/mongoose/lib/schematype.js:1035:17)
11|trudesk |     at cast (/home/trudesk/node_modules/mongoose/lib/cast.js:250:39)
11|trudesk |     at model.Query.Query.cast (/home/trudesk/node_modules/mongoose/lib/query.js:3204:12)
11|trudesk |     at model.Query.Query._castConditions (/home/trudesk/node_modules/mongoose/lib/query.js:1203:10)
11|trudesk |     at model.Query.Query._find (/home/trudesk/node_modules/mongoose/lib/query.js:1218:8)
11|trudesk |     at /home/trudesk/node_modules/kareem/index.js:250:8
11|trudesk |     at /home/trudesk/node_modules/kareem/index.js:23:7
11|trudesk |     at _combinedTickCallback (internal/process/next_tick.js:131:7)
11|trudesk |     at process._tickDomainCallback (internal/process/next_tick.js:218:9)

chrome logs

Error: {"message":"Cast to date failed for value \"Invalid Date\" at path \"createdAt\" for model \"messages\"","name":"CastError","stringValue":"\"Invalid Date\"","kind":"date","value":null,"path":"createdAt"}
    at new CastError (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/error/cast.js:27:11)
    at SchemaDate.cast (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/schema/date.js:221:13)
    at SchemaDate.handleSingle (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/schema/date.js:256:15)
    at SchemaDate.castForQuery (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/schema/date.js:289:18)
    at SchemaDate.SchemaType.castForQueryWrapper (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/schematype.js:1035:17)
    at cast (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/cast.js:250:39)
    at model.Query.Query.cast (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/query.js:3204:12)
    at model.Query.Query._castConditions (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/query.js:1203:10)
    at model.Query.Query._find (/Users/xxx/bitbucket/trudesk/node_modules/mongoose/lib/query.js:1218:8)
    at /Users/xxx/bitbucket/trudesk/node_modules/kareem/index.js:250:8
    at /Users/xxx/bitbucket/trudesk/node_modules/kareem/index.js:23:7
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)

Anything else we need to know?:

Environment:

  • Trudesk Version: 0.1.10
  • OS (e.g. from /etc/os-release): centos
  • Node.JS Version: v8.8.0
  • MongoDB Version: 2.6.12 - also attempted with v3.4.7 and had same error
  • Is this hosted on cloud.trudesk.io:
    no

Cannot connect to MongoDB, authentication failed

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened: Cannot connect to MongoDB, connection failed
image

This is log from MongdoDB
image

How to reproduce it (as minimally and precisely as possible):
Install dependencies: npm i yarn -g and then yarn
Build the scripts: npm run build
Start the server: npm start
Navigate to: http://localhost:8118

Environment:

  • Trudesk Version: 0.1.10
  • OS (e.g. from /etc/os-release): Windows 7 64
  • Node.JS Version: 8.9.3
  • MongoDB Version: 3.6
  • Is this hosted on cloud.trudesk.io: No

Cannot run Install wizard with firefox

The install wizard fails to run on Firefox due to a bug in Firefox not sending the ORIGIN header with the POST request. When the Trudesk server checks the origin of the request against its internal host it fails to validate and the Trudesk server kicks back the Request with Status 400.

Firefox Bug 1341689

[BUG] Create Tag button does nothing

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
The create tag button on the admin settings does nothing
What did you expect to happen:
Open a form to create a new tag
How to reproduce it (as minimally and precisely as possible):
Click the create tag button

Anything else we need to know?:

Trudesk Version: 0.1.10
OS (e.g. from /etc/os-release): Ubuntu Server 16.04
Node.JS Version: 9.7.1
MongoDB Version: 3.6.3
Is this hosted on cloud.trudesk.io: nope

Account creation fails

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
An error of Error: undefined is thrown when trying to create an account.
What did you expect to happen:
User account to be created.

How to reproduce it (as minimally and precisely as possible):
Try to make a user account while already have a user with an accesstoken

Anything else we need to know?:

Environment:

  • Trudesk Version: 0.1.10-rc2
  • OS (e.g. from /etc/os-release): OSX
  • Node.JS Version: 8
  • MongoDB Version 3.4:
  • Is this hosted on cloud.trudesk.io: No

Crash in MailCheck

Server crash when trying to convert mail -> ticket in mailcheck.js

TypeError: Cannot read property '_id' of null
at /etc/trudesk/src/mailer/mailCheck.js:138:77
at Query. (/etc/trudesk/node_modules/mongoose/lib/query.js:2181:28)
at /etc/trudesk/node_modules/kareem/index.js:259:21
at /etc/trudesk/node_modules/kareem/index.js:127:16
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
---------------------------------------------
at Kareem.execPost (/etc/trudesk/node_modules/kareem/index.js:126:20)
at /etc/trudesk/node_modules/kareem/index.js:251:15
at Immediate. (/etc/trudesk/node_modules/mongoose/lib/query.js:1160:14)
at Immediate. (/etc/trudesk/node_modules/mquery/lib/utils.js:137:16)
at runCallback (timers.js:570:20)
at tryOnImmediate (timers.js:550:5)
at processImmediate [as _immediateCallback] (timers.js:529:5)

Virtual Appliance - Bcrypt Seg Fault with Alpine Linux

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
Trudesk server segfaults when running Alpine Linux. Preventing user from progressing through the install wizard.

Environment:

  • Trudesk Version: 0.1.10
  • OS (e.g. from /etc/os-release): Alpine Linux 3.7
  • Node.JS Version: 8.9.4
  • MongoDB Version: 3.6

Install script isnt working on fresh Ubuntu 16.04 install

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
Couldn't connect; make sure connection is correct.

What did you expect to happen:
Installation to proceed to next step

How to reproduce it (as minimally and precisely as possible):
Fresh Ubuntu 16.04 install
Ran: curl -L -s http://www.trudesk.io/install/install_ubuntu.sh | sudo bash
Selected to Install deps via script and mongodb locally via script
Go to localhost:8118
Click Test Connection

Anything else we need to know?:

Environment:

  • Trudesk Version: Version of the script
  • OS (e.g. from /etc/os-release): NAME="Ubuntu" VERSION="16.04.4 LTS (Xenial Xerus)"
  • Node.JS Version: v8.11.1
  • MongoDB Version: v3.6.3
  • Is this hosted on cloud.trudesk.io: No

Invalid Graph Data

Invalid Graph data is show if there are 0 tickets within the selected timespan.

Error: No Api key assigned to this user

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:

Error: No Api key assigned to this user

What did you expect to happen:
Loggin into Trudesk using my android phone (chrome).

How to reproduce it (as minimally and precisely as possible):
Login using chrome on android with another user than the default adminstrator user.

Anything else we need to know?:

Environment:

  • Trudesk Version: Ubuntu Install Script.
  • OS (e.g. from /etc/os-release): ubuntu 16.04.4 x64
  • Node.JS Version: v8.11.1
  • MongoDB Version: v3.6.4
  • Is this hosted on cloud.trudesk.io: no

Why an old version of mongdb in install_ubuntu.sh

This is more of a question than an issue. I am complete newbie to mongodb but I see the current community version is 3.6 and the install_ubuntu bash script is calling for 3.2.

Is there a reason why this project is pinned to 3.2 or it just hasn't been updated?

Also can the install_ubuntu.sh be added to the github repo?

Error on logout

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
When try to log out nothing happens
Log error:

You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
TypeError: Cannot convert undefined or null to object
at Function.assign ()
at executeOperation (/etc/trudesk/node_modules/mongodb/lib/utils.js:386:14)
at Collection.remove (/etc/trudesk/node_modules/mongodb/lib/collection.js:1239:10)
at withCallback.collectionReady.then.collection (/etc/trudesk/node_modules/connect-mongo/src/index.js:297:48)
at
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot convert undefined or null to object
(node:7606) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 12): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 13): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 14): TypeError: Cannot convert undefined or null to object
(node:7606) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 15): TypeError: Cannot convert undefined or null to object

What did you expect to happen:
To log out
How to reproduce it (as minimally and precisely as possible):
Click the logout button
Anything else we need to know?:
Nothing else
Environment:

  • Trudesk Version: v1.0.0
  • OS (e.g. from /etc/os-release):

NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

  • Node.JS Version: v8.9.4
  • MongoDB Version: v3.6.3
  • Is this hosted on cloud.trudesk.io: No

several bugs in user creation process

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:

  1. Error:undefined toast in bottom left corner when trying to create a new user without a group (not required by form).
  2. User not displayed in http://localhost:8118/accounts when modal closes (after successful creation)
  3. App crashes (unable to connect) if I just press refresh on ../accounts pages after modal closes

What did you expect to happen:

  1. The form to prevent me from creating user until all required fields are filled out or error message to provide feedback when no group is selected.
  2. The user to appear in the users list after modal closes (without navigating away from page)

How to reproduce it (as minimally and precisely as possible):

  1. go to ../accounts and press the red plus button in right corner
  2. fill out all fields, leave group blank, press CREATE ACCOUNT

Anything else we need to know?:

Environment:

  • Trudesk Version: 0.1.10 [release candidate]
  • OS (e.g. from /etc/os-release): Ubuntu 17.10, FireFox
  • Node.JS Version: 9.5
  • MongoDB Version: 3.2
  • Is this hosted on cloud.trudesk.io: no

NOT ABLE TO ACCESS THE API

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:

What did you expect to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Trudesk Version:
  • OS (e.g. from /etc/os-release):
  • Node.JS Version:
  • MongoDB Version:
  • Is this hosted on cloud.trudesk.io:

Emails not sent on some tickets updates

Sometimes emails are not sent when the ticket is updated. This could be an issue with the subscribe feature or the sending of the emails to the current assigned user.

How to assign a ticket to administrator ?

Hi,
we have a user who has created ticket .Now we want to assign that ticket to administrator ?

can you please tell me how to do that via api and admin dashboard ?
i checked api docs and dashboard but cant seem to find it ?

Thanks

Group object as member object ( subgroup)

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

Usage case: In a service-provider helpdesk, with many customers, and each customer have their respective users which submits cases to the helpdesk. For example as a service-provider with 50 IT Support Agents you might have 150 customers, with a few users each who submits cases. Then the process of adding your entire IT Support Agent Department to each of the 150 customers will be very slow and ineffective.

Approach with current possible group structure:

  • Customer group with following members:
    • Customer CEO
    • Customer CTO
    • Customer CFO
    • IT Support Agent 1 (from service provider - doesn't work at Customer's company)
    • IT Support Agent 2 ( same role as above)
    • IT Support Agent 3 ( same role as above)

Any plan to support adding groups as an member object (instead of only being able to add users as members) ?

Example:
Possible Future approach with group objects as members inside groups:

  • Customer group with following members:
    - Customer CEO
    - Customer CTO
    - Customer CFO
    - IT Support Agent Group (this group includes all of our IT support agents, so they are able to interact with the ticket) ( everyone are from service provider - doesn't work at Customer's company)

Also the IT Support Agent Group should be able to join multiple Groups ( as the IT Support agents need access to multiple customer groups)

Or maybe a better approach would be to create a global group object ( for example IT Support Agent Group) which has exclusive access to all of the tickets in the system, regardless of normal group membership (without being Administrators of course).


if you are interested in a Norwegian translation of the project, I might be able to contribute in the future (my time-frame after work is very restricted at the moment)

creating a public ticket

Hi,

I've enabled the 'Allow Public Tickets' but I see 404 when I hit the API url:

/api/v1/public/tickets/create

Any reasons why this api isn't working?

After logging out or refreshing the window server is rebooting.

Is this a BUG REPORT or FEATURE REQUEST?:

  • [ X] BUG

What happened:

After logging out the server restarted.
TypeError: ansi_up.ansi_to_html is not a function
    at EventEmitter.<anonymous> (/Users/adm/Desktop/work/trudesk/src/socketserver.js:589:67)
    at EventEmitter.emit (events.js:160:13)
    at ReadStream.<anonymous> (/Users/adm/Desktop/work/trudesk/node_modules/file-tail/index.js:52:19)
    at ReadStream.emit (events.js:160:13)
    at addChunk (_stream_readable.js:269:12)
    at readableAddChunk (_stream_readable.js:252:13)
    at ReadStream.Readable.push (_stream_readable.js:213:10)
    at fs.read (fs.js:2117:12)
    at FSReqWrap.wrapper [as oncomplete] (fs.js:676:17)

Environment:

  • Trudesk Version: TruDesk v0.1.10 Running in: development
  • OS (e.g. from /etc/os-release): Ubuntu Server 16
  • Node.JS Version: v9.5.0
  • MongoDB Version: 3.4.13
  • Is this hosted on cloud.trudesk.io: No

User role can edit/add tags on tickets

The user role can edit and add tags on any ticket that they have view access too. This is an incorrect permission that should not allow editing of tags.

[Bug] Can't use Trudesk on multiple sessions (Browser/PC/User)

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
When multiple users (or two tabs of browser) try to access trudesk, it shows the message 'Disconnected... Trying to reconnect'. Whenever someone else tries to access it, all sessions shows the message.

Environment:

  • Trudesk Version: 0.1.10
  • OS (e.g. from /etc/os-release): Windows Server 2008
  • Node.JS Version: 9.7.1
  • MongoDB Version: 3.6.3
  • Is this hosted on cloud.trudesk.io: nope

Pop-up: invalid file type. When uploading a pdf file to a ticket.

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
Pop-up: invalid file type. when uploading a pdf file to a ticket. (tried different filenames)

What did you expect to happen:

How to reproduce it (as minimally and precisely as possible):
By uploading a pdf file

Close fork process after completion

When running the install server and testing Mongodb connection, multiple processes are spawned for each time the button is clicked. Change to only allow 1 instance of checking connection at a time and when completed the server closes the fork.

Mail Checker not working with Exchange server.

Is this a BUG REPORT or FEATURE REQUEST?:

  • [x ] BUG
  • FEATURE

What happened: Mail Checker Not working

What did you expect to happen: Create tickets automatically from Exchange mail server

How to reproduce it (as minimally and precisely as possible): I have plugged in the correct values in the settings -> General -> Mail Checker

But it is unable to connect to the Exchange server with the given details.

I wrote my own piece of code and put in the same details and I'm able to get the mails.

Anything else we need to know?: Error log shows this
Error: Timed out while authenticating with server
at Timeout._onTimeout (/home/ram/Desktop/trudesk/node_modules/imap/lib/Connection.js:139:17)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5)

Environment:

  • Trudesk Version: Latest (pulled the code yesterday - march 16th 2018)
  • OS (e.g. from /etc/os-release): ubuntu 16.04
  • Node.JS Version: 8.9.3
  • MongoDB Version: 3.6.3
  • Is this hosted on cloud.trudesk.io: No

Cannot complete install - password contains an illegal unescaped character

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
Could not complete install, gave error with no message.
error.log shows

{"level":"error","message":"Oh no, something went wrong with DB! - Password contains an illegal unescaped character","timestamp":"2018-02-21T03:23:20.368Z"}

output.log shows

2/20 21:21:12 [24555] - �[32minfo�[39m: Trudesk Install Server Running...
2/20 21:23:20 [24555] - �[31merror�[39m: Oh no, something went wrong with DB! - Password contains an illegal unescaped character
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: Password contains an illegal unescaped character
    at parseConnectionString (/etc/trudesk/node_modules/mongodb/lib/url_parser.js:280:13)
    at parseHandler (/etc/trudesk/node_modules/mongodb/lib/url_parser.js:112:14)
    at module.exports (/etc/trudesk/node_modules/mongodb/lib/url_parser.js:19:12)
    at Promise (/etc/trudesk/node_modules/mongoose/lib/connection.js:330:5)
    at new Promise (<anonymous>)
    at NativeConnection.Connection.openUri (/etc/trudesk/node_modules/mongoose/lib/connection.js:329:17)
    at Mongoose.connect (/etc/trudesk/node_modules/mongoose/lib/index.js:206:15)
    at Object.module.exports.init (/etc/trudesk/src/database/index.js:45:18)
    at async.waterfall.counters._id (/etc/trudesk/src/controllers/install.js:152:16)
    at nextTask (/etc/trudesk/node_modules/async/dist/async.js:5310:14)
    at Object.waterfall (/etc/trudesk/node_modules/async/dist/async.js:5320:5)
    at installController.install (/etc/trudesk/src/controllers/install.js:150:11)
    at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
    at next (/etc/trudesk/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/etc/trudesk/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
    at /etc/trudesk/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/etc/trudesk/node_modules/express/lib/router/index.js:335:12)
    at next (/etc/trudesk/node_modules/express/lib/router/index.js:275:10)
    at Function.handle (/etc/trudesk/node_modules/express/lib/router/index.js:174:3)
    at router (/etc/trudesk/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)

What did you expect to happen:

How to reproduce it (as minimally and precisely as possible):
use the install.sh on clean ubuntu 17.10 directory and attempt to install

Anything else we need to know?:
I got the screen where you create an admin account. I used password 817681. I'm not sure if it is my password (doubt it) or the default mongo user trudesk which had special characters.

I changed both the mongo user password and my admin password to password and it let me complete installation.

Environment:

  • Trudesk Version: (install.sh from 2/20)
  • OS (e.g. from /etc/os-release): Ubuntu 17.10
  • Node.JS Version: 9.5
  • MongoDB Version: 3.2.x
  • Is this hosted on cloud.trudesk.io: no

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.