diff --git a/.github/no-response.yml b/.github/no-response.yml index 18dda67f4..673dccf65 100644 --- a/.github/no-response.yml +++ b/.github/no-response.yml @@ -2,6 +2,7 @@ # Number of days of inactivity before an Issue is closed for lack of response daysUntilClose: 16 + # Label requiring a response responseRequiredLabel: more-information-required # Comment to post when closing an Issue for lack of response. Set to `false` to disable diff --git a/.gitignore b/.gitignore index 70aaf70ed..05f0022d8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,7 @@ docker/data/* docker/persist/* vendor/* attachments/* -temp/* \ No newline at end of file +temp/* +# Ignore Mac DS_Store files +.DS_Store +/vendor/ diff --git a/.travis.yml b/.travis.yml index f3cf78aae..46c05e0a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ services: - docker env: - COMPOSE_VERSION: 1.7.1 + COMPOSE_VERSION: 1.25.3 before_install: - sudo apt-get update -qq @@ -14,8 +14,9 @@ before_install: language: php php: -- 5.6 - +- 7.2 +- 7.3 +- 7.4 script: - composer install - ./vendor/bin/phpunit src/OpenCATS/Tests/UnitTests @@ -26,11 +27,10 @@ script: deploy: provider: releases api_key: - secure: Srgq/VW4yoYg0yWq/llOix47MAe2EKccqxfdukxrm6fePKRRv6bVBQXH/0hhrTTn4Q6xrmVycqC36SD9/JVL684xNYBESlT4V3DpZ6vxPYeNzU2GjtoMBqGCOgjZvxpq5AGIf7gXZ9GdM4+xikBPthspCcUorg8hkLgaOQ5PPlI0dC7cdFPjQweoxAqDe6VwQ31J1MiO+DPI+69GHb/KukHkS/sjhZTMZoO0shfw5dhv0TSuaeaPzWYw1+g6sNdgNurNbi4bPEEpofUdfA+WaWw7oapsO7ZW4qTqKxsrsrCf1ZgTnynm2Kow5D7oFVqRkt/kpoQ/UzwZUalzm8JrVeYPbQ2j7mYxOh3TcTYn24NSm8xuDgF8ZaG3BxoWCLQSA8pdJZRI7QbWrDdFA93ZD1EWRW0amL3rOGLED61K0ZFhulUBy1bKyjAnT2T6FPsKk4hOwFDo1nojzemQnl6PfPT6Lsuvk5FotevsemBUQl+xx7UQsxhDM3kw3/IheE/abOYmIK+qRKdcH5J04m+dadXKZBa+h/Jsd5AdC7Yp3Si74IhJFceyvQIx7GkkG4fo/0Y34mCAXuwEN7acB7RbNU8DVyzfUtpWSPwkw2iDTJshDsV1RN94Xzt+k/GvLAvAOttozkhruYV563+MEYizBRN+96jaF/35dZYd+X3UwBA= + secure: ke80rN2W+MZWizqUbd9ENVOYLYiQy29oAdyqD61Q2rLunnFXm0LgDv/6Bddav6/Lherv+sFmN6LIa9IF3iD/oO7nUuzuRhsL4E9Pib5Al3TEIDZoOeeXyVinO/v2QaWjs+ufAswUESch0/+8p6bowiwGwaCJw0S4EA+jA/PacKHYxYG2cIbk9Rl7/HlSmirAQpkw2n+xUx4pQZj0bQRd5mILFxyLuFa5ct8y3Ya+Bo4gCBgJnXEITufbeuQmcEeK/4Zec8G5xZOIfoiTV7gT4nEBWl1wUK8FxFoEytG6NrHP8fRSkpgmecuZwzQI1zX5ORZaVTzLpC5Mw10/AZmBWYxkZN9ALYpQ9xKvFhxL4kurRZQOdfpepc3gvC6rCNE0Q+OYHD38Y3Nb6rdnOcqdkROdNkPPL+OierOgatgG4grlYLZq4tu9fnqRXYgT4UNrDiV6hAG8OPIIkHRWItPIr5HIjGkAPIos/fs20rBan/uqms9vZjzijfUjOwbold5t1fMTuO1zx/UytANunIWMbajP8puuO+GeEAB8vkE9CBC7ZR+pXDqap3qewCmg4FeclPc24wPcYUM0RRUSOFrBarlM/pQBHIidkgrh3hu48qyXGTw/HzxrgzEatKBgR+Nht2dKml7uEFTJVZnq91VVjlnYOlNv4u+jgNt8z0VxG7Q= file: - $TRAVIS_BUILD_DIR/opencats-$TRAVIS_TAG-full.tar.gz - $TRAVIS_BUILD_DIR/opencats-$TRAVIS_TAG-full.zip skip_cleanup: true on: tags: true - diff --git a/QueueCLI.php b/QueueCLI.php index 549b98457..bb11e0771 100755 --- a/QueueCLI.php +++ b/QueueCLI.php @@ -36,20 +36,20 @@ chdir($CATSHome); include_once('./config.php'); -include_once('./constants.php'); -include_once('./lib/CATSUtility.php'); -include_once('./lib/DatabaseConnection.php'); -include_once('./lib/DateUtility.php'); -include_once('./lib/Template.php'); -include_once('./lib/Users.php'); -include_once('./lib/MRU.php'); -include_once('./lib/Hooks.php'); -include_once('./lib/Session.php'); /* Depends: MRU, Users, DatabaseConnection. */ -include_once('./lib/UserInterface.php'); /* Depends: Template, Session. */ -include_once('./lib/ModuleUtility.php'); /* Depends: UserInterface */ -include_once('./lib/TemplateUtility.php'); /* Depends: ModuleUtility, Hooks */ -include_once('./lib/QueueProcessor.php'); -include_once('./modules/queue/constants.php'); +include_once(LEGACY_ROOT . '/constants.php'); +include_once(LEGACY_ROOT . '/lib/CATSUtility.php'); +include_once(LEGACY_ROOT . '/lib/DatabaseConnection.php'); +include_once(LEGACY_ROOT . '/lib/DateUtility.php'); +include_once(LEGACY_ROOT . '/lib/Template.php'); +include_once(LEGACY_ROOT . '/lib/Users.php'); +include_once(LEGACY_ROOT . '/lib/MRU.php'); +include_once(LEGACY_ROOT . '/lib/Hooks.php'); +include_once(LEGACY_ROOT . '/lib/Session.php'); /* Depends: MRU, Users, DatabaseConnection. */ +include_once(LEGACY_ROOT . '/lib/UserInterface.php'); /* Depends: Template, Session. */ +include_once(LEGACY_ROOT . '/lib/ModuleUtility.php'); /* Depends: UserInterface */ +include_once(LEGACY_ROOT . '/lib/TemplateUtility.php'); /* Depends: ModuleUtility, Hooks */ +include_once(LEGACY_ROOT . '/lib/QueueProcessor.php'); +include_once(LEGACY_ROOT . '/modules/queue/constants.php'); /* Give the session a unique name to avoid conflicts and start the session. */ @session_name(CATS_SESSION_NAME); @@ -58,7 +58,9 @@ /* Make sure we aren't getting screwed over by magic quotes. */ if (get_magic_quotes_runtime()) { - set_magic_quotes_runtime(0); + if (function_exists('set_magic_quotes_runtime')) { + set_magic_quotes_runtime(0); + } } if (get_magic_quotes_gpc()) { diff --git a/ajax.php b/ajax.php index fcf9ad9d4..fd2333daf 100644 --- a/ajax.php +++ b/ajax.php @@ -3,7 +3,7 @@ * CATS * AJAX Delegation Module * - * CATS Version: 0.9.4 Countach + * CATS Version: 0.9.6 * * Copyright (C) 2005 - 2007 Cognizo Technologies, Inc. * @@ -36,11 +36,11 @@ include_once('./config.php'); -include_once('./constants.php'); -include_once('./lib/DatabaseConnection.php'); -include_once('./lib/Session.php'); /* Depends: MRU, Users, DatabaseConnection. */ -include_once('./lib/AJAXInterface.php'); -include_once('./lib/CATSUtility.php'); +include_once(LEGACY_ROOT . '/constants.php'); +include_once(LEGACY_ROOT . '/lib/DatabaseConnection.php'); +include_once(LEGACY_ROOT . '/lib/Session.php'); /* Depends: MRU, Users, DatabaseConnection. */ +include_once(LEGACY_ROOT . '/lib/AJAXInterface.php'); +include_once(LEGACY_ROOT . '/lib/CATSUtility.php'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); @@ -49,7 +49,9 @@ /* Make sure we aren't getting screwed over by magic quotes. */ if (get_magic_quotes_runtime()) { - set_magic_quotes_runtime(0); + if (function_exists('set_magic_quotes_runtime')) { + set_magic_quotes_runtime(0); + } } if (get_magic_quotes_gpc()) { @@ -107,7 +109,7 @@ if (!isset($_REQUEST['nobuffer'])) { - include_once('./lib/Hooks.php'); + include_once(LEGACY_ROOT . '/lib/Hooks.php'); ob_start(); include($filename); diff --git a/ajax/deleteActivity.php b/ajax/deleteActivity.php index 1983a573a..180fc6946 100755 --- a/ajax/deleteActivity.php +++ b/ajax/deleteActivity.php @@ -27,7 +27,7 @@ * $Id: deleteActivity.php 1479 2007-01-17 00:22:21Z will $ */ -include_once('./lib/ActivityEntries.php'); +include_once(LEGACY_ROOT . '/lib/ActivityEntries.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/editActivity.php b/ajax/editActivity.php index 5c41f01fd..91e7a5835 100755 --- a/ajax/editActivity.php +++ b/ajax/editActivity.php @@ -28,9 +28,9 @@ */ -include_once('./lib/StringUtility.php'); -include_once('./lib/ActivityEntries.php'); -include_once('./lib/Pipelines.php'); +include_once(LEGACY_ROOT . '/lib/StringUtility.php'); +include_once(LEGACY_ROOT . '/lib/ActivityEntries.php'); +include_once(LEGACY_ROOT . '/lib/Pipelines.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/getAttachmentLocal.php b/ajax/getAttachmentLocal.php index 62cf87f9d..5710b9a15 100755 --- a/ajax/getAttachmentLocal.php +++ b/ajax/getAttachmentLocal.php @@ -30,8 +30,8 @@ $interface = new SecureAJAXInterface(); -include_once('./lib/CommonErrors.php'); -include_once('./lib/Attachments.php'); +include_once(LEGACY_ROOT . '/lib/CommonErrors.php'); +include_once(LEGACY_ROOT . '/lib/Attachments.php'); @ini_set('memory_limit', '256M'); diff --git a/ajax/getCandidateIdByEmail.php b/ajax/getCandidateIdByEmail.php index a10f24496..90b44b6b2 100755 --- a/ajax/getCandidateIdByEmail.php +++ b/ajax/getCandidateIdByEmail.php @@ -29,7 +29,7 @@ $interface = new SecureAJAXInterface(); -include ('lib/Candidates.php'); +include (LEGACY_ROOT . '/lib/Candidates.php'); if (!isset($_REQUEST['email'])) { diff --git a/ajax/getCandidateIdByPhone.php b/ajax/getCandidateIdByPhone.php index 04418b20b..43c69d0ba 100644 --- a/ajax/getCandidateIdByPhone.php +++ b/ajax/getCandidateIdByPhone.php @@ -29,7 +29,7 @@ $interface = new SecureAJAXInterface(); -include ('lib/Candidates.php'); +include (LEGACY_ROOT . '/lib/Candidates.php'); if (!isset($_REQUEST['phone'])) { diff --git a/ajax/getCompanyContacts.php b/ajax/getCompanyContacts.php index f94bbb9c0..01fa82df5 100755 --- a/ajax/getCompanyContacts.php +++ b/ajax/getCompanyContacts.php @@ -27,7 +27,7 @@ * $Id: getCompanyContacts.php 1892 2007-02-20 06:44:04Z will $ */ -include_once('./lib/Companies.php'); +include_once(LEGACY_ROOT . '/lib/Companies.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/getCompanyLocation.php b/ajax/getCompanyLocation.php index f308a765d..a0cce48f0 100755 --- a/ajax/getCompanyLocation.php +++ b/ajax/getCompanyLocation.php @@ -27,7 +27,7 @@ * $Id: getCompanyLocation.php 2359 2007-04-21 22:49:17Z will $ */ -include_once('./lib/Companies.php'); +include_once(LEGACY_ROOT . '/lib/Companies.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/getCompanyLocationAndDepartments.php b/ajax/getCompanyLocationAndDepartments.php index fa73cb57d..25abb2023 100755 --- a/ajax/getCompanyLocationAndDepartments.php +++ b/ajax/getCompanyLocationAndDepartments.php @@ -27,7 +27,7 @@ * $Id: getCompanyLocationAndDepartments.php 2359 2007-04-21 22:49:17Z will $ */ -include_once('./lib/Companies.php'); +include_once(LEGACY_ROOT . '/lib/Companies.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/getCompanyNames.php b/ajax/getCompanyNames.php index eccd8e743..83c3a1eeb 100755 --- a/ajax/getCompanyNames.php +++ b/ajax/getCompanyNames.php @@ -27,8 +27,8 @@ * $Id: getCompanyNames.php 2367 2007-04-23 23:24:05Z will $ */ -include_once('./lib/Companies.php'); -include_once('./lib/Search.php'); +include_once(LEGACY_ROOT . '/lib/Companies.php'); +include_once(LEGACY_ROOT . '/lib/Search.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/getDataGridPager.php b/ajax/getDataGridPager.php index b3a406a13..7e8d3c4bb 100755 --- a/ajax/getDataGridPager.php +++ b/ajax/getDataGridPager.php @@ -27,9 +27,9 @@ * $Id: getDataGridPager.php 3078 2007-09-21 20:25:28Z will $ */ -include_once('./lib/CATSUtility.php'); -include_once('./lib/TemplateUtility.php'); -include_once('./lib/DataGrid.php'); +include_once(LEGACY_ROOT . '/lib/CATSUtility.php'); +include_once(LEGACY_ROOT . '/lib/TemplateUtility.php'); +include_once(LEGACY_ROOT . '/lib/DataGrid.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/getDataItemJobOrders.php b/ajax/getDataItemJobOrders.php index 061d8cb9c..f39ce37ac 100755 --- a/ajax/getDataItemJobOrders.php +++ b/ajax/getDataItemJobOrders.php @@ -49,17 +49,17 @@ switch ($dataItemType) { case DATA_ITEM_CANDIDATE: - include_once('./lib/Candidates.php'); + include_once(LEGACY_ROOT . '/lib/Candidates.php'); $dataItem = new Candidates($siteID); break; case DATA_ITEM_COMPANY: - include_once('./lib/Companies.php'); + include_once(LEGACY_ROOT . '/lib/Companies.php'); $dataItem = new Companies($siteID); break; case DATA_ITEM_CONTACT: - include_once('./lib/Contacts.php'); + include_once(LEGACY_ROOT . '/lib/Contacts.php'); $dataItem = new Contacts($siteID); break; diff --git a/ajax/getParsedAddress.php b/ajax/getParsedAddress.php index 1ab9f112e..aea55ff64 100755 --- a/ajax/getParsedAddress.php +++ b/ajax/getParsedAddress.php @@ -27,9 +27,9 @@ * $Id: getParsedAddress.php 2492 2007-05-25 21:12:47Z will $ */ -include_once('./lib/StringUtility.php'); -include_once('./lib/AddressParser.php'); -include_once('./lib/ResultSetUtility.php'); +include_once(LEGACY_ROOT . '/lib/StringUtility.php'); +include_once(LEGACY_ROOT . '/lib/AddressParser.php'); +include_once(LEGACY_ROOT . '/lib/ResultSetUtility.php'); $interface = new AJAXInterface(); diff --git a/ajax/getPipelineDetails.php b/ajax/getPipelineDetails.php index 1636acf1f..2dcaf15d9 100755 --- a/ajax/getPipelineDetails.php +++ b/ajax/getPipelineDetails.php @@ -27,7 +27,7 @@ * $Id: getPipelineDetails.php 2976 2007-08-30 18:18:48Z andrew $ */ -include_once('./lib/Pipelines.php'); +include_once(LEGACY_ROOT . '/lib/Pipelines.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/getPipelineJobOrder.php b/ajax/getPipelineJobOrder.php index ed298f8cf..0986cdd0f 100755 --- a/ajax/getPipelineJobOrder.php +++ b/ajax/getPipelineJobOrder.php @@ -27,12 +27,12 @@ * $Id: getPipelineJobOrder.php 3814 2007-12-06 17:54:28Z brian $ */ -include_once('./lib/Pipelines.php'); -include_once('./lib/TemplateUtility.php'); -include_once('./lib/StringUtility.php'); -include_once('./lib/CATSUtility.php'); -include_once('./lib/Hooks.php'); -include_once('./lib/JobOrders.php'); +include_once(LEGACY_ROOT . '/lib/Pipelines.php'); +include_once(LEGACY_ROOT . '/lib/TemplateUtility.php'); +include_once(LEGACY_ROOT . '/lib/StringUtility.php'); +include_once(LEGACY_ROOT . '/lib/CATSUtility.php'); +include_once(LEGACY_ROOT . '/lib/Hooks.php'); +include_once(LEGACY_ROOT . '/lib/JobOrders.php'); $interface = new SecureAJAXInterface(); @@ -93,7 +93,17 @@ } else { - $pipelinesRS[$rowIndex]['iconTag'] = ' '; + $pipelinesRS[$rowIndex]['iconTag'] = ''; + } + + if ($row['isDuplicateCandidate'] == 1) + { + $pipelinesRS[$rowIndex]['iconTag'] .= ''; + } + + if($pipelinesRS[$rowIndex]['iconTag'] == '') + { + $pipelinesRS[$rowIndex]['iconTag'] .= ' '; } $pipelinesRS[$rowIndex]['ratingLine'] = TemplateUtility::getRatingObject( @@ -193,7 +203,7 @@ function printSortLink($field, $delimiter = "'", $changeDirection = true) - + Match @@ -297,7 +307,7 @@ function printSortLink($field, $delimiter = "'", $changeDirection = true) getAccessLevel('pipelines.removeFromPipeline') >= ACCESS_LEVEL_DELETE): ?> - remove + remove diff --git a/ajax/replaceTemplateTags.php b/ajax/replaceTemplateTags.php new file mode 100644 index 000000000..eebcf379f --- /dev/null +++ b/ajax/replaceTemplateTags.php @@ -0,0 +1,56 @@ +isRequiredIDValid('candidateID', false)) + { + $interface->outputXMLErrorPage(-1, 'Invalid candidate ID.'); + die(); + } + + $siteID = $interface->getSiteID(); + + $candidateID = $_REQUEST['candidateID']; + $templateText = $_REQUEST['templateText']; + + /* Get an array of the company's location data. */ + $candidates = new Candidates($siteID); + $candidateData = $candidates->get($candidateID); + $emailTemplates = new EmailTemplates($siteID); + $emailTemplateText = $emailTemplates->replaceVariables($templateText); + + if (empty($candidateData)) + { + $interface->outputXMLErrorPage(-2, 'No candidate data.'); + die(); + } + + $stringsToFind = array( + '%CANDOWNER%', + '%CANDFIRSTNAME%', + '%CANDFULLNAME%' + ); + $replacementStrings = array( + $candidateData['ownerFullName'], + $candidateData['firstName'], + $candidateData['candidateFullName'], + ); + $emailTemplateText = str_replace( + $stringsToFind, + $replacementStrings, + $emailTemplateText + ); + + /* Send back the XML data. */ + $interface->outputXMLPage( + "\n" . + " 0\n" . + " \n" . + " " . htmlspecialchars($emailTemplateText) . "\n" . + "\n" + ); + +?> \ No newline at end of file diff --git a/ajax/setCandidateJobOrderRating.php b/ajax/setCandidateJobOrderRating.php index 6d15de240..19236e202 100755 --- a/ajax/setCandidateJobOrderRating.php +++ b/ajax/setCandidateJobOrderRating.php @@ -27,7 +27,7 @@ * $Id: setCandidateJobOrderRating.php 1479 2007-01-17 00:22:21Z will $ */ -include_once('./lib/Pipelines.php'); +include_once(LEGACY_ROOT . '/lib/Pipelines.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/showTemplate.php b/ajax/showTemplate.php new file mode 100644 index 000000000..4a39c4e92 --- /dev/null +++ b/ajax/showTemplate.php @@ -0,0 +1,36 @@ +isRequiredIDValid('templateID', false)) + { + $interface->outputXMLErrorPage(-1, 'Invalid template ID.'); + die(); + } + + $siteID = $interface->getSiteID(); + + $templateID = $_REQUEST['templateID']; + + /* Get an array of the company's location data. */ + $emailTemplates = new EmailTemplates($siteID); + $emailTemplateText = $emailTemplates->get($templateID)['text']; + + if (empty($emailTemplateText)) + { + $interface->outputXMLErrorPage(-2, 'No template data.'); + die(); + } + + /* Send back the XML data. */ + $interface->outputXMLPage( + "\n" . + " 0\n" . + " \n" . + " " . htmlspecialchars($emailTemplateText) . "\n" . + "\n" + ); + +?> \ No newline at end of file diff --git a/ajax/testEmailSettings.php b/ajax/testEmailSettings.php index ef3ddb4f1..5845e4b53 100755 --- a/ajax/testEmailSettings.php +++ b/ajax/testEmailSettings.php @@ -27,7 +27,7 @@ * $Id: testEmailSettings.php 2101 2007-03-06 00:20:17Z brian $ */ -include_once('./lib/Mailer.php'); +include_once(LEGACY_ROOT . '/lib/Mailer.php'); $interface = new SecureAJAXInterface(); diff --git a/ajax/zipLookup.php b/ajax/zipLookup.php index a879991a1..b87e166e9 100755 --- a/ajax/zipLookup.php +++ b/ajax/zipLookup.php @@ -3,8 +3,8 @@ * OpenCATS * AJAX Street/City/State lookup via Zip Interface */ -include_once('./lib/ZipLookup.php'); -include_once('./lib/StringUtility.php'); +include_once(LEGACY_ROOT . '/lib/ZipLookup.php'); +include_once(LEGACY_ROOT . '/lib/StringUtility.php'); $interface = new AJAXInterface(); diff --git a/careers/index.php b/careers/index.php index 41ee15372..cd059de7e 100644 --- a/careers/index.php +++ b/careers/index.php @@ -3,7 +3,7 @@ * CATS * Careers Page Display Module * - * CATS Version: 0.9.4 Countach + * CATS Version: 0.9.6 * * Copyright (C) 2005 - 2007 Cognizo Technologies, Inc. * @@ -34,7 +34,8 @@ $careerPage = true; chdir('..'); -include_once('./lib/CATSUtility.php'); +include_once('config.php') ; +include_once(LEGACY_ROOT . '/lib/CATSUtility.php'); include_once(CATSUtility::getIndexName()); ?> diff --git a/ci/package-code.sh b/ci/package-code.sh index 936d967e6..bc536ee42 100755 --- a/ci/package-code.sh +++ b/ci/package-code.sh @@ -1,9 +1,10 @@ #!/bin/bash set -ev echo $TRAVIS_TAG -if [ "${TRAVIS_TAG}" != "" ]; then +if [ "${TRAVIS_TAG}" != "false" ]; then if [ "${TRAVIS_TAG}" != "" ]; then tar -czf /tmp/opencats-$TRAVIS_TAG-full.tar.gz --exclude=INSTALL_BLOCK -C $TRAVIS_BUILD_DIR . zip -q -x INSTALL_BLOCK -r /tmp/opencats-$TRAVIS_TAG-full.zip $TRAVIS_BUILD_DIR cp /tmp/opencats-$TRAVIS_TAG-full.tar.gz $TRAVIS_BUILD_DIR cp /tmp/opencats-$TRAVIS_TAG-full.zip $TRAVIS_BUILD_DIR fi +fi diff --git a/ckeditor/.htaccess b/ckeditor/.htaccess deleted file mode 100644 index ed1d794fe..000000000 --- a/ckeditor/.htaccess +++ /dev/null @@ -1,24 +0,0 @@ -# -# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. -# For licensing, see LICENSE.html or http://ckeditor.com/license -# - -# -# On some specific Linux installations you could face problems with Firefox. -# It could give you errors when loading the editor saying that some illegal -# characters were found (three strange chars in the beginning of the file). -# This could happen if you map the .js or .css files to PHP, for example. -# -# Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. -# All FCKeditor files are Unicode encoded. -# - -AddType application/x-javascript .js -AddType text/css .css - -# -# If PHP is mapped to handle XML files, you could have some issues. The -# following will disable it. -# - -AddType text/xml .xml diff --git a/ckeditor/CHANGES.html b/ckeditor/CHANGES.html deleted file mode 100644 index 9b763b035..000000000 --- a/ckeditor/CHANGES.html +++ /dev/null @@ -1,538 +0,0 @@ - - - - - Changelog - CKEditor - - - - -

- CKEditor Changelog -

-

- CKEditor 3.2

-

- New features:

- -

- Fixed issues:

- -

- CKEditor 3.1.1

-

- New features:

- -

- Fixed issues:

- -

- CKEditor 3.1

-

- New features:

- -

- Fixed issues:

- -

- CKEditor 3.0.2

-

- New features:

- -

- Fixed issues:

- -

- CKEditor 3.0.1

-

- New features:

- -

- Fixed issues:

- -

- CKEditor 3.0

-

- New features:

- -

- Fixed issues:

- -

- CKEditor 3.0 RC

-

- Changelog starts at this release.

- - - diff --git a/ckeditor/CHANGES.md b/ckeditor/CHANGES.md deleted file mode 100644 index 6a6e62f3a..000000000 --- a/ckeditor/CHANGES.md +++ /dev/null @@ -1,1118 +0,0 @@ -CKEditor 4 Changelog -==================== - -## CKEditor 4.5.11 - -**Security Updates:** - -* [Severity: minor] Fixed the target="_blank" vulnerability reported by James Gaskell. - - Issue summary: If a victim had access to a spoofed version of ckeditor.com via HTTP (e.g. due to DNS spoofing, using a hacked public network or mailicious hotspot), then when using a link to the ckeditor.com website it was possible for the attacker to change the current URL of the opening page, even if the opening page was protected with SSL. - - An upgrade is recommended. - -New Features: - -* [#14747](http://dev.ckeditor.com/ticket/14747): The [Enhanced Image](http://ckeditor.com/addon/image2) caption now supports the link `target` attribute. -* [#7154](http://dev.ckeditor.com/ticket/7154): Added support for the "Display Text" field to the [Link](http://ckeditor.com/addon/link) dialog. Thanks to [Ryan Guill](https://github.com/ryanguill)! - -Fixed Issues: - -* [#13362](http://dev.ckeditor.com/ticket/13362): [Blink, WebKit] Fixed: Active widget element is not cached when it is losing focus and it is inside an editable element. -* [#13755](http://dev.ckeditor.com/ticket/13755): [Edge] Fixed: Pasting images does not work. -* [#13548](http://dev.ckeditor.com/ticket/13548): [IE] Fixed: Clicking the [elements path](http://ckeditor.com/addon/elementspath) disables Cut and Copy icons. -* [#13812](http://dev.ckeditor.com/ticket/13812): Fixed: When aborting file upload the placeholder for image is left. -* [#14659](http://dev.ckeditor.com/ticket/14659): [Blink] Fixed: Content scrolled to the top after closing the dialog in a [`
`-based editor](http://ckeditor.com/addon/divarea). -* [#14825](http://dev.ckeditor.com/ticket/14825): [Edge] Fixed: Focusing the editor causes unwanted scrolling due to dropped support for the `setActive` method. - -## CKEditor 4.5.10 - -Fixed Issues: - -* [#10750](http://dev.ckeditor.com/ticket/10750): Fixed: The editor does not escape the `font-style` family property correctly, removing quotes and whitespace from font names. -* [#14413](http://dev.ckeditor.com/ticket/14413): Fixed: The [Auto Grow](http://ckeditor.com/addon/autogrow) plugin with the [`config.autoGrow_onStartup`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-autoGrow_onStartup) option set to `true` does not work properly for an editor that is not visible. -* [#14451](http://dev.ckeditor.com/ticket/14451): Fixed: Numeric element ID not escaped properly. Thanks to [Jakub Chalupa](https://github.com/chaluja7)! -* [#14590](http://dev.ckeditor.com/ticket/14590): Fixed: Additional line break appearing after inline elements when switching modes. Thanks to [dpidcock](https://github.com/dpidcock)! -* [#14539](https://dev.ckeditor.com/ticket/14539): Fixed: JAWS reads "selected Blank" instead of "selected " when selecting a widget. -* [#14701](http://dev.ckeditor.com/ticket/14701): Fixed: More precise labels for [Enhanced Image](http://ckeditor.com/addon/image2) and [Placeholder](http://ckeditor.com/addon/placeholder) widgets. -* [#14667](http://dev.ckeditor.com/ticket/14667): [IE] Fixed: Removing background color from selected text removes background color from the whole paragraph. -* [#14252](http://dev.ckeditor.com/ticket/14252): [IE] Fixed: Styles drop-down list does not always reflect the current style of the text line. -* [#14275](http://dev.ckeditor.com/ticket/14275): [IE9+] Fixed: `onerror` and `onload` events are not used in browsers it could have been used when loading scripts dynamically. - -## CKEditor 4.5.9 - -Fixed Issues: - -* [#10685](http://dev.ckeditor.com/ticket/10685): Fixed: Unreadable toolbar icons after updating to the new editor version. Fixed with [6876179](https://github.com/ckeditor/ckeditor-dev/commit/6876179db4ee97e786b07b8fd72e6b4120732185) in [ckeditor-dev](https://github.com/ckeditor/ckeditor-dev) and [6c9189f4](https://github.com/ckeditor/ckeditor-presets/commit/6c9189f46392d2c126854fe8889b820b8c76d291) in [ckeditor-presets](https://github.com/ckeditor/ckeditor-presets). -* [#14573](https://dev.ckeditor.com/ticket/14573): Fixed: Missing [Widget](http://ckeditor.com/addon/widget) drag handler CSS when there are multiple editor instances. -* [#14620](https://dev.ckeditor.com/ticket/14620): Fixed: Setting both the `min-height` style for the `` element and the `height` style for the `` element breaks the [Auto Grow](http://ckeditor.com/addon/autogrow) plugin. -* [#14538](http://dev.ckeditor.com/ticket/14538): Fixed: Keyboard focus goes into an embedded `