Commit graph

907 commits

Author SHA1 Message Date
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
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
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
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
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
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
06293c46a0 Fix title in access_forbidden.zul
FEA: ItEr76S30PermissionsEnhancements
2012-06-20 10:53:54 +02:00
Manuel Rego Casasnovas
ff939ce249 Configure error logging to add info about the request URI if a 403 status code is returned
FEA: ItEr76S30PermissionsEnhancements
2012-06-20 10:16:54 +02:00
Manuel Rego Casasnovas
8cea09e730 Configure page when 403 (forbidden status code) is send to the user
FEA: ItEr76S30PermissionsEnhancements
2012-06-20 10:01:37 +02:00
Manuel Rego Casasnovas
eddcbca243 Add info about status code in error logging
FEA: ItEr76S04BugFixing
2012-06-20 09:57:11 +02:00
Manuel Rego Casasnovas
f933522d21 Translate into English page_not_found.zul and mark strings to be translated
FEA: ItEr76S04BugFixing
2012-06-20 09:57:11 +02:00
Manuel Rego Casasnovas
3e6d8983c9 Remove unused file error.jsp
FEA: ItEr76S04BugFixing
2012-06-20 09:02:30 +02:00
Manuel Rego Casasnovas
a1c2903476 Move index.zul to common folder
FEA: ItEr76S30PermissionsEnhancements
2012-06-20 09:01:38 +02:00
Manuel Rego Casasnovas
ecba31619c Protect monthly timesheet page depending on user roles
The page cannot be used without entry points and depending on the entry point
used one role or other will be required.

FEA: ItEr76S30PermissionsEnhancements
2012-06-20 08:58:23 +02:00
Manuel Rego Casasnovas
eb58fd31d6 Move sendForbiddenStatusCodeInHttpServletResponse method to Util class
Refactor code where SC_FORBIDDEN code was been sent and used the new method.

FEA: ItEr76S30PermissionsEnhancements
2012-06-20 08:47:32 +02:00
Manuel Rego Casasnovas
ffe537ca7b Protect entry points methods in expenses sheet window
Entry points can only be used by ROLE_BOUND_USER.

Moreover an extra checking has been added in the edit entry point to check that
the expense sheet is personal and it belongs to the worker bound to current
user.

FEA: ItEr76S30PermissionsEnhancements
2012-06-20 08:39:14 +02:00
Manuel Rego Casasnovas
bfd6e56ceb Add check to avoid bound users to go directly (via URL) to expenses page
FEA: ItEr76S30PermissionsEnhancements
2012-06-19 18:23:06 +02:00