Description
Analysis and development stages will take place inside the company and the final results will be released in the official version, where hopefully we could contribute to the community with another tool for project management.

Areas considered:

Clients management
Projects management
Tasks management
Time report management

Differences
The tools for project management are mainly thought for the English-speaking community, that's why it is hard to adapt it to particular non-English-speaking processes.

Links
http://drupal.org/sandbox/NicolasRoyo/1883454
http://projectus.overtus.com/

Git
git clone http://git.drupal.org/sandbox/NicolasRoyo/1883454.git projectus

This module is for Drupal 7.

Comments

luco’s picture

hi Nicolas Royo,

sounds like a promising module! but there's some basic errors that need to be addressed.

you're still using the master branch; please remove it.
here's how: http://drupal.org/empty-git-master

there's a substancial amount of errors in PAReview:
http://ventral.org/pareview/httpgitdrupalorgsandboxnicolasroyo1883454git

also, I believe your git clone is malformed:
git clone http://git.drupal.org/sandbox/NicolasRoyo/1883454.git projectus
(it's in the textbox atop of your sandbox page.)

good luck!

cheers,
Luciano

PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

he0x410’s picture

Hello Nicolas,

In general:
- Please, follow drupal coding standards http://drupal.org/coding-standards
- Add more comments
- Move css files to subfolder

Manual review:

projectus.info
  • You have git meta information about conflict
  • package = ProjectUS - should be you project machine name: projectus
projectus.module
  • lines: 13, 22, 31, 132, 135, 138: permission machine name 'ProjectUS: access main page ProjectUS' needs to look like 'projectus access main page'
  • 76 | Avoid using extra variable, put css string inline in function argument
     			$css = "ul.action-links {display:none}";
    			drupal_add_css($css, 'inline'); 
  • 101 | if you are including files on all pages, then add them in .info file using sylesheets and scripts arrays
     function projectus_init() {
    	drupal_add_css(drupal_get_path('module', 'projectus') .'/projectus.css');
    	module_load_include('inc', 'projectus', 'projectus.functions');
    }

    Additional information you can find on http://drupal.org/node/171205

  • 123 | In hook_help, you have very short description: "Project management ProjectUS"
  • 196 | Use 't' function for messages. drupal_set_message("'".$node->title."', ".$message." -> ACTIVATED");
projectus.theme.inc
  • 21 | Unused variable in foreach $link_id
  • 61 | use theme('image') for rendering images.
  • 105, 110, 115, 120 | Used $o extra variable just for one output.

.....

There are a lot of submodules and work to do. After you will clean up them - I will get back to review it once more time.

Good luck!

Nicolas Royo’s picture

Thanks for review!

We are working in order to fix the problems detected.

Thanks again!

sam hermans’s picture

Status: Needs review » Needs work

Hi,

I just cloned your project and it looks very promising, but i immediately saw that your indenting is off... check the automated report for hints.

Your also inconsistent with the t() tags .. For example:
'title' => 'Show/Hide tasks',
'description' => 'Show/Hide tasks',
'variables' => array(
'title' => t('Show/Hide tasks')

And '#header' => array('Selected','Task', 'Project', 'Client'),

Another tip may be that the date format can be chosen, instead of using 'Y-m-d'..

Nicolas Royo’s picture

Thanks for everything.

I remove master branch, and transfer to 7.x-1.x.

We are changing our code because we have used 'tab' instead of 'space'. We keep working.

Thanks again.

Nicolas Royo’s picture

Hello!

We have updated the code in Git repository. We are inserting comments in the module to clarify every aspect of the code.

We are also reviewing this post http://drupal.org/node/1410826.

Thansk for all.

Nicolas Royo’s picture

Status: Needs work » Needs review

Hello

We have solved the major errors but there is an error which we can't solved.

http://ventral.org/pareview/httpgitdrupalorgsandboxnicolasroyo1883454git

Using the e flag in preg_match is a possible security risk. For details see http://drupal.org/node/750148

We don't use e flag. All code is: if (preg_match('/title=\S/', $form['#action']))

We have looking in drupal.org and google and we haven't find the answer.

Nicolas Royo’s picture

Status: Needs review » Active
Nicolas Royo’s picture

Status: Active » Needs review
sreynen’s picture

Title: ProjectUS » [D7] ProjectUS

Just adding version to title to make this a little easier to find and review.

kscheirer’s picture

Status: Needs review » Reviewed & tested by the community

The project page could be a lot clearer - I have no idea what your module does after reading it :) The text on http://projectus.overtus.com/ run through google translate is much clearer.

Stay away from using hook_init() if you can - this will be executed on every page load. Try to load libraries only where they are needed.

$vacio = TRUE; - sorry we still require english-language variable names.

In projectus_exist_projects_by_client() (and many other functions in projectus.functions.inc) use argument substitution available in db_query() instead of adding arguments directly to the sql query.

I don't believe the sql is vulnerable to injection attacks though, and the rest of the problems are minor.

----
Top Shelf Modules - Enterprise modules from the community for the community.

kscheirer’s picture

On your project page did you mean GPLv2? That applies to anything hosted on drupal.org, you don't need to specify that.

You have some security issues listed here: http://ventral.org/pareview/httpgitdrupalorgsandboxnicolasroyo1883454git, please fix those. In projectus.functions.inc, you should switch to using db_query() and variable substitution.

----
Top Shelf Modules - Crafted, Curated, Contributed.

kscheirer’s picture

Status: Reviewed & tested by the community » Needs work
PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.

Nicolas Royo’s picture

Status: Closed (won't fix) » Active

Sorry for absence. We are working in other projects.

We are come back.

klausi’s picture

Status: Active » Needs work

Please set this to "needs review" once the issues on http://pareview.sh/pareview/httpgitdrupalorgsandboxnicolasroyo1883454git are fixed. See also https://drupal.org/node/532400

klausi’s picture

Issue summary: View changes

Fix link git clone.

PA robot’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.