Giter Site home page Giter Site logo

nextcloud / announcementcenter Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 24.0 9.88 MB

๐Ÿ“ข Announcement Center for Nextcloud

Home Page: https://apps.nextcloud.com/apps/announcementcenter

License: GNU Affero General Public License v3.0

PHP 36.71% JavaScript 55.15% Makefile 0.62% Vue 7.01% CSS 0.50% Hack 0.02%
announcement-center notifications

announcementcenter's People

Contributors

come-nc avatar dependabot[bot] avatar harry-7 avatar jancborchardt avatar janklostermann avatar juliushaertl avatar mariusbluem avatar mejo- avatar morrisjobke avatar mwinkens avatar nextcloud-bot avatar nextcloud-command avatar nickvergessen avatar pvince81 avatar rabella-avaya avatar rakekniven avatar rello avatar rullzer avatar sahalsaad avatar skjnldsv avatar slytiger16 avatar spoiledtechie avatar tcitworld avatar violoncelloch avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

announcementcenter's Issues

REQUEST if possible

Great app :-) !!

would there be a way to have the announcement also be forwarded by e-mail to the chosen user or usergroups ???

Thank's

Oliver

Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Where did you install Nextcloud from:

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

The content of config/config.php:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or 

Insert your config.php content here
(Without the database password, passwordsalt and secret)

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser:

Operating system:

Logs

Nextcloud log (data/owncloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Idea: Allow other groups then Admin to send Announcements

Hi.

1.It would be great to allow selectable groups to send announcements, not only admin groups.
2. As further development additionally to above allow group admins to send to members.
For example if non admin user "X" is Admin for group "My Users" he/she would be able to send messages to members of his group.

Thanks for consideration
Greg

Compatible with NC 10.0 ?

I tried to install the Annoucement Center with NC 10, and I'm not abled to. In the appinfo/info.xml, the dependency is still related to ownCloud server's version 9.2. I don't know if it's the source of the problem.

Steps to reproduce

  1. Install NextCloud 10.0.0
  2. Install the Announcement Center
  3. Go to the NC application management center
  4. In the section of unactive applications

Expected behaviour

The Announcement Center should be activable

Actual behaviour

The Announcement Center isn't activable because "Server version 11 or higher is required."

Server configuration

Operating system: Debian 7

Web server: Apache 2.2

Database: MySQL

PHP version: 5.6

Nextcloud version: 10.0

Where did you install Nextcloud from: From the official ZIP

Signing status:

No error have been found

List of activated apps:

Enabled:
  - activity: 2.3.2
  - admin_audit: 1.0.0
  - calendar: 1.3.3
  - comments: 1.0.0
  - contacts: 1.3.1.0
  - dav: 1.0.0
  - documents: 0.13.1
  - external: 1.2
  - federatedfilesharing: 1.0.1
  - federation: 1.0.1
  - files: 1.5.2
  - files_external: 1.0.2
  - files_pdfviewer: 0.8.1
  - files_sharing: 1.0.0
  - files_texteditor: 2.1
  - files_trashbin: 1.0.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - notes: 2.0.2
  - notifications: 0.3.0
  - password_policy: 1.0.0
  - provisioning_api: 1.0.0
  - serverinfo: 1.1.1
  - survey_client: 0.1.5
  - systemtags: 1.0.2
  - tasks: 0.9.3
  - templateeditor: 0.1
  - theming: 1.0.1
  - updatenotification: 1.0.1
  - workflowengine: 1.0.1
Disabled:
  - announcementcenter
  - encryption
  - files_accesscontrol
  - files_automatedtagging
  - files_retention
  - galleryplus
  - user_external
  - user_ldap
  - user_saml

The content of config/config.php:

$CONFIG = array (
  'instanceid' => 'xxxxx',
  'passwordsalt' => 'xxxxxxxx',
  'datadirectory' => '/xxx/xxx',
  'dbtype' => 'mysql',
  'version' => '9.1.0.16',
  'dbname' => 'xxxxx',
  'dbhost' => 'xxxxx',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxxxx',
  'dbpassword' => 'xxxxxx',
  'installed' => true,
  'loglevel' => 0,
  'theme' => '',
  'maintenance' => false,
  'trusted_domains' => 
  array (
    0 => 'id-libre.org',
  ),
  'share_folder' => '/Shared',
  'knowledgebaseenabled' => true,
  'remember_login_cookie_lifetime' => 1296000,
  'session_lifetime' => 86400,
  'session_keepalive' => true,
  'forcessl' => true,
  'asset-pipeline.enabled' => false,
  'secret' => 'xxxxxx',
  'mail_smtpmode' => 'php',
  'mail_from_address' => 'xxx',
  'mail_domain' => 'xxxxx',
  'overwrite.cli.url' => '/xxxx',
  'trashbin_retention_obligation' => 'auto',
  'enable_previews' => true,
  'filelocking.enabled' => 'true',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'xxxx',
    'port' => xxxx,
    'timeout' => 0,
  ),
);

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... : No.

Client configuration

Browser: Firefox 48

Operating system: Archlinux

Group restriction is not applied after first announcement

Steps to reproduce

  1. Create annoucement with restricted visibility to one group
  2. Create more announcements without changing the group restriction setting (leave the previously selected group)

Expected behaviour

All announcements should be restricted to the selected group.

Actual behaviour

Only the first announcement is restricted to the selected group, all additional annoucements are publicly visible.
To send more restricted announcements the group has to be deselected and selected again.

Server configuration detail

Operating system: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64

Webserver: Apache/2.4.25 (Debian) (apache2handler)

Database: mysql 8.0.11

PHP version: 7.1.18
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, exif, gd, intl, ldap, mcrypt, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, zip, Zend OPcache

Nextcloud version: 13.0.4 - 13.0.4.0

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array

List of activated apps
Enabled:
 - activity: 2.6.1
 - admin_audit: 1.3.0
 - announcementcenter: 3.2.1
 - apporder: 0.4.1
 - bruteforcesettings: 1.0.3
 - calendar: 1.6.1
 - camerarawpreviews: 0.5.3
 - checksum: 0.4.0
 - circles: 0.14.0
 - comments: 1.3.0
 - contacts: 2.1.5
 - dav: 1.4.7
 - deck: 0.3.1
 - drawio: 0.8.9
 - dropit: 0.1.1
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_downloadactivity: 1.2.0
 - files_external: 1.4.1
 - files_linkeditor: 1.0.5
 - files_markdown: 2.0.4
 - files_pdfviewer: 1.2.1
 - files_reader: 1.2.3
 - files_rightclick: 0.8.4
 - files_sharing: 1.5.0
 - files_texteditor: 2.5.1
 - files_trashbin: 1.3.0
 - files_versions: 1.6.0
 - files_videoplayer: 1.2.0
 - firstrunwizard: 2.2.1
 - flowupload: 0.0.7
 - gallery: 18.0.0
 - groupfolders: 1.2.0
 - impersonate: 1.0.4
 - issuetemplate: 0.3.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - mail: 0.8.1
 - metadata: 0.6.0
 - mindmaps: 0.1.0
 - music: 0.7.0
 - nextcloud_announcements: 1.2.0
 - notes: 2.3.2
 - notifications: 2.1.2
 - oauth2: 1.1.1
 - onlyoffice: 1.3.0
 - ownpad: 0.6.6
 - password_policy: 1.3.0
 - polls: 0.8.1
 - provisioning_api: 1.3.0
 - quota_warning: 1.2.0
 - ransomware_protection: 1.1.0
 - richdocuments: 2.0.9
 - serverinfo: 1.3.0
 - sharebymail: 1.3.0
 - socialsharing_email: 1.0.3
 - spreed: 3.2.2
 - systemtags: 1.3.0
 - tasks: 0.9.6
 - theming: 1.4.5
 - twofactor_backupcodes: 1.2.3
 - twofactor_totp: 1.4.1
 - twofactor_u2f: 1.5.5
 - twofactor_yubikey: 0.3.0
 - updatenotification: 1.3.0
 - user_external: 0.4
 - workflowengine: 1.3.0
Disabled:
 - audioplayer
 - bookmarks
 - encryption
 - external
 - files_accesscontrol
 - files_automatedtagging
 - files_retention
 - keeweb
 - survey_client
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "***REMOVED SENSITIVE VALUE***"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "13.0.4.0",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "forcessl": true,
    "logtimezone": "Europe\/Berlin",
    "log_rotate_size": 104857600,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauth": true,
    "mail_smtpauthtype": "LOGIN",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpsecure": "ssl",
    "htaccess.RewriteBase": "\/",
    "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
    "auth.bruteforce.protection.enabled": false,
    "check_for_working_webdav": true,
    "maintenance": false,
    "loglevel": 0,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    }
}

Are you using external storage, if yes which one: sftp

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

LDAP configuration (delete this part if not used)
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Operating system:

Logs

Browser log
Insert your webserver log here 
Nextcloud log
Insert your Nextcloud log here
Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Include announcement text in e-mails

When an announcement is set up with all the options enabled, the users get an e-mail telling them that there is an announcement.

My experience is that most users don't know what to do with this e-mail, as there is not even a link to the actual announcement. Further, notifications are often not read.

Including the announcement text directly in the e-mail is being sent would be nice. Only then real announcements, that are being read, are possible.

Maybe it would make sense to use a different app with the simple funcionallity to only send e-mails to all users or users of certain groups, without having all the options of the announcement center?

Error logs: error:0406D06E:rsa and error:0906D06C:PEM

Hello,

I installed announcementcenter and I posted an announcement. However, none user received the email about the announcement (it is enabled in settings).

In the logs (from the page) I am getting:

[notifications] Fatal: error:0406D06E:rsa routines:RSA_padding_add_PKCS1_type_2:data too large for key size at 2019-02-18T08:30:04 +00:00

[notifications] Fatal: error:0906D06C:PEM routines:PEM_read_bio:no start line at 2019-02-8T08:30:04 +00:00

thanks

### Server configuration
Nextcloud version : 15.0.4
Operating system and version: Ubuntu 16.04
Apache : Apache/2.4.18 (Ubuntu)
PHP version : PHP 7.0.32-0ubuntu0.16.04.1

http://example.com/index.php/settings/integrity/failed => No errors have been found.

Notifications don't work for admins

Steps to reproduce

  1. Admin create an announcement.
  2. Non-Admin (in 'Moderator' group) user got the notification icon (refreshing the WebUI multiple times, clearing cache)
  3. Admin add the Moderator group to the list of the groups that can create new announcement.

Expected behaviour

User in 'Moderator' group refresh the WebUI, shows notification icon.

Actual behaviour

User in 'Moderator' group refresh the WebUI, no more notification icon.

Announcements are NOT shown if the user profile language is set to Simplified Chinese

Steps to reproduce

  1. Post an announcement.
  2. Set the profile Language to ็ฎ€ไฝ“ไธญๆ–‡(Simplifed Chinese) in Settings.
  3. The posted Announcements are gone.

Expected behaviour

Announcements are shown if the profile language is Simplified Chinese.

Actual behaviour

Announcements are not shown if the profile language is Simplified Chinese.

Server configuration

Operating system: Ubuntu 16.04

Web server: Apache

Database: MySQL

PHP version: php7.0-fpm-7.0.33

Nextcloud version: (see Nextcloud admin page) 15.0.5

Where did you install Nextcloud from: tar.gz

No push notifications on Android App

Hi.

When I generate an announcement for a group with the announcements app, the notification is being generated properly. In the Webinterface it shows the notification, as well as in the nextcloud app at notifications. The problem I have is that all notifications generated through the announcements app arent producing push notifications on Android which i need to notify the user that some new files are available. (they dont have an email adress which i could use instead)

Steps to reproduce

  1. Generate a notification in the announcements app for a group

Expected behaviour

Should generate a push notification in Android

Actual behaviour

No push notification is generated, i only see the notification when i manually open the app

Operating system: Ubuntu Server 16.04

Web server: apache2

Database: mariadb

PHP version: 7.0

Nextcloud version: 13.0.2

Where did you install Nextcloud from: official download from the nextcloud page

Signing status: Stable

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
 no errors found

**List of activated apps:**

  - activity: 2.6.1
  - admin_audit: 1.3.0
  - admin_notifications: 1.0.1
  - announcementcenter: 3.2.1
  - bruteforcesettings: 1.0.3
  - caniupdate: 0.1.2
  - checksum: 0.4.0
  - comments: 1.3.0
  - dav: 1.4.6
  - encryption: 2.0.0
  - federatedfilesharing: 1.3.1
  - federation: 1.3.0
  - files: 1.8.0
  - files_downloadactivity: 1.2.0
  - files_pdfviewer: 1.2.1
  - files_rightclick: 0.8.4
  - files_sharing: 1.5.0
  - files_texteditor: 2.5.1
  - files_trashbin: 1.3.0
  - files_versions: 1.6.0
  - files_videoplayer: 1.2.0
  - firstrunwizard: 2.2.1
  - gallery: 18.0.0
  - groupfolders: 1.2.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.1.0
  - metadata: 0.6.0
  - nextcloud_announcements: 1.2.0
  - notifications: 2.1.2
  - oauth2: 1.1.0
  - password_policy: 1.3.0
  - provisioning_api: 1.3.0
  - quota_warning: 1.2.0
  - ransomware_protection: 1.1.0
  - serverinfo: 1.3.0
  - sharebymail: 1.3.0
  - socialsharing_email: 1.0.3
  - survey_client: 1.1.0
  - systemtags: 1.3.0
  - theming: 1.4.1
  - twofactor_backupcodes: 1.2.3
  - updatenotification: 1.3.0
  - workflowengine: 1.3.0

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "kwolkemk.kwg.net",
            "212.204.78.60",
            "10.10.15.90"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "cloud.example.net",
        "dbtype": "mysql",
        "version": "13.0.2.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "skeletondirectory": "\/media\/new_owncloud_user_files",
        "enable_previews": false,
        "default_language": "de_DE",
        "knowledgebaseenabled": false,
        "enable_avatars": true,
        "session_lifetime": 1200,
        "remember_login_cookie_lifetime": 0,
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "auth.bruteforce.protection.enabled": false,
        "has_internet_connection": true,
        "check_for_working_webdav": true,
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "updater.release.channel": "stable",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "htaccess.RewriteBase": "\/",
        "check_for_working_htaccess": true
    }
}

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: doesnt matter here

Operating system: Android

Browser log

Insert your browser log here, this could for example include:

I think they are not neccesary too

Edit Groups after Posting

Steps to reproduce

  1. Create an announcement
  2. Add groups
  3. Post

Expected behaviour

Be able to remove or add additional / specific groups to already posted announcement

Actual behaviour

Groups specified for an announcement cannot be removed, or new groups added. Announcement body has to be copied, announcement deleted, and announcement re-created with body pasted from original annoucement. Then only can new groups be added or other groups just left out.

failed integrity check

Steps to reproduce

  1. download the announcementcenter via download link
  2. unpack the archive
  3. activate announcementcenter in apps

Expected behaviour

Announcement is running

Actual behaviour

Announement center runs as expected. But the securitywarnings shows an error. List of files with errors show:
`Technical information

The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results

  • announcementcenter
    • INVALID_HASH
      • appinfo/info.xml

Raw output

Array
(
[announcementcenter] => Array
(
[INVALID_HASH] => Array
(
[appinfo/info.xml] => Array
(
[expected] => 7e269a94719cbf542d47bbf4226c3737ce8e994dc5036e23db639db50e3c5c137ef4671422cb9decafc9871284b3477f1dfac9379b3bb90c5844bc79a4184a86
[current] => 608d1b2ea9fb96be7cda6e36ca38c3ae9a01568f917e9c37417081b910ab1768b9e69ebb3b8507f4b222378e1235ce98c1de305cba981a87aa73082250614200
)

            )

    )

)`

Server configuration

Operating system: Ubuntu 14.04

Web server: Apache

Database: Mysql

PHP version: 5.5

Nextcloud version: 10

Where did you install Nextcloud from: donwload link on nextcloud.com

Signing status:

`Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- announcementcenter
	- INVALID_HASH
		- appinfo/info.xml

Raw output
==========
Array
(
    [announcementcenter] => Array
        (
            [INVALID_HASH] => Array
                (
                    [appinfo/info.xml] => Array
                        (
                            [expected] => 7e269a94719cbf542d47bbf4226c3737ce8e994dc5036e23db639db50e3c5c137ef4671422cb9decafc9871284b3477f1dfac9379b3bb90c5844bc79a4184a86
                            [current] => 608d1b2ea9fb96be7cda6e36ca38c3ae9a01568f917e9c37417081b910ab1768b9e69ebb3b8507f4b222378e1235ce98c1de305cba981a87aa73082250614200
                        )

                )

        )

)``

**List of activated apps:**

`- admin_audit: 1.0.0
  - announcementcenter: 2.0.0
  - apporder: 0.3.2
  - audioplayer: 1.3.1
  - bookmarks: 0.9.0
  - comments: 1.0.0
  - dav: 1.0.1
  - federatedfilesharing: 1.0.1
  - federation: 1.0.1
  - files: 1.5.2
  - files_accesscontrol: 1.1.2
  - files_automatedtagging: 1.1.1
  - files_clipboard: 0.5.0
  - files_external: 1.0.2
  - files_pdfviewer: 0.8.1
  - files_reader: 0.7.2
  - files_retention: 1.0.0
  - files_sharing: 1.0.0
  - files_texteditor: 2.1
  - files_trashbin: 1.0.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - folderplayer: 0.0.7
  - gallery: 15.0.0
  - html5_videoplayer: 1.0
  - imprint: 0.2.5
  - notifications: 0.3.0
  - ojsxc: 3.0.1
  - password_policy: 1.0.0
  - provisioning_api: 1.0.0
  - quicknotes: 0.1.0
  - rainloop: 4.27
  - richdocuments: 1.1.13
  - serverinfo: 1.1.1
  - sharerenamer: 1.1
  - survey_client: 0.1.5
  - systemtags: 1.0.2
  - templateeditor: 0.1
  - theming: 1.0.1
  - updatenotification: 1.0.1
  - workflowengine: 1.0.1
``
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

The content of config/config.php:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or 

Insert your config.php content here
(Without the database password, passwordsalt and secret)
`$CONFIG = array (
  'instanceid' => 'ocex05uqfz8v',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => 'dienste.srvdg.de',
  ),
  'datadirectory' => '/var/daten/owncloud',
  'overwritewebroot' => '/wolke',
  'overwrite.cli.url' => 'https://dienste.srvdg.de/wolke',
  'dbtype' => 'mysql',
  'version' => '9.1.1.5',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_daniel',
  'dbpassword' => '',
  'logtimezone' => 'UTC',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => 'srvdg.local',
  'mail_smtpauthtype' => 'PLAIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'localhost',
  'mail_smtpport' => '25',
  'mail_smtpname' => 'daniel',
  'mail_smtppassword' => ',
  'appstore.experimental.enabled' => true,
  'maintenance' => false,
  'loglevel' => 2,
  'log_rotate_size' => 104857600,
  'theme' => '',
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'preview_office_cl_parameters' => ' --headless --nologo --nofirststartwizard --invisible --norestore -convert-to pdf -outdir ',
  'htaccess.RewriteBase' => '/wolke/',
  'updater.release.channel' => 'stable',
  'enable_previews' => true,
``

**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...

### Client configuration
**Browser:**Firefox 50

**Operating system:** Windows 7 Prof

### Logs

#### Nextcloud log (data/owncloud.log)

Nothing in Log


#### Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Add a customization feature

It would be cool to be able to customize the UI a bit. Little things like being able to change the header color can really improve a project.

Feature Request: Integrate with Circles App

Is there any chance to make announcements available for circles?
It would be a valuable feature to allow circle admins to announce messages to the circle-members and to allow them to comment.

Image "announcementcenter-dark.svg" is ALWAYS delivered via an absolute URL over HTTP

The activity icon is delivered via an absolute URL over HTTP although the nextCloud instance is running over HTTPS. This leads to a Content Security Policy violation:

Refused to load the image 'http://domain.com/apps/announcementcenter/img/announcementcenter-dark.svg' because it violates the following Content Security Policy directive: "img-src 'self' data: blob:".

The HTTP header "X-Forwarded-Proto" is set to "https" and "overwriteprotocol" is set to "https" in config.php as well.

Is it really necessary to use an absolute URL here? Simply using a relative URL would fix this issue. The absolute URL is only needed in an e-mail notification.

Requirements

The nextCloud instance must be running over HTTPS.

Steps to reproduce

  1. Publish a new announcement
  2. Login with another user so the new announcement will appear in the activity popover in the header

Expected behaviour

The image "announcementcenter-dark.svg" should get displayed in the announcement item in the header popover.

Actual behaviour

  • Instead of the image "announcementcenter-dark.svg" only a image placeholder is displayed in the announcement item in the header popover.
  • There is an error message in the JavaScript console because of a Content Security Policy violation.

Server configuration

Operating system: Ubuntu 16.04.3 LTS

Web server: Apache 2.4.18

Database: MySQL 5.7.20

PHP version: 7.0.22

Nextcloud version: 12.0.3

Client configuration

Browser: Chrome 62.0.3202.75

Browser log

Refused to load the image 'http://domain.com/apps/announcementcenter/img/announcementcenter-dark.svg' because it violates the following Content Security Policy directive: "img-src 'self' data: blob:".

Basic text formatting

Maybe even Markdown support?
Minimum:

  • Bold,
  • Underline,
  • Text indent
  • Links (like href in html)

Didn't fire a notification

Steps to reproduce

  1. create a annoucement
  2. as a non admin user, go to my cloud

Expected behaviour

I think it should create a notification for the end user.

Actual behaviour

No notifications were fired.

Server configuration

Operating system: coreos / docker / debian

Web server: nginx

Database: mysql

PHP version: 5.6.25

Nextcloud version: 10

Where did you install Nextcloud from: docker official image

Signing status: good

List of activated apps:

Enabled:
  - activity: 2.3.2
  - announcementcenter: 2.0.0
  - bookmarks: 0.9.0
  - calendar: 1.3.3
  - comments: 1.0.0
  - contacts: 1.4.0.0
  - dav: 1.0.0
  - documents: true
  - federatedfilesharing: 1.0.1
  - federation: 1.0.1
  - files: 1.5.2
  - files_locking: true
  - files_pdfviewer: 0.8.1
  - files_sharing: 1.0.0
  - files_texteditor: 2.1
  - files_trashbin: 1.0.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - files_videoviewer: 0.1.3
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - mail: 0.5.3
  - notes: 2.0.2
  - notifications: 0.3.0
  - password_policy: 1.0.0
  - piwik: 0.1.0
  - provisioning_api: 1.0.0
  - registration: true
  - serverinfo: 1.1.1
  - survey_client: 0.1.5
  - systemtags: 1.0.2
  - tasks: 0.9.3
  - templateeditor: 0.1
  - theming: 1.0.1
  - user_sql: 2.2
  - workflowengine: 1.0.1

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

SQL

Client configuration

Browser: firefox dev edition

Operating system: ubuntu

Logs

nothing interesting there...

Add admin panel

  • Posting group
  • Default options for activity and notifications
  • Enable/disable comments (after #3 , #12 )
  • Enable/disable tags (after #2 )

Allow to mute unread notifications

When a maintenance is over, it would be cool, if notifications of that announcement could be "marked as processed", since the need for alert is over.

notification not work

hey when i do test and post it he not notification and i have the app notification up

Announcementcenter not visiable in Beta 12?

Steps to reproduce

  1. Install NC 12 beta
  2. Activate announcementcenter

Expected behaviour

Admin should be able to make announcements

Actual behaviour

No link to the app seems to be available

Server configuration

Ubuntu 16.04

Operating system:
Ubuntu 16.04

Web server:
Apache

Database:

PHP version:
7.0

Nextcloud version: (see Nextcloud admin page)
12 beta 3

[NC13] Announcements are misaligned - since NC13 horizontally instead of vertically

Steps to reproduce

  1. Update Nextcloud to v13.0 stable
  2. use Announcement Center app to post an announcement
  3. see the announcement appear next to the input field but not down below as expected

Expected behaviour

Announcements are provided in vertical alignment, like known from Nextcloud 12.0.4.

Actual behaviour

Announcements are aligned horizontally in very narrow columns and are therefor difficult to read.

Server configuration detail

Operating system: Linux 4.14.17-1-lts #1 SMP Sat Feb 3 21:30:38 CET 2018 x86_64

Webserver: nginx/1.12.2 (fpm-fcgi)

Database: mysql 10.1.30

PHP version: 7.2.2
Modules loaded: Core, date, libxml, openssl, pcre, zlib, ctype, dom, fileinfo, filter, hash, json, mbstring, pcntl, SPL, PDO, bz2, posix, readline, Reflection, session, SimpleXML, standard, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, Phar, curl, exif, ftp, gd, gmp, intl, iconv, pdo_mysql, zip, apcu, memcache, Zend OPcache

Nextcloud version: 13.0.0 - 13.0.0.14

Updated from an older Nextcloud/ownCloud or fresh install: Updated from 12.0.5

Where did you install Nextcloud from: Web Updater

Signing status

No errors have been found.

List of activated apps
Enabled:
 - activity: 2.6.1
 - admin_audit: 1.3.0
 - admin_notifications: 1.0.1
 - announcementcenter: 3.1.1
 - apporder: 0.4.1
 - audioplayer: 2.2.5
 - bookmarks: 0.10.1
 - bruteforcesettings: 1.0.3
 - calendar: 1.6.0
 - circles: 0.13.6
 - cms_pico: 0.9.7
 - comments: 1.3.0
 - contacts: 2.0.1
 - dav: 1.4.6
 - deck: 0.3.0
 - external: 3.0.2
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_accesscontrol: 1.3.0
 - files_automatedtagging: 1.3.0
 - files_downloadactivity: 1.2.0
 - files_external: 1.4.1
 - files_markdown: 2.0.1
 - files_pdfviewer: 1.2.0
 - files_reader: 1.2.2
 - files_retention: 1.2.0
 - files_sharing: 1.5.0
 - files_texteditor: 2.5.1
 - files_trashbin: 1.3.0
 - files_versions: 1.6.0
 - files_videoplayer: 1.2.0
 - firstrunwizard: 2.2.1
 - gallery: 18.0.0
 - groupfolders: 1.2.0
 - issuetemplate: 0.3.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - mail: 0.7.9
 - metadata: 0.6.0
 - nextcloud_announcements: 1.2.0
 - notes: 2.3.2
 - notifications: 2.1.2
 - oauth2: 1.1.0
 - ojsxc: 3.3.2
 - onlyoffice: 1.2.0
 - password_policy: 1.3.0
 - polls: 0.8.1
 - provisioning_api: 1.3.0
 - quota_warning: 1.2.0
 - ransomware_protection: 1.1.0
 - serverinfo: 1.3.0
 - sharebymail: 1.3.0
 - socialsharing_email: 1.0.3
 - spreed: 3.0.1
 - systemtags: 1.3.0
 - telephoneprovider: 1.0.1
 - theming: 1.4.1
 - twofactor_backupcodes: 1.2.3
 - twofactor_totp: 1.4.1
 - updatenotification: 1.3.0
 - user_usage_report: 1.0.1
 - workflowengine: 1.3.0
Disabled:
 - checksum
 - drawio
 - encryption
 - impersonate
 - passman
 - sharerenamer
 - survey_client
 - tasks
 - user_external
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "my.domain.tld",
        "192.xxx.xx.xx",
        "localhost"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "version": "13.0.0.14",
    "logtimezone": "Europe\/Berlin",
    "appstore.experimental.enabled": true,
    "appstoreenabled": true,
    "appstoreurl": "https:\/\/api.nextcloud.com\/v1",
    "mail_smtpmode": "smtp",
    "mail_smtpauth": 1,
    "mail_smtpport": "587",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpsecure": "tls",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\XBitmap",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\TIFF"
    ],
    "filelocking.enabled": true,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0,
        "dbindex": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "maintenance": false,
    "updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/",
    "updater.release.channel": "stable",
    "loglevel": 2,
    "theme": "",
    "installed": true,
    "overwrite.cli.url": "https:\/\/my.domain.tld",
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

Are you using encryption: no

Are you using an external user-backend, if yes which one: None

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0

Operating system: Windows 10

Logs

Neither nextcloud.log nor browser console contains any relevant entries.

Push Notification

ubuntu 16.04
**Web server:**
apache 2.*
**Database:**
mysql mariadb
**PHP version:**
7.0
**Nextcloud version:**
12.0
**Where did you install Nextcloud from:**
downloaded from nextcloud.com

**List of activated apps:**
notification app, activity app, announcment center app

**Nextcloud configuration:**
out of the box

This is not an issue, I just need help on somethings related to announcment center app.

I was trying to integrate a real time push notification into the code either using a node server or a third party server like pusher and had to go through the code. I'm pretty new to nextcloud so bare with me if I miss understood something. This is about the connection built in the announcement center under the BackgroundJob.php file which is Queued and the Notifier.php that maps your anncounement to the notification app. So, the application(announcment center) needs to wait for the cron job to run(by the server mostly) in order to send the announcment we created to the notification app (i.e pretty much save it in the database under the oc_notificaiton table) and notification app is set to run an api call every 30 sec ;which can be reduced by changing 'pollInterval' in the code; to get it's notificaitons (i.e whatever under oc_notificaiton table) and display them under the bell icon for the users to see.

Questions:
Is the queue the problem here? as queued jobs will have to wait for the cron job to run. So Can we by pass the queue and make the connection to notificaiton app happen directly after sending the announcment?

no notification - perhaps user_saml ?

Hi,
It's difficult to describe my problem.

I install new nextcloud 11.02. I create 3 users in standard mode (in user management panel > technical : users created in table ocs_users in database). With this 3 users, no problem with annoucementcenter and notification (write an annoucement for everyone or for group > notification ok).
Next, i plug the module auth sso/saml (user_saml). All users connected with this mode (ln my case, 20 users auto-create with their first connection > technical : users created in table ocs_users_saml) don't receive notification (tehnical : BackgroundJob (action notify) don't create a sql-insert for this users in table ocs_notification)

I need help. I am available to try to make tests to better define the problem and find a specific case of reproduction.

Steps to reproduce

  1. install nextcloud / create users in standard mode (users management panel) / activate notification module and annoucementcenter module
  2. plug user_saml module (https://docs.nextcloud.com/server/11/admin_manual/configuration_server/sso_configuration.html) and connect (auto-create) other users with this module.
  3. create an annoucement for everyone (or groupe) with notification option activated

Expected behaviour

notification for all users

Actual behaviour

notification only for users created in standard mode

Server configuration

debian 8

Web server:
apache

Database:
mysql

PHP version:
PHP 5

Nextcloud version: (see Nextcloud admin page)
11.02

announcement visibility mechanism

Nextcloud 11.0.2 mode production / announcementcenter 3.0.0 (and module user_ldap for optional info)

Users/Groups :
user1 in ADMIN group
user2 in TEST group


1/ In admin panel, only ADMIN group have right to create announcement
2a/ user1 create announcement1 - visibility ADMIN group
2b/ user1 create announcement2 - visibility TEST group

Result in Announcement interface:

  • user1 see announcement1 and annoucement2 + the form for create announcement
  • user2 see announcement2 only

This seems OK !?


3/ In admin panel, now we add TEST group have right to create announcement

Result in Annoucement interface:

  • user1 see announcement1 and annoucement2 + the form for create announcement
  • user2 see announcement1 and annoucement2 + the form for create announcement

This seems incorrect !? user2 should see annoucement2 + the form for create announcement ; but should not see annoucement1 ?

NC 14 Announces don't appear in Activity and Notifications

Hi.

When posting in "Announcement Center", announces don't appear in "Activity" and don't trigger "Notifications".

Checkboxes in "Advanced options" are both checked.
Announce is really published.
No errors in NC logs.

When enabled, "Comments" do work as usual.

Announcement Center used to work perfectly under NC 13.0.6, this problem only appears since upgrade to 14.0.1.

Server configuration

Nextcloud version: 14.0.1

Upgraded from: 13.0.6

allow announcements to be emailed to users

It would be awesome if an announcement could be emailed to any users who have entered their email address into their profile. Perhaps it could be under Advanced options? A check box would do it.

Reason: This suits multi-user environments, esp where some non-technical members only have the client running and rarely if ever visit the web interface.

Example use cases:

  1. Quota changes
  2. Hey Grandma, I moved your Soundgarden collection to /ancient/
  3. Hey everyone, please check our the revised Where do I store..? guide.

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.