Commit graph

9500 commits

Author SHA1 Message Date
Oscar Gonzalez Fernandez
cbe9ca6c69 Fix bug #1644
When an allocation cannot be done, the error message on the input
disappeared because the rows were re-rendered due to reloadBindings
call. Now this call is avoided and some extracted functionality from
getCurrentRows is called.
2014-04-11 19:22:54 +02:00
Oscar Gonzalez Fernandez
466bcdf585 Remove the listener allResourcesPerDay
It's not strictly necessary since inside the listener is checked that
effortInput is enabled, but for consistency do it the same way as with
effortInput.
2014-04-11 19:22:41 +02:00
Oscar Gonzalez Fernandez
27e5926d8c Be more restrictive when discarding messages
MessagesForUser doesn't discard the messages when changing focus.
2014-04-11 19:22:18 +02:00
Oscar Gonzalez Fernandez
73e0a44c6b Some renamings and documentation added
This would make AllocationRow more understandable.
2014-04-11 19:22:12 +02:00
Oscar Gonzalez Fernandez
d45b801ed2 Fix issue with messages for users
The MessagesForUser component is used for showing information and
error messages to the users. It's designed to disappear once the user
does some action and a minimum of time has passed.

This is done listening to the events being produced in the page. In
previous versions of ZK this was enough to identify user activity, but
in the version currently used, 5.0.11, events not related to user
activity are generated. This causes the messages to disappear without
user action.

With this fix, only when the user clicks on something, or changes the
value of some input the shown message is cleared.
2014-04-10 01:29:21 +02:00
Oscar Gonzalez Fernandez
5530184f8a Escape ' characters used along with positional parameters
The command `find -ipath "*src*.po"|xargs sed -ie "/msgstr.*{[0-9]}/
s/\([^']\)'\([^']\)/\1''\2/g"` was used to do the fix.
2014-04-02 20:05:21 +02:00
Oscar Gonzalez Fernandez
f1a7c0370a Fix bug #1643
Java's Gettext Commons,
http://xnap-commons.sourceforge.net/gettext-commons/, uses
java.text.MessageFormat for doing the parameter substitution.
MessageFormat interprets ' as an escaping character. In order to
introduce ', you have to escape it, i.e., you have to type '' instead.
Otherwise posterior positional parameters like {0} aren't interpreted.
2014-04-02 18:49:35 +02:00
Oscar Gonzalez Fernandez
70a8013eb9 Fix bug #1642
When checking the condition
`isOnlyChildAndParentAlreadyInUseByHoursOrExpenses` the parent might
be a new object. In that case the check if false and no further
querying must be done in the parent.
2014-04-01 18:50:49 +02:00
Jeroen Baten
d57890ffa8 A script to change strings in the whole source tree. Use with care! 2014-03-26 13:06:48 +01:00
Jeroen Baten
e4b2f5783d Batch of changed english strings, including in po files 2014-03-26 12:36:00 +01:00
Oscar Gonzalez Fernandez
1820f98488 Remove dead code
The removed code is never executed. editWindow is always not null at
that moment.
2014-03-18 16:27:53 +01:00
miciele Ghiorghis
e3bbe83aae filter-on-projectname: textbox to enter projectname is added 2014-03-17 23:04:09 +01:00
miciele Ghiorghis
ee415e2dca filter-on-projectname: modified to use project name as filter criteria 2014-03-17 23:04:09 +01:00
miciele Ghiorghis
fb98fa0a4f filter-on-projectname: modified to support filter on part of project name 2014-03-17 23:04:09 +01:00
miciele Ghiorghis
917110efec filter-on-projectname: acceptFilerName method added to accept filter on part of projectname 2014-03-17 23:04:09 +01:00
miciele Ghiorghis
6a6110ab7a filter-on-projectname: acceptFilerName method added to accept filter on part of projectname 2014-03-17 23:04:09 +01:00
miciele Ghiorghis
e5fdc5ea47 filter-on-projectname: modified to support filter on part of project name 2014-03-17 23:04:09 +01:00
miciele Ghiorghis
20eb7d50b1 filter-on-projectname: new methods added to read and write filter name attribute 2014-03-17 23:04:09 +01:00
Oscar Gonzalez Fernandez
e80647ee8c Remove unused method 2014-03-17 22:47:49 +01:00
Oscar Gonzalez Fernandez
c93a1399f3 Use parameters instead of concatenating
The structure of the tooltip can change depending on the language.
Concatenating strings hardwires it to the English language. Using
parameters instead.
2014-03-17 22:44:44 +01:00
Jeroen Baten
8cafdd2d62 small adjustments to representation 2014-03-17 21:45:36 +01:00
miciele Ghiorghis
54bc5aff14 project-margins-and-status: project status red image. Used when hover on the component 2014-03-10 18:39:01 +01:00
miciele Ghiorghis
33f57569c8 project-margins-and-status: project status red image. Used as background-image 2014-03-10 18:39:01 +01:00
miciele Ghiorghis
1024fbcd0a project-margins-and-status: project status orange image. Used when hover on the component 2014-03-10 18:39:01 +01:00
miciele Ghiorghis
9b7d83e0c2 project-margins-and-status: project status orange image. Used as background-image 2014-03-10 18:39:01 +01:00
miciele Ghiorghis
a6ed82cfac project-margins-and-status: project status green image. Used when hover on the component 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
776225fe79 project-margins-and-status: project status green image. Used as background-image 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
3f524129c7 project-margins-and-status: new styles added for project status 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
297286732e project-margins-and-status: input components added for hours and budget margin 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
9f15fecaea project-margins-and-status: added methods to calculate the workhours and budget with the specified margin for the project 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
ef9d021b3f project-margins-and-status: implementation of get Project's hours and budget status and tooltipText for the project status
extended with the implementation of the ITaskFundamentalProperties:
- getProjectHoursStatus()
- getProjectBudgetStatus()
- getTooltipTextForProjectHoursStatus()
- getTooltipTextForProjectBudgetStatus()
2014-03-10 18:39:00 +01:00
miciele Ghiorghis
a8680adcb6 project-margins-and-status: two properties(hoursMargin and budgetMargin) are added to the Order object
The properties are added to hold the project's hours and budget margins
2014-03-10 18:39:00 +01:00
miciele Ghiorghis
3dc79c01cb project-margins-and-status: two columns(hours_margin and budget_margin) are added to the order-table 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
917cf6005f project-margins-and-status: hoursMargin and budgetMargin fields added 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
b0bb53b406 project-margins-and-status: new treecell added to hold project's hours and budget status 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
2100273922 project-margins-and-status: new treecell added to hold project's hours and budget status 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
4a13fd78e2 project-margins-and-status: label 'Status' added 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
34bf33e630 project-margins-and-status: Implementation of getProject- hours and budget status and the project's tooltipsText 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
8b68347041 project-margins-and-status: get project status and tooltipText methods added
Calculates the project status and gets the tooltips for each task of the project
2014-03-10 18:38:59 +01:00
miciele Ghiorghis
a09cdef943 project-margins-and-status: extended with implementaion of ITaskFundamentalProperties -projectStatus and tooltip 2014-03-10 18:38:58 +01:00
miciele Ghiorghis
052a7aa9ee project-margins-and-status: Project's hours and budget status 2014-03-10 18:38:58 +01:00
miciele Ghiorghis
bffc44e1de project-margins-and-status: get/show project's hours and budget status 2014-03-10 18:38:58 +01:00
Oscar Gonzalez
a3cf98d74d Merge pull request #13 from poum/master
Fix little title typo
2013-12-04 13:19:16 -08:00
poum
40e924b919 Fix little title typo 2013-12-04 22:13:55 +01:00
Oscar Gonzalez
0144a8816c Merge pull request #12 from poum/patch-2
Fix use_latex_footnotes warning
2013-12-04 13:12:22 -08:00
poum
41a8269ca6 Fix use_latex_footnotes warning 2013-12-04 21:52:46 +01:00
Oscar Gonzalez Fernandez
0f530f653b Remove unused part in build 2013-12-03 12:59:46 +01:00
Oscar Gonzalez Fernandez
2e25b34c95 Extract repeated Makefile
A great deal of duplication is removed.
2013-12-03 12:42:49 +01:00
Oscar Gonzalez Fernandez
88b7c7593b Fix bug #1635
With docutils version 0.10 and a lesser version than Python 3 this bug happens:

http://sourceforge.net/p/docutils/bugs/215/

A workaround is done.
2013-11-29 20:07:12 +01:00
Oscar Gonzalez
d2f7747548 Merge pull request #11 from poum/master
Fix typos detected during manual review
2013-11-28 02:43:31 -08:00