* Remove unused bluecloth gem
Last released in 2011. It was only required, never called; kramdown
renders the markdown.
* Add specs for Tilt markdown rendering and posts markdown partial
* Remove rails_12factor gem
Last released in 2014. Rails 5+ does this via RAILS_SERVE_STATIC_FILES
and RAILS_LOG_TO_STDOUT, which production.rb already reads.
* Remove memcachier gem from Gemfile and Gemfile.lock
* Remove unused webrat gem
Last released in 2011. Nothing requires it; the specs use Rails'
assert_select and Capybara matchers. Only generator comments mention it.
* Remove crowdin-cli gem
Last released in 2018. Crowdin now ships its own standalone CLI, which
reads crowdin.yml and doesn't need the gem. Also drops the dependencies
only it used (rest-client, gli, crowdin-api and friends).
* Removes the crowdin-cli gem (last released 2018), the dependencies only
it needed, and crowdin.yml. Crowdin was never set up: the config still
has a placeholder project ID and nothing else in the repo mentions it.
Assisted by Claude
* Remove newsletter functionality and associated views and tests
* Remove newsletter functionality and related code across the application
* keep the column
* Remove stale test step
* add back newsletter
* Add migration to update newsletter column comment in members table
---------
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
- Introduced `PhotoResource`, `PlantingResource`, and `SeedResource` to manage respective models.
- Updated application configuration to include API base URL.
- Modified production and test environments to set API base URL dynamically.
- Removed outdated JSONAPI resources initializers and patches.
- Refactored routes to use resourceful routing for API endpoints.
- Updated request specs to reflect changes in API responses and relationships.
- Added helper methods for generating related links in request specs.
Admins switch features on and off at /admin/features, kept in Flipper.
Job ideas (the page, the banners and the overlay) only show while its
flag is on. Features are off until switched on.
Closes#5050
* Add Procfile.dev and update bin/dev for dev asset watchers
- Create Procfile.dev to run web server and asset compilation watchers
for JS (`yarn build:watch`) and CSS (`yarn build:css:watch`).
- Add `foreman` gem to `:development` group in Gemfile.
- Update `bin/dev` to run Procfile.dev using available process manager
(overmind, hivemind, or foreman).
- Fix `build:css:watch` script in package.json to pass `--watch` to Sass.
- Update README.md to instruct running `bin/dev` in development.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
* Add Procfile.dev and update bin/dev for dev asset watchers
- Create Procfile.dev to run web server and asset compilation watchers
for JS (`yarn build:watch`) and CSS (`yarn build:css:watch`).
- Add `foreman` gem to `:development` group in Gemfile and Gemfile.lock.
- Update `bin/dev` to run Procfile.dev using available process manager
(overmind, hivemind, or foreman).
- Fix `build:css:watch` script in package.json to pass `--watch` to Sass.
- Update README.md to instruct running `bin/dev` in development.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
* Apply suggestion from @CloCkWeRX
* Apply suggestion from @CloCkWeRX
* Add Procfile.dev and update bin/dev for dev asset watchers
- Create Procfile.dev to run web server and asset compilation watchers
for JS (`yarn build:watch`) and CSS (`yarn build:css:watch`).
- Add `foreman` gem to `:development` group in Gemfile and Gemfile.lock.
- Update `bin/dev` to run Procfile.dev using available process manager
(overmind, hivemind, or foreman).
- Fix `build:css:watch` script in package.json to pass `--watch` to Sass.
- Update README.md to instruct running `bin/dev` in development.
- Keep .ruby-version unchanged.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
* Apply suggestion from @CloCkWeRX
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Brenda Wallace <brenda@wallace.net.nz>
- Deleted Elasticsearch gems from Gemfile and Gemfile.lock.
- Updated README and TECH documentation to reflect the removal of Elasticsearch.
- Removed Elasticsearch-related code from models, controllers, services, and factories.
- Adjusted tests to eliminate dependencies on Elasticsearch.
- Cleaned up Docker configuration and environment variables related to Elasticsearch.
- Added a TODO file for future gem reviews and potential removals.
- Implemented `planting_alternate_name.js` to load alternate names for crops in the planting form based on user input.
- Added `tab_navigation.js` to manage tab navigation and update the URL hash accordingly.
Update map rendering in member and place views
- Modified `_map.html.haml` to include a custom marker icon for member maps.
- Updated `index.html.haml` and `show.html.haml` to pass `places_map_data` to the map sections.
Refactor asset management in Rails application
- Removed Sprockets from the application configuration and adjusted asset paths.
- Updated asset precompilation settings and removed deprecated asset configurations from environment files.
- Added new build scripts for CSS and updated package dependencies in `package.json` for Bootstrap, Chart.js, and others.
Ensure React and CSS bundles are built before running tests
- Updated `react_bundle.rb` to check for the existence of both JavaScript and CSS bundles and build them if missing.
- Deleted `crops.js.coffee`, `finish_planting.js.coffee`, and `finish_seed.js.coffee` as they are no longer needed.
- Introduced `finish_toggle.js` to handle the finished state for both planting and seed in a unified manner.
- Added `planting_alternate_name.js` to manage alternate names for crops in the planting form.
- Created `scientific_name_auto_suggest.js` to implement auto-suggest functionality for scientific names.
- Removed outdated dependencies from `package.json` and `yarn.lock`.
* Remove crowdin-cli gem
Last released in 2018. Crowdin now ships its own standalone CLI, which
reads crowdin.yml and doesn't need the gem. Also drops the dependencies
only it used (rest-client, gli, crowdin-api and friends).
* Removes the crowdin-cli gem (last released 2018), the dependencies only
it needed, and crowdin.yml. Crowdin was never set up: the config still
has a placeholder project ID and nothing else in the repo mentions it.
Assisted by Claude
* Remove unused bluecloth gem
Last released in 2011. It was only required, never called; kramdown
renders the markdown.
* Add specs for Tilt markdown rendering and posts markdown partial
* Add support and terms of service pages with corresponding routes
- Created a new support page with frequently asked questions.
- Added a terms of service page outlining user agreements and policies.
- Removed old support index and CMS initializer files.
- Updated routes to include new policy and support paths.
- Implemented tests for new pages and footer links.
- Adjusted database migration for CMS content compatibility.
* Remove custom JavaScript file for the admin area
* Add kramdown gem for Markdown support in Haml
* Fix various typos and link formatting issues
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* remove reference to paid account
* Remove reference to paid accounts from support page
* Remove references to paid and permanent accounts from Terms of Service
* removing references to paid accounts
* Update contact email link format in TOS
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Add new pages and routes for About, Policies, and Copyright; update existing pages
* Fix typos and improve clarity in community guidelines, copyright policy, data use policy, privacy policy, support page, and terms of service
* Drop stale expectation
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>