Commit Graph
37 Commits
Author SHA1 Message Date
Jacques Le Roux a2dac5482c Improved: Default ordering of webapps titles in main menu (OFBIZ-12166)
[...] having more important apps in 1st places would be better [...]
the feature should be easily changed by custom projects [...]
documentation for that would be enough.

This 1st step sorts the applications and webtools. I believe webtools should not
be secondary but that needs to be discussed with other options.
2021-02-14 21:11:58 +01:00
Nicolas Malin 7165768251 Implemented: Add a framework method to get main webapp menu with the webapp name
(OFBIZ-10601)

To improve theme management and provide better tools for new themes, we implement a method to obtain the main menu of a webapp.
Instead of just managing a menu, we extend the functionality by offering a method to expose a summary of the webapp, to simplify the navigation.

For this we add a new attribute on webapp definition app-shortcut-screen :

    <webapp name="mywebapp"
            ...
            app-shortcut-screen="component://mycomponent/widget/CommonScreens.xml#ShortcutApp"
            ...
    />

The idea is to define a new purpose screen *Shortcut* that contains what defines a webapp when an action or navigation has been requested. With this screen you can load a menu, a search, a complex description and use all screen powerfulness to resolve what displaying and support by theming

    <screen name="ShortcutApp">
        <section>
            <actions>
                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
            </actions>
            <widgets>
                <decorator-screen name="ShortcutDecorator" location="component://common/widget/CommonScreens.xml">
                    <decorator-section name="body">
                        <include-menu name="MyShortcutAppBar" location="component://mycomponent/widget/CommonMenus.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

Each component are self-sufficient to define what shortcuts to display without framework change or knowledge about other component.
Each theme can implement and customize the display rendering at will.

To illustrate an example of implementation we set sub menu for each webapp defined on applications and exploit it on bluelight theme.

Thanks for Dennis Balkir, Jacques Leroux, Leila Mekika and Julien Nicolas for their involvement
2021-01-15 08:56:23 +01:00
holivier 4a41f0fde5 Documented: migration to help system using asciidoc files (OFBIZ-11587)
commit correction for <Remove all related help docbook files>
* reAdd a contentDocData for main contentId and portletCategory
* remove from ofbiz-component of each application line about helpData which are removed
2020-10-27 11:20:09 +01:00
Mathieu Lirzin aae1c8a8f5 Reverted: "Improved: Use ‘depends-on’ attribute instead of “component-load.xml”"
(OFBIZ-11296)

This reverts commit eeabe69813.
2019-12-18 12:09:20 +01:00
Mathieu Lirzin eeabe69813 Improved: Use ‘depends-on’ attribute instead of “component-load.xml” (OFBIZ-11296)
We currently have two ways to define component loading order. Either
by using ‘depends-on’ attribute in “component-config.xml” or by adding
a “component-load.xml” file at the root of a component directory.

“depends-on” is more flexible because it handles partial ordering when
“component-load.xml” defines a total order which is not necessarily
meaningful, so it is better to rely only “depends-on”.

This removes the usage of “component-load.xml” to use ‘depends-on’
instead. The dependency declarations correspond to the total ordering
previously defined but will need to be refined in the future to relax
unnecessary dependency declarations.

Only “framework/base/config/component-load.xml” which defines the
top-level directories order (framework, applications, themes and
plugins) is kept.
2019-11-25 15:28:54 +01:00
Rishi Solanki 5a49b98d3a Improved: Move all data in applications to the datamodel component. Moved demo data from accounting, commonext, content, humanres, manufacturing, marketing, order, party, product, workeffort components to datamodel component. Done changes in related data files and do entries accordingly.
(OFBIZ-9501)
Thanks to Sourabh Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1823177 13f79535-47bb-0310-9956-ffa450edef68
2018-02-05 14:13:04 +00:00
Rishi Solanki 319d7292d2 Improved: Move all data in applications to the datamodel component. Moved seed data from humanres, marketing and order component. Left the protlet, security and help data for these components.
(OFBIZ-9501)
Thanks to Jacques and Taher for your help and finalizing the directions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817915 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 13:57:04 +00:00
Arun Patidar 5d0d509131 Applied patch from jira issue - OFBIZ-8059 - Added CRUD services for ContactListType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759098 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 16:02:06 +00:00
Jacques Le Roux ef7996c983 Fixes "Remove warnings regarding missing component lib folders" - https://issues.apache.org/jira/browse/OFBIZ-7776 - by cleaning/clearing the references to non existent/empty dirs.
Notes: 
* Also removes empty framework/base/lib/scripting and useless applications\content\lib\uno\README (miss doc in wiki)
* When jpim-0.1.jar will be (hopefully) replaced we can drop lib ref in framework/base/ofbiz-component.xml
* I wonder if we should let the geronimo component alone with only 2 classes, could we not put that in entity or entityext?
 
    



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755306 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:27:21 +00:00
Jacopo Cappellato 85b2008053 OFBIZ-6760: Moved all entity definitions from the applications components into a new component named "datamodel".
This is a first step to refactor application components into independent parts that can be deployed when needed.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720413 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 18:37:22 +00:00
Jacques Le Roux 6752efbbc3 A patch from Pierre Smits "Have configuration options for sfa" https://issues.apache.org/jira/browse/OFBIZ-6190 part of "Improve configurability of OFBiz regarding multi-tenancy" https://issues.apache.org/jira/browse/OFBIZ-6164
save.outgoing.directory is being used in vcard.java


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682159 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 07:56:24 +00:00
Jacopo Cappellato 7cc03f767b Removed unused lib folder from the marketing component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463886 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 09:01:09 +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
Hans Bakker bd16dfb598 split up securitypermissions as seed data and securitygroups as demo data with a single exception: the creation of a super security group which has general access to the system and which is used with the 'ant create-admin-user-login' command.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Hans Bakker 14f4e5a292 reverted recent security file changes revisions: 1350847,1350843,1350840,1348534,1347908,1347213,1346264, need more investigation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Hans Bakker fff7f99081 introduced a new data-reader : 'security'
Security is now by default not loaded because not part of seed anymore this will make all component hidden and not accessible .
It is still loaded as part of the reader 'demo'

to load the security files:
./ant load-readers -Ddata-readers=security

Now it is possible to load only a selection of the security files in your hot-deploy component as follows:

<entity-resource type=data reader-name=seed loader=main location=../../framework/security/data/SecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../framework/webtools/data/WebtoolsSecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../applications/party/data/PartySecurityData.xml/>

This will enable only standard groups, the party and the webtools application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1346255 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 06:37:06 +00:00
Erwan de Ferrieres bcca21f197 Reorganizing data loading for selenium test in marketing. data should have been in data, and not in testdef
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084529 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 10:40:01 +00:00
Hans Bakker 5b4ecb8b95 created SFA security data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835311 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 09:21:02 +00:00
Hans Bakker 398139f70d add a portal page as the first page in sfa containing calendar and email, but can be changed as required via preferences. add the first screens for events which will appear on the calendar. next step will be to be able to connect events/tasks to opportunities, show them in the party pprofile etc...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835270 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:04:41 +00:00
Hans Bakker 1d727fd8a3 added a selenium test when a opportunity is created from an email
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822169 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 08:47:35 +00:00
Hans Bakker 6e4069cf2b forget one file on last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820899 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 06:39:49 +00:00
Hans Bakker d789d9a0ad corrections in top level documents and added placeholders for marketing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812336 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 03:58:39 +00:00
Jacques Le Roux f29b4787b4 As suggested by David, these lines are not needed anymore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771090 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 17:19:37 +00:00
Marco Risaliti 07f05f87df Some missing italian translations and some missing i18n in ecommerce component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733163 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 21:56:14 +00:00
David E. Jones 01ec60e1cd Removed entitygroup.xml files now that they are not needed, and I'm sure they won't be missed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672822 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 17:09:02 +00:00
Vikas Mayur e9798fc0ac Applied patch for testing process of create/update contact list from Jira issue OFBIZ-1681(https://issues.apache.org/jira/browse/OFBIZ-1681)\ Done few improvements - put the precondition - post condition comment at one place etc. \ Thanks Awdesh Parihar, Ratnesh Upadhyay for this patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661596 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 08:52:12 +00:00
Hans Bakker e2fa45254e add first demo data, add error dir, allow different profiles for account, lead, contact with the same request all in sfa
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659755 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 06:14:34 +00:00
Vikas Mayur 1ed18d7924 Adding functinality to create a contact from a vCard and vice-versa (in sfa)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659458 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 07:05:45 +00:00
Jacques Le Roux bc90a6cfce A bunch of changes around "New attributes to ofbiz-component.xml" (https://issues.apache.org/jira/browse/OFBIZ-1714) - OFBIZ-1714
Better description of cryptic applications tabs (HR and SFA for now) using new tooltip/description attribute
CommonAccounting was useless : removed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@647451 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 13:53:49 +00:00
Jacopo Cappellato 466952f6cc Removed unnecessary position attributes: if the position attribute is not set, applications are sorted by title.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640670 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 02:11:42 +00:00
David E. Jones 231fb950af Reordered top header tabs by alpha (easier to find); moved business things to the top and technical things to the bottom, which was thgs to the bottom which was the original intent of this pattern
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640533 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 19:26:27 +00:00
Jacopo Cappellato 4e5d5791b3 New attributes for the webapp element in the ofbiz-component.xml files: description, menu-name and position.
menu-name is used to separate the menu items in different menus, the position element che be used to sort them (alphanumerically) in the group.
There are now two menu groups: "main", for the main applications, in the top bar, and "secondary" for applications (specialized or not still 'mature'), in the footer. 
Thanks to Bilgim Ibryam for the patch OFBIZ-1714, that I have committed with a few changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640307 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 04:07:34 +00:00
Anil Patel 4b6a37a9f1 Initial webapp for coming up SFA app. Menu items are not active yet. Thanks to Sumit Pandit, Saurabh Nayak, Awdesh Parihar and others for working on implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634143 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 03:41:57 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 6514683412 Conversion from MIT to ASL2.0 for all the files of the marketing component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422379 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 05:50:40 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00