Adrian Crum
f30d44ccdc
TimeDuration.java improvements. This is the first step in a duration data type implementation discussed here - https://issues.apache.org/jira/browse/OFBIZ-3125 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832574 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 21:58:00 +00:00
Adrian Crum
f046004995
Remove Eclipse compiler warnings from framework/base component. Patch contributed by Marc Morin with additional work by me - https://issues.apache.org/jira/browse/OFBIZ-3102 .
...
This commit requires an ant clean + build.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831550 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 15:22:05 +00:00
Jacques Le Roux
21488d7924
We don't need Telnet for the POS alone
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830490 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 10:25:56 +00:00
Jacopo Cappellato
1755bb5560
Added demo truststore file to be used by client applications invoking services using the RemoteDispatcher (see for example the ExampleRemoteClient class).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829476 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 01:00:28 +00:00
Jacopo Cappellato
49da966a43
Fixed typo in comment.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829466 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 23:28:27 +00:00
Jacques Le Roux
1f46c6f5cc
Now that it works OK, cleans things a bit about -pos and -both
...
Needs OFBiz to be build before it works (classloader)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828795 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:45:22 +00:00
Jacques Le Roux
1f9804b03b
This slipped in with r825046. Thanks to Erwan who noticed it in dev ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825057 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 08:38:35 +00:00
Jacques Le Roux
8bfd6d2c75
A patch from Erwan de FERRIERES "Translation of the OFBiz help system in French" ( https://issues.apache.org/jira/browse/OFBIZ-3036 ) - OFBIZ-3036
...
Here is the beginning of the translation for the OFBiz help system in French. This is only the root page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825046 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 07:36:33 +00:00
Jacques Le Roux
5dbe1fe524
I put a modified file in, this fix it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824967 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 22:58:19 +00:00
Jacques Le Roux
7beb1ad4a9
In this case I don't need to persist the property.
...
This changes just do that : set temporary the property in memory, and reset it back to its original value
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824937 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 21:37:49 +00:00
Jacques Le Roux
a6fefdbeab
When working with the POS I often need to use it in conjunction with back-end and sometimes even eCommerce.
...
This Windows batch file and container configurations just allow that.
startofbizBoth.bat loads the POS+EPR+eCommerce
startofbizPos.bat loads only the POS
I did not care to write scripts for Linux yet because I do not have any needs.
I will certainly later if nobody has done it before...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824935 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 21:30:00 +00:00
Jacques Le Roux
8221fd7899
New feature : in the POS adds the possibility to create a client profile (for now : name, email, phone#, card id for promo), email is also used to create an user login with card id as pwd (login/pwd couple follows changes).
...
The card id is stored in the Person.memberId field. It's used as a promo code. So if the same id is defined as a promocode, any promotion using this promo code will be added to the cart when you select a client from the Client Profile screen. Else a message will pop when selecting the client.
The idea is to generate promo codes and to use them as card id when creating the physical card.
The Client Profile screen (from Promo button in promo panel) allow you to search for all client (all fields empty) or to focus on a client (at least one field files). For now the search use a stric equals but I plan to allow also contains (ie %like%)
You may edit the client profile and as explained above select a client to apply promotions related to his/her card id.
I plan to add a status bar at bottom of the POS screen to see promocodes used (you may still enter arbitrary promo code with the Promo Code button) or even maybe rather the related promotions (but I doubt there will enough place).
The promo code is used as long as the cart is open.
There are also some generics enhancement in PosTransaction not all related to this new feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823475 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 09:24:54 +00:00
Adam Heath
d9b4865da7
Misssed a few createCache calls, bother.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823299 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 19:51:50 +00:00
Adam Heath
2275cb5b78
Don't create CacheLineTable each time setPropertiesParam is called.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823298 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 19:49:57 +00:00
Jacques Le Roux
8583100478
Fix a recursive bug
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823175 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 13:43:11 +00:00
Jacques Le Roux
73c3ef546d
Anymore BSH scripts but Groovy (while struggling with something that seems related to cache in POS, still investigating, really weird...)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822532 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 23:10:12 +00:00
Adrian Crum
dd22f83c72
Improvements to the GenericDelegator refactoring - based on suggestions from Adam Heath.
...
I removed the deprecated methods from the Delegator interface. So, any replacements of GenericDelegator.getGenericDelegator(...) with the new factory method will have to include code to replace the deprecated method calls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821391 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 18:52:29 +00:00
Jacques Le Roux
932849b7ed
Fix wrong file in r819274 (Chinese Geo data)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819277 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 09:10:03 +00:00
Jacques Le Roux
f12f0f263a
Add GeoData_CN and geoTypeId="MUNICIPALITY" from Terence NG ( https://issues.apache.org/jira/browse/OFBIZ-2970 ) - OFBIZ-2970
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819274 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 08:55:38 +00:00
Hans Bakker
b92a464533
added a section about sending and receiving email and reorganized the framework sections
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819264 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 06:35:01 +00:00
Hans Bakker
542740f38f
spaces for tabs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819079 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 01:06:01 +00:00
Adrian Crum
2f063e3fd7
Refactored GenericDelegator.java based on a design proposed by Adam Heath on the dev mailing list.
...
DelegatorInterface.java has been replaced by Delegator.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819067 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 23:36:13 +00:00
Hans Bakker
87a48231f0
added a chapter how to internationalize the help files show with: http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML#helpInternationalization
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818850 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 13:37:35 +00:00
Hans Bakker
4533720a3e
docbook files now converted to html using a first (simple) visual scheme dependent css stylesheet. This css is now also used for the display of the help files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818780 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 09:16:26 +00:00
Scott Gray
2afbb75457
Get rid of a whole pile of unnecessary string instantiations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818665 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 23:49:02 +00:00
Adrian Crum
323df772f6
UEL bug fix. Patch provided by Mridul Pathak - https://issues.apache.org/jira/browse/OFBIZ-2928 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818500 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 14:52:40 +00:00
Jacques Le Roux
57fe549e6f
Related to directives for different screen sizes for POS
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818449 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 11:21:23 +00:00
Adam Heath
44b87c4b9c
Add support for generics markup in string type names.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816350 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 19:39:45 +00:00
Jacques Le Roux
48fda8a035
A patch from Brett Palmer "Adding Tomcat Catalina configuration for "privileged" applications" ( https://issues.apache.org/jira/browse/OFBIZ-2945 ) - OFBIZ-2945
...
Out of the box Tomcat allows you to configure "privileged" applications by specifying the context as follows.
<Context path="/manager" debug="0" privileged="true"
docBase="/usr/local/kinetic/tomcat6/server/webapps/manager">
</Context>
Since OFBiz is an embedded version of Tomcat it does not currently include a similar configuration for privileged applications.
The Tomcat manager application is a "privileged" application that includes utilities for monitoring JMX resources such as thread counts, connections, and any other configured JMX parameter. We use JMX with Hyperic to monitor our OFBiz servers
BTW, I used almost the same for Lambda Probe (https://issues.apache.org/jira/browse/OFBIZ-1397 )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816335 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:56:36 +00:00
Jacques Le Roux
1817d35d28
A patch from Deyan Tsvetanov "NamingServiceContainer binds to all network interfaces." ( https://issues.apache.org/jira/browse/OFBIZ-2559 ) - OFBIZ-2559
...
org.ofbiz.base.container.NamingServiceContainer by default binds a server socket to all available network interfaces. Configuration of this container is done in
framework/base/config/ofbiz-containers.xml
<!-- load the naming (JNDI) server -->
<container name="naming-container" class="org.ofbiz.base.container.NamingServiceContainer">
<property name="port" value="1099"/>
</container>
Only the port can be configured.
Additional configuration property needs to be implemented:
<property name="host" value="0.0.0.0"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814390 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 21:49:21 +00:00
Hans Bakker
3678724587
changed the request -> helptopic=contentId name generation when the name is longer than 20 because of duplicates in the accounting component + updated some documents
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813222 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 04:14:32 +00:00
Adam Heath
3fbb02cf7f
getDocument() now returns elements that contain location data.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812778 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 05:57:22 +00:00
Jacques Le Roux
dac7fd2208
Add some missing ASL2 headers and remove empty files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812724 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 23:29:03 +00:00
Jacopo Cappellato
5a48eefcc0
Fix for error happening when using a csv export with fields containing quotes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812483 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:46:28 +00:00
Scott Gray
daaecdb81b
Copy/paste error, thanks Adam
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812314 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 00:49:20 +00:00
Scott Gray
838436eaf6
Add EAN validation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812313 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 00:40:57 +00:00
Jacques Le Roux
c69983544f
A patch from Philipp Hoppen "Two bugs in UtilValidate.isDouble() and UtilValidate.isFloat()" ( https://issues.apache.org/jira/browse/OFBIZ-2828 ) - OFBIZ-2828
...
I tested the Junits with and without the modifications : OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811793 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 10:16:08 +00:00
Hans Bakker
59040b5ec8
Added the possibility of processing/displaying xml files in the docbook format in verious other formats like html pdf etc. To view the Example document in HTML format go to content -> content -> navigate -> documents -> 'apache ofbiz in html format' The HTML version is working however the pdf version does not work yet. If you want to help, have a look in ModelScreenWidget.java where at the moment the complete processing from xml to pdf is concentrated the problem is the empty pdf output document with the wrong mimetype.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 03:40:33 +00:00
Hans Bakker
0de880f3ef
adding docbook dtd/xsd, templates to generate html/pdf and more. Approval was obtained by email to Norman Walsh with the question: Is there any objections in including Docbook dtd/xsl/xsl files in Apache OFBiz, his answer: None at all. Share and enjoy! (Tue, 25 Aug 2009 07:27:51 -0400 (18:27 ICT)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808410 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 13:29:07 +00:00
Jacopo Cappellato
3429865136
Created method that "creates a child element with the given namespace supportive name and appends it to the element child node list". Patch from Ashish Vijaywargiya
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808093 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:16:23 +00:00
Scott Gray
461296fd8c
Applied patch from Ashish Vijaywargiya that allows adding namespace aware child elements via UtilXml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807938 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 09:22:09 +00:00
Adrian Crum
9a91f970f2
Fix JavaDoc comments in UelUtil.java - reported by Bob Morley, https://issues.apache.org/jira/browse/OFBIZ-2850 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806377 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 22:10:44 +00:00
Jacques Le Roux
7befd1d25e
no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Jacques Le Roux
4c442ee379
Some fusiness
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804895 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:20:38 +00:00
Hans Bakker
31a5a0c5f4
reverted 804104 because of compile error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804130 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:48:06 +00:00
Hans Bakker
e40f03e356
adjustment of storing/retrieving timestamp in the proper timezone. In the database the time zone is always GMT
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804104 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 07:42:30 +00:00
Scott Gray
25e7c97f50
Turn off the cross subdomain session valve by default, it creates too many unnecessary sessions and causes issues for other subdomain use cases
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803531 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:25:41 +00:00
Adrian Crum
9dbbcd1082
Fixed a bug in UtilDateTime.java - getWeekEnd() returned the wrong value.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801023 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 23:38:55 +00:00
Adrian Crum
ca1861d05f
Removed unused method from TimeDuration.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797229 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 21:27:33 +00:00
Scott Gray
3f2d963f91
Initial implementation of the Payflow Pro version of PayPal's Express Checkout OFBIZ-934
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793866 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 11:43:21 +00:00