Skip to content
This repository has been archived by the owner on Jan 30, 2018. It is now read-only.

Merge of my fixes from master #34

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from
Open

Conversation

mrtorrent
Copy link
Contributor

Hi, I've worked through merging my fixes from master to the dev branch. These commits should be exactly equivalent to the ones from master, with the exclusion of the fix for rspec-on-rails-matchers, as that plugin has been removed from dev and so the patch no longer applies.

@mrtorrent
Copy link
Contributor Author

Added a commit to fix Upload.inherit_privacy, which didn't handle the situation where an upload's comment_id and associated comment exists but is marked as deleted, in which case the association would not load. This would cause the GenerateUploadTokensIfMissing migration to break. Apologies for not including a test case.

@mrtorrent
Copy link
Contributor Author

Hi guys, just wondered if you had a chance to look at this pull request (and the equivalent on master)? It fixes several breakage issues with Whenever/cron jobs, receiving e-mail, rake, and a migration.

This is probably a better general solution than checking if we're on Heroku

Conflicts:

	lib/tasks/rcov.rake
…ve paths

Some paths in the application are interpreted as relative to the present
working directory. If the user does not first cd to the Rails root, this
causes the application to bomb out at various places when running receive_mail.
Rebuilding is only necessary when the schema changes, so doing this is a job
for the deployment script

Conflicts:

	config/schedule.rb
@mrtorrent
Copy link
Contributor Author

Rebased on top of recent commits and added a fix for output redirection in the receive_email script to prevent bounce messages

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant