pwpush 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/Capfile +8 -0
- data/Gemfile +51 -0
- data/Gemfile.lock +224 -0
- data/LICENSE.txt +674 -0
- data/Procfile +3 -0
- data/README.md +91 -0
- data/Rakefile +8 -0
- data/TODO +21 -0
- data/app.json +21 -0
- data/app/assets/flash/clippy.swf +0 -0
- data/app/assets/flash/github-clippy.swf +0 -0
- data/app/assets/images/apple-touch-icon-ipad.png +0 -0
- data/app/assets/images/apple-touch-icon-ipad3.png +0 -0
- data/app/assets/images/apple-touch-icon-iphone.png +0 -0
- data/app/assets/images/apple-touch-icon-iphone4.png +0 -0
- data/app/assets/images/black_wood.jpg +0 -0
- data/app/assets/images/broken_noise.png +0 -0
- data/app/assets/images/button_down.png +0 -0
- data/app/assets/images/button_over.png +0 -0
- data/app/assets/images/button_up.png +0 -0
- data/app/assets/images/concrete_wall_3.png +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/forkme.png +0 -0
- data/app/assets/images/outlets.png +0 -0
- data/app/assets/images/pwpush_favicon.jpg +0 -0
- data/app/assets/images/pwpush_logo.png +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/javascripts/api.js.coffee +4 -0
- data/app/assets/javascripts/application.js +52 -0
- data/app/assets/javascripts/errors.js.coffee +3 -0
- data/app/assets/javascripts/fd-slider.js +1299 -0
- data/app/assets/javascripts/jquery-cookie.js +117 -0
- data/app/assets/javascripts/jquery.noty.js +520 -0
- data/app/assets/javascripts/layouts/top.js +34 -0
- data/app/assets/javascripts/passwords.js +62 -0
- data/app/assets/javascripts/spoiler.js +101 -0
- data/app/assets/javascripts/themes/default.js +156 -0
- data/app/assets/stylesheets/api.css.scss +3 -0
- data/app/assets/stylesheets/application.css +7 -0
- data/app/assets/stylesheets/errors.css.scss +3 -0
- data/app/assets/stylesheets/fd-slider.css +650 -0
- data/app/assets/stylesheets/global.css.scss +52 -0
- data/app/assets/stylesheets/passwords.css.scss +114 -0
- data/app/assets/stylesheets/users.css.scss +11 -0
- data/app/controllers/api_controller.rb +30 -0
- data/app/controllers/application_controller.rb +23 -0
- data/app/controllers/errors_controller.rb +7 -0
- data/app/controllers/passwords_controller.rb +153 -0
- data/app/controllers/users/omniauth_callbacks_controller.rb +71 -0
- data/app/controllers/views_controller.rb +11 -0
- data/app/helpers/api_helper.rb +2 -0
- data/app/helpers/application_helper.rb +31 -0
- data/app/helpers/errors_helper.rb +2 -0
- data/app/helpers/passwords_helper.rb +2 -0
- data/app/helpers/views_helper.rb +2 -0
- data/app/mailers/.gitkeep +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/password.rb +51 -0
- data/app/models/user.rb +20 -0
- data/app/models/view.rb +4 -0
- data/app/views/api/config.html.haml +2 -0
- data/app/views/api/create.html.haml +2 -0
- data/app/views/api/generate.html.haml +2 -0
- data/app/views/api/list.html.haml +2 -0
- data/app/views/devise/confirmations/new.html.erb +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +16 -0
- data/app/views/devise/passwords/new.html.erb +12 -0
- data/app/views/devise/registrations/edit.html.erb +25 -0
- data/app/views/devise/registrations/new.html.haml +50 -0
- data/app/views/devise/sessions/new.html.haml +51 -0
- data/app/views/devise/shared/_links.erb +25 -0
- data/app/views/devise/unlocks/new.html.erb +12 -0
- data/app/views/errors/error_404.html.haml +21 -0
- data/app/views/errors/error_500.html.haml +21 -0
- data/app/views/layouts/_ga.html.erb +14 -0
- data/app/views/layouts/application.html.haml +41 -0
- data/app/views/pages/about.html.haml +159 -0
- data/app/views/passwords/edit.html.haml +7 -0
- data/app/views/passwords/index.html.haml +17 -0
- data/app/views/passwords/new.html.haml +68 -0
- data/app/views/passwords/show.html.haml +58 -0
- data/app/views/shared/_auth_providers.html.haml +9 -0
- data/app/views/shared/_messages.html.haml +4 -0
- data/app/views/views/_form.html.erb +16 -0
- data/app/views/views/edit.html.erb +8 -0
- data/app/views/views/index.html.erb +21 -0
- data/app/views/views/new.html.erb +5 -0
- data/app/views/views/show.html.erb +20 -0
- data/bin/bundle +13 -0
- data/config.ru +4 -0
- data/config/application.rb +51 -0
- data/config/boot.rb +6 -0
- data/config/capistrano_database_yml.rb +158 -0
- data/config/database.yml +19 -0
- data/config/deploy.rb +140 -0
- data/config/deploy/database.yml.erb +52 -0
- data/config/deploy/local_cap_config.rb.example +54 -0
- data/config/environment.rb +42 -0
- data/config/environments/development.rb +30 -0
- data/config/environments/engineyard.rb +60 -0
- data/config/environments/private.rb +60 -0
- data/config/environments/production.rb +60 -0
- data/config/environments/test.rb +39 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/devise.rb +211 -0
- data/config/initializers/inflections.rb +10 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/secret_token.rb +7 -0
- data/config/initializers/session_store.rb +8 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/devise.en.yml +58 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +16 -0
- data/config/unicorn.rb +22 -0
- data/db/migrate/20111128183630_create_passwords.rb +12 -0
- data/db/migrate/20111228183300_create_views.rb +16 -0
- data/db/migrate/20120102210558_devise_create_users.rb +54 -0
- data/db/migrate/20120102210559_create_rails_admin_histories_table.rb +18 -0
- data/db/migrate/20120102220933_add_admin_to_user.rb +9 -0
- data/db/migrate/20120129211750_add_lockable_to_users.rb +10 -0
- data/db/migrate/20120220172426_add_user_to_password.rb +11 -0
- data/db/migrate/20121105144421_add_deleted_to_password.rb +5 -0
- data/db/migrate/20150323145847_add_first_view_flag.rb +9 -0
- data/db/migrate/20160214205926_add_deletable_to_password.rb +5 -0
- data/db/schema.rb +78 -0
- data/db/seeds.rb +7 -0
- data/log/.gitkeep +0 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +26 -0
- data/public/favicon.ico +0 -0
- data/public/robots.txt +3 -0
- data/script/rails +6 -0
- metadata +226 -0
data/public/500.html
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
data/public/favicon.ico
ADDED
Binary file
|
data/public/robots.txt
ADDED
data/script/rails
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
metadata
ADDED
@@ -0,0 +1,226 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pwpush
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Peter Giacomo Lombardo
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Links to passwords expire after a certain number of views and/or time
|
56
|
+
has passed. Hosted at pwpush.com but you can also easily run your own instance internally
|
57
|
+
or on Heroku with just a few steps.
|
58
|
+
email:
|
59
|
+
- pglombardo@gmail.com
|
60
|
+
executables: []
|
61
|
+
extensions: []
|
62
|
+
extra_rdoc_files: []
|
63
|
+
files:
|
64
|
+
- ".gitignore"
|
65
|
+
- Capfile
|
66
|
+
- Gemfile
|
67
|
+
- Gemfile.lock
|
68
|
+
- LICENSE.txt
|
69
|
+
- Procfile
|
70
|
+
- README.md
|
71
|
+
- Rakefile
|
72
|
+
- TODO
|
73
|
+
- app.json
|
74
|
+
- app/assets/flash/clippy.swf
|
75
|
+
- app/assets/flash/github-clippy.swf
|
76
|
+
- app/assets/images/apple-touch-icon-ipad.png
|
77
|
+
- app/assets/images/apple-touch-icon-ipad3.png
|
78
|
+
- app/assets/images/apple-touch-icon-iphone.png
|
79
|
+
- app/assets/images/apple-touch-icon-iphone4.png
|
80
|
+
- app/assets/images/black_wood.jpg
|
81
|
+
- app/assets/images/broken_noise.png
|
82
|
+
- app/assets/images/button_down.png
|
83
|
+
- app/assets/images/button_over.png
|
84
|
+
- app/assets/images/button_up.png
|
85
|
+
- app/assets/images/concrete_wall_3.png
|
86
|
+
- app/assets/images/favicon.ico
|
87
|
+
- app/assets/images/forkme.png
|
88
|
+
- app/assets/images/outlets.png
|
89
|
+
- app/assets/images/pwpush_favicon.jpg
|
90
|
+
- app/assets/images/pwpush_logo.png
|
91
|
+
- app/assets/images/rails.png
|
92
|
+
- app/assets/javascripts/api.js.coffee
|
93
|
+
- app/assets/javascripts/application.js
|
94
|
+
- app/assets/javascripts/errors.js.coffee
|
95
|
+
- app/assets/javascripts/fd-slider.js
|
96
|
+
- app/assets/javascripts/jquery-cookie.js
|
97
|
+
- app/assets/javascripts/jquery.noty.js
|
98
|
+
- app/assets/javascripts/layouts/top.js
|
99
|
+
- app/assets/javascripts/passwords.js
|
100
|
+
- app/assets/javascripts/spoiler.js
|
101
|
+
- app/assets/javascripts/themes/default.js
|
102
|
+
- app/assets/stylesheets/api.css.scss
|
103
|
+
- app/assets/stylesheets/application.css
|
104
|
+
- app/assets/stylesheets/errors.css.scss
|
105
|
+
- app/assets/stylesheets/fd-slider.css
|
106
|
+
- app/assets/stylesheets/global.css.scss
|
107
|
+
- app/assets/stylesheets/passwords.css.scss
|
108
|
+
- app/assets/stylesheets/users.css.scss
|
109
|
+
- app/controllers/api_controller.rb
|
110
|
+
- app/controllers/application_controller.rb
|
111
|
+
- app/controllers/errors_controller.rb
|
112
|
+
- app/controllers/passwords_controller.rb
|
113
|
+
- app/controllers/users/omniauth_callbacks_controller.rb
|
114
|
+
- app/controllers/views_controller.rb
|
115
|
+
- app/helpers/api_helper.rb
|
116
|
+
- app/helpers/application_helper.rb
|
117
|
+
- app/helpers/errors_helper.rb
|
118
|
+
- app/helpers/passwords_helper.rb
|
119
|
+
- app/helpers/views_helper.rb
|
120
|
+
- app/mailers/.gitkeep
|
121
|
+
- app/models/.gitkeep
|
122
|
+
- app/models/password.rb
|
123
|
+
- app/models/user.rb
|
124
|
+
- app/models/view.rb
|
125
|
+
- app/views/api/config.html.haml
|
126
|
+
- app/views/api/create.html.haml
|
127
|
+
- app/views/api/generate.html.haml
|
128
|
+
- app/views/api/list.html.haml
|
129
|
+
- app/views/devise/confirmations/new.html.erb
|
130
|
+
- app/views/devise/mailer/confirmation_instructions.html.erb
|
131
|
+
- app/views/devise/mailer/reset_password_instructions.html.erb
|
132
|
+
- app/views/devise/mailer/unlock_instructions.html.erb
|
133
|
+
- app/views/devise/passwords/edit.html.erb
|
134
|
+
- app/views/devise/passwords/new.html.erb
|
135
|
+
- app/views/devise/registrations/edit.html.erb
|
136
|
+
- app/views/devise/registrations/new.html.haml
|
137
|
+
- app/views/devise/sessions/new.html.haml
|
138
|
+
- app/views/devise/shared/_links.erb
|
139
|
+
- app/views/devise/unlocks/new.html.erb
|
140
|
+
- app/views/errors/error_404.html.haml
|
141
|
+
- app/views/errors/error_500.html.haml
|
142
|
+
- app/views/layouts/_ga.html.erb
|
143
|
+
- app/views/layouts/application.html.haml
|
144
|
+
- app/views/pages/about.html.haml
|
145
|
+
- app/views/passwords/edit.html.haml
|
146
|
+
- app/views/passwords/index.html.haml
|
147
|
+
- app/views/passwords/new.html.haml
|
148
|
+
- app/views/passwords/show.html.haml
|
149
|
+
- app/views/shared/_auth_providers.html.haml
|
150
|
+
- app/views/shared/_messages.html.haml
|
151
|
+
- app/views/views/_form.html.erb
|
152
|
+
- app/views/views/edit.html.erb
|
153
|
+
- app/views/views/index.html.erb
|
154
|
+
- app/views/views/new.html.erb
|
155
|
+
- app/views/views/show.html.erb
|
156
|
+
- bin/bundle
|
157
|
+
- config.ru
|
158
|
+
- config/application.rb
|
159
|
+
- config/boot.rb
|
160
|
+
- config/capistrano_database_yml.rb
|
161
|
+
- config/database.yml
|
162
|
+
- config/deploy.rb
|
163
|
+
- config/deploy/database.yml.erb
|
164
|
+
- config/deploy/local_cap_config.rb.example
|
165
|
+
- config/environment.rb
|
166
|
+
- config/environments/development.rb
|
167
|
+
- config/environments/engineyard.rb
|
168
|
+
- config/environments/private.rb
|
169
|
+
- config/environments/production.rb
|
170
|
+
- config/environments/test.rb
|
171
|
+
- config/initializers/backtrace_silencers.rb
|
172
|
+
- config/initializers/devise.rb
|
173
|
+
- config/initializers/inflections.rb
|
174
|
+
- config/initializers/mime_types.rb
|
175
|
+
- config/initializers/secret_token.rb
|
176
|
+
- config/initializers/session_store.rb
|
177
|
+
- config/initializers/wrap_parameters.rb
|
178
|
+
- config/locales/devise.en.yml
|
179
|
+
- config/locales/en.yml
|
180
|
+
- config/routes.rb
|
181
|
+
- config/unicorn.rb
|
182
|
+
- db/migrate/20111128183630_create_passwords.rb
|
183
|
+
- db/migrate/20111228183300_create_views.rb
|
184
|
+
- db/migrate/20120102210558_devise_create_users.rb
|
185
|
+
- db/migrate/20120102210559_create_rails_admin_histories_table.rb
|
186
|
+
- db/migrate/20120102220933_add_admin_to_user.rb
|
187
|
+
- db/migrate/20120129211750_add_lockable_to_users.rb
|
188
|
+
- db/migrate/20120220172426_add_user_to_password.rb
|
189
|
+
- db/migrate/20121105144421_add_deleted_to_password.rb
|
190
|
+
- db/migrate/20150323145847_add_first_view_flag.rb
|
191
|
+
- db/migrate/20160214205926_add_deletable_to_password.rb
|
192
|
+
- db/schema.rb
|
193
|
+
- db/seeds.rb
|
194
|
+
- log/.gitkeep
|
195
|
+
- public/404.html
|
196
|
+
- public/422.html
|
197
|
+
- public/500.html
|
198
|
+
- public/favicon.ico
|
199
|
+
- public/robots.txt
|
200
|
+
- script/rails
|
201
|
+
homepage: https://pwpush.com
|
202
|
+
licenses:
|
203
|
+
- GPLv3
|
204
|
+
metadata: {}
|
205
|
+
post_install_message:
|
206
|
+
rdoc_options: []
|
207
|
+
require_paths:
|
208
|
+
- lib
|
209
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: '0'
|
219
|
+
requirements: []
|
220
|
+
rubyforge_project:
|
221
|
+
rubygems_version: 2.6.6
|
222
|
+
signing_key:
|
223
|
+
specification_version: 4
|
224
|
+
summary: PasswordPusher is an opensource Ruby on Rails application to communicate
|
225
|
+
passwords over the web.
|
226
|
+
test_files: []
|