Commit graph

8364 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
759cc913d2 i18n: Do not mark to translate predefined criterion types
FEA: ItEr76S04BugFixing
2012-07-03 08:08:59 +02:00
Manuel Rego Casasnovas
e35e3319d3 i18n: Get week days translation automatically from Java libraries
FEA: ItEr76S04BugFixing
2012-07-03 07:51:12 +02:00
Manuel Rego Casasnovas
8f91954b15 i18n: Get months translation automatically from Java libraries
FEA: ItEr76S04BugFixing
2012-07-03 07:50:49 +02:00
Manuel Rego Casasnovas
2af59bfed7 i18n: Remove unneeded spaces in strings marked to translate into QueueComponent
FEA: ItEr76S04BugFixing
2012-07-03 07:49:37 +02:00
Javier Moran Rua
ea5a77a7ff i18n: Text string review
FEA: ItEr76S04BugFixing
2012-07-02 22:12:00 +02:00
Manuel Rego Casasnovas
d59577a568 i18n: Review and fix several strings to be translated
FEA: ItEr76S04BugFixing
2012-07-02 19:37:31 +02:00
Manuel Rego Casasnovas
f766ba52fd i18n: Fix problem with break lines in strings extractor
FEA: ItEr76S04BugFixing
2012-07-02 18:28:50 +02:00
Jacobo Aragunde Pérez
bbb7901e5c Bug #1472: Hide the bar with the arrow buttons of the WBS in read-only mode.
FEA: ItEr76S04BugFixing
2012-06-29 19:36:50 +02:00
Manuel Rego Casasnovas
43fe4c32fc i18n: Update keys.pot files
FEA: ItEr76S03Community
2012-06-29 18:03:08 +02:00
Manuel Rego Casasnovas
1a9deaa2e7 i18n: Fixing strings
* Correct some wrong strings
* Remove unneeded strings marked to be translated

FEA: ItEr76S04BugFixing
2012-06-29 18:03:08 +02:00
Manuel Rego Casasnovas
f1c21413f6 Bug #1443: Review other places where InvalidValue is used and mark to translate
Move some code to print errors from OrderCRUDController to SaveCommandBuilder
as it was not been used in OrderCRUDController anymore.

FEA: ItEr76S04BugFixing
2012-06-28 08:33:31 +02:00
Manuel Rego Casasnovas
30292b062a Bug #1443: Fix gettext keys extractor
Improve the regex taking into account possible spaces to extract the strings in
the Hibernate validation annotations.

Before this patch only the next lines would be marked to be translated:
    @NotNull(message="code not specified"

However, next line has to be marked to be translated too:
    @NotNull(message = "code not specified")

FEA: ItEr76S04BugFixing
2012-06-28 08:25:41 +02:00
Manuel Rego Casasnovas
b5a4f038f3 Bug #1443: Show error messages translated and just once
Fix problem in general handling of ValidationExceptions at MessagesForUser.

FEA: ItEr76S04BugFixing
2012-06-28 08:24:39 +02:00
Manuel Rego Casasnovas
db9a8a5510 Bug #1369: Fix problem when a template defines a calendar in new project pop-up
Use the calendar from the combo as they are already properly loaded.

FEA: ItEr76S04BugFixing
2012-06-27 12:27:49 +02:00
Manuel Rego Casasnovas
760a61d3f1 Bug #1369: Fix problems with dates from template in new project pop-up
FEA: ItEr76S04BugFixing
2012-06-27 12:27:46 +02:00
Manuel Rego Casasnovas
be9408b444 Remove column code in template finder as templates do not have code attribute anymore
FEA: ItEr76S04BugFixing
2012-06-27 11:49:21 +02:00
Manuel Rego Casasnovas
72aaace144 Bug #1369: Set calendar from selected template in new project pop-up
FEA: ItEr76S04BugFixing
2012-06-27 11:44:15 +02:00
Manuel Rego Casasnovas
fc9800ae9e Bug #1369: Fix problems in previous patch due to bandbox listener
FEA: ItEr76S04BugFixing
2012-06-27 11:44:15 +02:00
Manuel Rego Casasnovas
ecbd5bbd46 Bug #1440: Add calendar field while editing project templates
FEA: ItEr76S04BugFixing
2012-06-27 11:14:23 +02:00
Manuel Rego Casasnovas
bda28676ee Bug #1471: Remove duplicate map for codes in OrderElementTreeController
FEA: ItEr76S04BugFixing
2012-06-27 09:08:45 +02:00
Manuel Rego Casasnovas
fb6430e251 Bug #1471: Update all the columns in the WBS and not only name, hours and budget
FEA: ItEr76S04BugFixing
2012-06-27 09:02:38 +02:00
Manuel Rego Casasnovas
54887acb45 Bug #1471: Create new method updateColumnsFor to include all similar calls
FEA: ItEr76S04BugFixing
2012-06-27 09:02:35 +02:00
Manuel Rego Casasnovas
fe601fd640 Bug #1471: Add getter and setter for textbox of DynamicDatebox
FEA: ItEr76S04BugFixing
2012-06-27 08:13:04 +02:00
Manuel Rego Casasnovas
6f84308300 Bug #1470: Fixed problem calculating SumChargedEffort when the task was modified
FEA: ItEr76S04BugFixing
2012-06-26 16:21:49 +02:00
Manuel Rego Casasnovas
6fa53b3a58 Bug #1464: Prevent NPE when setting progress in a task with parents hidden
FEA: ItEr76S04BugFixing
2012-06-26 12:56:55 +02:00
Manuel Rego Casasnovas
14ba92e049 Bug #1466: Fix NPE when there are milestones in the planning
FEA: ItEr76S04BugFixing
2012-06-26 12:38:32 +02:00
Manuel Rego Casasnovas
0e6b5882f6 Disable create new users from worker edition if user lacks ROLE_USER_ACCOUNTS
FEA: ItEr76S30PermissionsEnhancements
2012-06-26 11:44:15 +02:00
Manuel Rego Casasnovas
01446a0f6a Add permissions for ROLE_SUPERUSER where ROLE_EDIT_ALL_PROJECTS is used
FEA: ItEr76S30PermissionsEnhancements
2012-06-26 11:11:12 +02:00
Manuel Rego Casasnovas
80d9f11c92 Fix columns in template assignment log tab
FEA: ItEr76S30PermissionsEnhancements
2012-06-26 11:03:44 +02:00
Manuel Rego Casasnovas
33f6ce22f3 Protect entry point in templates assignment log
FEA: ItEr76S30PermissionsEnhancements
2012-06-26 10:59:26 +02:00
Manuel Rego Casasnovas
3ede3a1b10 Fix SecurityUtils.isSuperuserOrRolePlanningOrHasAnyAuthorization
Add role ROLE_EDIT_ALL_PROJECTS to the list of roles checked.

FEA: ItEr76S30PermissionsEnhancements
2012-06-26 10:14:56 +02:00
Manuel Rego Casasnovas
a5ba940636 Protect entry point in Timesheet Lines List report
Check users permissions in order to edit the work report.

FEA: ItEr76S30PermissionsEnhancements
2012-06-26 09:19:36 +02:00
Manuel Rego Casasnovas
4f0686565d Refactor code related to timesheet lines list report
The problem was that workReportQuery.zul has copied the edition code from
workReport.zul, and we were only fixing issues in workReport.zul wich causes
that we have 2 different edition forms.

Now workReportQuery.zul only takes care of the report.

Tasks done:
* Create a new controller WorkReportQueryController
* Moved code from WorkReportCRUDController to WorkReportQueryController
* Use entry points to move between both controllers

FEA: ItEr76S30PermissionsEnhancements
2012-06-26 08:51:41 +02:00
Manuel Rego Casasnovas
e91faa776b Finally fixing users and profiles related tests changing the way to define default users
FEA: ItEr76S30PermissionsEnhancements
2012-06-25 13:13:48 +02:00
Manuel Rego Casasnovas
36414465cf New attempt to fix tests in Jenkins machine
FEA: ItEr76S30PermissionsEnhancements
2012-06-25 11:20:31 +02:00
Manuel Rego Casasnovas
a1e4ecd38d Fix tests failing on Jenkins due to new predefined users with profiles
FEA: ItEr76S30PermissionsEnhancements
2012-06-22 13:03:39 +02:00
Manuel Rego Casasnovas
9498f508b2 Fix reports to filter projects by user permissions
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 23:14:48 +02:00
Manuel Rego Casasnovas
9c990a054e Fix method SecurityUtils.isSuperuserOrRolePlanningOrHasAnyAuthorization
If user has ROLE_READ_ALL_PROJECTS it should return true too.

FEA: ItEr76S30PermissionsEnhancements
2012-06-21 17:03:09 +02:00
Manuel Rego Casasnovas
d47f29f862 Add role read all projects to reports responsible
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 16:53:56 +02:00
Manuel Rego Casasnovas
403d1fed64 Review page titles due to menu revamp
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 16:23:57 +02:00
Manuel Rego Casasnovas
a77e7c6ce1 Fix compilation issue due to class rename in commit bdf731d473
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 13:03:22 +02:00
Manuel Rego Casasnovas
c9a7fccb56 Fix wrong syntax in template.zul
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 12:34:11 +02:00
Manuel Rego Casasnovas
699e8d5d85 Fix issue in TemplateController and ProfileDAO due to new predefined users
Need to open transaction in ProfileDAO.findByProfileName() because of this
method is called via TemplateController (which is accessing the new predefined
        users).

The new predefined users with a profile are using the method
PredefinedProfiles.getFromDB() that is calling the ProfileDAO.

FEA: ItEr76S30PermissionsEnhancements
2012-06-21 12:34:11 +02:00
Manuel Rego Casasnovas
bdf731d473 Modified behavior of UsersBootstrapInDB in order to create users only if there are no users yet
This will work like the rest of bootstraps. Accordingly to its behavior the
class has been renamed from MandatoryUser to PredefinedUsers.

FEA: ItEr76S30PermissionsEnhancements
2012-06-21 12:34:10 +02:00
Manuel Rego Casasnovas
26d5638b41 Disable edition and removal of default user admin
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 09:47:12 +02:00
Manuel Rego Casasnovas
909a007042 Fixed some users related tests due to previous patch
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 08:39:18 +02:00
Manuel Rego Casasnovas
b26430979c Add new example users
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 08:39:18 +02:00
Manuel Rego Casasnovas
c3b5232d16 Remove default user with login user and password user
FEA: ItEr76S30PermissionsEnhancements
2012-06-21 08:07:08 +02:00
Manuel Rego Casasnovas
7907c12a91 Move default profiles bootstrap to proper package
FEA: ItEr76S30PermissionsEnhancements
2012-06-20 12:11:56 +02:00
Manuel Rego Casasnovas
06293c46a0 Fix title in access_forbidden.zul
FEA: ItEr76S30PermissionsEnhancements
2012-06-20 10:53:54 +02:00