mirror of
https://github.com/phpbb/phpbb.git
synced 2025-09-10 00:01:29 +02:00
Compare commits
11 Commits
release-3.
...
3.0.x
Author | SHA1 | Date | |
---|---|---|---|
|
0d349a82ca | ||
|
cdf580ee37 | ||
|
88d16b47a4 | ||
|
2c6369c5d9 | ||
|
fedd0ae7f3 | ||
|
ba205a6bce | ||
|
52aafb4dea | ||
|
9c320ccdce | ||
|
7f820ee962 | ||
|
2fb7ef2668 | ||
|
6d8df7332c |
@@ -2,8 +2,8 @@
|
||||
|
||||
<project name="phpBB" description="The phpBB forum software" default="all" basedir="../">
|
||||
<!-- a few settings for the build -->
|
||||
<property name="newversion" value="3.0.14" />
|
||||
<property name="prevversion" value="3.0.14-RC1" />
|
||||
<property name="newversion" value="3.0.15-dev" />
|
||||
<property name="prevversion" value="3.0.14" />
|
||||
<property name="olderversions" value="3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.7-PL1, 3.0.8, 3.0.9, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.13-PL1" />
|
||||
<!-- no configuration should be needed beyond this point -->
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
<property name="dir" value="build/old_versions/release-${version}" />
|
||||
</phingcall>
|
||||
|
||||
<exec dir="build/old_versions" command="LC_ALL=C diff -crNEBwd release-${version} release-${newversion} >
|
||||
<exec dir="build/old_versions" command="LC_ALL=C diff -crNEBZbd release-${version} release-${newversion} >
|
||||
../new_version/patches/phpBB-${version}_to_${newversion}.patch" escape="false" />
|
||||
</target>
|
||||
|
||||
@@ -132,13 +132,13 @@
|
||||
<target name="package" depends="clean,prepare,prepare-new-version,old-version-diffs">
|
||||
<exec dir="build" command="php -f package.php '${versions}' > logs/package.log" escape="false" />
|
||||
<exec dir="build" escape="false"
|
||||
command="diff -crNEBwd old_versions/release-${prevversion}/language new_version/phpBB3/language >
|
||||
command="LC_ALL=C diff -crNEBZbd old_versions/release-${prevversion}/language new_version/phpBB3/language >
|
||||
save/phpbb-${prevversion}_to_${newversion}_language.patch" />
|
||||
<exec dir="build" escape="false"
|
||||
command="diff -crNEBwd old_versions/release-${prevversion}/styles/prosilver new_version/phpBB3/styles/prosilver >
|
||||
command="LC_ALL=C diff -crNEBZbd old_versions/release-${prevversion}/styles/prosilver new_version/phpBB3/styles/prosilver >
|
||||
save/phpbb-${prevversion}_to_${newversion}_prosilver.patch" />
|
||||
<exec dir="build" escape="false"
|
||||
command="diff -crNEBwd old_versions/release-${prevversion}/styles/subsilver2 new_version/phpBB3/styles/subsilver2 >
|
||||
command="LC_ALL=C diff -crNEBZbd old_versions/release-${prevversion}/styles/subsilver2 new_version/phpBB3/styles/subsilver2 >
|
||||
save/phpbb-${prevversion}_to_${newversion}_subsilver2.patch" />
|
||||
|
||||
<exec dir="build" escape="false"
|
||||
|
@@ -18,11 +18,11 @@ class build_package
|
||||
// -r - compare recursive
|
||||
// -N - Treat missing files as empty
|
||||
// -E - Ignore tab expansions
|
||||
// not used: -b - Ignore space changes.
|
||||
// -w - Ignore all whitespace
|
||||
// -Z - Ignore white space at line end.
|
||||
// -b - Ignore changes in the amount of white space.
|
||||
// -B - Ignore blank lines
|
||||
// -d - Try to find smaller set of changes
|
||||
var $diff_options = '-crNEBwd';
|
||||
var $diff_options = '-crNEBZbd';
|
||||
var $diff_options_long = '-x images -crNEB'; // -x fonts -x imageset //imageset not used here, because it includes the imageset.cfg file. ;)
|
||||
|
||||
var $verbose = false;
|
||||
|
@@ -25,7 +25,7 @@ if (!defined('IN_PHPBB'))
|
||||
*/
|
||||
|
||||
// phpBB Version
|
||||
define('PHPBB_VERSION', '3.0.14');
|
||||
define('PHPBB_VERSION', '3.0.15-dev');
|
||||
|
||||
// QA-related
|
||||
// define('PHPBB_QA', 1);
|
||||
|
@@ -57,7 +57,6 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
||||
$address_list = array();
|
||||
}
|
||||
|
||||
$submit = (isset($_POST['post'])) ? true : false;
|
||||
$preview = (isset($_POST['preview'])) ? true : false;
|
||||
$save = (isset($_POST['save'])) ? true : false;
|
||||
$load = (isset($_POST['load'])) ? true : false;
|
||||
@@ -71,6 +70,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
||||
|
||||
$refresh = isset($_POST['add_file']) || isset($_POST['delete_file']) || $save || $load
|
||||
|| $remove_u || $remove_g || $add_to || $add_bcc;
|
||||
$submit = isset($_POST['post']) && !$refresh && !$preview;
|
||||
|
||||
$action = ($delete && !$preview && !$refresh && $submit) ? 'delete' : $action;
|
||||
$select_single = ($config['allow_mass_pm'] && $auth->acl_get('u_masspm')) ? false : true;
|
||||
|
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define('UPDATES_TO_VERSION', '3.0.14');
|
||||
define('UPDATES_TO_VERSION', '3.0.15-dev');
|
||||
|
||||
// Enter any version to update from to test updates. The version within the db will not be updated.
|
||||
define('DEBUG_FROM_VERSION', false);
|
||||
@@ -1019,8 +1019,6 @@ function database_update_info()
|
||||
'3.0.13' => array(),
|
||||
// No changes from 3.0.13-PL1 to 3.0.14-RC1
|
||||
'3.0.13-PL1' => array(),
|
||||
// No changes from 3.0.14-RC1 to 3.0.14
|
||||
'3.0.14-RC1' => array(),
|
||||
|
||||
/** @todo DROP LOGIN_ATTEMPT_TABLE.attempt_id in 3.0.15-RC1 */
|
||||
);
|
||||
@@ -2280,10 +2278,6 @@ function change_database_data(&$no_updates, $version)
|
||||
// No changes from 3.0.13-PL1 to 3.0.14-RC1
|
||||
case '3.0.13-PL1':
|
||||
break;
|
||||
|
||||
// No changes from 3.0.14-RC1 to 3.0.14
|
||||
case '3.0.14-RC1':
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -246,7 +246,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('topics_per_page',
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('tpl_allow_php', '0');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_icons_path', 'images/upload_icons');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_path', 'files');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.14');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.15-dev');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_expire_days', '90');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_gc', '14400');
|
||||
|
||||
|
@@ -32,7 +32,6 @@ $forum_id = request_var('f', 0);
|
||||
$draft_id = request_var('d', 0);
|
||||
$lastclick = request_var('lastclick', 0);
|
||||
|
||||
$submit = (isset($_POST['post'])) ? true : false;
|
||||
$preview = (isset($_POST['preview'])) ? true : false;
|
||||
$save = (isset($_POST['save'])) ? true : false;
|
||||
$load = (isset($_POST['load'])) ? true : false;
|
||||
@@ -40,6 +39,7 @@ $delete = (isset($_POST['delete'])) ? true : false;
|
||||
$cancel = (isset($_POST['cancel']) && !isset($_POST['save'])) ? true : false;
|
||||
|
||||
$refresh = (isset($_POST['add_file']) || isset($_POST['delete_file']) || isset($_POST['full_editor']) || isset($_POST['cancel_unglobalise']) || $save || $load) ? true : false;
|
||||
$submit = isset($_POST['post']) && !$refresh && !$preview;
|
||||
$mode = ($delete && !$preview && !$refresh && $submit) ? 'delete' : request_var('mode', '');
|
||||
|
||||
$error = $post_data = array();
|
||||
|
@@ -40,6 +40,8 @@ class phpbb_lint_test extends phpbb_test_case
|
||||
dirname(__FILE__) . '/../build/new_version',
|
||||
dirname(__FILE__) . '/../build/old_versions',
|
||||
dirname(__FILE__) . '/../phpBB/cache',
|
||||
dirname(__FILE__) . '/../phpBB/ext',
|
||||
dirname(__FILE__) . '/../phpBB/store',
|
||||
// PHP Fatal error: Cannot declare class Container because the name is already in use in /var/www/projects/phpbb3/tests/../phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services1-1.php on line 20
|
||||
// https://gist.github.com/e003913ffd493da63cbc
|
||||
dirname(__FILE__) . '/../phpBB/vendor',
|
||||
|
@@ -6,12 +6,6 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ]
|
||||
then
|
||||
# Add PPA providing dependencies for recent HHVM on Ubuntu 12.04.
|
||||
sudo add-apt-repository -y ppa:mapnik/boost
|
||||
fi
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y nginx realpath
|
||||
|
||||
@@ -25,11 +19,9 @@ APP_SOCK=$(realpath "$DIR")/php-app.sock
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ]
|
||||
then
|
||||
# Upgrade to a recent stable version of HHVM
|
||||
sudo apt-get -o Dpkg::Options::="--force-confnew" install -y hhvm-nightly
|
||||
|
||||
HHVM_LOG=$(realpath "$DIR")/hhvm.log
|
||||
|
||||
sudo service hhvm stop
|
||||
sudo hhvm \
|
||||
--mode daemon \
|
||||
--user "$USER" \
|
||||
|
Reference in New Issue
Block a user