Completely wiped out the old application name

This commit is contained in:
Fedor A. Fetisov 2013-09-26 19:33:50 +04:00
parent a2f78ea9f3
commit eaba2fb708
911 changed files with 62 additions and 62 deletions

10
.gitignore vendored
View File

@ -1,6 +1,6 @@
bin bin
src/messenger/.idea/workspace.xml src/messenger/.idea/workspace.xml
src/messenger/webim/install/package src/messenger/mibew/install/package
src/messenger/absent_* src/messenger/absent_*
src/messenger/release* src/messenger/release*
src/mibewjava/.idea/workspace.xml src/mibewjava/.idea/workspace.xml
@ -9,9 +9,9 @@ mibew.ini
.DS_Store .DS_Store
# No index actual configuration files # No index actual configuration files
src/messenger/webim/libs/config.php src/messenger/mibew/libs/config.php
src/messenger/tests/server_side/webim/libs/config.php src/messenger/tests/server_side/mibew/libs/config.php
# No index plugins # No index plugins
src/messenger/webim/plugins/* src/messenger/mibew/plugins/*
!src/messenger/webim/plugins/.keep !src/messenger/mibew/plugins/.keep

View File

@ -2,12 +2,12 @@
<project version="4"> <project version="4">
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false"> <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false">
<file url="file://$PROJECT_DIR$" charset="UTF-8" /> <file url="file://$PROJECT_DIR$" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/webim/locales/be/properties" charset="windows-1251" /> <file url="file://$PROJECT_DIR$/mibew/locales/be/properties" charset="windows-1251" />
<file url="file://$PROJECT_DIR$/webim/locales/bg/properties" charset="windows-1251" /> <file url="file://$PROJECT_DIR$/mibew/locales/bg/properties" charset="windows-1251" />
<file url="file://$PROJECT_DIR$/webim/locales/ca/properties" charset="ISO-8859-1" /> <file url="file://$PROJECT_DIR$/mibew/locales/ca/properties" charset="ISO-8859-1" />
<file url="file://$PROJECT_DIR$/webim/locales/ru/properties" charset="windows-1251" /> <file url="file://$PROJECT_DIR$/mibew/locales/ru/properties" charset="windows-1251" />
<file url="file://$PROJECT_DIR$/webim/locales/sp/properties" charset="ISO-8859-1" /> <file url="file://$PROJECT_DIR$/mibew/locales/sp/properties" charset="ISO-8859-1" />
<file url="file://$PROJECT_DIR$/webim/locales/ua/properties" charset="windows-1251" /> <file url="file://$PROJECT_DIR$/mibew/locales/ua/properties" charset="windows-1251" />
</component> </component>
</project> </project>

View File

@ -1,11 +1,11 @@
<project name="mibew messenger" default="all"> <project name="mibew messenger" default="all">
<property name="webim_path" value="webim" /> <property name="mibew_path" value="mibew" />
<property name="closure.c" value="/opt/closure/compiler.jar" /> <property name="closure.c" value="/opt/closure/compiler.jar" />
<property name="handlebars" value="handlebars" /> <property name="handlebars" value="handlebars" />
<property name="dialogs_styles_path" value="${webim_path}/styles/dialogs" /> <property name="dialogs_styles_path" value="${mibew_path}/styles/dialogs" />
<property name="js_path" value="${webim_path}/js" /> <property name="js_path" value="${mibew_path}/js" />
<!-- Compile Handlebars templates for dialogs styles --> <!-- Compile Handlebars templates for dialogs styles -->

View File

@ -3,7 +3,7 @@
sub read_transl($) { sub read_transl($) {
my($from) = @_; my($from) = @_;
my %translation = (); my %translation = ();
open(IN, "webim/locales/$from/properties"); open(IN, "mibew/locales/$from/properties");
while(<IN>) { while(<IN>) {
chomp; chomp;
if(/^([\w\.]+)=(.*)$/) { if(/^([\w\.]+)=(.*)$/) {

View File

@ -46,25 +46,25 @@ use Digest::MD5 qw(md5 md5_hex md5_base64);
["operator/getcode.php", 2], ["operator/getcode.php", 2],
["operator/.*\\.php", 1], ["operator/.*\\.php", 1],
["webim/client.php", 0], ["mibew/client.php", 0],
["webim/leavemessage.php", 0], ["mibew/leavemessage.php", 0],
["webim/captcha.php", 0], ["mibew/captcha.php", 0],
["webim/license.php", 0], ["mibew/license.php", 0],
["webim/mail.php", 0], ["mibew/mail.php", 0],
["libs/operator_settings.php", 2], ["libs/operator_settings.php", 2],
["webim/libs/chat.php", 0], ["mibew/libs/chat.php", 0],
["libs/pagination.php", 1], ["libs/pagination.php", 1],
["libs/settings.php", 2], ["libs/settings.php", 2],
["libs/groups.php", 2], ["libs/groups.php", 2],
["libs/demothread.php", 2], ["libs/demothread.php", 2],
["webim/thread.php", 0], ["mibew/thread.php", 0],
["webim/b.php", 0], ["mibew/b.php", 0],
["webim/button.php", 0], ["mibew/button.php", 0],
["webim/index.php", 0], ["mibew/index.php", 0],
["webim/libs/.*\\.php", 1], ["mibew/libs/.*\\.php", 1],
); );
%messagekeys = ( %messagekeys = (
@ -95,7 +95,7 @@ use Digest::MD5 qw(md5 md5_hex md5_base64);
); );
$webimPath = "webim"; $mibewPath = "mibew";
%urls = (); %urls = ();
@ -173,7 +173,7 @@ sub file_checksum($) {
sub process_one($) { sub process_one($) {
my($source) = @_; my($source) = @_;
push @allsources, $source unless $source =~ /$webimPath\/locales/ && $source !~ /$webimPath\/locales\/(en|names)/ || $source =~ /\/package$/; push @allsources, $source unless $source =~ /$mibewPath\/locales/ && $source !~ /$mibewPath\/locales\/(en|names)/ || $source =~ /\/package$/;
if($source !~ /\.(php|tpl)$/) { if($source !~ /\.(php|tpl)$/) {
return; return;
@ -217,29 +217,29 @@ sub process_files($) {
} }
} }
process_files($webimPath); process_files($mibewPath);
# fix # fix
$messagekeys{'page.analysis.userhistory.title'} = 1; $messagekeys{'page.analysis.userhistory.title'} = 1;
$messagekeys{'errors.failed.uploading.file'} = 2; $messagekeys{'errors.failed.uploading.file'} = 2;
open( OUT, "> $webimPath/locales/names/level1") or die "cannot write file, $!"; open( OUT, "> $mibewPath/locales/names/level1") or die "cannot write file, $!";
for $key(sort grep { $messagekeys{$_} == 0 } keys %messagekeys) { for $key(sort grep { $messagekeys{$_} == 0 } keys %messagekeys) {
print OUT "$key\n"; print OUT "$key\n";
} }
close( OUT ); close( OUT );
open( OUT, "> $webimPath/locales/names/level2") or die "cannot write file, $!"; open( OUT, "> $mibewPath/locales/names/level2") or die "cannot write file, $!";
for $key(sort grep { $messagekeys{$_} == 1 } keys %messagekeys) { for $key(sort grep { $messagekeys{$_} == 1 } keys %messagekeys) {
print OUT "$key\n"; print OUT "$key\n";
} }
close( OUT ); close( OUT );
open( OUT, "> $webimPath/install/package") or die "cannot write file, $!"; open( OUT, "> $mibewPath/install/package") or die "cannot write file, $!";
for $key(sort @allsources) { for $key(sort @allsources) {
$digest = file_checksum($key); $digest = file_checksum($key);
$key =~ s/$webimPath\///; $key =~ s/$mibewPath\///;
print OUT "$key $digest\n"; print OUT "$key $digest\n";
} }
close( OUT ); close( OUT );

View File

Before

Width:  |  Height:  |  Size: 372 B

After

Width:  |  Height:  |  Size: 372 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 732 B

After

Width:  |  Height:  |  Size: 732 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 340 B

After

Width:  |  Height:  |  Size: 340 B

View File

Before

Width:  |  Height:  |  Size: 728 B

After

Width:  |  Height:  |  Size: 728 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 604 B

After

Width:  |  Height:  |  Size: 604 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 162 B

View File

Before

Width:  |  Height:  |  Size: 43 B

After

Width:  |  Height:  |  Size: 43 B

View File

Before

Width:  |  Height:  |  Size: 49 B

After

Width:  |  Height:  |  Size: 49 B

View File

Before

Width:  |  Height:  |  Size: 43 B

After

Width:  |  Height:  |  Size: 43 B

View File

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 162 B

View File

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 713 B

View File

Before

Width:  |  Height:  |  Size: 60 B

After

Width:  |  Height:  |  Size: 60 B

View File

Before

Width:  |  Height:  |  Size: 377 B

After

Width:  |  Height:  |  Size: 377 B

View File

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 68 B

View File

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 148 B

View File

Before

Width:  |  Height:  |  Size: 199 B

After

Width:  |  Height:  |  Size: 199 B

View File

Before

Width:  |  Height:  |  Size: 139 B

After

Width:  |  Height:  |  Size: 139 B

View File

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 142 B

View File

Before

Width:  |  Height:  |  Size: 796 B

After

Width:  |  Height:  |  Size: 796 B

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 915 B

View File

Before

Width:  |  Height:  |  Size: 905 B

After

Width:  |  Height:  |  Size: 905 B

View File

Before

Width:  |  Height:  |  Size: 906 B

After

Width:  |  Height:  |  Size: 906 B

View File

Before

Width:  |  Height:  |  Size: 914 B

After

Width:  |  Height:  |  Size: 914 B

View File

Before

Width:  |  Height:  |  Size: 75 B

After

Width:  |  Height:  |  Size: 75 B

View File

Before

Width:  |  Height:  |  Size: 74 B

After

Width:  |  Height:  |  Size: 74 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 55 B

After

Width:  |  Height:  |  Size: 55 B

View File

Before

Width:  |  Height:  |  Size: 89 B

After

Width:  |  Height:  |  Size: 89 B

View File

Before

Width:  |  Height:  |  Size: 43 B

After

Width:  |  Height:  |  Size: 43 B

View File

Before

Width:  |  Height:  |  Size: 92 B

After

Width:  |  Height:  |  Size: 92 B

View File

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 329 B

View File

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 309 B

View File

Before

Width:  |  Height:  |  Size: 291 B

After

Width:  |  Height:  |  Size: 291 B

View File

Before

Width:  |  Height:  |  Size: 554 B

After

Width:  |  Height:  |  Size: 554 B

View File

Before

Width:  |  Height:  |  Size: 338 B

After

Width:  |  Height:  |  Size: 338 B

View File

Before

Width:  |  Height:  |  Size: 640 B

After

Width:  |  Height:  |  Size: 640 B

View File

Before

Width:  |  Height:  |  Size: 53 B

After

Width:  |  Height:  |  Size: 53 B

View File

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 70 B

Some files were not shown because too many files have changed in this diff Show More