1. 28 Jun, 2012 1 commit
    • Son Nguyen's avatar
      Add blog post directly from a page (bug #792645) · 5f5aa85a
      Son Nguyen authored
      
      
      Three blocktypes have been updated
      1. Blog block (entire journal) -> add shortcut "New entry" to this blog
      2. recentposts block (most recent journal entries):
      	if there is only one journal -> add shortcut "New entry"
      	if more than on -> display a dropdown list of blogs to select
      	(these blogs are taken from the block configuration)
      3. taggedposts block (tagged journal entries):
          all journals owned by this user will be displayed in the dropdown
      list
      
      *Note: Javascript code has been removed from the template.
      *Note: Call initialization js code of all blocks
      
      Change-Id: Ibdd63dfee39787f74d872a6a31b3286c63dee70a
      Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
      5f5aa85a
  2. 27 Jun, 2012 2 commits
  3. 26 Jun, 2012 14 commits
  4. 25 Jun, 2012 2 commits
  5. 22 Jun, 2012 1 commit
  6. 21 Jun, 2012 2 commits
  7. 19 Jun, 2012 1 commit
  8. 18 Jun, 2012 1 commit
    • Richard Mansfield's avatar
      Merge changes I127ab478,Ia6cba7a8,I3c548ca4,I0a2b4c4b · 352c9373
      Richard Mansfield authored
      * changes:
        Remove unnecessary variables and functions in collection module
        The collection id is required when editing an existing collection
        Remove the redundant use of get_record_select() for getting collection info from database because Collection::_construct() will do this
        Remove the use of hsc for TITLE in collection/index.php because this will be escaped in the template.
      352c9373
  9. 17 Jun, 2012 4 commits
  10. 13 Jun, 2012 1 commit
  11. 12 Jun, 2012 2 commits
  12. 11 Jun, 2012 1 commit
  13. 10 Jun, 2012 2 commits
  14. 08 Jun, 2012 6 commits
    • Melissa Draper's avatar
      Merge changes... · 99f868ce
      Melissa Draper authored
      Merge changes I5b2cc7e9,Ic9c216d3,I6931a34b,Iafae1c7b,Ibcf3549a,If97f429b,I0ecb734a,I221a5a57,Ie5b88afb,If8695b57,Id6a0d193,I7cf0105e,I9dc34ce9,Ie24a5bfa,I48f0f78c,I80259c76,Ia744e06f,Ic9d1e5d4,If353facd,I643746b1,Ic9b108f4,I71fbf2e5,I3ad549cd,Idd92be96,I8c39548b,I12dad07c,Ic3b9888d,Ia115f605,Ib18ab902,Id4a6b641,I6d0378c6,Ia4653b20,I0f034f04,I878eca87,I227652f1,I3d583b83,I98526af0,I2fb2eaa0,I59b1ab91,I25be1009,I16c826e9,I26528ff5,I8758cf2f,I4a018d8d,I33e12289,I325866c8,Ia43ae086,I0ab970bd
      
      * changes:
        Fix malformed 'display page' urls when cleanurls are enabled
        When changing urlid on the settings page, force a page reload
        Add an option to stop users from editing their profile urls
        Fix malformed block pagination urls when clean urls are enabled
        Delete urlids when deleting users and groups
        Use clean group url for notification after adding a user to a group
        Use clean group urls in redirect after editing group homepage content
        Remove unused ownerlink dwoo variable
        Use clean group urls on view access page
        Use clean group url for redirect after editing group hompepage access
        Use clean group url in 'you have submitted this view...' message
        Use clean group urls on group topics page
        Use clean profile urls on the view access page
        Use clean urls in tagged posts block
        Use clean urls on share page
        Use clean profile and group urls in the artefactchooser
        Use clean profile urls in forums area
        Use get_user_for_display in View::get_owner_object()
        Use clean profile urls on the users tab of the site stats page
        Replace miscellaneous hardcoded view urls
        Use clean urls on notes page
        Use clean urls in watchlist block
        When releasing a view, redirect to the clean group or view url
        Use clean urls on the view submission page
        Use clean urls in admin stats area
        Use clean urls for views listed on my friends page
        Don't fetch views on staff, online users lists unnecessarily
        Collect url information and display clean urls in collections
        Two minor optimisations to get_extra_view_info
        Use clean urls in profile sideblock
        Replace hardcoded urls on choose template page
        Use clean urls on view/artefact.php
        Let can_view_view take a View object
        Use clean urls elsewhere in lib/view.php
        Use clean urls in view access notifications
        Deal with institution views in formatted_owner()
        Use full url in togglewatchlist link
        Use clean urls in watchlist notifications
        Use clean view urls on tags page
        Use View::get_url() to generate view urls in view listings
        Display clean urls on Portfolio->Pages aka My Views
        Generate view urls in get_extra_view_info
        Use clean urls in View::get_url() function
        Use clean urls for view owners after running view_search
        Use profile_url when data is easy or inexpensive to fetch
        Use clean profile urls on sendmessage, denyrequest pages
        Use clean profile urls when data is already available
        Use group_homepage_url when data is easy/inexpensive to fetch
      99f868ce
    • Melissa Draper's avatar
    • Richard Mansfield's avatar
      Fix malformed 'display page' urls when cleanurls are enabled · 6a1cbf9b
      Richard Mansfield authored
      
      
      The editviewtabs.tpl template assumed that view urls contained a query
      string.  This is no longer true, so the 'new' parameter is now added
      in view/(edit|layout|blocks).php rather than inside the template.
      
      Change-Id: I5b2cc7e937834bea3379f409fee1ec19687b3441
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      6a1cbf9b
    • Richard Mansfield's avatar
      When changing urlid on the settings page, force a page reload · 93d4824a
      Richard Mansfield authored
      Bug #1006634, part 1
      
      When a user changes their own url on settings, force a full page
      reload so that the profile link in the sideblock works.
      
      Also cleans up existing code to force a reload after a change of theme
      or language preference.
      
      Change-Id: Ic9c216d3d295b1cd163fc4bba45a05cc010b7ddb
      93d4824a
    • Richard Mansfield's avatar
      Add an option to stop users from editing their profile urls · 6fe530c0
      Richard Mansfield authored
      
      
      Bug #1006634, part 1
      
      Some sites may wish to enforce a policy to leave profile urls as close
      as possible to usernames.
      
      Change-Id: I6931a34baaca91b19f2c3696c3440bc033b663af
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      6fe530c0
    • Richard Mansfield's avatar
      Fix malformed block pagination urls when clean urls are enabled · 801d39cc
      Richard Mansfield authored
      
      
      The blog and friends blocks assumed that the view urls contained a
      query string.  This is no longer true when clean urls are enabled.
      
      Change-Id: Iafae1c7b51fc3a82d131a1c8993ea7cad21bb9fc
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      801d39cc