Commit graph

1585 commits

Author SHA1 Message Date
Bradley M. Kuhn
9368de336a Conservancy: remove depends_on, at least temporarily.
Some checks failed
Javascript build and test / lint (14.6.0, ubuntu-20.04) (push) Has been cancelled
Javascript build and test / jest (14.6.0, ubuntu-20.04) (push) Has been cancelled
Javascript build and test / webpack (14.6.0, ubuntu-20.04) (push) Has been cancelled
Placeholders / notice_js (push) Has been cancelled
Placeholders / notice_ruby (push) Has been cancelled
Placeholders / lint (14.6.0, ubuntu-20.04) (push) Has been cancelled
Placeholders / jest (14.6.0, ubuntu-20.04) (push) Has been cancelled
Placeholders / webpack (14.6.0, ubuntu-20.04) (push) Has been cancelled
Placeholders / main_build (14.6.0, ubuntu-20.04, 2.7.3) (push) Has been cancelled
Ruby test and build / main_build (14.6.0, ubuntu-20.04, 2.7.3) (push) Has been cancelled
I don't currently understand how depends_on works in Docker, so I'm
just removing it for now until I know what to put it in its place.
2021-08-10 10:52:08 -07:00
Bradley M. Kuhn
2d959ab8be Conservancy Houdini: use our bullseye build & our container name. 2021-08-10 10:52:08 -07:00
5b3e1f9d67 docker: run rvm install script from correct path 2021-08-10 10:36:10 -07:00
Bradley M. Kuhn
d6e334ea1c docker: rvm installation, but don't use get.rvm.io script.
The README.md currently suggests these commands to install rvm:

     curl -sSL https://rvm.io/mpapis.asc | gpg --import -
     curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
     curl -sSL https://get.rvm.io | bash -s stable
     source $HOME/.rvm/scripts/rvm
     echo 'source "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc
     rvm install 2.7.3 --disable-binary --with-jemalloc

Instead of downloading the https://get.rvm.io script, just put the
two keys in the repository and do the basic operations that are
required, rather than grabbing a shell script from a website and just
running it.

Also, run `rvm autolibs disable` so that the `rvm` command, which
does not run as root, will not seek to use sudo.  I checked the
Debian system requirements that `rvm requirements` was looking for,
and added those to `script/build/debian/prebuild.sh`.

Hopefully, the semantics of `rvm requirements` is that it will exit
non-zero if some requirements are missing, which is the desired
behavior, since it flags that `script/build/debian/prebuild.sh` must
be updated.
2021-08-09 19:37:04 -07:00
Bradley M. Kuhn
bede0068a6 docker: do not use houdini user account before it exists. 2021-08-09 19:01:01 -07:00
Bradley M. Kuhn
3f8fe71762 docker: bullseye includes Postgres 13, does not have 12 (it seems) 2021-08-09 19:01:01 -07:00
Bradley M. Kuhn
2b21fcfc30 docs: note build-from-source goal, but yet undone for yarn & nodejs
Our goal in this document is to explain how to build virtually all
the dependencies for Houdini from source (in part to vet licenses and
easy AGPL compliance, but also to operate more securely).  Initially,
it won't be possible to do that so begin documenting places where
items are not built from source.
2021-08-09 19:01:01 -07:00
Bradley M. Kuhn
d2c6ce6d48 docker: Node/Yarn: install nodesource & yarn keys from local copy
As an additional security measure, don't use the network version of
setup_14.x.  Instead, save nodesource and yarn keys locally and do
the operations in the Dockerfile to install the keys.  Then, simply
do the apt install of the dependencies needed from both places.

Keep a copy of the setup_14.x in the data directory as well.  In
future, it might be useful to have a script that compares the
versions of that script and keys on the nodesource and yarn websites
— mainly to semi-automatically verify if upstream details have
changed.
2021-08-09 19:00:58 -07:00
Bradley M. Kuhn
6d783df5f1 docker: begin rewrite of Dockerfile setup for current instructions
First step in rewriting the Dockerfile to match the current
setup/installation/configuration instructions as found in README.md.

First step it to comment out some of the later stuff, and begin setup
of installing everything into /houdini (instead of /myapp) and doing
everything under the houdini user.
2021-08-09 16:55:39 -07:00
Bradley M. Kuhn
41ac73b00c docker: docker-compose: switch to version 3, call this houdini image 2021-08-09 16:55:39 -07:00
Bradley M. Kuhn
7013b9e6d9 docs: Begin from-sources instructions to install Houdini via docker
These instructions are more detailed than what will ultimately appear
in `docker.md`, and focus on building from sources wherever possible.
They are specifically designed to include extra detail for users not
as familiar with docker, or for those who would like bootstrap
further from scratch to create a Houdini docker image.
2021-08-09 16:54:49 -07:00
Eric Schultz
3a4b2366c9 Add api/users/current 2021-08-06 17:40:30 -05:00
Eric Schultz
e4111c7d94 Remove no longer used migration specs 2021-07-29 15:01:01 -05:00
Eric Schultz
dea870772d Add shoulda-matchers and begin using 2021-07-22 12:00:21 -05:00
Eric Schultz
b7967fc5f6 Add example status persistance so we can run bin/rspec --only-failures 2021-07-22 11:36:43 -05:00
Eric Schultz
2c791b920c Add stripe_refund.* publishing
Co-authored-by: Clarissa Lima Borges <clarissa@commitchange.com>
2021-07-14 11:23:22 -05:00
dependabot[bot]
cced71f52e Bump addressable from 2.7.0 to 2.8.0
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 11:14:58 -05:00
Eric Schultz
8a1e9ecbcc mail_view is now included in Rails so not needed in Gemfile 2021-07-06 13:36:22 -05:00
Clarissa Borges
1c9aecd605 Creates StripeDispute and its respective event publishing 2021-07-06 11:12:13 -05:00
Eric Schultz
dbcfa38696 Add shell for Stripe Dispute 2021-07-06 11:12:13 -05:00
Clarissa Borges
064cf90263 Adds general reference to docs folder on README 2021-07-06 10:34:35 -05:00
Clarissa Borges
7a439487c0 Documents FriendlyURLs 2021-07-06 10:34:35 -05:00
Eric Schultz
cbbaa5c196 Update to Rails 6.1.4 2021-06-25 12:32:57 -05:00
Clarissa Borges
a7cbf3653e Create offline_transaction_dispute.* event publishing 2021-06-23 11:03:26 -05:00
Clarissa Borges
7972ec8ea7 Creates OfflineTransactionRefund event publishing 2021-06-18 11:42:20 -05:00
Eric Schultz
7e02530fda Add Initial OfflineTransactionRefund 2021-06-18 11:42:20 -05:00
Eric Schultz
9a58b9f684 Automagically load all the context files for spec testing 2021-06-16 16:29:44 -05:00
Eric Schultz
9aaa1e491e Add start to RecurrenceRule 2021-06-09 11:18:44 -05:00
Eric Schultz
e04fd12f78 recurrence.updated is fired when updated recurring donations 2021-06-09 11:18:44 -05:00
Eric Schultz
b72512906c recurrence.created is fired when inserting recurring donations 2021-06-09 11:18:44 -05:00
Eric Schultz
157bd20b26 Recurrence#to_builder works and unit tested 2021-06-09 11:18:44 -05:00
dependabot[bot]
b3ce8945c4 Bump dns-packet from 1.3.1 to 1.3.4
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-28 17:03:13 -05:00
Eric Schultz
0f06f700cc Update parser so it stops warning when using Ruby 2.7.3 2021-05-28 11:59:23 -05:00
Clarissa Borges
eaa2b40499 Considering timezone when querying payments 2021-05-28 11:11:46 -05:00
Clarissa Borges
f56ba93e71 Considering timezone when querying supporters 2021-05-28 11:11:46 -05:00
Eric Schultz
4a927c6c12 Update to ruby 2.7.3 2021-05-24 14:03:02 -05:00
Eric Schultz
9a9c29a0d8 Make a CalculateSuggestedAmount.get_bracket_by_amount slightly more efficient 2021-05-24 12:58:36 -05:00
Clarissa Borges
fbc3d8e51d Validates nonprofit's timezone 2021-05-21 15:18:25 -05:00
Eric Schultz
dc1e4c8a85 Update to webpacker 5.4.0 2021-05-21 14:30:57 -05:00
Eric Schultz
63c40ccba7 Add framing of /donate and /btn 2021-05-19 16:36:11 -05:00
Eric Schultz
a69c5256a4 Add premailer for inlining email CSS 2021-05-19 11:16:32 -05:00
Eric Schultz
42a92ccb5a Remove roadie 2021-05-19 11:16:32 -05:00
dependabot[bot]
ba5b9806fb Bump nokogiri from 1.11.3 to 1.11.4
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.3 to 1.11.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.3...v1.11.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-18 11:45:04 -05:00
dependabot[bot]
df8fed22d3 Bump puma from 5.1.1 to 5.3.1
Bumps [puma](https://github.com/puma/puma) from 5.1.1 to 5.3.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/v5.1.1...v5.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-18 11:19:35 -05:00
Eric Schultz
363d6f5697 Add stripe trx events when running pay recurring donation 2021-05-14 11:15:04 -05:00
Eric Schultz
225232f62f InsertTicket now fires transaction events 2021-05-14 11:15:04 -05:00
Eric Schultz
a5ad78b824 Immediate recurring donation charges fire object events 2021-05-14 11:15:04 -05:00
Eric Schultz
1b20e6499a Donations create StripeCharge events 2021-05-14 11:15:04 -05:00
Eric Schultz
ad4ef1db9c LegacyDonations should have multiple ModernDonations 2021-05-12 13:08:14 -05:00
dependabot[bot]
7a9ccddbb9 Bump chart.js from 2.1.4 to 2.9.4
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.1.4 to 2.9.4.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.1.4...v2.9.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 11:55:00 -05:00