1. 23 Jan, 2008 1 commit
    • Nigel McNie's avatar
      Fix broken temporary download image URLs in blogposts caused by a combination of bugs. · 5bc757c9
      Nigel McNie authored
      Firstly, an over-enthusiastic optimisation I was responsible for broke the replacement of downloadtemp images, especially on sites which are not installed at the root of a domain. Then, some greedy regexes meant that if there was more than one image in the post, only one of them would have the URL fixed properly. The same bug was happening again when posts were being displayed in views.
      
      This patch fixes these problems, and contains a blog database upgrade to fix existing broken paths.
      5bc757c9
  2. 14 Jan, 2008 2 commits
  3. 08 Jan, 2008 1 commit
  4. 04 Dec, 2007 1 commit
  5. 14 Nov, 2007 1 commit
  6. 06 Nov, 2007 1 commit
  7. 04 Nov, 2007 1 commit
    • Nigel McNie's avatar
      Implemented render_self for blogs again, so they can be shown in views. · 23c0ad45
      Nigel McNie authored
      Corrected another mistake I made with renaming the view= parameter to id= when the URL wasn't actually to view/view.php
      
      Made attaching and detaching files add a record in the artefact_parent_cache linking the entire blog to the attachment. This means that attachments can be shown in views instantly.
      23c0ad45
  8. 29 Oct, 2007 1 commit
  9. 27 Oct, 2007 1 commit
  10. 25 Oct, 2007 1 commit
  11. 24 Oct, 2007 1 commit
  12. 23 Oct, 2007 1 commit
  13. 16 Oct, 2007 2 commits
  14. 07 Sep, 2007 1 commit
    • Nigel McNie's avatar
      A better fix for the blog security issue. · 93d9d356
      Nigel McNie authored
      Now permissions are checked in the blog edit/view pages, rather than in the constructor, which was only later going to end in pain and suffering. This will mean that views with blogs in them will work again, as per bug #1168.
      93d9d356
  15. 17 Aug, 2007 2 commits
    • Nigel McNie's avatar
    • Nigel McNie's avatar
      Change to how table names are specified in SQL queries. · 250cf34d
      Nigel McNie authored
      Now, table names (and other identifiers that could be confused with SQL kewords), should be put into SQL like this:
      
      SELECT * FROM {artefact}
      
      The braces are matched and expanded by DML now to include the prefix and be properly quoted, which means that tables like 'view' and 'group' don't need renaming (and nor should they, there's little reason why we should rename tables to get around such constraints).
      
      This has removed a whole bunch of $prefix = ... and get_config('dbprefix') stuff, which makes things a little simpler yet again.
      250cf34d
  16. 07 Aug, 2007 1 commit
  17. 06 Aug, 2007 1 commit
  18. 01 May, 2007 1 commit
  19. 03 Apr, 2007 1 commit
  20. 11 Mar, 2007 1 commit
  21. 04 Mar, 2007 1 commit
  22. 19 Feb, 2007 2 commits
  23. 14 Feb, 2007 2 commits
  24. 13 Feb, 2007 2 commits
  25. 04 Feb, 2007 1 commit
  26. 02 Feb, 2007 1 commit
  27. 31 Jan, 2007 1 commit
  28. 25 Jan, 2007 1 commit
  29. 24 Jan, 2007 6 commits