1. 25 Sep, 2019 2 commits
    • Lisa Seeto's avatar
      Bug 1827811: Journal changes · f7431a3a
      Lisa Seeto authored
      Journal changes:
      Change the modal contents to not show post contents or attached files.
      Recent posts and Tagged posts (if not in full display) now expandable with post contents and comment links.
      Attached files on page block now links only to download and not to display further metadata.
      Cleaned up artefact.php links.
      remove metada that will show on entry on page from also showing in modal
      stop background page scrolling when the modal is opened and "Advanced licensing" is selected.
      add the blogpost_render_in_modal.tpl file
      get rid of scrolling for data-toggle collapse
      add block-header to journal, journal entry
      add titles as modal links for recent posts and tagged journal entries
      add comments and details icons for recent posts and tagged journal entries
      fix things from code review
      
      behatnotneeded
      
      Change-Id: Ic63ebf9fe42e7848559b5e009584fdff0a40770f
      Signed-off-by: default avatarLisa Seeto <lisaseeto@catalyst.net.nz>
      f7431a3a
    • Lisa Seeto's avatar
      Bug 1827811: Move "Add comment" and "Details" into modal with "Comments" · be7af61f
      Lisa Seeto authored
      create modal using configureblock id, update various templates to use the modal for blocks:
      Image
      Note
      File(s) to download
      Journal/blogs
      add JS to open/close modal, add comments, delete comments, reply to comments, paginate comments.
      add JS to handle url that redirects to view/view.php with modal open and populated.
      Further changes to each block will be completed in child patches.
      Add segment headings to the modal. Fix display of comments to cover width of modal.
      Show comment removed msg in modal/page appropriately.
      Fix behat test to close modal before continuing.
      do not show existing comments if comments not allowed on artefact.
      add validation to modal for comments/attachments
      disable image as link when editing for image block
      trigger focus on modal for accessibility
      close modal on escape keydown event
      fix merge conflict in view/view.php
      fix merge conflict with master
      make configureblock modal play nicely when comment block is on the page
      update display of error messages to always show at top of modal so user doesn't have to scroll
      add accesibility to close modal on escape key down
      handle dock show/hide events for paginated pages in modal during validation
      create block-comments-details-header template file
      create details button and custom scss file with js to show and hide header
      update comment links to save add comment and details when commentcount == 0
      add active-block class to colour the block-header when active
      toggle the details-btn active css
      add _block-comments-details-header.scss to patch
      change class invisble to class d-none
      add block-comments-details-header.tpl to blocktypecontainerviewing.tpl
      code review changes
      add .no-modal class to links on group home page, dashboard and profile page.
      add block header to appear above the title
      change assessbtn from anchor tag to button to prevent scrolling.
      make all clickable links clickable on page load (ignore assess mode)
      fix js issues surrounding assessbtn move and show/hide blocks
      change cursor on dashboard, my profile page, group homepage to default when over disabled modal links
      update assessbtn to details btn
      create tooltip for hover over file download block titles
      fix containerElm console log error by not reattaching tinymce unneccessarily.
      fix null named attributes issues on e.target when span (icons) instead of anchor is clicked.
      
      Change-Id: I2e5218c040f8a9e252f785165ce9c566ecc2f56e
      Signed-off-by: default avatarLisa Seeto <lisaseeto@catalyst.net.nz>
      be7af61f
  2. 09 Jul, 2019 1 commit
    • Rebecca Blundell's avatar
      Bug 1811904: Fontawesome - yet more name changes · e84165b0
      Rebecca Blundell authored
      icon-calendar       -> icon-regular icon-calendar-alt
      icon-check-square-o -> icon-regular icon-check-square
      icon-square-o       -> icon-regular icon-square
      icon-circle-o         -> icon-regular icon-circle
      icon-legal          -> icon-gavel
      icon-level-up       -> icon-level-up-alt
      icon-long-arrow-down-> icon-long-arrow-alt-down
      long-arrow-left     -> icon-long-arrow-alt-left
      long-arrow-right    -> icon-long-arrow-alt-right
      long-arrow-up       -> icon-long-arrow-alt-up
      
      icon-remove         -> icon-times || icon-user-times
      (times is the 'x'used elsewhere, user-times is the 'x' next to a profile person.
      Remove has been removed so I have deleted it from the styleguide)
      
      icon-level-up       -> icon-level-up-alt
      icon-heart-o        -> icon-regular icon-heart
      icon-arrows         -> icon-arrows-alt
      
      icon-sign-in        ->icon-sign-in-alt
      
      Change-Id: Ia2cd81ea24119a7d0fec3000af1eaf2571a2a62b
      e84165b0
  3. 26 Feb, 2019 3 commits
  4. 19 Mar, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1755919: Adding related tags page and adjusting tag filter · 0ad5b688
      Robert Lyon authored
      This patch contains the following:
      - created a relatedtags.php page + json file + template to handle the
      viewing of related tags for a user, the differences for this to
      tags.php page are:
      -- it can be viewed publically
      -- it requires a tag and viewid
      
      - Adjusted the filters for blog/blogpost, plan/task so they appear
      under their own filters as well as 'text' filter
      
      - adjusted the dwoo function list_tags so that we can pass an array of
      viewids/tags and/or just a view id
      
      -adjusted the portfolio_search_* functions so they would work for both
      my tags and related tags pages
      
      - fixed a filter js problem for tags.php where choosing the filter was
      not updating the displayed filter string
      
      behatnotneeded
      
      Change-Id: Ie3a2c3cb56e94ced0e021265bce88e35a9cfba5d
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      0ad5b688
  5. 06 Dec, 2017 1 commit
  6. 12 Jan, 2017 1 commit
  7. 14 Nov, 2016 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1565199: Filter Recent Journals block Add entry + errors · 88b94532
      Cecilia Vela Gurovic authored
      In the block Recent journal entries, the drop-down menu
      only shows the Journals which the user has permission to
      add a new entry.
      
      Also corrected error showing up and broken Journal search
      in the Edit block side screen.
      
      Also fixed the poor alignment of the artefactchoooser search form's
      search button
      
      Also fixes Bug 1636850 with change in lib/view.php
      
      behatnotneeded
      
      Change-Id: I44c0d6d25eda7cb37d4a8aab66a6d1b93ca60b69
      88b94532
  8. 14 Sep, 2016 1 commit
  9. 07 Mar, 2016 1 commit
    • Aaron Wells's avatar
      "Tagged journal entries" block shouldn't grant access to whole journal · ada12dba
      Aaron Wells authored
      Bug 1521818. Making the "Tagged journal entries" block act more like
      a collection of "Journal entry" blocks. So, it doesn't add the parent
      blog to view_artefacts, only the specific blog entries that are
      displayed in the block.
      
      Also removing the title of the parent blog (and the link to it) from
      the list of blog entries, like the "Journal entry" block, which
      doesn't display the title of the containing journal.
      
      Note the viewer may still have access to the whole blog, if the blog
      is also shared on the same page via a "blog" or "recent journal entries"
      block.
      
      Change-Id: I33fc7e58b964c03bc8003f1de81a4bf58b6079b7
      ada12dba
  10. 11 Jan, 2016 1 commit
    • Aaron Wells's avatar
      Remove blocktype thumb.png files (Bug 1532642) · 5577c929
      Aaron Wells authored
      Since we're no longer using theme in any of the core themes.
      
      Note that the code to look for a thumb.png file is still in place,
      for backwards-compatibility with older 3rd-party blocktypes.
      
      If you're a third-party theme developer who wants to use PNG files
      for the block picker instead of FontAwesome, you'll need to provide
      your own thumb.png files for each of the core blocktypes, under
      your theme's /theme/THEMENAME/plugintype... directories.
      
      behatnotneeded: Covered by existing tests
      
      Change-Id: I6f0578c8f55c620b7b3df42d8959a6d1ea5ad016
      5577c929
  11. 16 Dec, 2015 2 commits
  12. 22 Oct, 2015 1 commit
  13. 19 Oct, 2015 1 commit
  14. 22 Sep, 2015 1 commit
  15. 16 Sep, 2015 1 commit
  16. 07 Sep, 2015 1 commit
    • Pat Kira's avatar
      Block detail links - comment, add comment, detail links (BUG 1465107) · 17894563
      Pat Kira authored
      Minor fixes - style login panel,
      display block without content,
      remove some styling on block heading,
      remove get link function for wall block it was duplicated
      Style SSO and Persona login buttons
      
      behatnotneeded: styling only
      
      Task 22787, 23057, 22661
      
      Change-Id: I280947a17727eb1518551bfbb8ad05a0fb2fea80
      17894563
  17. 07 Aug, 2015 1 commit
  18. 30 Jul, 2015 1 commit
  19. 15 Jul, 2015 1 commit
  20. 16 Jun, 2015 1 commit
  21. 15 Jun, 2015 1 commit