Commit Graph
426 Commits
Author SHA1 Message Date
Adrian Crum e04471523b Fixed a bug in the setSyncServiceParameters screen. Some service parameter data types would cause FreeMarker to throw an exception.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542388 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 20:42:37 +00:00
Adrian Crum bfe1317c16 Fixed broken ModelInduceFromDb.jsp file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1539781 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 19:44:41 +00:00
Hans Bakker 8d58d0d9e9 remove typing error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1521348 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 02:07:53 +00:00
Hans Bakker 7be06f2f43 small improvements of the programmable database export
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520954 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 03:10:00 +00:00
Hans Bakker 2908317017 added a new menu item in webtools: 'programmable export' where interactively a groovy program can be entered to export specifc records from the database. In order to apply some global changes for re-import
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520505 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:03:34 +00:00
Hans Bakker 545a33e723 also show the components without a webapp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512886 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 07:11:49 +00:00
Hans Bakker 54d19f4348 fixed some errors in the component test list screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512877 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 06:25:12 +00:00
Hans Bakker d7069c79e8 work in progress: made the componentlist paged, ordered and more readable, clicking on the component name provides a junit test list from which a test can be run. even in production because all database changes are rolled back
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1509516 13f79535-47bb-0310-9956-ffa450edef68
2013-08-02 02:56:59 +00:00
Hans Bakker f85167e1ca make component list the top level menu item of 'artifacts' because loading fast. move the 'take some time' message on the lower level menu iem now renamed to 'atifact search'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1508738 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 06:26:37 +00:00
Adrian Crum 21f9c859d7 Removed the XSD-to-Java feature. Tools to make OFBiz development easier are outside the scope of the project.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500424 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 13:05:14 +00:00
Adrian Crum b027bcc12e XsdToJava.ftl improvement - Append "Element" to class names to avoid name clash.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493474 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 07:36:08 +00:00
Adrian Crum e4b12f06c4 Fixed a bug caused by recent ServiceConfigUtil.java changes: https://issues.apache.org/jira/browse/OFBIZ-5212.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1490549 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 08:57:05 +00:00
Adrian Crum 92d007e6f1 XSD-to-Java bug fix - fixed bad class field name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1490144 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 05:16:08 +00:00
Adrian Crum a490245e67 XSD-to-Java bug fix - added missing throws clause.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1490126 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 04:25:48 +00:00
Adrian Crum 89ce6062f6 XSD-to-Java improvement - better discovery of child elements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1489723 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 06:34:50 +00:00
Jacopo Cappellato 1dc46b9fd7 Some cleanups for my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1489476 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 15:33:30 +00:00
Jacopo Cappellato 4ae936a5f3 The content rendered in the Webtools "view log" screen is now rendered from the ofbiz.log file rather then the ofbiz.html file in order to provide more control on the html code rendered in the screen. This fixes the vulnerability CVE-2013-2137
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1489461 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 14:48:40 +00:00
Adrian Crum 2dd19d3386 Small fixup for my last commit - remove comments used for development.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1489366 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 10:13:48 +00:00
Adrian Crum e5eb503602 New feature: Convert an XSD file to Java source code. The feature creates immutable Java object models that represent the XML file defined by the schema. It supports an optional Visitor implementation.
The feature can be accessed in Web Tools by clicking on the XSD to Java link.

The Java source code is displayed in a text area - where it can be copied-and-pasted to your IDE. The source code is fairly complete, but you will have to fill in some missing bits.

If anyone wants to adapt the feature to make it a command-line utility, then that would be welcome.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1489362 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 09:52:10 +00:00
Adrian Crum 00e0e6555d Fixed a problem in Web Tools that was caused by recent entity model changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1484268 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 10:58:14 +00:00
Adrian Crum 6a5387a708 Fixed a problem in Web Tools that was caused by recent entity model changes. Reported by Olivier Heintz on the user mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1480702 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 15:56:46 +00:00
Adrian Crum fe963375c8 Fixed a problem in Web Tools that was caused by recent entity model changes. Reported by Atul Vani on the user mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1480248 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 12:26:24 +00:00
Adrian Crum a0402a0d38 Small improvement to Web Tools services screen: Add service definition location.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446885 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 12:37:20 +00:00
Jacques Le Roux af2f71f48f Import/export https://issues.apache.org/jira/browse/OFBIZ-5047
This fix a random issue which appears sometimes on Ubuntu (it seems beginning from Ubuntu 12.04, maybe related to Open jdk)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1402766 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 09:26:03 +00:00
Jacques Le Roux 1daa9d0525 While testing for https://issues.apache.org/jira/browse/OFBIZ-5047 with trunk (instead of 10.04) I got an issue introduced by http://svn.apache.org/viewvc?view=revision&revision=950764 but actually the FTL code did not make any sense, why using a static call to isNotEmpty when you have ?has_content?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395296 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:24:44 +00:00
Adrian Crum 423947d9ed Small improvement to Web Tools Find Values screen - order values by pk.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393258 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 02:30:19 +00:00
Jacques Le Roux 9dcd3564e3 Moves the workflow component to attic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381884 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 05:39:26 +00:00
Jacopo Cappellato b0ec84fa8d Fixes to groovy script required after the recent refactoring of service code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1366028 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:53:40 +00:00
Jacopo Cappellato 2bff493b7a Removed a few useless/incorrect references to the ServiceDispatcher class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364615 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 12:51:12 +00:00
Jacopo Cappellato 8693969ac4 Refactored the very old code in the org.ofbiz.service.job package to leverage the Executor framework of java.util.concurrent rather than relying on ad-hoc synchronization and thread management: the new code is simpler, smaller and it is now easier to review and change the execution policy; two attributes of service-config.xsd have been deprecated as they are not used in the new version ("jobs" and "wait-millis").
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362422 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 09:20:42 +00:00
Adrian Crum cfc9f619c3 New feature - performance metrics. Webtools UI.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361724 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:09:26 +00:00
Adrian Crum 7cfc77c5fd Removed webtools servlet context parameters that were pointing to non-existent files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361476 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 06:55:14 +00:00
Jacques Le Roux 870bf35ef6 Rhaaa, I had a svn changelist for OFBIZ-3913 pending and did not notice those changes for
r1356471 Housekeeping of jar files"  https://issues.apache.org/jira/browse/OFBIZ-4833
Moves Minerva and XAPool to Attic

Keeping changelists with no changes in it is a bad things, I should not forget that :/

Fortunately not biggie at all

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360902 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:04:41 +00:00
Jacques Le Roux feecb15093 "Housekeeping of jar files" https://issues.apache.org/jira/browse/OFBIZ-4833
Moves Minerva and XAPool to Attic

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1356471 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:29:54 +00:00
Jacopo Cappellato 6ba24ed4bc As discussed in the dev list a few months ago, this commits removes Seleniumxml from the trunk.
Seleniumxml was a subcomponent of the framework/testtools intended to facilitate the usage of Selenium tests in OFBiz.
However it was never upgraded to the new version of Selenium and it has not been widely adopted by the community; the OFBiz community agreed to remove components/tools like this from the core distribution if they are optional/very specific or not well maintained or if there is (as in the case of Selenium) a valid external alternative to perform the same actions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1354380 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 09:19:20 +00:00
Jacopo Cappellato 3756ed0294 Cleaned up some code that was adding the delegator/dispatcher/security/auth objects in the user session rather than the request;
1) removed the request-maps for changeDelegator from components' controller.xml files: they were not used
2) removed CoreEvents.changeDelegator(...): not used (apart from the request-maps removed at #1)
3) removed CoreEvents.changeDispatcher(...): not used
4) cleaned up some code (related to multitenant development): now the objects are set in the request rather than the session

PS: as a consequence this will also fix the issue reported in OFBIZ-4289


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353681 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 17:46:07 +00:00
Jacopo Cappellato 6684c46b74 Improved memory usage information in the webtools->cache screen: the approx size in bytes is now shown for each cache in the list and the total memeory used by caches is also reported at the top of the screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352578 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 15:46:49 +00:00
Jacopo Cappellato 99d58d0330 Implemented screen that shows details about JobSandbox records, including their input data (RuntimeData.runtimeInfo deserialized) if available.
)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352171 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 15:53:39 +00:00
Jacques Le Roux 2dcc132c41 A patch from Ankit Jain "Replaces != nullpattern in ftl file by ?? (which replaces deprecated ?if_exist)" https://issues.apache.org/jira/browse/OFBIZ-4916
jleroux: I simply removed some useless ?? when ?has_content was enough. I also found 3 other cases in returnPolicy.ftl that I fixed the same way than Ankit (using ??)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1345532 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 17:10:52 +00:00
Adam Heath 83d37a796b DEPRECATION: framework: GenericValue.getRelated/getRelatedCache variants replaced with a single getRelated variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343509 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:17:17 +00:00
Jacopo Cappellato c42b1ffb2e Removed the definition of the FreeMarkerViewHandler handler from common-controller and added to the only controller that still uses it (the one of the "webtools" component, and only for one test page).
The main motivation for this is that FreeMarkerViewHandler creates (via OfbizCacheStorage) an unused static instance of UtilCache per object (i.e. for each webapp at init time), wasting system resources and cluttering the list of cache objects in Webtools.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1342308 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 16:03:29 +00:00
Jacques Le Roux 8b08aab3ef A patch from Leon for "webtools doesn't treat "Date" field properly" https://issues.apache.org/jira/browse/OFBIZ-4847
If an entity field type is "Date" (YYYY-MM-DD), in edit or create form of webtools, the component of this field is redered as "timestamp".

Update the ViewGeneric.ftl to change the related "shortDateInput" from false to true resolves this problem. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340405 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:17:23 +00:00
Jacques Le Roux 87d84ea506 Adrian suggested to removes all class="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340386 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:35:12 +00:00
Jacques Le Roux 702698c247 Defintively closes "The Label Manager is wrongly overriding CommonEmptyHeader" https://issues.apache.org/jira/browse/OFBIZ-4652
CommonEmptyHeader is now useless, so this is no longer a concern

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340372 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:42:13 +00:00
Adam Heath 9e5f405a4d DEPRECATION: framework: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338403 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 20:59:54 +00:00
Jacopo Cappellato cef1cccf82 OFBIZ-4864
* enabled by default the DebugManagedDataSource wrapper around ManagedDataSource
* enhanced the DebugManagedDataSource wrapper to:
** print log messages only at verbose level (instead of always as it was before)
** if possible print additional information about the connection status
** added new method that returns information about the connection pool settings/status
* added new static method to DBCPConnectionFactory to return information about the pools
* new screen in the webtools where information about each pool/helper is shown
The information provided by the screen can be very useful to analyze the status of the connection pools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338230 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:45:43 +00:00
Adam Heath 64a9662c25 DEPRECATION: framework: findByPrimaryKey variants replaced with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337662 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:17:55 +00:00
Hans Bakker ab0d140abd fixed error at
https://localhost:8443/webtools/control/FindGeneric?entityName=OrderHeaderAndRoleSummary  and press find, thanks Nop

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1331216 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 04:33:21 +00:00
Jacques Le Roux 4df267b015 Remove Copyright mention when useless and change to 2012 when needed or automatize if possible
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1309009 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 16:06:29 +00:00
Hans Bakker 7952083abd In 'data export all' be able to select a fromdate , tabs to spaces in a birt file from last commit. Contribution from Chattree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1294048 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 07:33:05 +00:00