Repository navigation
Releases
Version 5.0.0
Release Date: 23 November 2026
Note: v5.0.0 is the first major release since v4.0.2 (March 2026). Its primary goals were a new Bootstrap 5.3 interface, the removal of long-deprecated code and features, and a broad sweep of security, permission and data-integrity fixes. It replaces the three release candidates (rc1, rc2 and rc3), which are now deprecated, and includes all of their changes plus the fixes made since rc3.
Changes that affect upgrades or Add On modules:
- PHP 8.3 is the minimum. The installer checks the PHP extensions web2project needs:
ctype,filter,gd,json,mysqliandsessionare required.- Run
composer install --no-devafter upgrading: Carbon moves to 3.x andircmaxell/password-compatis removed.- Apply System Updates runs migrations 063–078. They stop at the first failed statement and report it in full. Migration 074 drops the contact update-request columns, 075 replaces apostrophes saved as
', and 078 resets project colours that aren't six-digit hex codes. Migration 077 makes login names unique: where two users share one, the newer accounts are renamed to<name>-<user id>and each rename is recorded in History.- Bootstrap 5.3 is the only theme. The w2p-snowball and wps-redmond themes and theme selection are gone.
- Removed: the 66 functions in
includes/deprecated_functions.phpand the 37 deprecated class aliases (CAppUI,CDate,DBQueryand others), PDF output, file check-in/check-out, file versions and file e-mail notifications, and the contact self-update request. Add On modules that still use any of these will stop with errors.index.phponly loads a module's pages and runs itsdosqlanddo_*handlers when the module is active and the user can access it, and every request that changes data must carry the__nonceform token.- Files, links and forums can only be added to, or moved into, a project and task the user can see, and a file is only downloaded by a user who can see its project and task. Add On modules that save
CFile,CLinkorCForumobjects get the same checks. A link's owner is always the user who created it. After upgrading, look for file records whose stored name holds a path (the query is in GHSA-pw38-j7w8-hvpc); from 5.0.0 on they can be deleted safely.- A task's Access setting (Protected, Participant, Private) applies everywhere: a task hidden from a user is left out of every list, and its page, task logs, files, links and every action that changes it are refused. In other tasks' Task Parent and Dependencies pickers it shows as "Private Task". Add On modules that list or change tasks can apply the same rule with
CTask::getAccessSQL()andCTask::canAccessStored().- Translation files are read as data instead of being run with
eval().- See Upgrading to v5.0 and Updating Add On Modules for v5.0 before you upgrade.
Full release notes: https://docs.web2project.net/release-notes/5.0.0.html
Reporting problems: please open an issue at https://github.com/web2project/web2project/issues.
New Features
- New Bootstrap 5.3 interface
- Bootstrap 5.3.8 is bundled with the application, so no CDN is needed
- NiceAdmin-style header, sidebar, colours and typography, using the bundled Nunito Sans and Poppins fonts and Bootstrap Icons
- New sign-in, sign-up and lost-password pages
- Layout tables replaced with Bootstrap markup in every module, the shared templates and the installer
- A print stylesheet, so pages print cleanly from the browser in place of the old PDF export (#393)
- The date picker is restyled to match, and its button is a Bootstrap icon button (#567)
- Installer
- Checks each PHP extension web2project uses, marks it required or optional and says what it's for (#290, based on work by moisseev)
- Warns when
file_uploadsis off inphp.ini
- Projects
- New "Tasks (All)" tab on the project view showing active and inactive tasks together in tree order (based on work by Klaus Buecher)
- Inactive tasks now have their own row colour and an entry in the task key
- Project budgets are shown on the project view again
- Tasks
- The "show inactive tasks" link on the Tasks list now works, as a "show all tasks" / "show active tasks" toggle (based on work by Klaus Buecher)
- Resources assigned on a task's "Other resources" tab are saved again; nothing had saved them since v3.2 (based on work by Klaus Buecher)
- Files
- The Folder Explorer is back as a Folders tab (#406, #407, #408), and the Add/Edit File form has a folder field for moving files between folders (#405)
- The Files list is grouped under project headings and hides files from projects and tasks the user isn't allowed to see
- New Owner and Category filters on the Files page, next to the Project filter
- Calendars shade non-working days from
cal_working_daysand holidays - The header search box runs SmartSearch directly, and SmartSearch is hidden from the menu (migration 071)
- Public sign-up has self-hosted bot protection: a proof-of-work puzzle, a hidden-field trap and timing checks (#363)
- Lost password works again and generates unguessable passwords
- Custom fields work on users, and calendar (event) custom fields work again
- The contact page shows tabs added by Add On modules, such as Todos (#561)
- A German help page; the help window links to the docs site, GitHub Discussions and the issue tracker
Fixes/Bugs Closed
Security
- Role changes are checked per account and per role. Without System edit rights, users can't change their own roles, grant or remove the Administrator role, or change an Administrator's roles (GHSA-qqx6-f7cc-3wf2, reported by M4ru-0x03)
- Saving an account keeps the fields the form doesn't edit (user type, parent, login name, password hash and linked contact), and sign-up always creates a new, normal account (GHSA-65x8-6jcq-fc5r)
- Bulk task actions, task saves and new tasks check the task and its project (GHSA-48ww-5h48-vwx9, reported by M4ru-0x03); moving a task to another project checks permissions first (#472)
- Task logs: edit and delete rights are checked against the stored log, not the posted creator (GHSA-xcpx-p68j-gm7w)
- Forums: watches and watch e-mails only for forums the user can read (GHSA-qp43-fcwc-p3j3); a topic is only shown, replied to or posted in after a check on its own forum and project; only a message's author or an administrator can edit or delete it
- Files: the name a file is stored under on disk is set by web2project and is always a plain file name. Before, a user who could add or edit files could point a file at any file on the server, such as
includes/config.php, and download it, copy it into a normal file, or have it removed when an administrator deleted that file. Saving a file now keeps the fields the form doesn't edit (GHSA-pw38-j7w8-hvpc, reported by M4ru-0x03) - Files, links and forums can only be added to, or moved into, a project and task the user can see (GHSA-5748-w3cw-m24j, reported by M4ru-0x03)
- Files and links opened by id check their project and task, so
fileviewer.phpno longer serves files from projects or tasks the user is denied (GHSA-g2p5-mjxx-34ff) - Tasks: a task's Access setting (Protected, Participant, Private) is enforced on its page, in every list (project Tasks tabs, Project Designer, Files, Links, search and dependency lists), on its files and links, and in every action that changes it. Before, any user who could see the project could read a hidden task with its task logs and files, and change it or log time on it (GHSA-74vh-gm29-hr27)
- SQL injection: search terms are quoted in every LIKE clause, so
%and_now match literally (GHSA-98hj-h8rw-w56m, reported by Yescrypt; GHSA-mj5m-6227-52vv, reported by p-w); also fixed in preferences, the Users list letter filter, sort parameters, SmartSearch, the public sign-up e-mail check, the contacts duplicate check (#402) and bound strin...
Version 5.0.0 RC 3
Note: This release closes the v5.0 milestone: permission checks on dosql/
do_*handlers, task moves and task logs, unguessable calendar feed tokens, English fallback for missing language packs, and upgrades that work on MySQL 8's default strict mode (including dotProject conversions). Changes that affect upgrades or Add On modules:
- Migrations 072, 073 and 074 run on upgrade. 074 drops
contacts.contact_updatekeyandcontact_updateasked.- Upgrades now stop at the first failed statement and report it in full; the failed migration is not recorded, so a fixed database can simply be re-run.
- index.php runs a
dosqlora=do_*handler only when its module is active and the user can access it. Add On handlers that relied on being reachable without module access will be refused (own preferences, own user record and own feed token stay self-service).- Existing calendar feed tokens keep working until regenerated, but a feed stops as soon as its user can no longer log in.
- The contact self-update feature (updatecontact.php / do_updatecontact.php) is removed; nothing had sent update requests since 2014.
- Carbon moves to 3.x and ircmaxell/password-compat is removed: run
composer installafter pulling.w2p_Exception_FileSystemis noww2p_Exceptions_FileSystem.CAppUI::readFiles(),checkFileName()andloadCalendarJS()stay until v6.0, with deprecation notices naming their replacements.
Reporting problems: please open an issue at https://github.com/web2project/web2project/issues.
Fixes/Bugs Closed
Security
- Compare legacy MD5 passwords with
hash_equals()(Fixes #474) (18fe643) - Calendar feeds: random tokens, and no feed for users who can't log in (Fixes #436) (5ad84c8); only the user or a Users editor can see or replace a feed URL (57bdd85)
- index.php refuses
dosqlanddo_*requests for modules the user can't access (Fixes #463) (2840032), and refuses unknown or malformed handlers instead of failing (e282c8c) CAppUI::isActiveModule()loads the module list once per request instead of interpolating the name into SQL (Fixes #457) (640481c)- Tasks: check permissions before moving a task to another project (Fixes #472) (27fcce2)
- Inactive tasks tab filters by project and task permissions in SQL (Fixes #476) (9a58630)
- Task logs: edit and delete rights are checked against the stored log, not the posted creator (95d03f1)
- Files: stop including the HelpDesk add-on's config.php (Fixes #466) (67a71cf)
- Translation save requires the form token and a POST (2197868)
- History: other users' logins and logouts only for Users viewers (55224ea); forum-message entries checked against the message's forum (30b5e6c)
- Projects: qualify
project_idin the permission filter (d295afa)
Authentication and sessions
- LDAP: fail the login when the local user can't be created (Fixes #440) (1b37646)
- Sessions:
session_useris set on insert, and the cron only removes stale anonymous sessions (Fixes #445) (5591b79) CUser::getIdByContactId()reads the user id from the list's key (Fixes #441) (bc8eb65)- Signup compares the e-mail address as it will be stored, so
jane_doe@andjanedoe@no longer collide (c57f2f8)
Upgrades and migrations
- Stop at the first failed statement and report the migration, statement, MySQL error, versions and next steps (55b6431)
- MySQL 8 strict mode: migrations before 056 and dotProject conversions run without the strict date modes (e8b84b5, d6b8599); fixes to 002, 004, 046, 056, 059, 070 and 071 (04e62da, 3aeaa7c, 6834d6e, 74bcbfc, b3e6b09, 70cf04e) (Fixes #532)
- dotProject conversions: add the 001 columns and
sessions.session_userdotProject lacks (89ebc30, 6c678fb); 006, 012, 060 and 072 skip optional tables that don't exist (e91fb25, ea2e619, e09e2ec, bc182d6); 022/023/025/031 leave missing dates empty (567d178) - Migration 072 backfills
history_project; 073 fillstask_log_project; 074 drops the contact update-request columns
Dates, calendars and reports
w2p_Utilities_Date::format()parses%-codes and copies other text (Fixes #519) (5d56a2a)getBeginWeek()/getEndWeek()return the ISO week of the date (Fixes #520) (ad5fed9)subtractSeconds(),getPrevDay()andgetNextDay()work (e4af64a);addDays()moves by calendar days across DST (ddfab40)isWorkingDay()ignores the Holiday add-on when its files are missing (Fixes #452) (4ef0e61)- "Non-working day" translated in all locales (Fixes #454) (4bcdbea)
- Calendar feed lists events and tasks again (b40039e) and starts its hook buffer empty (65a953e)
- Events:
getRecurrentEventforPeriod()is static, so recurring events no longer crash the day view and Events tabs (Fixes #530) (4b4ff99, 0ad29d2) - Allocated User Hours lists the users and counts them (Fixes #524) (f6266d0); weekly totals fixed (89eaf6e); no static
Date_Calc::weekOfYear()call (6a762862)
History, tasks, projects and custom fields
- History list filters by permission and paginates in SQL (Fixes #477) (d92afe7)
- History records each entry's project and lists it on the project tab (Fixes #525) (5abf4e4, 4fb818a)
- Task logs fill
task_log_projectand follow their task between projects (412a7f8); deleting a task's last log sets progress to 0 (5a3d4f3); no undefined$extraread (5765a0c) - Custom fields are only saved when a store() was given them (Fixes #473, Fixes #527) (b986886)
- Tasks: save an edited task once (7986d41); dynamic parents' percent complete updates again (24f1d76)
- Projects: no nested saves for the budget total or a new project's parent columns (3b1b3f6, 3e0bf2c)
Mail and forums
- Mail: Q-encode headers without
preg_replace()'s removed/emodifier, so accented subjects aren't blank (Fixes #523) (5aa85b5); read receipts and the Organization header fixed (7490775) - Forum BBCode renders on PHP 8 (Fixes #531) (0224b12)
Language packs (Closes #495)
- Fall back to English when the user's or host language isn't installed (Fixes #501) (33747d6)
- locales/core.php checks that common.inc exists (Fixes #502) (a41a9c6)
- Installed languages are read once per request, not once per session (Fixes #503) (a5cc2d3)
- English locale declares utf-8 (Fixes #504) (e0a9c08)
Misc Changes/Improvements
- Remove the contact self-update request: updatecontact.php, do_updatecontact.php, the "Awaiting Update" UI and its locale strings (155c699, b082347; earlier c5f5a1d made its key random)
- Remove ircmaxell/password-compat (Fixes #479) (ad73636); move nesbot/carbon to 3.x (ff8261c); tidy composer.json (42a4738)
- Rename
w2p_Exception_FileSystemtow2p_Exceptions_FileSystem(Fixes #467) (f3ce86b); the autoloader skips names with no file (Fixes #468) (0c8ac5e) - Keep
readFiles(),checkFileName()andloadCalendarJS()until v6.0 (Fixes #465) (d962bda) - Move the stray unit_tests/src/Web2project tests under unit_tests/classes/w2p (Fixes #469) (ba4fda8)
- Add a PHPStan level 10 config (b6ed3b0) and fix what it found:
w2PformSafe()on objects (b1d60d8), ResourcestypeSelect()(c62e107),Query::loadList()on failure (ec6b847), unchecked file reads (7ac639b),preg_split()failure (b72563d), fileviewer.php (ff63623, 26768f4), arguments functions never accept (7940467) - Remove the Scrutinizer config (2da1fe3)
85 commits, 130 files changed, 3,211 insertions(+), 1,143 deletions(-). One change under lib/ (the HTML_BBCodeParser constructor, #531); none under vendor/.
Open/Known Issues
- The add-on upgrade guide doesn't yet cover the
__noncetoken, the #463 module check or the #473 custom-field rule (moved from #464 to web2project/manual#4 and web2project/web2project.github.io#9) - #533 Forum message bodies and titles are output without escaping (low: safe today only because
bind()encodes on save) - #535 / #536 Converted dotProject sites lack some module rows and keep dotProject column types
- #392 The PDF libraries and fonts are still in lib/ (v6.0)
- The unit test suite runs XXX tests with XXX errors and XXX failures at ff8261c.
- (Last run: 541 tests at 89eaf6e, no new failures; re-run before merging.)
Version 5.0.0 RC 2
Reporting problems: please open an issue at https://github.com/web2project/web2project/issues.
New Features
- Files: the Folder Explorer is back as a Folders tab (Fixes #406, Fixes #407, Fixes #408) (001c3b1)
- Files: a folder field on the Add/Edit File form, so files can be moved between folders (Fixes #405) (d43260d)
- Signup: self-hosted bot protection, and signup stops after the duplicate checks (Fixes #363) (f274493)
- Print stylesheet: pages print cleanly from the browser, replacing the PDF export (Fixes #393) (e596fb7)
- Calendars shade non-working days from
cal_working_daysand holidays (673c5f5); the Bootstrap theme marks them distinctly from task days (5fa0287) - The header search box runs SmartSearch directly, and SmartSearch is hidden from the menu (170b026, migration 071)
- Lost password works again and generates unguessable passwords (c28135b)
Fixes/Bugs Closed
Security
- Check a form token on every request that changes data (CSRF) (db12d4e)
- Logout, ending sessions and module admin links need the form token (Fixes #400) (08a9e8c, 5e529ee)
- Stop putting the session id in redirect URLs (e445eef)
- Regenerate the session id when a user logs in (3d68dea)
- Set Secure, HttpOnly and SameSite on the session cookie (c8b0190)
- Only link to http(s), ftp and mailto URLs, and escape them: stored XSS through URL fields (Fixes #401) (f7657af)
- Contacts: quote the e-mail address in the duplicate check: SQL injection (Fixes #402) (89e8ee1)
- SmartSearch: quote search terms in the SQL: SQL injection (26ebaf4)
- SmartSearch: escape the keywords echoed back into the search form: XSS (5c51baa)
- SmartSearch: escape record values in the results list: stored XSS (d5e0b1e)
w2PgetParam(): drop the filter that never matched; fix callers that relied on it (Fixes #403) (e1c1cbf)
Gantt
- Draw all text in DejaVu Sans so non-Latin-1 names render (52fbd63); fit header rows to the chart width and draw CJK text (5c3887d); draw mixed-script labels in runs and keep right-edge captions in (5a5edd9)
- Draw the Today line in the middle of today (e3ff3bb)
- Dependency arrows on every chart; fit the task table to narrow charts (14e19fc)
- Qualify
task_idin the task permission filter (91268e3) - Project Gantt tab and Project Designer show every task, not just the viewer's (d5c32a1, a6dede1)
- Sub-projects gantt: fix the PHP 8 fatal and show tasks again (2537df5); indent milestones (f6e34da); show each task's own progress (ab05965)
- Project Designer: no
getStyle('td_sample')error on load (Fixes #431) (21e646a)
Calendars, events and dates
- Calendars mark today again (20b8aa9)
- Week view shows the week the tasks and events are loaded for (3c77a72)
- Minicals draw days of the previous/next month as plain empty days (aee9d6f)
- Task dates: stop double-encoding the working-day names (c657215)
Date::format(): pad%Ito two digits (Fixes #426) (7bf5328)
Files and folders
- No folder can be moved into itself; fix the folder edit page (Fixes #409, Fixes #410) (96864c2)
- A duplicated file keeps its project and folder (Fixes #411) (e5b662e)
- Folder delete asks once and deletes through the Files module (Fixes #432) (83c993b)
Mail, contacts, forums and system
- Mail: send queued mail instead of queueing it again; fix Cc/Bcc (Fixes #424, Fixes #425) (3c6ebcf)
- Contacts cron: fill in missing display names without
load()/store(), so queuescanner.php no longer crashes (Fixes #399) (eef4507) - Contacts list and contact view show free-text countries without a warning (Fixes #430) (9e80118, 32bd7a1)
- Forum reply form: define
$df/$tfand show the message being replied to (Fixes #429) (e6e2d70) - Forums keep the forum's message count when a message is posted (e91616f)
- New custom field form initialises its field values (Fixes #428) (36f59c6)
- System Lookup Keys: adding, editing and deleting keys works again (4d04ea4)
- Permissions: no warnings when an item's module is inactive (5f4eebf)
BaseObject: an object restored from the session gets a new query (f821fcb)- Sub-projects list passes its classes as classes, not as the table id (c7b494d)
SmartSearch
- A search for
0is no longer dropped (f4fc540); empty search terms are dropped instead of matching everything (7d99b15) - Search terms are escaped properly when highlighting results (4353545)
- The accent-insensitive pattern is rebuilt with real UTF-8 (726a650)
- Array-valued keywords and module lists are ignored (f1484a7)
Misc Changes/Improvements
- Require PHP 8.3 in the installer and upgrade checks (25244e7)
- Migration 070 brings databases upgraded from 4.x in line with fresh installs (b841172)
- Table prefixes: say they are not supported instead of half-supporting them (Fixes #427) (7bb9e0b)
- Remove the dead PDF code outside lib/ (Refs #392) (1a7ddb2)
- Task gantt: remove the "task names only" mode (1b367d3) and date-range code that never took effect (d1773ef)
- Deprecate
getCriticalTasksInverted()(65f461c, 11987a9) andstrUTF8Decode()(5288772, 431fa39) - Sub-projects gantt: replace the deprecated
utf8_decode()(5dab511) - Event and task add/edit: each date and its time on one line; Recurs select, count and "times" on one line (9a89e4e, fc4be3f, 179b4ea)
- SmartSearch results wrap (fee1cc3); its form uses CSS instead of old show/hide scripts (3ae1404); the first text box is autofocused, skipping the header search (f939d21)
- Describe
$gantt_arras it is now in theshowgtask()docblock (67d90c9) - Bump to 5.0.0 rc2 (7915002)
75 commits, 145 files changed, 2,405 insertions(+), 1,174 deletions(-). No changes under lib/ or vendor/. Merges cleanly into master.
Open/Known Issues
- 27 issues remain open on the [v5.0 milestone](https://github.com/web2project/web2project/milestone/7), including these security issues:
- #463 Any logged-in user can run any module's
dosqlhandler - #472 Moving a task to another project skips every permission check
- #476 Inactive tasks tab ignores task-level permissions
- #474 Legacy MD5 password check uses a loose comparison
- #436 Calendar feed tokens are guessable and keep working after a user loses access
- #457
CAppUI::isActiveModule()interpolates the module name into SQL - #466 Files Add/Edit page still includes the HelpDesk add-on's config.php
- #463 Any logged-in user can run any module's
- #464 The add-on upgrade guide doesn't yet mention the
__nonceform token now required on dosql, AJAX anddo_*requests - #454 The new "Non-working day" calendar label has no translation outside English
- #519 / #520
w2p_Utilities_Date::format()ignores%, sogetBeginWeek()/getEndWeek()always see Sunday - #392 The PDF libraries and fonts are still in lib/
- The signup duplicate-email check strips hyphens and underscores before comparing (
do_user_aed.php), so some valid addresses collide (not yet filed) - The unit test suite runs XXX tests with XXX errors and XXX failures. (Not run yet: the suite needs a MySQL test database.)
Metrics
Measured with phploc 8.0.4 on dev-5.0.0 (7915002), excluding lib/ and vendor/, the same as the phploc target in unit_tests/build.xml.
- Lines of Code: 62,602 (9,883 of comments, 52,719 of code)
- Cyclomatic Complexity:
- Per Class: 19.09 (min: 1, max: 252)
- Per Method: 2.52 (min: 1, max: 61)
- Per Line of Code: 0.26 (per logical line)
- Interfaces: 2
- Traits: 0
- Classes: 135 (130 Concrete, 5 Abstract)
- Lines of Code/Class: 84
- Class Constants: 14
- Methods: 1,644 (50 static, 1,594 non-static)
- Public: 1,504
- Protected: 114
- Private: 26
- Lines of Code/Method: 6
- Functions: 207 (202 named, 5 anonymous)
- Constants: 67 (global)
Version 5.0.0 RC1
New Features
- New Bootstrap 5.3 interface
- Bootstrap 5.3.8 is bundled with the application, so no CDN is needed
- NiceAdmin-style header, sidebar, colours and typography, using the bundled Nunito Sans and Poppins fonts and Bootstrap Icons
- New sign-in, sign-up and lost-password pages
- Layout tables replaced with Bootstrap markup in every module, the shared templates and the installer
- Bootstrap is now the only theme, so the per-user and system-wide style settings are gone
- Projects
- New "Tasks (All)" tab on the project view showing active and inactive tasks together in tree order (based on work by Klaus Buecher)
- Inactive tasks now have their own row colour and an entry in the task key
- Project budgets are shown on the project view again
- Tasks
- The "show inactive tasks" link on the Tasks list now works, as a "show all tasks" / "show active tasks" toggle (based on work by Klaus Buecher)
- Resources assigned on a task's "Other resources" tab are saved again; nothing had saved them since v3.2 (based on work by Klaus Buecher)
- Files
- The Files list is grouped under project headings
- The Files list hides files from projects and tasks the user isn't allowed to see
- New Owner and Category filters on the Files page, next to the Project filter. The owner filter also narrows the counts on the category tabs
- Custom fields
- Custom fields work on users
- Calendar (event) custom fields work again
Fixes/Bugs Closed
- Security
- Fixed stored and reflected XSS in the selector popup. Option labels are now escaped in every dropdown built with arraySelect() and in the project dropdown
- Public sign-up cleans the e-mail address before using it in the duplicate-address lookup (SQL injection)
- Translation files are read with a parser instead of eval() (#313)
- The translation editor only writes files for installed modules and languages; before, a crafted module name could write outside locales/
- The current password is checked with password_verify() when changing it, and saving a user no longer re-hashes the stored password (#386)
- The Active Sessions tab checks the session id before it reaches SQL
- Projects the user is denied are no longer counted in the company list or the project tabs
- Data integrity
- A refused delete no longer runs its cleanup. For example, a user who owned a project used to lose their login and preferences even though the delete was refused
- Deleting a project removes its placeholder task from the parent project and its custom field values, and records the delete in the history
- Deleting a user, event, forum, message or task log removes its custom field values, and only the deleted object's own values
- Deleting a task removes its resource assignments. For a task with subtasks, the task's own assignments and dependencies are now removed too
- Contacts are no longer saved with owner -1 when no one is logged in
- Users, permissions and LDAP
- Removed duplicate permission entries so User and Calendar permissions can be granted (#385)
- Users-module editors can save other users' preferences (#385)
- Restored the "delete User" action on the user view (#385)
- Changed passwords are stored as typed and the real result is reported; the strength meter loads again (#386)
- LDAP: new users always get a contact and their password is hashed once; existing users without a contact get a placeholder (#320)
- The access log records logins again, and the logout controls show on the Active Sessions tab
- Logins are recorded as open until they end. Before, every login was stored as already ended, so logouts were never recorded and anyone who had ever logged in showed as "Online". Logging out in one browser no longer closes the user's other logins
- A session's last-activity time is updated on every request, so active users are no longer logged out when the idle limit passes after login
- Projects and tasks
- Fixed the project Task Logs tab crashing on first visit and for projects with subprojects
- Fixed the project list being empty for users without full department rights
- "Update projects status" preselects the current status and shows the result
- Fixed a task's Child Tasks tab always being empty
- Task reminders are sent again
- Tasks moved by a dependency keep their dates in UTC instead of shifting by the user's offset (fix from Klaus Buecher)
- Re-parenting a task moves its subtasks along, so dynamic task dates roll up correctly (fix from Klaus Buecher)
- Moving a task to another project recalculates the old project's dynamic tasks (fix from Klaus Buecher)
- Duplicating a file gives the copy the current user, date and its own history entry instead of the original's. The same root cause meant
CTask::copy()/deepCopy()never updated the target project's task count or gave the copies their own parent and position in the tree (reported by Klaus Buecher) - The filter checkboxes on the To Do Gantt chart work (#352)
- The project list's "LP" column shows the problem icon for projects with a task log flagged as a problem again; it always showed "-"
- Moving a task to another project updates the old project's task count, including when the move leaves it with no tasks
- Dates and time zones
w2p_Utilities_Date::convertTZ()returned the wrong time and often the wrong date (16:13 UTC became 08:13 for Indianapolis instead of 12:13, and a January date became today). This fixes the times in task reminder e-mails, the "today" marker on the Gantt charts and the month calendar, and the Tasks per User report's date range
- Pagination and lists
- Page links keep the current view and sort order
- The Files list page links stay on the current project, company or task
- The company Files tab shows that company's files
- Selecting a project on the Files page no longer turns off the category tabs, so project and category can be combined
- Resources
- Adding or editing a resource works on new installs. The installer left the Resources tables at an old module version, so saving failed with "Unknown column 'resource_description'" and there were no resource types (migration 068)
- Reports
- Fixed the Project Statistics report crashing when there are no projects
- The Project Statistics report counts unassigned tasks correctly; its "No Assignee" row never went past 1
- The Task Logs reports apply their company filter, which was never read
- Report messages and values that were computed but never output are shown
- Database and upgrades
- Works with MySQL 8's default sql_mode (ONLY_FULL_GROUP_BY is turned off for web2project's connection)
- Migration errors are reported instead of silently dropped. A fresh install now completes with none
- Fixed migrations that errored on web2project databases or failed on strict servers (012, 033, 050/051, 056)
- Migration 056 keeps the version history
- Database version is now 68 (new migrations 063–068)
- PHP 8 and the error log
- A logged-in crawl of 257 pages now produces no PHP warnings or notices (421 before the final round of fixes): list tables, reports, ProjectDesigner, the ACL view, the role list, the Task Logs tab and task saves (
array_sum()on dependency lists) - Replaced the removed
$php_errormsgandmysql_get_client_info() - Fixed the LDAP authenticator's method signature, a misspelled constant, a quoted preference name and a class/file name mismatch
- Fixed the translation editor crash on strings of 40 or more characters
- A logged-in crawl of 257 pages now produces no PHP warnings or notices (421 before the final round of fixes): list tables, reports, ProjectDesigner, the ACL view, the role list, the Task Logs tab and task saves (
Misc Changes/Improvements
- Removed
- PDF output (reports, Gantt charts and forums)
- File check-in/check-out (#376), file change e-mail notifications and the file version field
- The w2p-snowball and wps-redmond themes, and theme selection
- includes/deprecated_functions.php (66 functions) and the 37 deprecated class aliases (CAppUI, CDate, DBQuery, CTitleBlock and others). Third-party code still using them will now fail with undefined-function or undefined-class errors
- The remaining deprecated db_* helpers, replaced with w2p_Database_Connection
- Code cleanup
- PHPDoc cleaned up across all classes, modules and tests
- Removed commented-out PHP and JavaScript code and statements that could never run
- Fixed invalid HTML (duplicate and malformed attributes, unclosed elements, table/form nesting, deprecated tags) and made the directory-guard index files valid HTML5. No deprecated HTML tags (such as
<font>and<center>) remain in /modules
- Unit Tests
- The include tests now run as part of phpunit.xml and use the PHPUnit 11 API
- Removed tests for deleted deprecated methods and fixed broken assertions
- The phploc build target writes a real XML report
- Version set to 5.0.0 (Composer package 5.0)
Open/Known Issues
- The database layer - ADODB - is ancient and needs to be replaced. This is massive and touches every component.
- The date handling - PEAR Date - is ancient and needs to be updated to use Carbon.
- Names are still printed unescaped in some list tables and page titles (Companies, Projects and Tasks lists, calendar views, project and task views). This needs a central escaping pass.
- Uploaded files are stored inside the web root and protected only by an Apache 2.2-style
.htaccess(#394, [#395](h...
Version 4.0.2
This release was further cleanup on the 4.0.x line including:
Updates
- Installer work
- refactored to simplify the dependency checks
- validated the dotproject conversion paths for both the 2.0.x and 2.1.x lines
- tested the upgrade path starting from versions 18, 35, 55, and 57 of w2p database
- Database changes
- Fixed some missing fields
- Fixed some database engine inconsistencies
- Set default values for numerous fields, eliminated invalid defaults for datetimes
- UI
- Cleaned up the welcome pages
- Unit Tests, using Copilot
- Upgraded to the latest version of PHPUnit
- Updated deprecated/eliminated PHPUnit asserts
- Cleaned up all the tests and fix many errors and failures, not complete but should be ~15 in each vs 500+ tests overall
- Reworked the Search Module to allow you to selectively search modules
Biggest Open Issues:
- The database layer - ADODB - is ancient and needs to be replaced. This is massive and touches every component.
- The date handling - PEAR Date - is ancient and needs to be updated to use Carbon. There is some odd error handling in the code to assist with this transition now.
Version 4.0.1
The primary focus of this release was resolve issues from the 4.0 release. These ranged from unset variables to a handful of fatal errors.
- cleared up a ton of log warnings
- cleaned up some final PHP8 compatibility errors
- cleaning up old array notation
- cleaned up the session handling
- removed the pdf generation (for now)
- fixed the report generation
- fixed the report formatting
- updated the user delete to use the right method
version4.0
Release Date: 02 January 2025
This is a major release that cleans up a ton of issues around PHP 8.0 and Mysql 8.0 compatibility.
This one is a long time in the making. This merge includes but isn't limited to:
- PHP 8 compatibility - includes cleaning up arrays, curly braces, and a bunch of method signatures
- mysql 8 compatibility - includes removing some bad date formats (like 0000-00-00)
- removed the
/vendordirectory and let Composer handle it - updated the phing build script to use updated versions of phploc and phpstan
- added carbon to handle date/timezone processing
- removed ADODB as our needed functionality has moved into core PHP
- updated jpgraph to a more recent version
- removed the File Explorer from the Files module, likely to restore it later
- removed the file versioning from the Files module, not likely to restore it any time soon
- fixes to numerous views for tables (index), views, and similar
- cleaned up a bunch of warning cleanups
- lots of other cleanups throughout, some provided by @opto in the old 3.4 branch
Version 3.4 Release
Release Date: 31 December 2018
This is a minor release that cleans up a number of issues from v3.3 specifically related to better PHP 7.x support (up through 7.2) and Mysql 5.6 support. There are minimal functional changes otherwise.
Version 3.3 Release
Release Date: 07 October 2014
This is a minor release that cleans up a number of issues from v3.2.
Version 3.2 Release
Release Date: 17 July 2014
You can read the full details of this release here;
http://docs.web2project.net/release-notes/3.2.html