From 9cc266bbe60517ca777291971c50ccffcfe751e0 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 8 Jan 2016 22:21:47 +0900 Subject: [PATCH 1/5] Apply RhymiX branding and improve README.md --- COPYRIGHT | 3 ++- README.md | 54 +++++++++++++++++++++++++++++------------------ composer.json | 8 +++---- index.php | 58 ++++++++++++++++++++++++++------------------------- package.json | 8 +++---- 5 files changed, 74 insertions(+), 57 deletions(-) diff --git a/COPYRIGHT b/COPYRIGHT index f32728bb0..0f2124c53 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1 +1,2 @@ -Copyright (C) NAVER \ No newline at end of file +Copyright (c) RhymiX Developers and Contributors +Copyright (c) NAVER diff --git a/README.md b/README.md index 00d0eaee8..d145c95a6 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,41 @@ -RhymiX : RX (라이믹스) -========================= +RhymiX CMS +========== -라이믹스(RhymiX)는 XETOWN Fork 프로젝트의 XE Core 이름입니다. +라이믹스(RhymiX)는 XETOWN 커뮤니티에서 진행하는 XE Core Fork (가지치기) 프로젝트입니다. -원작 : XpressEngine (NAVER Corp) https://www.xpressengine.com +라이믹스(RhymiX)는 "시를 짓다, 운을 맞추다"라는 의미의 "rhyme"과 +"조합하다, 변주하다"라는 의미의 "remix"를 합친 이름입니다. +라이믹스는 인터넷 공간에서 자유롭게 창작 활동을 하고 +다양한 소프트웨어와 콘텐츠를 조합하여 새로운 것을 만들어내는 모든 사용자들을 응원합니다. -### 개발방향 -원작을 개선시켜 사용자 편리성이 가장 뛰어난 CMS로 만들고자 합니다. +### 개발 방향 -- 초보자도 쉽게 클릭 몇 번으로 웹사이트를 완성할 수 있을 만큼의 뛰어난 편리성 -- 기존 XE 서드파티(애드온, 모듈, 위젯등...)와의 호환성 100% 목표! -- 보안이 우수한 CMS +원작을 개선하여 사용자 편리성이 가장 뛰어난 CMS로 만들고자 합니다. -## Server Requirements -* PHP version 5.3.0 or greater (But recommend PHP >= 5.5.0) -* MYSQL version 4.1 or greater (But recommend MYSQL >= 5.x) , MS-SQL, CUBRID -* XML Library -* GD Library -* ICONV -* session.auto_start = Off (php.ini) +- 초보자도 쉽게 클릭 몇 번으로 웹사이트를 완성할 수 있을 만큼 편리한 CMS +- 최신 기술을 적극적으로 사용하고 속도가 빠르며 보안이 우수한 CMS +- 커뮤니티를 통해 사용자와 개발자의 건전한 의사소통을 돕는 CMS +- **애드온, 모듈, 위젯 등 기존 XE 서드파티 자료와의 호환성 100% 목표!** -## Official site -https://www.rhymix.org +### 설치 환경 -## License -미정 +- PHP 5.3 이상 (PHP 5.5 이상 권장, PHP 7 지원) +- MYSQL 4.1 이상 (MySQL 5.0 이상 또는 MariaDB 권장) +- 필수 모듈: curl, gd, iconv _or_ mbstring, json, mcrypt _or_ openssl, xml +- php.ini에서 session.auto_start = Off로 설정되어 있어야 합니다. +- 설치 폴더 또는 files 폴더에 쓰기 권한이 주어져야 합니다. + +### 공식 홈페이지 + +- XETOWN : https://www.xetown.com +- RhymiX : https://www.rhymix.org + +### 저작권 및 라이선스 + +RhymiX는 [XpressEngine](https://www.xpressengine.com)에 바탕을 두고 있습니다. +XpressEngine의 저작권은 [NAVER](https://www.navercorp.com/)에게 있습니다. + +RhymiX 개발자들이 추가 및 변경한 부분의 저작권은 해당 개발자들에게 있습니다. + +별도의 결정이 있을 때까지 라이선스는 XpressEngine과 동일한 LGPL 2.1을 유지하며, +LGPL 2.1의 관련 조항에 따라 LGPL 3.0, GPL 2, GPL 3 등으로 전환하여 사용할 수도 있습니다. diff --git a/composer.json b/composer.json index 1628de44f..dc316a1d7 100644 --- a/composer.json +++ b/composer.json @@ -1,12 +1,12 @@ { "name": "xetown/xe-core", - "description": "XpressEngine XETOWN Remix", - "homepage": "https://www.xetown.com/", + "description": "RhymiX", + "homepage": "https://www.rhymix.org", "license": "LGPL-2.1", "type": "project", "authors": [ - { "name": "NAVER", "email": "developers@xpressengine.com" }, - { "name": "XETOWN Contributors" } + { "name": "RhymiX Developers and Contributors" }, + { "name": "NAVER", "email": "developers@xpressengine.com" } ], "require": { "php": ">=5.3.0", diff --git a/index.php b/index.php index 90c646c52..565f7b85e 100644 --- a/index.php +++ b/index.php @@ -1,33 +1,35 @@ */ /** - * @file index.php - * @author NAVER (developers@xpressengine.com) - * @brief Start page - * - * @mainpage XpressEngine - * @section intro introduction - * - * "XpressEngine (XE)" is an opensource and being developed in the opensource project.\n - * For more information, please see the link below. - * - Official website: http://www.xpressengine.com - * - Offcial Repository: https://github.com/xpressengine/xe-core - * \n - * "XpressEngine (XE)" is free software; you can redistribute it and/or \n - * modify it under the terms of the GNU Lesser General Public \n - * License as published by the Free Software Foundation; either \n - * version 2.1 of the License, or (at your option) any later version. \n - * \n - * This software is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * \n - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - **/ + * ----------------------------------------------------------------------------- + * + * R H Y M I X : C O N T E N T M A N A G E M E N T S Y S T E M + * + * https://www.rhymix.org + * + * ----------------------------------------------------------------------------- + * + * Copyright (c) RhymiX Developers and Contributors + * + * RhyMix is a derivative work (fork) of XpressEngine (XE) version 1.x. + * + * Copyright (c) NAVER + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 2.1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + * for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * ----------------------------------------------------------------------------- + */ /** * @brief Declare constants for generic use and for checking to avoid a direct call from the Web diff --git a/package.json b/package.json index 3f2bd26c2..6cefa70d6 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { - "name": "XpressEngine", - "author": "NAVER", + "name": "RhymiX", + "author": "NAVER, RhymiX Developers and Contributors", "license": "GNU LGPL", "repository": { "type": "git", - "url": "git://github.com/xpressengine/xe-core.git" + "url": "git://github.com/xetown/xe-core.git" }, "bugs": { - "url": "https://github.com/xpressengine/xe-core/issues" + "url": "https://github.com/xetown/xe-core/issues" }, "devDependencies": { "grunt": "^0.4.5", From 211044fe2b3574708aa5148a3489a80ff83c49f2 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 8 Jan 2016 23:50:11 +0900 Subject: [PATCH 2/5] Add a better statement of purpose --- README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d145c95a6..0c8e86491 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,30 @@ -RhymiX CMS -========== +RhymiX +====== -라이믹스(RhymiX)는 XETOWN 커뮤니티에서 진행하는 XE Core Fork (가지치기) 프로젝트입니다. +RhymiX(라이믹스)는 누구든지 쉽고 자유롭게 독립적인 홈페이지를 만들어 +자신을 표현하고 커뮤니티를 키워나갈 수 있도록 돕기 위한 CMS(content management system)입니다. -라이믹스(RhymiX)는 "시를 짓다, 운을 맞추다"라는 의미의 "rhyme"과 +XETOWN 커뮤니티에서 [XE](https://www.xpressengine.com)를 fork(가지치기)하여 진행하는 프로젝트로, +누구나 무료로 사용할 수 있고 개발에 참여할 수도 있는 자유 소프트웨어(free software)입니다. + +RhymiX는 "시를 짓다, 운을 맞추다"라는 의미의 "rhyme"과 "조합하다, 변주하다"라는 의미의 "remix"를 합친 이름입니다. 라이믹스는 인터넷 공간에서 자유롭게 창작 활동을 하고 다양한 소프트웨어와 콘텐츠를 조합하여 새로운 것을 만들어내는 모든 사용자들을 응원합니다. ### 개발 방향 -원작을 개선하여 사용자 편리성이 가장 뛰어난 CMS로 만들고자 합니다. +RhymiX는 개발자와 사용자가 서로의 권리와 책임을 존중하는 인터넷 생태계, +중앙집중형 SNS 플랫폼에 의존하지 않고도 누구나 내 목소리를 낼 수 있는 세상, +벤처기업이나 스타트업의 개발자들뿐 아니라 평범한 블로거, 동호회, 학생, 장애인 등도 +사이버 공간에 당당하게 집을 짓고 서로 소통할 수 있는 미래를 만들어가길 원합니다. + +개발자 위주, 서비스 제공자 위주로 나아가는 현대의 IT 동향을 무차별적으로 받아들이기보다는 +사용자의 주권과 열린 인터넷 환경을 보호하는 기술을 집중적으로 발굴하며, +우리나라 인터넷 커뮤니티의 성장을 이끌었던 90년대 제로보드와 2000년대 XE의 정신을 이어받아 +2016년 현재 위기에 처한 오픈 웹을 지키고 회복시키는 일에 앞장서고자 합니다. + +그러기 위해서는 다른 어떤 CMS보다도 일반 사용자를 위한 편리성이 가장 뛰어나야 합니다. - 초보자도 쉽게 클릭 몇 번으로 웹사이트를 완성할 수 있을 만큼 편리한 CMS - 최신 기술을 적극적으로 사용하고 속도가 빠르며 보안이 우수한 CMS From 1c90e1286fccbae5c9f20939b3b1ecd580f29297 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 9 Jan 2016 00:06:22 +0900 Subject: [PATCH 3/5] Update install module to use RhymiX as project name --- modules/install/install.controller.php | 3 +- modules/install/lang/lang.xml | 160 +++++++++++------------ modules/install/tpl/css/install.css | 7 +- modules/install/tpl/footer.html | 4 +- modules/install/tpl/header.html | 4 +- modules/install/tpl/license_text.en.html | 20 +-- modules/install/tpl/license_text.ko.html | 18 +-- modules/install/tpl/select_db.html | 2 +- 8 files changed, 106 insertions(+), 112 deletions(-) diff --git a/modules/install/install.controller.php b/modules/install/install.controller.php index c096a9018..36092d8e9 100644 --- a/modules/install/install.controller.php +++ b/modules/install/install.controller.php @@ -33,6 +33,7 @@ class installController extends install { // Get DB-related variables $con_string = Context::gets('db_type','db_port','db_hostname','db_userid','db_password','db_database','db_table_prefix'); + $con_string->db_table_prefix = rtrim($con_string->db_table_prefix, '_'); $db_info = new stdClass(); $db_info->master_db = get_object_vars($con_string); @@ -186,7 +187,7 @@ class installController extends install 'db_userid' => Context::get('db_userid'), 'db_password' => Context::get('db_password'), 'db_database' => Context::get('db_database'), - 'db_table_prefix' => Context::get('db_table_prefix') + 'db_table_prefix' => rtrim(Context::get('db_table_prefix'), '_'), ); $db_info->slave_db = array($db_info->master_db); $db_info->default_url = Context::getRequestUri(); diff --git a/modules/install/lang/lang.xml b/modules/install/lang/lang.xml index a0a969a10..13d144267 100644 --- a/modules/install/lang/lang.xml +++ b/modules/install/lang/lang.xml @@ -1,15 +1,15 @@ - - - - - - - - - + + + + + + + + + @@ -83,12 +83,12 @@ - + - + @@ -216,26 +216,26 @@ - - + + - - - + + + - - - + + + - - - - - - + + + + + + @@ -250,16 +250,16 @@ - - - + + + - - - - - + + + + + @@ -728,9 +728,9 @@ - - - + + + 여기를 참고하세요.]]> @@ -805,7 +805,7 @@ - + @@ -821,15 +821,15 @@ - + - - - - - Xin hãy kiểm tra lại!]]> + + + + + Xin hãy kiểm tra lại!]]> @@ -857,15 +857,15 @@ - + - - + + - - + + @@ -892,16 +892,6 @@ - - - - - - - 웹 서버, DBMS, PHP 버전 및 Extension, XE 모듈 및 애드온' 정보가 XE 통계 수집 서버로 전송됩니다. 더 나은 SW를 제작하기 위한 목적으로 활용합니다. 익명으로 수집되며 이 정보를 외부에 공개하지 않습니다. 이 항목에 동의하지 않아도 됩니다.]]> - web server, DBMS, PHP version and extension, XE modules and addons' is sent to the XE statistics collection server. This information is collected anonymously and used to improve our software only. You don't have to agree to this.]]> - ウェブサーバー、DBMS、PHPバージョンおよびExtension、XEモジュール、およびアドオン'情報が、XE統計収集サーバーへ転送されます。より良いソフトウェアを製作するための目的で活用されます。情報は、匿名で収集され、外部へ公開することはありません。この項目は、同意しなくても構いません。]]> - @@ -973,17 +963,17 @@ - safe_mode=On일 경우 XE의 정상적인 동작을 돕습니다.]]> - - - + safe_mode=On일 경우 RhymiX의 정상적인 동작을 돕습니다.]]> + + + - - - - - - + + + + + + @@ -1075,26 +1065,26 @@ - - - - - - - - + + + + + + + + - - - + + + - - - - - - + + + + + + diff --git a/modules/install/tpl/css/install.css b/modules/install/tpl/css/install.css index 7863d0a5d..79499ff2a 100644 --- a/modules/install/tpl/css/install.css +++ b/modules/install/tpl/css/install.css @@ -34,11 +34,11 @@ img, form, fieldset { border: 0; margin:0; padding: 0; } margin: 0; } .x #header h1 { - font: bold 48px/100% Arial, sans-serif; + font: bold 54px/100% Cambria, Georgia, serif; color: #444; text-align: center; text-shadow: 2px 2px 3px rgba(128, 128, 128, 0.4); - margin: 0 0 16px 0; + margin: 0 0 24px 0; } .x #header h1 span.green { color: #55a72f; @@ -46,6 +46,9 @@ img, form, fieldset { border: 0; margin:0; padding: 0; } .x #header h1 span.brown { color: #905a29; } +.x #header h1 span.red { + color: #ef5350; +} .x #header h1 span.colon { color: #888888; position: relative; diff --git a/modules/install/tpl/footer.html b/modules/install/tpl/footer.html index abd6d9df5..c8ba1e3b2 100644 --- a/modules/install/tpl/footer.html +++ b/modules/install/tpl/footer.html @@ -6,9 +6,9 @@ diff --git a/modules/install/tpl/header.html b/modules/install/tpl/header.html index 7301da30b..26ca1dde9 100644 --- a/modules/install/tpl/header.html +++ b/modules/install/tpl/header.html @@ -3,6 +3,6 @@
diff --git a/modules/install/tpl/license_text.en.html b/modules/install/tpl/license_text.en.html index db117413f..0237a4136 100644 --- a/modules/install/tpl/license_text.en.html +++ b/modules/install/tpl/license_text.en.html @@ -1,29 +1,29 @@ -

Copyright © NAVER and Contributors

+

Copyright © RhymiX Developers and Contributors

+

Copyright © NAVER

- XpressEngine (XE) is an opensource and being developed in the open-source project. + RhymiX is free software, developed as an open-source project. For more information, please see the links below.

- XpressEngine XETown Remix is a fork of the XpressEngine CMS + RhymiX is a fork of the XpressEngine (XE) CMS with additional patches by members of the XETOWN community. - For more information, please see the links below.

- XpressEngine XETown Remix is free software; you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; + RhymiX and XE are free software; you can redistribute them and/or modify them + under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

diff --git a/modules/install/tpl/license_text.ko.html b/modules/install/tpl/license_text.ko.html index af74e8f2d..f15d5a501 100644 --- a/modules/install/tpl/license_text.ko.html +++ b/modules/install/tpl/license_text.ko.html @@ -1,27 +1,27 @@ -

Copyright © NAVER and Contributors

+

Copyright © RhymiX Developers and Contributors

+

Copyright © NAVER

- XpressEngine(XE)은 자유 소프트웨어이며, 오픈 소스 프로젝트로 개발되고 있습니다. + RhymiX는 자유 소프트웨어이며, 오픈소스 프로젝트로 개발되고 있습니다. 자세한 내용은 아래 링크를 참조하시기 바랍니다.

- XpressEngine XETOWN Remix는 XE를 가지치기(fork)하여 XETOWN 커뮤니티 회원들이 개발한 다양한 기능을 추가한 것입니다. - 자세한 내용은 아래 링크를 참조하시기 바랍니다. + RhymiX는 XpressEngine(XE)을 가지치기(fork)하여 XETOWN 커뮤니티 회원들이 개발한 다양한 기능을 추가한 것입니다.

- XpressEngine XETOWN Remix는 자유 소프트웨어입니다. + RhymiX와 XE는 자유 소프트웨어입니다. 소프트웨어의 피양도자는 자유 소프트웨어 재단이 공표한 GNU 약소 일반 공중 사용 허가서 (LGPL) 2.1판 또는 그 이후 판을 임의로 선택해서, 그 규정에 따라 소프트웨어를 개작하거나 재배포할 수 있습니다.

diff --git a/modules/install/tpl/select_db.html b/modules/install/tpl/select_db.html index 439dc328b..0a52f8263 100644 --- a/modules/install/tpl/select_db.html +++ b/modules/install/tpl/select_db.html @@ -48,7 +48,7 @@
-
+

{$lang->db_info_desc}
{$lang->db_prefix_desc} From 92be5ac0efa94e60508ef337cdc638bfe608b4b8 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 9 Jan 2016 00:20:22 +0900 Subject: [PATCH 4/5] Fix incorrect prefix handling in autoinstall --- modules/install/install.controller.php | 2 +- modules/install/install.view.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/install/install.controller.php b/modules/install/install.controller.php index 36092d8e9..3db8d17bd 100644 --- a/modules/install/install.controller.php +++ b/modules/install/install.controller.php @@ -187,7 +187,7 @@ class installController extends install 'db_userid' => Context::get('db_userid'), 'db_password' => Context::get('db_password'), 'db_database' => Context::get('db_database'), - 'db_table_prefix' => rtrim(Context::get('db_table_prefix'), '_'), + 'db_table_prefix' => Context::get('db_table_prefix'), ); $db_info->slave_db = array($db_info->master_db); $db_info->default_url = Context::getRequestUri(); diff --git a/modules/install/install.view.php b/modules/install/install.view.php index bb94e272d..dbee3109c 100644 --- a/modules/install/install.view.php +++ b/modules/install/install.view.php @@ -44,11 +44,11 @@ class installView extends install 'db_hostname' =>'localhost', 'db_userid' =>'root', 'db_password' =>'root', - 'db_database' =>'xe_database', - 'db_table_prefix' =>'xe', + 'db_database' =>'rx_database', + 'db_table_prefix' =>'rx', 'user_rewrite' =>'N', 'time_zone' =>'0000', - 'email_address' =>'admin@xe.com', + 'email_address' =>'admin@admin.net', 'password' =>'pass', 'password2' =>'pass', 'nick_name' =>'admin', From c89b12a7be07e77a8c0ed7a78ffd99725678c12b Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 9 Jan 2016 11:32:52 +0900 Subject: [PATCH 5/5] Update repository path --- composer.json | 2 +- modules/install/tpl/footer.html | 2 +- modules/install/tpl/license_text.en.html | 2 +- modules/install/tpl/license_text.ko.html | 2 +- package.json | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index dc316a1d7..65cbf222e 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "xetown/xe-core", + "name": "rhymix/rhymix", "description": "RhymiX", "homepage": "https://www.rhymix.org", "license": "LGPL-2.1", diff --git a/modules/install/tpl/footer.html b/modules/install/tpl/footer.html index c8ba1e3b2..3d7a4377e 100644 --- a/modules/install/tpl/footer.html +++ b/modules/install/tpl/footer.html @@ -8,7 +8,7 @@

diff --git a/modules/install/tpl/license_text.en.html b/modules/install/tpl/license_text.en.html index 0237a4136..0df775e37 100644 --- a/modules/install/tpl/license_text.en.html +++ b/modules/install/tpl/license_text.en.html @@ -8,7 +8,7 @@

diff --git a/modules/install/tpl/license_text.ko.html b/modules/install/tpl/license_text.ko.html index f15d5a501..7581a561c 100644 --- a/modules/install/tpl/license_text.ko.html +++ b/modules/install/tpl/license_text.ko.html @@ -8,7 +8,7 @@

diff --git a/package.json b/package.json index 6cefa70d6..f692948b2 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,10 @@ "license": "GNU LGPL", "repository": { "type": "git", - "url": "git://github.com/xetown/xe-core.git" + "url": "git://github.com/rhymix/rhymix.git" }, "bugs": { - "url": "https://github.com/xetown/xe-core/issues" + "url": "https://github.com/rhymix/rhymix/issues" }, "devDependencies": { "grunt": "^0.4.5",