Skip to content

Add icon to notifications - #104

Merged
PVince81 merged 5 commits into
masterfrom
add-icon-to-notifications
Aug 14, 2017
Merged

PVince81 merged 5 commits into
masterfrom
add-icon-to-notifications

Conversation

@DeepDiver1975

@DeepDiver1975 DeepDiver1975 commented Aug 2, 2017 •

Copy link
Copy Markdown
Contributor

bildschirmfoto von 2017-08-02 17-34-01

fixes #102 & refs #101

NOTE: css magican welcome

@PVince81

PVince81 commented Aug 3, 2017

Copy link
Copy Markdown
Contributor

@felixheidecke CSS magician ? ^

}

// not that valid ....
$schemaReader = new MDB2SchemaReader(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()->getDatabasePlatform());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's cheating 😱

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this needed just for the icon ? separate PR for proper migration and kill XML file ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the icon needs to be stored in the database

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

that's cheating 😱

I know - lazy me ....

@PVince81

PVince81 commented Aug 4, 2017

Copy link
Copy Markdown
Contributor

schedule more time to do this right ?

We should specify the complete notifications table using migrations, and then extend it with the migration you just added.

@DeepDiver1975
DeepDiver1975 force-pushed the add-icon-to-notifications branch 2 times, most recently from e6ecb7c to 6d44442 Compare August 7, 2017 10:54
Comment thread lib/Notifier.php Outdated
* @param string $languageCode The code of the language that should be used to prepare the notification
* @return INotification
* @throws \InvalidArgumentException When the notification was not prepared by a notifier
* @since 9.0.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, 9.0.0 ? Notifier ?

@PVince81

Copy link
Copy Markdown
Contributor

@VicDeo you'll need to wait for this one before bigintifying the notifications table

@VicDeo

VicDeo commented Aug 10, 2017

Copy link
Copy Markdown
Contributor

@PVince81 it's not in phase 1: the field that might contain fileid in this app is of type varchar(64)

@DeepDiver1975
DeepDiver1975 force-pushed the add-icon-to-notifications branch from 124c75b to d428f59 Compare August 11, 2017 17:01

@PVince81 PVince81 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine 👍

@DeepDiver1975 should min-version be 10.0.3 ? didn't we add new icon methods on the interface there ?

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

@DeepDiver1975 should min-version be 10.0.3 ? didn't we add new icon methods on the interface there ?

I did some defensive coding - it will work with 10.0.2 as well

@PVince81
PVince81 merged commit a9bf0e6 into master Aug 14, 2017
@PVince81

Copy link
Copy Markdown
Contributor

defensive coding

kudos for that

@PVince81
PVince81 deleted the add-icon-to-notifications branch August 14, 2017 08:29
@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

I will backport this - stable10 is still in the release tar ball ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add icon to desktop notification as well as to the in browser notification

4 participants