SagePay payment gateway integrated. All the gateway parameters are configurable using the Payment gateway configuration, also the transaction types that are available in sagepay are configurable.
I moved the httpclient httpcore jars to base/lib (also new jcip-annotations-1.0.jar)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882103 13f79535-47bb-0310-9956-ffa450edef68
CacheLineTable and LRUMap do not synchronize on the same lock
* CacheLineTable synchronization use the CacheLineTable instance monitor
* LRUMap synchronization use the LRUMap instance monitor
the LRUMap (memoryTable) can be updated concurrently by 2 differents threads
* one in the CacheLineTable #put or CacheLineTable#remove
* another in the CacheLineTable#get
this leads to the corruption of the LRUMap which is not thread-safe
the CacheLineTable#get should be synchronized or the LRUMap should be replaced by a thead safe collection
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882072 13f79535-47bb-0310-9956-ffa450edef68
In a certain scenario the application freezes, no more AJP connector threads are available.
After analysis the lock seems to come from very slow response time in GenericDelegator.clearAllCaches and particularily in CacheLineTable.keySet.
Furthermore, looking at org.ofbiz.base.util.cache.UtilCache, the class seems to have some synchronisation problems:
1) utilCacheTable.put calls are not synchronized
2) findCache synchronizes access to utilCacheTable while only getting an element which has big performance impact since utilCacheTable is static
3) clearExpiredFromAllCaches and clearAllCaches does not synchronize while clearCachesThatStartWith does, why ?
The patch synchronizes correctly the access to utilCacheTable and optimises findCache
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881194 13f79535-47bb-0310-9956-ffa450edef68
that is compatible with features used by ofbiz. Has support for
DELETE, INSERT, INSERT SELECT, SELECT, UPDATE, and VIEW.
Modified the delegator side of the above to handle the new
interfaces. Now supports complex alias. Only SELECT is supported,
and the parseCondition code is disabled for the time being.
The plan(sic) here is to obviously support the other sql statements.
Then, to have a jdbc wrapper around all this, so external tools, that
only know how to talk jdbc, can actually talk directly to the
delegator.
Plus, many more people can understand sql syntax. This allows them
to do things with ofbiz, that they would find much more difficult if
they had to write <view-entity> definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880835 13f79535-47bb-0310-9956-ffa450edef68
Now client code can create local instances of specific converters without interfering with the operation of the factory method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835667 13f79535-47bb-0310-9956-ffa450edef68
This change can be reverted if any major issues come up. I will monitor the dev mailing list and fix any issues that are reported.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834552 13f79535-47bb-0310-9956-ffa450edef68
Since the new converters aren't finished, I set it up so conversions fall back on the old ObjectType.java conversion code when needed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833786 13f79535-47bb-0310-9956-ffa450edef68
I replaced 4 while loops by for loops. Doing that I removed the empty checks. So I also used a FastList in StrungUtile.split() which I also refactored a bit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833725 13f79535-47bb-0310-9956-ffa450edef68
2. change order building birt component to after common component in framework/build.xml file
3. specific birt container before beanshell container in framework/base/config/ofbiz-containers.xml file
4. specific loading birt component after bi component in framework/component-load.xml
5. list all birt's jar files that have Eclipse Public License - v 1.0 in LICENSE file
6. change example report's path in mail form's tooltip.
7. delete four duplicated jar files.
- framework/birt/lib/axis.jar
- framework/birt/lib/commons-discovery-0.2.jar
- framework/birt/lib/axis-ant.jar
- framework/birt/lib/commons-cli-1.0.jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833294 13f79535-47bb-0310-9956-ffa450edef68
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
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
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
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
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