Repository navigation
Staging/batch 2026 11 09 - #1880
Closed
caseyhelbling wants to merge 4633 commits into
Closed
caseyhelbling wants to merge 4633 commits into
caseyhelbling wants to merge 4633 commits into
Conversation
Update Ruby Version in README
Update Heroku version in README
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.21...4.17.23) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.17.23 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…dash-4.17.23 Bump lodash from 4.17.21 to 4.17.23
Bumps [Daniel-Marynicz/postgresql-action](https://github.com/daniel-marynicz/postgresql-action) from 1.0.0 to 2.0.0. - [Release notes](https://github.com/daniel-marynicz/postgresql-action/releases) - [Commits](Daniel-Marynicz/postgresql-action@1.0.0...2.0.0) --- updated-dependencies: - dependency-name: Daniel-Marynicz/postgresql-action dependency-version: 2.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…Daniel-Marynicz/postgresql-action-2.0.0 Bump Daniel-Marynicz/postgresql-action from 1.0.0 to 2.0.0
Bumps [rack](https://github.com/rack/rack) from 2.2.20 to 2.2.22. - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md) - [Commits](rack/rack@v2.2.20...v2.2.22) --- updated-dependencies: - dependency-name: rack dependency-version: 2.2.22 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…2.22 Bump rack from 2.2.20 to 2.2.22
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.10 to 1.19.1. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](sparklemotion/nokogiri@v1.18.10...v1.19.1) --- updated-dependencies: - dependency-name: nokogiri dependency-version: 1.19.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Security fix 2 - insecure direct object access on donation
…i-1.19.1 Bump nokogiri from 1.18.10 to 1.19.1
Remove now unused Rails autoscale gem
…-3.3 Update to Ruby 3.3.10
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.10 to 1.19.1. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](sparklemotion/nokogiri@v1.18.10...v1.19.1) --- updated-dependencies: - dependency-name: nokogiri dependency-version: 1.19.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
recurring donation cancel insecure direct object access issue
Fixes insecure direct access vuln on supporters controller for four different methods
The attr_accessible cleanup passed the nonprofit as the first argument to tag_masters.create, so every new tag failed with NoMethodError and the page showed "Sorry, could not process request". The existing spec only checked permissions. The new request spec creates a tag, rejects a duplicate and rejects a blank name.
Fix creating tags from the supporters page
Add .magick policy
About half of Airbrake's notices are ActionController::RoutingError
("Nonprofit not found", "Campaign not found", "Not Found"), mostly from
bots probing URLs, plus a steady trickle of UnknownFormat. They bury
real errors and use up the plan's monthly quota. Add both to the
existing ignore list.
…g-errors Stop sending 404s and unknown formats to Airbrake
Setting the password from the confirmation email now needs the token from that email, works only for accounts created by an invite, and updates only the password. The token is cleared once it has been used. Also remove the /users/exists lookup, which nothing calls.
Adding someone to a nonprofit only accepts nonprofit_admin and nonprofit_associate. Super roles must be global: the model rejects one with a host, and the role checks ignore any that have one.
Qx.quote_ident and Qexpr.quote_ident now double any embedded double quote. The supporter export names each custom field's subquery after its id and quotes the column label with the connection, so field names with quotes, apostrophes or dots export as a single column.
Super roles with a host no longer count, and the shared user contexts created theirs on another nonprofit.
The supporter list never sends a select param, so full_search and _full_search now build their column list only from the fixed set.
The lookup called whatever method name the request passed. It now accepts mailchimp_token, the only key the app asks for.
Qx, Qexpr and the supporter export alias use PG::Connection.quote_ident instead of their own escaping, the same quoting ActiveRecord's adapter uses.
Adds User.super_admins (global super_admin roles only) and uses it in QueryUsers.super_admin_emails in place of a Qx query.
Role validations go in role_spec, user_has_role? in the QueryRoles spec, and the removed /users/exists route in a routing spec. Uses FactoryBot.
Account and query hardening
…ng/batch-2026-11-09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.