Skip to content

Commit

Permalink
Update the since version to 11.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Nov 16, 2016
1 parent 6047493 commit 6b88d56
Show file tree
Hide file tree
Showing 18 changed files with 136 additions and 136 deletions.
12 changes: 6 additions & 6 deletions apps/files/lib/Activity/Filter/Favorites.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,31 +64,31 @@ public function __construct(IL10N $l, IURLGenerator $url, IManager $activityMana

/**
* @return string Lowercase a-z only identifier
* @since 9.2.0
* @since 11.0.0
*/
public function getIdentifier() {
return 'files_favorites';
}

/**
* @return string A translated string
* @since 9.2.0
* @since 11.0.0
*/
public function getName() {
return $this->l->t('Favorites');
}

/**
* @return int
* @since 9.2.0
* @since 11.0.0
*/
public function getPriority() {
return 10;
}

/**
* @return string Full URL to an icon, empty string when none is given
* @since 9.2.0
* @since 11.0.0
*/
public function getIcon() {
return $this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/star-dark.svg'));
Expand All @@ -97,7 +97,7 @@ public function getIcon() {
/**
* @param string[] $types
* @return string[] An array of allowed apps from which activities should be displayed
* @since 9.2.0
* @since 11.0.0
*/
public function filterTypes(array $types) {
return array_intersect([
Expand All @@ -110,7 +110,7 @@ public function filterTypes(array $types) {

/**
* @return string[] An array of allowed apps from which activities should be displayed
* @since 9.2.0
* @since 11.0.0
*/
public function allowedApps() {
return ['files'];
Expand Down
12 changes: 6 additions & 6 deletions apps/files/lib/Activity/Filter/FileChanges.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,31 @@ public function __construct(IL10N $l, IURLGenerator $url) {

/**
* @return string Lowercase a-z only identifier
* @since 9.2.0
* @since 11.0.0
*/
public function getIdentifier() {
return 'files';
}

/**
* @return string A translated string
* @since 9.2.0
* @since 11.0.0
*/
public function getName() {
return $this->l->t('File changes');
}

/**
* @return int
* @since 9.2.0
* @since 11.0.0
*/
public function getPriority() {
return 30;
}

/**
* @return string Full URL to an icon, empty string when none is given
* @since 9.2.0
* @since 11.0.0
*/
public function getIcon() {
return $this->url->getAbsoluteURL($this->url->imagePath('core', 'places/files-dark.svg'));
Expand All @@ -74,7 +74,7 @@ public function getIcon() {
/**
* @param string[] $types
* @return string[] An array of allowed apps from which activities should be displayed
* @since 9.2.0
* @since 11.0.0
*/
public function filterTypes(array $types) {
return array_intersect([
Expand All @@ -87,7 +87,7 @@ public function filterTypes(array $types) {

/**
* @return string[] An array of allowed apps from which activities should be displayed
* @since 9.2.0
* @since 11.0.0
*/
public function allowedApps() {
return ['files'];
Expand Down
6 changes: 3 additions & 3 deletions apps/files/lib/Activity/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(IL10N $l, IURLGenerator $url, IManager $activityMana
* @param IEvent|null $previousEvent
* @return IEvent
* @throws \InvalidArgumentException
* @since 9.2.0
* @since 11.0.0
*/
public function parse(IEvent $event, IEvent $previousEvent = null) {
if ($event->getApp() !== 'files') {
Expand All @@ -82,7 +82,7 @@ public function parse(IEvent $event, IEvent $previousEvent = null) {
* @param IEvent $event
* @return IEvent
* @throws \InvalidArgumentException
* @since 9.2.0
* @since 11.0.0
*/
public function parseShortVersion(IEvent $event) {
$parsedParameters = $this->getParsedParameters($event->getSubject(), $event->getSubjectParameters());
Expand Down Expand Up @@ -122,7 +122,7 @@ public function parseShortVersion(IEvent $event) {
* @param IEvent $event
* @return IEvent
* @throws \InvalidArgumentException
* @since 9.2.0
* @since 11.0.0
*/
public function parseLongVersion(IEvent $event) {
$parsedParameters = $this->getParsedParameters($event->getSubject(), $event->getSubjectParameters());
Expand Down
14 changes: 7 additions & 7 deletions apps/files/lib/Activity/Settings/FileChanged.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ public function __construct(IL10N $l) {

/**
* @return string Lowercase a-z and underscore only identifier
* @since 9.2.0
* @since 11.0.0
*/
public function getIdentifier() {
return 'file_changed';
}

/**
* @return string A translated string
* @since 9.2.0
* @since 11.0.0
*/
public function getName() {
return $this->l->t('A file or folder has been <strong>changed</strong> or <strong>renamed</strong>');
Expand All @@ -57,39 +57,39 @@ public function getName() {
* @return int whether the filter should be rather on the top or bottom of
* the admin section. The filters are arranged in ascending order of the
* priority values. It is required to return a value between 0 and 100.
* @since 9.2.0
* @since 11.0.0
*/
public function getPriority() {
return 1;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function canChangeStream() {
return true;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function isDefaultEnabledStream() {
return true;
}

/**
* @return bool True when the option can be changed for the mail
* @since 9.2.0
* @since 11.0.0
*/
public function canChangeMail() {
return true;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function isDefaultEnabledMail() {
return false;
Expand Down
14 changes: 7 additions & 7 deletions apps/files/lib/Activity/Settings/FileCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ public function __construct(IL10N $l) {

/**
* @return string Lowercase a-z and underscore only identifier
* @since 9.2.0
* @since 11.0.0
*/
public function getIdentifier() {
return 'file_created';
}

/**
* @return string A translated string
* @since 9.2.0
* @since 11.0.0
*/
public function getName() {
return $this->l->t('A new file or folder has been <strong>created</strong>');
Expand All @@ -57,39 +57,39 @@ public function getName() {
* @return int whether the filter should be rather on the top or bottom of
* the admin section. The filters are arranged in ascending order of the
* priority values. It is required to return a value between 0 and 100.
* @since 9.2.0
* @since 11.0.0
*/
public function getPriority() {
return 0;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function canChangeStream() {
return true;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function isDefaultEnabledStream() {
return true;
}

/**
* @return bool True when the option can be changed for the mail
* @since 9.2.0
* @since 11.0.0
*/
public function canChangeMail() {
return true;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function isDefaultEnabledMail() {
return false;
Expand Down
14 changes: 7 additions & 7 deletions apps/files/lib/Activity/Settings/FileDeleted.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ public function __construct(IL10N $l) {

/**
* @return string Lowercase a-z and underscore only identifier
* @since 9.2.0
* @since 11.0.0
*/
public function getIdentifier() {
return 'file_deleted';
}

/**
* @return string A translated string
* @since 9.2.0
* @since 11.0.0
*/
public function getName() {
return $this->l->t('A new file or folder has been <strong>deleted</strong>');
Expand All @@ -57,39 +57,39 @@ public function getName() {
* @return int whether the filter should be rather on the top or bottom of
* the admin section. The filters are arranged in ascending order of the
* priority values. It is required to return a value between 0 and 100.
* @since 9.2.0
* @since 11.0.0
*/
public function getPriority() {
return 3;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function canChangeStream() {
return true;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function isDefaultEnabledStream() {
return true;
}

/**
* @return bool True when the option can be changed for the mail
* @since 9.2.0
* @since 11.0.0
*/
public function canChangeMail() {
return true;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function isDefaultEnabledMail() {
return false;
Expand Down
14 changes: 7 additions & 7 deletions apps/files/lib/Activity/Settings/FileFavorite.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ public function __construct(IL10N $l) {

/**
* @return string Lowercase a-z and underscore only identifier
* @since 9.2.0
* @since 11.0.0
*/
public function getIdentifier() {
return 'file_favorite';
}

/**
* @return string A translated string
* @since 9.2.0
* @since 11.0.0
*/
public function getName() {
return $this->l->t('Limit notifications about creation and changes to your <strong>favorite files</strong> <em>(Stream only)</em>');
Expand All @@ -57,39 +57,39 @@ public function getName() {
* @return int whether the filter should be rather on the top or bottom of
* the admin section. The filters are arranged in ascending order of the
* priority values. It is required to return a value between 0 and 100.
* @since 9.2.0
* @since 11.0.0
*/
public function getPriority() {
return 2;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function canChangeStream() {
return true;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function isDefaultEnabledStream() {
return false;
}

/**
* @return bool True when the option can be changed for the mail
* @since 9.2.0
* @since 11.0.0
*/
public function canChangeMail() {
return false;
}

/**
* @return bool True when the option can be changed for the stream
* @since 9.2.0
* @since 11.0.0
*/
public function isDefaultEnabledMail() {
return false;
Expand Down
Loading

0 comments on commit 6b88d56

Please sign in to comment.