Commit graph

1257 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
193aff96cf Mark to translate project status label in tooltip in company view
FEA: ItEr77S04BugFixing
2013-01-11 07:58:28 +01:00
Manuel Rego Casasnovas
727bc642b8 Bump version number to 1.3.3
FEA: ItEr77S03Community
2012-12-21 14:38:48 +01:00
Manuel Rego Casasnovas
7c46b2b9b5 Fix typo in Labels tab in project details view
FEA: ItEr77S04BugFixing
2012-12-21 13:35:42 +01:00
Thiago Cangussu
c97ba7d025 i18n: Update Portuguese translation
FEA: ItEr77S03Community
2012-12-21 12:19:34 +01:00
Manuel Rego Casasnovas
87796fcfc8 i18n: Mark some missing strings to be translated
FEA: ItEr77S04BugFixing
2012-12-20 17:44:20 +01:00
Manuel Rego Casasnovas
b4a1145926 i18n: Mark some missing strings to be translated
FEA: ItEr77S04BugFixing
2012-12-20 17:33:24 +01:00
Manuel Rego Casasnovas
d5c2707edc Bug #1600: Fix issue creating bindings on open resource allocation pop-up
FEA: ItEr77S04BugFixing
2012-12-20 14:06:20 +01:00
Lorenzo Tilve Álvaro
9cfdf62d71 Use for company view filtering all projects with status different to STORED or CANCELLED
FEA: ItEr77S04BugFixing
2012-12-20 11:18:12 +01:00
Manuel Rego Casasnovas
2f37775748 Bug #1598: Fix empty labels bandbox creating bindings for tab on open
FEA: ItEr77S04BugFixing
2012-12-18 13:12:21 +01:00
Lorenzo Tilve Álvaro
9729dad8c2 Bug #1579: Add autodisable to save-and-exit button on all standard CRUD forms
FEA: ItEr77S04BugFixing
2012-12-18 09:01:13 +01:00
Lorenzo Tilve Álvaro
c221e5784b Make more readable date constraint component on taskdetails
FEA: ItEr77S04BugFixing
2012-12-18 09:00:59 +01:00
Lorenzo Tilve Álvaro
25a9c12b6b Fix vertical alignment problems on component to add new resource allocations
FEA: ItEr77S04BugFixing
2012-12-18 09:00:00 +01:00
Lorenzo Tilve Álvaro
d6c2b27935 Make more compact advanced search criteria filter tree
FEA: ItEr77S04BugFixing
2012-12-18 08:59:59 +01:00
Lorenzo Tilve Álvaro
42ebf52a03 Fix left padding issue on company view project names
FEA: ItEr77S04BugFixing
2012-12-18 08:59:58 +01:00
Lorenzo Tilve Álvaro
d13982c818 Fix extra vertical padding issue on WBS tree rows
FEA: ItEr77S04BugFixing
2012-12-18 08:59:58 +01:00
Lorenzo Tilve Álvaro
d8a5aea0d2 Bug #1418: Focused worker firstname on creation
FEA: ItEr77S04BugFixing
2012-12-18 08:59:58 +01:00
Lorenzo Tilve Álvaro
8a278480bf Add first input focus-element behaviour to BaseCRUDController subclasses
FEA: ItEr77S04BugFixing
2012-12-18 08:59:58 +01:00
Lorenzo Tilve Álvaro
77f3674dc9 Add support to BaseCRUDController for automatically focusing first .focus-element component
FEA: ItEr77S04BugFixing
2012-12-18 08:59:24 +01:00
Lorenzo Tilve Álvaro
23ef34de73 Replaced comma separator on Task resourcesText as it was already used on each resource
FEA: ItEr76S04BugFixing
2012-12-18 08:56:44 +01:00
Lorenzo Tilve Álvaro
ae8c273bc6 Improved task name style inside gantt view popup
FEA: ItEr76S04BugFixing
2012-12-18 08:56:44 +01:00
Lorenzo Tilve Álvaro
9878d03954 Bug #1584: Fix corner case issue filling the advanced assignment pagination intervals
FEA: ItEr77S04BugFixing
2012-12-17 18:05:46 +01:00
Manuel Rego Casasnovas
6695325abb i18n: Mark some missing strings to be translated
FEA: ItEr77S04BugFixing
2012-12-17 14:35:54 +01:00
Manuel Rego Casasnovas
f58cbd6f32 Bug #1596: Disable confirm close message if user uses back button
FEA: ItEr77S04BugFixing
2012-12-17 14:20:45 +01:00
Daniel Díaz Sañudo
7bbab06a41 i18n: Update Catalan translation
FEA: ItEr77S03Community
2012-12-13 18:04:56 +01:00
Jeroen Baten
4de9c9b0d6 i18n: Update Dutch translation
FEA: ItEr77S03Community
2012-12-13 18:02:12 +01:00
Manuel Rego Casasnovas
0898db0b18 i18n: Update Spanish and Galician translations
FEA: ItEr77S03Community
2012-12-13 18:00:59 +01:00
Manuel Rego Casasnovas
09d9cf2952 Set version for JavaScript modules in lang-addon.xml files
The modules names are obtained from the *.wpd files.

The version value should be updated every time we release a new LibrePlan
version.

FEA: ItEr77S04BugFixing
2012-12-12 11:42:19 +01:00
Manuel Rego Casasnovas
2b1ed0a998 Bug #1592: Fix problem not showing the tab if it is already being shown
FEA: ItEr77S04BugFixing
2012-12-11 20:05:09 +01:00
Óscar González Fernández
787916b50d Bug #1592: Save Order before showing it
Otherwise the MutableTreeModel associated is initialized with a Order
that is not saved yet. When it's used, e.g., when adding a
subtask, it fails.

The MutableTreeModel#nodesByDomainObject map wouldn't find the node
associated to the Order, because the hashCode is different. At first
the Order is a new object so it returns a different hashCode, once
saved another. With these changes, when initializing the
MutableTreeModel it has already been saved.
2012-12-11 20:04:33 +01:00
Ó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
2ff100d3ad Bug #1593: Fix issue translating the options while rendering
FEA: ItEr77S04BugFixing
2012-12-10 13:30:33 +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
331106824f Bump version number to 1.3.2
FEA: ItEr77S03Community
2012-11-30 07:41:11 +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
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