Skip to content

chore: merge develop into master#734

Draft
RussH wants to merge 127 commits into
masterfrom
develop
Draft

chore: merge develop into master#734
RussH wants to merge 127 commits into
masterfrom
develop

Conversation

@RussH

@RussH RussH commented Mar 31, 2026

Copy link
Copy Markdown
Member

No description provided.

Kixy25 and others added 30 commits November 29, 2016 19:05
conflicts resolved using master part, so not working code now

# Conflicts:
#	js/lib.js
#	js/quickAction.js
#	lib/TemplateUtility.php
# Conflicts:
#	modules/candidates/CandidatesUI.php
amaisonneuve and others added 26 commits October 3, 2019 10:30
 "Fixed #451 there was an issue with the installer, this was an…
* Resolved issue #444 - rss is not valid
- Further analyzing the project source code for the use of getRSSDate(), it is confirmed that the call should be made statically, as CATSUtility::getAbsoluteURI() is done.
- To resolve the issue we needed to correct the function’s signature declaration in OpenCATS/lib/DateUtility.php, as such:
- Added the “static” property at the beginning of the function signature line 350, as such:
- static public function getRSSDate($unixTime = false)

* Resolve issue with missing class reference to JobOrderStatuses which is used on line 1028 of Search.php as JobOrderStatuses::getOpenStatusSQL().
minor change updates activity list for candidates to show most recent activity first. Previous behaviour shows oldest activity first.
* added table to candidate show page to display lists where candidate belongs

* sending lists to template

* added lib function to get list names and ids for given candidate id
…t was already implemented through mailto:, but this option is through OpenCATS so the email templates can be used) (#246) (#457)
… page (it was already implemented through mailto:, but this option is through OpenCATS so the email templates can be used) (#246) (#457)"

This reverts commit 0cd2295.
…#465)

* adding php version currently under active support

Adding missing closing tag

* bumping docker compose to , fixing php 7.4 decprecation warnings
* Resolved issue #444 - rss is not valid
- Further analyzing the project source code for the use of getRSSDate(), it is confirmed that the call should be made statically, as CATSUtility::getAbsoluteURI() is done.
- To resolve the issue we needed to correct the function’s signature declaration in OpenCATS/lib/DateUtility.php, as such:
- Added the “static” property at the beginning of the function signature line 350, as such:
- static public function getRSSDate($unixTime = false)

* Resolve issue with missing class reference to JobOrderStatuses which is used on line 1028 of Search.php as JobOrderStatuses::getOpenStatusSQL().

* Resolved an issue with MySQL fetch command failing due to empty record set. Safeguarding MySQL function call.

* Resolved an issue with SQL logic failing to safe keyword 'system'. Safeguarded by wrapping the keyword 'system' with backtick marks.

* Resolved issue with limited character space for site source URL that may contain long query strings.

* Updated OpenCATS version

* Resolved outdated artichow library related functional issues.

* Changed the organization's UI visible copyright statement to show OpenCAT.
* update travis.yml after yml validation - corrected syntax error

* Update Mailer.php - corrected syntax error
The LEGACY_ROOT constant is defined in config.php but this file is not included in the careers/index.php so, there's an error, resulting on a blank page showed to the user.
The inclusion of config.php in this file solves this problem
amend capitalisation to allow travis to run
Fix #356 by including the field id when replacing the placeholder code
remove the deprecated check_magic_quotes function from the codebase
@RussH RussH changed the title Develop Develop back to master Mar 31, 2026
@anonymoususer72041 anonymoususer72041 marked this pull request as draft April 3, 2026 13:11
@anonymoususer72041 anonymoususer72041 changed the title Develop back to master chore: merge develop into master May 12, 2026
@anonymoususer72041

Copy link
Copy Markdown
Contributor

I did a thorough analysis of the develop → master delta and would recommend against a full merge. Here's why:

develop has 127 commits not in master, but master has diverged significantly with 164 commits of its own. The merge-base shows that most of develop's changes were already incorporated into master via earlier merges (#493, #527).

I rebased the 127 develop commits onto upstream/master as a test. After resolving all conflicts, only 14 files remained with actual diffs — and most of them are harmful:

  • get_magic_quotes_gpc() / get_magic_quotes_runtime() — reintroduced in index.php, QueueCLI.php, lib/Attachments.php, lib/InstallationTests.php, modules/import/ImportUI.php. These functions were removed in PHP 8.0 and will crash at runtime. Master already removed them intentionally.
  • config/sphinx/sphinx.conf — ended up with unresolved merge conflict markers.
  • lib/sphinx/conf/sphinx.conf — contains hardcoded database credentials.
  • config.php — duplicate commented-out encoding block.

Out of 683 changed files, only 2 genuinely valuable fixes are missing from master:

  • lib/Mailer.php:208 — unescaped double quote in an HTML href attribute (http://www.opencats.org" should be http://www.opencats.org\")
  • js/lib.js — missing var DATA_ITEM_DUPLICATE = 900; (the PHP-side constant already exists in constants.php, but the JS counterpart is absent)

Suggestion: Instead of merging develop, cherry-pick or manually apply just these two one-line fixes. Then consider retiring the develop branch by resetting it to master to avoid future confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.