Sascha Rodekamp
082526b9de
FIX: Wrong use of toArray() method ( https://issues.apache.org/jira/browse/OFBIZ-4425 ). A patch from Dimitri Unruh which replaces Array Casts with a propper call of the toArray method.
...
String[] temp = (String[]) foo.toArray(); <-- may cause class cast exception it is better to use: String[] temp = foo.toArray(new String[foo.size()])
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1173607 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 12:53:35 +00:00
Sascha Rodekamp
46b29a9911
IMPROVEMENT: Replace String concatenation in a loop ( https://issues.apache.org/jira/browse/OFBIZ-4418 ) A patch from Dimitri Unruh.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1170961 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 06:04:29 +00:00
Jacques Le Roux
2b712efb98
No functional changes, simple code refactoring around UtilValidate.is(Not)Empty()
...
Changes implementation of UtilValidate.isEmpty() for Collection and Map by using isEmpty() instead of c.size() == 0). It's more clear and as efficient. Removes also useless parentheses there.
Makes use of UtilValidate.is(Not)Empty() everywhere it makes senses. This for 2 reasons:
* Make the code more readable by replacing the (!)null/isEmpty pattern.
* Avoid possible NPEs when only isEmpty() was used (after Entity.find... for instance). I found a lot of cases (242 today) where isEmpty() could perhaps be replaced in Framework. But I guess no NPE checks were missing there and anyway it was too much for me to check them all... So I only did the relevant changes in Applications...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1169478 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 17:06:11 +00:00
Jacques Le Roux
82addd4795
Fixes some wrong labels (mostly French)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1167338 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 19:46:47 +00:00
Sascha Rodekamp
28eff53625
Update to the current jQuery Version 1.6.2
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163547 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 09:26:56 +00:00
Hans Bakker
f2e79151ab
website list for a contentId listed all websites: corrected
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1162014 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 07:49:20 +00:00
Hans Bakker
80fc19704c
more forms files which were emptied with the recent renaming attempt
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160971 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 03:34:18 +00:00
Hans Bakker
69884d9ec1
another formsfile where the content was lost
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160964 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 02:38:54 +00:00
Hans Bakker
d6cc603297
content of forms file mssing, probably after the recent move of forms files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160557 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 06:17:36 +00:00
Vikas Mayur
153203cd03
Moved form widgets from webapp to widget folder. Contribution from Deepak Dixit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160233 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 12:14:25 +00:00
Vikas Mayur
a9372fbb65
Reverted r1160209 & r1160213 as the files aren't moved correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160226 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 12:03:21 +00:00
Vikas Mayur
157ced6e25
Removed empty folder applications/content/webapp/content/datasetup as the only form widget file it contained is now moved to widget folder.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160213 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:35:17 +00:00
Vikas Mayur
d6f433a5e1
Moved form widgets from webapp to widget folder. Contribution from Deepak Dixit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160209 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:30:31 +00:00
Hans Bakker
8f72b469be
the help text was dependent on the websiteId which is now removed. changed it to the component name which is a better choice anyway
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160101 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 03:35:18 +00:00
Hans Bakker
4102bee329
update websiteContactlist entity according Jacopo's comments, added services and screens to website and contactlist to maintain the data, a contribution of 'M', an employee of antwebsystems.com
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159508 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 05:57:25 +00:00
Hans Bakker
4dc18acb47
error reported by Deepak Dixi in the mailing list for deleteing content and related data: fixed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159064 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 07:05:17 +00:00
Hans Bakker
08c1a63bbd
extended the commevent delete service to delete also seo friendly url's connected to the attached content of a comm event
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158120 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 06:21:04 +00:00
Hans Bakker
0a59303a34
remove the rest of the website definitions from seed data, the ones that are left are in the demo data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Erwan de Ferrieres
481f0694e6
Adding a plural form for content > ContentContents
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1155484 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 18:57:26 +00:00
Hans Bakker
53de1508c4
improve the alternative seo friendly content url: some url's where not recognized
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153366 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 07:12:29 +00:00
Hans Bakker
53abb5b2ac
added an function on the website level: 'SEO' to generate missing seofiendly url's on a catalog, category, product and content level. entities records which have alread a seofriendly alternative url are not touched
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153034 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 05:56:47 +00:00
Erwan de Ferrieres
162b99ffab
A patch from Nicolas Malin - Add missing french label on ContentUiLabel file - https://issues.apache.org/jira/browse/OFBIZ-4348
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1150856 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 19:26:49 +00:00
Hans Bakker
e2531c1cfc
improved content friendly urls, fix some errors
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1148144 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 04:04:32 +00:00
Sascha Rodekamp
dab9603a73
Filtering and Sorting of WebSite Path Aliases ( https://issues.apache.org/jira/browse/OFBIZ-4334 ) - Patch from Manuela Gruendlinger
...
When using lots of WebSite Path Aliases, it is quite hard to find a specific Path Alias in a list with about 30 pages. Searching for a path alias and sorting the results would really help here.
Added patch that allows searching for path alias and sorting the list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144267 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:21:53 +00:00
Hans Bakker
e89fda8693
improvement on the createContentAlternativeUrl service to create url for existing content
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144227 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:52:08 +00:00
Hans Bakker
d470674485
add services to create the alternative seo friendly url's for contant from the contentname, only when they are missing in the current locale. Also updated the related demo data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1143647 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 03:59:31 +00:00
Hans Bakker
0e4c316ef7
remove reference to a deleted file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142970 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 10:31:08 +00:00
Hans Bakker
6724a6698f
use and demonstrate the seo friendly urls in the content/ecommerce blog function, add seca to update new created content
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142577 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 07:33:18 +00:00
Hans Bakker
1749a6989f
Add seo friendly url's for showing content. reorganize the same program snippets with seo friendly url for products. These content url's are demonstrated at the ecommerce frontend in the left bottom corner: Content Information
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141878 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:03:32 +00:00
Hans Bakker
5e7e7120f3
change @ofbizcontenturl to @ofbizurl. It is content but not static content and is in reality a request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140954 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 03:39:53 +00:00
Hans Bakker
46a16bc572
move the stream request from content to commonext so streaming of image/video can be used in all components related to rev 1140919
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140933 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 01:20:24 +00:00
Hans Bakker
a8ade40815
replace hardcoded /content/control with @ofbizcontenturl to allow usage with virtual hosts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140919 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 00:25:45 +00:00
Scott Gray
89f4d19219
OFBIZ-4323 fix NPE bug reported by Javier Orrantia, screen xml documents rendered retrieved via the DataResourceWorker weren't using the correct UtilXml method that populates the xml documents userData.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139504 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 08:45:22 +00:00
Scott Gray
0a3eee807a
Remove position attributes from FindForumMessages form, gets the layout back to normal
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1137315 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 09:03:53 +00:00
Erwan de Ferrieres
591ff804ad
Internationalization for help tree
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136786 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 06:23:16 +00:00
Hans Bakker
37fac38c97
add a button to content to (re) generate the keywords for all content. The whole keyword implementation was done by Antwebsystems employee Tom
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1130890 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 03:05:23 +00:00
Hans Bakker
8c19122f00
mimetype not properly set when uploading file without providing mimetype
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1129519 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 07:29:22 +00:00
Hans Bakker
f1700f9540
increase security on content, set the isPublic flag to 'N' if not provided
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128199 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 08:49:41 +00:00
Hans Bakker
514255210a
do not encode on mimetype in edit dataresource
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128168 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 06:39:37 +00:00
Hans Bakker
e664a168e6
make input mimetype field consistent
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128153 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 05:47:17 +00:00
Marco Risaliti
30b0800ee2
Removed some javadoc warning into content component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126083 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 16:56:39 +00:00
Marco Risaliti
bb8091446e
Remove some unused import/variable into ContentKeywordIndex
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125957 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:24:55 +00:00
Marco Risaliti
7465e7233f
Removed some unused import into DataResourceWorker
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125956 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:23:49 +00:00
Sascha Rodekamp
27e16a61c9
Update - jQuery update to version 1.6.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1124336 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 16:54:55 +00:00
Hans Bakker
4a1e4429eb
add a lookup locale function
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1124153 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 09:53:07 +00:00
Hans Bakker
47ab1f5302
wrong lookup in content find screen and added field to the list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104682 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 04:00:40 +00:00
Hans Bakker
baea7adaec
revert 1104089: wrong understanding of the ownerContentId field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104216 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 12:59:51 +00:00
Hans Bakker
45d6f5217a
wrong lookup function called should be party instead of content
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104089 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 09:46:59 +00:00
Hans Bakker
77226d187c
add search screens using the new content search following the wokreffort pattern
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102643 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:55:48 +00:00
Hans Bakker
7a42a2892c
add a keyword search function to the content component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102554 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 03:20:58 +00:00