Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
7839d204
Commit
7839d204
authored
Apr 01, 2013
by
Vanessa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.6.0' of
https://github.com/b3log/b3log-solo
into 0.6.0
parents
eb965c4c
6c2ebb51
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
276 additions
and
267 deletions
+276
-267
core/src/main/java/org/b3log/solo/service/PreferenceMgmtService.java
...in/java/org/b3log/solo/service/PreferenceMgmtService.java
+2
-2
core/src/test/resources/latke.properties
core/src/test/resources/latke.properties
+58
-54
war/bae/src/main/resources/latke.properties
war/bae/src/main/resources/latke.properties
+55
-51
war/bae/src/main/resources/local.properties
war/bae/src/main/resources/local.properties
+46
-50
war/gae/src/main/resources/latke.properties
war/gae/src/main/resources/latke.properties
+54
-50
war/h2/src/main/resources/latke.properties
war/h2/src/main/resources/latke.properties
+54
-50
war/h2/src/main/resources/local.properties
war/h2/src/main/resources/local.properties
+1
-4
war/mysql/src/main/resources/latke.properties
war/mysql/src/main/resources/latke.properties
+5
-1
war/mysql/src/main/resources/local.properties
war/mysql/src/main/resources/local.properties
+1
-5
No files found.
core/src/main/java/org/b3log/solo/service/PreferenceMgmtService.java
View file @
7839d204
...
@@ -50,7 +50,7 @@ import static org.b3log.solo.model.Preference.*;
...
@@ -50,7 +50,7 @@ import static org.b3log.solo.model.Preference.*;
* Preference management service.
* Preference management service.
*
*
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @version 1.0.0.
5, May 16, 2012
* @version 1.0.0.
6, Apr 1, 2013
* @since 0.4.0
* @since 0.4.0
*/
*/
public
final
class
PreferenceMgmtService
{
public
final
class
PreferenceMgmtService
{
...
@@ -180,7 +180,7 @@ public final class PreferenceMgmtService {
...
@@ -180,7 +180,7 @@ public final class PreferenceMgmtService {
}
}
}
}
final
String
maxPageCntStr
=
Latkes
.
get
LocalProperty
(
"cache.maxPageCnt"
);
final
String
maxPageCntStr
=
Latkes
.
get
MaxPageCacheCnt
(
);
if
(
Integer
.
valueOf
(
maxPageCntStr
)
<=
0
)
{
if
(
Integer
.
valueOf
(
maxPageCntStr
)
<=
0
)
{
preference
.
put
(
PAGE_CACHE_ENABLED
,
false
);
preference
.
put
(
PAGE_CACHE_ENABLED
,
false
);
...
...
core/src/test/resources/latke.properties
View file @
7839d204
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#
#
# Description: B3log Latke configurations for test (GAE runtime).
# Description: B3log Latke configurations for test (GAE runtime).
# Version: 1.0.0.
1, May 2, 2012
# Version: 1.0.0.
2, Apr 1, 2013
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -51,5 +51,9 @@ cache=GAE
...
@@ -51,5 +51,9 @@ cache=GAE
# userService=GAE
# userService=GAE
userService
=
LOCAL
userService
=
LOCAL
#### Cache ####
cache.maxPageCnt
=
128
cache.maxDataCnt
=
128
#### Static resource version ####
#### Static resource version ####
staticResourceVersion
=
201206280945
staticResourceVersion
=
201206280945
\ No newline at end of file
war/bae/src/main/resources/latke.properties
View file @
7839d204
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#
#
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.
7, Sep 7, 2012
# Version: 1.0.0.
8, Apr 1, 2013
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -48,5 +48,9 @@ cache=BAE
...
@@ -48,5 +48,9 @@ cache=BAE
#### User Service Implementation ####
#### User Service Implementation ####
userService
=
LOCAL
userService
=
LOCAL
#### Cache ####
cache.maxPageCnt
=
128
cache.maxDataCnt
=
128
#### Static resource version ####
#### Static resource version ####
staticResourceVersion
=
201211021410
staticResourceVersion
=
201211021410
\ No newline at end of file
war/bae/src/main/resources/local.properties
View file @
7839d204
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
# Description: B3log Solo local environment configurations. Configures this file
# Description: B3log Solo local environment configurations. Configures this file
# if B3log Solo runs on a standard Servlet container or Baidu App Engine,
# if B3log Solo runs on a standard Servlet container or Baidu App Engine,
# it is unnecessary to care this file if B3log Solo runs on Google App Engine.
# it is unnecessary to care this file if B3log Solo runs on Google App Engine.
# Version: 1.0.2.
2, Jan 23, 2013
# Version: 1.0.2.
3, Apr 1, 2013
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -44,7 +44,3 @@ jdbc.transactionIsolation=READ_COMMITTED
...
@@ -44,7 +44,3 @@ jdbc.transactionIsolation=READ_COMMITTED
# The specific table name prefix
# The specific table name prefix
jdbc.tablePrefix
=
b3_solo
jdbc.tablePrefix
=
b3_solo
#### Cache ####
cache.maxPageCnt
=
128
cache.maxDataCnt
=
128
\ No newline at end of file
war/gae/src/main/resources/latke.properties
View file @
7839d204
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#
#
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.
6, Aug 14, 2012
# Version: 1.0.0.
7, Apr 1, 2013
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -47,5 +47,9 @@ cache=GAE
...
@@ -47,5 +47,9 @@ cache=GAE
#### User Service Implementation ####
#### User Service Implementation ####
userService
=
LOCAL
userService
=
LOCAL
#### Cache ####
cache.maxPageCnt
=
1024000
cache.maxDataCnt
=
1024000
#### Static resource version ####
#### Static resource version ####
staticResourceVersion
=
201211021410
staticResourceVersion
=
201211021410
\ No newline at end of file
war/h2/src/main/resources/latke.properties
View file @
7839d204
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#
#
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.
6, Aug 14, 2012
# Version: 1.0.0.
7, Apr 1, 2013
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -47,5 +47,9 @@ cache=LOCAL
...
@@ -47,5 +47,9 @@ cache=LOCAL
#### User Service Implementation ####
#### User Service Implementation ####
userService
=
LOCAL
userService
=
LOCAL
#### Cache ####
cache.maxPageCnt
=
128
cache.maxDataCnt
=
128
#### Static resource version ####
#### Static resource version ####
staticResourceVersion
=
201211021410
staticResourceVersion
=
201211021410
\ No newline at end of file
war/h2/src/main/resources/local.properties
View file @
7839d204
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
# Description: B3log Solo local environment configurations. Configures this file
# Description: B3log Solo local environment configurations. Configures this file
# if B3log Solo runs on a standard Servlet container or Baidu App Engine,
# if B3log Solo runs on a standard Servlet container or Baidu App Engine,
# it is unnecessary to care this file if B3log Solo runs on Google App Engine.
# it is unnecessary to care this file if B3log Solo runs on Google App Engine.
# Version: 1.0.2.
3, Jan 23
, 2013
# Version: 1.0.2.
4, Apr 1
, 2013
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -44,6 +44,3 @@ jdbc.transactionIsolation=READ_COMMITTED
...
@@ -44,6 +44,3 @@ jdbc.transactionIsolation=READ_COMMITTED
# The specific table name prefix
# The specific table name prefix
jdbc.tablePrefix
=
jdbc.tablePrefix
=
#### Cache ####
cache.maxPageCnt
=
128
cache.maxDataCnt
=
128
war/mysql/src/main/resources/latke.properties
View file @
7839d204
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#
#
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.0.0.
6, Aug 14, 2012
# Version: 1.0.0.
7, Apr 1, 2013
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -47,5 +47,9 @@ cache=LOCAL
...
@@ -47,5 +47,9 @@ cache=LOCAL
#### User Service Implementation ####
#### User Service Implementation ####
userService
=
LOCAL
userService
=
LOCAL
#### Cache ####
cache.maxPageCnt
=
128
cache.maxDataCnt
=
128
#### Static resource version ####
#### Static resource version ####
staticResourceVersion
=
201211021410
staticResourceVersion
=
201211021410
\ No newline at end of file
war/mysql/src/main/resources/local.properties
View file @
7839d204
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
# Description: B3log Solo local environment configurations. Configures this file
# Description: B3log Solo local environment configurations. Configures this file
# if B3log Solo runs on a standard Servlet container or Baidu App Engine,
# if B3log Solo runs on a standard Servlet container or Baidu App Engine,
# it is unnecessary to care this file if B3log Solo runs on Google App Engine.
# it is unnecessary to care this file if B3log Solo runs on Google App Engine.
# Version: 1.0.2.
3, Feb 26
, 2013
# Version: 1.0.2.
4, Apr 1
, 2013
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -45,7 +45,3 @@ jdbc.transactionIsolation=READ_COMMITTED
...
@@ -45,7 +45,3 @@ jdbc.transactionIsolation=READ_COMMITTED
# The specific table name prefix
# The specific table name prefix
jdbc.tablePrefix
=
jdbc.tablePrefix
=
#### Cache ####
cache.maxPageCnt
=
128
cache.maxDataCnt
=
128
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment