1. 19 Oct, 2019 1 commit
    • Evonne's avatar
      Bug 1845104 Modern theme changes · 1d1bb649
      Evonne authored
      - removed redundant styles
      - reconvert files to make macros work on windows (has to do with woff)
      - put necessary changes back into raw
      - put in OFL file for font Raleway
      
      behatnotneeded
      
      Change-Id: If1a3eb4bfba86ec18f3f0e38104b79e6642048d0
      1d1bb649
  2. 09 Oct, 2019 1 commit
  3. 07 Oct, 2019 1 commit
  4. 06 Oct, 2019 2 commits
  5. 04 Oct, 2019 3 commits
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Accessibility settings and layout · 25082988
      Cecilia Vela Gurovic authored
      - 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
      behatnotneeded
      
      Change-Id: Ia4f1fa57d317bc2ab81db4b4e41147e06ecc14f6
      15bca1e7
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Creating tables for gridstack page blocks · ca51ed79
      Cecilia Vela Gurovic authored
      and remove 'unique constraint' on block_instance table on
      view,row,column and order columns
      
      behatnotneeded
      
      Change-Id: Icee562986422d82506f43748ec968abd9d1d7146
      ca51ed79
  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. 25 Jun, 2019 1 commit
  8. 23 Jun, 2019 1 commit
  9. 15 May, 2019 1 commit
  10. 13 May, 2019 1 commit
  11. 30 Apr, 2019 1 commit
  12. 09 Apr, 2019 1 commit
  13. 04 Apr, 2019 1 commit
  14. 02 Apr, 2019 1 commit
  15. 27 Mar, 2019 1 commit
  16. 16 Mar, 2019 1 commit
  17. 13 Feb, 2019 1 commit
  18. 06 Feb, 2019 1 commit
  19. 07 Jan, 2019 1 commit
  20. 27 Dec, 2018 1 commit
  21. 30 Sep, 2018 2 commits
  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
      
      
      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. 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
      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
  24. 08 Aug, 2018 2 commits
    • Kevin Dibble's avatar
      Bug 1781844: Lock blocks on pages · 3e76e38e
      Kevin Dibble authored
      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
  25. 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
  26. 19 Jul, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug 1760732: Add warning for upgrade of configurable themes · 8cac996b
      Rebecca Blundell authored
      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
  27. 19 Jun, 2018 1 commit
  28. 17 Jun, 2018 1 commit
  29. 15 Jun, 2018 1 commit
  30. 20 May, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1763163: record who has been given what page for one time copy · 1dcaef85
      Robert Lyon authored
      
      
      This changes the parent patch a bit. Instead of recording on the view
      table if a page is able to be copied to existing group members we
      insetad record in a new existing copy table if a group page/collection
      has been copied to a member and if not make the copy.
      
      We've also made the switch a slide switch, eg when switching it to
      'Yes' it does the task on save and then switches back to 'No'.
      
      This means at a later time if set to 'Yes' again it will do the copying
      again and give any newer members a copy of all pages/collections as
      well as give older members copies of any newer pages / collections /
      collection pages since the previous switching to 'No'
      
      Note: Currently adding new collection pages to older members will only
      add the pages as singular pages to their portfolio.
      
      behatnotneeded
      
      Change-Id: Ia22d8138d80ec5fdb5a401de7289b256f9e5fc69
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      1dcaef85
  31. 16 May, 2018 1 commit
    • Robert Scally's avatar
      Bug 1763163: Copy group portfolios automatically to existing group members · 01af3dab
      Robert Scally authored
      A portfolio shall be copied automatically to existing regular group 
      members, i.e. excluding group tutors and administrators, when
      setting up the sharing permissions for the portfolio and selecting the
      copying option in "Advanced options".
      
      When new people are added to the group, the portfolio is not automatically
      copied to their accounts as they were not in the group when the copying
      was turned on.
      
      behatnotneeded
      
      Change-Id: I5f706056e3c53f1edc8bcb86cfd41bad1df0185b
      01af3dab
  32. 18 Apr, 2018 1 commit
    • Maria Sorica's avatar
      Bug 1723961: Allow plan blocktypes to display more than one plan · bc40a45f
      Maria Sorica authored
      1. Added a details link for each plan in the blocktype as well.
      2. On site update, the existing plan blocktypes will be updated
      to be able to contain more than plan.
      3. Made task pagination work on blocktypes with
      multiple plans.
      
      behatnotneeded
      
      Change-Id: I4b462f447489eb16d43fd40cfa552825c5178a47
      bc40a45f
  33. 19 Mar, 2018 1 commit