Commit Graph
726 Commits
Author SHA1 Message Date
Sascha Rodekamp 7da19e4b7b BUG - PROJECTADMIN cannot create projects in projectmgr (https://issues.apache.org/jira/browse/OFBIZ-3201).
I add a new permission check to the ProjectMenu.xml to check weather the user have PROJECTMGR_ADMIN rights or not. If not he should not be able to create new Projects. 
That means that users which are in the security group PROJECTADMIN aren't allowed to create new projects by default. Because they are responsable for there own projects and not for creating new once. Maybe the name of the Permission group is a little bit confusing. The PROJECTADMIN is not the admin from the project module he is more a Project manager (an admin for his own projects).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1087680 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 12:23:12 +00:00
Sascha Rodekamp 99b7a40632 Bug - Unable to create project task contents as admin (https://issues.apache.org/jira/browse/OFBIZ-3952). Apllied Jeremys modified patch. Just add an extra permission check for the PROJECT_ADMIN permission.
Orig.Msg.
When editing a task in the project manager application you cannot add content from the content tab if you have admin privileges. The permission is incorrectly labeled as "PROJECTMGR_ROLE_ADMIN" when it should be "PROJECTMGR_ADMIN."


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1087596 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:38:01 +00:00
Erwan de Ferrieres a5d84f24c1 Adding Timestamp type for field comparison
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1082862 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 10:14:00 +00:00
Erwan de Ferrieres 255bedd0f8 tabs to spaces and some reindentation in Various.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1076546 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 07:22:50 +00:00
Erwan de Ferrieres 8097cc2176 Adding more descriptions on the roles and statuses for project management
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1067135 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 10:32:51 +00:00
Erwan de Ferrieres 37c884acc5 Better French uilabels for projectmgr, adding the missing FormFieldTitle_firstResource
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1065796 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 21:23:36 +00:00
Jacques Le Roux 9865a1d36b A patch from Pierre Smits "my time screen in project mgr shows wrong labels with entry field for hours" (https://issues.apache.org/jira/browse/OFBIZ-3942) - OFBIZ-3942
The my time entry screen for hours in Project Mgr shows labels (in English) for the hour columns in following order: sun, mon,tue,wen,thu,fri,sat.

However when entering hours on in e.g the mon(day) column the actual date registered for the hours is for tuesday.

Seems like the week starts on monday, not on sunday

JLR: works well, would need more work for those who prefer to have weeks start on Monday...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1062138 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 10:49:57 +00:00
Adrian Crum 610023a681 Removed deprecated box* CSS styles from some screen widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1059364 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 16:27:42 +00:00
Marco Risaliti cb5e179cc1 Replace some fail-message to fail-property tag all specialpurpose components (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1052038 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 19:22:45 +00:00
Adrian Crum 735da9ffdc Moved user login UI artifacts from the Party component to the Common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1050766 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 06:07:53 +00:00
Adrian Crum d897e9ea52 Eliminated more redundant screens in Project Manager.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1050765 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 05:58:37 +00:00
Adrian Crum 71f65add97 Eliminated a redundant screen in Project Manager. This is in preparation for moving userlogin UI artifacts to the framework.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1050759 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 05:07:59 +00:00
Jacques Le Roux c008c6ccb3 Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Bruno Busco 36b22d6806 Used screenlet tag instead of label to separate forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1032672 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 19:15:18 +00:00
Bruno Busco e23658b420 ProjectSubTabBar menu is actually a ProjectButtonBar.
Added proper style to create button.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1032671 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 19:13:57 +00:00
Bruno Busco 190d361836 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1032661 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 18:25:44 +00:00
Erwan de Ferrieres 6fa4e251b6 Improvements on French uiLabels for project manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1026267 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 09:36:25 +00:00
Hans Bakker 76afbe59cd improvement of projectmgr labels OFBIZ-OFBIZ-3945
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@998577 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 01:14:44 +00:00
Bruno Busco c05cdc2f21 Added UiLabels resources loading in Porlets.
This fixes the missing portlet UILabels rendering when accessing the Portal Page Admin in WebTools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@996090 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 07:10:50 +00:00
Bruno Busco ae914fa953 Added UiLabels resources loading in Porlets.
All Portlet screens should always load all needed UI resources since they can be rendered in different PortalPages that cannot be aware of what resources are needed.
This change will allow to eliminate all UI label resources loading in MyPortal decorators so that MyPortal will not depend on so many other components.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@995975 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 20:43:37 +00:00
Bruno Busco 7ac98d462c Moved TabBar menus in the pre-body section
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@987564 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 16:30:09 +00:00
Adam Heath 5b3b7e0c99 Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Adam Heath 0f8f2093e3 Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Erwan de Ferrieres 6ff8e39e07 A patch from Bob Morley - OFBIZ-3857 - Fix bad field reference projectIdId should be projectId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@964558 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 20:06:49 +00:00
Jacques Le Roux e263a69b74 A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux e5e4a3797b Reverted on Scott's advice (useless and give some trouble on back button: POST => msg like "do you want to send again", not GET)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@952164 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:30:45 +00:00
Jacques Le Roux f559ac97df Secure some targets. Note that they have been introduced since OFBIZ-2243 has been closed.
Please committers use only target with parameter attribute (not in URL) for link and hyperlink fields when there is an action (ie DB modification)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@952119 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:02:02 +00:00
Jacques Le Roux 0d6f2776e4 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux be88f832a2 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux ef2a1c044c We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Jacques Le Roux d5d5f100a1 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Erwan de Ferrieres 3d50d28eec XHTML validation errors round 2+ (specialpurpose/projectmgr) - OFBIZ-3672 (https://issues.apache.org/jira/browse/OFBIZ-3762)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945573 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 10:03:01 +00:00
Jacques Le Roux 0789b813ed We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux abac680115 Now that we have fixed the layered lookup inside layered lookup issue and the recursive call case we can get rid of all the useless remaining presentation="window".
I keep the example and beware LookupTimeDuration is a special case

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@944623 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:13:00 +00:00
Jacques Le Roux d2ba48ef1a Some other issues with layered lookups, bypassed for now using popups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@939999 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 12:43:34 +00:00
Scott Gray 41cf2ab878 Get rid of a few Boolean instantiations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@935162 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:25:42 +00:00
Bruno Busco 7a529c00bc A patch from Blas Rodriguez Somoza
OFBIZ-3677 - XHTML validation errors round 2 (specialpurpose/projectmgr)
https://issues.apache.org/jira/browse/OFBIZ-3677

XHTML validation errors

    * Unclosed tags




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@934184 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:35:23 +00:00
Jacques Le Roux 079f0b9822 Keep the control crisis: while at it fix some French labels (Editer vs Modifier).
Zen again...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@933998 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 16:06:13 +00:00
Bruno Busco 11b8f06bf4 A patch from Blas Rodriguez Somoza
OFBIZ-3617 - XHTML validation errors (specialpurpose_projectmgr)
https://issues.apache.org/jira/browse/OFBIZ-3617

XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:
gantChart.ftl
Duplicated DOCTYPE

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@932722 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 13:58:26 +00:00
Erwan de Ferrieres ed1b494882 Adding week-ends display in Gantt chart
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@932278 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 07:48:29 +00:00
Erwan de Ferrieres 6c73e92fd6 Adding a specific CSS for displaying Gantt charts in project manager. Tables are now aligned.
Next step is to make weekends apparent !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@931925 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 13:14:22 +00:00
Jacques Le Roux 14bf0f757c Closes "Using Widgets html form templates in FTL files" (https://issues.apache.org/jira/browse/OFBIZ-3541) - OFBIZ-3541
This concerns the lookups which are now rendered the same in ftl files and widget forms

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@931854 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 10:19:38 +00:00
Vikas Mayur 4844ebcaac Replaced
<if-has-permission permission="PARTYMGR" action="_VIEW"/>
with
<if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/>



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@930248 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:45:14 +00:00
Hans Bakker 44b146d630 Resolve java warnings a contribution of Bob Morley
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@929916 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 10:50:39 +00:00
Erwan de Ferrieres 06db5f0d19 Using right decorator for the request list in project manager, removing the unnecessary menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@929126 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 13:13:57 +00:00
Erwan de Ferrieres 7116e10c9c Adding missing uiLabel permission
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@924767 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:35:34 +00:00
Erwan de Ferrieres 68cc6e7979 Closing XML tags with empty body
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@924765 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:27:08 +00:00
Erwan de Ferrieres 8189232eb8 Adding missing uiLabels in project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@924750 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 12:53:21 +00:00
Scott Gray 370e3b227a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Hans Bakker 929752c6cf task created from customer request should not have the same id
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@923552 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 02:35:32 +00:00