Commit Graph

64 Commits

Author SHA1 Message Date
Nadav Kavalerchik de978747a8 MDL-61674 usertours: Allow rich text (atto) editing of step content 2021-10-13 10:23:57 +02:00
hiendinh e255952011 MDL-71938 tool_usertours: New "Display step numbers" setting
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2021-10-07 10:53:40 +07:00
Shamim Rezaie 912a580546 MDL-72557 tool_usertours: Allow customisation of the end tour button 2021-09-30 00:15:45 +10:00
David Mudrák 124b82831b MDL-72325 user: Do not show user tours without site policy agreed
Fetching user tours used to fail on external_api::validate_context() and
require_login() calls if the user did not have the site policy agreed.

The patch introduces a check to see if the user is fully set up and
ready to use the site before attempting to load the tours.
2021-08-12 13:05:38 +02:00
Amaia Anabitarte 377aee95b5 MDL-71528 usertours: End button text for one step user tours 2021-06-14 17:30:03 +02:00
Huong Nguyen c310c64460 MDL-71590 usertours: Create language string for activity information 2021-05-12 11:35:24 +07:00
Huong Nguyen 860b5d8abc MDL-71234 usertours: Create tours for the activity completion output 2021-05-07 11:11:23 +07:00
Paul Holden 0fea9ec133 MDL-71338 tool_usertours: correct Content-Type on tour export.
Replace existing code with standard file serving mechanism, in
turn correcting the previously incorrect Content-Type header.
2021-04-14 21:09:16 +01:00
Katie Ransom ad7d432ebe MDL-69962 tool_usertours: Fix increase in included files 2020-10-19 10:45:26 +01:00
Katie Ransom 51caf76655 MDL-69739 tool_usertours: Add tour-level CSS selector 2020-10-14 13:17:16 +01:00
Paul Holden 6a2720b0e6 MDL-69586 tool_usertours: use specified user in privacy prefs export. 2020-09-25 09:13:14 +01:00
Paul Holden 73c29aff59 MDL-69014 tool_usertours: clean up user preferences of deleted tours. 2020-09-14 20:36:30 +01:00
Paul Holden 0514b5749c MDL-56595 tool_usertours: set page params when configuring tours/steps. 2020-08-27 23:08:27 +01:00
Andrew Nicols b9310489ab MDL-67070 tool_usertours: Disable old tours 2020-06-11 09:32:31 +08:00
Paul Holden 3bd9e1e8d2 MDL-68565 tool_usertours: account for optional config in WS response. 2020-05-28 10:51:50 +01:00
Paul Holden 091758d512 MDL-64429 tool_usertours: upgrade step to fix existing tours sortorder. 2020-03-26 16:48:59 +00:00
Paul Holden 8dabade61f MDL-64429 tool_usertours: ensure tour sortorder can't move out of range. 2020-03-22 20:03:52 +00:00
Tom Dickman 9d9e3a3da2 MDL-57635 tool_usertours: Restrict tours by user account details
This feature adds a filter for determining if a tour can be shown to a user based on when their account
was created, when they first accessed Moodle, when they last logged in to Moodle, or when the tour was
last updated.
This will allow the prevention of tour display to experienced Moodle users, allowing a tour to be
targetted at those who have been using Moodle for a shortened period and presumably require tour
information more.
2019-11-06 08:32:56 +11:00
David Mudrák 3d2aa2ebef MDL-66118 hub: Remove the mentions of moodle.net
This is an update of the site registration admin page and some relevant
backend code to remove the mentions of moodle.net.

AMOS BEGIN
 CPY [registerwithmoodleorg,core_admin],[registerwithmoodleorg,core_hub]
AMOS END
2019-10-04 21:23:11 +02:00
Adrian Greeve 34859ec08e Merge branch 'MDL-66230' of https://github.com/paulholden/moodle 2019-08-28 14:54:36 +08:00
Mathew May c48fbb6c9b MDL-59470 admin: A user tour can now be duplicated 2019-08-08 09:16:17 +08:00
Paul Holden a1ab8ec216 MDL-66230 tool_usertours: account for deleted tours in privacy export. 2019-07-30 07:58:40 +01:00
Mark Nelson 8ca99a92da MDL-64990 tool_usertours: do not show messaging tour when disabled 2019-03-11 07:50:06 +08:00
Tim Hunt bd8774d55e MDL-64591 User tours: don't show during redirects & other bad times 2019-02-26 13:04:38 +00:00
Davo Smith 223fc57d27 MDL-64552 admin: use hideIf instead of disabledIf (where appropriate) 2019-01-11 11:27:33 +00:00
Andrew Nicols 84dad5bffa MDL-64000 usertours: Add final step to new tours
AMOS BEGIN
  CPY [tour_2_title_end,tool_usertours],[tour_final_step_title,tool_usertours]
AMOS END
2018-11-30 16:04:33 +08:00
Elizabeth Dalton fbb219617b MDL-64000 usertours: Add tours for key 3.6 features
Tours originally written by Elizabeth Dalton, Mangled a little by Andrew
Nicols and Sander Bangma, and language tweaks by Helen Foster.

AMOS BEGIN
 CPY [pluginname,block_recentlyaccessedcourses],[tour3_title_recentcourses,tool_usertours]
 CPY [pluginname,block_myoverview],[tour3_title_overview,tool_usertours]
 CPY [groupmessages,core_message],[tour4_title_groupconvo,tool_usertours]
 CPY [favourites,moodle,core_message],[tour4_title_starred,tool_usertours]
AMOS END

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
Co-authored-by: Sander Bangma <sander@moodle.com>
Co-authored-by: Helen Foster <helen@moodle.org>
2018-11-30 13:23:53 +08:00
Marina Glancy 442f12f81a MDL-62742 core: rename coursecat->core_course_category
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
Jun Pataleta 51c6cfb69a Merge branch 'MDL-60762-master' of git://github.com/junpataleta/moodle 2018-03-28 18:16:12 +02:00
Adam Pawełczak 7ccb6bb3cc MDL-60762 tool_usertours: Respect $CFG->admin in manager.php 2018-03-27 15:18:03 +08:00
Marina Glancy 1f0157e137 MDL-61328 tool_usertours: do not fix tour sortorder after step editing
otherwise it breaks when we try to modify the step sortorder
2018-03-26 09:52:14 +08:00
Andrew Nicols d3c607178b MDL-61570 tool_usertours: Implement Privacy API 2018-03-09 12:55:44 +08:00
John Beedell 77d2e46c4f MDL-60211 User tours: New filters for User Tours 2017-10-13 17:14:15 +01:00
Damyon Wiese 663640f5b3 MDL-40759 icons: convert uses of pix_url to pix_icon
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Andrew Nicols 1b70f778fd MDL-53978 tool_usertours: No tours for guest or no user 2017-03-02 10:24:06 +08:00
Brendan Heywood 3e050643c7 MDL-53978 usertours: Swap to better callback 2017-02-24 13:06:54 +11:00
Ryan Wyllie 10df630ee8 MDL-56553 tool_usertours: add admin and course tours 2016-12-01 00:44:29 +00:00
Ryan Wyllie 3eb3d916cb MDL-56553 tool_usertours: allow tours to be shipped with Moodle 2016-12-01 00:36:02 +00:00
David Monllao 42cf4a3470 Merge branch 'MDL-57023-master' of git://github.com/andrewnicols/moodle 2016-11-22 10:23:21 +08:00
Andrew Nicols aacdf8e280 MDL-57023 tool_usertours: Ensure that the tour key is unique
The tour key was already unique, but this change makes it unique to the
current user too.
2016-11-22 09:05:31 +08:00
Andrew Nicols c6b4421524 MDL-57017 tool_usertours: Allow targetting of the frontpage 2016-11-17 10:23:00 +08:00
Andrew Nicols 592c691c8f MDL-56555 tool_usertours: Update tool sharing link 2016-11-08 13:51:11 +08:00
Andrew Nicols 41c1314fbd MDL-56509 tool_usertours: Fetch all role shortnames 2016-11-01 10:14:48 +08:00
Dan Poltawski b7f3b1365d Merge branch 'MDL-56509-master' of git://github.com/andrewnicols/moodle 2016-10-31 09:35:21 +00:00
Dan Poltawski 737e3c3b67 Merge branch 'MDL-56487-master' of git://github.com/andrewnicols/moodle 2016-10-25 08:42:58 +01:00
David Monllao f5b07540c7 Merge branch 'MDL-56532-master' of git://github.com/andrewnicols/moodle 2016-10-25 12:43:36 +08:00
David Monllao 0add237ef5 Merge branch 'MDL-56516-master' of git://github.com/andrewnicols/moodle 2016-10-25 12:37:44 +08:00
Andrew Nicols 14d9b4fd85 MDL-56532 tool_usertours: Correct langstring uses for top/bottom 2016-10-25 12:15:34 +08:00
Andrew Nicols 6db92c6c37 MDL-56516 tool_usertous: Remove eroneous test 2016-10-25 08:54:33 +08:00
Andrew Nicols 67b49f27a4 MDL-56516 tool_usertours: Adjust tour query for MySQL 2016-10-25 08:39:36 +08:00