Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 81bddb1

Browse files
committed
Merge pull request #21 from privly/develop
Release 0.4.2
2 parents 24bc176 + 62bc0e7 commit 81bddb1

8 files changed

Lines changed: 46 additions & 16 deletions

File tree

.jpmignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
__MACOSX*
44
*.sh
55
*.xpi
6+
*.py
7+
*.zip
68
*.DS_Store
79
*~
810
.jpmignore
@@ -16,14 +18,18 @@ __MACOSX*
1618
*.template
1719
*.subtemplate
1820
coverage/
19-
node/node_modules/
2021
chrome/content/privly-applications/test/
2122
chrome/content/privly-applications/*/test/*
23+
chrome/content/privly-applications/*/js/tests/
24+
chrome/content/privly-applications/ZeroBin/
2225
# Uncomment these before packaging the extension for Mozilla
2326
#lib/xpcom.js
2427
#lib/test_runner.js
2528
#chrome/content/test/
2629
#chrome/content/vendor/
30+
#node/
31+
#data/content_scripts/test/
32+
#lib/coverage_var.js
2733
chrome/content/privly-applications/vendor/build.py
2834
LICENSE
2935
chrome/content/privly-applications/MIT-LICENSE

.travis.yml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
language: node_js
2-
node_js:
3-
- "0.10"
4-
1+
language: ruby
2+
rvm:
3+
- 2.2.4
4+
env:
5+
global:
6+
- DB=mysql
7+
- TRAVIS_LAUNCHES_SAUCE_CONNECT=true # Tell the karma file that it does not need to launch Sauce connect
8+
- RAILS_ENV=development
9+
- secure: pnDzle/Vqa3L286ZC8x8ImDsrXRShwOUnZLZlg5ioC5hb0NlWU7asP0/Bg2tQJRR30GQiMUpxA7VyZCYJes0ICidPqoQLM4XIChRe+m1LH7tIyETZX159p0nVEvUkQ3u1U6aERzEtMcj5LunQn5W2C/LAos2GWwfLgv9FQU01c7dpDrHg6e2fN5ZW7KsbhmDRRkwYGZm38r31zdHNDegJpNdF53rnhM53KCwIcp3KNn9DVEaQIl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BylyHEYF4DTdsYcWW5PNiNeaCJLqYm5dgP/Wv7jiz4GtMnRFercRzrS/WDKHNeVZHfaXnzLMu6lqftm0+fa8VOEa4iY=#SAUCE_ACCESS_KEY=*****(smcgregor/privly-jetpack)
11+
- secure: "JSLv0NcutkRFvss0APhX18RoTXmjS+L99e5GQl3uzstf+JOdBGLbhM7lrEXDjJs9guDDCKgW/oMwmQVhSHz+jUf0NJbxM3tBhHPPz4I9l5r6oMoBnRTaABsWSxts8PrAWjhFPIavCdJWtmCe98wgiN3RyKgKmqJ6yuyv9Eb+3xD3BVUvJKjaQmSPIgUnU3HvxPbyFPYbZiuIAX3Mb5RgYo7Pxc8EfwHY2nva8uWOnSoGJJKcCoJuv4BYGwXDLqbI9dWzoyYJ81alqxdMhJyDDMpoyQwvIOjJi03WOAgWgQo2H8Iwes6Hc5u9jfwrdm/eLsxqX2BGRkYudMqnMb9+Nit6kHNNea39Ls7kZufnRw9vcACFp9L28fmI6kk/8RVb1OcEtlAIR2M5344ZzLSbDfr/WfXhmK+vW1LBPSy1NN3Jg+XGVrcEPz/m9lGXaubDnWzeHEd1WGqp78iBCFmybcYwuPlegLniWXfNgo05Q3jBiYUSYZ0VlvAqMCzsUMtyty0xEJg6dURiMTGIW6vJ5XGfKRQm/PjZ6bb+ER43ZoJ51EDiEunPYHMNF6WlY1LPgVpeUE5E5kngkPo/RMp1O74k8Sssl0UWL/Pu7vbFAWhzZodyXZUMnQXax34/lkfCrKK3LHoAsOr9VFRkuXd5tVi2YXhnk2SZpnQ4UI4dTT4="#SAUCE_URL="http://smcgregor:********-****-****-****-************@ondemand.saucelabs.com:80/wd/hub"(smcgregor/privly-jetpack)
12+
- secure: OWGod/q7wxT0latxSfKHBbST2MK/qkzmvDW6iX+QIwTm7SK3HsVK9PLLvtMCc8Q6vtZlcXHriv8fuCuAwrL9sqSpSncQRVdqU/vqnKb8/JRa+bY6DjjiwnqESsKmThEXEGei7jEsKpbUEdluJetmNRdo9XcVryi6J/6IH7Zxl+U=#SAUCE_USERNAME=privly(privly/privly-jetpack)
13+
- secure: CsXQukttuNXLHElDgdoqtW+MFkfspLgRUXB0SgH7nI/QgktYY1sl4VXbKHQ3WOEYh7Yc8OOOk2dkg3v9Rs9N0/000X2zKgr6FAmFtH0jNUmfoqbeVPhtw6AQbCK5gtditHtngZolIhVypZhzpwZ1feuoRCsdaLnTL80eQoZvxsE=#SAUCE_ACCESS_KEY=*****(privly/privly-jetpack)
14+
- secure: "YznBGaK4uT/nsqo1IFoAZDqVfLURNfnp0DwZe6LbQcEw2fcVB0ZmnAgg02Ueu+13uBxMwHGpLwqLXDn1oXYBf/l6UuiuFyOk1aN4VuATaHlYJeiQOzw20s7RbAvINZoU2FrVX6zAwbszfx2uLoSiJP1LmoaJNYOekxmR7bBOQoM="#SAUCE_URL="http://privly:********-****-****-****-************@ondemand.saucelabs.com:80/wd/hub"(privly/privly-jetpack)
515
before_install:
616
- "export DISPLAY=:99.0"
717
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
8-
18+
- git submodule update --init --recursive
19+
- git clone https://github.com/privly/privly-web.git # clone the webserver
920
before_script:
1021
- npm install jpm -g
1122
- cd ..
@@ -15,6 +26,23 @@ before_script:
1526
- cd node/
1627
- npm install
1728
- cd ..
18-
29+
- cd privly-web
30+
- cp config/database.travis.yml config/database.yml
31+
- mysql -e 'create database privly_test'
32+
- bundle install #Installs the required gems
33+
- rake db:create #Creates the Database
34+
- rake db:schema:load #Loads the Scheme
35+
- rake db:seed #Seeds the DB
36+
- "bundle exec rails server -p 3000 &"
37+
- cd ../chrome/content/privly-applications
38+
- sudo pip install -r requirements.txt
39+
- python build.py --platform chrome
40+
- cd test
41+
- bundle install #Installs gems required for selenium testing
42+
- cd selenium
1943
script:
44+
- "if [ ${TRAVIS_PULL_REQUEST} = 'false' ]; then ruby run_all.rb -p sauce_firefox_extension -r experimental -c http://localhost:3000; fi" # Don't run on pull requests
45+
- cd $TRAVIS_BUILD_DIR
2046
- ./run_test.sh
47+
addons:
48+
sauce_connect: true

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ This extension currently supports:
2424
* **Augmented Browsing Toggle:** When you turn off Privly injection, the web page you are viewing will be restored to the un-augmented view.
2525
* **Testing Library:** The Jasmine testing library is integrated with the extension.
2626

27-
*This extension is yet to be packaged.*
28-
2927
## Testing/Submitting Bugs ##
3028

3129
Extension integration test cases are found at [test.privly.org](http://test.privly.org). If you have discovered a bug, only [open a public issue](https://github.com/privly/privly-jetpack/issues/new) on GitHub if it could not possibly be a security related bug. If the bug affects the security of the system, please send an email to privly@privly.org reporting the bug. We will then fix the bug and follow a process of responsible disclosure.
@@ -34,10 +32,7 @@ There are also unit and Selenium tests, which are found in the privly-applicatio
3432

3533
## Developer Documentation ##
3634

37-
Discussion of system concepts and high level processes are found in the
38-
[central wiki](https://github.com/privly/privly-organization/wiki).
39-
40-
**For more information** on developing for this repository, read [development.md](https://github.com/privly/privly-jetpack/blob/master/development.md) in this directory.
35+
Visit the [developer guide](https://priv.ly/pages/develop) for in depth development information. You should also read [development.md](https://github.com/privly/privly-jetpack/blob/master/development.md) in this directory.
4136

4237
## Resources ##
4338

chrome.manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
content privly chrome/content/
2+
content privly-icon chrome/content/images/ contentaccessible=yes

chrome/content/images/icon_16.png

3.05 KB
Loading

chrome/content/privly-applications

Submodule privly-applications updated 60 files

data/content_scripts/posting_process/posting_button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ postingProcess.addPrivlyButton = function() {
2727
// The button is represented by this span element
2828
var span = document.createElement("span");
2929

30-
span.style.background = "url(https://raw.githubusercontent.com/privly/privly-jetpack/master/data/skin/logo_16.png) no-repeat";
30+
span.style.background = "url(chrome://privly-icon/content/icon_16.png) no-repeat";
3131
span.style.width = "16px";
3232
span.style.height = "16px";
3333
span.style.display = "block";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"title": "Privly",
33
"id": "privly@priv.ly",
44
"name": "privly",
5-
"version": "0.4.1",
5+
"version": "0.4.2",
66
"description": "Privly enables you to post and read private content through any website without those websites storing or reading your content. This extension is still experimental. For more information on Privly development, go to https://priv.ly/pages/develop",
77
"main": "lib/background_script.js",
88
"author": "The Privly Foundation",

0 commit comments

Comments
 (0)