[Notice] Announcing the End of Demo Server [Read me]
JiHan Kim 2013-10-21
replace the word "nforge" with "yobi"
@d0b4de1af8d92d122d993bd0aaef080d3a1499df
app/controllers/UserApp.java
--- app/controllers/UserApp.java
+++ app/controllers/UserApp.java
@@ -34,7 +34,7 @@
     public static final String SESSION_USERID = "userId";
     public static final String SESSION_LOGINID = "loginId";
     public static final String SESSION_USERNAME = "userName";
-    public static final String TOKEN = "nforge.token";
+    public static final String TOKEN = "yobi.token";
     public static final int MAX_AGE = 30*24*60*60;
     public static final String DEFAULT_AVATAR_URL = "/assets/images/default-avatar-128.png";
     public static final int MAX_FETCH_USERS = 1000;
app/utils/BasicAuthAction.java
--- app/utils/BasicAuthAction.java
+++ app/utils/BasicAuthAction.java
@@ -15,7 +15,7 @@
 
 public class BasicAuthAction extends Action<Object> {
     private boolean isAnonymousSupported = true; // configuration is not available yet.
-    private static final String REALM = "nforge4";
+    private static final String REALM = "Yobi";
 
     public static Result unauthorized(Response response) {
         // challenge   = "Basic" realm
conf/application.conf.default
--- conf/application.conf.default
+++ conf/application.conf.default
@@ -24,20 +24,20 @@
 #
 # H2 Configuration
  db.default.driver=org.h2.Driver
-# db.default.url="jdbc:h2:mem:nforge;MODE=PostgreSQL;DB_CLOSE_DELAY=-1"
- db.default.url="jdbc:h2:file:nforge;MODE=PostgreSQL"
+# db.default.url="jdbc:h2:mem:yobi;MODE=PostgreSQL;DB_CLOSE_DELAY=-1"
+ db.default.url="jdbc:h2:file:yobi;MODE=PostgreSQL"
 # db.default.user=sa
 # db.default.password=sa
 db.default.logStatements=true
 
 # MySQL Configuration
 # db.default.driver=com.mysql.jdbc.Driver
-# db.default.url="jdbc:mysql://127.0.0.1:3306/nforge?characterEncoding=utf-8"
+# db.default.url="jdbc:mysql://127.0.0.1:3306/yobi?characterEncoding=utf-8"
 # db.default.user=yobi
 # db.default.password=""
 
 # Local
-# db.default.url="jdbc:postgresql://localhost:5432/nforge"
+# db.default.url="jdbc:postgresql://localhost:5432/yobi"
 # db.default.user=postgres
 # db.default.password=password
 
@@ -110,4 +110,4 @@
       }
     }
   }
-}
(No newline at end of file)
+}
conf/messages
--- conf/messages
+++ conf/messages
@@ -398,7 +398,7 @@
 project.name.duplicate = Already existing project.
 project.name.placeholder = input project name
 project.name.rule = Naming Rule
-project.new.agreement = I read nForge4's user agreement and accept it.
+project.new.agreement = I read user agreement and accept it.
 project.new.vcsType.git = Git
 project.new.vcsType.subversion = Subversion
 project.onmember = <i class="yobicon-friends yobicon-middle"></i><strong>{0}</strong>
docs/technical/name-validation.md
--- docs/technical/name-validation.md
+++ docs/technical/name-validation.md
@@ -15,14 +15,14 @@
 
 path segment가 될 수 있는 이름(사용자 이름, 프로젝트 이름 등)에 `/` 이나 `?` 같은 예약된 문자를 사용하면 [percent encoding](http://tools.ietf.org/html/rfc3986#section-2.1)이 되는 것을 피할 수 없다.
 
-예를 들어 프로젝트 이름이 "엔포지" 라면, 프로젝트에 대한 url은 다음과 같이 만들어 질 것이다.
+예를 들어 프로젝트 이름이 "요비" 라면, 프로젝트에 대한 url은 다음과 같이 만들어 질 것이다.
 
-    http://nforge.com/foo/%EC%97%94%ED%8F%AC%EC%A7%80
+    http://www.foo.com/bar/%EC%9A%94%EB%B9%84
 
 이렇게 되면 아래와 같은 단점이 있다.
 
-* nforge에서 디코딩을 빼먹으면 버그를 유발하게 됨
-* nforge를 이용해 뭔가를 만들어보려는 개발자 입장에서도 percent encoding이 되는 상황을 고려해야 하는 것은 불편함
+* Yobi에서 디코딩을 빼먹으면 버그를 유발하게 됨
+* Yobi를 이용해 뭔가를 만들어보려는 개발자 입장에서도 percent encoding이 되는 상황을 고려해야 하는 것은 불편함
 * 보기도 좋지 않음
 
 예외
public/javascripts/common/yobi.Common.js
--- public/javascripts/common/yobi.Common.js
+++ public/javascripts/common/yobi.Common.js
@@ -103,16 +103,6 @@
             oModule = oModule[sDepth];
         }
         
-        /*
-        if(typeof oModule != "function"){
-            console.log("[Yobi] " + sName + " is not loaded or invalid module");
-            return false;
-        }
-        
-        htModuleInstance[sName] = new oModule(htOptions);
-        return htModuleInstance[sName];
-        */
-        
         // temporary code for compatibility with nForge
         var oInstance;
         if(typeof oModule == "undefined"){
Add a comment
List