1. 09 Feb, 2015 4 commits
  2. 08 Feb, 2015 3 commits
  3. 05 Feb, 2015 9 commits
  4. 04 Feb, 2015 1 commit
  5. 03 Feb, 2015 3 commits
  6. 01 Feb, 2015 1 commit
  7. 30 Jan, 2015 7 commits
  8. 29 Jan, 2015 6 commits
  9. 28 Jan, 2015 6 commits
    • Son Nguyen's avatar
    • Aaron Wells's avatar
      Make blocktype:recentposts record blog posts in view_artefacts · 78685b74
      Aaron Wells authored
      Bug 1401210. The get_artefacts() method is used by the Blogpost
      artefact to find all the blocks that use a particular blogpost,
      for storing in the view_artefacts table.
      
      Change-Id: I53d8fd5924ae2ce4d56866efa655424a75f662f7
      78685b74
    • Aaron Wells's avatar
      Fixes to blocktype:blog's listings in view_artefacts table · b88f2b14
      Aaron Wells authored
      Bug 1401210. The get_artefacts() method is used by the Blogpost
      artefact to find all the blocks that use a particular blogpost,
      for storing in the view_artefacts table.
      
      This one was skipping the blogposts themselves, and it was
      including content from unpublished blog entries.
      
      Change-Id: I4248be998ba4082722648a1ddbcf1c9334672409
      b88f2b14
    • Aaron Wells's avatar
      Make Publish/Unpublishing a blog entry, fire saveartefact event · 66cff695
      Aaron Wells authored
      Bug 1401210. In order for a newly published blog entry (using the
      "publish" button) to be able to trigger a watchlist notification,
      it needs to fire a saveartefact event, and update the view_artefact
      table, the same as the standard route for editing/creating a blog
      entry. So the best way to do that is to use the same commit() method.
      
      Change-Id: I35b93d6f7415ae69ed8eede3e10306b712ea1b68
      66cff695
    • Aaron Wells's avatar
      Adding ArtefactType::postcommit_hook function · efb321c3
      Aaron Wells authored
      Bug 1401210. In order for watchlists to properly handle blog
      blocks, we need to give the Blog artefact a chance to update
      the view_artefacts table before the "saveartefact" event gets
      fired at the bottom of ArtefactType::commit().
      
      So I'm adding a postcommit_hook() method which gets called in
      the middle of commit(), and shifting ArtefactType's commit()
      method into there.
      
      Change-Id: I23986597fd411fa8f93da7cdbfa8d0b577de66fc
      efb321c3
    • Aaron Wells's avatar
      Removing temp edit file · d5672034
      Aaron Wells authored
      Change-Id: I4349d8c2816a1bec3b01121a6f2ae165add4477c
      d5672034