stable

Clone or download

Read-only

Escape groups as an identifier

"groups" is a reserved keyword in MySQL 8.0, we need to escape it [0]. Part of request #22660: Run Tuleap with MySQL 8.0 [0] https://dev.mysql.com/doc/refman/8.0/en/keywords.html#keywords-8-0-detailed-G Change-Id: Icbc02b0b5bbeba0e18a0870ae8c35c38b22b1789

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Artifact/PlannedArtifactDao.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/BacklogItemDao.class.php +5 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/MonoMilestone/MonoMilestoneBacklogItemDao.php +1 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/CrossTrackerArtifactReportDao.php +2 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/CrossTrackerExpertQueryReportDao.php +2 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/SimilarField/SupportedFieldsDao.php +2 −2 Go to diff View file
M plugins/docman/db/upgrade_v2_001.pl +1 −1 Go to diff View file
M plugins/docman/include/ApprovalTable/Reviewer/ReviewerDao.class.php +4 −4 Go to diff View file
M plugins/docman/include/SystemCheckDao.php +4 −4 Go to diff View file
M plugins/git/db/mysql/updates/2014/201401271106_grant_git_admin_rigths_project_admins.php +1 −1 Go to diff View file
M plugins/git/db/mysql/updates/2015/201504241113_update_private_projects.php +3 −3 Go to diff View file
M plugins/git/db/mysql/updates/2021/202105061544_add_git_tag_reference.php +1 −1 Go to diff View file
M plugins/git/include/Git/Mirror/MirrorDao.class.php +4 −4 Go to diff View file
M plugins/git/include/Git/Mirror/RestrictedMirrorDao.class.php +1 −1 Go to diff View file
M plugins/git/include/Git/PermissionsDao.php +4 −4 Go to diff View file
M plugins/git/include/Git/RemoteServer/Gerrit/Permission/ServerPermissionDao.php +7 −7 Go to diff View file
M plugins/git/include/Git/RestrictedGerritServerDao.php +1 −1 Go to diff View file
M plugins/git/include/GitDao.class.php +2 −2 Go to diff View file
M plugins/git/include/Git_LogDao.class.php +2 −2 Go to diff View file
M plugins/hudson/include/PluginHudsonJobDao.class.php +1 −1 Go to diff View file
M plugins/ldap/bin/convertSvnToLdap.php +1 −1 Go to diff View file
M plugins/ldap/include/LDAP_ProjectDao.class.php +1 −1 Go to diff View file
M plugins/ldap/include/LDAP_ProjectGroupDao.class.php +2 −2 Go to diff View file
M plugins/ldap/include/LDAP_UserDao.class.php +1 −1 Go to diff View file
M plugins/ldap/include/LDAP_UserGroupDao.class.php +2 −2 Go to diff View file
M plugins/mediawiki/bin/identify_lost_databases.php +1 −1 Go to diff View file
M plugins/mediawiki/db/mysql/updates/2014/201402141002_seed_mapping_table.php +8 −8 Go to diff View file
M plugins/mediawiki/db/mysql/updates/2014/201407041004_add_and_fill_database_table.php +4 −4 Go to diff View file
M plugins/mediawiki/db/mysql/updates/2014/201407231643_fill_database_table_with_dash_named_projects.php +3 −3 Go to diff View file
M plugins/mediawiki/include/Maintenance/CleanUnusedDao.php +7 −7 Go to diff View file
M plugins/mediawiki/include/MediawikiSiteAdminResourceRestrictorDao.php +3 −3 Go to diff View file
M plugins/mediawiki/include/MediawikiVersionDao.php +4 −4 Go to diff View file
M plugins/mediawiki/include/Migration/MoveToCentralDbDao.php +6 −6 Go to diff View file
M plugins/proftpd/db/install.sql +5 −5 Go to diff View file
M plugins/proftpd/db/mysql/updates/2014/201401221648_ftpgroups_view_concat.php +5 −5 Go to diff View file
M plugins/proftpd/include/ProFTPd/Xferlog/Dao.class.php +2 −2 Go to diff View file
M plugins/projectlinks/include/ProjectLinksDao.class.php +7 −7 Go to diff View file
M plugins/projectlinks/include/projectlinksPlugin.php +4 −4 Go to diff View file
M plugins/prometheus_metrics/include/MetricsCollectorDao.php +1 −1 Go to diff View file
M plugins/pullrequest/db/mysql/updates/2016/201608091537_add_system_references.php +2 −2 Go to diff View file
M plugins/roadmap/include/Roadmap/NatureForRoadmapDao.php +1 −1 Go to diff View file
M plugins/statistics/include/Statistics_DiskUsageDao.class.php +5 −5 Go to diff View file
M plugins/statistics/include/Statistics_ScmCvsDao.class.php +2 −2 Go to diff View file
M plugins/statistics/include/Statistics_ScmSvnDao.class.php +2 −2 Go to diff View file
M plugins/statistics/include/Statistics_ServicesUsageDao.class.php +10 −10 Go to diff View file
M plugins/statistics/www/usage_stat.php +1 −1 Go to diff View file
M plugins/svn/include/SVN/Dao.php +10 −10 Go to diff View file
M plugins/svn/include/SVN/Logs/DBWriterCoreDao.php +1 −1 Go to diff View file
M plugins/svn/include/SVN/Logs/DBWriterPluginDao.php +1 −1 Go to diff View file
M plugins/svn/include/SVN/Logs/QueryBuilder.php +6 −6 Go to diff View file
M plugins/svn/include/SVN/Statistic/SCMUsageDao.php +5 −5 Go to diff View file
M plugins/svn/include/SVN/Statistic/ServiceUsageDao.php +1 −1 Go to diff View file
M plugins/timetracking/include/Timetracking/Admin/AdminDao.php +5 −5 Go to diff View file
M plugins/timetracking/include/Timetracking/Time/TimeDao.php +1 −1 Go to diff View file
M plugins/tracker/db/mysql/updates/2017/201710171318_add_artifact_link_usage_table.php +3 −3 Go to diff View file
M plugins/tracker/db/mysql/updates/2018/201806051554_restore_missing_art_artifact_references.php +12 −12 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_ArtifactDao.class.php +9 −9 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkFieldValueDao.php +8 −8 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureDao.php +10 −10 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/dao/ProjectDao.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/dao/TrackerDao.class.php +2 −2 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetDao.php +1 −1 Go to diff View file
M src/common/FRS/FRSPermissionDao.php +4 −4 Go to diff View file
M src/common/News/Admin/AdminNewsDao.php +3 −3 Go to diff View file
M src/common/News/NewsDao.php +6 −6 Go to diff View file
M src/common/Project/Admin/ProjectDetails/ProjectDetailsDAO.php +2 −2 Go to diff View file
M src/common/Project/Group.class.php +2 −2 Go to diff View file
M src/common/Project/Project.class.php +1 −1 Go to diff View file
M src/common/Project/ProjectCreator.class.php +9 −9 Go to diff View file
M src/common/Project/Service/ServiceCreator.php +1 −1 Go to diff View file
M src/common/Reference/ReferenceManager.php +1 −1 Go to diff View file
M src/common/Widget/MyProjects.php +13 −13 Go to diff View file
M src/common/Widget/Widget_MyAdmin.class.php +1 −1 Go to diff View file
M src/common/Widget/Widget_MyMonitoredForums.class.php +8 −8 Go to diff View file
M src/common/Widget/Widget_MyMonitoredFp.class.php +7 −7 Go to diff View file
M src/common/admin/ProjectEdit/ProjectEditDao.php +1 −1 Go to diff View file
M src/common/dao/ProjectDao.class.php +49 −56 Go to diff View file
M src/common/dao/ProjectHierarchyDao.class.php +6 −6 Go to diff View file
M src/common/dao/RestrictedPluginDao.class.php +1 −1 Go to diff View file
M src/common/dao/ServiceDao.class.php +2 −2 Go to diff View file
M src/common/dao/UGroupDao.class.php +3 −3 Go to diff View file
M src/common/dao/UGroupUserDao.class.php +2 −2 Go to diff View file
M src/common/dao/UserDao.class.php +4 −4 Go to diff View file
M src/common/dao/UserGroupDao.class.php +2 −2 Go to diff View file
M src/common/include/GroupFactory.class.php +2 −2 Go to diff View file
M src/common/include/TemplateSingleton.class.php +1 −1 Go to diff View file
M src/common/svn/SVN_AccessFile_DAO.class.php +2 −2 Go to diff View file
M src/common/svn/SVN_DAO.class.php +3 −3 Go to diff View file
M src/common/trove/TroveCatDao.php +4 −4 Go to diff View file
M src/core/RSS/Project/LatestProjectDao.php +1 −1 Go to diff View file
M src/db/mysql/legacy_dashboards.sql +4 −4 Go to diff View file
M src/db/mysql/updates/2012/201203140933_add_notif_svn_per_branch.php +2 −2 Go to diff View file
M src/db/mysql/updates/2014/201405051118_add_svn_accessfile_history_table_with_first_version.php +1 −1 Go to diff View file
M src/db/mysql/updates/2014/201405051133_modify_groups_table_to_use_svn_accessfile_history_id.php +4 −4 Go to diff View file
M src/db/mysql/updates/2015/201504081720_allow_restricted_project_access.php +4 −4 Go to diff View file
M src/db/mysql/updates/2015/201508171048_add_svn_immutable_tags_table.php +8 −8 Go to diff View file
M src/db/mysql/updates/2016/201607281200_migrate_existing_permissions.php +4 −4 Go to diff View file
M src/db/mysql/updates/2016/201608041530_migrate_existing_read_permissions.php +3 −3 Go to diff View file
M src/db/mysql/updates/2017/201701231415_update_public_forum_in_private_projects.php +1 −1 Go to diff View file
M src/db/mysql/updates/2018/201810171300_migrate_projects_with_invalid_statuses_to_suspended.php +1 −1 Go to diff View file
M src/etc/libnss-mysql.cfg.dist +3 −3 Go to diff View file
M src/utils/download/stats_agr_filerelease.pl +1 −1 Go to diff View file
M src/utils/group.pl +1 −1 Go to diff View file
M src/utils/group.py +1 −1 Go to diff View file
M src/utils/ldap.pl +1 −1 Go to diff View file
M src/utils/projects-fileserver/stats_projects_logparse.pl +1 −1 Go to diff View file
M src/utils/svn/Tuleap.pm +5 −5 Go to diff View file
M src/utils/svn/svnaccess.py +1 −1 Go to diff View file
M src/utils/underworld-root/db_stats_cvs_history.pl +1 −1 Go to diff View file
M src/utils/underworld-root/db_stats_projects_nightly.pl +1 −1 Go to diff View file
M src/utils/underworld-root/db_top_groups_calc.pl +1 −1 Go to diff View file
M src/www/cvs/admin_commit.php +1 −1 Go to diff View file
M src/www/cvs/commit_utils.php +4 −4 Go to diff View file
M src/www/cvs/cvs_intro.php +1 −1 Go to diff View file
M src/www/cvs/index.php +2 −2 Go to diff View file
M src/www/include/utils.php +2 −2 Go to diff View file
M src/www/news/news_utils.php +5 −5 Go to diff View file
M src/www/softwaremap/trove_list.php +27 −27 Go to diff View file
M src/www/svn/svn_data.php +1 −1 Go to diff View file
M tests/psalm/tuleap-baseline.xml +8 −8 Go to diff View file
M tools/stats/generate.php +19 −19 Go to diff View file