acontent.git
12 years agoadd a readme file to the top level AContent directory master
Greg Gay [Mon, 17 Oct 2011 14:01:01 +0000 (10:01 -0400)]
add a readme file to the top level AContent directory

12 years agomoved code up one level to eliminate the docs subdirectory
Greg Gay [Mon, 17 Oct 2011 13:06:57 +0000 (09:06 -0400)]
moved code up one level to eliminate the docs subdirectory

12 years agoAC_4897, AC_4898, AC_4899: Multifile uploader fixes. v1.2
Harris Wong [Fri, 14 Oct 2011 16:15:11 +0000 (16:15 -0000)]
AC_4897, AC_4898, AC_4899: Multifile uploader fixes.

Removed an extra letter "u" on the page.  Now properly forwards user back to the popup upload page upon successful file upload.  Also fixed a vsprinf issue with the Messenger.

12 years agohttp://atutor.ca/atutor/mantis/view.php?id=4894
Cindy Li [Thu, 13 Oct 2011 16:47:00 +0000 (16:47 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4894

The proper functioning of flowplayer requires flash to be installed. Coverts the [media] tag into flowplayer type only when the flash is available, otherwise, converts to a plain <a> link instead.

12 years agoreplaced sidemenu selected link colour white with an underline instead.
Greg Gay [Thu, 13 Oct 2011 14:29:28 +0000 (14:29 -0000)]
replaced sidemenu selected link colour white with an underline instead.

12 years agohttp://atutor.ca/atutor/mantis/view.php?id=4865
Cindy Li [Fri, 7 Oct 2011 17:34:32 +0000 (17:34 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4865

Added in the upgrade step that copies over the content folder from the initial AContent installation that's being upgraded.

12 years agoAC_4877: Removed extra whitespace at the end of line.
Harris Wong [Thu, 6 Oct 2011 16:30:02 +0000 (16:30 -0000)]
AC_4877: Removed extra whitespace at the end of line.

There are extra whitespaces at the end of:
line 544: $package_base_path = array_intersect_assoc($package_base_path, $temp_path);
There extra whitespaces are now removed.

12 years ago4873: Added a condition in to handle OpenLearn packages.
Harris Wong [Wed, 5 Oct 2011 19:58:06 +0000 (19:58 -0000)]
4873: Added a condition in to handle OpenLearn packages.

If "Share" is part of the common path calculation, then skip it.  Reason is the "Shared" directory is relative to content directory.  We should use content directory as the common path.

12 years agotest
Greg Gay [Wed, 5 Oct 2011 19:09:09 +0000 (19:09 -0000)]
test

12 years agofix a few typos in AContent howto
Greg Gay [Wed, 5 Oct 2011 16:01:04 +0000 (16:01 -0000)]
fix a few typos in AContent howto

12 years agoAC_4854: Added missing InlineEdit css to header
Harris Wong [Mon, 3 Oct 2011 21:01:31 +0000 (21:01 -0000)]
AC_4854: Added missing InlineEdit css to header

During infusion 1.4 upgrade, the InlineEdit css needs to be loaded in the header.  Added the missing css back to the theme header template.

12 years ago4854: Infusion uploader integrated into file manager
Harris Wong [Mon, 3 Oct 2011 20:21:15 +0000 (20:21 -0000)]
4854: Infusion uploader integrated into file manager

File Manager within AContent now uses infusion multi file uploader.

12 years agoupdated import CC/CP to accommodate paths in content that use ../
Greg Gay [Mon, 3 Oct 2011 19:22:10 +0000 (19:22 -0000)]
updated import CC/CP to accommodate paths in content that use ../

12 years agoupdated import CC/CP to accommodate paths in content that use ../
Greg Gay [Mon, 3 Oct 2011 19:21:46 +0000 (19:21 -0000)]
updated import CC/CP to accommodate paths in content that use ../

12 years agoupdated import CC/CP to accommodate paths in content that use ../
Greg Gay [Mon, 3 Oct 2011 16:19:24 +0000 (16:19 -0000)]
updated import CC/CP to accommodate paths in content that use ../

12 years agoupdated version number from 1.1 to 1.2
Greg Gay [Fri, 30 Sep 2011 20:08:48 +0000 (20:08 -0000)]
updated version number from 1.1 to 1.2

12 years agoreplaced $addslashes() around $token and $token_typewith addslashes() line 156/157
Greg Gay [Fri, 30 Sep 2011 18:38:42 +0000 (18:38 -0000)]
replaced $addslashes() around $token and $token_typewith addslashes() line 156/157

12 years agoreplaced intval() around $web_service_id with $addslashes()
Greg Gay [Fri, 30 Sep 2011 17:44:02 +0000 (17:44 -0000)]
replaced intval() around $web_service_id with $addslashes()

12 years agoremoved some garbage text
Greg Gay [Fri, 30 Sep 2011 15:36:45 +0000 (15:36 -0000)]
removed some garbage text

12 years ago861: Added flash detection code in vitals.
Harris Wong [Fri, 30 Sep 2011 15:18:37 +0000 (15:18 -0000)]
861: Added flash detection code in vitals.

Add flash detection code in vitals, and have a flag in SESSION to indicate rather Flash is enabled on this browser or not.  This variable is useful for multifile uploader in File Manager.

12 years ago4854: Upgrade infusion library to 1.4
Harris Wong [Fri, 30 Sep 2011 15:13:20 +0000 (15:13 -0000)]
4854: Upgrade infusion library to 1.4

Upgraded infusion library using the latest daily build from http://build.fluidproject.org/infusionBuilder/html/InfusionBuilder.html.

12 years ago4854: Removing old infusion library.
Harris Wong [Wed, 28 Sep 2011 20:30:43 +0000 (20:30 -0000)]
4854: Removing old infusion library.

12 years ago4836: side menu inline edit now properly saved after exiting edit mode.
Harris Wong [Wed, 28 Sep 2011 14:22:44 +0000 (14:22 -0000)]
4836: side menu inline edit now properly saved after exiting edit mode.

12 years ago4811: Multiple vulnerabilities fixed as listed on the tracker.
Harris Wong [Tue, 27 Sep 2011 20:32:14 +0000 (20:32 -0000)]
4811: Multiple vulnerabilities fixed as listed on the tracker.

12 years agoAC-4804: Security fixes for XSS, possible sql injection on multiple scripts within...
Harris Wong [Fri, 23 Sep 2011 20:37:13 +0000 (20:37 -0000)]
AC-4804: Security fixes for XSS, possible sql injection on multiple scripts within acontent.

12 years ago#4853 added check to theme_advanced_buttons4 array
Greg Gay [Thu, 22 Sep 2011 17:13:29 +0000 (17:13 -0000)]
#4853 added check to theme_advanced_buttons4 array

12 years ago fixed typo introduced when var filtering was added
Greg Gay [Thu, 22 Sep 2011 17:00:54 +0000 (17:00 -0000)]
 fixed typo introduced when  var filtering was added

12 years ago#4826 changed htmlspecialchars() to htmlentities_utf8() for the handbook frame set...
Greg Gay [Thu, 22 Sep 2011 15:57:54 +0000 (15:57 -0000)]
#4826 changed htmlspecialchars() to htmlentities_utf8() for the handbook frame set's title element

12 years ago#4846 commented out require ContentUtility.class.php
Greg Gay [Thu, 22 Sep 2011 14:44:50 +0000 (14:44 -0000)]
#4846 commented out require ContentUtility.class.php

12 years ago4525: Sanitize all input fields to disallow XSS. All the input field that most likel...
Harris Wong [Tue, 20 Sep 2011 17:23:33 +0000 (17:23 -0000)]
4525: Sanitize all input fields to disallow XSS.  All the input field that most likely would introduce a problem is not wrapped around AT_print.

12 years agoadded local xml.xsd
Greg Gay [Mon, 12 Sep 2011 18:29:27 +0000 (18:29 -0000)]
added local xml.xsd

12 years agoadded namespace imswl_v1p0
Greg Gay [Mon, 12 Sep 2011 17:24:22 +0000 (17:24 -0000)]
added namespace imswl_v1p0

12 years agoadded namespace imswl_v1p0
Greg Gay [Mon, 12 Sep 2011 17:18:44 +0000 (17:18 -0000)]
added namespace imswl_v1p0

12 years agoadded in new IMS CC validation xsds
Greg Gay [Mon, 12 Sep 2011 16:31:01 +0000 (16:31 -0000)]
added in new IMS CC validation xsds

12 years agoremove old IMS CC validation xsds
Greg Gay [Mon, 12 Sep 2011 16:18:41 +0000 (16:18 -0000)]
remove old IMS CC validation xsds

12 years agocommit initial sql upgrade script to alter table type to engine and set the default...
Greg Gay [Mon, 12 Sep 2011 16:15:28 +0000 (16:15 -0000)]
commit initial sql upgrade script to alter table type to engine and set the default charset to utf-8 for the AFA tables

12 years agoupdate install sql replacing db type with db Engine
Greg Gay [Mon, 12 Sep 2011 15:41:03 +0000 (15:41 -0000)]
update install sql replacing db type with db Engine

12 years agohttp://atutor.ca/atutor/mantis/view.php?id=4597 - An ATutor bug report, however,...
Cindy Li [Thu, 8 Sep 2011 16:09:24 +0000 (16:09 -0000)]
atutor.ca/atutor/mantis/view.php?id=4597 - An ATutor bug report, however, the same issue happens in AContent, which is what this check-in is for.

12 years agohttp://atutor.ca/atutor/mantis/view.php?id=4829
Cindy Li [Wed, 24 Aug 2011 16:37:18 +0000 (16:37 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4829

12 years agohttp://atutor.ca/atutor/mantis/view.php?id=4829
Cindy Li [Wed, 24 Aug 2011 16:14:02 +0000 (16:14 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4829
Wrap up handbook title with UTF-8 version of htmlspecialchars().

12 years agoupdated main IMS schemas
Greg Gay [Wed, 6 Jul 2011 16:50:55 +0000 (16:50 -0000)]
updated main IMS schemas

12 years agoreplace schemas with durrent version
Greg Gay [Wed, 6 Jul 2011 16:49:03 +0000 (16:49 -0000)]
replace schemas with durrent version

12 years agodeleting old IMS schemas
Greg Gay [Wed, 6 Jul 2011 16:45:02 +0000 (16:45 -0000)]
deleting old IMS schemas

12 years agoadded namesopaces for discussion topics template
Greg Gay [Wed, 6 Jul 2011 16:41:20 +0000 (16:41 -0000)]
added namesopaces for discussion topics template

13 years agoremoved extra comma breaking SQL statement v1.1
Greg Gay [Mon, 22 Nov 2010 16:24:12 +0000 (16:24 -0000)]
removed extra comma breaking SQL statement

13 years agoupdate bundle to svn.atutor.ca location
Greg Gay [Mon, 22 Nov 2010 15:45:32 +0000 (15:45 -0000)]
update bundle to svn.atutor.ca location

13 years agoEnable and polish upgrader
Cindy Li [Fri, 19 Nov 2010 20:40:27 +0000 (20:40 -0000)]
Enable and polish upgrader

13 years ago1. in ContentOutputParser, skip attribute value "clsid:..." in <object>
Cindy Li [Wed, 20 Oct 2010 19:55:44 +0000 (19:55 -0000)]
1. in ContentOutputParser, skip attribute value "clsid:..." in <object>
2. apply alternatives to the content by default
3. fix the bug that when using alternative tool bar to switch, the alternative always append to the primary even though the user preference is set to replace.

13 years agoupdate version number to 1.1
Greg Gay [Tue, 19 Oct 2010 13:05:57 +0000 (13:05 -0000)]
update version number to 1.1

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4593
Harris Wong [Mon, 18 Oct 2010 19:28:40 +0000 (19:28 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4593

13 years ago1. Improved DAO.class.php, when no results returned for "select" sql, return false;
Cindy Li [Mon, 18 Oct 2010 19:11:34 +0000 (19:11 -0000)]
1. Improved DAO.class.php, when no results returned for "select" sql, return false;
2. On "import/export course" page, truncate folder/content titles in the drop down list box to 65 chars;
3. Only when content type is "html", parse content and extract primary resources
4. In output.inc.php -> provide_alternative(), don't call convert_amp() on content since the plain text would not have alternatives defined.

13 years agoApplied atutor changes for flowplayer and adapted content
Cindy Li [Mon, 18 Oct 2010 14:45:51 +0000 (14:45 -0000)]
Applied atutor changes for flowplayer and adapted content

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4588
Harris Wong [Fri, 15 Oct 2010 21:05:21 +0000 (21:05 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4588

13 years agoreplace htmlentities() with htmlentities_utf8()
Cindy Li [Fri, 15 Oct 2010 19:00:30 +0000 (19:00 -0000)]
replace htmlentities() with htmlentities_utf8()

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4580
Harris Wong [Thu, 14 Oct 2010 17:25:22 +0000 (17:25 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4580
- modified the dicussionTools and weblinks xsd to validate.
- added cc_profile specific metadata into test templates

13 years ago1. fixed function populate_a4a() to clean up alternatives from db when no resources...
Cindy Li [Tue, 12 Oct 2010 17:55:17 +0000 (17:55 -0000)]
1. fixed function populate_a4a() to clean up alternatives from db when no resources and to figure out content_base_href when it's not presented;
1. added missing controls files into flowplayer module.

13 years ago- changed to ContentUtility:convertYoutubePlayURLToWatchURL
Harris Wong [Tue, 12 Oct 2010 16:01:31 +0000 (16:01 -0000)]
- changed to ContentUtility:convertYoutubePlayURLToWatchURL

13 years agoshorten import path from OAuth to 6 hex characters long.
Harris Wong [Fri, 8 Oct 2010 20:39:49 +0000 (20:39 -0000)]
shorten import path from OAuth to 6 hex characters long.

http://atutor.ca/atutor/mantis/view.php?id=4506

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4578
Harris Wong [Fri, 8 Oct 2010 20:06:20 +0000 (20:06 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4578

13 years agofix bugs from merging atutor changes.
Cindy Li [Fri, 8 Oct 2010 20:06:16 +0000 (20:06 -0000)]
fix bugs from merging atutor changes.

13 years ago-fixed the caller to formatContent and convertYoutubePlayURLToWatchURL
Harris Wong [Fri, 8 Oct 2010 19:52:46 +0000 (19:52 -0000)]
-fixed the caller to formatContent and convertYoutubePlayURLToWatchURL

13 years ago(no commit message)
Harris Wong [Fri, 8 Oct 2010 18:42:19 +0000 (18:42 -0000)]

13 years ago1. replace AT_INCLUDE_PATH with TR_INCLUDE_PATH
Cindy Li [Fri, 8 Oct 2010 18:42:04 +0000 (18:42 -0000)]
1. replace AT_INCLUDE_PATH with TR_INCLUDE_PATH
2. copy over the flowplayer handling from ATutor

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4574
Harris Wong [Fri, 8 Oct 2010 17:17:51 +0000 (17:17 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4574

13 years agoadd styles for icons on alternative toolbar
Cindy Li [Fri, 8 Oct 2010 14:59:32 +0000 (14:59 -0000)]
add styles for icons on alternative toolbar

13 years ago1. when download zip file, push down the download in chunks;
Cindy Li [Fri, 8 Oct 2010 14:22:46 +0000 (14:22 -0000)]
1. when download zip file, push down the download in chunks;
2. upgrade flowplayer;
3. in get.php, skip "Content-length" for mp3 & mp4 files.

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4276
Harris Wong [Fri, 24 Sep 2010 15:12:46 +0000 (15:12 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4276

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4527
Harris Wong [Fri, 3 Sep 2010 20:05:30 +0000 (20:05 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4527

13 years agotest commit with Id$
Cindy Li [Fri, 3 Sep 2010 17:26:50 +0000 (17:26 -0000)]
test commit with Id$

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4526
Harris Wong [Fri, 3 Sep 2010 17:20:41 +0000 (17:20 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4526

13 years agofix typo v1.0
Greg Gay [Thu, 26 Aug 2010 13:49:02 +0000 (13:49 -0000)]
fix typo

13 years ago1. remove .psd files from photoshop
Cindy Li [Wed, 25 Aug 2010 17:26:01 +0000 (17:26 -0000)]
1. remove .psd files from photoshop
2. put back logo.png that is packed into content package

13 years agoset "class" as a valid attribute in <a> tag using tinymce so that it's not stripped...
Cindy Li [Wed, 25 Aug 2010 15:06:11 +0000 (15:06 -0000)]
set "class" as a valid attribute in <a> tag using tinymce so that it's not stripped by tinymce

13 years agoskip the url conversion if the url is inside double quotes (") because this url could...
Cindy Li [Wed, 25 Aug 2010 14:44:09 +0000 (14:44 -0000)]
skip the url conversion if the url is inside double quotes (") because this url could be a part of <a href="..."></a>

13 years ago1. .flv conversion to use flowplayer must come after url conversion in makeClickable()
Cindy Li [Tue, 24 Aug 2010 20:24:55 +0000 (20:24 -0000)]
1. .flv conversion to use flowplayer must come after url conversion in makeClickable()
2. clean up output.inc.php to remove the functions that are not in use

13 years agoreplace ampersand separators with SEP
Greg Gay [Tue, 24 Aug 2010 20:04:35 +0000 (20:04 -0000)]
replace ampersand separators with SEP

13 years agoreplace ampersand separators with SEP
Greg Gay [Tue, 24 Aug 2010 19:54:02 +0000 (19:54 -0000)]
replace ampersand separators with SEP

13 years agoreplace ampersand separators with SEP
Greg Gay [Tue, 24 Aug 2010 19:52:41 +0000 (19:52 -0000)]
replace ampersand separators with SEP

13 years agoreplace ampersand separators with SEP
Greg Gay [Tue, 24 Aug 2010 19:52:13 +0000 (19:52 -0000)]
replace ampersand separators with SEP

13 years agoremove commented code for old search field
Greg Gay [Tue, 24 Aug 2010 19:37:56 +0000 (19:37 -0000)]
remove commented code for old search field

13 years agoadjust space option
Greg Gay [Tue, 24 Aug 2010 19:35:22 +0000 (19:35 -0000)]
adjust space option

13 years agoadjust space option
Greg Gay [Tue, 24 Aug 2010 19:28:17 +0000 (19:28 -0000)]
adjust space option

13 years agoadjust space option
Greg Gay [Tue, 24 Aug 2010 19:27:00 +0000 (19:27 -0000)]
adjust space option

13 years agoremove referecne to google fonts
Greg Gay [Tue, 24 Aug 2010 19:23:31 +0000 (19:23 -0000)]
remove referecne to google fonts

13 years agoAdjust top nav padding for IE7/8 compatibility
Greg Gay [Tue, 24 Aug 2010 19:12:58 +0000 (19:12 -0000)]
Adjust top nav padding for IE7/8 compatibility

13 years agoadd space between top nav tabs in IE
Greg Gay [Tue, 24 Aug 2010 19:07:48 +0000 (19:07 -0000)]
add space between top nav tabs in IE

13 years agoadjust search-top width for new categories menu
Greg Gay [Tue, 24 Aug 2010 19:04:32 +0000 (19:04 -0000)]
adjust search-top width for new categories menu

13 years agostyle tweaks
Greg Gay [Tue, 24 Aug 2010 19:00:03 +0000 (19:00 -0000)]
style tweaks

13 years agostyle tweaks
Greg Gay [Tue, 24 Aug 2010 17:44:04 +0000 (17:44 -0000)]
style tweaks

13 years agomake_clickable(): improve regular expression of converting URL to ignore the beginnin...
Cindy Li [Tue, 24 Aug 2010 14:20:57 +0000 (14:20 -0000)]
make_clickable(): improve regular expression of converting URL to ignore the beginning " or ending )

13 years agohttp://atutor.ca/atutor/mantis/view.php?id=4506
Harris Wong [Mon, 23 Aug 2010 22:04:31 +0000 (22:04 -0000)]
http://atutor.ca/atutor/mantis/view.php?id=4506

13 years agoremove unused images
Greg Gay [Mon, 23 Aug 2010 20:32:29 +0000 (20:32 -0000)]
remove unused images

13 years agochanged delete lesson icon
Greg Gay [Mon, 23 Aug 2010 20:29:37 +0000 (20:29 -0000)]
changed delete lesson icon

13 years agodelete unused images
Greg Gay [Mon, 23 Aug 2010 20:25:33 +0000 (20:25 -0000)]
delete unused images

13 years agofix the bug that once the a content is deleted from the lesson via "delete content...
Cindy Li [Mon, 23 Aug 2010 19:33:35 +0000 (19:33 -0000)]
fix the bug that once the a content is deleted from the lesson via "delete content" icon, the page is still viewing the deleted content which caused the error.

13 years agoapply the changes in atutor to fix the issue that the export puts the items into...
Cindy Li [Mon, 23 Aug 2010 17:26:47 +0000 (17:26 -0000)]
apply the changes in atutor to fix the issue that the export puts the items into a new folder which results in a path too long error after some rounds of import/export

Also fix:
http://www.atutor.ca/atutor/mantis/view.php?id=4498
http://www.atutor.ca/atutor/mantis/view.php?id=4499

13 years agocase insensitive on the image extensions from the imported package
Cindy Li [Fri, 20 Aug 2010 20:10:26 +0000 (20:10 -0000)]
case insensitive on the image extensions from the imported package

13 years agofix the bug that clr_dir() is not from FileUtility
Cindy Li [Fri, 20 Aug 2010 19:13:57 +0000 (19:13 -0000)]
fix the bug that clr_dir() is not from FileUtility

13 years agocreate the default HowTo lesson in installer
Cindy Li [Fri, 20 Aug 2010 18:55:29 +0000 (18:55 -0000)]
create the default HowTo lesson in installer

13 years agofix indentation
Cindy Li [Fri, 20 Aug 2010 13:32:06 +0000 (13:32 -0000)]
fix indentation