Commit Graph
271 Commits
Author SHA1 Message Date
Jacopo Cappellato 7723092596 Applied patch from Guido Amarilla (OFBIZ-912) with checks to prevent NPE for null arrays of CC and BCC addresses.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530980 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 04:42:51 +00:00
Andrew Zeneski aba4c121bb updated CMS to do simple (single) content purpose and updates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530530 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 19:54:45 +00:00
Andrew Zeneski c1fb8aced7 updated content permissions to use the purpose associated with the content; not sure why we expected this to be passed in... changed the name of the XML file containing operation data; added default purpose for CMS entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530518 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 19:00:44 +00:00
Hans Bakker 7e57a368b3 added mimetype text/x-diff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530219 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 01:31:24 +00:00
Scott Gray 0723990e34 Changed the EditElectronicText form to support additions as well as updates, the existing form AddElectronicText was not being used.
Fixes bug reported by Michel Dielissen on the mailing list

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527866 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 09:53:07 +00:00
Andrew Zeneski 777656a579 added x509 auto-login event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527758 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 03:18:38 +00:00
Andrew Zeneski 9425a7371f some changes to CMS nav; not finished
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527757 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 03:18:01 +00:00
Jacopo Cappellato be8d6f25bd That's incredible, I did another error in the same spot... all in all it's Monday morning.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524757 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 09:41:06 +00:00
Jacopo Cappellato 31f44124cb Fixed typo in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524756 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 09:37:35 +00:00
Jacopo Cappellato c0841c7bf3 Fixed double service definition for the createWebSite service that was causing an error in the Edit Web Site screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524755 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 09:34:10 +00:00
Andrew Zeneski e63fc39ea4 implemented internal email notifications for service invocations; configure groups for notifications, setup templates, email addresses and assign services to groups (serviceengine.xml) all services belong to the default group, in case you want to monitor all errors, failures and/or success
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523801 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 19:12:10 +00:00
Andrew Zeneski 040350f679 fixed problem w/ remove content assoc service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523799 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 19:08:25 +00:00
Andrew Zeneski 639dc229e7 added style to the submit button
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523414 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 17:20:04 +00:00
Jacopo Cappellato 597766520d Properties files for all OfBiz modules available in romanian language.
Many thanks to Roberto Santori (OFBIZ-845) for this great contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523091 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:36:11 +00:00
David E. Jones c3f2b9a4c7 Added a bunch of index definitions based on being annoyed by console log messages about slow queries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523013 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 17:44:11 +00:00
Jacopo Cappellato 257f417108 Added a new 'runtime' folder, at the same level of 'applications', 'framework' etc..., where all the runtime data such as logs, derby db files and output (such as the pdf report files that can be created with the new service) are created.
Removed the logs and data folders from the framework folder.
Still need to be migrated to the new folder the catalina/work folder: I'm sorry but I don't know how to do this.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522914 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:02:57 +00:00
Jacopo Cappellato f76498479e Small change to the print screen service to allow for a different content name for the content of the printer output stream.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522272 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 14:43:04 +00:00
Jacopo Cappellato c814ec8713 Misc improvements to the service to send print streams to printers from screen definitions.
Added new service to generate file version of the screens; the files are created in the applications/content/output folder but this is configurable thru the config file in the content component.
An example of its usage is in the 'find orders' screen.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522021 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 13:17:36 +00:00
Jacopo Cappellato 70d57647bc Better error handling for printer's invalid URI.
Thanks to Jacques Le Roux for the bug report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521812 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 17:13:32 +00:00
Jacopo Cappellato fd48f013f1 Added script to select all the printers available in the server.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521619 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 08:25:39 +00:00
Jacopo Cappellato fda2cdde19 There is now a 'print' option in the select box in the header of the find order list.
By selecting it and submitting the form all the orders with the checkbox set will be submitted as async jobs: the user can monitor the status of the print jobs (one per order) in the WorkEffort->Submitted Jobs screen (the status will move from Pending to Running to Finished).
The system will render one postscript stream for each order (out of the screen definition) and send it to the first printer (that can handle postscript streams) that the server's JVM can locate.
OFBIZ-824

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521616 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 07:53:39 +00:00
Jacopo Cappellato 80d34638d7 This new version of the sendPrintFromScreen service is now working.
A lot of improvements can be done (in the way a printer is selected, in the printer options etc) but this is a good start.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521601 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 06:49:50 +00:00
Jacopo Cappellato 0b7918811a Based on bug report by Si Chen, the view definition for fop screens now explicitly set the content-type to 'application/pdf'.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520526 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 19:14:38 +00:00
Jacopo Cappellato 1c6fbf538e First draft of the service that can be called as async to create a (PDF, Postscript, PCL etc...) output from a screen definition and send it to a lan printer.
OFBIZ-824


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520359 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 11:19:14 +00:00
Scott Gray cc4e08c7db Applied patch from Stefan Huehner (OFBIZ-776), fixes a couple of misc. assignment bugs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519584 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 10:06:49 +00:00
Jacopo Cappellato 8043057452 Applied (slightly different) patch from Leon Torres to allow naming the attachment PDF in sendMailFromScreen. OFBIZ-789
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519583 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 09:40:43 +00:00
Jacques Le Roux 27062a5110 Patches from Mohamed Amine AZZI "Translation of Ofbiz to arabic" (https://issues.apache.org/jira/browse/OFBIZ-804).
More to come I guess.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519306 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 13:17:15 +00:00
Jacopo Cappellato c21dfb4e53 Small layout fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519269 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:27:02 +00:00
Jacopo Cappellato afd04bd768 Enabled support to 'screenfop' view definitions for several output types supported by FOP; they are defined using the content-type attribute in the controller's view definition (application/pdf is the default)); try for example:
application/postscript
application/x-pcl
...
This is the first step toward providing print support for laser/barcode printers.
The change is backward compatible with all the existing view definitions, however I had to update all the controller xml files because I've renamed the view handler class name from ScreenFopPdfViewHandler to ScreenFopViewHandler, to better describe its role in the framework.
OFBIZ-823


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519268 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:17:54 +00:00
Jacopo Cappellato 34fe8c22b0 Applied patches from Anil K Patel (OFBIZ-798, OFBIZ-799, OFBIZ-800, OFBIZ-801, OFBIZ-802) to clean up redundant style settings from Forms files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516672 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:49:19 +00:00
David E. Jones d87948529c Various cleanups in the cmsssite templates and data; implemented a change to support rendering the Content instead of the DataResource when it is decorated, which is necessary in order for the thisContent object to exist and function, which is necessary for including sub-content and such; also implemented the content map facade link element to get a link out of the context that the cms event puts in it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516669 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:38:03 +00:00
David E. Jones 31e99f695f Some cleanups, including more consistent use of cache settings; started add of link entry, though still need to look into how to implement that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516640 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 02:24:57 +00:00
David E. Jones 15f9ec0523 Added toString method that renders the content, ie default behavior when printed or treated as a String
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516593 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:44:25 +00:00
Andrew Zeneski 03e6b9b455 added support for URL_RESOURCE types
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516574 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 21:52:46 +00:00
Andrew Zeneski 4b43086ab5 updated a CMS content to include decorator content;
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516548 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:52:51 +00:00
Andrew Zeneski 66cff5cd2a implemented default page WS content type; changed URL_RESOURCE to support component:// resources
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516536 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:12:44 +00:00
Andrew Zeneski 7d671c5ded added default page - website content assoc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516522 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 19:43:18 +00:00
Andrew Zeneski ec4bd6601b added menu container content type
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516520 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 19:40:18 +00:00
Andrew Zeneski 731c3378f5 updated facade/worker to support decorator content; added datamodel for decorator content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516516 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 19:23:12 +00:00
Andrew Zeneski d8516e39b1 added quick way to create publish points for websites
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516320 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:42:36 +00:00
Andrew Zeneski f07485a4d8 fixed bug in update content (could not update due to non-optional fields) added data resource info to ContentMapFacade
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516252 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:21:49 +00:00
Andrew Zeneski 4994f49696 fixed updating data resource
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516234 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 00:02:59 +00:00
Andrew Zeneski 5d17ac7bac now can use id_CONTENTID for numeric content Ids
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516228 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 23:36:46 +00:00
Alfred Maxwell Byers 50e13a2497 Fixed my last commit with Andrew's fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516207 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:42:37 +00:00
Alfred Maxwell Byers f71060fa8d Added "dataResourceTypeId" as unnneeded parameter to "updateElectronicText" so that "updateDataText" seca will work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:36:39 +00:00
Andrew Zeneski dd702b3339 implemented (first pass) ContentMapFacade; used in the context of all content rendering
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516199 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:35:32 +00:00
Alfred Maxwell Byers 54789c1eca Added RenderContentTransform which does both content and subcontent rendering.
Linked to it in FreeMarkerWorker, but did not remove other transform defs.
This has not been tested - will be doing that now - just making available to other hackathoners.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516168 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 20:32:39 +00:00
Andrew Zeneski a95b3a70d9 refactored renderContentAsText to invoke content services when called; now requires a dispatcher to render content; all methods using this have been updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516158 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 19:46:09 +00:00
Andrew Zeneski c4b0c1be30 fixed optional fields on permission service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515903 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:53:03 +00:00
Andrew Zeneski 55f4754541 fixed createContent error view
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515886 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:50:19 +00:00