Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
662 commits
Select commit Hold shift + click to select a range
73b6155
Upgraded bundler gem
jasnow Nov 28, 2018
69bea8e
Upgraded capybara gem
jasnow Nov 29, 2018
1d4eb24
Upgraded test-unit gem
jasnow Dec 1, 2018
96be1a3
Upgraded pry-rails gem
jasnow Dec 2, 2018
795387a
Upgraded rubocop gem
jasnow Dec 5, 2018
2cb5157
Merge pull request #357 from jasnow/master
Dec 5, 2018
4539072
Upgraded rubocop gem
jasnow Dec 6, 2018
6be75b4
Upgraded rake gem
jasnow Dec 7, 2018
9b8676a
Upgraded i18n gem
jasnow Dec 11, 2018
c572c34
Upgraded concurrent-ruby and rb-inotify gems
jasnow Dec 16, 2018
e3f1026
Upgraded [mini_portile2, nokogiri] gems
jasnow Dec 17, 2018
599f22c
Upgraded nokogiri gem
jasnow Dec 18, 2018
407d886
Upgraded erubi gem
jasnow Dec 19, 2018
49bb5e7
Upgraded i18n and bundler gems
jasnow Dec 20, 2018
ee9bf13
Upgraded unicode-display_width gem
jasnow Dec 21, 2018
d8955bb
Fixed i18n.fallbacks warning msg
jasnow Dec 26, 2018
112692f
Merge pull request #358 from jasnow/master
Dec 26, 2018
feae0ec
Upgraded pry-rails gem
jasnow Dec 30, 2018
a6d4fa1
Upgraded bundler and rubocop gems
jasnow Jan 1, 2019
0f23ef9
Upgraded i18n gem
jasnow Jan 1, 2019
79cf582
Removed 'gem install bundler' line
jasnow Jan 3, 2019
d7b60ad
Upgraded jaro_winkler gem
jasnow Jan 4, 2019
4c74b75
Upgraded [nokogiri, sass] gems
jasnow Jan 4, 2019
9621647
Upgraded i18n gem
jasnow Jan 7, 2019
6039ecc
Upgraded aruba gem
jasnow Jan 9, 2019
f95c99b
Upgraded globalid gem
jasnow Jan 11, 2019
96802f7
Upgraded nokogiri gem
jasnow Jan 13, 2019
e2e817a
Upgraded i18n gem
jasnow Jan 15, 2019
47a548d
Upgraded [parser, rubocop] gems
jasnow Jan 16, 2019
b7e5a75
Upgraded parallel gem
jasnow Jan 17, 2019
16fd38a
Upgraded brakeman gem
jasnow Jan 18, 2019
2e49699
Upgraded [addressable, bundler-audit, rspec-rails] gems
jasnow Jan 18, 2019
12dbcbf
Upgraded responders gem
jasnow Jan 21, 2019
19e64bb
Upgraded i18n gem
jasnow Jan 22, 2019
adb902a
Upgraded rubocop gem
jasnow Jan 22, 2019
91da9b5
Upgraded test-unit gem
jasnow Jan 23, 2019
4e65c6f
Upgraded capybara gem
jasnow Jan 24, 2019
003d930
Upgraded capybara gem
jasnow Jan 24, 2019
bc9cf8f
Upgraded Ruby to 2.6.1
jasnow Jan 30, 2019
72a0a63
Upgraded Ruby to 2.6.1/fix
jasnow Jan 30, 2019
cdf6490
Upgraded [aruba, childprocess] gems
jasnow Feb 4, 2019
e4a1292
Locked down sqlite3 gem because 1.4 has regression
jasnow Feb 7, 2019
e5b072f
Upgraded rubocop gem
jasnow Feb 10, 2019
07d828d
Upgraded better_errors gem
jasnow Feb 15, 2019
ecfcf7f
Merge pull request #359 from jasnow/master
Feb 15, 2019
098b086
Upgrade [psych, rubocop] gems
jasnow Feb 19, 2019
36a0754
Upgraded backports gem
jasnow Feb 20, 2019
7a58d64
Upgraded json gem
jasnow Feb 22, 2019
54f4ee7
Upgraded capybara gem
jasnow Feb 25, 2019
3a24058
Upgraded parallel gem
jasnow Feb 25, 2019
cdaed52
Upgraded [ffi, sassc] gems
jasnow Feb 26, 2019
b16d8e9
Upgraded i18n gem
jasnow Mar 3, 2019
d2e5a55
Upgraded unicorn gem
jasnow Mar 4, 2019
bb29210
Upgraded concurrent-ruby gem
jasnow Mar 11, 2019
3fcfcc3
Upgraded to Ruby 2.6.2; Downgraded bundler to 1.17.2
jasnow Mar 13, 2019
788c522
Upgraded to Ruby 2.6.2 in more files
jasnow Mar 13, 2019
d79fd12
Upgraded Rails to 5.1.6.2
jasnow Mar 13, 2019
bcfb3ba
Upgraded brakeman gem
jasnow Mar 16, 2019
a946c54
Upgraded [aruba, unicode-display_width, rubocop] gems
jasnow Mar 18, 2019
cbf8462
Upgraded [capybara, puma] gems
jasnow Mar 19, 2019
7696039
Upgraded parser gem
jasnow Mar 21, 2019
bc5a4c2
Upgrade rails to 5.1.7.rc1
jasnow Mar 22, 2019
298c306
Upgraded power_assert gem
jasnow Mar 24, 2019
ff75b71
Upgraded [nokogiri, parallel] gems
jasnow Mar 25, 2019
64c11be
Upgraded [parallel, test-unit] gems
jasnow Mar 27, 2019
04b2d9e
Upgraded Rails to 5.1.7
jasnow Mar 28, 2019
b336177
Upgraded parallel gem
jasnow Mar 28, 2019
354aa95
Upgraded capybara gem
jasnow Mar 28, 2019
56016f8
Upgraded parallel gem
jasnow Mar 29, 2019
85e70bd
Upgraded capybara gem
jasnow Mar 30, 2019
8194a36
Upgraded parallel gem
jasnow Apr 1, 2019
78f3cf7
Upgraded regexp_parser gem
jasnow Apr 2, 2019
9416903
Upgraded rack gem
jasnow Apr 2, 2019
8690383
Upgraded sass gem
jasnow Apr 4, 2019
4d73d4d
Upgraded rubocop gem
jasnow Apr 4, 2019
944a725
Upgraded [backports, rubocop] gems
jasnow Apr 5, 2019
d12f058
Upgraded parser gem
jasnow Apr 6, 2019
1f1bcb8
Merge pull request #360 from jasnow/master
Apr 6, 2019
cbc78a3
Removed [brakeman, guard-brakeman] gems per request
jasnow Apr 6, 2019
0535606
Merge pull request #361 from jasnow/master
Apr 6, 2019
327ad4c
Upgraded capybara and test-unit gem
jasnow Apr 11, 2019
45f73d9
Removed '.sudo: false' in .travis.yml file
jasnow Apr 15, 2019
787d5a7
Upgraded Ruby to 2.6.3
jasnow Apr 18, 2019
db480f6
Upgraded capybara gem
jasnow Apr 18, 2019
70aa7f1
Upgraded rspec-expectations gem
jasnow Apr 22, 2019
8a9be1b
Upgraded nokogiri gem
jasnow Apr 22, 2019
5d85285
Upgraded capybara gem
jasnow Apr 22, 2019
8e77d58
Upgraded rspec-rails to 4.0.0.beta2
jasnow Apr 27, 2019
67bf0fb
Upgraded parser gem
jasnow Apr 29, 2019
a998c05
Upgraded backports and rubocop gems
jasnow Apr 30, 2019
699a045
Upgraded rubocop gem
jasnow Apr 30, 2019
554638f
Upgraded unicorn gem
jasnow May 6, 2019
0d647f2
Upgraded capybara gem
jasnow May 9, 2019
39a70dd
Upgraded test-unit gem
jasnow May 10, 2019
0381459
Upgraded capybara gem
jasnow May 11, 2019
70ac5d6
Removed sqlite3's gem number from Gemfile file
jasnow May 12, 2019
8a7004c
Upgraded [rubocop, unicode-display_width] gems
jasnow May 13, 2019
6fc61b9
Upgraded capybara gem
jasnow May 15, 2019
3f8ff72
Upgraded [backports, regexp_parser] gems
jasnow May 15, 2019
476e4f0
Upgraded [capybara, ffi] gems
jasnow May 18, 2019
be03726
Upgraded capybara gem
jasnow May 20, 2019
4d46fbd
Upgraded [ffi, rubocop] gems
jasnow May 21, 2019
6837fc8
Upgraded regexp_parser gem
jasnow May 24, 2019
c1ee4f7
Upgraded capybara gem
jasnow May 24, 2019
b42c2b2
Upgraded public_suffix gem
jasnow May 27, 2019
44c63a7
Upgraded ruby-progressbar and ruby-prof gems
jasnow May 28, 2019
ce04e1d
Upgraded capybara gem
jasnow May 30, 2019
38bc1a9
Upgraded rubocop gem
jasnow May 30, 2019
1590263
Upgraded bcrypt gem
jasnow Jun 4, 2019
7a478e8
Upgraded rubocop-github and rubocop-performance gems
jasnow Jun 7, 2019
eddcf46
Upgraded aruba gem
jasnow Jun 9, 2019
52a1b6b
Upgraded websocket-extensions gem
jasnow Jun 10, 2019
072ee4d
Upgraded capybara gem
jasnow Jun 10, 2019
88472e4
Upgraded [rspec-expectations, rspec-support] gems
jasnow Jun 10, 2019
c8d392a
Upgraded docile gem
jasnow Jun 12, 2019
6a901af
Upgraded rspec-mocks gem
jasnow Jun 13, 2019
98b0a59
Upgraded [jquery-rails, rspec-core] gems
jasnow Jun 14, 2019
210c3fd
Upgraded bundler and capybara gems
jasnow Jun 14, 2019
4cf4b56
Upgraded jaro_winkler gem
jasnow Jun 18, 2019
3106ae3
Moved from sass-rails to sassc-rails gem
jasnow Jun 18, 2019
5262733
Upgraded responders gem
jasnow Jun 22, 2019
b12a06d
Upgraded rubocop gem
jasnow Jun 25, 2019
09f4839
Upgraded puma gem
jasnow Jun 25, 2019
f63deaf
Upgraded public_suffix gem
jasnow Jun 25, 2019
45f65ab
Fixed capybara gem
jasnow Jun 28, 2019
9784b13
Upgraded rspec-core gem
jasnow Jun 29, 2019
ed47053
Upgraded simplecov gem
jasnow Jul 2, 2019
94fc5cb
Upgraded nio4r gem
jasnow Jul 7, 2019
0868ed8
Upgraded mini_mime gem
jasnow Jul 8, 2019
f879a6c
Upgraded puma gem
jasnow Jul 11, 2019
3c331a8
Upgraded [capybara, rubocop] gems
jasnow Jul 16, 2019
27a178d
Upgraded regexp_parser gem
jasnow Jul 16, 2019
20b758f
Upgraded childprocess and aruba gems
jasnow Jul 19, 2019
12947d0
Upgraded rake gem
jasnow Jul 22, 2019
3a6eb1e
Upgraded capybara gem
jasnow Jul 29, 2019
c3a29c9
Upgraded [notiffany, ruby-prof] gems
jasnow Jul 31, 2019
e2d69e1
Upgraded rubocop gem
jasnow Jul 31, 2019
6bbf66a
Upgraded notiffany gem
jasnow Aug 3, 2019
a94f934
Upgraded capybara gem
jasnow Aug 3, 2019
5263750
Update rails-html-sanitizer gem
jasnow Aug 5, 2019
ebc2248
Upgraded puma gem
jasnow Aug 8, 2019
da87e5d
Upgraded rails-html-sanitizer gem
jasnow Aug 9, 2019
67a4f03
Upgraded power_assrt gem
jasnow Aug 11, 2019
2d803f7
Upgraded nokogiri gem
jasnow Aug 12, 2019
2f34b19
Upgraded sassc gem
jasnow Aug 19, 2019
4bce5da
Upgraded [nio4r, sassc] gems
jasnow Aug 28, 2019
b72349b
Upgraded nio4r gem + Ruby version
jasnow Aug 28, 2019
a7b94be
Upgraded gem(s): [addressable,parser,public_suffix]
jasnow Aug 31, 2019
200acb0
Upgraded guard gem
jasnow Sep 2, 2019
9546144
Upgraded capybara gem
jasnow Sep 2, 2019
e50833f
Upgraded puma gem
jasnow Sep 9, 2019
69e359c
Merge pull request #366 from jasnow/master
Sep 9, 2019
7d6e495
Upgraded Ruby to 2.7.0-preview1 and Rails to 6.0.0 - fixed 1 spec
jasnow Sep 9, 2019
ea30036
Fixed .travis.yml build
jasnow Sep 9, 2019
5224037
Upgrade parser gem
jasnow Sep 11, 2019
b26eacf
Upgraded simplecov gem
jasnow Sep 16, 2019
f080457
Merge pull request #367 from jasnow/master
Sep 17, 2019
8f98df2
Upgraded [sassc, turbolinks] gems
jasnow Sep 18, 2019
3e84d15
Upgraded minitest and puma gems
jasnow Sep 23, 2019
5beb415
Upgraded tilt gem
jasnow Sep 23, 2019
348e02d
Upgraded nio4r gem
jasnow Sep 24, 2019
c4ec108
Upgraded [aruba, childprocess, erubi, overcommit, uglifier] gems
jasnow Sep 26, 2019
29d7a07
Upgraded rake gem
jasnow Sep 27, 2019
f382d10
Upgraded minitest gems
jasnow Sep 28, 2019
2287c11
Upgraded loofah gem
jasnow Sep 28, 2019
1e35f17
Upgraded minitest gem
jasnow Sep 29, 2019
e1b49b2
Upgraded test-unit gem
jasnow Sep 30, 2019
6bbd059
Upgraded rubocop gem
jasnow Oct 1, 2019
d2b6c49
Merge pull request #369 from jasnow/master
Oct 1, 2019
9591b55
Upgraded listen gem
jasnow Oct 2, 2019
f6fd890
Upgraded [rspec-expectations, rspec-mocks, rspec-support] gems
jasnow Oct 2, 2019
1190854
Upgraded parser gem
jasnow Oct 3, 2019
3a03f7c
Upgraded [i18n, parallel, puma, rails-html-sanitizer, rspec-expectati…
jasnow Oct 7, 2019
360c695
Upgraded [rspec, rspec-core, rspec-expectations, rspec-mocks, rspec-s…
jasnow Oct 8, 2019
fd84fff
Upgraded [foreman, sprockets, zeitwerk] gems
jasnow Oct 9, 2019
7312fc1
Upgraded multi_json gem
jasnow Oct 14, 2019
a45cfd8
Upgraded [multi_json, rubocop, bundler] gems
jasnow Oct 15, 2019
4f048cf
Upgraded crass gem
jasnow Oct 16, 2019
f6248e6
Upgraded rspece-rails to 4.0.0.beta3
jasnow Oct 18, 2019
98968ce
Upgraded loofah gem
jasnow Oct 22, 2019
cdb4268
Upgraded rubocop gem
jasnow Oct 29, 2019
a8a7363
Upgraded [jaro_winkler, minitest] gems
jasnow Oct 30, 2019
2e4ee2e
Upgraded guard gem
jasnow Oct 31, 2019
b9ea5ef
Upgraded nokogiri gem
jasnow Oct 31, 2019
13f4076
Upgrade [zeitwerk, guard] gems
jasnow Nov 1, 2019
f120e21
Downgraded Ruby to 2.6.5
jasnow Nov 5, 2019
bcdbe69
Merge pull request #371 from jasnow/master
Nov 5, 2019
96944bc
clean up insecure_dor_spec
Nov 20, 2019
6a207da
clean up url_access_spec
Nov 20, 2019
7d52717
clean up insecure_dor_spec
Nov 20, 2019
cebc706
clean up unvalidated_redirects_spec
Nov 20, 2019
45c40e4
update tutorial links
Nov 20, 2019
937d8d1
clean up mass_assignment_spec
Nov 20, 2019
bc36470
validate root is localhost in redirect_spec
Nov 21, 2019
92ab072
updated Dockerfile group permissions to support openshift
relotnek Feb 29, 2020
bd1d24d
update database.yml to support openshift posgresql db
relotnek Feb 29, 2020
d5e0390
added pg gem for postgres support
relotnek Feb 29, 2020
1ec7782
pg update and config.hosts
relotnek Feb 29, 2020
1acddec
added openshift configs
relotnek Mar 1, 2020
7f1071c
railsgoat service
relotnek Mar 1, 2020
348da65
finished README for openshift
relotnek Mar 1, 2020
40ea02a
changed repo in instructions for openshift
relotnek Mar 1, 2020
b32056a
fixed Gemfile
relotnek Mar 1, 2020
1e00460
updated Gemfile.lock
relotnek Mar 1, 2020
87d254e
Fix decryption IV
presidentbeef Mar 18, 2020
55147fd
Remove unused dashboard README link
presidentbeef Mar 18, 2020
c7f96e3
Merge pull request #377 from presidentbeef/fix_decryption_iv
Mar 19, 2020
d7a1235
Merge pull request #378 from presidentbeef/remove_dashboard_readme_link
Mar 19, 2020
fdc4514
Merge pull request #372 from rifkinni/clean_up_specs
Mar 19, 2020
b4097ab
Strip whitespace from email when logging in
presidentbeef Mar 25, 2020
aefa0d5
Fix alert box on account settings
presidentbeef Mar 25, 2020
43ed4e2
Fix alert boxes on bank account settings page
presidentbeef Mar 26, 2020
6ac2b67
Fix missing < on bonus work info
presidentbeef Mar 27, 2020
2e22bb7
Merge pull request #381 from presidentbeef/fix_bonus_html
Apr 5, 2020
36473aa
Merge pull request #380 from presidentbeef/fix_alert_box_profile_sett…
Apr 5, 2020
54d0beb
Merge pull request #379 from presidentbeef/strip_whitespace_email_at_…
Apr 5, 2020
1329ddc
Squashing changes associated with pg
relotnek Apr 17, 2020
e64cdeb
added openshift group to dockerfile
relotnek Apr 17, 2020
251cba2
updated Gemfile to include openshift group
relotnek Apr 17, 2020
5e1f6f1
minor mistake with permission order in Dockerfile
relotnek Apr 17, 2020
193ed25
fixing Dockerfile mistakes so that it will build
relotnek Apr 17, 2020
23daf33
Center company name on password reset pages
presidentbeef May 14, 2020
28896a7
Center company name on login page
presidentbeef May 14, 2020
6216d34
Merge remote-tracking branch 'upstream/master' into openshift
relotnek Jun 8, 2020
1570fc3
Openshift specific Dockerfile
relotnek Jun 8, 2020
df6f618
Document Dockerfile changes
relotnek Jun 8, 2020
66aaae1
Merge pull request #383 from presidentbeef/center_that_company_name
Jun 18, 2020
c49130a
Merge pull request #376 from relotnek/openshift
Jun 18, 2020
b7e6dd0
merged in Ken Tolers PR without the updated gemfile.lock - whoops
Jun 18, 2020
16d7c29
Bump websocket-extensions from 0.1.4 to 0.1.5
dependabot[bot] Jun 23, 2020
d5ab039
Bump puma from 4.2.1 to 4.3.5
dependabot[bot] Jun 23, 2020
808c265
Bump rack from 2.0.7 to 2.2.3
dependabot[bot] Jun 25, 2020
f4df50d
feat: add password minimum to placeholder text
eliblock Jul 9, 2020
34d7a93
Bump json from 2.2.0 to 2.3.1
dependabot[bot] Jul 28, 2020
0251897
Merge pull request #389 from OWASP/dependabot/bundler/json-2.3.1
Dec 21, 2020
9e2e4cb
Merge pull request #384 from OWASP/dependabot/bundler/websocket-exten…
Dec 21, 2020
f760400
Merge pull request #385 from OWASP/dependabot/bundler/puma-4.3.5
Dec 21, 2020
eaac1dc
Merge pull request #386 from OWASP/dependabot/bundler/rack-2.2.3
Dec 21, 2020
0fb8cfd
Bump nokogiri from 1.10.5 to 1.10.10
dependabot[bot] Dec 21, 2020
797935b
Merge pull request #388 from eliblock/eb-hint-password-policy
Dec 21, 2020
b4d7dd9
Merge pull request #391 from OWASP/dependabot/bundler/nokogiri-1.10.10
Dec 21, 2020
0d59801
fix bundle version&mimemagic gpl version
tkmru Apr 27, 2021
67e597c
improve accessibility
tdtds Apr 30, 2021
4d1c18d
fix api does not work
tdtds Apr 30, 2021
4c0ffac
Merge pull request #405 from tkmru/fix-bundle-mimemagic
May 24, 2021
fc6c344
add setup for mac apple silicon
horvatic Mar 15, 2022
ab9fee8
Merge pull request #429 from horvatic/master
Aug 16, 2022
1349ede
Merge pull request #407 from tdtds/fix/api
Aug 16, 2022
3cc409a
Merge pull request #406 from tdtds/improve_a11y
Aug 16, 2022
000b23c
Upgrade to Ruby 3.3.8 and Rails 7.1.5
magnologan Jul 22, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .cane

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.elasticbeanstalk/
.DS_Store
/public/data
/public/assets
*.png
coverage
.tags
Expand Down
9 changes: 9 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
inherit_gem:
rubocop-github:
- config/default.yml
- config/rails.yml


Rails/OutputSafety:
Exclude:
- 'app/controllers/password_resets_controller.rb'
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.4
3.3.8
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: ruby
rvm:
- "2.3.4"
- "2.6.5"

before_install:
- "phantomjs --version"
Expand All @@ -11,8 +11,6 @@ before_install:
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf ${PWD}/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C ${PWD}/travis_phantomjs; fi"
- "phantomjs --version"

before_script: rake db:setup
before_script: bundle exec rake db:setup
before_script: bundle exec rails db:test:prepare
cache: bundler
sudo: false
env: RAILSGOAT_MAINTAINER=true
env: RAILSGOAT_MAINTAINER=true
77 changes: 77 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.
Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event.
Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at railsgoat@gmail.com.
All complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances.
The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
66 changes: 66 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Ways to Contribute to RailsGoat

Thanks for your interest on contributing to RailsGoat!
Here are a few general guidelines on contributing and reporting
bugs to RailsGoat that we ask you to take a look first.
Notice that all of your interactions in the project are
expected to follow our [Code of Conduct](./CODE_OF_CONDUCT.md).

## Reporting Issues

Before reporting a new issue, please be sure that the issue wasn't
already reported or fixed by searching on GitHub through our
[issues](https://github.com/OWASP/railsgoat/issues).

When creating a new issue, be sure to include a **title and clear description**,
as much relevant information as possible, and either a test case example or
even better a **sample Rails app that replicates the issue** -
RailsGoat has a lot of moving parts and it's functionality can be affected
by third party gems, so we need as much context and details as possible
to identify what might be broken for you.

Avoid opening new issues to ask questions in our issues tracker.
Please go through the project wiki, documentation and source code first,
or try to ask your question in our
[Slack Channel](https://owasp.slack.com/messages/C04THC44W).

## Sending Pull Requests

Before sending a new Pull Request, take a look on existing Pull Requests
and Issues to see if the proposed change or fix has been discussed in
the past, or if the change was already implemented but not yet released.

We expect new Pull Requests to include enough tests for new or changed
behavior, and we aim to maintain everything as most backwards compatible
as possible, reserving breaking changes to be ship in major releases
when necessary

If your Pull Request includes new or changed behavior, be sure that the
changes are beneficial to a wide range of use cases or it's an application
specific change that might not be so valuable to other applications.

We also welcome Pull Requests that improve our existing documentation
(both our `README.md` and the doc sections in the source code).

## Other Ways to Contribute

We welcome anyone that wants to contribute to RailsGoat to triage
and reply to open issues to help troubleshoot and fix existing bugs
on RailsGoat. Here is what you can do:

* Help ensure that existing issues follows the recommendations from the
[Reporting Issues template](./ISSUE_TEMPLATE.md),
providing feeback to the issue's author on what might be missing.
* Review and update the existing content of our
[Wiki](https://github.com/OWASP/railsgoat/wiki)
with up to date instructions and code samples - the wiki was grown
with several different tutorials and references that we can't keep
track of everything, so if there is a page that showcases an integration
or customization that you are familiar with feel free to update it
as necessary.
* Review existing Pull Requests, and testing patches against real
existing applications that use RailsGoat.

Thanks again for your interest on contributing to the project!

:heart:
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM ruby:2.3.4
FROM --platform=linux/amd64 ruby:2.6.5
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
RUN mkdir /myapp
WORKDIR /myapp
ADD Gemfile /myapp/Gemfile
ADD Gemfile.lock /myapp/Gemfile.lock
RUN gem install bundler -v 1.17.3
RUN bundle install
ADD . /myapp

140 changes: 53 additions & 87 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,99 +1,65 @@
source 'https://rubygems.org'
# frozen_string_literal: true
source "https://rubygems.org"

#don't upgrade
gem 'rails', '4.2.9'
gem "rails", "7.1.5"

ruby "3.3.8"

gem "aruba"
gem "bcrypt"
gem "coffee-rails"
gem "execjs"
gem "foreman"
gem "jquery-fileupload-rails"
gem "jquery-rails"
gem "minitest"
gem "powder" # Pow related gem
gem "pry-rails" # not in dev group in case running via prod/staging @ a training
gem "puma"
gem "rails-perftest"
gem "rake"
gem "responders" #For Rails 4.2 # LOCKED DOWN
gem "ruby-prof"
gem "sassc-rails"
gem "simplecov", require: false, group: :test
gem "sqlite3"
gem "mini_racer" # Modern V8 JavaScript runtime
gem "turbolinks"
gem "uglifier"
gem "unicorn"

ruby '2.3.4'

gem 'rake'

# Bundle edge Rails instead:
# gem 'rails', git: 'https://github.com/rails/rails'

gem 'sqlite3'
gem 'foreman'
gem 'crack', '0.3.1'

# Pry for Rails, not in dev group in case running via prod/staging @ a training
gem 'pry-rails'
# Add SMTP server support using MailCatcher
# NOTE: https://github.com/sj26/mailcatcher#bundler
# gem 'mailcatcher'

group :development, :mysql do
gem 'brakeman'
gem 'bundler-audit'
gem 'guard-brakeman'
gem 'guard-livereload'
gem 'guard-rspec'
gem 'guard-shell'
gem 'pry'
gem 'rack-livereload'
gem 'rb-fsevent'
gem 'travis-lint'
gem 'better_errors'
gem 'binding_of_caller'
gem "better_errors"
gem "binding_of_caller"
gem "bundler-audit"
gem "guard-livereload"
gem "guard-rspec"
gem "guard-shell"
gem "pry"
gem "rack-livereload"
gem "rb-fsevent"
gem "rubocop-github"
gem "travis-lint"
end

gem 'simplecov', :require => false, :group => :test

group :development, :test, :mysql do
gem 'launchy'
gem 'capybara'
gem 'database_cleaner'
gem 'poltergeist'
gem 'rspec-rails'
gem 'test-unit'
gem "capybara"
gem "database_cleaner"
gem "launchy"
gem "poltergeist"
gem "rspec-rails", '4.0.0.beta3' # 4/26/2019: LOCKED DOWN
gem "test-unit"
end

group :mysql do
gem 'mysql2'
group :openshift do
gem "pg"
end

# Gems used only for assets and not required
# in production environments by default.
gem 'sass-rails'
gem 'coffee-rails'
gem 'jquery-fileupload-rails'
gem 'uglifier'
gem 'turbolinks' # New for Rails 4.0

# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby

gem 'jquery-rails'

# To use ActiveModel has_secure_password
gem 'bcrypt'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the app server
gem 'unicorn'

# Pow related gem
gem 'powder'

gem 'aruba'
#gem 'minitest', '~> 4.0', :require=> "minitest/autorun"

#gem 'minitest'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'debugger'

gem 'execjs'
gem 'therubyracer'

# Add SMTP server support using MailCatcher
gem 'mailcatcher'

#For Rails 4.0
#group :doc do
# # bundle exec rake doc:rails generates the API under doc/api.
# gem 'sdoc', require: false
#end

#For Rails 4.2
gem 'responders'
group :mysql do
# gem "mysql2" # Commented out for initial setup - install MySQL first if needed
end
Loading