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)
- New features:
-- Fixed issues:
-- New features:
-- Fixed issues:
-- New features:
-- Fixed issues:
-- New features:
-- Fixed issues:
-- New features:
-- Fixed issues:
-- New features:
-- Fixed issues:
-- 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 [`