mendicant-original / puzzlenode

Quiz application inspired by Project Euler and the Internet Problem Solving Contest (IPSC)
puzzlenode.com
81 stars 43 forks source link

Download all button and markdown problem statement #60

Closed brentvatne closed 12 years ago

brentvatne commented 13 years ago

As per the discussion in issue #55

Summary of new features proposed

Code not yet ready to be merged, missing zip functionality.

Pending for discussion

jordanbyron commented 13 years ago

I started writing a response, but thought it would be much better to get ticket #58 complete before we wrap up this feature. Then both the zip and markdown files can use the Puzzle slug as their names. That is much more desirable then '2.zip' and '2.markdown'.

@brentvatne Would you mind taking a stab at that ticket? If not I'll see if I can find someone to get that done so we can use the stub data here.

brentvatne commented 13 years ago

@jordanbyron: Sure, I'm busy for the next couple of days at work but I will get that one done asap.

jordanbyron commented 13 years ago

@brentvatne Great. Once you are done with that we can resume work on this. Let me know if you get stuck or are too busy to finish it.

brentvatne commented 12 years ago

@jordanbyron 985c7d0 represents a nearly complete patch I believe. This turned out to take longer than expected, oh well :satisfied:

Some notes and questions:

  def delete_old_files
    old_puzzle = dup.reinitialize_files
    old_puzzle.slug = slug_was || slug
    old_puzzle.delete_related_files
  end
jordanbyron commented 12 years ago

This patch will not die in vain