Commit Graph
98 Commits
Author SHA1 Message Date
Hans Bakker 0b7fe13bb1 On request of adrian, put the VISUAL_THEME default record back in the database, however added the function that values in general properties can override this value. Combined the implementation with the definition of the defaultOrganizationPartyId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820178 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 05:16:17 +00:00
Adrian Crum 32b9994e9d Generic permission check bug fix, reported by Anne Jessel - https://issues.apache.org/jira/browse/OFBIZ-2749.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796769 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 15:37:59 +00:00
Hans Bakker f698d6b81f edit portal page and inline string editor fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794601 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 09:03:53 +00:00
Hans Bakker 54232da5f2 OFBIZ-2657: implemented the addition of the default 'from' email address
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789652 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 10:19:59 +00:00
Hans Bakker 7b6032bc12 moved the portlet editscreen to the top of the page and improved error handling
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788605 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 06:34:45 +00:00
Hans Bakker 6a1fd9d1b5 added a portlet edit form to configure which system notes should be sent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788048 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 15:07:27 +00:00
Hans Bakker d8a175d4a6 added a function to check for the presence of a companent, make the projectmanager custrequest creation working using the commevent as the data, added some allow-html= safe flags
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@775883 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 10:07:51 +00:00
Andrew Zeneski 2967e9faa3 sendMail service now uses the FlexibleStringExpander to expand subject/body; communication event ID is added to the bodyParamters for the other mail services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774217 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 05:51:45 +00:00
Andrew Zeneski d294d588cf minor changes to make sure the sendMail service is called through the service engine instead of as a method call; sendMail now returns a MimeMessageWrapper object with all the mail information to be used by communication event processing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774196 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 04:58:24 +00:00
Hans Bakker 2a68d3e04c inserted a log message that the requested theme could not be found and that the system reverts back to the old ofbiz theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771554 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 04:27:33 +00:00
Hans Bakker 01523701b7 the system is currently unusable because the default scheme does not exist. to avoid these kind of problems in the future and also with new theme developments this change will at least show the 'good old' ofbiz scheme so the system can be used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771168 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 03:49:42 +00:00
Adrian Crum abda4e364c Removed a bunch of nested expressions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770308 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 16:12:21 +00:00
Hans Bakker 4c0c034121 some more faultfixing on customer request notifications: mainly the partyIdTo was not provided
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769274 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 07:49:12 +00:00
Hans Bakker 0c5a93074c fix the new notification services using sendMailFromTemplateSetting using body parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768245 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 10:08:55 +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 cb912acfec Moved the CustomTimePeriod CrUD service impls back to framework/common, moved by mistake along with the find service before; thanks to CJ Horton for reporting this; related to OFBIZ-2275, though patch there is not used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762624 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 05:21:26 +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
Hans Bakker 7f895f07a3 move communications for a specific party back to the party component. Make use of the portlet attributes to use both for userlogin and company comms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754604 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 02:56:28 +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
Hans Bakker 8d417276ac The MyPortal component has now at least the functionality of the old mypage component with the portal functions included. Mypage is now taken off the menu and will be removed the coming weeks when no big problems arise
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743245 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 06:22:53 +00:00
Hans Bakker 541e72feb5 correction on last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743199 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 03:00:30 +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 b021dfe8f6 improve error message, corrected creation of a primamry key sequence
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742842 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 04:06:32 +00:00
Hans Bakker 79b5011d48 some fault fixing and added check on ownership to portalPage services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742251 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 04:30:53 +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
Jacques Le Roux dbfba6ebbb Cleanup_labels30.patch from Marco Risaliti 'Clean up labels" (https://issues.apache.org/jira/browse/OFBIZ-1780) - OFBIZ-1780
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733454 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 11:22:56 +00:00
Hans Bakker 61c0a9d1c1 implemented the portal portlet move function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732318 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 12:27:15 +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
Jacques Le Roux 170a929f55 <remove-by-and(.*)map-name= => <remove-by-and$1map=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730630 13f79535-47bb-0310-9956-ffa450edef68
2009-01-01 23:05:41 +00:00
Jacques Le Roux fccefa950d <list-to-list list-name= => <list-to-list list=
<list-to-list(.*)to-list-name= => <list-to-list$1to-list=

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730623 13f79535-47bb-0310-9956-ffa450edef68
2009-01-01 22:38:08 +00:00
Jacques Le Roux 41850cde4b Revert r730486, too much bugs to be cleaned by hand
+ some fixes already done

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730500 13f79535-47bb-0310-9956-ffa450edef68
2009-01-01 01:51:27 +00:00
Jacques Le Roux 01d65d1099 reverted 730468 (<result-to-field(.*)map-name => <result-to-field$1map on *SimpleMethods*.xml, *events*.xml, *formula*.xml, *services*.xml, *tests*.xml was wrong)
instead
<result-to-field(.*)map-name => <result-to-field$1fiels
+
<field-to-request(.*)field-name => <field-to-request$1field
<field-to-request(.*)map-name => <field-to-request$1request-name
+
<field-to-result(.*)field-name => <field-to-result$1field
<field-to-result(.*)map => <field-to-result$1result-name


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730486 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 21:42:55 +00:00
Jacques Le Roux 94225b1a34 Fix issues with now-timestamp-to-env and sequence-id-to-env : their factories names where missing in org.ofbiz.minilang.method.MethodOperation$Factory file
also
<sequenced-id-to-env(.*)env-name => <sequenced-id$1field
<now-timestamp-to-env(.*)env-name => <now-timestamp$1field
both on *SimpleMethods*.xml, *events*.xml, *formula*.xml, *services*.xml, *tests*.xml (previously I only used *events*.xml, *services*.xml, but I guess it's not a big deal for now)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730433 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 17:47:37 +00:00
Jacques Le Roux 0272162a99 revert both
sequenced-id(.*)field to <sequenced-id-to-env$1env-name
<now-timestamp(.*)field => <now-timestamp-to-env$1env-name
Something is wrong with these 2 tags (inconsistency between xsd and java, I'll look at it)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730397 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 13:59:08 +00:00
Jacques Le Roux b9704e6fc8 <make-next-seq-id(.*)value-name => <make-next-seq-id$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730370 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 10:41:26 +00:00
Jacques Le Roux 25f83d6d12 <property-to-field(.*)field-name => <property-to-field$1field
<store-value value-name => <store-value value-field ... Weird : I have already done this one in r730190 !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730369 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 10:40:29 +00:00
Jacques Le Roux 1cba1a4b9a <field-to-list(.*)field-name => <field-to-list$1field
<field-to-list(.*)list-name => <field-to-list$1list

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730357 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 09:32:50 +00:00
Jacques Le Roux 71a86403b8 <find-by-and(.*)list-name => <find-by-and$1list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730245 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 21:29:24 +00:00
Jacques Le Roux c1dd5bc296 <remove-value value-name => <remove-value value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730191 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:21:47 +00:00
Jacques Le Roux 1d979ede39 <store-value value-name = > <store-value value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730190 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:20:41 +00:00
Jacques Le Roux 79f471e380 <sequenced-id-to-env(.*)env-name => <sequenced-id$1field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730189 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:19:35 +00:00
Jacques Le Roux 75543cad51 <call-service(.*)in-map= => <call-service$1in-map-name=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730184 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:14:54 +00:00
Hans Bakker 8442d1b1a4 some more minilanguage stuff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730147 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 15:19:43 +00:00
Hans Bakker 31c7895f9a some more minilanguage changes....startup looks clean now...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730143 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 15:04:41 +00:00
Jacques Le Roux 3e2748adb6 <set-service-fields(.*)\R(.*)map-name => <set-service-fields$2\R$2map-name (needs 2 occurences)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730124 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 13:07:57 +00:00
Jacques Le Roux f0053fd5fb <set-service-fields(.*)map-name => <set-service-fields(.*)map-name (include to-map-name)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730122 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:22:42 +00:00