Giter Site home page Giter Site logo

humhub-modules-announcements's People

Contributors

bumrufus avatar githubjeka avatar staxdb avatar xaro1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

humhub-modules-announcements's Issues

Allow posts by JSON webhook

Something like this would be perfect for this module, being able to post from say Ko-fi and have an announcement done on your HumHub instance

Check out Webhook.site for an easier implementation ๐Ÿ‘

Status of this plugin / compatibility with HumHub > 1.4

The Readme lists compatible HumHub versions up to 1.4, however, we currently have 1.9. Will this plugin run on HumHub > 1.4, are there any efforts to make it work or replacements for this plugin?

Any information would be appreciated!

Link error in the email

Small bug :
image
If I click on this link I should arrive on the space, but the URL lakes the domain name.

Comments generate notifications to everybody

Announcement is meant to send a notification to everybody in the space, this is ok.

But when somebody publish a comment, everybody in the space receive a notification to, even if they didn't click on "like" or commented.

Notifications are sent to disabled users

Is a user has the status "disabled" (in MySQL table "user", the field "status" has the value 0 if the user is disabled), he cannot access the platform and doesn't receive any notifications any more.

But a content published with this announcement module sends notification emails to everybody, including disabled users.

Error in search function after disable OR uninstall module

Steps (in test env.):

  1. Created a space
  2. Created an announcement
  3. Completed it
  4. Deleted it
  • HH: 1.3.4
  • Announcements: master

If disabled:

yii\base\InvalidConfigException: The table does not exist: announcement in /public/protected/vendor/yiisoft/yii2/db/ActiveRecord.php:382
Stack trace:
#0 /public/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(210): yii\db\ActiveRecord::getTableSchema()
#1 /public/protected/vendor/yiisoft/yii2/db/ActiveRecord.php(190): yii\db\ActiveRecord::filterCondition(Array)
#2 /public/protected/vendor/yiisoft/yii2/db/BaseActiveRecord.php(112): yii\db\ActiveRecord::findByCondition(Array) 
#3 /public/protected/humhub/modules/search/libs/SearchResultSet.php(55): yii\db\BaseActiveRecord::findOne(Array)
#4 /public/protected/humhub/modules/search/controllers/SearchController.php(96): humhub\modules\search\libs\SearchResultSet->getResultInstances()
#5 [internal function]: humhub\modules\search\controllers\SearchController->actionIndex()
#6 /public/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#7 /public/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#8 /public/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('index', Array)
#9 /public/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('search/search/i...', Array)
#10 /public/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(humhub\components\Request))
#11 /public/index.php(24): yii\base\Application->run()
#12 {main} 

If uninstalled:

Error: Class 'humhub\modules\announcements\models\Announcement' not found in /public/protected/humhub/modules/search/libs/SearchResultSet.php:55
Stack trace:
#0 /public/protected/humhub/modules/search/controllers/SearchController.php(96): humhub\modules\search\libs\SearchResultSet->getResultInstances()
#1 [internal function]: humhub\modules\search\controllers\SearchController->actionIndex()
#2 /public/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#3 /public/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#4 /public/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('index', Array)
#5 /public/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('search/search/i...', Array)
#6 /public/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(humhub\components\Request))
#7 /public/index.php(24): yii\base\Application->run()
#8 {main} 

To solve it, i must delete the created space. After that, disable OR uninstall does NOT throw any error.

OLD flag

Shouldn't the Old flag be positioned at the same level then the Announcement badge?

See screenshot:
image

Like Calendar module:
image

This for UI/UX reasons.

Get the receiver display name on the subject notification mail

Hello,

I'm looking for several days a way to display the username (the one who receives the email) in the subject of the notification email?
It's hard to do because of this system of "bulk notification"...
If someone has an idea how to do that!

Thank you really much

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.