Permalink
Switch branches/tags
Nothing to show
Commits on Oct 25, 2012
  1. Update the bundle to get the build working.

    lazyatom committed Oct 25, 2012
    Capistrano 2.13.0 was yanked.
Commits on Oct 8, 2012
  1. Remove the PAYE task from Harmonia

    chrisroos committed Oct 8, 2012
    Harmonia-next is now assigning this task so we can safely remove it from
    here.  I've added an entry to the GFR calendar to remind us when this is
    next due, just to double check that the task is being assigned
    correctly.
Commits on Sep 25, 2012
Commits on Aug 29, 2012
  1. Update VAT return instructions

    chrisroos committed Aug 29, 2012
    I haven't filed the VAT return for a long time and had to rediscover
    everything I needed to do to complete it successfully.  I've added those
    things to the instructions so that it doesn't take me (or hopefully,
    anyone else) so long next time around.
Commits on Aug 20, 2012
  1. Move the PAYE instructions into their own task

    chrisroos committed Aug 20, 2012
    Having spoken to HMRC today I've confirmed that our quarterly payments
    are due on the 5th of April, July, October and January.  The earliest we
    can pay is the 6th and the payment deadline is the 19th of the same
    month.  Given this timing it no longer makes sense to combine the PAYE
    payments with the wages task that is triggered on the 25th of each
    month.
  2. Improve the instructions for the test_harmonia task

    chrisroos committed Aug 20, 2012
    This should make it easier for people to use this test task, should they
    wish.
  3. Add a HarmoniaTest task

    chrisroos committed Aug 20, 2012
    My idea is that I can temporarily amend the schedule to assign this task
    every minute in order to test the full Harmonia stack.
  4. Upgrade recap to 1.0.5

    chrisroos committed Aug 20, 2012
    This fixes some of the problems that still existed in the version of
    recap we were tied to, and changes the deploy path from
    /home/harmonia/apps/harmonia to /home/harmonia/app.
    
    I've already deployed this version to our server with the following
    commands:
    
        $ cap bootstrap
        $ cap deploy:setup
        $ cap deploy
    
    I've also copied the assignments.yml file from
    /home/harmonia/apps/harmonia/config to /home/harmonia/app/config, tar'd
    up the old apps directory and removed the apps directory.
    
    The commands in Harmonia's crontab have been updated correctly so
    everything should *just work*.
    
    *NOTE* I've chosen to remove config/deploy.rb in favour of keeping
    everything in the Capfile, which is what recap's `setup` task does by
    default.
  5. Unassign all tasks on Monday morning

    chrisroos committed Aug 20, 2012
    Tom has been assigned the drinks task since the 1st of August and James
    M has been assigned the gardener task since (according to the emails)
    the 19th of July.  The effect of this is that James A and I have been
    sharing the week notes and invoices since the beginning of August.
  6. Re-order the Monday task [un]assignment

    chrisroos committed Aug 20, 2012
    I think this makes it easier to spot those tasks that are assigned
    during the week but not unassigned on a Monday (currently the gardener
    and drinks tasks).
  7. Explain the cryptic crontab schedules

    chrisroos committed Aug 20, 2012
    OK, so they're not that cryptic but I think it's useful to be able to
    compare what we intend to happen (defined by what's in the comment) with
    what's in the crontab schedule.
  8. Unassign tasks 10 minutes before reassigning

    chrisroos committed Aug 20, 2012
    I think we've seen problems in the past where the assignments.yml file
    has become corrupt because we've been trying to write to it from
    multiple processes.  Let's be really sure to avoid that in future by
    unassigning 10 minutes before running the task to reassign jobs.
Commits on Jul 26, 2012
Commits on Jul 11, 2012
  1. Ensure that links to invoices are clickable.

    lazyatom committed Jul 11, 2012
    Without the newline in the template, the email was rendered without any newlines between the links. This meant that the index "[2]" was appended to the end of the previous link, making it unclickable.
Commits on Jun 27, 2012
Commits on Jun 25, 2012
  1. Clarify bank-download instructions.

    chrisroos committed Jun 25, 2012
    I always find myself confused by when you're supposed download a new
    statement, and what accounts you're supposed to download them for.
Commits on May 29, 2012
  1. Fix test errors when parsing an empty YAML file.

    floehopper committed May 29, 2012
    The errors started occurring on Ruby 1.9.3-p194 which is what Travis CI
    is running. On Travis CI, the error was Psych::SyntaxError "control
    characters are not allowed at line 1 column 1".
    
    However, when I installed the same version of Ruby locally, I got
    errors in the same two tests and raised from the same line of code,
    but the error was TypeError: "no implicit conversion from nil to
    integer". I suspect the discrepancy is because I'm on OSX and Travis CI
    is presumably running some flavour of Linux and the YAML library depends
    on libyaml which may be slightly different on the two platforms.
    
    Given that we're not actually running this latest version of Ruby in
    production, the simplest solution for now is to rescue the exception and
    default to an empty Hash for the assignments. Hopefully this will work
    on Travis CI too.
  2. Improve VAT return instructions.

    floehopper committed May 29, 2012
    Make it clear that if the VAT return is submitted via FreeAgent,
    there is no need to setup an explicit payment - they will take
    the payment automatically via our existing Direct Debit agreement.
Commits on May 13, 2012
  1. Remove duplication between mailings.

    lazyatom committed May 13, 2012
    Every mail is to the same people, from the same account, and the same charset.
  2. It should be easier to discuss Harmonia mails.

    lazyatom committed May 13, 2012
    By setting the Reply-To header, we can just hit reply in our email clients.
    
    I've used this as an opportunity to extract some of the common mail creation
    behaviour into a method. I think more could be done on this front.
    
    Fixes #16.
  3. Add a task for watering the plant.

    lazyatom committed May 13, 2012
    Too much life has died at our feckless hands.
Commits on Apr 26, 2012
  1. Update the instructions for paying ourselves.

    chrisroos committed Apr 26, 2012
    I've just completed the payroll for this month (the first of the new tax
    year) and had to do a couple of additional things to get everything
    set-up. I've added these to the instructions and attempted to make
    everything else a little clearer.
  2. Add .bundle to Gitignore.

    chrisroos committed Apr 26, 2012
Commits on Apr 16, 2012
Commits on Apr 10, 2012
Commits on Apr 9, 2012
  1. Print list of people considered for a task to stdout.

    floehopper committed Apr 9, 2012
    I'm hoping this will end up in an email from cron. And that it will give
    me increased confidence that the code is working in the way intended as
    per #15.
Commits on Mar 26, 2012
  1. Update the instructions for paying us the monies.

    chrisroos committed Mar 26, 2012
    * I think that backing up the BPT data is useful as there's no way to go
    back to calculations for previous years once you've closed the current
    year.
    * I've made it clearer that you only need to care about notifying/paying
    HMRC at quarterly intervals.
    * I've added basic instructions for what you need to do to close the
    PAYE year.