Commit graph

7871 commits

Author SHA1 Message Date
Susana Montes Pedreira
97530cbc99 Avoid to delete an order element with expenses
ItEr76S24AdapatingProjectsToExpenses
2012-04-26 21:17:45 +01:00
Susana Montes Pedreira
c0dc6dede3 Refactoring ExpenseSheetCRUDController to extend BaseCRUDController
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-26 21:16:01 +01:00
Susana Montes Pedreira
6e2e51652d change the properties with type Date to LocalDate in the ExpenseSheet and
ExpenseSheetLine classes.

FEA: ItEr76S22ExpenseTrackingSystem
2012-04-26 08:35:44 +01:00
Susana Montes Pedreira
5fb7dedda8 add constraints and validations in the expense sheet view.
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-24 19:07:53 +01:00
Susana Montes Pedreira
962be89234 renamed the TaskInExpenseSheetBandboxFinder to
OrderElementInExpenseSheetBandboxFinder

FEA: ItEr76S22ExpenseTrackingSystem
2012-04-24 19:04:39 +01:00
Susana Montes Pedreira
5ca452a357 add the methods to set a constraint to the bandbox
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-24 18:58:42 +01:00
Susana Montes Pedreira
c1a96da7de reset the model in BandboxSearch when the finder is set, in
order to update the model.

FEA: ItEr76S22ExpenseTrackingSystem
2012-04-24 18:56:55 +01:00
Susana Montes Pedreira
24be482a78 Refactoring the classes ExpenseSheet and ExpenseSheetLine
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-24 18:49:03 +01:00
Susana Montes Pedreira
398242bd35 create the test "expenseSheetTestDAO"
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-20 18:41:26 +01:00
Susana Montes Pedreira
a31fecf2b0 change the name of the entry Work Reports to be Time Tracking.
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-20 18:39:44 +01:00
Susana Montes Pedreira
8445e59185 Configuring permissions to access and to save the expenses
sheet with the role "Expenses tracking allowed".

FEA: ItEr76S22ExpenseTrackingSystem
2012-04-20 18:38:10 +01:00
Susana Montes Pedreira
aac024645b create expense sheet list and the edition view for each one.
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-20 18:36:06 +01:00
Susana Montes Pedreira
d69a73d188 change Libreplan configuration view and add the expense sheet as a
class whose code can be autogenerated.

FEA: ItEr76S22ExpenseTrackingSystem
2012-04-20 18:25:01 +01:00
Susana Montes Pedreira
457ca9145b create ExpenseSheet and ExpenseSheetLine classes.
FEA: ItEr76S22ExpenseTrackingSystem
2012-04-20 18:14:07 +01:00
Manuel Rego Casasnovas
3ca4f222f1 Bug #1402: Invalidate the TaskComponents instead of the whole GanttPanel
FEA: ItEr76S04BugFixing
2012-04-10 13:39:50 +02:00
Manuel Rego Casasnovas
45b8620102 Merge branch 'master' into project-dashboards 2012-04-10 11:31:52 +02:00
Manuel Rego Casasnovas
b4200e84d3 Bug #1349: Fix translation issue in choosing template pop-up
FEA: ItEr76S04BugFixing
2012-04-09 12:40:17 +02:00
Manuel Rego Casasnovas
3bc613b301 Bug #1349: Mark to translate exception day type
FEA: ItEr76S04BugFixing
2012-04-09 12:39:50 +02:00
Manuel Rego Casasnovas
bccd893fb3 Bug #1349: Fix translation in calendar type
FEA: ItEr76S04BugFixing
2012-04-09 12:38:00 +02:00
Manuel Rego Casasnovas
1eb2bca86c Bug #1298: Mark to translate roles in user and profile edition
FEA: ItEr76S04BugFixing
2012-04-09 11:09:47 +02:00
Manuel Rego Casasnovas
4c9e8d1b52 Remove CutyCaptTimeout
This was removed because of:
* It was not being used since June 2011 when we started to use "cutycapt"
  command instead of "CutyCapt".
* "killall" command added a new dependency that was not marked in the Debian
  packages. This causes some stacktrace in the logs of a fresh installation in a
  Debian server.

FEA: ItEr76S04BugFixing
2012-04-09 09:57:51 +02:00
Manuel Rego Casasnovas
166254f2dd Bug #1406: Add UI validation for name field too
FEA: ItEr76S04BugFixing
2012-04-04 18:33:30 +02:00
Manuel Rego Casasnovas
e2df00309a Bug #1406: Add validation in the UI and also a try catch for possible ValidationExceptions
FEA: ItEr76S04BugFixing
2012-04-04 16:51:15 +02:00
Manuel Rego Casasnovas
cd229f13af Fix several issues in the new thread
* BlockingQueue with size 1 could block some order saving till the queue was not
  empty.
* Counter in order to check the maximum number of attempts was post-incremented,
  so it was not working at all.

FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-04-04 16:01:09 +02:00
Manuel Rego Casasnovas
f6457e00fc Add a thread to perform SumChargedEffort recalculations
FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-04-04 12:19:34 +02:00
Manuel Rego Casasnovas
a3339c3269 Improve database preconditions in Liquibase changeset
Using the "dbms" attribute in "changeset" tag doesn't show any warning as if
database doesn't match the change is simply ignored.

FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-04-04 08:38:43 +02:00
Manuel Rego Casasnovas
3ca40f560a Bug #1400: Move call to do recalculations after doTheSaving
In order to do the recalculations is needed that the order is actually saved, so
it's better to call the DAO after doTheSaving method.

Moreover, now the DAO receive an id and look for the order in database.

FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-04-03 12:54:08 +02:00
Manuel Rego Casasnovas
e34857d239 doc: Fix typo in INSTALL file 2012-04-03 10:33:45 +02:00
Manuel Rego Casasnovas
8262066518 Bug #1400: Fix problem recalculating SumChargedEfforts if some elements are moved in the WBS
If an OrderElement is added or removed in the WBS and it is not a new object,
then the Order is marked to recalculate the SumChargedEfforts. During the Order
saving the SumChargedEfforts are recalculated.

FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-04-02 19:45:00 +02:00
Manuel Rego Casasnovas
62b7e33a10 Add map in order to avoid repeat find when SumChargedEffort has been already found before
FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-03-30 17:43:40 +02:00
Manuel Rego Casasnovas
dfb0090666 Prevent NPE in OrderElement::getSumChargedEffort()
Now SumChargeEffort objects are not created till some hours are reported, so it
could be null in some cases.

FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-03-30 17:43:39 +02:00
Manuel Rego Casasnovas
abc0e0fe66 Create SumChargedEffort while saving the work reports
FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-03-30 17:43:39 +02:00
Manuel Rego Casasnovas
7f5184b78d Change mapping between SumChargedEffort and OrderElement
A database refactoring has been added to make this change keep working and avoid
lose any data.

It was needed to use specific procedures for PostgreSQL and MySQL.

FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-03-30 15:13:12 +02:00
Manuel Rego Casasnovas
fcf8d44340 doc: Fix broke link in INSTALL file
FEA: ItEr76S03Community
2012-03-30 15:02:30 +02:00
Manuel Rego Casasnovas
9822389fa1 doc: Update information about how to install in Fedora and openSUSE
FEA: ItEr76S03Community
2012-03-30 14:57:43 +02:00
Manuel Rego Casasnovas
1e82ad7d6d doc: Add info about JAVA_OPTS configuration in INSTALL file
FEA: ItEr76S03Community
2012-03-30 13:51:33 +02:00
Jacobo Aragunde Pérez
2df0bac3d8 Rebase the code of the .zul pages for the templates screen.
I did it so it matches the three file structure we used in many other screens
(main, list, edit).
2012-03-28 20:11:58 +02:00
Susana Montes Pedreira
c2683547d2 [Bug #1234] Fix the deletion of fields in progress reporting in subcontractor module.
FEA: ItEr74S04BugFixing
2012-03-28 12:47:18 +01:00
Manuel Rego Casasnovas
92bef8a27d Fix problems in Liquibase changes in MySQL
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-28 11:27:26 +02:00
Manuel Rego Casasnovas
979ac144b1 Merge branch 'money-cost-monitoring-system' 2012-03-27 17:51:02 +02:00
Manuel Rego Casasnovas
8d37e716e6 Merge branch 'libreplan-1.2' into money-cost-monitoring-system 2012-03-27 17:26:21 +02:00
Manuel Rego Casasnovas
aa2e40092d doc: Add info about add-apt-repository command in INSTALL file 2012-03-27 11:21:55 +02:00
Manuel Rego Casasnovas
112a243383 doc: Add info about add-apt-repository command in INSTALL file 2012-03-27 11:21:36 +02:00
Jacobo Aragunde Pérez
749de4e569 Bug #1387: Code refactor of the previous patches for this bug.
FEA: ItEr76S04BugFixing
2012-03-27 10:52:13 +02:00
Jacobo Aragunde Pérez
21df77d458 Bug #1387: Fix bug when it happens in the opposite way.
This fixes when you have a container task which is a scheduling point, and you
unschedule it to schedule its children. This is the opposite to the original
description of the bug, but the cause is the same.

FEA: ItEr76S04BugFixing
2012-03-27 10:52:09 +02:00
Óscar González Fernández
d6468ddd1c Bug #1387: Fix bug
Possible fix of the first problem. It looks into the
SchedulingDataForVersion instead of the data to see the status in the
database instead of in memory so the synchronizations sent to the
database are ok.
2012-03-27 10:51:59 +02:00
Jacobo Aragunde Pérez
398aab26ba Bug #1387: Code refactor of the previous patches for this bug.
FEA: ItEr76S04BugFixing
2012-03-27 10:45:05 +02:00
Jacobo Aragunde Pérez
5d8860474b Bug #1387: Fix bug when it happens in the opposite way.
This fixes when you have a container task which is a scheduling point, and you
unschedule it to schedule its children. This is the opposite to the original
description of the bug, but the cause is the same.

FEA: ItEr76S04BugFixing
2012-03-27 10:38:53 +02:00
Manuel Rego Casasnovas
88e39eabd8 Show budget information in a read-only field inside task properties tab
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-27 10:07:31 +02:00
Óscar González Fernández
a20fc0ec1f Bug #1387: Fix bug
Possible fix of the first problem. It looks into the
SchedulingDataForVersion instead of the data to see the status in the
database instead of in memory so the synchronizations sent to the
database are ok.
2012-03-27 09:54:47 +02:00