- 01 Oct, 2019 1 commit
-
-
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
-
- 25 Sep, 2019 11 commits
-
-
Lisa Seeto authored
- get attachment comment counts for bh icons - display plain text for titles in editing mode - change the way the commentlink is targetted via js - add blockid's to resume attachments - for folder block: add comment count, change titles from links to plain text when editing - change notes attachment file titles from links to plain text when editing - get rid of the single artefact block title links for html exports --------------------------------------------------------- Add fixes: - blocks that have set types but no artefacts attached don't have modal links - pdf block is now using block header and comment count is loaded - block headers are above titles - tagged journals have icons when in full and matches recent posts styling - deleting all comments produces correct icon on block header - html exports should not hang on opening modal - get rid of warning error re: dock.show() when redirecting from &modal=1 style url - code review fixes for all previous patches + fix issue with folders block - added in viewdetailsfilter.json.php file to save details mode to user account prefs table - make the details btn mode "sticky" so it stays the save value over multiple pages etc... - Image Gallery blocks: if displaying a folder of images will get the bar block header and will have a the fancy box image preview displaying on image click Change-Id: I425cc5a634e176d580aacdb60a20f869f7cb7496 Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
Lisa Seeto authored
The change is for making sure the styling is working for the blocks. * make file(s) to download use bh icons, metadata on new line * resume attachments to use icons (buggy but apparently necessary) * show file(s) to download titles on hover over link * get rid of '-' for file metadata for size etc... * fix the editing/display descrepancy of tagged/recent posts titles Change-Id: Iad7bb30944f5924b43eca96993e3334120076c05 Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
Lisa Seeto authored
add the block-header to the block. remove the download link from page as it now shows in the modal. add artefactid and blockid to image.tpl fix issue with data-toggle collapse targeting syntax error. update active block functionality for block headers update block-comments-details-header.tpl for icon headers fix Journals, and tagged entries and recent posts to use icons for block header. change pdf block to use block header icons clean up .comments-details class that is no longer needed. add modal functionality for image gallery blocks for thumbnails and thumbnails square presentation. add modal functionality for some html block, clear up js for icons that is no longer needed. add title text to icons and block-header create activateModalLinks() func to tidy up js modal click events in view/view.php Change-Id: Ib5967d44288557ef4d380eb99241e8442da90f29 Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
Lisa Seeto authored
This change adds modal functionality for folders and nested folders add javascript to the folder_render_self template. add new class to make space between icon and title/ metadata in modals fix blockid warning message error added folder_render_in_modal.tpl to fix duplicate js script issues interferring with js events creaeted toggleDetailsBtn() to handle js issues get rid of old style comments link from showing up. turn off click functions so json sendrequest doesn't call a billion times. explicitly call dock.show() in the open_modal func. Change-Id: I938f98c33479a80afc8f940038ed81a3c84ce4ff Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
Lisa Seeto authored
This change cleans up the last of the redirects to artefact/artefact.php Update the links for the journal and journal entries for elasticsearch to go to blog Update the links for the journal and journal entries in consideration of new reqs Update artefact/artefact with session msg + access denied error Change-Id: Ied34542632bd4e49a353ec17937d685614117643 Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
Lisa Seeto authored
This change creates the modals for exported html pages. Modals are hard-coded onto page with id's of modal_[artefactid] Bootstrap and jquery files are copied into export js folder. Profile page is also exported with any modal content. Add tagged posts modals get rid of export warning when no $commentcount set in viewposts.tpl Add recent posts modals so that first journal post was also a modal Set Parent journal link text to plain text for exports Add entire resume modals and one resume field modals Add File(s) to download modals refactor export_artefact_metadata_modals add metadata but not comments to resume page add metata (license info) but not comments to journal pages add comment count default to 0 in .tpl's if comment count not present (during export) remove updating comments modals for profile page as this is no longer needed. Change-Id: Iff50138285951a4f9a1573423f4f74feba97886f Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
Lisa Seeto authored
do not show note contents when displayed in a modal. if comments not allowed but license metadata is on, display details link and open model with license data. make small change to setting of licensemetadata smarty variable get rid of comments/details links and use the new block header instead. Change-Id: I9183292278d06a3766ae08b0376237fda8d7206c Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
Lisa Seeto authored
added the modal_link for resume field attachments fixed the modal)link typo in employmenthistory template update commentlink to modal_link for goals and skills template Change-Id: I8b203628dc47d7019ee75165cb11bc392ddefa03 Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
Lisa Seeto authored
behatnotneeded The plan block's 'details' link will only display if license metadata is available. The link will open the modal with licensing information. Update how the licensemetadata is set in smarty variable. remove old details link and use new block header instead. remove the use of modal functionality, block headers & smarty vars Change-Id: I5f06d9ba84ff018a50ba774763be3fcede9b2576 Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
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:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
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:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
- 20 Sep, 2019 1 commit
-
-
Without needing to include the lib/ddl.php file, and create the xmldb table objects We do this by trying to query the table to return one value and capture the SQLException if it doesn't exist The places changed are where we don't manipulate the table - so have left upgrade places the same as we will need to do things the ddl.php way anyway behatnotneeded Change-Id: Ic38cee95a221a22e644370b308356cf687a1e831 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 19 Sep, 2019 1 commit
-
-
behatnotneeded Change-Id: Ie65a2da1c4a6dadb05fb46d00feefb39a09bd754
-
- 25 Aug, 2019 1 commit
-
-
added the .wav and .m4a files to the plugin administration list of file types for internal media added new string for m4a audio file clean up artefact_file_mime_types to change m4a, m4b, m4p and m4r files to be audio/mp4 perform upgrade to update existing files to have the new mimetype Change-Id: I6940c249cd715cfc373c1e0881a86da9c86a2e1b Signed-off-by:
Lisa Seeto <lisaseeto@catalyst.net.nz>
-
- 12 Aug, 2019 2 commits
-
-
Robert Lyon authored
with social media icons we fetch them from external server each time but a lot of them exist in the FontAwesome font library. We should use the FA icons instead behatnotneeded Change-Id: I7b66ae0882836c7a0715969e5e03353b1e4fd70d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Places to check - the Extensions -> Plugins -> Comment configuration - adding a Comment to a page/artefact and how it displays Change-Id: I6d0945ee0d54492b65ff285d98bd65bc14d6e723 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 07 Aug, 2019 1 commit
-
-
Change-Id: Ia38d3e72ff17d5340b676f2abe25002c056ba1c4 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 06 Aug, 2019 1 commit
-
-
Robert Lyon authored
When adding a non-primary email via: set_profile_field($userid, 'email', $email, TRUE); we shouldn't set email field in usr table to this new email address as the usr.email should be the primary address one Change-Id: Id8e780f3d7efa3baaae6383932e825a9cceb5e46 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 04 Aug, 2019 1 commit
-
-
Robert Lyon authored
Change-Id: Ic07daf766898640f1e986f862b24a7de803ac326 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 31 Jul, 2019 1 commit
-
-
A few icons required adjusting to use only free icons. Additionally, icons in the card header in the "Primary School" theme were changed or added in the first place. Needed to update the card icons to use the correct font awesome family behatnotneeded Change-Id: Ief8f4b4393b1becfb18a8c39d3ef6b8966bbe9eb
-
- 17 Jul, 2019 1 commit
-
-
Fixed undefined upload_max_filesize variable and artefact type mismatch for profileicon Sponsored by The Australian National University behatnotneeded Change-Id: I2014806ffbf8d36311d857f43de359e3f477dc58
-
- 09 Jul, 2019 2 commits
-
-
icon-clipboard -> icon-clipboard-check icon-eye -> icon-regular icon-eye icon-eye-slash -> icon-regular icon-eye-slash icon-file-archive-o -> icon-regular icon-comments-o -> icon-comments icon-external-link -> icon-external-link-alt icon-tachometer -> icon-tachometer-alt icon-rotate-right -> icon-redo icon-file-archive-o -> icon-file-archive icon-comments-o -> icon-comments icon-send -> icon-paper-plane icon-lightbulb-o -> icon-regular icon-lightbulb icon-code-fork -> icon-code-branch - changed versioning to 'history' icon icon-file-o -> icon-regular icon-file also changed some icons to new ones used text-align, width and margin-right to centre list items. behatnotneeded Change-Id: I4d27e450a281dc49716d97de309a3c99b89a0bc1
-
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
-
- 05 Jul, 2019 2 commits
-
-
Ghada El-Zoghbi authored
Sponsored by The Australian National University behatnotneeded Change-Id: If92710cc6c48d7f185f094ab84e2a6e136bfcfc0
-
Doris Tam authored
All emails are checked case-insensitively, but are kept in the db in the way user has typed - institution regisistrations are pending and don't appear in usr, artefact, or artefact_internal_profile_email, but in usr_registration so added additonal check - placed helper function inside user.php - putting in a special character before the @ will give single error - putting in a special char after the @ will flag a spam checker and out two errors behatnotneeded Change-Id: Iac1b740bc34878978ccf207d241f2399d7641040
-
- 04 Jul, 2019 1 commit
-
-
Cecilia Vela Gurovic authored
WR#315075 Once the asessment is published by the author, it'is supposed to be visible to everybody that has access to the view behatnotneeded Change-Id: I116b665945a3d45fa2a14bb7654e55f561428368
-
- 25 Jun, 2019 2 commits
-
-
icon-envelope-o -> icon-regular icon-envelope icon-exchange -> icon-exchange-alt icon-file-image-o -> icon-regular icon-file-image icon-id-badge -> icon-regular icon-id-badge icon-id-card-o -> icon-regular icon-id-card icon-clone -> icon-regular icon-clone icon-sign-out -> icon-sign-out-alt behatnotneeded Change-Id: I6f07f3b9c14184e98e44cd1b5568766d3fa9221a
-
new default for fontawesome is 'solid', where we are using a different class (regular or brand), we need to add these. also confirming that where the icon name has changed, we've picked that up. Where there's a choice of icon, I've kept it as close to what we currently have as possible. All free icons can be seen here: https://fontawesome.com/icons?d=gallery&m=free Name changes: icon-trash-alt -> icon-trash icon-pencil -> icon-pencil-alt icon-unlock-alt -> icon-unlock icon-files-o -> icon-regular icon-copy icon-pencil-square -> icon-regular icon-edit icon-file-text -> icon-file-alt || icon-regular icon-file-alt icon-image -> icon-regular icon-image behatnotneeded Change-Id: I34646a6857f6cf54dc39572f5a66c07da4f4c0e2
-
- 24 Jun, 2019 1 commit
-
-
anupamadharmajan authored
When throwing the AccessDeniedException we don't need to add the 'accessdenied' error string again behatnotneeded Change-Id: Ic1c9d2be94a421218ef2558e89df0f0344fd4209
-
- 20 Jun, 2019 2 commits
-
-
Robert Lyon authored
When closing the inner modal it removes a class from the <body> tag causing the scrolling to break behatnotneeded Change-Id: Ic7d6678a6d69d57343678f1ca57e8fa2e00861e2 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
When closing the inner modal it removes a class from the <body> tag causing the scrolling to break behatnotneeded Change-Id: I9d132a91cd48500276951c24c0987b418daacb6e Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 19 Jun, 2019 1 commit
-
-
Robert Lyon authored
And show a success message Also remove metadata edit error message on form resubmit rather than appending the same message again behatnotneeded Change-Id: I31f99a6ca384b74ca3e2ea795055667811f58e0a Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 18 Jun, 2019 1 commit
-
-
Rebecca Blundell authored
behatnotneeded Change-Id: I144b9763c393e8956d831b3169099b37d8fb4a0b
-
- 14 Jun, 2019 2 commits
-
-
If an empty string is passed to the DOMDocument, a warning is generated. Avoid the warning by checking for an empty string. Sponsored by The Australian National University behatnotneeded Change-Id: I4bd3982de81f6db97601a1dbe5232d344e87ca81
-
Ghada El-Zoghbi authored
For a regular member who does not have permission to add a journal to a group, the display message should not include the 'Add one' link. Sponsored by The Australian National University behatnotneeded Change-Id: I657f47b51b2c505cab4c2501f39e03b0252bdf72
-
- 26 May, 2019 1 commit
-
-
Added a new feature that the user has to choose yes to start editing copy. This will force users to interact with the form before editing with the choice that they are editing all copies of this content. When selecting to use content from another note, the form will update based on their choice. The editor will remain open if yes has been selected. The editor will be hidden and only the content will show if 'Yes' has not be selected. This is a UI element only - no decision is saved to the DB as this is an editor based decision. behatnotneeded Change-Id: If44522c00672b296242893f0c876e7ff37561dd2
-
- 13 May, 2019 1 commit
-
-
Robert Lyon authored
As this better refects what the table is for behatnotneeded Change-Id: Ia6f8746804b50c2e9946d09e0315f5c7cee80ab2 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 07 May, 2019 1 commit
-
-
Robert Lyon authored
Problem with trying to use expression as variable behatnotneeded Change-Id: I58409ab8373b9db8af9bc1a2b682995e3722f140 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 01 May, 2019 1 commit
-
-
Added a new feature that the user has to choose yes to start editing copy. This will force users to interact with the form before editing with the choice that they are editing all copies of this content. When selecting to use content from another note, the form will update based on their choice. The editor will remain open if yes has been selected. The editor will be hidden and only the content will show if 'Yes' has not be selected. This is a UI element only - no decision is saved to the DB as this is an editor based decision. behatnotneeded Change-Id: Idb8d6736796a2350359bd59395393f6c7d742f96
-