Commit Graph
132 Commits
Author SHA1 Message Date
Divesh Dutta 77af05bc8e Improvement: Miniland code readability and consistency improvements
(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1768219 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:14:04 +00:00
Jacques Le Roux 345fc1d6f1 Reverts: Maximise the utilisation of common labels in various applications
(OFBIZ-8102) (OFBIZ-8130)
Reverts r1758774 for OFBIZ-8102 w/o reverting changes which slipped in
Reverts r1761687 for OFBIZ-8130
 
We decided this is not a good way, we prefer to keep the FormFieldTitle_ way


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761923 13f79535-47bb-0310-9956-ffa450edef68
2016-09-22 12:19:46 +00:00
Jacques Le Roux 2263fbb591 Improves: Maximise the utilisation of common labels in myportal forms
(OFBIZ-8130)

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761687 13f79535-47bb-0310-9956-ffa450edef68
2016-09-21 07:34:13 +00:00
Jacques Le Roux 4deae05a38 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux a98ac13d9d Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux b20816bfa8 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit 7e981d399e (OFBIZ-7231) Relocate .groovy files in the framework/common component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747776 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:58:37 +00:00
Deepak Dixit 2c25412d8e (OFBIZ-7021) Renamed remaining specialpurpose component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1745115 13f79535-47bb-0310-9956-ffa450edef68
2016-05-23 06:59:04 +00:00
Jacques Le Roux c8a4b3f62e Following partial revert of r1736870 for OFBIZ-6860 (myportal), this moves the *.ftl files from widget to template subfolders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1737570 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 10:05:47 +00:00
Jacques Le Roux a2a3becd9a Because or r1737872 "SQLite error - svn: sqlite[S10]: disk I/O error"
I need to restore this file before moving it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1737569 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 10:05:05 +00:00
Jacques Le Roux cea52bce1b A patch from Pierre Smits for <<relocate .ftl files in the myportal component>> https://issues.apache.org/jira/browse/OFBIZ-6860
Did not notice I got that

delete --force C:/projectASF-Mars/ofbiz/specialpurpose/myportal/widget/RegisterPerson.ftl
    SQLite error
svn: sqlite[S10]: disk I/O error
svn: Additional errors:
svn: sqlite[S10]: disk I/O error

Deleting again

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736872 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:20:43 +00:00
Jacques Le Roux 1451befaaa A patch from Pierre Smits for <<relocate .ftl files in the myportal component>> https://issues.apache.org/jira/browse/OFBIZ-6860
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736870 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:16:52 +00:00
Jacques Le Roux c1984725a5 Not sure it's a real issue but stumbled upon while doing automated tests: webSiteId was null
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1728376 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 21:24:28 +00:00
Deepak Dixit 320c0e57c0 Applied patch from jira issue OFBIZ-6222 - Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter
Thanks  Arun Patidar for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1672853 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 09:43:10 +00:00
Jacques Le Roux daf6776610 Non functional change, change name WebtoolsAdminPortalPage to MyPortalAdminPortalPage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1653479 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 11:09:09 +00:00
Jacques Le Roux 91c90487ab A patch from Pierre Smits for "Move Portal Mgt functions in MyPortal" https://issues.apache.org/jira/browse/OFBIZ-5812
Portal page admin functionalities are included in WebTools, but should be also in MyPortal for those users that don't have access to WebTools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1653477 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 10:52:21 +00:00
Ashish Vijaywargiya c5bbc062b3 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacques Le Roux ae2b4520ae A patch from Deepak Dixit for "Application Menu items should be link not hidden form." https://issues.apache.org/jira/browse/OFBIZ-4913
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. 
Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1500382 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 07:43:31 +00:00
Jacopo Cappellato 1820bc4ede Completed refactoring/cleanup of captcha implementation that now supports screens with more than one captcha in them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338700 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:31:15 +00:00
Jacopo Cappellato afc03d450a Completed migration to new captcha event implemented by Scott; removed old artifacts; removed tempfiles webapp that was causing the error reported in OFBIZ-4856
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337202 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 15:10:45 +00:00
Jacopo Cappellato df4239dac6 First pass in fixing the buggy code for captcha support; this is a first pass (the next one will probably be to save the image in the session rather than in the file system); the main problems fixed are related to concurrent access: the class was not thread safe and this, especially in servers with high traffic, could cause a series of issues like:
* captcha images created and then lost
* captcha images created in the wrong location (for example out of the OFBiz folder)
* the folder runtime/tempfiles/captcha could be locked



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335047 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 14:46:07 +00:00
Jacques Le Roux 6ed1929086 A patch from Wai "widget <image> tag to use css for resizing" https://issues.apache.org/jira/browse/OFBIZ-4678
Summary: The purpose of this patch is to address the following:
1. Provide a standardized set of image width and height specs for page layout in ofbiz. This gives ofbiz a uniform look throughout as it applies to image display.
2. Preserve the aspect ratio of the image when using these standardized image sizes.
3. One place to make styling modifications (eg. css file).
4. Decouple styling from code (eg. java,ftl,xml,html,jsp,etc).

Regarding including the real image size, the width/height attributes in <img> specifies the boundary of the image when shown on the page. If you need to specify the real size of the image, the server code would have to perform the determination. Afterwards, you can include the actual dimensions of the image in the title attribute of <img>

Details:
Manually specifying the image width and height does help with preserving the layout of a page regardless of the image size to be shown. The challenge with this method is that the image shown on the page in question may be distorted if the aspect ratio of the image differed from that of the width and height attributes of <img>. This basically forces the person uploading the image to be more vigilant about image aspect ratios.
The purpose is to harmonize on the display size of images with a standardized set of width/height constraints in which an image must fit and preserve the aspect ratio of images.

Currently the source files (eg. ftl, xml) either manually specifies the width or height of a displayed image (ie widget <image> and html <img> tag). The problem with specifying only one constraint is that an image can affect the layout of the page if the user uploads an image where the aspect ratio could be large.

Some ftl and xml files specify both the width and the height. The problem with this is that if the aspect ratio of the image in question does not match that of the width and height of the <img> tag, the image would be displayed distorted.

The solution was to create a standardized set of CSS styles that both configure the displayed image size and preserve the image aspect ratio (eg. thumbnail size, medium size and large size). Of course, the developers can further define or modify the styles to suit their need.

By using CSS, one can change the size of displayed images without having to tamper with the ftl and/or xml files. This helps to reduce potential bugs that come with modifying the ftl and xml files. The existing way of doing things is to go through each ftl or xml file in question and manually modify the width and/or height of the <image> and/or <img> tag.

The question about the "border" around images. If you do not wish to have a border around the image, just remove it from the CSS style. It's that easy No need to change anything else. Ie. configuration to the image is done on the CSS style and not on the <image>, <img> tag.

NB: The current patch does not apply to all displayed images. I have only made appropriate modifications to widget <image> and html <img> tags that have either specified the width and/or height. There are numerous <image> and <img> tags spread all over the project that do not specify dimensions. I would have to modify them as I encountered them when I could see where and how they are displayed on the screen. Note that these images would not be affect by this patch.

jleroux: despite my efforts I was not able to check all screens. But I think it's ok

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1296782 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 11:54:13 +00:00
Erwan de Ferrieres d3f1d844b7 OFBIZ-2400 - Create a Portlet for leave - A patch from Vikas Mayur
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1232003 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 14:18:21 +00:00
Sascha Rodekamp 89049f9c83 Bug Fix - "In IE under, myportal module, registration, when only refreshes the verification code" (https://issues.apache.org/jira/browse/OFBIZ-3962) - We forgot to migrate the code form dojo to jQuery, after that the bug is solved - Thanks Wang Suozhu for reporting.
Orig. Msg.:
In IE under, myportal module, registration, when only refreshes the verification code

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1071338 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 18:06:40 +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 867a0de69b Reverted revision 1042196 as suggested by Adam.
This change introduces framework dependencies from applications.
More work is needed to the patch in https://issues.apache.org/jira/browse/OFBIZ-4037 before committing again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1042250 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 22:29:33 +00:00
Bruno Busco e93bb3d607 https://issues.apache.org/jira/browse/OFBIZ-4037
Moved the feature that allows a new user to register for an account from MyPortal to the framework so that it is available in any application.
It has also been slightly reworked (code cleaning and internationalization).
Two flags in general.properties allows to configure if the register function must be enabled or not and if the captcha function should be used.
The captcha function needs to be improved because at the moment the code is contained in an hidden field so that it is very easy for a computer to bypass it.
A possible fix for this could be to put the MD5 coding of the captcha code in the hidden field.
Then the event that checks the code should compare the MD5 codes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1042196 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 14:58:18 +00:00
Hans Bakker 0b348f6479 add root condition for initial path and add multi tenant condition in the login screen of myportal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1038543 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 09:55:16 +00:00
Bruno Busco 7d5354a964 Removed uiLabelDecorators. This is a pattern that should not be used. It does not really help but creates dependences instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1023430 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 07:42:36 +00:00
Jacques Le Roux 5289054ede A patch from Karl Pitrich "When editing Portal Pages, Drag & Drop for Portlets does not work" (https://issues.apache.org/jira/browse/OFBIZ-3889) - OFBIZ-3889
When editing Portlet Pages, either in MyPortal or PortalAdm, Drag & Drop of Portlets does not work.
Where are several Issues in the MyPortal, some have fixes, none is commited to trunk.

Problems:

    * in myportal.js, function getDestinationInformationPortlets(): DOM ID's are not handled correctly
    * in framework/webtools/widget/PortalAdmScreens.xml: required javascript + css files are not included


JLR: 
While working on this I have found other issues: the login.ftl files used in hhfacility and myportal were not tenant enabled. They are different  but by chance in myportal very close to common so I was finally able  to do both at along with  Karl's changes. Actually I wanted to do 2 commits but forget to uncheck the files while doing a second attempt to commit.

MyPortal
 * The login process in MyPortal was not tenant enabled, it's done in this commit.
 * I kept its specificity : newRegisterLogin and wonder why it has not been extended to common?

hhfacility
The login process in hhfacility was not tenant enabled, it's done in this commit. Doing so, I saw there i18n is not done, not an issue for me...







git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@985163 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 11:43:38 +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 4c49171ade XHTML validation errors (specialpurpose/myportal) - OFBIZ-3758 (https://issues.apache.org/jira/browse/OFBIZ-3758)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945580 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 10:23:19 +00:00
Erwan de Ferrieres 26e73bcfe0 this file should have been removed with previous commit (r942406)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942414 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 16:41:19 +00:00
Erwan de Ferrieres 70336344e9 Following a discussion on dev list, moving portal administration to webtools instead of myPortal (http://ofbiz.135035.n4.nabble.com/erwan-contributions-td2122600.html#a2122600)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942406 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 15:52:31 +00:00
Erwan de Ferrieres 4fb12550a5 This file was misssing for using the new portals screens, will also be added to release10.04
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@940053 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 15:09:16 +00:00
Erwan de Ferrieres 67e3ad02b9 new improvement for portals : administrative interface, same as ManagePortalPages but for all pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@937230 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 10:18:41 +00:00
Erwan de Ferrieres 63aee759de Corrections on rev 935923
* corrected a wrong controller entry
* added a missing decorator (uiLabelDecorator)
* added a collapse button for the GenericScreenlet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@936385 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 16:16:40 +00:00
Hans Bakker b0e333c38f if menu and portalpage options are mixed, tomahawk did not display correctly in the example component and other places as reported by Bruno in the mailing list. should work now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@928131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:39:08 +00:00
Ashish Vijaywargiya 4847c593f0 CommonMyCommunicationEventDecorator is first added and then removed in previous commits. Removing its reference as it was breaking the screens in MyPortal section.
https://localhost:8443/myportal/control/ViewCommunicationEvent

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@927790 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 12:14:53 +00:00
Adam Heath 62ede2cc16 Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Hans Bakker ba253b1a6b moved the helpscreens into the framework: a first step. core parts of the content manager to follow. Removed the references to the help screens in confluence
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@903589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 10:09:49 +00:00
Hans Bakker 4a2c290aaf show communication even screens within in the communication portlet avoiding having required decorators.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@883323 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 12:45:36 +00:00
Bruno Busco b9f046b665 Part of OFBIZ-3067 - Menus and form widget files location
Party and Product components
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@829418 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:41:31 +00:00
Bruno Busco 456d75ecf6 Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@826372 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 08:03:48 +00:00
Hans Bakker 8f53b2a31f and some final files not used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@823501 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 10:24:24 +00:00
Hans Bakker 95f6859b90 create a sales opportunity from a incoming email and be able to list related communication events on a sales opportunity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@820578 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 09:00:19 +00:00
Ashish Vijaywargiya ec8757448c Adding missing license from these files present inside specialpurpose folder.
I don't know what to do with the XSD files present inside oagis component - Is it right to add ASL license in these files? If Yes? then where can we add this license?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@807079 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 05:34:50 +00:00
Hans Bakker 84fc413306 rename Request files to CustRequest files as discussed in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@795304 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 03:30:19 +00:00
Hans Bakker 282e7191f9 add the ability to show and add participants in the calendar portlet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@787584 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 08:23:35 +00:00
Hans Bakker 8ab7ed9878 let calendar actual dates on workeffort override estimated dates, reorganized buttons on calendar, make the calendar portlet work in myportal and workeffort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@786755 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 04:16:52 +00:00