Skip to content

Commit 993e62f

Browse files
committed
rename 2.5.12 to 2.7.0
1 parent fbe6a5c commit 993e62f

113 files changed

Lines changed: 438 additions & 325 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
attributes:
88
label: XOOPS Version
99
description: Provide the XOOPS version that you are using.
10-
options: ['2.5.11', '2.5.12', '2.5.13']
10+
options: ['2.5.11', '2.7.0', '4.0.0']
1111
validations:
1212
required: true
1313
- type: dropdown

.github/copilot-instructions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# XoopsCore25 (2.5.x) — Copilot Instructions
1+
# XoopsCore27 (2.7.x) — Copilot Instructions
22

33
<!-- Generic XOOPS conventions: see .github/xoops-copilot-template.md for reuse in other repos -->
44

55
## About This Repository
66

7-
XoopsCore25 is the XOOPS 2.5.x CMS framework. It provides the core content management system including user management, module framework, theme engine, and database abstraction layer for building dynamic web applications.
7+
XoopsCore27 is the XOOPS 2.7.x CMS framework. It provides the core content management system including user management, module framework, theme engine, and database abstraction layer for building dynamic web applications.
88

99
## Project Layout
1010

@@ -33,7 +33,7 @@ composer install # Install dependencies
3333
vendor/bin/phpunit # Run PHPUnit tests
3434
```
3535

36-
The CI workflow dynamically creates `composer.json` in `htdocs/class/libraries/` with `xoops/base-requires25` as the base dependency package.
36+
Starting with XOOPS 2.7.0, the external `xoops/base-requires25` metapackage has been dropped; all dependencies are listed directly in `htdocs/xoops_lib/composer.dist.json`.
3737

3838
## PHP Compatibility
3939

@@ -48,7 +48,7 @@ Code must run on PHP 8.2 through 8.5. Features introduced in PHP 8.0, 8.1, and 8
4848
- Prefer `\Throwable` in catch blocks over `\Exception` to cover both exceptions and errors.
4949
- Use `trigger_error()` with `E_USER_WARNING` for non-fatal failures. Use `basename()` in error messages to avoid exposing server paths.
5050

51-
## XOOPS 2.5.x Architecture
51+
## XOOPS 2.7.x Architecture
5252

5353
- **Global-based**: Core objects via `$GLOBALS['xoopsModule']`, `$GLOBALS['xoopsConfig']`, `$GLOBALS['xoopsDB']`.
5454
- **Handler pattern**: Data access via `xoops_getHandler('user')`, `xoops_getModuleHandler('item', 'modulename')`.

.github/workflows/qodana.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
qodana:
1111
runs-on: ubuntu-22.04
12-
if: github.repository == 'XOOPS/XoopsCore25'
12+
if: github.repository == 'XOOPS/XoopsCore27'
1313
permissions:
1414
contents: read
1515
pull-requests: write

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: SonarCloud Analysis
1515
runs-on: ubuntu-22.04
1616
timeout-minutes: 15
17-
if: github.repository == 'XOOPS/XoopsCore25'
17+
if: github.repository == 'XOOPS/XoopsCore27'
1818
env:
1919
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2020

.github/xoops-copilot-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ Code must run on PHP 8.2 through 8.5. Features introduced in PHP 8.0, 8.1, and 8
6868
XOOPS has two major generations with different APIs. Code must support both:
6969

7070
- **XOOPS 2.6+**: Use `class_exists('Xoops', false)` to detect. Access via `\Xoops::getInstance()`.
71-
- **XOOPS 2.5.x**: Fall back to globals (`$GLOBALS['xoopsModule']`, `$GLOBALS['xoopsConfig']`) and helper functions (`xoops_getHandler()`, `xoops_getModuleHandler()`).
71+
- **XOOPS 2.7.x**: Fall back to globals (`$GLOBALS['xoopsModule']`, `$GLOBALS['xoopsConfig']`) and helper functions (`xoops_getHandler()`, `xoops_getModuleHandler()`).
7272
- Never assume XOOPS is present at runtime — libraries (like XMF) may be used in standalone contexts.
7373
- Use the `class_exists()` check with `false` as the second parameter to avoid triggering autoload.
74-
- For module helpers, use `Xmf\Module\Helper::getHelper($dirname)` which handles the 2.5/2.6 detection internally.
74+
- For module helpers, use `Xmf\Module\Helper::getHelper($dirname)` which handles the version detection internally.
7575

7676
## Security Practices
7777

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Contributions are **welcome** and will be fully **credited**.
99

10-
We accept contributions via Pull Requests on [GitHub](https://github.com/XOOPS/XoopsCore25).
10+
We accept contributions via Pull Requests on [GitHub](https://github.com/XOOPS/XoopsCore27).
1111

1212
## Pull Requests
1313

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
![alt XOOPS CMS](https://xoops.org/images/logoXoops4GithubRepository.png)
22
# XOOPS Core 2.7.x
33

4-
[![Build Status](https://img.shields.io/travis/XOOPS/XoopsCore/master.svg?style=flat)](https://travis-ci.org/XOOPS/XoopsCore25)
4+
[![Build Status](https://img.shields.io/travis/XOOPS/XoopsCore/master.svg?style=flat)](https://travis-ci.org/XOOPS/XoopsCore27)
55
[![Software License](https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat)](docs/license.txt)
6-
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/XOOPS/XoopsCore25.svg?style=flat)](https://scrutinizer-ci.com/g/XOOPS/XoopsCore25/code-structure)
7-
[![Quality Score](https://img.shields.io/scrutinizer/g/XOOPS/XoopsCore25.svg?style=flat)](https://scrutinizer-ci.com/g/XOOPS/XoopsCore25)
8-
[![Latest Version](https://img.shields.io/github/release/XOOPS/XoopsCore25.svg?style=flat)](https://github.com/XOOPS/XoopsCore25/releases)
6+
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/XOOPS/XoopsCore27.svg?style=flat)](https://scrutinizer-ci.com/g/XOOPS/XoopsCore27/code-structure)
7+
[![Quality Score](https://img.shields.io/scrutinizer/g/XOOPS/XoopsCore27.svg?style=flat)](https://scrutinizer-ci.com/g/XOOPS/XoopsCore27)
8+
[![Latest Version](https://img.shields.io/github/release/XOOPS/XoopsCore27.svg?style=flat)](https://github.com/XOOPS/XoopsCore27/releases)
99

1010
> **Note:** This repository contains the core code of the XOOPS Core 2.7.x. Our next generation is currently under development on [GitHub](https://github.com/XOOPS/XoopsCore).
1111
@@ -15,7 +15,7 @@ For more information on building a web site using XOOPS, visit the main [XOOPS W
1515

1616
## Awesome contributors:
1717

18-
<a href="https://github.com/xoops/XoopsCore25/graphs/contributors"><img src="https://opencollective.com/XoopsCore/contributors.svg?width=890" /></a>
18+
<a href="https://github.com/xoops/XoopsCore27/graphs/contributors"><img src="https://opencollective.com/XoopsCore/contributors.svg?width=890" /></a>
1919

2020
## Contributing
2121

docs/README.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
XOOPS 2.5.12 Final
1+
XOOPS 2.7.0 RC1
22

3-
The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.12 Final. This version
4-
includes Smarty 4, fixes and enhancements, security updates, PHP 8.4 support, and improved MySQL 8.0 compatibility.
3+
The XOOPS Development Team is pleased to announce the release of XOOPS 2.7.0 RC1. This version
4+
includes Smarty 4, fixes and enhancements, security updates, PHP 8.4 support, and improved MySQL 9.0 compatibility.
55

6-
Download XOOPS 2.5.12 from GitHub: https://github.com/XOOPS/XoopsCore25/releases
6+
Download XOOPS 2.7.0 from GitHub: https://github.com/XOOPS/XoopsCore27/releases
77

88
For full documentation on installing or upgrading XOOPS please see:
99
https://xoops.gitbook.io/xoops-install-upgrade/
1010

1111
How to contribute
1212
-----------------------------------
13-
Bug reports and feature requests: https://github.com/XOOPS/XoopsCore25/issues
14-
Patch and enhancement: https://github.com/XOOPS/XoopsCore25/blob/master/CONTRIBUTING.md
13+
Bug reports and feature requests: https://github.com/XOOPS/XoopsCore27/issues
14+
Patch and enhancement: https://github.com/XOOPS/XoopsCore27/blob/master/CONTRIBUTING.md
1515
Documentation: https://xoops.gitbook.io/xoops-documentation-process
1616
Support Forums: https://xoops.org/modules/newbb/
1717

1818
XOOPS Development Team
19-
May 2025
19+
April 2026

docs/changelog.250.txt

Lines changed: 0 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,5 @@
11
XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt)
22

3-
===================================
4-
2.5.12 RC1 NOT RELEASED
5-
===================================
6-
- add _AM_SYSTEM_USERS_UNKNOWN_GROUP
7-
- add groups to member list view (Ggoffy) in # 1577
8-
- fix for XOOPS_COOKIE_DOMAIN (mamba) in #1578 (see: https://xoops.org/modules/newbb/viewtopic.php?topic_id=79632&post_id=367525#forumpost367525)
9-
- Improve Validating $_SERVER['HTTP_HOST'] (mamba) in #1578
10-
- Update htdocs/include/xoopssetcookie.php (mamba) in #1578
11-
- refactor RegDom 2.0.2 Beta 2 (mamba) in #1578
12-
- add RTL support to (mamba, عبدالعزيز الجهني)
13-
- add Font Awesome 7.1.0 (mamba)
14-
- update XMF by @mambax7
15-
- raise minimum PHP version to 8.2 by @mambax7
16-
- update CI matrix to PHP 8.2/8.3/8.4/8.5, PHPUnit 11
17-
- update SonarCloud and Qodana analysis configs to PHP 8.2
18-
- update installer PHP version check to 8.2.0
19-
- consolidate session handlers into single session.php (remove session74.php)
20-
- remove dead PHP < 7.3 and < 8.0 code branches
21-
- drop external xoops/base-requires25 metapackage; all libraries are now listed directly in composer.dist.json (mamba)
22-
23-
===================================
24-
2.5.12 Beta8 2025-09-11
25-
===================================
26-
- language fixes by @mambax7 in #1550
27-
- copyright update by @mambax7 in #1551
28-
- fix Admin help toggle by @mambax7 in #1553
29-
- fix for Admin users search by @mambax7 in #1554
30-
- Bootstrap 5.3.7 by @mambax7 in #1557
31-
- Feature/updates by @mambax7 in #1555
32-
- Fix Deprecated addSlashes by @GregMage in #1566
33-
- Fix: #1564 by @GregMage in #1565
34-
- Hide empty userinfo value by @GregMage in #1568
35-
- User Search Issue #1559 by @mambax7 in #1560
36-
- add abstract methods for error(), errorno(), query() to XoopsDatabase by @mambax7 in #1571
37-
- cosmetics by @mambax7 in #1570
38-
- Criteria cleanup by @mambax7 in #1572
39-
- cleanup mailer by @mambax7 in #1574
40-
- update XMF by @mambax7 in #1573
41-
42-
===================================
43-
2.5.12 Beta7 2025-04-27
44-
===================================
45-
- Bootstrap 5.3.4
46-
- New feature: menu icons for modules
47-
- Adding "id" to sublinks for custom menu icons
48-
- Updating minimum requirements
49-
- TinyMCE 5.10.9
50-
51-
===================================
52-
2.5.12 Beta6 2025-04-03
53-
===================================
54-
- fix for PathController
55-
56-
57-
===================================
58-
2.5.12 Beta5 2025-03-31
59-
===================================
60-
- New path for composer files in install file by @koreus in #1504
61-
- fix in xbootstrap5 is system_siteclosed.tpl by @mambax7 in #1506
62-
- Fix tag.tpl always loading in modules/news by @koreus in #1510
63-
- Subforum not expanding by @koreus in #1513
64-
- Fix problem with admin save preference by @koreus in #1511
65-
- fix for #1515 by @mambax7 in #1516
66-
- adding Font Awesome 6.7.2 by @mambax7 in #1505
67-
- Update main.php by @CHCCD in #1517
68-
- http is default by @koreus in #1520
69-
- fix for #1519 by @mambax7 in #1521
70-
- template cosmetics by @mambax7 in #1522
71-
- composer updates by @mambax7 in #1523
72-
- version updates by @mambax7 in #1524
73-
- fix for new bug from PR#1511 by @mambax7 in #1525
74-
- fix for waiting block deprecated messages by @mambax7 in #1527
75-
- updated install, Bootstrap 5.3.3 by @mambax7 in #1531
76-
- updates for Font Awesome 6 by @mambax7 in #1529
77-
- remove flash by @mambax7 in #1526
78-
- extracting module CSS by @mambax7 in #1532
79-
80-
New Contributors: @CHCCD, @koreus
81-
82-
===================================
83-
2.5.12 Beta4 2025-01-21
84-
===================================
85-
- added in Admin Composer packages info (mamba)
86-
- updates for PHP 8.4 (mamba)
87-
- fix for /issue #1464 (GregMage)
88-
- fix for XOOPS reading blocks from deactivated modules #1335 (mamba)
89-
- moved all Composer packages to /xoops_lib/ (mamba)
90-
- moved PhpMailer and HTML Purifier to /xoops_lib/ (mamba)
91-
92-
Updated libraries and assets:
93-
- Smarty 4.5.5 (mamba)
94-
- HTML Purifier to 4.18 (mamba)
95-
- jQuery UI 1.14.1 (mamba)
96-
- jGrowl 1.4.10 (mamba)
97-
- tablesorter 2.32.0 (mamba)
98-
- jquery.form 4.3.1 (mamba)
99-
- PhpMailer to 6.9.3 (mamba)
100-
101-
===================================
102-
2.5.12 Beta3 2024/12/05
103-
===================================
104-
- fixing bug with button cancel by @ggoffy in #1481
105-
- fixed bug in search tpl by @ggoffy in #1482
106-
- improvements by @mambax7 in #1477
107-
- XMF 1.2.31 by @mambax7 in #1485
108-
- Kint by @mambax7 in #1486
109-
- replace trigger_error with \Exception by @mambax7 in #1487
110-
- change samesite to Lax by @mambax7 in #1488
111-
- Various changes by @mambax7 in #1489
112-
113-
Updated libraries and assets:
114-
- Smarty 4.5.4 by @mambax7 in #1475
115-
116-
===================================
117-
2.5.12 Beta1 2024/07/28
118-
===================================
119-
- Update to Smarty v4.5.3 (mamba)
120-
- added in Admin Composer packages info (mamba)
121-
- updates for PHP 8.4 (mamba)
122-
123-
Updated libraries and assets:
124-
- HTML Purifier to 4.17 (mamba)
125-
1263
===================================
1274
2.5.11 Final 2023/12/24
1285
===================================

0 commit comments

Comments
 (0)