Commit Graph
405 Commits
Author SHA1 Message Date
Adrian Crum f7ab19876b Removed availableLocales and availableTimeZones from screen rendering context - they are not needed anymore. Also deleted an unused ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686622 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 16:37:42 +00:00
Jacques Le Roux e7905f2c8c Fix the anti-pattern
if (* != null && *.size() > 0) { 
where * is a variable name (String or Collection). Rewritten to
    if (UtilValidate.isNotEmpty(*)) {

Done with Eclipse regex replace feature with
search = if \((\w+) *!= *null *&& *(\w+)\.size\(\) *> *0\) *\{
replace = if (UtilValidate.isNotEmpty($1)) {

And of course some hand-work for imports and cleaning. I compiled and tested with ant run-tests

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Adrian Crum adc1d1d145 Collapsible masthead, based upon a patch provided by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1919.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686515 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 15:52:47 +00:00
Adrian Crum 89245c4d92 Better handling of the masthead logo image link.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685969 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 17:33:29 +00:00
Adam Heath e410552cc9 No longer *copy* the extra support files into the classes dir;
instead, just add them straight to the final jar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Jacques Le Roux 0df3e54285 One i18n and some French l10n
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685753 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 02:57:39 +00:00
Hans Bakker 1dc53d1a0e added security, also added the possibility for custumers to see their entered requests under the new security rules, added demo data to test all this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685746 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 01:56:28 +00:00
Adrian Crum 67eecf7569 Small change to user preferences. The getUserPreferenceGroup service will simply retrieve default values instead of copying them to the user's preferences. This should help reduce the amount of data generated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685588 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 15:44:16 +00:00
Jacques Le Roux cf7ce5e414 French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685474 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 07:57:06 +00:00
Hans Bakker f97d937600 improved error message on suggestion of other committers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685395 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 00:13:08 +00:00
Jacques Le Roux df7903c723 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685125 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 12:01:20 +00:00
Jacques Le Roux 7a56d41286 Fix "Common labels are not included in the applications/content/webapp/content/website/WebSiteForms.xml" (https://issues.apache.org/jira/browse/OFBIZ-1903) - OFBIZ-1903
CommonCannotBeFound has never existed and is used in some places (mostly in Content comp.). I preferred to use "Could not be found"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684359 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 21:57:17 +00:00
Jacques Le Roux 0c91b9164f A patch from Markus Studer "German translations for ordermgr module" (https://issues.apache.org/jira/browse/OFBIZ-1908) - OFBIZ-1908
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684354 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 21:39:47 +00:00
Adam Heath b6a1ae5e5e Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Adrian Crum 44ecc8b364 Fixed the setUserPreference request in common-controller.xml. Reported by Bruno Busco on dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 21:19:35 +00:00
David E. Jones 0065182657 A few more view and request/event handlers, though not terribly common
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681254 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 02:05:42 +00:00
Jacques Le Roux febf82686b Undoing change committed in r680663. I completely Removed ORDER_SENT status which is unused OOTB and now simply hide it in UI.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680675 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 11:33:51 +00:00
Jacques Le Roux e7219f3400 Removed ORDER_SENT status which was actually unused
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680663 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 10:23:17 +00:00
Christian Geisert 8806f9bc28 German translations for party application
Submitted by Markus Studer
See OFBIZ-1896 (https://issues.apache.org/jira/browse/OFBIZ-1896)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680262 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 06:52:33 +00:00
Jacques Le Roux e2ae2d5e84 New French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680064 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 03:50:15 +00:00
Adrian Crum 5cfe8078e7 Slight change to the user preference services. Using the permission service on the getPreferences services threw an exception: user must be logged in. We might want to get default preferences before the user is logged in, so I moved the permission checking inside the getPreferences services.
Internationalization note: this commit contains a new UI label.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680054 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 23:21:03 +00:00
Adrian Crum cd6b23e3fd Added parentFacilityId to the Facility entity.
I added a CommonEntityChildren UI label to CommonUiLabels.xml because a number of components implement parent->child relationships and they all have their own "Children" UI label. This will help reduce UI label redundancy. I'll make the change in the other components in another commit.

Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680016 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 17:15:12 +00:00
David E. Jones 32c9cdf316 One more enhancement to entity-auto to automatically handle the oldStatusId OUT population and checking StatusValidChange for status changes; note that this does nothing to keep a status history, that should be done in a custom service called by SECA rule
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679301 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 08:24:43 +00:00
Adrian Crum ba0b7a06cf Fixed UI label error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679159 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 18:45:02 +00:00
Christian Geisert 744f4eb1ca German translations for the framework/common
Submitted by Markus Studer
See OFBIZ-1883 (https://issues.apache.org/jira/browse/OFBIZ-1883)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678376 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 09:39:12 +00:00
Jacques Le Roux 7de25f8107 New French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677841 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 07:11:36 +00:00
Adrian Crum 698da4e58d Find Screen decorator fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677792 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 00:29:25 +00:00
Jacques Le Roux 82b34863ee Update Copyright to 2008 (missed in previous commit since was not updated before)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677687 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:59:00 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
David E. Jones 8f2b25c96d A few enhancements to the common controller, we might as well have a bunch of request and view handlers there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677644 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 17:36:55 +00:00
Hans Bakker 45f9237d43 show more related information of the communicationevent on the overview screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677605 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 15:06:00 +00:00
Jacopo Cappellato d9d03bf714 Removed unused import statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677600 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 14:58:19 +00:00
Jacopo Cappellato 795a920fe4 Moved the bi component from specialpurpose to the framework folder; moved artifacts from the bi component to the proper components.
Everything should be in place now, except for a convenience service (in the bi component) that quickly initializes the datawarehouse for demo purposes: this service calls two services from the applications (wrong dependency); I will fix this soon by moving it in some other places... however it is not a big deal for now because the service is really only useful to quickly test the prototype.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677587 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 14:12:38 +00:00
Jacques Le Roux a6c7c4ada8 New French labels.
Something weird : there is only one language for CommonPreferences label (english). But in UI when in French I see CommonPreferences and not Preferences.
So it seems that it's a bit more complex than what we discussed in https://issues.apache.org/jira/browse/OFBIZ-1698 (or simpler maybe...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677030 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 20:33:27 +00:00
Jacopo Cappellato a91db16bb5 Applied patch contributed by Bilgin Ibryam in OFBIZ-1877: definitio of a common menu that can be extended by the application (the menu already contains the main and login/logout items).
A few applications have been updated to use it as well.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676959 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 16:42:20 +00:00
Jacques Le Roux d51de10a7d A patch from Markus Studer "Additional german translations for framework/common/config/CommonUiLabels.xml" (https://issues.apache.org/jira/browse/OFBIZ-1876) - OFBIZ-1876
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676825 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 08:03:53 +00:00
Jacques Le Roux 81c929399d Some French labels. Thought it was already done, I surely missed something last time (damn Subclipse 1.4)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676540 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 10:10:10 +00:00
Jacques Le Roux 5ab3530308 Re-commit lost "new French labels" from r676274
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676286 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 09:08:07 +00:00
Jacques Le Roux 4f4b4e5e43 Revert previous change done unintentionnaly while testing Subclipse 1.4 new interface (so far I preferred the old one...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676279 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 08:45:11 +00:00
Jacques Le Roux 80c57126a0 New French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676274 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 08:21:54 +00:00
Hans Bakker d90e1dc169 makes these new coms screens working in the my page envirionment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676187 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 15:29:36 +00:00
Adrian Crum af7a0409c1 Removed deprecated CSS styles from the maincss.css file. I skipped the eCommerce component because it doesn't use that style sheet, and I also skipped the content component because it is used in eCommerce.
This shouldn't affect any layout. If it does, just post a message on the dev ml (with link please) and I'll fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@675831 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 04:02:30 +00:00
Jacques Le Roux 6c9bdbb127 A patch from Bruno Busco "New and improved Italian labels" (https://issues.apache.org/jira/browse/OFBIZ-1864) - OFBIZ-1864
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674749 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 09:32:18 +00:00
Jacques Le Roux 5706eb2cbb French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674651 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 21:38:25 +00:00
Hans Bakker 13206047b8 user preference copy permission service did not take into account that the userLogin is an optional input value
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674149 13f79535-47bb-0310-9956-ffa450edef68
2008-07-05 03:52:24 +00:00
Hans Bakker 05d5e03fb7 various mypage enhancements including user configurable main screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673673 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 13:18:53 +00:00
Hans Bakker a4a822cffe copy usersettings from a template if not found for a certain user
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673671 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 13:12:31 +00:00
Jacques Le Roux 5b96fa6264 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673087 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 14:38:30 +00:00
Jacques Le Roux 1a6a287f1f Remove duplicated label found while using Bruno's Python script
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673062 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 11:39:54 +00:00
David E. Jones 204d775174 More entitygroups gone, all of framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672910 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:49:10 +00:00