core-jgi/org.adempiere.ui.zk
Carlos Ruiz 5f2d71347d
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593)
* IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system)

WIP - initial version working on zk with google apps mail using OAuth2 Authorization Code Flow and Client Type = web application

* Enable imap reading with OAuth2 in RequestEMailProcessor
* Simplify the code - tested plain and OAuth2 can use the same methods
* Add +SCOPE parameter to AddAuthorizationForm according to IDEMPIERE-4713
* Rename the form AddAuthorizationMailForm to AddAuthorizationForm as is now more generic

* IDEMPIERE-4713
* Rename migration scripts to make it newer than IDEMPIERE-4713
* Add list of scopes attended by a credential
* Change form to accept other scopes, if no scope parameter is passed, then a list is shown, change the menu to fix the EMail scope
* Add MAuthorizationAccount.refreshAndGetAccessToken
* Add translation for messages

* make call generic oauth, avoid using specific google API

* Tests with microsoft as OAuth2 provider
* Add record for microsoft as provider
* Increase size of tokens
* Define mandatory and secure columns
* Update refresh token when it comes on the refresh call
* Revoke endpoint is optional

* Change the approach to a process instead of a form (WIP)
* Implement servlet to process the OAuth2 code

* Solve context suggestion from hengsin

* Implement the form in an automatic popup approach for running on zkwebui

* i18n - add translations for all messages that are shown to user
* on the form opted for click to avoid the problem with browsers forbidding popups
* clean spaces and tabs on line endings

* avoid logging and copy of the secure columns

* Fix problem reported by @d-ruiz about hidden NPE when SMTP Authentication is disabled

* Add writing to AD_PInstance_Para and AD_PInstance_Log the results of processing the servlet
* Control to avoid using the same authorization URL twice
2021-03-06 11:49:39 +01:00
..
.settings IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
META-INF IDEMPIERE-4583 Fix OSGi split package (#497) 2021-01-02 18:32:18 +01:00
OSGI-INF IDEMPIERE-4060 Implement change scheduler state at scheduler window. Deactivate toolbar button and add button field implementation 2019-10-08 10:45:13 +08:00
WEB-INF IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593) 2021-03-06 11:49:39 +01:00
css IDEMPIERE-2355 - Allow to style the summary rows of HTML report 2014-12-11 01:48:23 -02:00
images IDEMPIERE-4421 Html asset versioning should allow fluent deployment (#441) 2020-12-07 22:59:23 +08:00
js/ckeditor IDEMPIERE 4528 Implement namespace and versioning for JS library (#405) 2020-11-24 12:35:24 +01:00
pdf.js IDEMPIERE-4497 Mobile: Update PDF.JS (#306) 2020-10-17 17:55:11 +02:00
schema IDEMPIERE-359 Add OSGi Service support for existing extension point. 1) Separate osgi service and equinox extension locator API. Service.locator() for OSGi service and EquinoxExtensionLocator.instance() for equinox extension. 2) Use OSGi service for all singleton component ( all factories and most services ) and equinox extension for others ( UI object, Process instance and PIPO handlers). 2013-02-13 16:15:43 +08:00
zul IDEMPIERE-3338 Document Status Indicator / integrate dashboard panel for Document Status (replaces Activities) - contributed by Adaxa - integrated to idempiere by Murilo - peer review and improvements by Carlos Ruiz 2017-04-12 21:27:59 +02:00
.project release 7.1 process - set version in configuration files 2019-11-21 23:28:48 +01:00
RUN_build.bat Refactoring to make project and folder name the same as the bundle symbolic name. Migrate to use eclipse feature and product configuration ( build is broken, to fix later ) 2010-09-29 15:25:34 +08:00
build.properties IDEMPIERE-4421 Html asset versioning should allow fluent deployment (#420) 2020-11-30 15:33:23 +01:00
gif.jsp IDEMPIERE-3876 Encoding and line delimiter issues / convert sources to unix line delimiter 2019-01-21 15:37:14 +01:00
index.zul IDEMPIERE 4528 Implement namespace and versioning for JS library (#405) 2020-11-24 12:35:24 +01:00
manifest.json IDEMPIERE-3518 Improvement For Mobile Compatibility 2017-10-18 21:05:12 +08:00
plugin.xml shut off validate warrning of org.adempiere.ui.zk 2017-05-07 14:55:04 +07:00
pom.xml IDEMPIERE-4604 Release 8.2 2020-12-20 10:15:20 +01:00
release_notes.html Refactoring to make project and folder name the same as the bundle symbolic name. Migrate to use eclipse feature and product configuration ( build is broken, to fix later ) 2010-09-29 15:25:34 +08:00
sessiontimeout.zul IDEMPIERE-4528 Update Js Library (#461) 2020-12-12 12:18:36 +01:00
theme.zs IDEMPIERE-2569:ZK7 - Unexpected token in DSP/CSS 2015-04-10 13:19:44 +07:00
timeout.zul IDEMPIERE-4528 Update Js Library (#461) 2020-12-12 12:18:36 +01:00