Commit graph

8804 commits

Author SHA1 Message Date
Óscar González Fernández
c8129cd292 Bug #1590: Avoid repeated calls to goToOrdersList
A mechanism for ignoring in a scope the calls to createBindings has
been added. When accessing from the entry point the page is been
created and the AnnotatedDataBinder created automatically will track
the created tab. So in these cases we must ignore createBindings
calls.
2012-12-11 16:33:33 +01:00
Óscar González Fernández
f06a44d6e9 Avoid some redundant loads of bindings in the same request
Sometimes reloadBindings is called several times in the same request.
Now only the first call would force the reload and the others would be
ignored.

For example, when switching to Projects List reloadBindings is called
after the tab being created and another time when calling
org.libreplan.web.orders.OrderCRUDController.goToList(). Now the
second call is ignored.
2012-12-11 16:33:33 +01:00
Manuel Rego Casasnovas
2b4be85656 Revert "Bug #1590: Fix problem calling several times the same method in OrderModel"
This reverts commit 7ca0d43883.
2012-12-11 16:33:33 +01:00
Manuel Rego Casasnovas
bf8b2fbe94 Revert "Bug #1592: Fix problem not showing the tab if it is already being shown"
This reverts commit 8c6fb028e6.

It causes a NPE when adding tasks to a project just after create a project.
2012-12-11 15:59:45 +01:00
Manuel Rego Casasnovas
7813f8a207 Bug #1594: Fix issue opening transaction at DAO if needed
FEA: ItEr77S04BugFixing
2012-12-11 13:55:30 +01:00
Manuel Rego Casasnovas
2ff100d3ad Bug #1593: Fix issue translating the options while rendering
FEA: ItEr77S04BugFixing
2012-12-10 13:30:33 +01:00
Manuel Rego Casasnovas
5603148c1b debian: Add information about common issues in LibrePlan installation
FEA: ItEr77S03Community
2012-12-10 12:26:37 +01:00
Manuel Rego Casasnovas
8c6fb028e6 Bug #1592: Fix problem not showing the tab if it is already being shown
FEA: ItEr77S04BugFixing
2012-12-07 18:15:26 +01:00
Manuel Rego Casasnovas
d448c863a9 i18n: Update keys.pot files
FEA: ItEr77S03Community
2012-12-07 14:15:27 +01:00
Manuel Rego Casasnovas
07c68d8103 Bug #1590: Simplify Util.createBindingsFor
Fix 2 issues in Util.createBindingsFor:
* Avoid to go over all the children of the component as it seems enough with
  create the data binder in the root component.
* Avoid to call .loadAll() for each binder as the method Util.reloadBindings is
  usually used before when needed.

FEA: ItEr77S04BugFixing
2012-12-07 13:41:38 +01:00
Manuel Rego Casasnovas
b560e495fa Bug #1590: Avoid go to projects list when creating a project
FEA: ItEr77S04BugFixing
2012-12-07 13:27:46 +01:00
Manuel Rego Casasnovas
7ca0d43883 Bug #1590: Fix problem calling several times the same method in OrderModel
The problem was that OrderModel.getOrders() was been called several times to
show the list of projects.

After reviewing the problem several issues were detected:
* Util.createBindingsFor was always calling .loadAll() for each binder it
  creates, however this was not needed. Moreover a lot of times
  Util.reloadBindings is called just after Util.createBindings so the same thing
  is called twice.
* If you go via the entry point or the icon to the project list, the binder for
  the page is properly initialized or not. If you come from the entry point, the
  binder is already working as expected, however if you come from the icon the
  binder has to be created manually. It has been added a method
  CreatedOnDemandTab.afterCreateAction() that is called or not depending if the
  user comes from the entry point or the icon.

FEA: ItEr77S04BugFixing
2012-12-07 12:01:59 +01:00
Manuel Rego Casasnovas
5a76e6281e Bug #1589: Fix issue using orderVersion for all the elements to be updated or added
FEA: ItEr77S04BugFixing
2012-12-05 11:25:05 +01:00
Manuel Rego Casasnovas
8be20340bf Bug #1586: Fix issue reseting list of checkboxes before adding them
FEA: ItEr77S04BugFixing
2012-12-05 07:30:17 +01:00
Manuel Rego Casasnovas
be15db0de8 Bug #1583: If assignment function is not configurable keep button disabled
FEA: ItEr77S04BugFixing
2012-12-04 16:57:01 +01:00
Manuel Rego Casasnovas
9937f00e76 Bug #1587: Fix issue only resetting index of progress combo if it has items
FEA: ItEr77S04BugFixing
2012-12-04 09:42:30 +01:00
Manuel Rego Casasnovas
2c51ef98a1 Bug 1581: Avoid exception in LongOperationFeedback if desktop is not ready
FEA: ItEr77S04BugFixing
2012-12-03 14:55:41 +01:00
Juan A. Suarez Romero
9c1ba005fe Update RPM spec file
Documentation files have been suffixed with ".rst".
2012-11-30 13:06:34 +01:00
Manuel Rego Casasnovas
331106824f Bump version number to 1.3.2
FEA: ItEr77S03Community
2012-11-30 07:41:11 +01:00
Manuel Rego Casasnovas
d654e9de4e Update NEWS file for LibrePlan 1.3.2
FEA: ItEr77S03Community
2012-11-30 07:41:06 +01:00
Manuel Rego Casasnovas
76156755fe Update RPM package for LibrePlan 1.3.2
FEA: ItEr77S03Community
2012-11-30 07:41:01 +01:00
Manuel Rego Casasnovas
7508d1dc78 Update Debian package for LibrePlan 1.3.2
FEA: ItEr77S03Community
2012-11-30 07:40:56 +01:00
Manuel Rego Casasnovas
2e608997ae Update database scripts for LibrePlan 1.3.2
FEA: ItEr77S03Community
2012-11-30 07:40:52 +01:00
Manuel Rego Casasnovas
857ff0c533 Only use ConfirmCloseUtil when saving if you are in the UI (not from web services)
FEA: ItEr77S04BugFixing
2012-11-29 13:14:56 +01:00
Manuel Rego Casasnovas
c59a89e24e Avoid confirm close warning when you get a concurrent modification exception
When users clicks on save and the project has been already modified by other
user, it should be redirected to the page explaining the issue without having to
confirm that he is leaving the planning.

FEA: ItEr77S04BugFixing
2012-11-29 13:14:56 +01:00
Manuel Rego Casasnovas
775f643e80 Fix issue deleting a project from the webservice
A NPE was appearing because of the parent of a project is null.

FEA: ItEr77S13AllowDeleteOrderElements
2012-11-29 13:14:56 +01:00
Jacobo Aragunde Pérez
e7c18be09e Update installation instructions for RPM based distros. 2012-11-29 12:35:02 +01:00
Juan A. Suarez Romero
949c850628 Fedora17 requires JDK 1.7 2012-11-29 12:35:00 +01:00
Lorenzo Tilve Álvaro
67c3ec4fa9 Fixed effect which caused previously clicked menu elements to be shown underlined
FEA: ItEr77S04BugFixing
2012-11-29 11:49:20 +01:00
Manuel Rego Casasnovas
3db87e1a3f Fix printing due to change in entry points that now use code instead of id
This regression was introduced in commit fd74722614.

FEA: ItEr77S04BugFixing
2012-11-29 11:29:14 +01:00
Lorenzo Tilve Álvaro
b3f557f58a Fixed NPE when deleting nodes too fast on project or template WBS trees
This was happening when clicking too fast on the node deletion
column on the tree, wich caused an exception due to trying to remove
an already deleted element.

FEA: ItEr77S04BugFixing
2012-11-29 09:58:32 +01:00
Manuel Rego Casasnovas
05132fd5a7 Bug #1562: Fix issue filtering properly resources according to their activation periods
Now the dates filtering the resource load window are checked against the
resources activation periods. Using the following algorithm:

1) If the resource has not activation periods then it should always appear

2) The filter can have null for start and end dates and the activation periods
   can have null for end date. So we should define what to do in each case:

  Let's define some acronyms:
  * Filter Start Date: FSD
  * Filter End Date: FED
  * Activation Period Start Date: APSD (cannot be null)
  * Activation Period End Date: APED

  2.1) FSD is null and FED are null: The resource should appear regardless its
       activation periods

  2.2) FSD is null:
    2.2.1) APED is null: Check if APSD is lower or equals than FED
    2.2.2) APED is not null: Check if APSD is lower or equals than FED or APED
           is lower or equals than FED

  2.3) FED is null:
    2.3.1) APED is null: The resource should appear
    2.3.2) APED is not null: Check if APSD is later or equals than FSD or APED
           is later or equals than FSD

  2.4) FSD is not null and FED is not null:
    2.4.1) APED is null: Check if APSD is between FSD and FED
    2.4.2) APED is not null: Check if activation period overlaps filter period
           at any point

FEA: ItEr77S04BugFixing
2012-11-29 07:16:08 +01:00
Manuel Rego Casasnovas
a323eb400c doc: Add .rst extension to web services README
FEA: ItEr77S03Community
2012-11-28 18:08:54 +01:00
Manuel Rego Casasnovas
11e816cee2 doc: Add documentation about the new bound users web services
FEA: ItEr77S14BoundUsersWebServices
2012-11-28 18:06:49 +01:00
Lorenzo Tilve Álvaro
14405cea9d Increased opacity of markers for first and last day with reported hours
FEA: ItEr77S04BugFixing
2012-11-28 11:13:39 +01:00
Lorenzo Tilve Álvaro
b5afe435d4 Shifted right the last reported day marker
This makes the component fit inside the day and overlap when the zoom is
wide enough to make the interval thinner than the sum of the marker widths.

FEA: ItEr77S04BugFixing
2012-11-28 11:08:40 +01:00
Lorenzo Tilve Álvaro
25087fd7ba Changed cursor over gantt bars with fixed properties 2012-11-28 11:08:40 +01:00
Lorenzo Tilve Álvaro
507e799880 Revamped appearance of markers for first and last reported progress dates
FEA: ItEr77S04BugFixing
2012-11-28 11:08:40 +01:00
Lorenzo Tilve Álvaro
f5ef3ecbd6 Replaced browser-prefixed border-radius elements from CSS files
The latest versions of some browsers were about to drop compatibility
whith these prefixes, so just the Candidate Recommendation is kept.

FEA: ItEr77S04BugFixing
2012-11-28 10:44:58 +01:00
Manuel Rego Casasnovas
8d9a92d7ba Bug 1581: Avoid exception when desktop is not alive in LongOperationFeedback
FEA: ItEr77S04BugFixing
2012-11-28 09:48:22 +01:00
Manuel Rego Casasnovas
0efc10a662 doc: Added Thiago Cangussu as new Portuguese translator
FEA: ItEr77S03Community
2012-11-27 17:53:46 +01:00
Thiago Cangussu
022640235a i18n: Update Portuguese translation
FEA: ItEr77S03Community
2012-11-27 17:53:39 +01:00
Philippe Poumaroux
db7623c606 i18n: Update French translation
FEA: ItEr77S03Community
2012-11-27 17:41:08 +01:00
Jeroen Baten
2a4c79572e i18n: Update Dutch translation
FEA: ItEr77S03Community
2012-11-27 17:35:43 +01:00
Daniel Díaz Sañudo
0fb1b361aa i18n: Update Catalan translation
FEA: ItEr77S03Community
2012-11-27 17:31:49 +01:00
Manuel Rego Casasnovas
560516cc1e i18n: Update Galician translation
FEA: ItEr77S03Community
2012-11-27 17:12:47 +01:00
Manuel Rego Casasnovas
70ade980d0 i18n: Update Spanish translation
FEA: ItEr77S03Community
2012-11-27 17:01:10 +01:00
Manuel Rego Casasnovas
8c81938db6 Fix Bug 1580: Force position recalculation after accepting task properties pop-up
FEA: ItEr77S04BugFixing
2012-11-27 13:36:27 +01:00
Lorenzo Tilve Álvaro
730c33b4d8 Made explicit focused elements on main menu
FEA: ItEr77S04BugFixing
2012-11-27 12:58:00 +01:00
Lorenzo Tilve Álvaro
180bd57685 Fixed side-effect of clickable-rows:hover effect on grids
FEA: ItEr77S04BugFixing
2012-11-27 12:57:44 +01:00