Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
v1.1.1.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Wassup789 committed Apr 15, 2016
1 parent b1ca476 commit cf4a12f
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Changelog
=====
## v1.1.0.6 (XX-XX-2015)
## v1.1.1.0 (04-15-2015)
* Reverted to old video uploads method due to quota exhaustion
* Added four additional API keys
* Implemented search functionality
* Added subscription importing

## v1.1.0.5 (02-02-2015)
* Changed channel updater to use the search API instead of the channel's playlist API (This allows more up-to-date updating)
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ This code is licensed under the MIT License.
### Permissions
- notifications
- unlimitedStorage
- identity (For subscription importing)
- \*://\*.youtube.com/\*
- \*://\*.ytimg.com/\*

## Downloads

[![ChromeWebStore](https://raw.githubusercontent.com/Wassup789/Youtube-Notifications/master/img/chromewebstore.png)](https://chrome.google.com/webstore/detail/youtube-notifications/cilgbgkmanbbecbjihnbpeaoodmgchom)

**Latest Version:** ***v1.1.0.5***
**Latest Version:** ***v1.1.1.0***

**Release Archive:**

Expand All @@ -32,19 +33,19 @@ This code is licensed under the MIT License.
## Screenshots
**Options - Channel List**

[![Screenshot 1](http://i.imgur.com/DMqcsFg.png)](http://i.imgur.com/DMqcsFg.png)
[![Screenshot 1](http://i.imgur.com/fOSP26C.png)](http://i.imgur.com/fOSP26C.png)

**Options - Settings**

[![Screenshot 2](http://i.imgur.com/CIXlMxn.png)](http://i.imgur.com/CIXlMxn.png)
[![Screenshot 2](http://i.imgur.com/22c7cwQ.png)](http://i.imgur.com/22c7cwQ.png)

**Options - Channel Information**

[![Screenshot 3](http://i.imgur.com/xiHQo9Y.png)](http://i.imgur.com/xiHQo9Y.png)
[![Screenshot 3](http://i.imgur.com/H8KbSTG.png)](http://i.imgur.com/H8KbSTG.png)

**Example Notification**

[![Screenshot 4](http://i.imgur.com/B3sSnsb.png)](http://i.imgur.com/B3sSnsb.png)
[![Screenshot 4](http://i.imgur.com/M85fE82.png)](http://i.imgur.com/M85fE82.png)

## Changelog
[See CHANGELOG.md][CLog.md]
Expand Down
4 changes: 4 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
"description": "The label for the change user subscription button",
"message": "Change User"
},
"settings_vertSettings_viewChangelog": {
"description": "The label for the view changelog button",
"message": "View Changelog"
},
"settings_vertSettings_help": {
"description": "The label for the help button",
"message": "Help"
Expand Down
4 changes: 4 additions & 0 deletions _locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
"description": "The label for the change user subscription button",
"message": "Cambiar usuario"
},
"settings_vertSettings_viewChangelog": {
"description": "The label for the view changelog button",
"message": "Ver lista de cambios"
},
"settings_vertSettings_help": {
"description": "The label for the help button",
"message": "Ayuda"
Expand Down
4 changes: 4 additions & 0 deletions _locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
"description": "The label for the change user subscription button",
"message": "Changer d'utilisateur"
},
"settings_vertSettings_viewChangelog": {
"description": "The label for the view changelog button",
"message": "Voir le Changelog"
},
"settings_vertSettings_help": {
"description": "The label for the help button",
"message": "Aider"
Expand Down
1 change: 1 addition & 0 deletions js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ chrome.runtime.onInstalled.addListener(function(details){
var thisVersion = chrome.runtime.getManifest().version;
if(details.previousVersion != thisVersion){
console.log("Updated from " + details.previousVersion + " to " + thisVersion);
chrome.browserAction.setBadgeText({text: "new"});

var settings = JSON.parse(localStorage.getItem("settings"));
settings.updated.enabled = true;
Expand Down
29 changes: 23 additions & 6 deletions js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ var wyns = {};
},
wyns.previousLastListItem;
$(function(){
chrome.browserAction.setBadgeText({text: ""});

setLocales();

if(!chrome.extension.getBackgroundPage().wyn.isConnected)
Expand Down Expand Up @@ -71,8 +73,11 @@ $(function(){
$("#version").html(wyns.strings.info_version + " " + manifest.version + "<br/>" + wyns.strings.info_by + " <a href=\"" + homeUrl + "\">Wassup789</a>");

var settings = JSON.parse(localStorage.getItem("settings"));
if(settings.updated.enabled)
$("#version-updated").show();
if(settings.updated.enabled){
$("#changelog-dialog .card-header").text("v" + chrome.runtime.getManifest().version);
$("#changelog-container").attr("data-toggle", true);
}
//$("#version-updated").show();

getVideoList();
registerListeners();
Expand Down Expand Up @@ -292,20 +297,32 @@ function registerListeners(){
$(this).attr("data-toggle", "true");
}
});
$("#menu_viewChangelog").on("click", function(){
$("#changelog-dialog .card-header").text("v" + chrome.runtime.getManifest().version);
$("#changelog-container").attr("data-toggle", true);
});
$("#menu_help").on("click", function(){
chrome.extension.getBackgroundPage().wyn.firstLaunch();
});
$("#version-updated").on("click", function(){
$("#changelog-dialog .card-header").text("v" + chrome.runtime.getManifest().version);
$("#changelog-container").attr("data-toggle", true);
var settings = JSON.parse(localStorage.getItem("settings"));
settings.updated.enabled = false;
localStorage.setItem("settings", JSON.stringify(settings));
disableUpdateContainer();
});
$("#changelog-close-button").on("click", function(){
$("#changelog-container").attr("data-toggle", false);
disableUpdateContainer();
});
$("#changelog-container .overlay, #import_channels-container .overlay").on("click", function(){
$("#changelog-container .overlay").on("click", function(){
$(this).parent().attr("data-toggle", false);
disableUpdateContainer();
});
function disableUpdateContainer(){
var settings = JSON.parse(localStorage.getItem("settings"));
settings.updated.enabled = false;
localStorage.setItem("settings", JSON.stringify(settings));
}
$("#import_channels-container .overlay").on("click", function(){
if(!$("#loading").is(":visible"))
$(this).parent().attr("data-toggle", false);
});
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"version": "1.1.0.6",
"version": "1.1.1.0",
"permissions": [
"notifications",
"unlimitedStorage",
Expand All @@ -32,7 +32,7 @@
"128": "img/128.png"
},
"oauth2": {
"client_id": "836337899077-9v0uf16i106obm32lkhc85ubr90h685u.apps.googleusercontent.com",
"client_id": "836337899077-k426d78agmgff3l32a29c4lalg0tb0q1.apps.googleusercontent.com",
"scopes": [
"https://www.googleapis.com/auth/youtube.readonly"
]
Expand Down
1 change: 1 addition & 0 deletions settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</button>
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="demo-menu-lower-right">
<li id="menu_changeAlignment" class="mdl-menu__item" data-toggle="false"></li>
<li id="menu_viewChangelog" class="mdl-menu__item" data-toggle="false" i18n="settings_vertSettings_viewChangelog"></li>
<li id="menu_help" class="mdl-menu__item" data-toggle="false" i18n="settings_vertSettings_help"></li>
</ul>
</div>
Expand Down

0 comments on commit cf4a12f

Please sign in to comment.