From 5bdbed2105260d8c656b8977fb56373aadede7c6 Mon Sep 17 00:00:00 2001 From: Rael Date: Fri, 20 Nov 2015 08:13:40 -0200 Subject: Just keeping the formatting --- scudcloud-1.1/scudcloud-src.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/scudcloud-1.1/scudcloud-src.js b/scudcloud-1.1/scudcloud-src.js index 3bb9beb..a896cca 100644 --- a/scudcloud-1.1/scudcloud-src.js +++ b/scudcloud-1.1/scudcloud-src.js @@ -1,8 +1,7 @@ - ScudCloud = { unloaded: true, // App functions - hasPreference: function(name){ + hasPreference: function(name){ return false; }, getPreference: function(name){ @@ -72,16 +71,16 @@ ScudCloud = { createSnippet: function(){ return TS.ui.snippet_dialog.start(); }, - listChannels: function(){ + listChannels: function(){ return TS.channels.getUnarchivedChannelsForUser(); }, - listTeams: function(){ + listTeams: function(){ var list = TS.getAllTeams(); // Fix for current team displaying no icon list[0].team_icon = {"image_44":TS.model.team.icon.image_44}; return list; }, - quicklist: function(){ + quicklist: function(){ desktop.quicklist(ScudCloud.listChannels()); }, join: function(c){ @@ -90,10 +89,10 @@ ScudCloud = { setClipboard: function(data){ TS.client.ui.file_pasted_sig.dispatch(data, TS.model.shift_key_pressed); }, - preferences: function(){ + preferences: function(){ return TS.ui.prefs_dialog.start(); }, - addTeam: function(){ + addTeam: function(){ document.location = TS.boot_data.signin_url; }, getCurrentTeam: function(){ @@ -105,10 +104,10 @@ ScudCloud = { } return ""; }, - logout: function(){ + logout: function(){ document.location = TS.boot_data.logout_url; }, - help: function(){ + help: function(){ return TS.help_dialog.start(); } }; -- cgit v1.1 From fe852bc30f83c8d2a72089498e1f00e46a6a12e5 Mon Sep 17 00:00:00 2001 From: Bradley Cicenas Date: Sat, 21 Nov 2015 10:44:47 -0500 Subject: Fix QuotaExceededError --- scudcloud-1.1/lib/scudcloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scudcloud-1.1/lib/scudcloud.py b/scudcloud-1.1/lib/scudcloud.py index d53e04f..5cf239a 100755 --- a/scudcloud-1.1/lib/scudcloud.py +++ b/scudcloud-1.1/lib/scudcloud.py @@ -79,7 +79,7 @@ class ScudCloud(QtGui.QMainWindow): # We don't want Java QWebSettings.globalSettings().setAttribute(QWebSettings.JavaEnabled, False) # We don't need History - QWebSettings.globalSettings().setAttribute(QWebSettings.PrivateBrowsingEnabled, True) + QWebSettings.globalSettings().setAttribute(QWebSettings.PrivateBrowsingEnabled, False) # Enabling Local Storage (now required by Slack) QWebSettings.globalSettings().setAttribute(QWebSettings.LocalStorageEnabled, True) # Enabling Cache -- cgit v1.1 From 6a782b90ce41182de94ccce0849d36afd01cfeed Mon Sep 17 00:00:00 2001 From: Rael Gugelmin Cunha Date: Sat, 21 Nov 2015 14:09:29 -0200 Subject: New package release --- README.md | 6 +++--- scudcloud-1.1/VERSION | 2 +- scudcloud-1.1/debian/changelog | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 546a8a0..d228f1f 100644 --- a/README.md +++ b/README.md @@ -95,9 +95,9 @@ First, you'll need to install at least packages for `python3`, `python-qt4` (`qt Then run the below script: it'll download the code and install it: ```bash -wget https://github.com/raelgc/scudcloud/archive/v1.1.0.tar.gz -tar -xvf v1.1.0.tar.gz -cd scudcloud-1.1.0 +wget https://github.com/raelgc/scudcloud/archive/v1.1.1.tar.gz +tar -xvf v1.1.1.tar.gz +cd scudcloud-1.1.1 SOURCE="scudcloud-1.1" INSTALL="/opt/scudcloud" sudo mkdir -p $INSTALL/lib diff --git a/scudcloud-1.1/VERSION b/scudcloud-1.1/VERSION index 9084fa2..524cb55 100644 --- a/scudcloud-1.1/VERSION +++ b/scudcloud-1.1/VERSION @@ -1 +1 @@ -1.1.0 +1.1.1 diff --git a/scudcloud-1.1/debian/changelog b/scudcloud-1.1/debian/changelog index 665d061..b453790 100644 --- a/scudcloud-1.1/debian/changelog +++ b/scudcloud-1.1/debian/changelog @@ -1,3 +1,9 @@ +scudcloud (1.1-1) trusty; urgency=medium + + * Disabling Private browsing (#296) + + -- Rael Gugelmin Cunha Sat, 21 Nov 2015 13:52:35 -0200 + scudcloud (1.1-0) trusty; urgency=medium * Fixing stuck in loading screen (#294) -- cgit v1.1 From c8b0117d18188b59ff188a3dc0c7c7e6dc662fc8 Mon Sep 17 00:00:00 2001 From: Rael Gugelmin Cunha Date: Sat, 21 Nov 2015 15:10:46 -0200 Subject: Better commenting on private browsing disabling --- scudcloud-1.1/lib/scudcloud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scudcloud-1.1/lib/scudcloud.py b/scudcloud-1.1/lib/scudcloud.py index 5cf239a..5675e12 100755 --- a/scudcloud-1.1/lib/scudcloud.py +++ b/scudcloud-1.1/lib/scudcloud.py @@ -78,10 +78,10 @@ class ScudCloud(QtGui.QMainWindow): QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, self.plugins) # We don't want Java QWebSettings.globalSettings().setAttribute(QWebSettings.JavaEnabled, False) - # We don't need History - QWebSettings.globalSettings().setAttribute(QWebSettings.PrivateBrowsingEnabled, False) # Enabling Local Storage (now required by Slack) QWebSettings.globalSettings().setAttribute(QWebSettings.LocalStorageEnabled, True) + # We need browsing history (required to not limit LocalStorage) + QWebSettings.globalSettings().setAttribute(QWebSettings.PrivateBrowsingEnabled, False) # Enabling Cache self.diskCache = QNetworkDiskCache(self) self.diskCache.setCacheDirectory(self.settings_path) -- cgit v1.1