Skip to content

Commit

Permalink
Merge pull request #2294 from geeksforsocialchange/revert-2293-revert…
Browse files Browse the repository at this point in the history
…-2292-main

Revert "Revert "v0.21.0""
  • Loading branch information
r-ferrier committed Mar 7, 2024
2 parents 079758c + 5ae34f6 commit 224195e
Show file tree
Hide file tree
Showing 289 changed files with 114,568 additions and 4,098 deletions.
5 changes: 4 additions & 1 deletion .env.example
@@ -1,4 +1,6 @@
GOOGLE_API_KEY=

# used by the Eventbrite API Gem
EVENTBRITE_TOKEN=

# A mapbox token is required for the map ui element on events
# You can get one by following the documentation here: https://docs.mapbox.com/api/accounts/tokens/
Expand All @@ -7,6 +9,7 @@ MAPBOX_TOKEN=
# If you set up postgres via Docker as per the README, you should set these
# POSTGRES_HOST=localhost
# POSTGRES_USER=postgres
# POSTGRES_PORT=5432
# PGPASSWORD=foobar

SITE_DOMAIN=lvh.me
1 change: 1 addition & 0 deletions .rubocop_todo.yml
Expand Up @@ -371,6 +371,7 @@ Rails/ReversibleMigration:
Rails/SkipsModelValidations:
Exclude:
- 'lib/tasks/fixes/users.rake'
- 'db/migrate/20240125175508_partner_hidden_attribute_set_value.rb'

# Offense count: 22
# This cop supports unsafe autocorrection (--autocorrect-all).
Expand Down
9 changes: 4 additions & 5 deletions Gemfile
Expand Up @@ -12,7 +12,7 @@ end
gem 'minitest-rails'
gem 'pg'
gem 'puma'
gem 'rails', '7.1.3'
gem 'rails', '7.1.3.2'

# Frontend
gem 'coffee-rails'
Expand Down Expand Up @@ -73,7 +73,6 @@ gem 'graphql'
gem 'rack-cors', require: 'rack/cors'

# Utilities
gem 'active_link_to'
gem 'bootsnap', require: false
gem 'enumerize'
gem 'friendly_id'
Expand All @@ -82,9 +81,9 @@ gem 'net-imap', require: false
gem 'net-pop', require: false
gem 'net-smtp', require: false

gem 'invisible_captcha'
gem 'paper_trail'
gem 'rollbar'
gem 'sendgrid-actionmailer'
gem 'uk_postcode'

group :development, :test do
Expand All @@ -100,11 +99,11 @@ group :development do
gem 'letter_opener'
gem 'rails-erd'
gem 'rdoc'
gem 'rubocop', '1.60.2', require: false
gem 'rubocop', '1.62.0', require: false
gem 'rubocop-graphql', '1.5.0', require: false
gem 'rubocop-minitest', '0.34.5', require: false
gem 'rubocop-performance', '1.20.2', require: false
gem 'rubocop-rails', '2.23.1', require: false
gem 'rubocop-rails', '2.24.0', require: false
gem 'rubocop-rake', require: false
gem 'spring'
# gem 'spring-watcher-listen'
Expand Down
153 changes: 71 additions & 82 deletions Gemfile.lock
@@ -1,74 +1,71 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (7.1.3)
actionpack (= 7.1.3)
activesupport (= 7.1.3)
actioncable (7.1.3.2)
actionpack (= 7.1.3.2)
activesupport (= 7.1.3.2)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (7.1.3)
actionpack (= 7.1.3)
activejob (= 7.1.3)
activerecord (= 7.1.3)
activestorage (= 7.1.3)
activesupport (= 7.1.3)
actionmailbox (7.1.3.2)
actionpack (= 7.1.3.2)
activejob (= 7.1.3.2)
activerecord (= 7.1.3.2)
activestorage (= 7.1.3.2)
activesupport (= 7.1.3.2)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.1.3)
actionpack (= 7.1.3)
actionview (= 7.1.3)
activejob (= 7.1.3)
activesupport (= 7.1.3)
actionmailer (7.1.3.2)
actionpack (= 7.1.3.2)
actionview (= 7.1.3.2)
activejob (= 7.1.3.2)
activesupport (= 7.1.3.2)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.2)
actionpack (7.1.3)
actionview (= 7.1.3)
activesupport (= 7.1.3)
actionpack (7.1.3.2)
actionview (= 7.1.3.2)
activesupport (= 7.1.3.2)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actiontext (7.1.3)
actionpack (= 7.1.3)
activerecord (= 7.1.3)
activestorage (= 7.1.3)
activesupport (= 7.1.3)
actiontext (7.1.3.2)
actionpack (= 7.1.3.2)
activerecord (= 7.1.3.2)
activestorage (= 7.1.3.2)
activesupport (= 7.1.3.2)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.1.3)
activesupport (= 7.1.3)
actionview (7.1.3.2)
activesupport (= 7.1.3.2)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
active_link_to (1.0.5)
actionpack
addressable
activejob (7.1.3)
activesupport (= 7.1.3)
activejob (7.1.3.2)
activesupport (= 7.1.3.2)
globalid (>= 0.3.6)
activemodel (7.1.3)
activesupport (= 7.1.3)
activerecord (7.1.3)
activemodel (= 7.1.3)
activesupport (= 7.1.3)
activemodel (7.1.3.2)
activesupport (= 7.1.3.2)
activerecord (7.1.3.2)
activemodel (= 7.1.3.2)
activesupport (= 7.1.3.2)
timeout (>= 0.4.0)
activestorage (7.1.3)
actionpack (= 7.1.3)
activejob (= 7.1.3)
activerecord (= 7.1.3)
activesupport (= 7.1.3)
activestorage (7.1.3.2)
actionpack (= 7.1.3.2)
activejob (= 7.1.3.2)
activerecord (= 7.1.3.2)
activesupport (= 7.1.3.2)
marcel (~> 1.0)
activesupport (7.1.3)
activesupport (7.1.3.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand Down Expand Up @@ -152,7 +149,7 @@ GEM
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
devise_invitable (2.0.6)
devise_invitable (2.0.9)
actionmailer (>= 5.0)
devise (>= 4.6)
domain_name (0.5.20190701)
Expand All @@ -161,8 +158,7 @@ GEM
dotenv-rails (2.7.6)
dotenv (= 2.7.6)
railties (>= 3.2)
drb (2.2.0)
ruby2_keywords
drb (2.2.1)
enumerize (2.5.0)
activesupport (>= 3.2)
erubi (1.11.0)
Expand Down Expand Up @@ -211,6 +207,8 @@ GEM
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
invisible_captcha (2.2.0)
rails (>= 5.2)
io-console (0.7.2)
irb (1.11.2)
rdoc
Expand Down Expand Up @@ -257,7 +255,7 @@ GEM
mini_magick (4.11.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.20.0)
minitest (5.22.2)
minitest-rails (7.1.0)
minitest (~> 5.20)
railties (~> 7.1.0)
Expand Down Expand Up @@ -308,8 +306,8 @@ GEM
nio4r (~> 2.0)
pundit (2.2.0)
activesupport (>= 3.0.0)
racc (1.6.2)
rack (2.2.8)
racc (1.7.3)
rack (2.2.8.1)
rack-cors (1.1.1)
rack (>= 2.0.0)
rack-session (1.0.2)
Expand All @@ -319,20 +317,20 @@ GEM
rackup (1.0.0)
rack (< 3)
webrick
rails (7.1.3)
actioncable (= 7.1.3)
actionmailbox (= 7.1.3)
actionmailer (= 7.1.3)
actionpack (= 7.1.3)
actiontext (= 7.1.3)
actionview (= 7.1.3)
activejob (= 7.1.3)
activemodel (= 7.1.3)
activerecord (= 7.1.3)
activestorage (= 7.1.3)
activesupport (= 7.1.3)
rails (7.1.3.2)
actioncable (= 7.1.3.2)
actionmailbox (= 7.1.3.2)
actionmailer (= 7.1.3.2)
actionpack (= 7.1.3.2)
actiontext (= 7.1.3.2)
actionview (= 7.1.3.2)
activejob (= 7.1.3.2)
activemodel (= 7.1.3.2)
activerecord (= 7.1.3.2)
activestorage (= 7.1.3.2)
activesupport (= 7.1.3.2)
bundler (>= 1.15.0)
railties (= 7.1.3)
railties (= 7.1.3.2)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
Expand All @@ -349,9 +347,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.1.3)
actionpack (= 7.1.3)
activesupport (= 7.1.3)
railties (7.1.3.2)
actionpack (= 7.1.3.2)
activesupport (= 7.1.3.2)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
Expand All @@ -378,19 +376,19 @@ GEM
netrc (~> 0.8)
rexml (3.2.6)
rollbar (3.3.0)
rubocop (1.60.2)
rubocop (1.62.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.1)
parser (>= 3.3.0.4)
rubocop-graphql (1.5.0)
rubocop (>= 0.90, < 2)
rubocop-minitest (0.34.5)
Expand All @@ -399,20 +397,18 @@ GEM
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rails (2.23.1)
rubocop-rails (2.24.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
ruby-graphviz (1.2.5)
rexml
ruby-progressbar (1.13.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby2_keywords (0.0.5)
ruby_http_client (3.5.5)
rubyzip (2.3.2)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
Expand All @@ -430,11 +426,6 @@ GEM
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
sendgrid-actionmailer (3.2.0)
mail (~> 2.7)
sendgrid-ruby (~> 6.4)
sendgrid-ruby (6.6.2)
ruby_http_client (~> 3.4)
simple_form (5.1.0)
actionpack (>= 5.2)
activemodel (>= 5.2)
Expand Down Expand Up @@ -488,16 +479,14 @@ GEM
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.9.28)
webrick (~> 1.7.0)
yard (0.9.36)
zeitwerk (2.6.13)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
active_link_to
ajax-datatables-rails
ancestry
better_errors
Expand Down Expand Up @@ -527,6 +516,7 @@ DEPENDENCIES
icalendar
icalendar-recurrence
image_processing
invisible_captcha
jquery-rails
jsbundling-rails
json-ld
Expand All @@ -546,21 +536,20 @@ DEPENDENCIES
puma
pundit
rack-cors
rails (= 7.1.3)
rails (= 7.1.3.2)
rails-controller-testing
rails-erd
rdoc
rollbar
rubocop (= 1.60.2)
rubocop (= 1.62.0)
rubocop-graphql (= 1.5.0)
rubocop-minitest (= 0.34.5)
rubocop-performance (= 1.20.2)
rubocop-rails (= 2.23.1)
rubocop-rails (= 2.24.0)
rubocop-rake
sass-rails (= 6.0.0)
select2-rails
selenium-webdriver
sendgrid-actionmailer
simple_form
spring
stimulus-rails
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -92,7 +92,7 @@ Note that the system tests can take a while to run and are quite resource-intens

## Documentation for Developers

The documentation for PlaceCal currently stored in notion and can be read [here](https://www.notion.so/gfsc/PlaceCal-developer-handbook-01649b69009340e3ae3035e9cf346f27). There is also a small amount of documentation sprinkled throughout the code itself and can be turned into HTML by running `rails doc:generate`. If you are working with the code and are completely lost you can also try the GFSC discord server where you can prod a human for answers. Good Luck!
The documentation for PlaceCal currently stored in notion and can be read [here](https://www.notion.so/gfsc/PlaceCal-developer-handbook-01649b69009340e3ae3035e9cf346f27). There is also a small amount of documentation sprinkled throughout the code itself and can be turned into HTML by running `rails yard`. If you are working with the code and are completely lost you can also try the GFSC discord server where you can prod a human for answers. Good Luck!

### Generating new components

Expand Down
2 changes: 2 additions & 0 deletions app/assets/fonts/Copyright.txt
@@ -0,0 +1,2 @@
Copyright (c) 2010 - 2013, Matt McInerney (matt@pixelspread.com), Pablo Impallari (impallari@gmail.com), Rodrigo Fuenzalida (hello@rfuenzalida.com) with Reserved Font Name RALEWAY.
Copyright (c) 2016, Henrique Ibaldo (hi@ibaldo.co), with Reserved Font Name RAWLINE.

0 comments on commit 224195e

Please sign in to comment.