diff --git a/TODO.txt b/TODO.txt deleted file mode 100644 index 2f25001..0000000 --- a/TODO.txt +++ /dev/null @@ -1,61 +0,0 @@ -WARNING!!!! - Make sure no IDs are used across the addon, only classes - -Features: - Reminder pins - Reminder pins on webpages so you can easily go back to them (fast scrolling) - Pins should be relative to scrollTop - Integrate the interface into SessionSync - -General UI/UX features: - - filter sessions - - tag selection - - search for a global link - - prevent duplicates in the same session - - improve customizability - - add support for stylesheets - - support multiple item selection - - view multiple session at the same time - - use tag selection - - use control ?! - - delete multiple - - support tab groups - - help button - - implement an auto-savign mechanism - - highlight current tab in the URL list - - if the current tab is already saved in the active list, show it - - global search of the link ? - - show information the current tab - - -Session: - Properties: - - create date - - update date - - tags - - links - - description - - Actions: - - edit properties - - open in new window - - restore session - - replace session - - merge sessions - - add current tab - - delete certain link - - -Session links: - Properties: - - create date - - update date - - tags - - Actions: - - edit properties - - open in current tab - - open in new tab - - open in new window - - delete - - copy/paste/cut \ No newline at end of file diff --git a/manifest.json b/manifest.json index bd78c59..451aabc 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,11 @@ { "name": "Session Sync", - "version": "3.0.0", + "version": "3.0.1", "author": "Gabriel Ivanica", "description": "Save sessions as bookmarks and sync them through Firefox Sync (or any other sync engine).\nPowerful session management - organize, edit, change, save, restore, etc\n", "homepage_url": "https://github.com/ReDEnergy/SessionSync", "manifest_version": 2, + "default_locale": "en", "applications": { "gecko": { "id": "session-sync@gabrielivanica.com" @@ -21,6 +22,7 @@ "background": { "scripts": [ "scripts/main.js", + "scripts/session-management.js", "scripts/session-history.js" ] }, diff --git a/pack_addon.bat b/pack_addon.bat index bd2f706..44ff8d2 100644 --- a/pack_addon.bat +++ b/pack_addon.bat @@ -11,5 +11,6 @@ DEL %ARCHIVE% %ZIP% a -tzip -bt -mx1 %ARCHIVE% ^ .\data ^ .\scripts ^ + .\_locales ^ .\manifest.json ^ .\README.md diff --git a/package.json b/package.json index 8ca0369..e9180ec 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "session-sync", "author": "Gabriel Ivanica", "url": "https://github.com/ReDEnergy/SessionSync", - "version": "3.0.0", + "version": "3.0.1", "description": "Save sessions as bookmarks and sync them through any sync engine.\nManage sessions, edit, save, restore.\nSession-Sync will automatically update sessions across multiple machines", "license": "MPL-2.0", "devDependencies": { diff --git a/scripts/main.js b/scripts/main.js index feed3af..c32406d 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -6,14 +6,14 @@ var Commands = { }; browser.runtime.onInstalled.addListener(function (startInfo) { - if (startInfo.reason === 'update' || startInfo.reason === 'installed') { + if (startInfo.reason === 'installed') { browser.tabs.create({ url: 'data/home/home.html' }); } }); -browser.runtime.onMessage.addListener(function (message) { +browser.runtime.onMessage.addListener(function (message, sender, sendResponse) { if (message.event == Commands.detachUI) { SessionSync.openDetached(); }