Commit Graph
11 Commits
Author SHA1 Message Date
Nicolas Malin f4aab777a5 Improved: Refactoring permission model call
(OFBIZ-7113)
With the problem to have a permission service not on the same transaction that the related service [1]

I realized the following improvement to
 * unified call evalPermission
 * move all related field for permission service on ModelService to ModelPermission
 * Remove deprecated code
 * add labelized error message  
 * call as same transaction the permission service by defautl with possibility to overide this rule 
 * add new attributes on permission model: require-new-transaction and return-error-on-failure

Thanks to Jacques Leroux for the review


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866137 13f79535-47bb-0310-9956-ffa450edef68
2019-08-30 08:47:48 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Hans Bakker 573ffea86c remove all component dependent stamements out of commonext and make the systeminfo service more generic and not only serving portlets. Comment by Adrian in the userlist. No conversion program provided because this data is only temporary can can be deleted from a menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1292180 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 08:35:59 +00:00
Hans Bakker a56c0b3f7b update the system info messages: remove dependency on my portal and provide links directly into workeffort, projectmanager and scrum
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213562 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 04:23:50 +00:00
Hans Bakker 1c61732bbc added the function to create a public system message by the full admin user
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@827909 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 07:28:32 +00:00
Hans Bakker 9d1004714b Now allows for employees to add a note to the customer request, the customer gets notified by email with an url. If he logs in he can also add a note as a reply to the note of the employee, the employee will be notified with a system info message when the customer added the note
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788950 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 10:54:31 +00:00
Hans Bakker 5c25426967 generate a system note by incoming email
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786816 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 13:30:28 +00:00
Hans Bakker dee336bc51 correction on previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786383 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 06:01:25 +00:00
Hans Bakker c12a2f4425 fixing problems in system notification
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786381 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 05:50:13 +00:00
Hans Bakker 10be66efb4 add the 'delete' button to delete all user's system notes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786372 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 05:11:05 +00:00
Hans Bakker 4d037f45e1 This is a proof of concept, comments are very welcome.
The first page of myportal now shows changes which happened in the system for the logged on user in the first portlet.
The second portlet gives the total OPEN items in a certain function for the logged on user.

The first two functions which are working now:
1. Incoming communication events (email, internal notes)
2. tasks which are assigned either in projectmanager or workeffort

What is also pretty interesting is that the status can now be checked by a firefox plugin and when it changes the employee is notified from within firefox
The plugin: http://updatescanner.mozdev.org/en/index.html
and it should check the following url: (adjust to your requirements)
https://localhost:8443/myportal/control/showPortlet?portalPortletId=SystemInfoNotes&USERNAME=admin&PASSWORD=ofbiz

In the flat grey theme i also have added notifications in the header when they are available.

If the notification shows and the user clicks on the message the related portlet is shown.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785872 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 01:15:09 +00:00