Commit Graph

386 Commits

Author SHA1 Message Date
Daniel O'Connor
327eaf7a03 More rubocop 2024-07-13 04:57:20 +00:00
Daniel O'Connor
c73d23fa80 Rubocop 2024-07-13 04:55:09 +00:00
Daniel O'Connor
212ed17d60 Regenerate 2024-07-13 04:50:26 +00:00
Daniel O'Connor
7d63234841 Upgrade to bootstrap 5 (#3605)
* Upgrade boostrap

* Remove deprecated bootstrap toggles

* Migrate other details

* Avoid accidentally including bootstrap twice

* Avoid accidentally including bootstrap twice

* Avoid accidentally including bootstrap twice

* Fix spec

* Fix spec, where the size of the screen has gone to a partial breakpoint/you can't click on your own name in tablet view

* Fix spec

* Cleanup

* Cleanup
2024-03-10 11:49:22 +10:30
Daniel O'Connor
008667515e Swap from ugifier to terser 2024-01-27 01:28:55 +00:00
Daniel O'Connor
8249edd966 Add msgpack due to rails requesting it 2024-01-27 00:14:21 +00:00
Daniel O'Connor
f338274611 Rails 7.1 (#3590)
* Rails 7.1

* Update application.rb

* Bump searchkick

* Bump to 7.0.0

* Fix

* Fix crop search

* Sync translation

* Drop required from form group

* Loosen specs further

* Fix Gemfile

* Update seeds_request_spec.rb

* Update test.rb

* Rename
2024-01-27 10:06:47 +10:30
Daniel O'Connor
ad4a6e17e2 iCalendar feed of plantings (#3588)
* Register mime type

* Add rough first pass

* Index predictions, and add links

* Trailing space

* Fix implementation

* Fix names, make public

* Fix names, make public

* Fix

* Fix tyyos

* Add date

* If there are no predictions, keep growing

* Add a todo

* Fix factories

* Specs
2024-01-27 00:38:33 +10:30
Daniel O'Connor
254fd156f0 Remove faraday_middleware (#3604)
* Remove faraday_middleware

* Remove outdated migration

* Remove outdated migration
2024-01-27 00:10:17 +10:30
Daniel O'Connor
b711618027 Unpin active_median (#3603)
* Unpin active_median

* Remove outdated migration

* Remove outdated migration
2024-01-26 23:47:59 +10:30
Daniel O'Connor
140fe7a087 Bump searchkick, elasticsearch (#3602)
* Bump searchkick

* Bump to 7.0.0

* Fix

* Fix crop search
2024-01-26 23:01:39 +10:30
Daniel O'Connor
12ff09ad51 Add Accessibility assertions to rspec, replacing accessbility-lint + fixes (#3573)
* Add dep

* Add tests around accessibility

* Add examples in a few places

* Try to fix screenshots

* Remove redundant role

* Adjust rules, colors, etc so tests pass

* Update app/assets/stylesheets/overrides.scss

* Wrap in label

* Omit rule, which is failing with a false positive

* Update index.haml

* Update _blurb.html.haml
2024-01-22 22:09:27 +10:30
Daniel O'Connor
50b6708c7f Update jquery-ui-rails 2024-01-21 13:42:48 +00:00
Daniel O'Connor
8546794311 Recaptcha (#3586)
* add recaptcha on register view

Update new.html.haml to add it

* Update Gemfile to add recaptcha

* Update env-example to show recaptcha

* More view corrections for recaptcha

* Update registrations_controller.rb to add recaptcha

* Update env-example with test config

* Recaptcha help text

* Fix trailing spaces

* Fix trailing space

* Add Recaptcha to gemfile.lock

* Fixing Gemfile.lock space

* Typo on comments in view

* Update app/views/devise/registrations/new.html.haml

* Fix signup

---------

Co-authored-by: Cesy <cesy.avon@gmail.com>
2024-01-21 15:20:03 +10:30
Daniel O'Connor
1f0cfa9b6c Add GBIF to our scientific names, so that our crops can associate creative commons photos (#3559)
* Add GBIF cient

* Add lookup

* Add autocomplete for GBIF lookup

* Add extra detail to scientific names

* Autocomplete

* Add routes

* Rmeove mapping

* Add autocomplete

* Update GBIF data on save

* db/schema

* Style

* Extract service

* Add concern

* Add concern

* Save photos

* Initial coverage

* Coverage

* Add coverage

* Shut up, codeclimate

* Shut up, codeclimate

* Unused

* Shut up, codeclimate

* Apply suggestions from code review

* Remove localhost

* Fix rubocop

* Fix rubocop

* Add UI links

* Add rake

* Indent

* Update Gemfile.lock

* Update lib/tasks/gbif.rake

* Update app/views/crops/_scientific_names.html.haml

* Rubocop

* Expand edit photo form

* Fix error

* Add model validations

* Skip photos without backlinks

* Fix tests

* Add photo words

* Allow blank

* Rubocop and handle invalid legacy data

* Apply suggestions from code review

* Update lib/tasks/gbif.rake
2024-01-21 13:22:25 +10:30
Daniel O'Connor
cab4c2dfca Drop webdrivers for selenium 4.11+ 2024-01-17 12:35:08 +00:00
Daniel O'Connor
5a5eddc1dd Swap to will paginate successor for bootstrap 2023-08-20 02:36:05 +00:00
Daniel O'Connor
2d332be0d3 Remove js-routes 2023-08-16 10:01:47 +01:00
Daniel O'Connor
59d8d27284 Upgrade to js-routes 2. Put all js routes into a global namespace. 2023-08-16 10:01:47 +01:00
Daniel O'Connor
1803a62aa4 Bump rails in dev container 2023-08-16 07:33:25 +01:00
Daniel O'Connor
98404baf0f Fix #3129 Swap to sass-c 2023-03-13 08:01:48 +00:00
Cesy
60608411ed Merge branch 'dev' into issue/1642 2022-12-17 10:41:35 +00:00
Cesy
d3107f4dcd Fixing vulnerabilities in old versions of gems 2022-12-14 19:55:54 +00:00
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
Cesy
117115970c Update rails from 7.0.0 to 7.0.4 2022-12-09 18:02:57 +00:00
Daniel O'Connor
6d296cf336 Merge branch 'dev' into bump-ruby-3.1.x 2022-11-06 16:03:08 +10:30
Daniel O'Connor
6705cfa044 Pin 2022-11-06 12:00:26 +10:30
Daniel O'Connor
45bd8ba9a3 Pin explicitly 2022-05-01 17:16:20 +09:30
Daniel O'Connor
b0d7aee680 Pin higher, synk 2022-05-01 17:15:00 +09:30
Daniel O'Connor
42fe9ede15 Bump rails 2022-04-17 00:57:33 +09:30
Daniel O'Connor
22e2ccc682 Swap CMS 2022-04-16 22:04:25 +09:30
Daniel O'Connor
49ab7468a7 Merge branch 'dev' into bump-ruby-3.0 2022-04-16 21:48:18 +09:30
Daniel O'Connor
ef2b35ab98 Swap to a ruby3 friendly branch 2022-04-16 21:45:38 +09:30
Daniel O'Connor
b4cf8ee333 Rails 6.1 experiment (#2910)
* Rails 6.1

* Bump rails

Co-authored-by: Brenda Wallace <brenda@wallace.net.nz>
2022-03-27 20:40:35 +10:30
Daniel O'Connor
ea5486ffe1 Swap percy over (#2986)
* Swap percy over

* Swap require over

* Change API

* Update package.json
2022-03-27 11:44:18 +10:30
Daniel O'Connor
df825c9b13 Bump pg 2022-03-27 00:58:37 +10:30
Daniel O'Connor
7602b5253d Bump Rails 6 2022-03-26 23:26:40 +10:30
snyk-bot
4053ec6d62 fix: Gemfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RAILS-1567785
2021-08-20 22:52:04 +00:00
Brenda Wallace
398531ba70 Removing coveralls 2021-01-05 19:46:07 +13:00
Brenda Wallace
bec1ab8c5b Match Gemfile ruby version in .ruby-version 2020-10-20 12:03:06 +13:00
Brenda Wallace
c4b4d382e2 Upgrade percy-capybara 2020-08-26 12:36:58 +12:00
Brenda Wallace
ec778394ab Upgrade to activemedian 0.2.0 2020-08-26 12:36:58 +12:00
Brenda Wallace
63caea1a6a Use member.kpt in auth 2020-08-26 12:36:58 +12:00
Brenda Wallace
9d1feef226 Upgrade rails gem to 6 2020-08-26 12:36:58 +12:00
Brenda Wallace
92f8a84369 Remove figaro gem and use rails-dotenv 2020-08-01 20:24:21 +12:00
Brenda Wallace
e315f78ac9 Removed TODO about geocoder in gemfile 2020-06-20 10:57:03 +12:00
dependabot[bot]
4ba4abf6e9 Bump geocoder from 1.4.9 to 1.6.1
Bumps [geocoder](https://github.com/alexreisner/geocoder) from 1.4.9 to 1.6.1.
- [Release notes](https://github.com/alexreisner/geocoder/releases)
- [Changelog](https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/alexreisner/geocoder/compare/v1.4.9...v1.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-20 10:57:03 +12:00
Brenda Wallace
52258d6773 downgrade sprockets 2020-06-03 15:29:14 +12:00
Brenda Wallace
b2cc346e92 Don't need to explitcyl add active support 2020-06-03 15:27:14 +12:00
Brenda Wallace
08bde354b2 Gem upgrades, including Rails 5.2.4.3 2020-06-03 10:43:32 +12:00