1. 09 Oct, 2019 2 commits
  2. 07 Oct, 2019 1 commit
  3. 06 Oct, 2019 2 commits
  4. 04 Oct, 2019 4 commits
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Accessibility settings and layout · 25082988
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      - Added an option to set the profile to accessible.
      This can be set in account preferences and
      enables one extra field in the settings
      of a view, in the basic settings section, to make
      the layout accessible.
      
      - by default, if the user account is accessible then
      the pages will be crated as accessible.
      To have a non accessible page, the option un view settings
      needs to be set as 'No'
      
      - Accessible layout only allows to add blocks with width=12
      that is the same with of the grid.
      This makes the blocks show as a sequence one on top of the other
      like a list. The user can only reorder the position
      they have in the list.
      
      - When a page is accessible, the adding a block
      by drag & drop is disabled
      
      - Reordering of blocks is accessible by keyborad
      
      - The 'add block' button is reachable by keyboard
      
      - add an intro to the page for the screen reader
      to explain how the page works
      
      - add identification to each block for screen reader,
      blocktype and title (if it’s set)
      
      TODO
      * When adding a block to the bottom or the top of the page,
      the page should be scrolled to that block
      
      * Floating menu: should have a way to be recognized as a menu
      by the screen reader. Check the access keys for the menu.
      
      behatnotneeded
      
      Change-Id: I08417f0f11d747a67900c88c2f675ef5f85b7499
      25082988
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Upgrade to translate site views to new layout · 15bca1e7
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      behatnotneeded
      
      Change-Id: Ia4f1fa57d317bc2ab81db4b4e41147e06ecc14f6
      15bca1e7
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Creating a new page with gristack layout · 2c861ec1
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      add a new block, place it anywhere in the grid, edit configuration
      and delete it.
      
      It will save it in the db on table block_instance_dimension
      but not display it in view or edit mode yet
      
      Also included a small fix in xmldb postgres class generator
      to handle reserved words in getAlterFieldSQL function
      
      Failing tests:
      
      - most of them are failing when adding a new block to the page
      because they expect to have a modal to choose the position
      where to place block. That modal was removed for this patch but
      there will be a similar one in patch:
       https://reviews.mahara.org/#/c/9952
      and those tests will be fixed there
      
      - a few tests failed when they couldn't find text inside the
      blocks because they are not expanded to fit the content yet.
      This is added in patch:
       https://reviews.mahara.org/#/c/9986
      and they will be fixed there
      
      behatnotneeded
      
      Change-Id: If4521a6315f6e8cc5d88693f536946dace359288
      2c861ec1
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Creating tables for gridstack page blocks · ca51ed79
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      and remove 'unique constraint' on block_instance table on
      view,row,column and order columns
      
      behatnotneeded
      
      Change-Id: Icee562986422d82506f43748ec968abd9d1d7146
      ca51ed79
  5. 01 Oct, 2019 1 commit
    • Alexander Del Ponte's avatar
      Bug 1837999: Extend the plans functionality · 6a10a44d
      Alexander Del Ponte authored and Robert Lyon's avatar Robert Lyon committed
      The plans are extended to allow for the creation
      of template plans in the personal portfolio area.
      These templates can then be used to create plans
      in many groups for students to copy into their own
      portfolio area and complete as assignments.
      
      behatnotneeded: To come later
      
      Change-Id: Ifbdf70541c0a0a254af3cbb9390d883a60e591d0
      6a10a44d
  6. 04 Aug, 2019 1 commit
    • Robert Lyon's avatar
      Bug 1829940: Placeholder block · 0f8d5b31
      Robert Lyon authored
      
      
      This patch does the following:
      - Create new blocktype 'placeholder'
      - Make sure it is copyable
      - Make sure it is versionable
      - Allow tags for it and that it works with create page via tags
      - Populate instance config with content types using 'showmore' pagination
      
      behatnotneeded
      
      Change-Id: I8437fbab587b5dc8661512ce8d227161f0129475
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      0f8d5b31
  7. 22 Jul, 2019 1 commit
  8. 25 Jun, 2019 1 commit
  9. 23 Jun, 2019 1 commit
  10. 15 May, 2019 1 commit
  11. 13 May, 2019 1 commit
  12. 30 Apr, 2019 1 commit
  13. 09 Apr, 2019 1 commit
  14. 04 Apr, 2019 1 commit
  15. 27 Mar, 2019 1 commit
  16. 16 Mar, 2019 2 commits
  17. 13 Feb, 2019 1 commit
  18. 07 Feb, 2019 1 commit
  19. 06 Feb, 2019 2 commits
  20. 07 Jan, 2019 1 commit
  21. 30 Sep, 2018 1 commit
  22. 09 Sep, 2018 2 commits
    • Cecilia Vela Gurovic's avatar
      Bug 1790543: Display portfolio instructions · 5cedce1f
      Cecilia Vela Gurovic authored
      1) Add an 'instructions' field to view table via install / update.
      
      2) Add 'Instructions' textarea / wysiwyg field to view settings page and
      have it save to the database
      
      3) Move generic "This area shows a preview of what your page looks like.
      Changes are saved automatically. Drag blocks onto the page to add them.
      You can then also drag them around the page to change their position."
      text in edit page to the help icon and in it's place have an expandable
      area to display the saved 'instructions' message.
      
      4) On view display page have an expandable area to display the saved
      'instructions' message
      
      5) in view edit mode, collapsing/uncollapsing the Instruction section
      is remebered automatically for next time the view is edited
      
      behatnotneeded
      
      Change-Id: Ia56323b9b734b8ebe9498c54dce5a3b934d1fd29
      5cedce1f
    • Robert Lyon's avatar
      Bug 1784778: Peer assessment block · d1d6880e
      Robert Lyon authored and Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic committed
      
      
      A new block is created that can only be filled with content from a
      person who has the “Peer assessment” role for a portfolio. The block's
      content is not visible to the page owner until the peer published it.
      
      The block can be selected by the portfolio author for inclusion on any
      page, but it can only be used in conjunction with the peer assessor role.
      If no peer assessor is selected for a portfolio, the block stays empty.
      It is also available on the site and institution level for inclusion into
      portfolio pages there (for the creation of templates).
      
      behatnotneeded: will be added in patch 9063
      
      Change-Id: I6f9945f184b4512c345402e1a73f6fc6f21572a7
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      d1d6880e
  23. 31 Aug, 2018 1 commit
  24. 23 Aug, 2018 1 commit
  25. 09 Aug, 2018 2 commits
    • Robert Lyon's avatar
      Bug 1785938: Fixing gallery and changing slimbox2 to fancybox3 · 66e7468a
      Robert Lyon authored
      
      
      Things done with this patch:
      
      1) Changed the 'Use photo frame' option from being a plugin variable
         to being an instance config variable
      
      2) Added back in the css for the giving the gallery images photo frame
         borders
      
      3) Get the non-square thumbs to render correctly spaced on load
      
      4) Swapped the slimbox2 to fancybox3 and allowed the block itself to
      control when to put content into head data
      
      behatnotneeded
      
      Change-Id: I397be45f2347588988b663b25b560d8ab876afe1
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      66e7468a
    • Gregor Anzelj's avatar
      Bug 1743870: Moderate portfolios of regular users · 4e5e0aae
      Gregor Anzelj authored and Robert Lyon's avatar Robert Lyon committed
      Allow institution admins and site admins to immediately remove all
      sharing options from a page (or collection if the page is within
      a collection) that is deemed objectionable.
      
      behatnotneeded
      
      Change-Id: I23de7ed5c4678afe8a65e51b2aec06126948c637
      4e5e0aae
  26. 08 Aug, 2018 2 commits
    • Kevin Dibble's avatar
      Bug 1781844: Lock blocks on pages · 3e76e38e
      Kevin Dibble authored and Robert Lyon's avatar Robert Lyon committed
      A lot of users in Mahara create (Template) pages to share out to users.
      This reduces the setup a new user will have to do to. There is an issue
      that on their personal copy, the blocks that were so carefully setup can
      be deleted.
      
      This functionality creates a new column in the database called
      "lockblocks" that can be enabled/disabled on the share page.
      
      When the user copies the page, this setting is copied over and the
      "delete" icon is hidden from view should the lockblocks setting be
      enabled. This only happens on normal portfolio pages.
      
      To unset - the user can edit the page settings and
      disable the lock blocks feature to enable the deletion of the blocks as
      per normal.
      
      behatnotneeded
      Change-Id: I7a2062f77431d6371f95d7f55bedcc499dd7caa2
      3e76e38e
    • Robert Lyon's avatar
      Bug 1785928: Update min upgrade version values · 14412ff7
      Robert Lyon authored
      
      
      behatnotneeded
      
      Change-Id: I8df12c5b2ec35a9c92231de8bfa90f1909af6afc
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      14412ff7
  27. 07 Aug, 2018 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1784781: adding peer & manager roles for user access to a view · 2ad167e5
      Cecilia Vela Gurovic authored
      - creating the role table
      - selecting the role when editing view access
      - fix: for already saved user and group access rules, show all roles
      in the dropdown to make it possible to change the value
      
      to do: display content depending on role
      
      behatnotneeded : will be added later
      
      Change-Id: Ie83e0ca84704182b40bcc2fa4a678da099a1793d
      2ad167e5
  28. 19 Jul, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug 1760732: Add warning for upgrade of configurable themes · 8cac996b
      Rebecca Blundell authored and Robert Lyon's avatar Robert Lyon committed
      Add 'customthemeupdate' flags for any institution to the
      institution_config table if:
      - the upgrade is from 16.10 or before
      - and the institution is using a configurable theme
      
      If there are institutions with 'customthemeupdate' set we add a warning
      that the institution settings need to be re-saved.
      
      Once the settings for an institution have been re-saved we clear the
      flag for that institution
      
      Steps to test:
      1) Have a 16.04 version site
      2) Create three institutions, two with a configurable themes
      3) Checkout the patch and run upgrade
      4) On clicking 'Continue' you should see the warning message
      5) On going to Admin dashboard you should see message there also
      6) Edit / save one of the institions
      7) Confirm that institution is not listed
      8) Do for the other and see warning now gone
      
      behatnotneeded
      
      Change-Id: I844d8e8bcb9be81a29f36cb101da1c61b41b10a9
      8cac996b
  29. 19 Jun, 2018 2 commits