Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

mocha

We are on a mission to develop & maintain a mock object library for Ruby.
Collective - Host: rubytogether-user - https://opencollective.com/mocha-deleted - Code: https://github.com/freerange/mocha

Do not require "minitest/unit"

As per this comment [1]. Thanks, @Maimer!

As of Minitest v5.19.0 [2], there's no need to requir...

github.com/freerange/mocha - 70a36b901c404b192f0ac24e722957186aeb3016 authored about 1 year ago
Reduce duplication in identifying Minitest version

We've had `Mocha::Detection::MiniTest.version` for some time and it does
a more thorough job tha...

github.com/freerange/mocha - 6f2be6f31572f77dfc057256a513930e64f21ac1 authored about 1 year ago
Support multiple methods in responds_with matcher

This provides a terser syntax for matching an object which responds in a
certain way, e.g.

...

github.com/freerange/mocha - f086b7e40f9fb9240671641e6e568c87c028ef22 authored about 1 year ago
Reinstate missing CNAME for GitHub Pages site

github.com/freerange/mocha - da67bb0dd4d1ba83ef0f4cd3c0efa5a9fb60ee05 authored about 1 year ago
[skip ci] Update docs to fix those for Mock#method_missing

github.com/freerange/mocha - cee0bad637b43d7c6548b1d70f94f9db9b12f034 authored about 1 year ago
Avoid rubocop directive ending up in YARD docs

It turns out that YARD displays a special section "Dynamic Method
Handling" for classes that imp...

github.com/freerange/mocha - 2a9ee81a5abc396c83c5365a674cd2452a17cc0b authored about 1 year ago
Copy-edit the newsletter text

github.com/freerange/jam-coop - 15665c7f8287addc7351dcc2df66929e38788753 authored about 1 year ago
Configure BroadcastMailerPreview

To make it easier to preview the newsletter.

github.com/freerange/jam-coop - fc61a1b50f59d45693f6d040aaa50929991bf770 authored about 1 year ago
Fix BroadcastMailerTest

I broke these in the previous commit.

github.com/freerange/jam-coop - 9558e1ad3cb4cb210cf9bfc9b7d4569954f4981c authored about 1 year ago
Write the first newsletter

I've used a very basic HTML template based on a cheat-sheet I
found[1]. I think reliable cross-c...

github.com/freerange/jam-coop - 3a6bde182cf0eb8b085195dd5a50c4baab0134ec authored about 1 year ago
Merge pull request #56 from freerange/do-not-send-any-emails-to-suppressed-addresses

Do not send emails to any suppressed addresses from any Mailer

github.com/freerange/jam-coop - 65075d9710d7c3a60644432a0a39eebaf7015593 authored about 1 year ago
Do not send emails to suppressed addresses

I decided that the `EmailSubscriptionChange` model was overkill and was
going to be awkward to u...

github.com/freerange/jam-coop - eeb2c74aa48389d67dcf1a33418182ec9fa1473e authored about 1 year ago
Merge pull request #52 from freerange/add-metadata-and-cover-art-to-transcoded-audio

Add metadata and cover art to transcoded audio

github.com/freerange/jam-coop - 7c590b0db596a4a2af98b2028176a444d85199a9 authored about 1 year ago
Trigger transcoding when album title or cover changes

So that ID3 metadata is updated on transcoded audio.

github.com/freerange/jam-coop - 0b2abcb1cccb45a6d3d643abfded55901f9239f6 authored about 1 year ago
Trigger transcoding when track title changes

So that ID3 metadata is updated on transcoded audio.

github.com/freerange/jam-coop - d82882ff18bbd3fa1f2f250c61251f71517c3ff2 authored about 1 year ago
Make after_save on Track specific to original attachment

github.com/freerange/jam-coop - a0d7f2b4f44fcbf39a91584c49fa01947cf64210 authored about 1 year ago
Improve tests for after_save on Track model

github.com/freerange/jam-coop - 3bc12c7f47f5e2f58f4f8bf99a963eaceba5732a authored about 1 year ago
Improve test for Album#transcode_tracks

github.com/freerange/jam-coop - 5a67fd2095798791683cc79acc5f1bb9de8712c3 authored about 1 year ago
Trigger transcoding when artist name changes

So that ID3 metadata is updated on transcoded audio.

github.com/freerange/jam-coop - e1f3d5870872092fedfb43d78dbd83220741581b authored about 1 year ago
Extract TranscodeCommand#global_options & #transcoding_options

github.com/freerange/jam-coop - 0c97d32ac3a1b8dd11131d32569d390b507aa0da authored about 1 year ago
Avoid extraneous spaces in ffmpeg command

github.com/freerange/jam-coop - fcfe89c0498143aa39cfbe25be2e9c8f5b3a1c26 authored about 1 year ago
Extract TranscodeCommand & add test coverage

github.com/freerange/jam-coop - c6646a16369b554bbdb750589fed185ca0e25430 authored about 1 year ago
Add basic ID3v2.3 metadata to transcoded audio

This adds the following metadata to every new transcoded audio file:

* TIT2 (source: Track#titl...

github.com/freerange/jam-coop - 1851e27b783f24a3ad459d442737e5d34ca807e4 authored about 1 year ago
Extract TranscodeCommand#input_options

github.com/freerange/jam-coop - 9fbe6d5a5a7f48325eb7a86185ca70ebf2ad9eda authored about 1 year ago
Avoid long line in TranscodeCommand#generate

github.com/freerange/jam-coop - 6df1b2fd304569ef7e97adc6db039bb962890197 authored about 1 year ago
Raise exception if ffmpeg command fails

The command that failed is included in the exception message which is
useful for debugging.

github.com/freerange/jam-coop - fc5fadfc7f98c651b368ffb9b8b60e151bc9709b authored about 1 year ago
Add ffmpeg to GH Action build

github.com/freerange/jam-coop - 6ca878a3f3d1dd3f445eea5876b401ac7d75a7b7 authored about 1 year ago
Extract Track#metadata

github.com/freerange/jam-coop - 083582b3d72847c3aa7ea46e18c8b94a05cd77ca authored about 1 year ago
Rename Album#retranscode! -> #transcode_tracks

github.com/freerange/jam-coop - d8c6b7f06ce80f22c2a6d1709d3ad573aac57a72 authored about 1 year ago
Add album cover to transcoded audio

If album cover is present.

github.com/freerange/jam-coop - f7b76acf45ebd0174b5b3d4e1825f037c0c58b3d authored about 1 year ago
Extract assert_contains_pair in TranscodeCommandTest

github.com/freerange/jam-coop - 9dffd64e8579e4a2b5cc0e12c804124d00c905f3 authored about 1 year ago
Avoid error on album page when Album#cover is missing

There's no validation ensuring that an album must have a cover.

Ideally we'd have a placeholder...

github.com/freerange/jam-coop - 2d053b575663c863ad88af982c4b8bbae0c1eba7 authored about 1 year ago
Merge pull request #54 from freerange/redesign-album-edit-page

Redesign album edit page

github.com/freerange/jam-coop - 9011161b73c88399f228b2074431c982da89936a authored about 1 year ago
Un-nest the remaining track routes

There's no real need to nest these two routes since their controller
actions don't depend on the...

github.com/freerange/jam-coop - 1a3762b3f7f1127163993bac63fa8fcc261b4107 authored about 1 year ago
Add system test coverage for creating an album

This test adds some basic coverage of the happy path of adding and
album and its tracks through ...

github.com/freerange/jam-coop - 486124eb9c5677dbe4964360c2b06d89679d6e06 authored about 1 year ago
Only show album covers if representable on artists/show

We're redirected here immediately after creating an album and it's
possible that the album cover...

github.com/freerange/jam-coop - 7b9dacebea07de3cd12227694ae72c96686af181 authored about 1 year ago
Rename TracksTest -> ReorderingTracklistTest

github.com/freerange/jam-coop - 67852d5a5bd94247345beca10b2933a4b2ecdac0 authored about 1 year ago
Remove track creation functionality from album/show page

This is now handled by the album/edit page which contains a form to
add new tracks.

github.com/freerange/jam-coop - 0af96b408c34f6ec76122a1b8e41e107657b241a authored about 1 year ago
Remove track editing functionality from album/show page

This is now handled by the album/edit page which contains form fields
for the tracks.

github.com/freerange/jam-coop - 252ed16e5f31498f9978af09b45b0e72f7fd7e9c authored about 1 year ago
Remove track deleting functionality from album/show page

This is now handled by the album/edit page which contains a checkbox
to delete a track.

github.com/freerange/jam-coop - 549cfa75220ae6213f2a7a7838ab3cce40bc13a4 authored about 1 year ago
Allow tracks to be deleted from the album/edit form

github.com/freerange/jam-coop - 9e2abee0669bf235bf6a91658496fbc611f1cbc3 authored about 1 year ago
Allow new tracks to be added when editing/creating an album

This relies on `accepts_nested_attributes_for` automatically creating
new nested track records a...

github.com/freerange/jam-coop - 0389d5b644af07a596b85b17c2adc3ab9e299efb authored about 1 year ago
Style the progress upload indicator

I've borrowed the style concept from the album players playback
indication. I think it works well.

github.com/freerange/jam-coop - 802cc1262943d5525b31b1ad1afc2ab621e241bf authored about 1 year ago
Delineate each track input form with a left border

github.com/freerange/jam-coop - 82f43f2f7b96e477972942fe502f670d0422e35c authored about 1 year ago
Indicate progression of uploads on albums/edit

I've wrapped the input field in a div to make it easier to find the
relevant progress indicator ...

github.com/freerange/jam-coop - 2b0a530b7dcaf0d53eb5b512c8a5463ab66bded2 authored about 1 year ago
Redirect to album show page after editing album

github.com/freerange/jam-coop - a151bc2f911477f72a0872520cb74cdba21b042b authored about 1 year ago
Allow tracks to be edited via albums/edit form

I want to replace the individual track edit forms currently available
through albums/show with o...

github.com/freerange/jam-coop - 32179927266cb11759b67cd53767cf9d6b3435c6 authored about 1 year ago
Merge pull request #51 from freerange/add-progress-indicator-to-audio-player

Add progress indicator to audio player

github.com/freerange/jam-coop - 138fff18e1ff517819c0c4365fc023902810844a authored about 1 year ago
Don't hide the track title when pausing the player

github.com/freerange/jam-coop - 0db899e8acc720c03becdedf610f680adb76ddb3 authored about 1 year ago
Add a progress bar indicator to the album audio player

The `ontimeupdate` is an event that fires on an audio tag whenever the
current play time changes...

github.com/freerange/jam-coop - c70f23d924fb87614e21c45a41722b0f55f134af authored about 1 year ago
Merge pull request #50 from freerange/mailing-list-sign-up-on-purchase

Mailing list sign up on purchase

github.com/freerange/jam-coop - 5864b4e53c0fc848f94e4bc337bf326f243eae44 authored about 1 year ago
Store the stripe_session_id on the purchase

If we later want to reconcile the contact_opt_in status of a Purchase
with the email address of ...

github.com/freerange/jam-coop - 31f53c5d0df6e290dadc75a874473948dd08392d authored about 1 year ago
Add a "add me to the mailing list" checkbox on purchase

At some point in the future we'd like artists to be able to contact
their fans directly. Althoug...

github.com/freerange/jam-coop - b3e506508519aaddf5111103e210818d03f2d8a7 authored about 1 year ago
Remove rubocop metrics directives left behind

These should have been removed in
9b824b8e22404279f0ea4eb348e80ba298e44f74 when rubocop metrics ...

github.com/freerange/jam-coop - 77f98eca6027fc70109c4ece8993fbc955ef2918 authored over 1 year ago
Show album release date

We're currently adding albums to jam that have been released
elsewhere (on Bandcamp). We'd like ...

github.com/freerange/jam-coop - 5a69a3e093477d70f2c0f5ac3cb6d94074929474 authored over 1 year ago
Order albums by release date on artist page

We want the artist's newest albums to show first, followed by any ones
where we haven't set the ...

github.com/freerange/jam-coop - 58a2320279dbdf6561836e7d7b6a0c263d3fd5c4 authored over 1 year ago
Increase number of rows for text_area fields on albums/_form

The text we're typically entering into these fields is usually longer
than the default number of...

github.com/freerange/jam-coop - e8bdafd2a4b7a49ae44480464a5efea32e384354 authored over 1 year ago
Allow email_subscription_changes.suppression_reason to be NULL

This column can be NULL. e.g. when a manual reactivation occurs.

github.com/freerange/jam-coop - e66bdd54d7c67d7359db1bc8a741fdee9a74dc97 authored over 1 year ago
Only require suppression_reason when suppress_sending true

It turns out a manual re-subscribe sets suppression_reason to nil and
this was causing validatio...

github.com/freerange/jam-coop - f3bfc7f5366994a28d13e248b45eee2ffe813acd authored over 1 year ago
Add postmark.webhooks_token credential for all environments

I used SecureRandom.base58(24) to generate tokens for development &
production.

github.com/freerange/jam-coop - 961211e14de82dc8cbed27fc5e11e91fdcf467d5 authored over 1 year ago
Add Postmark Subscription Change webhook handler

See https://postmarkapp.com/developer/webhooks/subscription-change-webhook

github.com/freerange/jam-coop - b014b540359ab11d292763be969f05265c4e4ede authored over 1 year ago
Add EmailSubscriptionChange model

These represent Postmark SubscriptionChange webhook requests [1]. They
will be used to determine...

github.com/freerange/jam-coop - d3617b8342060e187528659ed8ab4aca0c06c21b authored over 1 year ago
Add User#suppress_sending? method

I plan to use this to determine whether we should send emails to a given
user.

github.com/freerange/jam-coop - 8dbeffe38e1059b8c38c84646687aa874543394e authored over 1 year ago
Add BroadcastMailer

The plan is to use this mailer to send a newsletter to subscribed users.

For now this just has ...

github.com/freerange/jam-coop - 303bda4def37b8115412801de1bd0c7ca18359ce authored over 1 year ago
Bump bootsnap from 1.16.0 to 1.17.0

Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.16.0 to 1.17.0.
- [Changelog](https...

github.com/freerange/site - 95dc2131dafec5bf9fbc012c23dc7353dda33fdc authored over 1 year ago
Fix build

My previous commit 09bf089 broke the build on CI. I think either
analyze doesn't return track le...

github.com/freerange/jam-coop - da29808e674771c64c0b81448c281aacfd1ba0c6 authored over 1 year ago
Add track duration to track list

This commit adds the formatted time (in minutes:seconds) to the
tracklist. I think this helps a ...

github.com/freerange/jam-coop - 09bf089e1f792d9c64c7bab0b6a9184ced743c45 authored over 1 year ago
Show unlisted artists to admin users on /artists

To make it easier to find and edit them.

github.com/freerange/jam-coop - b63ba13d6e3e75c5e012debad9bd8cdc7081a099 authored over 1 year ago
Ensure /artists only shows listed artists

We don't want to show unlisted artists to regular visitors until we've
checked with the artist c...

github.com/freerange/jam-coop - 8b4c06126903f97b75240d3871b9e545057ff1a0 authored over 1 year ago
Add listed checkbox to artists form

This sets and unsets the `listed` boolean on Artist.

github.com/freerange/jam-coop - 07b7eac5797e81917ebbe3d9b1172544106c5268 authored over 1 year ago
Add a listed boolean to Artist

We're about to add some new artists to the platform. Before anyone can
see them it'd be nice to ...

github.com/freerange/jam-coop - 6c12ab87aa1233bed4f39871571eeef3e3fa8002 authored over 1 year ago
Indicate which tracks have been transcoded in album admin area

We're about to start adding a number of new albums to the site. Before
we hit "publish" on an al...

github.com/freerange/jam-coop - 0360a188043be5602b05e387f6f6c0ed213b1ee6 authored over 1 year ago
Improve validation error message for missing track file

I called this attachment "original" but that doesn't make much sense
when presented to the user ...

github.com/freerange/jam-coop - 168a514ad35505664d7c3aeba943d209a0597c97 authored over 1 year ago
Suppress browserslist warning

The following warning was being displayed when running the tests and
when precompiling assets:

...

github.com/freerange/jam-coop - 35de739214c29b3958f260b70e1370d2cfb0a2e7 authored over 1 year ago
Update actions/checkout GH Action to latest version

To avoid deprecation warnings [1].

[1]: https://github.com/freerange/music-coop/actions/runs/66...

github.com/freerange/jam-coop - 78ae17a79cd1e6507334b45dad829932e7c502c3 authored over 1 year ago
Run all tests only once & rubocop before tests

Previously the "default" rake task was running these tasks in the
following order:

* "test" (al...

github.com/freerange/jam-coop - f8d188c6ff167d7b2e4841e39e49a05bf85905cf authored over 1 year ago
Add price to album page under buy button

github.com/freerange/jam-coop - 6daaa5c1e8f181c738b8d1fe0b04fa45ef983bc7 authored over 1 year ago
Enable automatic tax calculation for purchases

We're registered to pay VAT in the UK so I've added a UK tax
registration in Stripe[1]. This con...

github.com/freerange/jam-coop - f4d28e7b2816b8ab4e00f3c253c6e4937960d960 authored over 1 year ago
Add production stripe secret key to production.yml.enc

I copied this from the Stripe dashboard for jam.coop[1].

[1] https://dashboard.stripe.com/devel...

github.com/freerange/jam-coop - ecfea9e7c6e664aa5769af39ececeabb144ede9b authored over 1 year ago
Allow a customer to name their price at checkout

Closes #24

This commit allows a fan to specify the price they wish to pay at
checkout, where th...

github.com/freerange/jam-coop - 2e7ac1a4f87a21a9938e59232eaf1a3fe5d5198d authored over 1 year ago
Allow price to be set on albums/edit page

github.com/freerange/jam-coop - f27be61346fb004a26437a2dcd1ab562705b82a4 authored over 1 year ago
Add price column to albums

So that we can remove the hard-coded price at checkout and replace it
with something sourced fro...

github.com/freerange/jam-coop - 82cb523bbe0b12fbefafd7d2413f5c74ee5c2d7a authored over 1 year ago
Remove unused user parameter from StripeService

We're not currently using this parameter so it can be removed.

github.com/freerange/jam-coop - cc83f524958bdc4faadbf4cc24145b0ffe0c0232 authored over 1 year ago
Add TailwindFormBuilder#currency_field

This builds a text input field suitable for accepting currency (in
that it is prefixed with a bo...

github.com/freerange/jam-coop - 4f8b5556baf55b9fdb760bfd9bad830ad0ceeac5 authored over 1 year ago
Redirect to previous page on successful signin

When a user visits a page that requires authentication we want to
authenticate them and return t...

github.com/freerange/jam-coop - f58abb420c371a6fcab6372906b1a36afc78bfc0 authored over 1 year ago
Add stripe test mode secret key to development.yml.enc

github.com/freerange/jam-coop - 89faf446ea88f9100899456acdeb3c5eedf61e58 authored over 1 year ago
Create a purchases page for an album

We link to this using the "buy" button added in the previous commit.

github.com/freerange/jam-coop - 708b08b49ebdb09f0f49b42808bfa3718187ebc2 authored over 1 year ago
Basic checkout flow

This commit adds a very basic checkout flow for purchasing an album.

The purchaser clicks "buy"...

github.com/freerange/jam-coop - d6c9c1c8d1d9b2c63e041e17afdaaa9bc53fe0c0 authored over 1 year ago
Add purchase model

github.com/freerange/jam-coop - 9df391b0c1b17d07927c9e511a156ad9d07546c3 authored over 1 year ago
Add a zip file to download factory

So that we can check for its presence in tests. I created this zip
file using

zip album.zip...

github.com/freerange/jam-coop - 5121bba1879473ea19555a7721760ab04fba18ee authored over 1 year ago
Thank the customer and provide downloads on successful purchase

This commit completes the checkout flow by allowing the customer to
download the zip files of th...

github.com/freerange/jam-coop - 09f0edab4d973ce2af68921ef007aa2f65a94ec6 authored over 1 year ago
Generate success_url in StripeService rather than inject it

I had to set the `default_url_options[:host]` for the test environment
to allow the Rails URL he...

github.com/freerange/jam-coop - 43ca1d7a3c089a5392b1563057583f2358346fc5 authored over 1 year ago
Add a buy button

github.com/freerange/jam-coop - 3f6a8b36e84ac6d24a53a70694d3811bb043cf8e authored over 1 year ago
Set Rails.application.routes.default_url_options in dev/prod

github.com/freerange/jam-coop - abd197b5ea4c26dfaaef1c3bfc5ce54d58c734c8 authored over 1 year ago
Wrap checkout button in a form that creates purchase

We want to add some additional parameters to the purchase (such as a
user-supplied "pay what you...

github.com/freerange/jam-coop - febf7cd0196956921787b42b2a717b44c0cdfadf authored over 1 year ago
StripeService takes a purchase instead of an album

This will help me move some of the behaviour (e.g. generation of
success and cancel urls) inside...

github.com/freerange/jam-coop - cd303b973602bc2b0d555b7a6459344659e632ce authored over 1 year ago
Make StripeService.create_checkout_session an instance method

I want to move some of the implementation details of this
method (e.g. the success and cancel ur...

github.com/freerange/jam-coop - 710365b7509ef68ece91456001eab8a8e9ccb60b authored over 1 year ago
Generate error_url in StripeService rather than inject it

github.com/freerange/jam-coop - ea3760145aa01da73d64d104f88441932206ebb6 authored over 1 year ago
Add album cover and details to checkout page

github.com/freerange/jam-coop - 2223f5e7b453aa37b06a5265b20c78a6771cf291 authored over 1 year ago
Silence deprecation warning

This change silences the following warning introduced with the Rails
7.1 upgrade:

DEPRECATI...

github.com/freerange/jam-coop - dd74a6a9f37e69e8772f492d9c8a36c322f104c4 authored over 1 year ago