9 |
10 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Chinese/for_use_cupcake_chrome-menu_zh.txt:
--------------------------------------------------------------------------------
1 | Cupcake
2 | 状态:
3 | 状态的含义
4 | 工作中:浅蓝色或者深蓝色的状态意味着代理正在运行中。
5 | 深蓝色意味着代理正在运行中,不过现在没有人在使用。
6 | 浅蓝色的状态意味着正有用户在使用您的代理。
7 | 没有运行:如果状态是灰色或者黑色,这说明代理没有正常工作。
8 | Gray means that the badge has disabled itself. Try restarting your browser. If the problem persists, you might not be able to use Cupcake with this computer.
9 | 黑色意味着代理由于内部错误而无法正常运行,请尝试重启浏览器。
10 | 选项
11 | 请到选项页面修改设置
12 | 制作组
13 | 关于
14 | Made by Griffin, who is not affiliated with the Tor Project in any way.
15 | 他十分喜爱萌猫~
16 | 在 Github 上复刻此扩展。
17 | Check out the Flash Proxy project at Stanford! Their code made this possible.
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/English/misc-strings.txt:
--------------------------------------------------------------------------------
1 | Internet Freedom
2 | Censorship
3 | Free Speech
4 | It works!
5 | Working
6 | Not working
7 | Something is wrong
8 | Please check your settings.
9 | Read more
10 | Research
11 | If the problem persists, you may not be able to use Cupcake.
12 | Thank you!
13 | Change your options
14 | Pause
15 | Start
16 | Restart
17 | Stop
18 | (Cupcake will restart next time you open your browser).
19 | Save changes
20 | Per day
21 | Days
22 | (Number of people connected now)
23 | Users connected
24 | Data transmitted
25 | in the past thirty days
26 | Since installing
27 | Options
28 | Cupcake
29 |
30 |
--------------------------------------------------------------------------------
/chrome/background.js:
--------------------------------------------------------------------------------
1 | var fp = new FlashProxy();
2 |
3 | fp.on_proxy_start = function() {
4 | chrome.browserAction.setIcon({ "path": "images/active_icon.png"});
5 | };
6 |
7 | fp.on_proxy_end = function() {
8 | // return to default icon
9 | chrome.browserAction.setIcon({ "path": "images/cupcake48.png"});
10 | };
11 |
12 | fp.on_disable = function() {
13 | chrome.browserAction.setIcon({ "path": "images/disabled_icon.png"});
14 | };
15 |
16 | fp.on_die = function() {
17 | chrome.browserAction.setIcon({ "path": "images/active_icon.png"});
18 | };
19 |
20 | if (flashproxy_should_disable())
21 | fp.disable();
22 |
23 | fp.start();
24 |
--------------------------------------------------------------------------------
/old_versions/v1.5/opera/background.js:
--------------------------------------------------------------------------------
1 | var fp = new FlashProxy();
2 |
3 | fp.on_proxy_start = function() {
4 | chrome.browserAction.setIcon({ "path": "images/active_icon.png"});
5 | };
6 |
7 | fp.on_proxy_end = function() {
8 | // return to default icon
9 | chrome.browserAction.setIcon({ "path": "images/cupcake48.png"});
10 | };
11 |
12 | fp.on_disable = function() {
13 | chrome.browserAction.setIcon({ "path": "images/disabled_icon.png"});
14 | };
15 |
16 | fp.on_die = function() {
17 | chrome.browserAction.setIcon({ "path": "images/cupcake48.png"});
18 | };
19 |
20 | if (flashproxy_should_disable())
21 | fp.disable();
22 |
23 | fp.start();
24 |
--------------------------------------------------------------------------------
/pink-snowball/chrome/background.js:
--------------------------------------------------------------------------------
1 | var fp = new FlashProxy();
2 |
3 | fp.on_proxy_start = function() {
4 | chrome.browserAction.setIcon({ "path": "images/active_icon.png"});
5 | };
6 |
7 | fp.on_proxy_end = function() {
8 | // return to default icon
9 | chrome.browserAction.setIcon({ "path": "images/cupcake48.png"});
10 | };
11 |
12 | fp.on_disable = function() {
13 | chrome.browserAction.setIcon({ "path": "images/disabled_icon.png"});
14 | };
15 |
16 | fp.on_die = function() {
17 | chrome.browserAction.setIcon({ "path": "images/active_icon.png"});
18 | };
19 |
20 | if (flashproxy_should_disable())
21 | fp.disable();
22 |
23 | fp.start();
24 |
--------------------------------------------------------------------------------
/old_versions/v1.5/chrome/background.js:
--------------------------------------------------------------------------------
1 | var fp = new FlashProxy();
2 |
3 | fp.on_proxy_start = function() {
4 | chrome.browserAction.setIcon({ "path": "images/active_icon.png"});
5 | };
6 |
7 | fp.on_proxy_end = function() {
8 | // return to default icon
9 | chrome.browserAction.setIcon({ "path": "images/cupcake48.png"});
10 | };
11 |
12 | fp.on_disable = function() {
13 | chrome.browserAction.setIcon({ "path": "images/disabled_icon.png"});
14 | };
15 |
16 | fp.on_die = function() {
17 | chrome.browserAction.setIcon({ "path": "images/active_icon.png"});
18 | };
19 |
20 | if (flashproxy_should_disable())
21 | fp.disable();
22 |
23 | fp.start();
24 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Farsi/for_use_cupcake_misc-strings_fa.txt:
--------------------------------------------------------------------------------
1 | آزادی اینترنت
2 | سانسور
3 | آزادی بیان
4 | کار میکنه!
5 | کار میکنه
6 | کار نمیکنه
7 | یه مشکلی وجود داره
8 | لطفن تنظیمات خود را بررسی کنید
9 | بیشتر بخوانید
10 | تحقیق
11 | اگر مشکل همچنان ادامه داره، ممکنه نتونید از کاپ کیک استفاده کنید.
12 | سپاسگزاریم!
13 | گزینههایتان را تغییر دهید
14 | درنگ
15 | شروع
16 | شروع دوباره
17 | توقف
18 | (دفعه بعدی که مرورگرتون رو باز کنید کاپ کیک دوباره اجرا میشه)
19 | ذخیره تغییرات
20 | در روز
21 | روزها
22 | (تعداد کسانی که هم اکنون متصل هستند)
23 | کاربرانی که متصل هستند
24 | اطلاعات جابجا شده
25 | در ۳۰ روز گذشته
26 | از موقع نصب
27 | گزینهها
28 | کاپ کیک
29 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Slovak/for_use_cupcake_misc-strings_sk_SK.txt:
--------------------------------------------------------------------------------
1 | Internetová sloboda
2 | Cenzúra
3 | Sloboda slova
4 | Funguje to!
5 | Funguje
6 | Nefunguje
7 | Niečo je zle
8 | Prosíme skontrolujte si svoje nastavenia.
9 | Čítať viac
10 | Výskum
11 | Ak problém pretrváva, nie ste schopný používať Cupcake.
12 | Ďakujeme Vám!
13 | Zmeniť Vaše nastavenia
14 | Pauza
15 | Štart
16 | Reštart
17 | Stop
18 | (Pri ďalšom otvorení prehliadača sa Cupcake reštartuje).
19 | Uložiť zmeny
20 | Za deň
21 | Dní
22 | (Počet ľudí, ktorí sú momentálne pripojení)
23 | Pripojených užívateľov
24 | Prepravených dát
25 | v posledných tridsiatich dňoch
26 | Od inštalácie
27 | Možnosti
28 | Cupcake
29 |
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/admin/partials/wp-cupcake-bridge-options.php:
--------------------------------------------------------------------------------
1 |
15 |
26 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Slovenian/for_use_cupcake_misc-strings_sl_SI.txt:
--------------------------------------------------------------------------------
1 | Internetna svoboda
2 | Cenzura
3 | Svoboda govora
4 | Deluje!
5 | Deluje
6 | Ne deluje
7 | Nekaj je narobe
8 | Preverite vaše nastavitve.
9 | Preberi več
10 | Razišči
11 | V kolikor se težava ponavlja, morda ne boste mogli uporabljati Cupcakea.
12 | Hvala!
13 | Spremenite svoje možnosti
14 | Premor
15 | Zaženi
16 | Znova zaženi
17 | Ustavi
18 | (Cupcake se bo znova zagnal naslednjič, ko boste zagnali vaš brskalnik).
19 | Shrani spremembe
20 | Na dan
21 | Dni
22 | (Število zdaj povezanih ljudi)
23 | Povezani uporabniki
24 | Podatki poslani
25 | v zadnjih tridesetih dneh
26 | Od namestitve
27 | Možnosti
28 | Cupcake
29 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Russian/for_use_cupcake_misc-strings_ru.txt:
--------------------------------------------------------------------------------
1 | Интернет-Свобода
2 | Цензура
3 | Свобода слова
4 | Заработало!
5 | Работает
6 | Не работает
7 | Что то не так
8 | Пожалуйста, проверьте свои настройки.
9 | Читать дальше...
10 | Изучать.
11 | Если проблема останется, вы не сможете пользоваться Кексом.
12 | Спасибо!
13 | Смените настройки.
14 | Пауза
15 | Начало
16 | Перезапуск
17 | Стоп
18 | Кексик перезапустится в следующий раз, когда вы откроете свой обозреватель.
19 | Сохранить изменения
20 | В день
21 | Дней
22 | (Количество соединенных сейчас людей)
23 | Пользователей соединено
24 | Передано данных
25 | За последние тридцать дней.
26 | С момента инсталляции.
27 | Параметры
28 | кексик
29 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Spanish/for_use_cupcake_misc-strings_es.txt:
--------------------------------------------------------------------------------
1 | Libertad en Internet
2 | Censura
3 | Libertad de expresión
4 | ¡Funciona!
5 | Funcionando
6 | No funcionando
7 | Algo está mal
8 | Por favor, compruebe su configuración.
9 | Leer más
10 | Investigar
11 | Si el problema persiste, podría no poder usar Cupcake.
12 | ¡Gracias!
13 | Cambie sus opciones
14 | Pausar
15 | Iniciar
16 | Reiniciar
17 | Parar
18 | (Cupcake reiniciará la próxima vez que abra su navegador).
19 | Guardar los cambios
20 | Por día
21 | Días
22 | (Número de personas conectadas ahora)
23 | Usuarios conectados
24 | Datos transmitidos
25 | en los pasados treinta días
26 | Desde la instalación
27 | Opciones
28 | Cupcake (pastel)
29 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Farsi/for_use_cupcake_chrome-description_fa.txt:
--------------------------------------------------------------------------------
1 | کاپ کیک با درست کردن پل، به کاربران سانسور شده کمک میکنه که به اینترنت دسترسی پیدا کنند.
2 |
3 | اگر اینترنت شما فیلتر و یا سانسور شده، بسته مرورگر تور را نصب کنید. کاپ کیک نمیتونه به تنهایی برای شما سانسور رو دور بزنه.
4 |
5 | پروژه تور به کاربران کمک میکنه که سانسور رو دور بزنند. اگر با تور آشنا نیستید، لطفن قبل از نصب کاپ کیک راجع به اون بخونید. اطلاعات بیشتر: https://torproject.org
6 |
7 | اما این یعنی اگر فقط میخواهید پل درست کنید، لازم نیست برنامه تور را اجرا کنید. همچنین (درحال حاضر) این تنها راه برای کاربران کرومه که پل درست کنند.
8 |
9 | برای اطلاعات بیشتر راجع به علم فلش پراکسی، کار David Fifield رو در استفورد ببینید: https://crypto.stanford.edu/flashproxy
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Brazilian Portuguese/for_use_cupcake_misc-strings_pt_BR.txt:
--------------------------------------------------------------------------------
1 | Liberdade na Internet
2 | Censura
3 | Liberdade de Expressão
4 | Está funcionando!
5 | Funcionando
6 | Não está funcionando
7 | Algo está errado
8 | Por favor, verifique as suas configurações.
9 | Leia mais
10 | Pesquisa
11 | Se o problema persistir, pode ser que você não consiga usar o programa Cupcake.
12 | Obrigado!
13 | Mude suas opções
14 | Para
15 | Inicie
16 | Reinicie
17 | Pare
18 | (Cupcake irá reiniciar na próxima vez que você abrir o navegador).
19 | Salve as alterações
20 | Por dia
21 | Dias
22 | (Número de pessoas conectadas neste momento)
23 | Usuários conectados
24 | Dados transmitidos
25 | Nos últimos trinta dias
26 | Desde a sua instalação
27 | Opções
28 | Cupcake
29 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/French/for_use_cupcake_misc-strings_fr.txt:
--------------------------------------------------------------------------------
1 | Liberté sur Internet
2 | Censure
3 | Liberté d'expression
4 | Cela fonctionne !
5 | Fonctionne
6 | Ne fonctionne pas
7 | Quelque chose ne va pas
8 | Veuillez vérifier vos réglages.
9 | En lire plus
10 | Recherche
11 | Si le problème persiste, il est possible que vous ne puissiez pas utiliser Cupcake.
12 | Merci !
13 | Changer vos options
14 | Pause
15 | Démarrage
16 | Redémarrage
17 | Arrêt
18 | (Cupcake redémarrera à la prochaine ouverture de votre navigateur).
19 | Enregistrer les modifications
20 | Par jour
21 | Jours
22 | (Nombre de personnes actuellement connectées)
23 | Utilisateurs connectés
24 | Données transmises
25 | durant les trente derniers jours
26 | Depuis l'installation
27 | Options
28 | Cupcake
29 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Russian/for_use_cupcake_chrome-description_ru.txt:
--------------------------------------------------------------------------------
1 | Кексик помогает людям, пострадавшим от цензуры, получить доступ к сайтам используя Tor.
2 |
3 | Если вы страдаете от Интернет цензуры, установите себе Tor Browser Bundle. Кексик не поможет вам обойти цензуру
4 |
5 | Проект Tor помогает людям обойти цензуру. Если вы не знакомы с Tor, пожалуйста познакомьтесь с ним, перед тем как устанавливать Кексик. Больше информации: https://torproject.org
6 |
7 | Если вы хотите только создавать мосты, вам совсем не обязательно запускать полный пакет Tor. И на сегодня это единственное решение создания Tor мостов для пользователей Chrome OS.
8 |
9 | Чтобы получить больше информации о флэш прокси, посетите страницу Дэвида Фифилда с его работами по адресу https://crypto.stanford.edu/flashproxy
--------------------------------------------------------------------------------
/old_versions/v1.5/drupal6/cupcake.module:
--------------------------------------------------------------------------------
1 | array(
13 | 'arguments' => array(),
14 | 'function' => 'theme_cupcake',
15 | ),
16 | );
17 | }
18 |
19 | function theme_cupcake()
20 | {
21 | return '
';
22 | }
23 |
24 | function cupcake_footer()
25 | {
26 | return theme('cupcake');
27 | }
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/English/description.txt:
--------------------------------------------------------------------------------
1 | Cupcake helps censored people access the web using Tor, by creating bridges for the internet's most censored users.
2 |
3 | If you are being censored, please install the full Tor Browser Bundle. Cupcake can't bypass censorship on its own!
4 |
5 | The Tor Project helps people overcome censorship. If you aren't familiar with Tor, please read up on it before installing Cupcake. More info: https://torproject.org
6 |
7 | But it means that you don't have to run the entire Tor software suite if you only want to make bridges. It's also the only way (currently) to create a Tor bridge if you are a Chrome OS user.
8 |
9 | For more information on the science of flash proxy, check out David Fifield's work at Stanford: https://crypto.stanford.edu/flashproxy
10 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Slovak/for_use_cupcake_chrome-description_sk_SK.txt:
--------------------------------------------------------------------------------
1 | Cupcake pomáha cenzurovaným ľuďom pristupovať na web pomocou Toru, vytváraním mostov pre najviac cenzurovaných používateľov internetu.
2 |
3 | Ak ste cenzurovaní, prosíme nainštalujte si kompletný Tor Browser balíček. Cupcake nemôže obísť cenzúru len tak sám o sebe!
4 |
5 | Projekt Tor pomáha ľuďom obchádzať cenzúru. Ak Vám Tor nie je známy, prosíme pred inštaláciou Cupcaku si o ňom niečo prečítajte. Viac informácii: https://torproject.org
6 |
7 | Nemusíte ale mať spustenú kompletnú softvérovú výbavu Toru, iba ak chcete vytvárať mosty. V prípade Chrome OS je to však (zatiaľ) jediný spôsob, ako ich vytvárať.
8 |
9 | Pre viac informácii ohľadom tzv. flash proxy, pozrite si prácu Davida Fifielda v Stanforde: https://crypto.stanford.edu/flashproxy
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Slovenian/for_use_cupcake_chrome-description_sl_SI.txt:
--------------------------------------------------------------------------------
1 | Cupcake omogoča ljudem obiti cenzuro pri dostopu do spleta s pomočjo Torja, tako da ustvarja mostove za najbolj prizadete uporabnike interneta.
2 |
3 | V kolikor vam omejujejo dostop, si namestite Tor Browser Bundle. Cupcate sam ne more obiti cenzure!
4 |
5 | Tor Project pomaga ljudem prebroditi cenzuro. Če ne znate rokovati s Tor omrežjem, si preberite več o njem, preden boste namestili Cupcake. Več informacij na: https://torproject.org
6 |
7 | Toda ni vam potrebno imeti nameščene celotne zbirke programja Tor, da bi poganjali mostove. Le, če uporabljate Chrome OS, to (za zdaj) še ni možno.
8 |
9 | Za več znanstvenih informacij o bliskovitem posredniškem strežniku si oglejte Fifield, Davidovo delo na Stanfordu: https://crypto.stanford.edu/flashproxy
--------------------------------------------------------------------------------
/old_versions/v1.5/opera/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Cupcake",
3 | "version": "1.101",
4 | "manifest_version": 2,
5 | "description": "Flash Proxy for Chrome",
6 | "background": { "scripts": ["flashproxy.js", "background.js"]},
7 | "icons": {
8 | "24" : "images/cupcake24.png",
9 | "38" : "images/cupcake48.png",
10 | "48" : "images/cupcake48.png",
11 | "128" : "images/cupcake128.png"
12 | },
13 | "browser_action": {
14 | "default_icon": "images/cupcake48.png",
15 | "default_title": "Cupcake",
16 | "default_popup": "menu.html"
17 | },
18 | "incognito": "split",
19 | "permissions": [
20 | "http://fp-facilitator.org/*",
21 | "https://fp-facilitator.org/*"],
22 |
23 | "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
24 | }
25 |
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/public/js/socialshareprivacy.cupcakebridge/javascripts/settings.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz
4 | *
5 | * Copyright (c) 2012-2013 Mathias Panzenböck
6 | *
7 | * is released under the MIT License http://www.opensource.org/licenses/mit-license.php
8 | *
9 | * Spread the word, link to us if you can.
10 | */
11 |
12 | // load global settings
13 | jQuery(document).ready(function ($) {
14 | "use strict";
15 |
16 | $('script[type="application/x-social-share-privacy-settings"]').each(function () {
17 | var settings = (new Function('return ('+(this.textContent||this.innerText||this.text)+');')).call(this);
18 |
19 | if (typeof settings === "object") {
20 | $.extend(true, $.fn.socialSharePrivacy.settings, settings);
21 | }
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/includes/wp-cupcake-bridge-activator.php:
--------------------------------------------------------------------------------
1 |
22 | */
23 | class Wp_Cupcake_Bridge_Activator {
24 |
25 | /**
26 | * Short Description.
27 | *
28 | * Long Description.
29 | *
30 | * @since 1.0.0
31 | */
32 | public static function activate() {
33 |
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/includes/wp-cupcake-bridge-deactivator.php:
--------------------------------------------------------------------------------
1 |
22 | */
23 | class Wp_Cupcake_Bridge_Deactivator {
24 |
25 | /**
26 | * Short Description. (use period)
27 | *
28 | * Long Description.
29 | *
30 | * @since 1.0.0
31 | */
32 | public static function deactivate() {
33 |
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/French/for_use_cupcake_chrome-description_fr.txt:
--------------------------------------------------------------------------------
1 | Cupcake aide les personnes censurées à accéder au web grâce au logiciel Tor, en créant des ponts au service des utilisateurs les plus censurés d'Internet.
2 |
3 | Si vous êtes censuré, veuillez installer le Paquet Navigateur Tor complet. Cupcake ne peut pas contourner la censure tout seul !
4 |
5 | Le Projet Tor aide les gens à vaincre la censure. Si vous ne connaissez pas Tor, veuillez vous documenter avant d'installer Cupcake. Plus d'infos : https://torproject.org
6 |
7 | Mais cela signifie que vous n'avez pas à exécuter la suite logicielle Tor au complet si vous voulez seulement créer des ponts. C'est aussi la seule façon (actuellement) de créer un pont Tor si vous êtes un utilisateur de Chrome OS.
8 |
9 | Pour plus d'informations sur la science du flash proxy, consultez le travail de David Fifield à Stanford : https://crypto.stanford.edu/flashproxy
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Spanish/for_use_cupcake_chrome-description_es.txt:
--------------------------------------------------------------------------------
1 | Cupcake ayuda a la gente bajo censura a acceder a la web usando Tor, mediante la creación de puentes ('bridges', de salida a Internet) para los usuarios bajo mayor censura de Internet.
2 |
3 | Si está sufriendo censura, por favor instale el Paquete de Navegador Tor completo. ¡Cupcake no puede sortear la censura por si mismo!
4 |
5 | El Proyecto Tor ayuda a la gente a saltarse la censura. Si no está familiarizado con Tor, por favor lea sobre ello antes de instalar Cupcake. Más información: https://torproject.org
6 |
7 | Pero esto significa que no tiene porqué ejecutar la suite Tor completa si sólo quiere crear unos puentes ('bridges'). También es la única manera (actualmente) de crear un puente Tor si usted es un usuario de Chrome OS.
8 |
9 | Para más información sobre la ciencia de Flash Proxy, examine el trabajo de David Fifield en Stanford: https://crypto.stanford.edu/flashproxy
--------------------------------------------------------------------------------
/old_versions/v1.5/chrome/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Cupcake",
3 | "version": "1.2",
4 | "manifest_version": 2,
5 | "description": "Flash Proxy for Chrome",
6 | "background": { "scripts": ["flashproxy.js", "background.js"]},
7 | "icons": {
8 | "24" : "images/cupcake24.png",
9 | "38" : "images/cupcake48.png",
10 | "48" : "images/cupcake48.png",
11 | "128" : "images/cupcake128.png"
12 | },
13 | "browser_action": {
14 | "default_icon": "images/cupcake48.png",
15 | "default_title": "Cupcake",
16 | "default_popup": "menu.html"
17 | },
18 | "incognito": "split",
19 | "permissions": [
20 | "http://fp-facilitator.org/*",
21 | "https://fp-facilitator.org/*",
22 |
23 | "background",
24 | "cookies" ],
25 | "content_security_policy": "script-src 'self' 'unsafe-eval' https://*.stanford.edu/ https://*.bamsoftware.com/ https://*.fp-facilitator.org/; object-src 'self'"
26 | }
27 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Brazilian Portuguese/for_use_cupcake_chrome-description_pt_BR.txt:
--------------------------------------------------------------------------------
1 | Cupcake ajuda as pessoas censuradas a acessar a web usando o Tor, criando conexões para os usuários que estão sendo censurados na internet.
2 |
3 | Se você está sendo censurado, por favor, instale o pacote completo do navegador Tor. Cupcake não pode evitar a censura por si próprio!
4 |
5 | O Projeto Tor ajuda as pessoas à superarem a censura. Se você não estiver familiarizado com o Tor, por favor, leia mais sobre ele antes de instalar o Cupcake. Mais informações sobre o projeto Tor podem ser acessadas no link: https://torproject.org
6 |
7 | Mas isso significa que você não tem que executar todo o conjunto de software do Tor, se você só quer fazer conexões. É também a única forma (atualmente) para criar uma conexão Tor se você é um usuário do Chrome OS.
8 |
9 | Para mais informações sobre a ciência do proxy flash, confira o trabalho de David Fifield na Stanford: https://crypto.stanford.edu/flashproxy
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/English/chrome-menu.txt:
--------------------------------------------------------------------------------
1 | Cupcake
2 | Status:
3 | What your status means
4 | Working: if your status is light blue or dark blue, your proxy is running.
5 | Dark blue means the proxy is running but no one is using it right now.
6 | Light blue means someone is using your proxy right now. Neat!
7 | Not working: if your status is grey or black, there was a problem and your proxy is not running.
8 | Gray means that the badge has disabled itself. Try restarting your browser. If the problem persists, you might not be able to use Cupcake with this computer.
9 | Black means that there was an internal error and the proxy is no longer running. Try restarting your browser.
10 | Options
11 | To change your options, please visit the options page
12 | Credits
13 | About
14 | Made by Griffin, who is not affiliated with the Tor Project in any way.
15 | He likes cats.
16 | Fork this extension on github.
17 | Check out the Flash Proxy project at Stanford! Their code made this possible.
18 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Russian/for_use_cupcake_chrome-menu_ru.txt:
--------------------------------------------------------------------------------
1 | Кексик
2 | Статус
3 | Что означает ваш статус
4 | Работает: если ваш статус светло синий или темно синий, значит прокси запущен.
5 | Темно синий означает что прокси запущен, но никто его не использует прямо сейчас.
6 | Светло синий означает что кто то использует ваш прокси прямой сейчас. Класс!
7 | Не работает: если ваш статус серый или черный, есть проблемы и ваш прокси не запущен.
8 | Серый означает, что значек выключен. Попробуйте перезапустить ваш броузер. Если проблема останется, вы не сможете использовать Кексик на этом компьюбтере.
9 | Черный означает, что есть внутренняя ошибка и прокси не работает. Попробуйте перезапустить ваш обозреватель.
10 | Параметры
11 | Чтобы сменить настройки, сходите на страницу настроек.
12 | Список разработчиков
13 | О проекте
14 | Griffin - создатель. Он никак не связан с Tor Project.
15 | Ему нравятся кошки.
16 | Форкнуть это расширение на Github/
17 | Сверьтесь с проектом Flash Proxy в Стенфорде. Их код делает это возможным.
--------------------------------------------------------------------------------
/old_versions/v1.5/safari/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Cupcake",
3 | "version": "0.1",
4 | "manifest_version": 1,
5 | "description": "Make a Tor bridge automagically!",
6 | "global": { "page": "proxy.html"},
7 | "icons": {
8 | "19" : "images/cupcake19.png",
9 | "24" : "images/cupcake24.png",
10 | "38" : "images/cupcake48.png",
11 | "48" : "images/cupcake48.png",
12 | "128" : "images/cupcake128.png"
13 | },
14 | "browser_action": {
15 | "default_icon": "images/cupcake48.png",
16 | "default_title": "Cupcake",
17 | "default_popover": "menu.html"
18 | },
19 | "incognito": "split",
20 | "permissions": [
21 | "https://crypto.stanford.edu/*",
22 | "http://crypto.stanford.edu/*",
23 | "http://fp-facilitator.org/*",
24 |
25 | "background",
26 | "cookies" ],
27 | "content_security_policy": "script-src 'self' 'unsafe-eval' https://*.stanford.edu http://fp-facilitator.org/* https://*.bamsoftware.com https://*.fp-facilitator.org; object-src 'self'"
28 | }
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Slovak/for_use_cupcake_chrome-menu_sk_SK.txt:
--------------------------------------------------------------------------------
1 | Cupcake
2 | Status:
3 | Čo Váš status znamená
4 | Pracujúci: ak Váš status je svetlo alebo tmavo modrý, Váš proxy je spustený.
5 | Tmavo modrá znamená, že proxy je spustený, ale aktuálne ho nikto nevyužíva.
6 | Svetlo modrá znamená, že Váš proxy je práve teraz niekým využívaný. Výborne!
7 | Nepracujúci: ak je Váš status šedý alebo čierny, vyskytol sa problém a proxy nie je spustený.
8 | Šedá znamená, že sa vypol sám. Vyskúšajte reštartovať Váš prehliadač. Ak problém pretrváva, zrejme nebudete schopný na Vašom počítači Cupcake používať.
9 | Čierna znamená, že došlo k internej chybe a proxy už nie je spustený. Vyskúšajte reštartovať Váš prehliadač.
10 | Možnosti
11 | Na zmenu Vašich nastavení, prosíme navštívte stránku Možnosti
12 | Zásluhy
13 | O programe
14 | Vytvorené užívateľom Griffin, ktorý s projektom Tor nemá nič spoločné.
15 | Má rád mačky.
16 | Ohľadom tohto doplnku navštívte Github.
17 | Pozrite sa tiež na projekt Flash Proxy v Stanforde! Ich kód toto všetko umožnil.
--------------------------------------------------------------------------------
/old_versions/experiments/facebook/apps/connect-four/css/style.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: coder;
3 | src: url('coder.ttf');
4 | }
5 |
6 | body {
7 | background: url('../img/ecailles.png') #FFFFFF;
8 | font-family: 'Futura', 'Menlo', 'Monaco', 'Helvetica', 'Arial';
9 | }
10 |
11 | #talk {
12 | margin: 2.8% auto 1% auto;
13 | text-align: center;
14 | font-family: coder;
15 | font-smooth: never;
16 | color: #010101;
17 | font-size: 28px;
18 |
19 | }
20 |
21 | #board {
22 | margin: 0 auto;
23 | border-spacing: 5px;
24 | }
25 |
26 | .slot {
27 | background: #fff;
28 | border-radius: 10px;
29 | border: 2px solid #61B7D0;
30 | width: 70px;
31 | height: 70px;
32 | }
33 |
34 | #wins {
35 | margin: 0 auto;
36 | width: 570px;
37 | padding-top: 60px;
38 | height: 451px;
39 | font-size: 220px;
40 | font-weight: bold;
41 | display: none;
42 | }
43 |
44 | #wins .human {
45 | color: #879E2C;
46 | float: left;
47 | text-align: left;
48 | }
49 |
50 | #wins .computer {
51 | color: #112734;
52 | float: right;
53 | text-align: right;
54 | }
55 |
--------------------------------------------------------------------------------
/old_versions/v1.5/firefox/install.rdf:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | griffin@cryptolab.net
6 | 1.2.1
7 | 2
8 | chrome://cupcake/content/data/images/cupcake48.png
9 |
10 |
11 | {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
12 | 3.5
13 | 50.0
14 |
15 |
16 |
17 |
18 | Cupcake for Firefox
19 |
20 | Become a flashproxy and contribute to the Tor network
21 | Griffin Boyce
22 | https://github.com/glamrock/cupcake
23 |
24 |
25 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Farsi/for_use_cupcake_chrome-menu_fa.txt:
--------------------------------------------------------------------------------
1 | کاپ کیک
2 | وضعیت:
3 | وضعیتهای مختلف چه معنی میدن
4 | کار میکنه: اگر وضعیت شما آبی کمرنگ یا آبی پررنگ باشه، یعنی پراکسی شما کار میکنه.
5 | آبی پررنگ یعنی پراکسی درحال اجراست ولی درحال حاضر کسی از اون استفاده نمیکنه
6 | آبی کمرنگ یعنی یکی داره از پراکسی شما استفاده میکنه. ایول!
7 | کار نمیکنه: اگر وضعیت شما خاکستری یا سیاه باشه یعنی یه مشکلی وجود داشته و پراکسی شما کار نمیکنه.
8 | خاکستری یعنی badge خودش رو غیرفعال کرده. مرورگرتون رو ببندید و دوباره باز کنید. اگر مشکلتون همچنان ادامه داره، ممکنه به این معنی باشه که شما نمیتونید از کاپ کیک روی این کامپیوتر استفاده کنید.
9 | سیاه یعنی خطای داخلی وجود داشته و پراکسی دیگه درحال اجرا نیست. مرورگرتون رو ببندید و دوباره باز کنید.
10 | گزینهها
11 | برای تغییر در گزینهها، لطفن از صفحه گزینهها بازدید کنید
12 | Credits
13 | درباره
14 | Made by Griffin, who is not affiliated with the Tor Project in any way.
15 | He likes cats.
16 | این افزونه را روی گیتهاب فورک کنید.
17 | یه نگاهی به پروژه فلش پراکسی در استنفورد بندازید! این کار بدون کدهای فلش پراکسی غیرممکن بود.
--------------------------------------------------------------------------------
/old_versions/experiments/flex/libs/notes.md:
--------------------------------------------------------------------------------
1 | How to use this:
2 |
3 | First, let's import the needed files.
4 |
5 | Option 1: Import Flex-Iframe swc (or pom) into your project from Maven.
6 | Drop that entire folder into /libs manually.
7 | Option 2: Add this dependency:
8 |
9 | com.google.code.flex-iframe
10 | flex-iframe
11 | 1.5.1
12 |
13 |
14 | Done that? Fantastic. Now add the iframe:
15 |
16 |
18 |
19 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/French/for_use_cupcake_chrome-menu_fr.txt:
--------------------------------------------------------------------------------
1 | Cupcake
2 | Statut :
3 | Ce que votre statut signifie
4 | En fonctionnement : si votre statut est bleu clair ou bleu foncé, votre proxy fonctionne.
5 | Bleu foncé signifie que le proxy fonctionne mais personne ne l'utilise en ce moment.
6 | Bleu clair signife que quelqu'un utilise votre proxy en ce moment. Chouette !
7 | Hors service : si votre statut est gris ou noir, il y a eu un problème et votre proxy ne fonctionne pas.
8 | Gris signifie que le badge s'est autodésactivé. Essayez de relancer votre navigateur. Si le problème persiste, l'utilisation de Cupcake avec cet ordinateur pourrait ne pas être possible.
9 | Noir signifie qu'il y a eu une erreur interne et que le proxy ne fonctionne plus. Essayez de relancer votre navigateur.
10 | Options
11 | Pour changer vos options, veuillez visiter la page des options
12 | Crédits
13 | À propos
14 | Créé par Griffin, qui n'est affilié avec le Projet Tor en aucune façon.
15 | Il aime les chats.
16 | Récupérer cette extension sur github.
17 | Consultez le projet de Flash Proxy de Stanford ! Leur code rend cela possible.
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Brazilian Portuguese/for_use_cupcake_chrome-menu_pt_BR.txt:
--------------------------------------------------------------------------------
1 | Cupcake
2 | Status:
3 | O que significa o seu status
4 | Funcionando: se o seu estado é azul claro ou azul escuro, o seu proxy está funcionando.
5 | Azul escuro significa que o proxy está funcionando, mas ninguém está usando agora.
6 | Luz azul clara significa que alguém está usando o seu proxy agora. Muito bom!
7 | Não está funcionando: se o seu estado é cinza ou preto, houve um problema e o seu proxy não está funcionando.
8 | Cinza significa que o programa desativou. Tente reiniciar o seu navegador. Se o problema persistir, pode ser que o programa Cupcake não está funcionando neste computador.
9 | Preto significa que houve um erro interno e o proxy não está mais funcionando. Tente reiniciar o seu navegador.
10 | Opções
11 | Para mudar as suas opções, visite a página de opções
12 | Créditos
13 | A respeito do...
14 | Feita pelo Griffin, que não é afiliado de nenhuma forma com o Projeto Tor.
15 | Ele gosta de gatos.
16 | Fork esta extensão no github.
17 | Confira o projeto Proxy do Flash na Stanford! Foi o seu código que tornou este projeto possível.
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Spanish/for_use_cupcake_chrome-menu_es.txt:
--------------------------------------------------------------------------------
1 | Cupcake (pastel)
2 | Estado:
3 | Lo que su estado significa
4 | Funcionando: si su estado es azul claro o azul oscuro, su proxy está ejecutándose.
5 | Azul oscuro significa que el proxy está ejecutándose pero nadie lo está usando en este momento.
6 | Azul claro significa que alguien está usando su proxy en este momento. ¡Bien!
7 | No funcionando: si su estado es gris o negro, hubo un problema y su proxy no está ejectándose.
8 | Gris significa que el distintivo se ha deshabilitado a si mismo. Intente reiniciar su navegador. Si el problema persiste, puede que no sea capaz de usar Cupcake con este equipo.
9 | Negro significa que hubo un error interno y el proxy no se está ejecutando más. Intente reiniciar su navegador.
10 | Opciones
11 | Para cambiar sus opciones, por favor visite la página de opciones.
12 | Créditos
13 | Acerca de
14 | Elaborado por Griffin, que no está afiliado con el Proyecto Tor en ninguna forma.
15 | Le gustan los gatos.
16 | Ramificar ('fork') esta extensión en github.
17 | ¡Examine al proyecto Flash Proxy en Stanford! Su código hizo esto posible.
--------------------------------------------------------------------------------
/chrome/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Cupcake",
3 | "version": "1.301",
4 | "manifest_version": 2,
5 | "description": "Snowflake for Chrome",
6 | "background": { "scripts": ["snowflake.js", "background.js"]},
7 | "icons": {
8 | "24" : "images/cupcake24.png",
9 | "32" : "images/cupcake36.png",
10 | "38" : "images/cupcake48.png",
11 | "48" : "images/cupcake48.png",
12 | "128" : "images/cupcake128.png"
13 | },
14 | "browser_action": {
15 | "default_icon": "images/cupcake48.png",
16 | "default_title": "Cupcake",
17 | "default_popup": "menu.html"
18 | },
19 | "incognito": "split",
20 | "permissions": [
21 | "http://snowflake-broker.bamsoftware.com/*",
22 | "https://snowflake-broker.bamsoftware.com/*",
23 | "https://snowflake.bamsoftware.com/*",
24 | "http://snowflake.bamsoftware.com/*",
25 | "https://snowflake.bamsoftware.com:443/*"
26 |
27 | "background",
28 | "cookies" ],
29 | "content_security_policy": "script-src 'self' 'unsafe-eval' https://*.stanford.edu/ https://*.bamsoftware.com/ https://*.fp-facilitator.org/; object-src 'self'"
30 | }
31 |
--------------------------------------------------------------------------------
/old_versions/experiments/facebook/iframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | flash proxy facebook app demo
4 |
18 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/public/js/socialshareprivacy.cupcakebridge/javascripts/modules/cupcakebridge.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Provides the Flash Proxy service for jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz
3 | */
4 | (function ($, undefined) {
5 | "use strict";
6 |
7 | function get (self, options, uri, settings, name) {
8 | var value = options[name];
9 | if (typeof value === "function") {
10 | return value.call(self, options, uri, settings);
11 | }
12 | return String(value);
13 | }
14 |
15 | $.fn.socialSharePrivacy.settings.services.cupcakebridge = {
16 | 'status' : true,
17 | 'perma_option' : true,
18 | 'dummy_line_img' : 'images/dummy_cupcakebridge.png',
19 | 'dummy_alt' : '"Flash Proxy"',
20 | 'txt_info' : 'Click to enable Flash Proxy',
21 | 'line_img' : 'images/cupcakebridge.png',
22 | 'display_name' : 'Flash Proxy',
23 | 'button' : function (options, uri, settings) {
24 | return $('')
25 | .attr('src', '//crypto.stanford.edu/flashproxy/embed.html');
26 | }
27 | };
28 | })(jQuery);
--------------------------------------------------------------------------------
/pink-snowball/chrome/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Cupcake",
3 | "version": "1.301",
4 | "manifest_version": 2,
5 | "description": "Snowflake for Chrome",
6 | "background": { "scripts": ["snowflake.js", "background.js"]},
7 | "icons": {
8 | "24" : "images/cupcake24.png",
9 | "32" : "images/cupcake36.png",
10 | "38" : "images/cupcake48.png",
11 | "48" : "images/cupcake48.png",
12 | "128" : "images/cupcake128.png"
13 | },
14 | "browser_action": {
15 | "default_icon": "images/cupcake48.png",
16 | "default_title": "Cupcake",
17 | "default_popup": "menu.html"
18 | },
19 | "incognito": "split",
20 | "permissions": [
21 | "http://snowflake-broker.bamsoftware.com/*",
22 | "https://snowflake-broker.bamsoftware.com/*",
23 | "https://snowflake.bamsoftware.com/*",
24 | "http://snowflake.bamsoftware.com/*",
25 | "https://snowflake.bamsoftware.com:443/*"
26 |
27 | "background",
28 | "cookies" ],
29 | "content_security_policy": "script-src 'self' 'unsafe-eval' https://*.stanford.edu/ https://*.bamsoftware.com/ https://*.fp-facilitator.org/; object-src 'self'"
30 | }
31 |
--------------------------------------------------------------------------------
/old_versions/v1/translation_strings/Slovenian/for_use_cupcake_chrome-menu_sl_SI.txt:
--------------------------------------------------------------------------------
1 | Cupcake
2 | Stanje:
3 | Kaj vaše stanje pomeni
4 | Deluje: če je vaše stanje svetlo modre ali temno modre barve, pomeni, da vaš posredovalni strežnik deluje.
5 | Temno modra barva pomeni, da posredniški strežnik deluje, a ga nihče trenutno ne uporablja.
6 | Svetlo modra pomeni, da nekdo uporablja vaš posredovalni strežnik. Krasno!
7 | Ne deluje: če je vaše stanje sivo ali črno, je prišlo do težave in vaš posredniški strežnik ne deluje.
8 | Siva pomeni, da se je dodatek onemogočil. Poizkusite ponovno zagnati brskalnik. Če se problem še naprej ponavlja, morda Cupcakea ne boste mogli uporabljati na tem računalniku.
9 | Črna pomeni, da je prišlo do notranje napake ter, da je posredniški strežnik zaustavljen. Poizkusite ponovno zagnati vaš brskalnik.
10 | Možnosti
11 | Če želite spremeniti vaše možnosti, obiščite stran z možnostmi
12 | Zasluge
13 | O programu
14 | Naredil Griffin, ki ni na noben način povezan s Tor Projectom.
15 | On ima rad muce.
16 | Uporabljaj svojo spremenjeno kopijo tega dodatka na githubu.
17 | Oglejte si še Stanfordov projekt bliskovitega posredniškega strežnika. Njihova koda je omogočila ta projekt.
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/public/js/socialshareprivacy.cupcakebridge/javascripts/localstorage.js:
--------------------------------------------------------------------------------
1 | /*
2 | * jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz
3 | *
4 | * Copyright (c) 2012 Mathias Panzenböck
5 | *
6 | * is released under the MIT License http://www.opensource.org/licenses/mit-license.php
7 | *
8 | * Spread the word, link to us if you can.
9 | */
10 | (function ($, undefined) {
11 | "use strict";
12 |
13 | $.extend($.fn.socialSharePrivacy.settings, {
14 | // Set perma_option to true.
15 | // Initially it is only set to true if jQuery.cookie is available.
16 | perma_option: true,
17 | set_perma_option: function (service_name) {
18 | localStorage.setItem('socialSharePrivacy_'+service_name, 'perma_on');
19 | },
20 | del_perma_option: function (service_name) {
21 | localStorage.removeItem('socialSharePrivacy_'+service_name);
22 | },
23 | // Only one of the two methods "get_perma_options" and "get_perma_option" has
24 | // to be implemented. Though the other has to be set to null, so the default
25 | // cookie based method is not used.
26 | get_perma_options: null,
27 | get_perma_option: function (service_name) {
28 | return localStorage.getItem('socialSharePrivacy_'+service_name) === 'perma_on';
29 | }
30 | });
31 | })(jQuery);
32 |
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/wp-cupcake-bridge.php:
--------------------------------------------------------------------------------
1 | run();
48 |
49 | }
50 | run_wp_cupcake_bridge();
51 |
--------------------------------------------------------------------------------
/license.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2016, Griffin Boyce
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 | * Redistributions of source code must retain the above copyright
7 | notice, this list of conditions and the following disclaimer.
8 | * Redistributions in binary form must reproduce the above copyright
9 | notice, this list of conditions and the following disclaimer in the
10 | documentation and/or other materials provided with the distribution.
11 | * Neither the name of the nor the
12 | names of its contributors may be used to endorse or promote products
13 | derived from this software without specific prior written permission.
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 |
--------------------------------------------------------------------------------
/chrome/license.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2016, Griffin Boyce
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 | * Redistributions of source code must retain the above copyright
7 | notice, this list of conditions and the following disclaimer.
8 | * Redistributions in binary form must reproduce the above copyright
9 | notice, this list of conditions and the following disclaimer in the
10 | documentation and/or other materials provided with the distribution.
11 | * Neither the name of the nor the
12 | names of its contributors may be used to endorse or promote products
13 | derived from this software without specific prior written permission.
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 |
--------------------------------------------------------------------------------
/old_versions/v1.5/opera/license.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2016, Griffin Boyce
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 | * Redistributions of source code must retain the above copyright
7 | notice, this list of conditions and the following disclaimer.
8 | * Redistributions in binary form must reproduce the above copyright
9 | notice, this list of conditions and the following disclaimer in the
10 | documentation and/or other materials provided with the distribution.
11 | * Neither the name of the nor the
12 | names of its contributors may be used to endorse or promote products
13 | derived from this software without specific prior written permission.
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
/old_versions/v1.5/safari/license.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2016, Griffin Boyce
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 | * Redistributions of source code must retain the above copyright
7 | notice, this list of conditions and the following disclaimer.
8 | * Redistributions in binary form must reproduce the above copyright
9 | notice, this list of conditions and the following disclaimer in the
10 | documentation and/or other materials provided with the distribution.
11 | * Neither the name of the nor the
12 | names of its contributors may be used to endorse or promote products
13 | derived from this software without specific prior written permission.
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
/pink-snowball/chrome/license.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2016, Griffin Boyce
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 | * Redistributions of source code must retain the above copyright
7 | notice, this list of conditions and the following disclaimer.
8 | * Redistributions in binary form must reproduce the above copyright
9 | notice, this list of conditions and the following disclaimer in the
10 | documentation and/or other materials provided with the distribution.
11 | * Neither the name of the nor the
12 | names of its contributors may be used to endorse or promote products
13 | derived from this software without specific prior written permission.
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 |
--------------------------------------------------------------------------------
/old_versions/v1.5/chrome/license.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2016, Griffin Boyce
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 | * Redistributions of source code must retain the above copyright
7 | notice, this list of conditions and the following disclaimer.
8 | * Redistributions in binary form must reproduce the above copyright
9 | notice, this list of conditions and the following disclaimer in the
10 | documentation and/or other materials provided with the distribution.
11 | * Neither the name of the nor the
12 | names of its contributors may be used to endorse or promote products
13 | derived from this software without specific prior written permission.
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 |
--------------------------------------------------------------------------------
/old_versions/v1.5/firefox/lib/main.js:
--------------------------------------------------------------------------------
1 | var { ActionButton } = require("sdk/ui/button/action");
2 | var panels = require("sdk/panel");
3 | var self = require("sdk/self");
4 | var pageWorkers = require("sdk/page-worker");
5 |
6 |
7 | var panel = panels.Panel({
8 | contentURL: self.data.url("menu.html"),
9 | width: 370,
10 | height: 600
11 | });
12 |
13 | // Add popup button
14 | var button = ActionButton({
15 | id: "my-button",
16 | label: "my button",
17 | icon: {
18 | "16": "./images/cupcake24.png",
19 | "32": "./images/cupcake32.png",
20 | "64": "./images/cupcake128.png"
21 | },
22 | onClick: onActionBtnClicked
23 | });
24 |
25 | function onActionBtnClicked(state) {
26 | // show popup on click
27 | panel.show({
28 | position: button
29 | });
30 | }
31 |
32 |
33 | // Start a page worker to run flash proxy in. Flash proxy cannot run in current page because it does not
34 | // have any window object
35 | pageWorkers.Page({
36 | contentURL: self.data.url("flashproxy.html"),
37 | contentScriptFile: [self.data.url("commProxy.js")],
38 | contentScriptWhen: "start",
39 | onMessage: function(message) {
40 | console.log("Message received: " + message);
41 | switch(message) {
42 | case "proxy_started":
43 | button.icon = "./images/active_icon.png";
44 | break;
45 | case "proxy_ended":
46 | button.icon = "./images/cupcake48.png";
47 | break;
48 | case "proxy_disabled":
49 | button.icon = "./images/grey_icon.png";
50 | break;
51 | case "proxy_died":
52 | button.icon = "./images/cupcake48.png";
53 | break;
54 | }
55 | }
56 | });
57 |
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/includes/wp-cupcake-bridge-i18n.php:
--------------------------------------------------------------------------------
1 |
26 | */
27 | class Wp_Cupcake_Bridge_i18n {
28 |
29 | /**
30 | * The domain specified for this plugin.
31 | *
32 | * @since 1.0.0
33 | * @access private
34 | * @var string $domain The domain identifier for this plugin.
35 | */
36 | private $domain;
37 |
38 | /**
39 | * Load the plugin text domain for translation.
40 | *
41 | * @since 1.0.0
42 | */
43 | public function load_plugin_textdomain() {
44 |
45 | load_plugin_textdomain(
46 | $this->domain,
47 | false,
48 | dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
49 | );
50 |
51 | }
52 |
53 | /**
54 | * Set the domain equal to that of the specified domain.
55 | *
56 | * @since 1.0.0
57 | * @param string $domain The domain that represents the locale of this plugin.
58 | */
59 | public function set_domain( $domain ) {
60 | $this->domain = $domain;
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/old_versions/v1.5/firefox/data/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | width:350px;
3 | min-height:400px;
4 | overflow-x:hidden;
5 | overflow-y:scroll;
6 | margin: 10px;
7 | padding: 0;
8 | color: #fff;
9 | font-family: Verdana, Helvetica, sans-serif;
10 | font-size: 14px;;
11 | line-height: 1.5em;
12 | background-image: linear-gradient(to right,#1f2632 0%,#28354d 100%);
13 | }
14 |
15 | strong {
16 | color: #E37D92;
17 | }
18 |
19 | a, a:link {
20 | color: #E37D92;
21 | font-weight: normal;
22 | text-decoration: none;
23 | border-bottom:1px dotted #ffffff;
24 | }
25 |
26 | a:visited {
27 | color: #b9939e;
28 | }
29 |
30 | hr {
31 | border: 0;
32 | height: 1px;
33 | background-image: -webkit-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.75), rgba(255,255,255,0));
34 |
35 | }
36 |
37 | p { margin: 0 0 10px 0; padding: 0; text-shadow: 1px 1px 1px #000;
38 | background-color: rgba(17, 9, 56, 0.06);
39 |
40 | }
41 |
42 | h1, h2, h3, h4, h5, h6 { color: #E9C1EE; font-weight: normal; font-family: Verdana, Helvetica, sans-serif; text-align: center;}
43 |
44 | h3 { font-size: 22px; margin: 0 0 10px; padding: 0; }
45 |
46 | #status {
47 | float: left;
48 | }
49 | #statusmeans {
50 | clear: both;
51 | }
52 | #badge-container {
53 | padding: 9px 5px;
54 | display: inline-block;
55 | }
56 | #flashproxy-badge {
57 | border-spacing: 0px;
58 | }
59 | #flashproxy-badge.idle {
60 | background-color: #227;
61 | }
62 | #flashproxy-badge.active {
63 | background-color: #28f;
64 | }
65 | #flashproxy-badge.disabled {
66 | background-color: #777;
67 | }
68 | #flashproxy-badge.dead {
69 | background-color: #111;
70 | }
71 | #flashproxy-badge td {
72 | margin: 0;
73 | padding: 0;
74 | vertical-align: middle;
75 | text-align: center;
76 | }
77 | #flashproxy-badge a img {
78 | border: 0;
79 | }
80 |
--------------------------------------------------------------------------------
/old_versions/v1.5/firefox/data/menu.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Cupcake
6 |
7 |
8 |
9 |
10 |
11 |
What do the icons mean?
12 |
Working: If you see a pink cupcake, your proxy is running.
13 |
A plain pink cupcake means the proxy is running but no one is using it right now.
14 |
A happy cupcake means someone is using your proxy right now. Neat!
15 |
16 |
Not working: In some cases, Cupcake may temporarily disable itself. Usually this is due to internet connection problems or firewall settings.
17 |
A sad grey cupcake means that the badge has disabled itself. You may be behind a firewall that is blocking outgoing connections temporarily (such as at a cafe). Cupcake will automatically reconnect.
Working: If you see a pink cupcake, your proxy is running.
13 |
A plain pink cupcake means the proxy is running but no one is using it right now.
14 |
A happy cupcake means someone is using your proxy right now. Neat!
15 |
16 |
Not working: In some cases, Cupcake may temporarily disable itself. Usually this is due to internet connection problems or firewall settings.
17 |
A sad grey cupcake means that the badge has disabled itself. You may be behind a firewall that is blocking outgoing connections temporarily (such as at a cafe). Cupcake will automatically reconnect.
Working: If you see a pink cupcake, your proxy is running.
13 |
A plain pink cupcake means the proxy is running but no one is using it right now.
14 |
A happy cupcake means someone is using your proxy right now. Neat!
15 |
16 |
Not working: In some cases, Cupcake may temporarily disable itself. Usually this is due to internet connection problems or firewall settings.
17 |
A sad grey cupcake means that the badge has disabled itself. You may be behind a firewall that is blocking outgoing connections temporarily (such as at a cafe). Cupcake will automatically reconnect.
Working: If you see a pink cupcake, your proxy is running.
13 |
A plain pink cupcake means the proxy is running but no one is using it right now.
14 |
A happy cupcake means someone is using your proxy right now. Neat!
15 |
16 |
Not working: In some cases, Cupcake may temporarily disable itself. Usually this is due to internet connection problems or firewall settings.
17 |
A sad grey cupcake means that the badge has disabled itself. You may be behind a firewall that is blocking outgoing connections temporarily (such as at a cafe). Cupcake will automatically reconnect.
Working: If you see a pink cupcake, your proxy is running.
13 |
A plain pink cupcake means the proxy is running but no one is using it right now.
14 |
A happy cupcake means someone is using your proxy right now. Neat!
15 |
16 |
Not working: In some cases, Cupcake may temporarily disable itself. Usually this is due to internet connection problems or firewall settings.
17 |
A sad grey cupcake means that the badge has disabled itself. You may be behind a firewall that is blocking outgoing connections temporarily (such as at a cafe). Cupcake will automatically reconnect.
Working: if your status is light blue or dark blue, your proxy is running.
13 |
Dark blue means the proxy is running but no one is using it right now.
14 |
Light blue means someone is using your proxy right now. Neat!
15 |
16 |
Not working: if your status is grey or black, there was a problem and your proxy is not running.
17 |
Gray means that the badge has disabled itself. Try restarting your browser. If the problem persists, you might not be able to use Cupcake with this computer.
18 |
Black means that there was an internal error and the proxy is no longer running. Try restarting your browser.
22 |
23 |
24 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/old_versions/v1.5/drupal7/cupcake_bridge.module:
--------------------------------------------------------------------------------
1 | t('Cupcake Bridge: iFrame'),
9 | 'cache' => DRUPAL_NO_CACHE,
10 | );
11 | return $blocks;
12 | }
13 |
14 | /**
15 | * Implements hook_block_info().
16 | */
17 | function cupcake_bridge_block_configure($delta) {
18 | $form = array();
19 | switch($delta) {
20 | case 'iframe':
21 | $form['iframe'] = array(
22 | '#type' => 'fieldset',
23 | '#title' => t('iFrame'),
24 | );
25 | $form['iframe']['cupcake_bridge_iframe'] = array(
26 | '#type' => 'radios',
27 | '#title' => t('Choose iframe'),
28 | '#title_display' => 'invisible',
29 | '#options' => array(
30 | 'no_cookie' => t('Cookie not required'),
31 | 'cookierequired' => t('Cookie required'),
32 | ),
33 | '#default_value' => variable_get('cupcake_bridge_iframe', 'no_cookie'),
34 | '#required' => TRUE,
35 | '#description' => t("'Cookie Required' means the iframe will include the cookierequired parameter."),
36 | );
37 | break;
38 | }
39 | return $form;
40 | }
41 |
42 | /**
43 | * Implements hook_block_save().
44 | */
45 | function cupcake_bridge_block_save($delta = '', $edit = array()) {
46 | switch($delta) {
47 | case 'iframe':
48 | variable_set('cupcake_bridge_iframe', $edit['cupcake_bridge_iframe']);
49 | break;
50 | }
51 | }
52 |
53 | /**
54 | * Implements hook_block_view().
55 | */
56 | function cupcake_bridge_block_view($delta = '') {
57 | $block = array();
58 | switch ($delta) {
59 | case 'iframe':
60 | $block['subject'] = '';
61 | $block['content']['#theme'] = 'cupcake_bridge_iframe';
62 | return $block;
63 | }
64 | }
65 |
66 | /**
67 | * Implements hook_theme().
68 | */
69 | function cupcake_bridge_theme() {
70 | $path = drupal_get_path('module', 'cupcake_bridge');
71 | return array(
72 | 'cupcake_bridge_iframe' => array(
73 | 'variables' => array(),
74 | 'template' => 'theme/cupcake-bridge-iframe',
75 | 'file' => 'theme/cupcake_bridge.theme.inc',
76 | ),
77 | );
78 | }
--------------------------------------------------------------------------------
/old_versions/v1/wordpress-simple/cupcake.php:
--------------------------------------------------------------------------------
1 |
13 | All rights reserved.
14 |
15 | Redistribution and use in source and binary forms, with or without
16 | modification, are permitted provided that the following conditions are met:
17 | * Redistributions of source code must retain the above copyright
18 | notice, this list of conditions and the following disclaimer.
19 | * Redistributions in binary form must reproduce the above copyright
20 | notice, this list of conditions and the following disclaimer in the
21 | documentation and/or other materials provided with the distribution.
22 | * Neither the name of the software, the organization, nor the
23 | names of its contributors may be used to endorse or promote products
24 | derived from this software without specific prior written permission.
25 |
26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
27 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
30 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
32 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
33 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
35 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 |
37 | */
38 |
39 | function cupcake() {
40 | $chosen = cupcake_quote();
41 | echo '
';
44 | }
45 |
46 | // Now we set that function up to execute when the footer is called
47 | add_action( 'wp_footer', 'cupcake' );
48 |
49 | // We need some CSS to position errythang
50 | function cupcake_css() {
51 | // This makes sure that the positioning is also good for right-to-left languages
52 | $x = is_rtl() ? 'left' : 'right';
53 |
54 | echo "
55 |
65 | ";
66 | }
67 |
68 | add_action( 'wp_footer', 'cupcake_css' );
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/cupcake.php:
--------------------------------------------------------------------------------
1 |
13 | All rights reserved.
14 |
15 | Redistribution and use in source and binary forms, with or without
16 | modification, are permitted provided that the following conditions are met:
17 | * Redistributions of source code must retain the above copyright
18 | notice, this list of conditions and the following disclaimer.
19 | * Redistributions in binary form must reproduce the above copyright
20 | notice, this list of conditions and the following disclaimer in the
21 | documentation and/or other materials provided with the distribution.
22 | * Neither the name of the software, the organization, nor the
23 | names of its contributors may be used to endorse or promote products
24 | derived from this software without specific prior written permission.
25 |
26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
27 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
30 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
32 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
33 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
35 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 |
37 | */
38 |
39 | function cupcake() {
40 | $chosen = cupcake_quote();
41 | echo '
';
44 | }
45 |
46 | // Now we set that function up to execute when the footer is called
47 | add_action( 'wp_footer', 'cupcake' );
48 |
49 | // We need some CSS to position errythang
50 | function cupcake_css() {
51 | // This makes sure that the positioning is also good for right-to-left languages
52 | $x = is_rtl() ? 'left' : 'right';
53 |
54 | echo "
55 |
65 | ";
66 | }
67 |
68 | add_action( 'wp_footer', 'cupcake_css' );
--------------------------------------------------------------------------------
/old_versions/experiments/flex/demo1.mxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
25 |
26 |
30 |
35 |
36 |
37 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
79 |
80 |
81 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Cupcake Bridge
2 | ===========
3 |
4 | Cupcake Bridge helps users makes bridges automagically! Get the Cupcake browser extension for [Chrome](https://chrome.google.com/webstore/detail/cupcake/dajjbehmbnbppjkcnpdkaniapgdppdnc).
5 |
6 | # Releases
7 | * Chrome - [download on google](https://chrome.google.com/webstore/detail/cupcake/dajjbehmbnbppjkcnpdkaniapgdppdnc)
8 |
9 | The browser extension for Firefox is being rewritten as it has difficulty making websocket connections.
10 |
11 | ### What even is Cupcake?
12 | Cupcake is a wrapper for a pluggable transport called Snowflake. This makes it easy for people who want to contribute some of their bandwidth to create special [Tor](https://torproject.org) pathways that are harder to block. As with all circumvention projects, there's a *lot* more to it than that, but that is the jist.
13 |
14 | Cupcake can be distributed in two ways:
15 | * As a chrome extension (turning your computer in to a temporary pathway)
16 | * As a module/theme/app on popular web platforms (turning every visitor to your site in to a temporary proxy). These are currently being rewritten to accomodate Snowflake.
17 |
18 | ### How to help
19 | The easiest way to help the project is by installing one of the browser extensions. It's not resource intensive at *all* -- Snowflake uses about as much bandwidth in a day as a 5-minute YouTube video.
20 |
21 | * Translation - [Help Out!](https://www.transifex.com/projects/p/cupcake/)
22 |
23 | ### Code notes
24 | #### chrome/manifest.json
25 | - *incognito:split* This is useful during testing, so that incognito won't use cookies from standard browsing mode.
26 | - *incognito:spanning* When deployed, prevents incognito windows from creating additional Cupcake processes. Proxy will continue even if all the browser windows are in incognito mode.
27 | - *permissions:background* is used so that the extension will notify of updates and display the post-installation page. Also used so that Cupcake will start/run on startup, before the browser is started (Windows only).
28 | - *permissions:cookies* allows reading/writing of cookies, but may not be necessary, since Cupcake doesn't currently use the Cookies API.
29 |
30 | ### Security
31 | In 2015, a full security audit of both Cupcake and Flashproxy was conducted by Cure53. Both projects passed the audit with compliments. The full report is [available here](https://github.com/glamrock/cupcake/blob/master/security/audit1.pdf).
32 |
33 | #### Financials
34 | Most of the Cupcake Bridge projects are self-funded by @glamrock, but major modifications to the first versions of Chrome and Firefox extensions were covered under a generous grant from the [Open Tech Fund](https://www.opentech.fund/project/cupcake-bridge) from 2013-2014.
35 |
36 | ### History
37 | Previously, Cupcake included Flashproxy rather than Snowflake. Cupcake has existed since 2012, and Snowflake was created a couple of years after Cupcake. Over time, it became clear that Snowflake was becoming more useful for at-risk users, so I made the switch in early 2019. The old readme is available [here](https://github.com/glamrock/cupcake/blob/master/v1_readme.md).
38 |
39 | ### License
40 | My software is free to use, free to give to friends, & open-source, so everyone can make sure it's safe for people to use. Want to make changes? Go for it! :dog: Cupcake uses the Revised BSD license -- see license.txt for more legal info.
41 |
42 | ### References
43 | [1] https://snowflake.torproject.org/
44 | [2] https://crypto.stanford.edu/flashproxy/
45 |
--------------------------------------------------------------------------------
/old_versions/v1/wordpress/admin/wp-cupcake-bridge-admin.php:
--------------------------------------------------------------------------------
1 |
22 | */
23 |
24 | class Wp_Cupcake_Bridge_Admin {
25 |
26 | /**
27 | * The ID of this plugin.
28 | *
29 | * @since 1.0.0
30 | * @access private
31 | * @var string $plugin_name The ID of this plugin.
32 | */
33 | private $plugin_name;
34 |
35 | /**
36 | * The version of this plugin.
37 | *
38 | * @since 1.0.0
39 | * @access private
40 | * @var string $version The current version of this plugin.
41 | */
42 | private $version;
43 |
44 | /**
45 | * Initialize the class and set its properties.
46 | *
47 | * @since 1.0.0
48 | * @var string $plugin_name The name of this plugin.
49 | * @var string $version The version of this plugin.
50 | */
51 | public function __construct( $plugin_name, $version ) {
52 |
53 | $this->plugin_name = $plugin_name;
54 | $this->version = $version;
55 |
56 | }
57 |
58 | /**
59 | * Add menu item for options page.
60 | *
61 | * @since 1.0.0
62 | */
63 | public function admin_menu() {
64 | add_options_page( 'WP Cupcake Bridge', 'WP Cupcake Bridge', 'manage_options', $this->plugin_name, array($this, 'options_page'));
65 | }
66 |
67 | public function options_page() {
68 | include( plugin_dir_path( dirname( __FILE__ ) ) . 'admin/partials/wp-cupcake-bridge-options.php' );
69 | }
70 |
71 | public function register_setting() {
72 | register_setting( $this->plugin_name, 'wp_cupcake_bridge_iframe_display', 'sanitize_key' );
73 | }
74 |
75 | public function add_settings_section() {
76 | add_settings_section( $this->plugin_name , '', array($this, 'settings_callback'), $this->plugin_name );
77 | }
78 |
79 | public function add_settings_fields() {
80 | add_settings_field( 'wp_cupcake_bridge_radio_on', __('Display'), array($this, 'render_radio_on'), $this->plugin_name, $this->plugin_name );
81 | add_settings_field( 'wp_cupcake_bridge_radio_click', '', array($this, 'render_radio_click'), $this->plugin_name, $this->plugin_name );
82 | }
83 |
84 | public function settings_callback() {
85 | _e('Select method for displaying the Flash Proxy iframe.');
86 | }
87 |
88 | public function render_radio_on() {
89 | $value = get_option('wp_cupcake_bridge_iframe_display', 'click');
90 | $html = '';
92 | echo $html;
93 | }
94 |
95 | public function render_radio_click() {
96 | $value = get_option('wp_cupcake_bridge_iframe_display', 'click');
97 | $html = '';
99 | echo $html;
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/old_versions/experiments/facebook/apps/connect-four/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Connect Four Mark One
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
27 |
44 |
45 |
46 |
47 |
48 |
49 |