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

Commit

Permalink
Merge pull request #21 from privly/develop
Browse files Browse the repository at this point in the history
Release 0.4.2
  • Loading branch information
smcgregor committed Jan 6, 2016
2 parents 24bc176 + 62bc0e7 commit 81bddb1
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 16 deletions.
8 changes: 7 additions & 1 deletion .jpmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
__MACOSX*
*.sh
*.xpi
*.py
*.zip
*.DS_Store
*~
.jpmignore
Expand All @@ -16,14 +18,18 @@ __MACOSX*
*.template
*.subtemplate
coverage/
node/node_modules/
chrome/content/privly-applications/test/
chrome/content/privly-applications/*/test/*
chrome/content/privly-applications/*/js/tests/
chrome/content/privly-applications/ZeroBin/
# Uncomment these before packaging the extension for Mozilla
#lib/xpcom.js
#lib/test_runner.js
#chrome/content/test/
#chrome/content/vendor/
#node/
#data/content_scripts/test/
#lib/coverage_var.js
chrome/content/privly-applications/vendor/build.py
LICENSE
chrome/content/privly-applications/MIT-LICENSE
Expand Down
40 changes: 34 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
language: node_js
node_js:
- "0.10"

language: ruby
rvm:
- 2.2.4
env:
global:
- DB=mysql
- TRAVIS_LAUNCHES_SAUCE_CONNECT=true # Tell the karma file that it does not need to launch Sauce connect
- RAILS_ENV=development
- secure: pnDzle/Vqa3L286ZC8x8ImDsrXRShwOUnZLZlg5ioC5hb0NlWU7asP0/Bg2tQJRR30GQiMUpxA7VyZCYJes0ICidPqoQLM4XIChRe+m1LH7tIyETZX159p0nVEvUkQ3u1U6aERzEtMcj5LunQn5W2C/LAos2GWwfLgv9FQU01c7dpDrHg6e2fN5ZW7KsbhmDRRkwYGZm38r31zdHNDegJpNdF53rnhM53KCwIcp3KNn9DVEaQIlRWnrIMpb/KYAfQSuiWC7CCyi/qWKrxeAaS5ATpl5+bF6AvLqVlzJPhUK2h+1snGddyb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zLMu6lqftm0+fa8VOEa4iY=#SAUCE_ACCESS_KEY=*****(smcgregor/privly-jetpack)
- 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)
- secure: OWGod/q7wxT0latxSfKHBbST2MK/qkzmvDW6iX+QIwTm7SK3HsVK9PLLvtMCc8Q6vtZlcXHriv8fuCuAwrL9sqSpSncQRVdqU/vqnKb8/JRa+bY6DjjiwnqESsKmThEXEGei7jEsKpbUEdluJetmNRdo9XcVryi6J/6IH7Zxl+U=#SAUCE_USERNAME=privly(privly/privly-jetpack)
- secure: CsXQukttuNXLHElDgdoqtW+MFkfspLgRUXB0SgH7nI/QgktYY1sl4VXbKHQ3WOEYh7Yc8OOOk2dkg3v9Rs9N0/000X2zKgr6FAmFtH0jNUmfoqbeVPhtw6AQbCK5gtditHtngZolIhVypZhzpwZ1feuoRCsdaLnTL80eQoZvxsE=#SAUCE_ACCESS_KEY=*****(privly/privly-jetpack)
- secure: "YznBGaK4uT/nsqo1IFoAZDqVfLURNfnp0DwZe6LbQcEw2fcVB0ZmnAgg02Ueu+13uBxMwHGpLwqLXDn1oXYBf/l6UuiuFyOk1aN4VuATaHlYJeiQOzw20s7RbAvINZoU2FrVX6zAwbszfx2uLoSiJP1LmoaJNYOekxmR7bBOQoM="#SAUCE_URL="http://privly:********-****-****-****-************@ondemand.saucelabs.com:80/wd/hub"(privly/privly-jetpack)
before_install:
- "export DISPLAY=:99.0"
- "/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"

- git submodule update --init --recursive
- git clone https://github.com/privly/privly-web.git # clone the webserver
before_script:
- npm install jpm -g
- cd ..
Expand All @@ -15,6 +26,23 @@ before_script:
- cd node/
- npm install
- cd ..

- cd privly-web
- cp config/database.travis.yml config/database.yml
- mysql -e 'create database privly_test'
- bundle install #Installs the required gems
- rake db:create #Creates the Database
- rake db:schema:load #Loads the Scheme
- rake db:seed #Seeds the DB
- "bundle exec rails server -p 3000 &"
- cd ../chrome/content/privly-applications
- sudo pip install -r requirements.txt
- python build.py --platform chrome
- cd test
- bundle install #Installs gems required for selenium testing
- cd selenium
script:
- "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
- cd $TRAVIS_BUILD_DIR
- ./run_test.sh
addons:
sauce_connect: true
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ This extension currently supports:
* **Augmented Browsing Toggle:** When you turn off Privly injection, the web page you are viewing will be restored to the un-augmented view.
* **Testing Library:** The Jasmine testing library is integrated with the extension.

*This extension is yet to be packaged.*

## Testing/Submitting Bugs ##

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 [email protected] reporting the bug. We will then fix the bug and follow a process of responsible disclosure.
Expand All @@ -34,10 +32,7 @@ There are also unit and Selenium tests, which are found in the privly-applicatio

## Developer Documentation ##

Discussion of system concepts and high level processes are found in the
[central wiki](https://github.com/privly/privly-organization/wiki).

**For more information** on developing for this repository, read [development.md](https://github.com/privly/privly-jetpack/blob/master/development.md) in this directory.
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.

## Resources ##

Expand Down
1 change: 1 addition & 0 deletions chrome.manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
content privly chrome/content/
content privly-icon chrome/content/images/ contentaccessible=yes
Binary file added chrome/content/images/icon_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion chrome/content/privly-applications
Submodule privly-applications updated 60 files
+51 −14 Help/content_server.html
+51 −14 Help/new.html
+53 −16 History/new.html
+51 −14 Index/new.html
+51 −14 Login/new.html
+35 −1 Login/test/new.js
+58 −21 Message/new.html
+1 −1 Message/new.html.subtemplate
+54 −0 Message/seamless.html
+43 −0 Message/seamless_ttlselect.html
+157 −103 Message/show.html
+238 −96 Pages/ChromeFirstRun.html
+84 −16 Pages/ChromeFirstRun.html.subtemplate
+42 −35 Pages/ChromeOptions.html
+1 −1 Pages/ChromeOptions.html.subtemplate
+58 −0 Pages/MessageTest.html
+32 −0 Pages/SeamlessPostingLoginCallback.html
+4 −0 Pages/css/options.css
+ Pages/img/firstrun.gif
+63 −1 Pages/js/first_run.js
+30 −33 Pages/js/options.js
+96 −0 Pages/js/tests/OptionsSpec.js
+73 −0 Pages/js/tests/first_run.js
+54 −17 PlainPost/new.html
+1 −1 PlainPost/new.html.subtemplate
+44 −0 PlainPost/seamless.html
+43 −0 PlainPost/seamless_ttlselect.html
+153 −99 PlainPost/show.html
+6 −4 README.md
+30 −0 ZeroBin/new.html
+9 −1 build.py
+2 −0 development.md
+146 −19 shared/css/top/top.css
+18 −2 shared/javascripts/network_service.js
+2 −0 shared/javascripts/options.js
+26 −25 shared/javascripts/tooltip.js
+44 −18 shared/javascripts/viewAdapters/show.js
+134 −0 shared/test/context_messenger.js
+20 −1 shared/test/options.js
+61 −7 shared/test/tooltip.js
+1 −1 shared/test/viewAdapters/seamless.js
+4 −4 templates/new.html.template
+3 −3 templates/partials/navigation.html.subtemplate
+140 −100 templates/show.html.template
+4 −3 test/Gemfile
+16 −15 test/Gemfile.lock
+1 −1 test/karma.conf-ci.js
+1 −1 test/run_each.sh
+36 −15 test/selenium/configurations.rb
+4 −4 test/selenium/run_all.rb
+1 −1 test/selenium/specs/tc_extension_options.rb
+3 −3 test/selenium/specs/tc_history.rb
+2 −2 test/selenium/specs/tc_message.rb
+5 −5 test/selenium/specs/tc_new.rb
+3 −3 test/selenium/specs/tc_posting_process.rb
+3 −3 test/selenium/specs/tc_privly_button.rb
+15 −8 test/selenium/specs/tc_seamless_posting_forward.rb
+1 −1 test/selenium/specs/tc_show.rb
+3 −1 test/selenium/specs/ts_all_specs.rb
+0 −33 test/selenium/tc_chrome_helper.rb
2 changes: 1 addition & 1 deletion data/content_scripts/posting_process/posting_button.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ postingProcess.addPrivlyButton = function() {
// The button is represented by this span element
var span = document.createElement("span");

span.style.background = "url(https://raw.githubusercontent.com/privly/privly-jetpack/master/data/skin/logo_16.png) no-repeat";
span.style.background = "url(chrome://privly-icon/content/icon_16.png) no-repeat";
span.style.width = "16px";
span.style.height = "16px";
span.style.display = "block";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Privly",
"id": "[email protected]",
"name": "privly",
"version": "0.4.1",
"version": "0.4.2",
"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",
"main": "lib/background_script.js",
"author": "The Privly Foundation",
Expand Down

0 comments on commit 81bddb1

Please sign in to comment.