Adrian Crum
9a753b9865
Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311 .
...
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.
If anyone has a better solution, please feel free to revert this commit and change it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
Jacques Le Roux
b9c3ddef08
2d part and end of an effort to remove trailing spaces
...
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg )
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker
c1491066f0
moved custrequest notification from myportal to order,moved other programs around, reorganized customer request status handling, replaced cust request roles from ftl to form, removed other used programs from myportal. Now only the party registration is left in myportal.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763135 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 07:58:00 +00:00
Jacques Le Roux
a5042291f7
1st part of an effort to remove trailing spaces
...
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
David E. Jones
4a1705a315
Removed some more references to applications stuff from framework, including small cleanup of service engine to get rid of WebAppDispatcher and use new factory method in GenericDispatcher, and changed AvailableServices.groovy to get the real dispatcher list instead of a hard-coded one; also updated eclipse classpath file for new webslinger stuff
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757671 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 06:27:03 +00:00
David E. Jones
3eee2073cc
Moved some party dependent services out of the framework
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757644 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 03:44:59 +00:00
Jacques Le Roux
29315e3798
all components
...
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
using <service name=(.*)engine="simple"(.*)location="org/ofbiz => <service name=$1engine="simple"$2location="component://{componentName}/script/org/ofbiz
with {componentName} done by hand
Also for bsh and groovy (services_test in copmmon). There is no longer any location="org/ofbiz in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755977 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 12:50:51 +00:00
Jacques Le Roux
4f2463ec57
bi and common components
...
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755943 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:50:32 +00:00
Jacques Le Roux
e03ab0e044
Trivials changes while working on https://issues.apache.org/jira/browse/OFBIZ-2000 and dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745613 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 19:09:51 +00:00
Hans Bakker
10723bd15c
allow changing the order of the portal pages, currently only for private pages(click first on 'edit' to make the movement pictures show)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745438 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:55:20 +00:00
David E. Jones
e71fe34443
Added quick first pass for the sendMailFromTemplateSetting service that uses the new EmailTemplateSetting entity; note that this is still beta as I haven't tested it much, but it shows that concept and can be a basis for further work, possibly including refactor of ProductStoreEmailSetting to use this entity and service but that isn't necessary for other things to use it, etc
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744736 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 19:57:43 +00:00
David E. Jones
f27b4eeaaa
No functional changes, just reorganizing code: moved email services from content to the framework/common component except the CommunicationEvent related ones which are now in the party component along with other CommunicationEvent resources; changed framework components so that webapp no longer depends on common and common is higher level than the various tool components which was an odd dependency before; one new thing is in here and that is an entity called EmailTemplateSetting which is meant to be a generic version of the ProductStoreEmailSetting entity so we can have configurable email templates without depending on ProductStore, still need to write the service to send email from this (sendMailFromTemplateSetting)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744727 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 19:34:49 +00:00
Hans Bakker
1f1e7bb4e4
update/display portlet sequence corrected, also seed data corrected
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743000 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 15:48:08 +00:00
Hans Bakker
d4afd2a5bb
add the optional parameters 'distinct' and 'fieldList' to the performFind service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742328 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 08:36:08 +00:00
Bilgin Ismet Ibryam
e7cd2e3bd0
Changed Double parameters to BigDecimal in convertUom and convertUomCustom services.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741049 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 08:52:24 +00:00
Jacques Le Roux
572b7683e0
All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Adrian Crum
6288c03c79
Small fixup for last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732747 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 16:22:57 +00:00
Adrian Crum
08a0e03138
Fixed a design flaw in the user preference services. The services accepted an optional parameter - userLoginId - so that admins could perform CRUD operations on other user's preferences. This parameter caused a name clash with screens and services that also had a userLoginId parameter. The preference services userLoginId parameter has been renamed to userPrefLoginId.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732744 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 16:18:54 +00:00
Hans Bakker
ab68f24611
some small corrections in myportal framework and the first batch of updates for myportal
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730947 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 09:48:18 +00:00
Jacques Le Roux
2eee9d51e7
Fix "Search is broken in the party manager application when logged in as any user other than admin" thanks to Raj Saini ( https://issues.apache.org/jira/browse/OFBIZ-2072 ) - OFBIZ-2072
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730761 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 15:52:31 +00:00
Hans Bakker
af2fa0115a
major cleanup of of the portalpages, files split between display and configure, user can now create/update a copy of the system pages and revert back, example component working now....next week we will do the portal component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730665 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 03:35:41 +00:00
Hans Bakker
3eaa5e80f2
have the ability to modify system pages (ownerLogin=_NA_) by copying to own number and modify there...now also available in the example component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728634 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 09:51:29 +00:00
Hans Bakker
8550ad307a
patch from Bruno in OFBIZ-2099 to set the column width in the portal functions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728596 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 03:54:37 +00:00
Hans Bakker
63c50ecec4
First version of the myportal component as a replacement of the MyPage component as announced in issue OFBIZ-2052 now using the new portal functions. Introduced with this version is that the system pages (userLogin=_NA_) are never changed, but automatically a new page is created for the logged in user when he modifies the system page. The deletion function now returns to the system page design
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728389 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 04:40:27 +00:00
Hans Bakker
54a5a1094a
update of portal pages with including column support and now using the 'normal' ofbiz interface
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@724618 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 06:17:35 +00:00
David E. Jones
e7f1dde5f5
Commit reworked initial patch from Bruno Busco in Jira #1999 ; this follows Brunos work but adds the PortalPageColumn entity to configure columns, just optional pixel width for now, and also cleaned up entities and added foreign keys; rewrote a few things in screen actions and simple methods and removed a bunch of unused stuff that was commented out, so hopefully there isnt any more stray code in here; moved various things to files that were less generic, ie that mention portal specifically instead of just common or something; changed controller and menu setup so that this isn't in all apps by default, in fact just the example webapp for now with the include of portal-controller.xml and adding a dashboard menu item; note that this does not include the few changes in the specialpurpose directory, just the framework stuff for now; also moved data from seed to demo as it really isn't seed data in common and example
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718185 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 07:56:27 +00:00
Jacques Le Roux
31d56e8064
A patch from Ravindra Mandre "The userPrefGroupId field on UserPrefGroupType should be userPrefGroupTypeId, as per conventions" ( https://issues.apache.org/jira/browse/OFBIZ-1996 ) - OFBIZ-1996
...
With some help by Vikas Mayur for the "Upgrading OFBiz from earlier revisions" Wiki page update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712366 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 08:59:31 +00:00
Jacques Le Roux
2a6ed7b152
A patch from Bruno Busco "Wrong permission-service name for deleteTemporalExpressionAssoc" ( https://issues.apache.org/jira/browse/OFBIZ-2005 ) - OFBIZ-2005
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@705876 13f79535-47bb-0310-9956-ffa450edef68
2008-10-18 11:48:28 +00:00
Adrian Crum
08d114f1d8
Temporal Expression UI artifacts. There is a Temporal Expression Maintenance screen in the Webtools component.
...
I tried my best to break this up into re-usable pieces and put them where I thought they made sense. Feel free to move things around if you have a better idea.
Internationalization note: this commit contains new UI labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700310 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 23:58:59 +00:00
Adrian Crum
32682b431a
Visual Themes framework - for more information see https://issues.apache.org/jira/browse/OFBIZ-1885 .
...
This commit provides a means to swap out the current UI theme for another one. Alternate style sheets, templates, JavScript files, etc can be used to give OFBiz a completely different look.
Right now the plan is to have "theme libraries" that can be dropped in the hot-deploy folder. Work still needs to be done to connect web stores and product catalogs to the visual theme framework.
Users can select their preferred theme in the back-office applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@698346 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 20:58:23 +00:00
Adrian Crum
5cfe8078e7
Slight change to the user preference services. Using the permission service on the getPreferences services threw an exception: user must be logged in. We might want to get default preferences before the user is logged in, so I moved the permission checking inside the getPreferences services.
...
Internationalization note: this commit contains a new UI label.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680054 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 23:21:03 +00:00
Jacopo Cappellato
795a920fe4
Moved the bi component from specialpurpose to the framework folder; moved artifacts from the bi component to the proper components.
...
Everything should be in place now, except for a convenience service (in the bi component) that quickly initializes the datawarehouse for demo purposes: this service calls two services from the applications (wrong dependency); I will fix this soon by moving it in some other places... however it is not a big deal for now because the service is really only useful to quickly test the prototype.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677587 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 14:12:38 +00:00
Adrian Crum
b06a17e6fd
Added LDAP user authentication, based on work contributed by Mohamed Amine Azzi and Torsten Schlabach - https://issues.apache.org/jira/browse/OFBIZ-811 .
...
Internationalization note: this commit contains new UI labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669994 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 17:09:19 +00:00
Andrew Zeneski
60f6102278
added SOAP test service for local loopback testing (OFBiz Client SOAP -> OFBiz Server SOAP)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669643 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 18:48:08 +00:00
Scott Gray
b7b80f9cac
Removed an eca which was causing testScv to fail
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659789 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 10:49:20 +00:00
Scott Gray
b28727bcca
Removed auth="true" from 2 test services, one of them is on an eca from another test service that doesn't require auth
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659764 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 08:00:35 +00:00
David E. Jones
a713ad4bd7
Added support for groovy services, and an example of the same; cleaned up the way that bsh services work and updated the example and such to match, now returns a context as one would expect
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657701 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 00:22:46 +00:00
Adrian Crum
47949adcfc
Somehow this got missed in a previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654983 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 00:09:09 +00:00
Jacques Le Roux
042f4b855e
Fix a typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617987 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 13:54:41 +00:00
Adrian Crum
65d64af698
User preferences feature - https://issues.apache.org/jira/browse/OFBIZ-495 . This is the Java version - I'll commit the simple method version as soon as one is available.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606269 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 19:02:28 +00:00
Andrew Zeneski
925185eabc
service to check status of file uploads
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594443 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 05:59:47 +00:00
David E. Jones
75c26763e5
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Jacopo Cappellato
f0abf80501
In the 'convertUom' service the 'convertedValue' output parameter is now optional: if no converion is available, then null is returned, not an error (and a rollback etc...).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583384 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 08:12:07 +00:00
Jacopo Cappellato
4e8e2dac8e
Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
Andrew Zeneski
3d856adeb2
added tx timeout to blocking test (to verify tx timeout)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547442 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 23:22:49 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski
464f744f1b
added test service to test map/list conversions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529712 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 19:03:43 +00:00
Andrew Zeneski
8c9e6bd5c6
implemented simple service stream handler; allows reading the inputstream of a request from inside a service; useful for processing non-standard requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526262 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:30:22 +00:00
Andrew Zeneski
bda2f144e0
can now use this permission as a service call; enabled required parameters to be passed in through the definition as well as inline minilang
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507548 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 14:43:41 +00:00
Andrew Zeneski
70ee48ef80
implemented RomeEventHandler; calls a service (should implement the rssFeedInterface which returns a WireFeed object) to generate a RSS feed; returns the feed to the browser
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507364 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:54:29 +00:00