avasyukov / alvex-inform-policy-extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Alvex inform policy extension

This extension informs users about changes in documents they are watching for.

v1.1

  • Moved to alvex component
  • "In Favorite" group added

v0.7

  • Email metadata customising.
  • Correct exceptions and checks

Warning! Extension would not work without configured OutboundSMTP!

Known issues

Applying this extension to just installed Alfresco could broke sistem during bootstrap. Strongly recomended to install it only after the first start.

Build

Option 1: Build it via alvex-meta. It allows to build a stable version with all deipendencies inside the package.

Option 2: Build from this repo. The component may be packaged in two ways: amp and jar. To build amp use mvn clean package, to build installable jar use mvn -P make-jar clean package.

Use

All preferences could be set in alfresco-global.properties:

  • Mail preferences
  • documentchangeinform.mail.from (String) - notification from address, not working if in your OutboundSMTP configuration mail.from.enabled false or not set!
  • documentchangeinform.mail.subject (String) - notification subject
  • Group preferences
  • documentchangeinform.creator (booolean) - enable notifications for document creator
  • documentchangeinform.lasteditor (booolean) - same for last editor of document
  • documentchangeinform.associated (booolean) - same for everyone in target associations of document
  • documentchangeinform.editors (booolean) - and for version creators
  • documentchangeinform.infavorites (booolean) - for all who favorited this document (requires alvex-infavorites-document-associtation component)

After starting Alfresco with installed extension you can find email templates at Data Dictionary/Email Templates/Document Change Notification/. Customize them if you need.

Roadmap | TODO:

  • Investigate the possibility of repairing tests
  • Article
  • Inform about deletion
  • Add user notifications preferences
  • Add share extension for user preferences

About


Languages

Language:Java 95.7%Language:FreeMarker 4.3%