Compare commits

..

145 Commits

Author SHA1 Message Date
Daniel O'Connor
e36debc481 Merge pull request #3276 from Growstuff/issues/3247-links
Fix #3247 broken links
2023-03-13 13:50:20 +10:30
Daniel O'Connor
d209b0f68c Merge branch 'dev' into issues/3247-links 2023-03-13 13:49:45 +10:30
Daniel O'Connor
b3179a8f2d Add missing migration for #3247 [Stacked PR] (#3275)
* Add missing migration for #3247

* [CodeFactor] Apply fixes

* Update 20230313015323_create_active_storage_tables.active_storage.rb

* Rubocop

* Permit a number of safe classes to serialise as YAML

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2023-03-13 13:48:25 +10:30
Daniel O'Connor
d1407c6c31 Merge pull request #3274 from Growstuff/bump-ruby
Ruby 3.1.3. Heroku now claims support
2023-03-13 13:28:01 +10:30
Daniel O'Connor
5495563840 Merge branch 'dev' into bump-ruby 2023-03-13 13:27:53 +10:30
Daniel O'Connor
ab3eabbc94 Merge branch 'mainline' into dev 2023-03-13 13:21:19 +10:30
Daniel O'Connor
da45aae52f Adjust layout (#3187)
Co-authored-by: Cesy <cesy.avon@gmail.com>
2023-03-13 13:18:00 +10:30
Daniel O'Connor
449c6c4487 Issue/3189: Fix map displays by dropping mapbox (#3190)
* For now, drop mapbox for OSM tiles

* For now, drop mapbox for OSM tiles

* Use OSM tiles

* Remove mapbox secrets for now. If we bring back mapbox; we should re-enstate

* Update members.js.erb

* Change placeholder
2023-03-13 13:04:16 +10:30
Daniel O'Connor
955dbcba08 Fix the layout of the tables (#3194) 2023-03-13 13:00:50 +10:30
Daniel O'Connor
9f6fe4d7d8 Fix #3247 broken links 2023-03-13 02:00:46 +00:00
Daniel O'Connor
25febba9be Add missing migration for #3247 2023-03-13 01:53:49 +00:00
Daniel O'Connor
3a12b331e3 Ruby 3.1.3. Heroku now claims support 2023-03-13 01:52:13 +00:00
Daniel O'Connor
2cdf84a7a2 Merge pull request #3211 from Growstuff/dev
Production release 51
2023-03-13 12:04:15 +10:30
dependabot[bot]
8d22a23770 Merge pull request #3273 from Growstuff/dependabot/bundler/rubocop-rspec-2.19.0 2023-03-09 11:25:43 +00:00
dependabot[bot]
43c501f245 Bump rubocop-rspec from 2.18.1 to 2.19.0
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.18.1 to 2.19.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.18.1...v2.19.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 11:02:48 +00:00
dependabot[bot]
525871dde7 Merge pull request #3271 from Growstuff/dependabot/bundler/cancancan-3.5.0 2023-03-09 11:01:12 +00:00
dependabot[bot]
c353b8d32e Bump cancancan from 3.4.0 to 3.5.0
Bumps [cancancan](https://github.com/CanCanCommunity/cancancan) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/CanCanCommunity/cancancan/releases)
- [Changelog](https://github.com/CanCanCommunity/cancancan/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/CanCanCommunity/cancancan/compare/3.4.0...3.5.0)

---
updated-dependencies:
- dependency-name: cancancan
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 10:42:17 +00:00
dependabot[bot]
e4e9cd6c2c Merge pull request #3272 from Growstuff/dependabot/bundler/rubocop-1.48.0 2023-03-09 10:41:26 +00:00
dependabot[bot]
0813beb146 Bump rubocop from 1.47.0 to 1.48.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.47.0 to 1.48.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.47.0...v1.48.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 07:57:00 +00:00
dependabot[bot]
c6a5a842fc Merge pull request #3264 from Growstuff/dependabot/bundler/comfortable_mexican_sofa-ccf9415 2023-03-05 01:31:48 +00:00
dependabot[bot]
a374312773 Bump comfortable_mexican_sofa from 456fb85 to ccf9415
Bumps [comfortable_mexican_sofa](https://github.com/restarone/comfortable-mexican-sofa) from `456fb85` to `ccf9415`.
- [Release notes](https://github.com/restarone/comfortable-mexican-sofa/releases)
- [Commits](456fb8507e...ccf9415ae2)

---
updated-dependencies:
- dependency-name: comfortable_mexican_sofa
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-04 09:55:42 +00:00
dependabot[bot]
189098a5eb Merge pull request #3268 from Growstuff/dependabot/bundler/rubocop-1.47.0 2023-03-04 09:54:42 +00:00
dependabot[bot]
eef23ca9af Bump rubocop from 1.46.0 to 1.47.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.46.0 to 1.47.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.46.0...v1.47.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-04 09:26:56 +00:00
dependabot[bot]
202e3fd91b Merge pull request #3267 from Growstuff/dependabot/bundler/puma-6.1.1 2023-03-04 09:25:39 +00:00
dependabot[bot]
ad95f81d31 Bump puma from 6.1.0 to 6.1.1
Bumps [puma](https://github.com/puma/puma) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.1.0...v6.1.1)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 07:57:41 +00:00
dependabot[bot]
7edc6f9c55 Merge pull request #3265 from Growstuff/dependabot/bundler/rubocop-rails-2.18.0 2023-02-27 09:49:52 +00:00
dependabot[bot]
f0b34801ff Bump rubocop-rails from 2.17.4 to 2.18.0
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.17.4 to 2.18.0.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.17.4...v2.18.0)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 09:30:12 +00:00
dependabot[bot]
5e9cd98176 Merge pull request #3266 from Growstuff/dependabot/bundler/pg-1.4.6 2023-02-27 09:03:52 +00:00
dependabot[bot]
05e83e4906 Bump pg from 1.4.5 to 1.4.6
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.5...v1.4.6)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 07:57:38 +00:00
dependabot[bot]
1e2143082b Merge pull request #3262 from Growstuff/dependabot/bundler/rubocop-1.46.0 2023-02-25 08:05:06 +00:00
dependabot[bot]
4d63810280 Bump rubocop from 1.45.1 to 1.46.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.45.1 to 1.46.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.45.1...v1.46.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 07:48:47 +00:00
Daniel O'Connor
2f4416a9a6 Merge pull request #3263 from Growstuff/dependabot/bundler/active_utils-3.4.0
Bump active_utils from 3.3.19 to 3.4.0
2023-02-25 17:20:59 +10:30
dependabot[bot]
7d71baf46e Bump active_utils from 3.3.19 to 3.4.0
Bumps [active_utils](https://github.com/shopify/active_utils) from 3.3.19 to 3.4.0.
- [Release notes](https://github.com/shopify/active_utils/releases)
- [Changelog](https://github.com/Shopify/active_utils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shopify/active_utils/compare/v3.3.19...v3.4.0)

---
updated-dependencies:
- dependency-name: active_utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 07:16:07 +00:00
dependabot[bot]
7754716b0e Merge pull request #3258 from Growstuff/dependabot/bundler/dalli-3.2.4 2023-02-22 09:57:19 +00:00
dependabot[bot]
d240b32c7d Bump dalli from 3.2.3 to 3.2.4
Bumps [dalli](https://github.com/petergoldstein/dalli) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/petergoldstein/dalli/releases)
- [Changelog](https://github.com/petergoldstein/dalli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/petergoldstein/dalli/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: dalli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 09:39:13 +00:00
dependabot[bot]
a9ee484e63 Merge pull request #3261 from Growstuff/dependabot/bundler/sidekiq-7.0.6 2023-02-22 09:38:03 +00:00
dependabot[bot]
0d8722af46 Bump sidekiq from 7.0.5 to 7.0.6
Bumps [sidekiq](https://github.com/sidekiq/sidekiq) from 7.0.5 to 7.0.6.
- [Release notes](https://github.com/sidekiq/sidekiq/releases)
- [Changelog](https://github.com/sidekiq/sidekiq/blob/main/Changes.md)
- [Commits](https://github.com/sidekiq/sidekiq/compare/v7.0.5...v7.0.6)

---
updated-dependencies:
- dependency-name: sidekiq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 07:15:31 +00:00
dependabot[bot]
9c8def5f0f Merge pull request #3259 from Growstuff/dependabot/bundler/devise-4.9.0 2023-02-20 11:09:30 +00:00
dependabot[bot]
debc0b10a6 Bump devise from 4.8.1 to 4.9.0
Bumps [devise](https://github.com/heartcombo/devise) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/heartcombo/devise/releases)
- [Changelog](https://github.com/heartcombo/devise/blob/main/CHANGELOG.md)
- [Commits](https://github.com/heartcombo/devise/compare/v4.8.1...v4.9.0)

---
updated-dependencies:
- dependency-name: devise
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 10:45:45 +00:00
dependabot[bot]
3287ca42fb Merge pull request #3260 from Growstuff/dependabot/bundler/selenium-webdriver-4.8.1 2023-02-20 10:44:37 +00:00
dependabot[bot]
c07f0370ae Bump selenium-webdriver from 4.8.0 to 4.8.1
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.8.0...selenium-4.8.1)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 08:01:34 +00:00
dependabot[bot]
ab8f0ee43e Merge pull request #3257 from Growstuff/dependabot/bundler/sidekiq-7.0.5 2023-02-16 11:51:39 +00:00
dependabot[bot]
55a133a043 Bump sidekiq from 7.0.4 to 7.0.5
Bumps [sidekiq](https://github.com/sidekiq/sidekiq) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/sidekiq/sidekiq/releases)
- [Changelog](https://github.com/sidekiq/sidekiq/blob/main/Changes.md)
- [Commits](https://github.com/sidekiq/sidekiq/compare/v7.0.4...v7.0.5)

---
updated-dependencies:
- dependency-name: sidekiq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 07:57:08 +00:00
dependabot[bot]
dfbe9a1cb2 Merge pull request #3256 from Growstuff/dependabot/bundler/rack-cors-2.0.0 2023-02-15 08:40:05 +00:00
dependabot[bot]
63681bd595 Bump rack-cors from 1.1.1 to 2.0.0
Bumps [rack-cors](https://github.com/cyu/rack-cors) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/cyu/rack-cors/releases)
- [Changelog](https://github.com/cyu/rack-cors/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cyu/rack-cors/compare/v1.1.1...2.0.0)

---
updated-dependencies:
- dependency-name: rack-cors
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 07:57:04 +00:00
dependabot[bot]
b2deaed673 Merge pull request #3255 from Growstuff/dependabot/bundler/sidekiq-7.0.4 2023-02-14 12:24:52 +00:00
dependabot[bot]
ff780971d3 Bump sidekiq from 7.0.3 to 7.0.4
Bumps [sidekiq](https://github.com/sidekiq/sidekiq) from 7.0.3 to 7.0.4.
- [Release notes](https://github.com/sidekiq/sidekiq/releases)
- [Changelog](https://github.com/sidekiq/sidekiq/blob/main/Changes.md)
- [Commits](https://github.com/sidekiq/sidekiq/compare/v7.0.3...v7.0.4)

---
updated-dependencies:
- dependency-name: sidekiq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 07:58:08 +00:00
dependabot[bot]
292fcc81c9 Merge pull request #3253 from Growstuff/dependabot/bundler/oj-3.14.2 2023-02-13 10:51:43 +00:00
dependabot[bot]
7500138704 Bump oj from 3.14.1 to 3.14.2
Bumps [oj](https://github.com/ohler55/oj) from 3.14.1 to 3.14.2.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.14.1...v3.14.2)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 10:34:56 +00:00
Daniel O'Connor
743f0dbd86 Merge pull request #3254 from Growstuff/dependabot/bundler/puma-6.1.0
Bump puma from 6.0.2 to 6.1.0
2023-02-13 21:03:37 +10:30
dependabot[bot]
0d619aed02 Bump puma from 6.0.2 to 6.1.0
Bumps [puma](https://github.com/puma/puma) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.0.2...v6.1.0)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 07:58:51 +00:00
dependabot[bot]
49891781d9 Merge pull request #3252 from Growstuff/dependabot/bundler/rubocop-1.45.1 2023-02-09 08:38:41 +00:00
dependabot[bot]
9bd054f1da Bump rubocop from 1.44.1 to 1.45.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.44.1 to 1.45.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.44.1...v1.45.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 07:02:06 +00:00
dependabot[bot]
60d19806ee Merge pull request #3251 from Growstuff/dependabot/bundler/leaflet-rails-1.9.3 2023-02-07 10:42:33 +00:00
dependabot[bot]
371dfffcbd Bump leaflet-rails from 1.9.2 to 1.9.3
Bumps [leaflet-rails](https://github.com/axyjo/leaflet-rails) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/axyjo/leaflet-rails/releases)
- [Commits](https://github.com/axyjo/leaflet-rails/compare/v1.9.2...v1.9.3)

---
updated-dependencies:
- dependency-name: leaflet-rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 07:01:56 +00:00
dependabot[bot]
ffe1936991 Merge pull request #3250 from Growstuff/dependabot/bundler/faker-3.1.1 2023-02-06 10:31:20 +00:00
dependabot[bot]
09663c163e Bump faker from 3.1.0 to 3.1.1
Bumps [faker](https://github.com/faker-ruby/faker) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/faker-ruby/faker/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: faker
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 10:09:26 +00:00
dependabot[bot]
bdff923a9c Merge pull request #3249 from Growstuff/dependabot/bundler/responders-3.1.0 2023-02-06 10:05:53 +00:00
dependabot[bot]
1a6095fdc8 Bump responders from 3.0.1 to 3.1.0
Bumps [responders](https://github.com/heartcombo/responders) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/heartcombo/responders/releases)
- [Changelog](https://github.com/heartcombo/responders/blob/main/CHANGELOG.md)
- [Commits](https://github.com/heartcombo/responders/compare/v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: responders
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 07:01:56 +00:00
Daniel O'Connor
112be56a42 Merge pull request #3248 from Growstuff/dependabot/bundler/oj-3.14.1
Bump oj from 3.14.0 to 3.14.1
2023-02-04 15:49:39 +10:30
dependabot[bot]
2c4d8ec56b Bump oj from 3.14.0 to 3.14.1
Bumps [oj](https://github.com/ohler55/oj) from 3.14.0 to 3.14.1.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.14.0...v3.14.1)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 07:01:45 +00:00
dependabot[bot]
9c2a830d23 Merge pull request #3246 from Growstuff/dependabot/bundler/oj-3.14.0 2023-01-31 12:16:47 +00:00
dependabot[bot]
055408a3ef Bump oj from 3.13.23 to 3.14.0
Bumps [oj](https://github.com/ohler55/oj) from 3.13.23 to 3.14.0.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.13.23...v3.14.0)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 07:01:45 +00:00
dependabot[bot]
35e5737ab4 Merge pull request #3245 from Growstuff/dependabot/bundler/haml_lint-0.45.0 2023-01-30 09:42:51 +00:00
dependabot[bot]
7a79beb842 Bump haml_lint from 0.43.0 to 0.45.0
Bumps [haml_lint](https://github.com/sds/haml-lint) from 0.43.0 to 0.45.0.
- [Release notes](https://github.com/sds/haml-lint/releases)
- [Changelog](https://github.com/sds/haml-lint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sds/haml-lint/compare/v0.43.0...v0.45.0)

---
updated-dependencies:
- dependency-name: haml_lint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 07:03:45 +00:00
dependabot[bot]
f6dc73226e Merge pull request #3243 from Growstuff/dependabot/bundler/rails-7.0.4.2 2023-01-26 08:40:44 +00:00
dependabot[bot]
cec5768934 Bump rails from 7.0.4.1 to 7.0.4.2
Bumps [rails](https://github.com/rails/rails) from 7.0.4.1 to 7.0.4.2.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v7.0.4.1...v7.0.4.2)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 08:18:51 +00:00
dependabot[bot]
dee4a814c9 Merge pull request #3244 from Growstuff/dependabot/bundler/rubocop-1.44.1 2023-01-26 08:12:18 +00:00
dependabot[bot]
8059f6c3a5 Bump rubocop from 1.44.0 to 1.44.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.44.0 to 1.44.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.44.0...v1.44.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 07:00:55 +00:00
Cesy
ff8ef0c963 Merge pull request #3240 from Growstuff/dependabot/bundler/chartkick-5.0.1
Bump chartkick from 4.2.1 to 5.0.1
2023-01-24 16:01:06 +00:00
dependabot[bot]
8a6c661ff1 Bump chartkick from 4.2.1 to 5.0.1
Bumps [chartkick](https://github.com/ankane/chartkick) from 4.2.1 to 5.0.1.
- [Release notes](https://github.com/ankane/chartkick/releases)
- [Changelog](https://github.com/ankane/chartkick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/chartkick/compare/v4.2.1...v5.0.1)

---
updated-dependencies:
- dependency-name: chartkick
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 08:52:26 +00:00
dependabot[bot]
5a03b24f4e Merge pull request #3242 from Growstuff/dependabot/bundler/selenium-webdriver-4.8.0 2023-01-24 08:51:07 +00:00
dependabot[bot]
086f32e473 Bump selenium-webdriver from 4.7.1 to 4.8.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.7.1 to 4.8.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.8.0)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 08:35:10 +00:00
dependabot[bot]
95ca08eb43 Merge pull request #3241 from Growstuff/dependabot/bundler/rubocop-1.44.0 2023-01-24 08:34:00 +00:00
dependabot[bot]
4c0f5fed10 Bump rubocop from 1.43.0 to 1.44.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 07:02:00 +00:00
dependabot[bot]
2a9478206f Merge pull request #3239 from Growstuff/dependabot/bundler/rubocop-rspec-2.18.1 2023-01-21 12:04:09 +00:00
dependabot[bot]
58beba9dd9 Bump rubocop-rspec from 2.16.0 to 2.18.1
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.16.0 to 2.18.1.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.16.0...v2.18.1)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 14:26:34 +00:00
dependabot[bot]
3eb708b954 Merge pull request #3229 from Growstuff/dependabot/bundler/listen-3.8.0 2023-01-20 14:25:17 +00:00
dependabot[bot]
103d7f2235 Bump listen from 3.7.1 to 3.8.0
Bumps [listen](https://github.com/guard/listen) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.7.1...v3.8.0)

---
updated-dependencies:
- dependency-name: listen
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 11:45:34 +00:00
dependabot[bot]
91e90b3cbe Merge pull request #3237 from Growstuff/dependabot/bundler/faraday-1.10.3 2023-01-19 11:44:24 +00:00
dependabot[bot]
c7551b5856 Bump faraday from 1.10.2 to 1.10.3
Bumps [faraday](https://github.com/lostisland/faraday) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v1.10.2...v1.10.3)

---
updated-dependencies:
- dependency-name: faraday
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 11:25:24 +00:00
dependabot[bot]
d6c75f541a Merge pull request #3230 from Growstuff/dependabot/bundler/rubocop-1.43.0 2023-01-19 11:24:12 +00:00
dependabot[bot]
218da856c2 Bump rubocop from 1.42.0 to 1.43.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.42.0...v1.43.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 11:08:09 +00:00
dependabot[bot]
d303adb05c Merge pull request #3231 from Growstuff/dependabot/bundler/sidekiq-7.0.3 2023-01-19 11:04:51 +00:00
dependabot[bot]
5f8ef59606 Bump sidekiq from 7.0.2 to 7.0.3
Bumps [sidekiq](https://github.com/mperham/sidekiq) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/mperham/sidekiq/releases)
- [Changelog](https://github.com/mperham/sidekiq/blob/main/Changes.md)
- [Commits](https://github.com/mperham/sidekiq/compare/v7.0.2...v7.0.3)

---
updated-dependencies:
- dependency-name: sidekiq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 10:48:24 +00:00
dependabot[bot]
e5b192a036 Merge pull request #3234 from Growstuff/dependabot/bundler/rails-7.0.4.1 2023-01-19 10:47:05 +00:00
dependabot[bot]
609a67c180 Bump rails from 7.0.4 to 7.0.4.1
Bumps [rails](https://github.com/rails/rails) from 7.0.4 to 7.0.4.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v7.0.4...v7.0.4.1)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 10:29:49 +00:00
dependabot[bot]
888cad50b8 Merge pull request #3235 from Growstuff/dependabot/bundler/rack-2.2.6.2 2023-01-19 10:28:31 +00:00
dependabot[bot]
50d1ab2d9a Bump rack from 2.2.4 to 2.2.6.2
Bumps [rack](https://github.com/rack/rack) from 2.2.4 to 2.2.6.2.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.4...v2.2.6.2)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 00:47:23 +00:00
dependabot[bot]
f0992c9d7a Merge pull request #3228 from Growstuff/dependabot/bundler/bullet-7.0.7 2023-01-07 07:06:18 +00:00
dependabot[bot]
28c84e4b9d Bump bullet from 7.0.5 to 7.0.7
Bumps [bullet](https://github.com/flyerhzm/bullet) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/7.0.5...7.0.7)

---
updated-dependencies:
- dependency-name: bullet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 20:16:03 +00:00
Cesy
9b06e3bf79 Merge pull request #3227 from Growstuff/dependabot/bundler/httparty-0.21.0
Bump httparty from 0.18.1 to 0.21.0
2023-01-03 20:14:37 +00:00
dependabot[bot]
7827cda1f7 Bump httparty from 0.18.1 to 0.21.0
Bumps [httparty](https://github.com/jnunemaker/httparty) from 0.18.1 to 0.21.0.
- [Release notes](https://github.com/jnunemaker/httparty/releases)
- [Changelog](https://github.com/jnunemaker/httparty/blob/master/Changelog.md)
- [Commits](https://github.com/jnunemaker/httparty/compare/v0.18.1...v0.21.0)

---
updated-dependencies:
- dependency-name: httparty
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 15:34:08 +00:00
dependabot[bot]
09f0a303cf Merge pull request #3224 from Growstuff/dependabot/bundler/bullet-7.0.5 2023-01-03 01:16:15 +00:00
dependabot[bot]
3823981b5a Bump bullet from 7.0.4 to 7.0.5
Bumps [bullet](https://github.com/flyerhzm/bullet) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/7.0.4...7.0.5)

---
updated-dependencies:
- dependency-name: bullet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 00:53:18 +00:00
dependabot[bot]
f09a17f36a Merge pull request #3223 from Growstuff/dependabot/bundler/rubocop-1.42.0 2023-01-03 00:52:28 +00:00
dependabot[bot]
9ba879a458 Bump rubocop from 1.41.1 to 1.42.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.41.1 to 1.42.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.41.1...v1.42.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 00:36:17 +00:00
dependabot[bot]
2b41612036 Merge pull request #3225 from Growstuff/dependabot/bundler/puma-6.0.2 2023-01-03 00:35:23 +00:00
dependabot[bot]
eeb62c488a Bump puma from 6.0.1 to 6.0.2
Bumps [puma](https://github.com/puma/puma) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 07:02:55 +00:00
Cesy
cf224e185f Merge pull request #3222 from Growstuff/dependabot/bundler/rubocop-rails-2.17.4
Bump rubocop-rails from 2.17.3 to 2.17.4
2022-12-26 11:05:36 +00:00
dependabot[bot]
913cb48be8 Bump rubocop-rails from 2.17.3 to 2.17.4
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.17.3 to 2.17.4.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.17.3...v2.17.4)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 10:40:36 +00:00
Cesy
2ac0e6ff65 Merge pull request #3221 from Growstuff/dependabot/bundler/faker-3.1.0
Bump faker from 3.0.0 to 3.1.0
2022-12-26 10:39:50 +00:00
dependabot[bot]
05cbed55d1 Bump faker from 3.0.0 to 3.1.0
Bumps [faker](https://github.com/faker-ruby/faker) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/faker-ruby/faker/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: faker
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 07:00:44 +00:00
dependabot[bot]
cc844f0a80 Merge pull request #3220 from Growstuff/dependabot/bundler/rubocop-1.41.1 2022-12-23 03:01:49 +00:00
dependabot[bot]
f0667cdbf5 Bump rubocop from 1.40.0 to 1.41.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.40.0 to 1.41.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.40.0...v1.41.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 02:43:35 +00:00
dependabot[bot]
4db6a5adc6 Merge pull request #3219 from Growstuff/dependabot/bundler/puma-6.0.1 2022-12-23 02:42:35 +00:00
dependabot[bot]
c4dfa09e49 Bump puma from 6.0.0 to 6.0.1
Bumps [puma](https://github.com/puma/puma) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 07:02:10 +00:00
Cesy
ff345de507 Merge pull request #3214 from Growstuff/dependabot/bundler/rack-protection-3.0.5
Bump rack-protection from 3.0.4 to 3.0.5
2022-12-19 08:47:12 +00:00
dependabot[bot]
145ae184ac Bump rack-protection from 3.0.4 to 3.0.5
Bumps [rack-protection](https://github.com/sinatra/sinatra) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/sinatra/sinatra/releases)
- [Changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinatra/sinatra/compare/v3.0.4...v3.0.5)

---
updated-dependencies:
- dependency-name: rack-protection
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 07:01:22 +00:00
Daniel O'Connor
a60f7c2db0 Merge pull request #3212 from Growstuff/CloCkWeRX-patch-1
Update swagger.json - Remove duplicates, add basic docs
2022-12-18 21:07:18 +10:30
Cesy
f279eddafa Merge branch 'dev' into CloCkWeRX-patch-1 2022-12-18 10:14:49 +00:00
Cesy
3f09805bfd Merge pull request #3213 from Growstuff/revert-3208-reupgrade-ruby
Revert "Reupgrade ruby"
2022-12-18 10:14:18 +00:00
Cesy
4830228436 Revert "Reupgrade ruby" 2022-12-18 10:09:00 +00:00
Cesy
90a86d8db4 Merge branch 'dev' into CloCkWeRX-patch-1 2022-12-18 09:42:16 +00:00
Cesy
850823563c Merge pull request #3208 from cesy/reupgrade-ruby
Reupgrade ruby
2022-12-18 09:41:57 +00:00
Daniel O'Connor
c98731eea1 Merge branch 'dev' into reupgrade-ruby 2022-12-18 14:47:47 +10:30
Daniel O'Connor
f81493deaa Merge pull request #3203 from cesy/bundleupdate3
Empty fails on nil, better to use present instead
2022-12-18 13:59:46 +10:30
Daniel O'Connor
d5ecdb9838 Update swagger.json 2022-12-18 13:55:39 +10:30
Daniel O'Connor
5e5b9748d7 Merge branch 'dev' into bundleupdate3 2022-12-18 13:38:41 +10:30
Daniel O'Connor
5618e9565f Merge pull request #3207 from Growstuff/issue/2743
Issue/2743: Remove doubled crops entry
2022-12-18 13:38:27 +10:30
Daniel O'Connor
c1e511d099 Merge branch 'dev' into bundleupdate3 2022-12-18 11:45:10 +10:30
Daniel O'Connor
dfc7d1a09a Merge branch 'dev' into issue/2743 2022-12-18 11:44:52 +10:30
Daniel O'Connor
13b99b468b Merge pull request #3196 from italopires/fix-warning-link-capybara
Issue/3155: Fix capybara link warning
2022-12-18 11:44:33 +10:30
Cesy
cceda77471 Merge branch 'dev' into fix-warning-link-capybara 2022-12-17 17:59:16 +00:00
Cesy
64331cb8bd Merge pull request #3192 from Growstuff/issue/1642
Issue/1642: Drop facebook auth
2022-12-17 10:45:30 +00:00
Cesy
3bf0ece501 Merge branch 'dev' into fix-warning-link-capybara 2022-12-17 10:42:40 +00:00
Cesy
60608411ed Merge branch 'dev' into issue/1642 2022-12-17 10:41:35 +00:00
Cesy
554620e8ce Merge pull request #3176 from Growstuff/dev
Production release
2022-12-17 10:38:50 +00:00
Cesy
5025f6c3f0 Revert "Revert "Finishing updating ruby""
This reverts commit 2eaf9ca400.
2022-12-15 13:42:07 +00:00
Cesy
0938e6b7a9 Revert "Revert "Update ruby version to 3.1.3""
This reverts commit d479c0d906.
2022-12-15 13:41:34 +00:00
Daniel O'Connor
cdd0a7c122 Merge branch 'dev' into issue/2743 2022-12-16 00:03:10 +10:30
Daniel O'Connor
7733cd9bd2 Merge branch 'dev' into fix-warning-link-capybara 2022-12-15 22:36:55 +10:30
Daniel O'Connor
0a9afe03d9 Fix #2743 Remove doubled crops entry 2022-12-15 22:28:54 +10:30
Daniel O'Connor
7a8f826456 Merge branch 'dev' into bundleupdate3 2022-12-15 19:45:08 +10:30
Cesy Avon
f677500d2e Empty fails on nil, better to use present instead 2022-12-14 20:18:49 +00:00
Italo Pires
8951ae4719 Added myself to CONTRIBUTORS.md 2022-12-12 15:30:41 -03:00
Italo Pires
5faf990167 Removed white space 2022-12-10 18:50:17 -03:00
Italo Pires
24ac3fc9be Rename it from shows to render 2022-12-10 18:42:13 -03:00
Italo Pires
74f2ffe86e Fix test warning about assert link with capybara 2022-12-10 18:38:11 -03:00
Cesy
e101978107 Merge branch 'dev' into issue/1642 2022-12-10 08:23:36 +00:00
Daniel O'Connor
dd7c51ea88 Update _edit_apps.html.haml 2022-12-10 16:13:11 +10:30
Daniel O'Connor
2fd478d155 Merge branch 'dev' into issue/1642 2022-12-10 16:00:39 +10:30
Daniel O'Connor
28d550d67f Drop test 2022-12-10 15:55:57 +10:30
Daniel O'Connor
07feb1cd85 Drop tests 2022-12-10 15:54:58 +10:30
Daniel O'Connor
d3063f844d Remove facebook auth. They wanted to dictate the behaviour of an application they didn't own, so I told them to get stuffed a few years ago 2022-12-10 15:52:12 +10:30
34 changed files with 303 additions and 391 deletions

View File

@@ -1 +1 @@
3.1.2
3.1.3

View File

@@ -92,6 +92,7 @@ submit the change with your pull request.
- André Aubin / [lambda2](https://github.com/lambda2)
- Martina Simicic / [simicic](https://github.com/simicic)
- Rowan Crawford / [wombleton](https://github.com/wombleton)
- Ítalo Pires / [italopires](https://github.com/italopires)
## Bots

View File

@@ -94,7 +94,6 @@ gem "bootstrap_form", ">= 4.5.0"
# For connecting to other services (eg Twitter)
gem 'omniauth', '~> 1.3'
gem 'omniauth-facebook'
gem 'omniauth-flickr', '>= 0.0.15'
gem 'omniauth-twitter'

View File

@@ -1,6 +1,6 @@
GIT
remote: https://github.com/restarone/comfortable-mexican-sofa.git
revision: 456fb8507e9668128529c0302fa2e77e029c1f88
revision: ccf9415ae220453a199759b8ecbb8e9436c75c85
specs:
comfortable_mexican_sofa (2.0.19)
active_link_to (>= 1.0.0)
@@ -26,47 +26,47 @@ GEM
remote: https://rubygems.org/
specs:
abstract_type (0.0.7)
actioncable (7.0.4)
actionpack (= 7.0.4)
activesupport (= 7.0.4)
actioncable (7.0.4.2)
actionpack (= 7.0.4.2)
activesupport (= 7.0.4.2)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (7.0.4)
actionpack (= 7.0.4)
activejob (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
actionmailbox (7.0.4.2)
actionpack (= 7.0.4.2)
activejob (= 7.0.4.2)
activerecord (= 7.0.4.2)
activestorage (= 7.0.4.2)
activesupport (= 7.0.4.2)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.0.4)
actionpack (= 7.0.4)
actionview (= 7.0.4)
activejob (= 7.0.4)
activesupport (= 7.0.4)
actionmailer (7.0.4.2)
actionpack (= 7.0.4.2)
actionview (= 7.0.4.2)
activejob (= 7.0.4.2)
activesupport (= 7.0.4.2)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
actionpack (7.0.4)
actionview (= 7.0.4)
activesupport (= 7.0.4)
actionpack (7.0.4.2)
actionview (= 7.0.4.2)
activesupport (= 7.0.4.2)
rack (~> 2.0, >= 2.2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.4)
actionpack (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
actiontext (7.0.4.2)
actionpack (= 7.0.4.2)
activerecord (= 7.0.4.2)
activestorage (= 7.0.4.2)
activesupport (= 7.0.4.2)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.0.4)
activesupport (= 7.0.4)
actionview (7.0.4.2)
activesupport (= 7.0.4.2)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
@@ -78,25 +78,25 @@ GEM
activerecord (>= 4.2)
active_record_union (1.3.0)
activerecord (>= 4.0)
active_utils (3.3.19)
active_utils (3.4.0)
activesupport (>= 4.2)
i18n
activejob (7.0.4)
activesupport (= 7.0.4)
activejob (7.0.4.2)
activesupport (= 7.0.4.2)
globalid (>= 0.3.6)
activemodel (7.0.4)
activesupport (= 7.0.4)
activerecord (7.0.4)
activemodel (= 7.0.4)
activesupport (= 7.0.4)
activestorage (7.0.4)
actionpack (= 7.0.4)
activejob (= 7.0.4)
activerecord (= 7.0.4)
activesupport (= 7.0.4)
activemodel (7.0.4.2)
activesupport (= 7.0.4.2)
activerecord (7.0.4.2)
activemodel (= 7.0.4.2)
activesupport (= 7.0.4.2)
activestorage (7.0.4.2)
actionpack (= 7.0.4.2)
activejob (= 7.0.4.2)
activerecord (= 7.0.4.2)
activesupport (= 7.0.4.2)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (7.0.4)
activesupport (7.0.4.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
@@ -113,7 +113,7 @@ GEM
ast (2.4.2)
autoprefixer-rails (10.4.7.0)
execjs (~> 2)
bcrypt (3.1.17)
bcrypt (3.1.18)
better_errors (2.9.1)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
@@ -139,11 +139,11 @@ GEM
actionpack (>= 5.2)
activemodel (>= 5.2)
builder (3.2.4)
bullet (7.0.4)
bullet (7.0.7)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.11)
byebug (11.1.3)
cancancan (3.4.0)
cancancan (3.5.0)
capybara (3.38.0)
addressable
matrix
@@ -167,7 +167,7 @@ GEM
mimemagic (>= 0.3.0)
mini_mime (>= 0.1.3)
ssrf_filter (~> 1.0)
chartkick (4.2.1)
chartkick (5.0.1)
codeclimate-test-reporter (1.0.9)
simplecov (<= 0.13)
coderay (1.1.3)
@@ -183,19 +183,20 @@ GEM
concord (0.1.6)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
concurrent-ruby (1.1.10)
concurrent-ruby (1.2.2)
connection_pool (2.3.0)
crass (1.0.6)
csv_shaper (1.3.2)
activesupport (>= 3.0.0)
dalli (3.2.3)
dalli (3.2.4)
database_cleaner (2.0.1)
database_cleaner-active_record (~> 2.0.0)
database_cleaner-active_record (2.0.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
devise (4.8.1)
date (3.3.3)
devise (4.9.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
@@ -223,7 +224,7 @@ GEM
faraday (~> 1)
multi_json
equalizer (0.0.11)
erubi (1.11.0)
erubi (1.12.0)
erubis (2.7.0)
excon (0.93.1)
execjs (2.8.1)
@@ -232,9 +233,9 @@ GEM
factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0)
railties (>= 5.0.0)
faker (3.0.0)
faker (3.1.1)
i18n (>= 1.8.11, < 2)
faraday (1.10.2)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
@@ -269,7 +270,7 @@ GEM
gibbon (1.2.1)
httparty
multi_json (>= 1.9.0)
globalid (1.0.0)
globalid (1.1.0)
activesupport (>= 5.0)
gravatar-ultimate (2.0.0)
activesupport (>= 2.3.14)
@@ -288,7 +289,7 @@ GEM
activesupport (>= 5.1)
haml (>= 4.0.6)
railties (>= 5.1)
haml_lint (0.43.0)
haml_lint (0.45.0)
haml (>= 4.0, < 6.2)
parallel (~> 1.10)
rainbow
@@ -302,8 +303,8 @@ GEM
multi_json (>= 1.9.2)
webrick
highline (2.0.3)
httparty (0.18.1)
mime-types (~> 3.0)
httparty (0.21.0)
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
@@ -338,24 +339,26 @@ GEM
concurrent-ruby
railties (>= 4.1)
jsonapi-swagger (0.8.1)
jwt (2.3.0)
kgio (2.11.4)
kramdown (2.4.0)
rexml
launchy (2.5.0)
addressable (~> 2.7)
leaflet-rails (1.9.2)
leaflet-rails (1.9.3)
rails (>= 4.2.0)
letter_opener (1.8.1)
launchy (>= 2.2, < 3)
listen (3.7.1)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.19.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
mailboxer (0.15.1)
carrierwave (>= 0.5.8)
rails (>= 5.0.0)
@@ -370,97 +373,84 @@ GEM
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (1.0.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2020.0512)
mimemagic (0.4.3)
nokogiri (~> 1)
rake
mini_magick (4.11.0)
mini_magick (4.12.0)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.16.3)
mini_portile2 (2.8.1)
minitest (5.17.0)
moneta (1.0.0)
multi_json (1.15.0)
multi_xml (0.6.0)
multipart-post (2.2.3)
net-imap (0.3.1)
net-imap (0.3.4)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.1.3)
net-protocol (0.2.1)
timeout
net-smtp (0.3.3)
net-protocol
nio4r (2.5.8)
nokogiri (1.13.10)
nokogiri (1.14.2)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nokogiri (1.13.10-x86_64-linux)
nokogiri (1.14.2-x86_64-linux)
racc (~> 1.4)
oauth (0.5.6)
oauth2 (1.4.9)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
oj (3.13.23)
oj (3.14.2)
omniauth (1.9.2)
hashie (>= 3.4.6)
rack (>= 1.6.2, < 3)
omniauth-facebook (9.0.0)
omniauth-oauth2 (~> 1.2)
omniauth-flickr (0.0.20)
multi_json (~> 1.12)
omniauth-oauth (~> 1.0)
omniauth-oauth (1.1.0)
oauth
omniauth (~> 1.0)
omniauth-oauth2 (1.7.2)
oauth2 (~> 1.4)
omniauth (>= 1.9, < 3)
omniauth-twitter (1.4.0)
omniauth-oauth (~> 1.1)
rack
orm_adapter (0.5.0)
parallel (1.22.1)
parser (3.1.3.0)
parser (3.2.1.1)
ast (~> 2.4.1)
percy-capybara (5.0.0)
capybara (>= 3)
pg (1.4.5)
pg (1.4.6)
platform-api (3.5.0)
heroics (~> 0.1.1)
moneta (~> 1.0.0)
rate_throttle_client (~> 0.1.0)
popper_js (1.16.1)
public_suffix (5.0.0)
puma (6.0.0)
public_suffix (5.0.1)
puma (6.1.1)
nio4r (~> 2.0)
query_diet (0.7.1)
racc (1.6.1)
rack (2.2.4)
rack-cors (1.1.1)
racc (1.6.2)
rack (2.2.6.3)
rack-cors (2.0.0)
rack (>= 2.0.0)
rack-protection (3.0.4)
rack-protection (3.0.5)
rack
rack-test (2.0.2)
rack (>= 1.3)
rails (7.0.4)
actioncable (= 7.0.4)
actionmailbox (= 7.0.4)
actionmailer (= 7.0.4)
actionpack (= 7.0.4)
actiontext (= 7.0.4)
actionview (= 7.0.4)
activejob (= 7.0.4)
activemodel (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
rails (7.0.4.2)
actioncable (= 7.0.4.2)
actionmailbox (= 7.0.4.2)
actionmailer (= 7.0.4.2)
actionpack (= 7.0.4.2)
actiontext (= 7.0.4.2)
actionview (= 7.0.4.2)
activejob (= 7.0.4.2)
activemodel (= 7.0.4.2)
activerecord (= 7.0.4.2)
activestorage (= 7.0.4.2)
activesupport (= 7.0.4.2)
bundler (>= 1.15.0)
railties (= 7.0.4)
railties (= 7.0.4.2)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
@@ -468,9 +458,9 @@ GEM
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.4)
rails-html-sanitizer (1.5.0)
loofah (~> 2.19, >= 2.19.1)
rails-i18n (7.0.5)
rails-i18n (7.0.6)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8)
rails_12factor (0.0.3)
@@ -478,9 +468,9 @@ GEM
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (7.0.4)
actionpack (= 7.0.4)
activesupport (= 7.0.4)
railties (7.0.4.2)
actionpack (= 7.0.4.2)
activesupport (= 7.0.4.2)
method_source
rake (>= 12.2)
thor (~> 1.0)
@@ -489,15 +479,15 @@ GEM
raindrops (0.20.0)
rake (13.0.6)
rate_throttle_client (0.1.2)
rb-fsevent (0.11.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
redis-client (0.11.2)
redis-client (0.12.2)
connection_pool
regexp_parser (2.6.1)
responders (3.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
regexp_parser (2.7.0)
responders (3.1.0)
actionpack (>= 5.2)
railties (>= 5.2)
rexml (3.2.5)
rspec (3.11.0)
rspec-core (~> 3.11.0)
@@ -539,25 +529,28 @@ GEM
rswag-ui (2.8.0)
actionpack (>= 3.1, < 7.1)
railties (>= 3.1, < 7.1)
rubocop (1.40.0)
rubocop (1.48.0)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.1.2.1)
parser (>= 3.2.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.23.0, < 2.0)
rubocop-ast (>= 1.26.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.24.0)
parser (>= 3.1.1.0)
rubocop-rails (2.17.3)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.27.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.17.1)
rubocop (~> 1.41)
rubocop-rails (2.18.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-rspec (2.16.0)
rubocop-rspec (2.19.0)
rubocop (~> 1.33)
ruby-progressbar (1.11.0)
rubocop-capybara (~> 2.17)
ruby-progressbar (1.13.0)
ruby-units (3.0.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
@@ -584,11 +577,11 @@ GEM
activemodel (>= 5)
elasticsearch (>= 6, < 7.14)
hashie
selenium-webdriver (4.7.1)
selenium-webdriver (4.8.1)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
sidekiq (7.0.2)
sidekiq (7.0.6)
concurrent-ruby (< 2)
connection_pool (>= 2.3.0)
rack (>= 2.2.4)
@@ -608,20 +601,20 @@ GEM
sprockets (>= 3.0.0)
ssrf_filter (1.0.7)
sysexits (1.2.0)
temple (0.9.1)
temple (0.10.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thor (1.2.1)
thread_safe (0.3.6)
tilt (2.0.11)
tilt (2.1.0)
timecop (0.9.6)
timeout (0.3.0)
timeout (0.3.2)
trollop (1.16.2)
tzinfo (2.0.5)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.3.0)
unicode-display_width (2.4.2)
unicorn (6.1.0)
kgio (~> 2.6)
raindrops (~> 0.7)
@@ -651,7 +644,7 @@ GEM
webrick
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.6)
zeitwerk (2.6.7)
PLATFORMS
ruby
@@ -716,7 +709,6 @@ DEPENDENCIES
memcachier
oj
omniauth (~> 1.3)
omniauth-facebook
omniauth-flickr (>= 0.0.15)
omniauth-twitter
percy-capybara (~> 5.0.0)
@@ -759,7 +751,7 @@ DEPENDENCIES
xmlrpc
RUBY VERSION
ruby 3.1.2p20
ruby 3.1.3p185
BUNDLED WITH
2.3.11

View File

@@ -20,7 +20,7 @@ encourage participation from people of all backgrounds and skill levels.
* [Issues](https://github.com/orgs/Growstuff/projects/1) (features we're
working on, known bugs, etc)
* [![Gitter](https://badges.gitter.im/Growstuff/growstuff.svg)](https://gitter.im/Growstuff/growstuff?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
* [Wiki](https://github.com/Growstuff/growstuff/wiki) (general documentation, etc. Help by migrating from the [old wiki](https://web.archive.org/web/*/wiki.growstuff.org))
* [Wiki](https://github.com/Growstuff/growstuff/wiki) (general documentation, etc.)
## For coders
@@ -29,7 +29,6 @@ frontend features. We welcome contributions -- see
[CONTRIBUTING](CONTRIBUTING.md) for details.
* To set up your development environment, see [Getting started](https://github.com/Growstuff/growstuff/wiki/New-contributor-guide).
* We encourage [pair programming](http://wiki.growstuff.org/index.php/Pairing), especially for newer developers.
* You may also be interested in our [API](https://github.com/Growstuff/growstuff/wiki/API).
## For designers, writers, researchers, data wranglers, and other contributors

View File

@@ -1,10 +1,6 @@
function showCropMap(cropmap) {
var mapbox_map_id = "<%= Rails.env == 'test' ? 0 : Rails.application.config.mapbox_map_id %>";
var mapbox_access_token = "<%= Rails.env == 'test' ? 0 : Rails.application.config.mapbox_access_token %>";
var mapbox_base_url = "https://a.tiles.mapbox.com/v4/" + mapbox_map_id + "/{z}/{x}/{y}.png?access_token=" + mapbox_access_token;
L.tileLayer(mapbox_base_url, {
attribution: 'Map data &copy; <a href="https://openstreetmap.org">OpenStreetMap</a> contributors under <a href="https://www.openstreetmap.org/copyright">ODbL</a> | Map imagery &copy; <a href="https://mapbox.com">Mapbox</a>',
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxZoom: 18
}).addTo(cropmap);
var markers = new L.MarkerClusterGroup({showCoverageOnHover: false, maxClusterRadius: 20 });

View File

@@ -1,10 +1,4 @@
if (document.getElementById("membermap") !== null) {
var mapbox_map_id = "<%= Rails.env == 'test' ? 0 : Rails.application.config.mapbox_map_id %>";
var mapbox_access_token = "<%= Rails.env == 'test' ? 0 : Rails.application.config.mapbox_access_token %>";
var mapbox_base_url = "https://a.tiles.mapbox.com/v4/" + mapbox_map_id + "/{z}/{x}/{y}.png?access_token=" + mapbox_access_token;
L.Icon.Default.imagePath = '/assets'
L.Icon.Default.imagePath = '/assets';
var default_marker_icon = L.icon({
@@ -18,8 +12,8 @@ if (document.getElementById("membermap") !== null) {
if (member.latitude && member.longitude) {
var membermap = L.map('membermap').setView([member.latitude, member.longitude], 4);
L.tileLayer(mapbox_base_url, {
attribution: 'Map data &copy; <a href="https://openstreetmap.org">OpenStreetMap</a> contributors under <a href="https://www.openstreetmap.org/copyright">ODbL</a> | Map imagery &copy; <a href="https://mapbox.com">Mapbox</a>',
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxZoom: 18
}).addTo(membermap);
var marker = new L.Marker(new L.LatLng(member.latitude, member.longitude),

View File

@@ -1,8 +1,5 @@
if (document.getElementById("placesmap") !== null) {
var places_base_path = "/places";
var mapbox_map_id = "<%= Rails.env == 'test' ? 0 : Rails.application.config.mapbox_map_id %>";
var mapbox_access_token = "<%= Rails.env == 'test' ? 0 : Rails.application.config.mapbox_access_token %>";
var mapbox_base_url = "https://a.tiles.mapbox.com/v4/" + mapbox_map_id + "/{z}/{x}/{y}.png?access_token=" + mapbox_access_token;
var nominatim_base_url = 'https://nominatim.openstreetmap.org/search/';
var nominatim_user_agent_email = "<%= Rails.env == 'test' ? 0 : Rails.application.config.user_agent_email %>";
@@ -31,8 +28,8 @@ if (document.getElementById("placesmap") !== null) {
}
function showMap(placesmap) {
L.tileLayer(mapbox_base_url, {
attribution: 'Map data &copy; <a href="https://openstreetmap.org">OpenStreetMap</a> contributors under <a href="https://www.openstreetmap.org/copyright">ODbL</a> | Map imagery &copy; <a href="https://mapbox.com">Mapbox</a>',
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxZoom: 18
}).addTo(placesmap);

View File

@@ -18,7 +18,6 @@ class MembersController < ApplicationController
@member = Member.confirmed.kept.find_by!(slug: params[:slug])
@twitter_auth = @member.auth('twitter')
@flickr_auth = @member.auth('flickr')
@facebook_auth = @member.auth('facebook')
@posts = @member.posts
@activity = TimelineService.member_query(@member).limit(30)

View File

@@ -9,10 +9,6 @@ require './lib/actions/oauth_signup_action'
# Heavily overlaps with Authentications controller
#
class OmniauthCallbacksController < Devise::OmniauthCallbacksController
def facebook
create
end
def failure
flash[:alert] = "Authentication failed."
redirect_to request.env['omniauth.origin'] || "/"
@@ -32,7 +28,7 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController
@authentication = action.establish_authentication(auth, member)
if action.member_created?
raise "Invalid provider" unless %w(facebook twitter flickr).index(auth['provider'].to_s)
raise "Invalid provider" unless %w(twitter flickr).index(auth['provider'].to_s)
session["devise.#{auth['provider']}_data"] = request.env["omniauth.auth"]
sign_in member

View File

@@ -6,7 +6,6 @@ class RegistrationsController < Devise::RegistrationsController
def edit
@twitter_auth = current_member.auth('twitter')
@flickr_auth = current_member.auth('flickr')
@facebook_auth = current_member.auth('facebook')
render "edit"
end

View File

@@ -19,7 +19,7 @@
%p
%span.help-block
For detailed crop wrangling guidelines, please consult the
= link_to "crop wrangling guide", "http://wiki.growstuff.org/index.php/Crop_wrangling"
= link_to "crop wrangling guide", "https://github.com/Growstuff/growstuff/wiki/Crop-Wrangling"
on the Growstuff wiki.
-# Everyone (wranglers and requesters) sees the basic info section

View File

@@ -28,17 +28,3 @@
method: :delete, class: "remove btn btn-danger"
- else
= link_to 'Connect to Flickr', '/members/auth/flickr', class: 'btn'
.row
.col-md-12
%p
= image_tag "facebook_32.png", size: "32x32", alt: 'Facebook logo'
- if @facebook_auth
You are connected to Facebook as
= succeed "." do
= link_to @facebook_auth.name, "https://facebook.com/profile/#{@facebook_auth.uid}"
= link_to "Disconnect", @facebook_auth,
confirm: "Are you sure you want to remove this connection?",
method: :delete, class: "remove btn btn-danger"
- else
= link_to 'Connect to Facebook', '/members/auth/facebook', class: 'btn'

View File

@@ -1,4 +1,4 @@
- if twitter_auth || flickr_auth || facebook_auth || member.show_email
- if twitter_auth || flickr_auth || member.show_email
%h4 Contact
- if twitter_auth
@@ -11,11 +11,6 @@
= image_tag "flickr_32.png", size: "32x32", alt: 'Flickr logo'
= link_to flickr_auth.name, "https://flickr.com/photos/#{flickr_auth.uid}"
- if facebook_auth
%p
= image_tag "facebook_32.png", size: "32x32", alt: 'Facebook logo'
= link_to facebook_auth.name, "https://facebook.com/profile/#{facebook_auth.uid}"
- if member.show_email
%p
Email:

View File

@@ -1,19 +1,18 @@
- cache member do
.card.card-double
.card-body
.row
.col-12.col-md-6
= render "members/avatar", member: member
.col-12.col-md-6
%h4.login-name= link_to member, member
= link_to "view all #{member}'s gardens", member_gardens_path(member)
%p
%small
Joined
= distance_of_time_in_words(member.created_at, Time.zone.now)
ago.
- if member.location.present?
= link_to member.location, place_path(member.location)
%h4.login-name= link_to member, member
%div
= render "members/avatar", member: member
%div
= link_to "view all #{member}'s gardens", member_gardens_path(member)
%p
%small
Joined
= distance_of_time_in_words(member.created_at, Time.zone.now)
ago.
- if member.location.present?
= link_to member.location, place_path(member.location)
.card-footer
%ul.nav.nav-justified.small
%li.nav-item.border-right

View File

@@ -2,39 +2,39 @@
%h3 Activity
%ul.list-group.list-group-flush
%li.list-group-item
- if !member.gardens.empty?
- if member.gardens.present?
= link_to localize_plural(member.gardens, Garden), member_gardens_path(member)
- else
0 gardens
%li.list-group-item
- if !member.plantings.empty?
- if member.plantings.present?
= link_to localize_plural(member.plantings, Planting), member_plantings_path(member)
- else
0 plantings
%li.list-group-item
- if !member.harvests.empty?
- if member.harvests.present?
= link_to localize_plural(member.harvests, Harvest), member_harvests_path(member)
- else
0 harvests
%li.list-group-item
- if !member.seeds.empty?
- if member.seeds.present?
= link_to localize_plural(member.seeds, Seed), member_seeds_path(member)
- else
0 seeds
%li.list-group-item
- if !member.posts.empty?
- if member.posts.present?
= link_to localize_plural(member.posts, Post), member_posts_path(member)
- else
0 posts
%li.list-group-item
- if !member.followed.empty?
- if member.followed.present?
= link_to localize_plural(member.followed, Follow), member_follows_path(member)
- else
0 following
%li.list-group-item
- if !member.followers.empty?
- if member.followers.present?
= link_to pluralize(member.followers.size, "follower"), member_followers_path(member)
- else
0 followers

View File

@@ -57,8 +57,7 @@
= render "stats", member: @member
.card-footer
= render "contact", member: @member, twitter_auth: @twitter_auth,
flickr_auth: @flickr_auth,
facebook_auth: @facebook_auth
flickr_auth: @flickr_auth
.col-md-10
%section= render "map", member: @member

View File

@@ -1,6 +1,6 @@
%form.form-inline{ action: search_places_path, method: :get, role: 'form' }
.form-group
= label_tag :new_place, "Change location:", class: 'sr-only'
= text_field_tag :new_place, '', class: 'form-control', placeholder: "New location..."
= text_field_tag :new_place, '', class: 'form-control', placeholder: "Search for city, suburb or state..."
= submit_tag "Search", class: 'btn btn-primary', id: "search_button"
%br/

View File

@@ -2,10 +2,10 @@
- unless posts.empty?
%table.table.table-striped
%tr
%th Subject
%th.hidden-xs Posted by
%th Most recent activity
%th.hidden-xs Comments
%th.col-6 Subject
%th.col-2.hidden-xs Posted by
%th.col-2 Most recent activity
%th.col-2.hidden-xs Comments
- posts.recently_active[0..howmany - 1].each do |post|
- cache post do

View File

@@ -23,6 +23,8 @@ module Growstuff
config.time_zone = 'UTC'
config.active_record.default_timezone = :local
config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time, ActiveSupport::TimeWithZone, ActiveSupport::TimeZone]
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
I18n.load_path += Dir[Rails.root.join('config', 'locales', '*.{rb,yml}')]
I18n.default_locale = :en

View File

@@ -69,11 +69,6 @@ Rails.application.configure do
config.host = 'localhost:3000'
config.analytics_code = ''
# this config variable cannot be put in application.yml as it is needed
# by the assets pipeline, which doesn't have access to ENV.
config.mapbox_map_id = 'growstuff.i3n2il6a'
config.mapbox_access_token = 'pk.eyJ1IjoiZ3Jvd3N0dWZmIiwiYSI6IkdxMkx4alUifQ.n0igaBsw97s14zMa0lwKCA'
config.action_controller.action_on_unpermitted_parameters = :raise
config.active_job.queue_adapter = :sidekiq

View File

@@ -109,11 +109,6 @@ Rails.application.configure do
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/100594260ns.gif" /></p></noscript>
eos
# this config variable cannot be put in application.yml as it is needed
# by the assets pipeline, which doesn't have access to ENV.
config.mapbox_map_id = ENV['GROWSTUFF_MAPBOX_MAP_ID']
config.mapbox_access_token = ENV['GROWSTUFF_MAPBOX_ACCESS_TOKEN']
config.active_job.queue_adapter = :sidekiq
# Use a different logger for distributed setups.
# require 'syslog/logger'

View File

@@ -104,16 +104,3 @@ Capybara.configure do |config|
end
OmniAuth.config.test_mode = true
# Fake the omniauth
OmniAuth.config.mock_auth[:facebook] = OmniAuth::AuthHash.new(provider: 'facebook',
uid: '123545',
info: {
name: "John Testerson",
nickname: 'JohnnyT',
email: 'example.oauth.facebook@example.com',
image: 'http://findicons.com/files/icons/1072/face_avatars/300/i04.png'
},
credentials: {
token: "token",
secret: "donttell"
})

View File

@@ -233,8 +233,4 @@ Devise.setup do |config|
# When using omniauth, Devise cannot automatically set Omniauth path,
# so you need to do it manually. For the users scope, it would be:
# config.omniauth_path_prefix = "/my_engine/users/auth"
# Later we may wish to ask for user_photos,user_location, however this means we need to be reviewed by facebook
config.omniauth :facebook, ENV['GROWSTUFF_FACEBOOK_KEY'], ENV['GROWSTUFF_FACEBOOK_SECRET'], scope: 'email,public_profile',
display: 'page', info_fields: 'email,name,first_name,last_name,id'
end

View File

@@ -23,9 +23,9 @@ class UpgradeCms < ActiveRecord::Migration[5.2]
t.string :locale, null: false
t.integer :page_id, null: false
t.integer :layout_id
t.string :label, null: false
t.text :content_cache, limit: limit
t.boolean :is_published, null: false, default: true
t.string :label, null: false
t.text(:content_cache, limit:)
t.boolean :is_published, null: false, default: true
t.timestamps
t.index [:page_id]

View File

@@ -0,0 +1,60 @@
# frozen_string_literal: true
# This migration comes from active_storage (originally 20170806125915)
class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
def change
# Use Active Record's configured type for primary and foreign keys
primary_key_type, foreign_key_type = primary_and_foreign_key_types
create_table :active_storage_blobs, id: primary_key_type do |t|
t.string :key, null: false
t.string :filename, null: false
t.string :content_type
t.text :metadata
t.string :service_name, null: false
t.bigint :byte_size, null: false
t.string :checksum
if connection.supports_datetime_with_precision?
t.datetime :created_at, precision: 6, null: false
else
t.datetime :created_at, null: false
end
t.index [:key], unique: true
end
create_table :active_storage_attachments, id: primary_key_type do |t|
t.string :name, null: false
t.references :record, null: false, polymorphic: true, index: false, type: foreign_key_type
t.references :blob, null: false, type: foreign_key_type
if connection.supports_datetime_with_precision?
t.datetime :created_at, precision: 6, null: false
else
t.datetime :created_at, null: false
end
t.index %i(record_type record_id name blob_id), name: :index_active_storage_attachments_uniqueness, unique: true
t.foreign_key :active_storage_blobs, column: :blob_id
end
create_table :active_storage_variant_records, id: primary_key_type do |t|
t.belongs_to :blob, null: false, index: false, type: foreign_key_type
t.string :variation_digest, null: false
t.index %i(blob_id variation_digest), name: :index_active_storage_variant_records_uniqueness, unique: true
t.foreign_key :active_storage_blobs, column: :blob_id
end
end
private
def primary_and_foreign_key_types
config = Rails.configuration.generators
setting = config.options[config.orm][:primary_key_type]
primary_key_type = setting || :primary_key
foreign_key_type = setting || :bigint
[primary_key_type, foreign_key_type]
end
end

View File

@@ -50,10 +50,6 @@ GROWSTUFF_TWITTER_SECRET=""
GROWSTUFF_FLICKR_KEY=""
GROWSTUFF_FLICKR_SECRET=""
# https://developers.facebook.com/
GROWSTUFF_FACEBOOK_KEY=""
GROWSTUFF_FACEBOOK_SECRET=""
# Elasticsearch is used for flexible search and it requires another component
# to be installed. To make it easy for people who don't need to test this feature
# it's been turned off for test and development environment as a default.

View File

@@ -63,7 +63,7 @@ class Growstuff::OauthSignupAction
case auth['provider']
when 'twitter'
auth['info']['nickname']
when 'flickr', 'facebook'
when 'flickr'
auth['info']['name']
else
auth['info']['name']

View File

@@ -82,28 +82,4 @@ describe "signin", js: true do
click_button 'Sign in'
expect(page).to have_content("There are crops waiting to be wrangled.")
end
context "with facebook" do
it "sign in" do
# Ordinarily done by database_cleaner
Member.where(login_name: 'tdawg').delete_all
create(:member, login_name: 'tdawg', email: 'example.oauth.facebook@example.com')
# Start the test
visit root_path
first('.signup a').click
# Click the signup with facebook link
first('a[href="/members/auth/facebook"]').click
# Magic happens!
# See config/environments/test.rb for the fake user
# that we pretended to auth as
# Signed up and logged in
expect(page).to have_current_path root_path, ignore_query: true
expect(page.text).to include("Welcome to #{ENV['GROWSTUFF_SITE_NAME']}, tdawg")
end
end
end

View File

@@ -45,37 +45,4 @@ describe "signup", js: true do
click_button 'Sign up'
expect(page).to have_current_path members_path, ignore_query: true
end
context "with facebook" do
it "sign up" do
# Ordinarily done by database_cleaner
Member.where(login_name: 'tdawg').delete_all
Member.where(email: 'tdawg@hotmail.com').delete_all
Member.where(email: 'example.oauth.facebook@example.com').delete_all
Authentication.where(provider: 'facebook', uid: '123545').delete_all
# Start the test
visit root_path
first('.signup a').click
# Click the signup with facebook link
first('a[href="/members/auth/facebook"]').click
# Magic happens!
# See config/environments/test.rb for the fake user
# that we pretended to auth as
# Confirm page
expect(page).to have_current_path '/members/johnnyt/finish_signup'
fill_in 'Login name', with: 'tdawg'
fill_in 'Email', with: 'tdawg@hotmail.com'
check 'member_tos_agreement'
click_button 'Continue'
# Signed up and logged in
expect(page).to have_current_path root_path, ignore_query: true
expect(page.text).to include("Welcome to #{ENV['GROWSTUFF_SITE_NAME']}, tdawg")
end
end
end

View File

@@ -103,7 +103,6 @@ RSpec.configure do |config|
if page.driver.browser.respond_to?(:url_blacklist)
page.driver.browser.url_blacklist = [
'gravatar.com',
'mapbox.com',
'okfn.org',
'googlecode.com'
]

View File

@@ -16,6 +16,6 @@ describe "crops/new" do
end
it "shows a link to crop wrangling guidelines" do
assert_select "a[href^='http://wiki.growstuff.org']", "crop wrangling guide"
assert_select "a[href^='https://github.com/Growstuff/growstuff/wiki/Crop-Wrangling']", "crop wrangling guide"
end
end

View File

@@ -18,7 +18,9 @@ describe "scientific_names/edit" do
expect(rendered).to have_content "Added by #{member} less than a minute ago."
end
xit { expect(rendered).to have_link member_path(member) }
it "render member link" do
expect(rendered).to have_link member.login_name, href: member_path(member)
end
it "renders the edit scientific_name form" do
assert_select "form", action: scientific_names_path(scientific_name), method: "post" do

View File

@@ -92,13 +92,6 @@
"type": "string",
"description": "Display field",
"required": false
},
{
"name": "fields[crops]",
"in": "query",
"type": "string",
"description": "Display field",
"required": false
}
],
"responses": {
@@ -132,32 +125,32 @@
"name": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Name"
},
"en_wikipedia_url": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Wikipedia URL (English)"
},
"perennial": {
"type": "boolean",
"x-nullable": true,
"description": null
"description": "Is the item perennial? (A plant that lives more than two years)"
},
"median_lifespan": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Median lifespan"
},
"median_days_to_first_harvest": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Median days to first harvest"
},
"median_days_to_last_harvest": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Median days to last harvest"
}
},
"description": "Attributes"
@@ -371,13 +364,6 @@
"type": "string",
"description": "Display field",
"required": false
},
{
"name": "fields[crops]",
"in": "query",
"type": "string",
"description": "Display field",
"required": false
}
],
"responses": {
@@ -413,32 +399,32 @@
"name": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Name"
},
"en_wikipedia_url": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Wikipedia URL (English)"
},
"perennial": {
"type": "boolean",
"x-nullable": true,
"description": null
"description": "Is the item perennial? (A plant that lives more than two years)"
},
"median_lifespan": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Median lifespan"
},
"median_days_to_first_harvest": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Median days to first harvest"
},
"median_days_to_last_harvest": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Median days to last harvest"
}
},
"description": "Attributes"
@@ -666,7 +652,7 @@
"name": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Name"
}
},
"description": "Attributes"
@@ -868,7 +854,7 @@
"name": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Name"
}
},
"description": "Attributes"
@@ -1084,12 +1070,12 @@
"login_name": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Login name"
},
"slug": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Slug"
}
},
"description": "Attributes"
@@ -1345,12 +1331,12 @@
"login_name": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Login name"
},
"slug": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Slug"
}
},
"description": "Attributes"
@@ -1585,32 +1571,32 @@
"harvested_at": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Harvested date time"
},
"description": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Description"
},
"unit": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Unit"
},
"weight_quantity": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Weight/Quanitity"
},
"weight_unit": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Weight Unit"
},
"si_weight": {
"type": "string",
"x-nullable": true,
"description": null
"description": "SI Weight"
}
},
"description": "Attributes"
@@ -1839,32 +1825,32 @@
"harvested_at": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Harvested datetime"
},
"description": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Description"
},
"unit": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Unit"
},
"weight_quantity": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Weight/Quantity"
},
"weight_unit": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Weight Unit"
},
"si_weight": {
"type": "string",
"x-nullable": true,
"description": null
"description": "SI Weight"
}
},
"description": "Attributes"
@@ -2065,47 +2051,47 @@
"description": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Description"
},
"quantity": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Quanitity"
},
"plant_before": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Plant before"
},
"tradable_to": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Tradeable to"
},
"days_until_maturity_min": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Days until maturity (min)"
},
"days_until_maturity_max": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Days until maturity (max)"
},
"organic": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Organic"
},
"gmo": {
"type": "string",
"x-nullable": true,
"description": null
"description": "GMO"
},
"heirloom": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Heirloom"
}
},
"description": "Attributes"
@@ -2280,47 +2266,47 @@
"description": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Description"
},
"quantity": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Quanity"
},
"plant_before": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Plant before"
},
"tradable_to": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Tradable to"
},
"days_until_maturity_min": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Days until maturity (min)"
},
"days_until_maturity_max": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Days until maturity (max)"
},
"organic": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Organic"
},
"gmo": {
"type": "string",
"x-nullable": true,
"description": null
"description": "GMO"
},
"heirloom": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Heirloom"
}
},
"description": "Attributes"
@@ -2537,42 +2523,42 @@
"slug": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Slug"
},
"planted_at": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Planted at"
},
"finished": {
"type": "boolean",
"x-nullable": false,
"description": null
"description": "Finished?"
},
"finished_at": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Finished at"
},
"quantity": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Quanity"
},
"description": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Description"
},
"sunniness": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Sunniness"
},
"planted_from": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Planted from"
}
},
"description": "Attributes"
@@ -2801,42 +2787,42 @@
"slug": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Slug"
},
"planted_at": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Planted at"
},
"finished": {
"type": "boolean",
"x-nullable": false,
"description": null
"description": "Finished?"
},
"finished_at": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Finished at"
},
"quantity": {
"type": "integer",
"x-nullable": true,
"description": null
"description": "Quantity"
},
"description": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Description"
},
"sunniness": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Sunniness"
},
"planted_from": {
"type": "string",
"x-nullable": true,
"description": null
"description": "Planted from"
}
},
"description": "Attributes"
@@ -3051,27 +3037,27 @@
"thumbnail_url": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Thumbnail URL"
},
"fullsize_url": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Full-size URL"
},
"license_name": {
"type": "string",
"x-nullable": false,
"description": null
"description": "License name"
},
"link_url": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Link URL"
},
"title": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Title"
}
},
"description": "Attributes"
@@ -3300,27 +3286,27 @@
"thumbnail_url": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Thumbnail URL"
},
"fullsize_url": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Full-size URL"
},
"license_name": {
"type": "string",
"x-nullable": false,
"description": null
"description": "License name"
},
"link_url": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Link URL"
},
"title": {
"type": "string",
"x-nullable": false,
"description": null
"description": "Title"
}
},
"description": "Attributes"