GithubHelp home page GithubHelp logo

dotproject / dotproject Goto Github PK

View Code? Open in Web Editor NEW
204.0 204.0 105.0 12.34 MB

Stable 2 series

License: Other

PHP 77.40% Perl 1.05% CSS 1.89% JavaScript 14.42% XSLT 0.32% Python 0.01% HTML 3.60% Smarty 0.63% C++ 0.15% Hack 0.01% CoffeeScript 0.09% Shell 0.01% NASL 0.45% Dockerfile 0.01%

dotproject's Introduction

dotProject

dotProject is an open source project management system written in PHP.

It originally started in 2001 by dotMarketing on SourceForge and has been under the watchful eye of the current dotProject team since around December 2002.

Installing/Upgrading

NOTE The devel branch is where all the development happens. If you want the latest and greatest with all relevent bug fixes between releases, then download from https://github.com/dotproject/dotProject/archive/devel.zip

master tracks the current release.

The Quick Way: Point your browser to the install directory.

Support

Support forums are at http://forums.dotproject.net/index.php

Bug reports and other issues can be lodged on GitHub at https://github.com/dotproject/dotProject/issues

IRC channel is irc://irc.freenode.net/dotproject on #dotproject on irc.freenode.net

License

As of version 2.0, dotProject is released under GPL. 1.0.2 and previous versions were released under BSD license. Parts of dotProject include libraries from other projects which are used and re-released under their original licence.

Docker composer support

The latest devel branch now includes a simple docker-compose.yml file and support files. These will allow you to run dotProject by running:

docker-compose up

This will set up an nginx container, a phpfpm container and a mariadb container and point the web server to the base directory of dotProject. All you need to do after that is point your browser to http://localhost/

docker-compose down will retain any data you have created. If you want to start again from a clean slate, use docker-compose down -v to remove the database volume.

dotproject's People

Contributors

abnerrizzi avatar ajdonnison avatar bhuvankrishna avatar cleary avatar dependabot[bot] avatar givo29 avatar mattbell87 avatar teodorg 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

dotproject's Issues

Character encoding

If we write "utf-8" in the "locales.php" file in the "en" directory. Gantt chart characters are not show correctly. Becuase jpgraphs "LANGUAGE_CHARSET" comparison is case-insensitive therefore we must be write "UTF-8" in "locales.php" file for show correctly characters in Gantt charts. In devel branch "locale.php" contain small case like "utf-8".

Error on use of Locales

Hi!

I'm trying to use locales but its not working.

I have place the file in /locales/pt_br and its wont show on Users Preferences.

What i have to do?

Below screenshoot

Locales:
locales

User Preferences:
user preferences

Problems logging in

Someone can help me, because I installed dotproject, but when the first log is done, the error below appears, but as soon as I ask to reload the page the system runs normal.
Someone can help me with this error.

Warning: Declaration of LDAPAuthenticator::userId($username) should be compatible with SQLAuthenticator::userId() in /home3/healthgd/www.healthgdi.com.br/hsc/classes/authenticator.class.php on line 362

Warning: Cannot modify header information - headers already sent by (output started at /home3/healthgd/www.healthgdi.com.br/hsc/classes/authenticator.class.php:362) in /home3/healthgd/www.healthgdi.com.br/hsc/classes/ui.class.php on line 577

Commercial support link dead, have a question?

Hi, am trying to evaluate the software. The wiki is blank and the support link is dead, so really not sure where else to ask my primary question?

Here's the question - as a freelancer, I work with multiple companies. What I want to do, need to do, is create a template for new clients, so the milestones and task lists can be easily copied for a new client.

At that point, I need to ensure the new client does NOT see any details of the projects for older clients, likewise I need to ensure older clients CANNOT see any details about newer clients and their projects.

I've found a "Make private entry" for contacts, but what does that do? I really don't want clients seeing each other's email addresses or details.

If I assign a project to a company, does that mean no 'contacts' can see that project, unless they are also assigned to the correct 'company'?

Thanks!

Wrong expected duration calculation

There is this calculation error. After I specify the starting/ending date and time for a given task, I click on "Duration" button. I get wrong calculated duration. The erroneous calculation happens only when calculating hours. The calculation is correct for days but not hours. I am not sure whether there an inherent mistake in the code or my configurations are wrong.
Please see the attached picture. The duration in the photo should be 4 hours and not 10 hours!
I hope there is a solution for this as there are some tasks that span across days.
Thank you.

dotp issue

report pdf

In /lib/ezpdf/fonts/ files named "Helvetica.afm" and "Helvetica-Bold.afm", but dotproject search "php_Helvetica.afm" and "php_Helvetica-Bold.afm" therefore I changed files name. But
in this case pdf files like this :

err02

or like this:

err01

"PHP Parse error: syntax error, unexpected 'new' (T_NEW) in ........................................modules/projectdesigner/gantt.php on line 20"

We are using with PHP 7.3 and when select the ProjectDesigner from menu give this error : "PHP Parse error: syntax error, unexpected 'new' (T_NEW) in ........................................modules/projectdesigner/gantt.php on line 20"
and when we change line 20 with this "$project = new $CProject;" give a second error " php: PHP Parse error: syntax error, unexpected 'new' (T_NEW) in ..............................modules/projectdesigner/gantt.php on line 117" in this case we change line 117 with this "$task = new $CTask;" all is working but not draw ganttchart.
gantt

and give this error : "Fatal error: Uncaught TypeError: Argument 1 passed to JpGraphException::defaultHandler() must be an instance of Exception, instance of Error given in ...................................lib/jpgraph/src/jpgraph_errhandler.inc.php:158 Stack trace: #0 [internal function]: JpGraphException::defaultHandler(Object(Error)) #1 {main} thrown in /home/e-smith/files/ibays/pmanagement/html/lib/jpgraph/src/jpgraph_errhandler.inc.php on line 158"

Dotproject error on PHP 7.2 - Session

Hi!,

I want to inform that dotproject has a fail in code that have to be changed
in /includes/session.php line 195. have to comment this line to DP works.

Warning on 'Time Worked' field in 'View Task' screen

I am thrilled to some activity on this project! Thanks to everyone how is keeping this active!!

Issue

I have downloaded version 2.1.9. I am seeing the warning message "Warning: A non-numeric value encountered in C:\xampp\htdocs\dotProject\modules\tasks\view.php on line 234" in front of value '0' in the field 'Time Worked:' in 'View Task' screen.

Version details

I am using the latest version of XAMPP with Apache/2.4.33 (Win32) OpenSSL/1.0.2o PHP/7.1.17

set_magic_quotes_runtime

hi
Warning
This function was DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.
[Wed Dec 06 12:23:15.842030 2017] [:error] [pid 11919] [client 127.0.0.1:32840] PHP Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /var/www/html/prj/install/install.inc.php:146\nStack trace:\n#0 /var/www/html/prj/install/do_install_db.php(161): InstallLoadSql('/var/www/html/p...')\n#1 {main}\n thrown in /var/www/html/prj/install/install.inc.php on line 146, referer: http://127.0.0.1/prj/install/db.php

SAML2.0

Good day

i need to know if there is a procedure to integrate my dotproject installation with gmail, what is the procedure to configure it or if it can just be used with ldpap, how it have to be configured.

Regards

Speed problems: suggestions for targets to focus on?

Hi Adam,
We've been using our install for a long time (well over a decade?) and have amassed about 1600 projects.

We're finding that there are certain areas in dotProject are extremely slow, where the mysqld process maxes out a cpu core, and we have to wait for significant amounts of time for a return - I assume this is by and large as a result of the sheer quantity of projects that are dealt with during a query.

Examples:

  1. Saving a task after Edit - 9-10s
  2. Clicking the Tasks module in the top menu - 80s (and only returning 13 tasks)
  3. Opening a project in Project Designer module - 9-10s

Now 2) is particularly bad, but can be avoided. 1) and 3) are what are most commonly used for doing cleanup/maintenance - ie times when you just want to duck in quickly and change a few things, but after doing this a few times, waiting for the saves feels like an eternity.

Do you have any recommendations on how/what we could do to start optimising some of these functions?

(@mattbell87 is potentially looking for some short and sweet tasks so this may be suitable for him to work on)

I had an idea (but I'm not a db guy, so it's likely terrible) that we could move all archived projects into a completely separate table that would exclude them from having to be considered in most queries - is that a possible/feasible option?

Column 'task_id' in where clause is ambiguous

Hi,
When set deny role for task,Display the following error。

ERROR: C:\xampp\htdocs\meipeng\includes\db_adodb.php(69): Error executing: SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date (Column 'task_id' in where clause is ambiguous) Backtrace: 0 C:\xampp\htdocs\meipeng\includes\db_adodb.php:69 dprint('C:\xampp\htdocs\meipeng\includes\db_adodb.php',69,0,'Error executing: SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date (Column 'task_id' in where clause is ambiguous)') 1 C:\xampp\htdocs\meipeng\modules\tasks\tasks.php:316 db_exec('SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date') 2 C:\xampp\htdocs\meipeng\style\default\overrides.php:95 require('C:\xampp\htdocs\meipeng\modules\tasks\tasks.php') 3 C:\xampp\htdocs\meipeng\modules\projects\view.php:481 show() 4 C:\xampp\htdocs\meipeng\index.php:301 require('C:\xampp\htdocs\meipeng\modules\projects\view.php') <\pre> Column 'task_id' in where clause is ambiguous ERROR: C:\xampp\htdocs\meipeng\includes\db_adodb.php(69): Error executing: SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date (Column 'task_id' in where clause is ambiguous) Backtrace: 0 C:\xampp\htdocs\meipeng\includes\db_adodb.php:69 dprint('C:\xampp\htdocs\meipeng\includes\db_adodb.php',69,0,'Error executing: SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date (Column 'task_id' in where clause is ambiguous)') 1 C:\xampp\htdocs\meipeng\modules\tasks\tasks.php:316 db_exec('SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date') 2 C:\xampp\htdocs\meipeng\style\default\overrides.php:95 require('C:\xampp\htdocs\meipeng\modules\tasks\tasks.php') 3 C:\xampp\htdocs\meipeng\modules\projects\view.php:481 show() 4 C:\xampp\htdocs\meipeng\index.php:301 require('C:\xampp\htdocs\meipeng\modules\projects\view.php') <\pre> Column 'task_id' in where clause is ambiguous
ERROR: C:\xampp\htdocs\meipeng\includes\db_adodb.php(69): Error executing: SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date (Column 'task_id' in where clause is ambiguous) Backtrace: 0 C:\xampp\htdocs\meipeng\includes\db_adodb.php:69 dprint('C:\xampp\htdocs\meipeng\includes\db_adodb.php',69,0,'Error executing: SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date (Column 'task_id' in where clause is ambiguous)') 1 C:\xampp\htdocs\meipeng\modules\tasks\tasks.php:316 db_exec('SELECT distinct tsk.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id as pin_user, task_priority, task_percent_complete, task_duration, task_duration_type, task_project, task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone, assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count, co.contact_first_name, co.contact_last_name, count(distinct fi.file_task) as file_count, if (tlog.task_log_problem IS NULL, 0, tlog.task_log_problem) AS task_log_problem FROM (dotp_tasks as tsk) LEFT JOIN dotp_projects as prj ON project_id = task_project LEFT JOIN dotp_users as usernames ON task_owner = usernames.user_id LEFT JOIN dotp_user_tasks as ut ON ut.task_id = tsk.task_id LEFT JOIN dotp_users as assignees ON assignees.user_id = ut.user_id LEFT JOIN dotp_contacts as co ON co.contact_id = usernames.user_contact LEFT JOIN dotp_task_log AS tlog ON tlog.task_log_task = tsk.task_id AND tlog.task_log_problem > 0 LEFT JOIN dotp_files as fi on tsk.task_id = fi.file_task LEFT JOIN dotp_user_task_pin as pin ON tsk.task_id = pin.task_id AND pin.user_id = 52 WHERE task_project = 27 AND task_status = 0 AND project_company IN (1) AND task_id NOT IN (616) AND task_parent NOT IN (616) GROUP BY task_id ORDER BY project_id, task_start_date') 2 C:\xampp\htdocs\meipeng\style\default\overrides.php:95 require('C:\xampp\htdocs\meipeng\modules\tasks\tasks.php') 3 C:\xampp\htdocs\meipeng\modules\projects\view.php:481 show() 4 C:\xampp\htdocs\meipeng\index.php:301 require('C:\xampp\htdocs\meipeng\modules\projects\view.php') <\pre> Column 'task_id' in where clause is ambiguous

Files module: 'Fatal error: Call to undefined function mb_strrpos()'

Hi Adam,
I'm looking at migrating our original install to new hardware, and I'm attempting to do it with a fresh checkout from this git repo.
I've copied over config.php, and all the files/[0-9]* dirs, but I'm getting the following error when I browse to the Files module:
Fatal error: Call to undefined function mb_strrpos() in /data/srv/debortoli.private/dotProject.git/modules/files/index_table.php on line 343

It occurs partway through the file listing on the page:
screenshot_20181123_162143

Can you help?

Import Files for order creation

Hello, I have a customer that uses dotProject for their construction company. They manually enter every order and PO#. They have multiple project management / accounting programs and wanted to know if they can import an Excel spreadsheet of an order (generated by another program) so that they do not need to manually enter the order / PO# every time? They are trying to cut down on work redundancy. Does anyone know if this is possible?

Handling of project costs

First of all: thanks for developing and maintaining this nice software.
Perhaps the issue of project costs is covered by the wiki but wiki is currently not available.
I can not find out how to properly manage and control project costs - I can only see the budget of hours.
My questions:
System Administration - Billing Code Table: What is a "Billing Code" and which meaning has the associated "Value"? Is it the hourly rate?
TaskLogs: What is the "Cost Code" and what is the value after "->"? I would expect it to be the "Value" from above but in my case a strange non-related is being taken here.
General: Where are the project costs (i.e. hours x hourly rates) being evaluated? I only find the total sum of hours. From my point of view the project costs and financial budget are of primary importance, not hours? Moreover - if there are different hourly rates of involved people, the total time is meaningless.
Why can I enter the project financial budget when there is no evaluation of the corresponding running project costs there?
Am I missing something?

Error on install

Hi!

I am installing dotProject on PHP 7. * and on setup it is stating that mysql driver is not supported by php, however, by searching the documentation, mysql support has been deprecated and now only supports mysqli.

Could you check?

The link where i get the information:
https://secure.php.net/manual/en/mysql.installation.php

Sorry by my bad english

dotproject tbl/schema question

Hi.

Doing a walk-through of the dotproject app. Looking through the logic and the db/tbl schema. Trying to determine which tbl has the relationship between the user/contact and the group (Anon/normal/etc..

Ie, if an admin assigns a role to a user, where is this relationship maintained within the tbls..

Any pointers.
thanks

2.1.9 upgrade, Projects module shows the number of projects in filter tabs, but "No projects available" to view

Hi Adam,
I'm testing the upgrade to v2.1.9 - for all our non-admin users, they are no longer able to get a listing of projects in the Projects module:

screenshot_20190227_110330

The filter tabs indicate correctly how many should be visible.

The permissions/roles haven't changed since our 2.1.8 deployment, and look like this (for this particular example):
screenshot_20190227_110509

screenshot_20190227_110536

The Project Worker role looks like:
screenshot_20190227_110812

Is there something I'm missing that's changed in the role?

Installation/Logging In/Running

Hi.

Did a "download/clone" of the latest dotproject code/project (nov18/2018).

Did the complete setup of the apache/mysql/docRoot dir.
-Copied the files, set the permissions/group/etc..

I get the http://1.2.3.4/dotproject -- which displays the user/login dialog (along with a * browser needs cookies msg)

When I insert the test user/passwd --- admin/pass -- I get a login err.

The /var/logs/httpd/test_log had the
[Mon Nov 19 10:59:27.933744 2018] [php7:warn] [pid 17531] [client 74.178.139.162:51898] PHP Warning: Declaration of LDAPAuthenticator::userId($username) should be compatible with SQLAuthenticator::userId() in /var/www/html/dotproject/classes/authenticator.class.php on line 362, referer: http://104.248.125.83/dotproject/

-but I corrected the userId function so this err msg is no longer being generated.

Any thoughts/comments??

Given this test is being run on a test cloud server.. I can provide complete access if required..

thanks

Limit user view

Hi!

Currently the user can see all the projects independently of the same being allocated or be responsible for only one project.

For example: I want my vendor to access the dotproject and update the status of the activities that are of its management and do not view the other projects.

How can I limit access to it only to what is your responsibility?

PHP7 MySQL Support Not available

Hi all,
it's look like mysql_* function is déprecated with PHP7
add we should use mysqli_*

Can you confirm?

[Wed Dec 06 12:10:50.770901 2017] [:error] [pid 11919] [client 127.0.0.1:60878] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/prj/lib/adodb/drivers/adodb-mysql.inc.php:363\nStack trace:\n#0 /var/www/html/prj/lib/adodb/adodb.inc.php(525): ADODB_mysql->_connect('localhost', 'prj', 'prj', '')\n#1 /var/www/html/prj/install/do_install_db.php(62): ADOConnection->Connect('localhost', 'prj', 'prj')\n#2 {main}\n thrown in /var/www/html/prj/lib/adodb/drivers/adodb-mysql.inc.php on line 363, referer: http://127.0.0.1/prj/install/db.php

root@taff:/var/www/html/prj# dpkg -l | grep mysql
ii libdbd-mysql-perl 4.041-2 amd64 Perl5 database interface to the MariaDB/MySQL database
ii mysql-common 5.8+1.0.2 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii php-mdb2-driver-mysql 1.5.0b4-2 all mysql MDB2 driver
ii php-mysql 1:7.0+49 all MySQL module for PHP [default]
ii php7.0-mysql 7.0.19-1 amd64 MySQL module for PHP

root@taff:/var/www/html/prj# mysql -uprj -pprj
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>

Dependency Tracking - date not change

When we are update subtask new date (for example 1 week after) the main task start date automatically chaning. But if we will update subtask old date (for example change date 2 weeks ago) the main task date not chaning.

How we can fix this ?

Can you help us ?

Thanks.

Errors in Add Company.

Hello!
There is an error in /classes/CustomFields.class.php at line 644 that refers to trying to count the custom fields, however, when I go to the company registry page it displays the error below.

To fix it, I suggest the fix for the following code:
return ($this->fields)?count($this->fields):0;

Below is the screenshoot.
error

Setting the secure/email process for using gmail/smtp

Hi.

Trying to configure the test app to use gmail/smtp.

Gamil can use SSL/TLS

Server Address: smtp.gmail.com
Username: Your Gmail Address (e.g. [email protected])
Password: Your Gmail Password
Port Number: 587 (With TLS)
Alternative Port Number: 465 (With SSL)

Haven't been able to get the test app working to send test emails. If you have suggestions, feel free to post.

I've implemented the above, selecting TLS as well as SSL, - using the TLS checkbox.

Thanks..

Transferring projects/tasks to another user fails [patch]

When trying to transfer projects/tasks from one user to another (example, a departing user) I get this error (summary):

error was: FUNCTION dotproject_live.task_projectIN does not exist')

Full message:

ERROR: /srv/dotProject/classes/query.class.php(636): query failed(UPDATE `tasks` SET `task_owner` = '263' WHERE task_owner =  157 AND task_projectIN (583,31,1624,1799)) - error was: FUNCTION dotproject_live.task_projectIN does not exist
Backtrace:
0 /srv/dotProject/classes/query.class.php:636 dprint('/srv/dotProject/classes/query.class.php',636,0,'query failed(UPDATE `tasks` SET `task_owner` = \'263\' WHERE task_owner =  157 AND task_projectIN (583,31,1624,1799)) - error was: FUNCTION dotproject_live.task_projectIN does not exist')
1 /srv/dotProject/modules/admin/do_user_transfer.php:59 exec()
2 /srv/dotProject/index.php:241 require('/srv/dotProject/modules/admin/do_user_transfer.php')

Possible patch:

diff --git a/modules/admin/do_user_transfer.php b/modules/admin/do_user_transfer.php
index 4f3a440..17adf06 100644
--- a/modules/admin/do_user_transfer.php
+++ b/modules/admin/do_user_transfer.php
@@ -34,7 +34,7 @@ $q = new DBQuery();
 $q->addUpdate('project_owner', $user_id);
 $q->addTable('projects');
 $q->addWhere('project_owner =  ' . $from_user);
-$q->addWhere('project_id' . $project_where);
+$q->addWhere('project_id ' . $project_where);
 if (! $q->exec()) {
        $AppUI->setMsg('failed to update project owner', UI_MSG_ERROR);
        return;

Installation do not available

This msg from the install process.
What is the change to php.ini that is required?
thanks Peter

Session Save Path writable? Warning: is_dir(): Unable to find the wrapper "tcp" - did you forget to enable it when you configured PHP? in /var/sites/c/ck200.live/public_html/dotproject/install/vw_idx_check.php on line 81 Warning: is_dir(): Unable to find the wrapper "tcp" - did you forget to enable it when you configured PHP? in /var/sites/c/ck200.live/public_html/dotproject/install/vw_idx_check.php on line 81 Fatal: tcp://10.168.1.55:11211?persistent=0&weight=1&timeout=5&retry_interval=15 not existing or not writable

Company Owner in Company module

The dropdown in the company owner box in the company module is not working. It only lists myself as the available owner.

Is there away to let me pick the name from the contacts list?

Future plans

I've been a dot project user since early 2005 and have written several custom modules for customers and personal use.

i havent had need for dotproject in several years and am now looking at it again for a custom module for customer use.

can you let me know the following please

  1. is the dotproject team actively developing and fixing issues? is it staffed well or low on developers?

  2. are there major revisions planned that would render new custom modules incompatible?

Thoughts on adjusting the git Repo layout so everything in dotproject/* is in the root dir instead?

Hi Adam,
It's a small thing, but since it's early days so I figured now is the best time to ask this question:

If there's no major architectural reason for using the dotproject/ subdir in the git repo, can you remove it altogether and move the contents into the root of the git repo?

The issue from my perspective is the following non-intuitive directorystructure on my server:
ls -l /srv/debortoli.private/dotproject/dotproject/

As I said, it's only a minimal issue, but if I'm going to ask, now is the time ;)

Thanks,
Bernie

Updating from 2.1.6 issues - Windows Server 2008 R2

  • Based on Bitnami Wamp stack 5.4.17.0:
    • PHP 5.4.0
    • MySQL 5.0.10
    • Apache 2.4.0
  • I tried several installations. First from my remote computer:
    • A clean install creating a new DB. Had some problems creating the DB.
    • Then I tried and upgrade by duplicating the current installation folder and updating the files over it. Again, had problems managing the DB, it wouldn't connect to it.
      Then, from the server itsefl (remote connection):
    • I could manage to upgrade the duplicated folder and I got in with admin user. That's the moment when user roles were gone.

Originally posted by @lgarmendia76 in #13 (comment)

start day of the week

I want to change the start day of the week
image
I accommodate the days in the system configuration but i can't see changes on the calendar

add picture to task contact

I'm trying to add a line of code to show a picture of the contacts assigned to a task like this
image

I use this code

                                    <img src="/images/<?php echo $AppUI->___(@$obj->username);?>.jpg" width=" 100px" >

but when I add two or more people ony appear one image, can you help me to do this update? thanks

Discussion: Defining a Branch and Release methodology

Hi Adam,
I apologise if you've already got this covered, but I was hoping to discuss/define a Branching/Release methodology for this repository. Since there is currently no other branch than master, I'm assuming it either hasn't been considered, or your usual methodology hasn't been applied yet.

There's a lengthy article on the subject which we recommend here, but given that it's catering to much larger and more complex projects (in terms of number of developers with commit access), I figured that the following proposal would provide a functional model:

  • Use two main branches, master and develop
  • master is always production ready, so in our case would be the latest release (2.1.8?)
  • the state of develop is however you want to define it
  • releases should be tagged (git tag), ie every commit to master should increment the release version and another tag should be created. This allows users to switch versions with ease, and is a common method used (for example) by debian/ubuntu package maintainers working with git

What are your thoughts/what have you used in the past for this project?

Exporting and importing data

Is there a way to export and import the data from dotProject?

I have created huge amount of data in my local installation. I will like to export that and import into the installation in my web server. Is it enough if I export and import the database contents?

Erro in Task File Upload

During the process of adding files to the project, the DP is failing as below.

What table is he running the relationship with?

Error:
image

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.