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
Jacques Le Roux
76274c5448
Better labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500771 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:37:14 +00:00
Jacques Le Roux
cff3539f53
French labels and better en label for WebtoolsMetricsRate
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500705 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 13:00:28 +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
18b5135a31
Third pass at removing cached DOM tree code from EntityConfigUtil.java. I converted some of the code to use the new thread-safe models.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1490938 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 09:34:47 +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
9bd42ec3a2
Reverted revision 1483822.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1484134 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:12:50 +00:00
Jacques Le Roux
929a06dfd5
Improves the Metrics stats by adding a new column used only by requests. It's quite useful to measure the real (not smoothed) durations of events in notably *chained* requests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1483822 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:21:02 +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
2a5ccbb63b
Moving toward immutable entity model classes. Also some code cleanups, simplified API, and JavaDocs.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1477929 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 08:16:56 +00:00
Jacques Le Roux
ca43c6a2c4
Just adds a date-time to clarify the moment all caches were cleared
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465103 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 19:41:42 +00:00
Hans Bakker
56323a459b
make the webtools screens use the decorator location from web.xml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1455024 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 07:35:16 +00:00
Jacques Le Roux
830f9f7b91
A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
...
Translated missing zh labels for projectmgr, scrum, service, webpos and webtools components. These are the last 5 components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1448350 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 18:50:33 +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
4bc9aff69c
Complete the server hour on webtools jobs list, with the help of Adrian and Atul
...
Remarks:
* Finally date.format-1.2.3-min.js is quite useful
* I renamed the getServerHour service to getServerTimestamp. It now returns a Long, easier to parse to a date in javascript
* I renamed WindowClockJs.ftl to ServerHour24HourFormatJs.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1427233 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 19:50:54 +00:00
Jacques Le Roux
98f9905f0b
Complete the work on server hour for the webtools job list.
...
* Now uses real server hour
* Renames getDependentDropdownValues.js into miscAjaxFunctions.js, that it is really
* Introduces a minimized version of date.format: date.format-1.2.3-min.js
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1426904 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 07:33:26 +00:00
Jacques Le Roux
e1841ff96b
I wanted to have the server hour on the webtools job list, not a bid deal, hé?
...
As ever, turns it's always more complicated than thought.
For instance jQuery, even with $.datepicker.formatDate, is not able to format a date + time correctly :/
So I added a new js script: date.format-1.2.3.js. It's only 4kb, I tried to compress it online, did not work, gave up.
This is pretty basic, enough for the needs and can be easily extended when more is needed
5 mins later:
Yikes, this was pretty stupid. I completly forgot about what I thought 2 weeks ago: it's from the server I need the date-time, so I need a json service.
Then, today, I completly forgot about it, and thought again: OK, it will consume less ressources w/out a service, if I only use javascript. A senior moment I guess :/
I will rewrite that later, to have the real server hour...
However, the mechanism I quickly built can still be pretty useful in some cases...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1426848 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 22:08:19 +00:00
Scott Gray
5df3e3f70b
Remove a bunch of unused imports, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1418646 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 12:03:52 +00:00
Jacques Le Roux
ecd2de6362
A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
...
Completed Japanese translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1412997 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 17:35:16 +00:00
Jacques Le Roux
b46c7a2c06
A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
...
Got an issue merging GeoData_JP.xml with Subclipse, using Toirtoise solved it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00
Jacques Le Roux
e381dea7a3
Better French label
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403655 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 10:35:01 +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
88dfaa9bb4
Just to clarify, when you check all you don't check views. I just changed English and French labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1397809 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 10:24:49 +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
Adrian Crum
b499717344
Updated Web Tools Thread List screen to reflect changes in the Job Scheduler.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374625 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 18:06:44 +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
bf1241a4b7
Refactored artifact info classes to run some of the long running tasks in parallel threads by using the GLOBAL_EXECUTOR thread pool. Now it can be significantly faster (in a system with a quad-core processor it takes less than half time).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1365670 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 17:16:56 +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
7dcbf47605
Refactored DispatchContext class to be thread safe thru immutability; resorted its methods to improve the readability; added some comments to better describe it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364564 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:15:13 +00:00
Jacopo Cappellato
e3ad85e49f
First pass of a rather relevant cleanup of service related code:
...
* removed the support for serviceReaderUrls for local services specified in the WEB-INF folder; this feature was not used in years and OFBiz has better mechanisms to define services in components;
* as a consequence of the previous point, a lot of code has been cleaned in the DispatchContext class; in this refactoring, I have fixed some non thread safe code (but this is only a first step and this class needs to be enhanced under this aspect)
* greatly simplified the static instance creator and constructors of ServiceDispatcher and GenericDispatcher to reflect the changes in DispatchContext but also removed old unused code, simplified code for readability, added some comments to better document it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364222 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:33:48 +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
fc099856c1
Small enhancements to the job search form (drop down maintains last selected value for all fields) and to the schedule job form (max retry is set to 0 by default to avoid to run forever on error by default).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353898 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 09:46:58 +00:00