Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
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
Commits
abc99a0e
Commit
abc99a0e
authored
Sep 05, 2013
by
Van
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.6.5' of
https://github.com/b3log/b3log-solo
into 0.6.5
parents
d8924a03
f362e925
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
9 deletions
+16
-9
core/src/main/java/org/b3log/solo/api/symphony/CommentReceiver.java
...ain/java/org/b3log/solo/api/symphony/CommentReceiver.java
+2
-1
core/src/main/java/org/b3log/solo/processor/LoginProcessor.java
...rc/main/java/org/b3log/solo/processor/LoginProcessor.java
+1
-0
war/pom.xml
war/pom.xml
+6
-1
war/src/main/webapp/article-pwd.ftl
war/src/main/webapp/article-pwd.ftl
+1
-1
war/src/main/webapp/js/admin/latkeAdmin.js
war/src/main/webapp/js/admin/latkeAdmin.js
+1
-1
war/src/main/webapp/js/admin/latkeAdmin.min.js
war/src/main/webapp/js/admin/latkeAdmin.min.js
+1
-1
war/src/main/webapp/kill-browser.ftl
war/src/main/webapp/kill-browser.ftl
+1
-1
war/src/main/webapp/login.ftl
war/src/main/webapp/login.ftl
+1
-1
war/src/main/webapp/register.ftl
war/src/main/webapp/register.ftl
+1
-1
war/src/main/webapp/reset-pwd.ftl
war/src/main/webapp/reset-pwd.ftl
+1
-1
No files found.
core/src/main/java/org/b3log/solo/api/symphony/CommentReceiver.java
View file @
abc99a0e
...
@@ -59,7 +59,7 @@ import org.json.JSONObject;
...
@@ -59,7 +59,7 @@ import org.json.JSONObject;
* Comment receiver (from B3log Symphony).
* Comment receiver (from B3log Symphony).
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.0.0.
7, Jul 10
, 2013
* @version 1.0.0.
8, Aug 29
, 2013
* @since 0.5.5
* @since 0.5.5
*/
*/
@RequestProcessor
@RequestProcessor
...
@@ -79,6 +79,7 @@ public class CommentReceiver {
...
@@ -79,6 +79,7 @@ public class CommentReceiver {
/**
/**
* Comment repository.
* Comment repository.
*/
*/
@Inject
private
static
CommentRepository
commentRepository
;
private
static
CommentRepository
commentRepository
;
/**
/**
...
...
core/src/main/java/org/b3log/solo/processor/LoginProcessor.java
View file @
abc99a0e
...
@@ -162,6 +162,7 @@ public class LoginProcessor {
...
@@ -162,6 +162,7 @@ public class LoginProcessor {
return
;
return
;
}
}
renderPage
(
context
,
"login.ftl"
,
destinationURL
,
request
);
renderPage
(
context
,
"login.ftl"
,
destinationURL
,
request
);
}
}
...
...
war/pom.xml
View file @
abc99a0e
...
@@ -62,8 +62,13 @@
...
@@ -62,8 +62,13 @@
<artifactId>
maven-jetty-plugin
</artifactId>
<artifactId>
maven-jetty-plugin
</artifactId>
<version>
6.1.22
</version>
<version>
6.1.22
</version>
<configuration>
<configuration>
<connectors>
<connector
implementation=
"org.mortbay.jetty.nio.SelectChannelConnector"
>
<port>
8080
</port>
</connector>
</connectors>
<stopKey>
stop
</stopKey>
<stopKey>
stop
</stopKey>
<stopPort>
450
0
</stopPort>
<stopPort>
450
2
</stopPort>
<webAppSourceDirectory>
../src/main/webapp
</webAppSourceDirectory>
<webAppSourceDirectory>
../src/main/webapp
</webAppSourceDirectory>
<classesDirectory>
${basedir}/target/${project.build.finalName}/WEB-INF/classes
</classesDirectory>
<classesDirectory>
${basedir}/target/${project.build.finalName}/WEB-INF/classes
</classesDirectory>
<contextPath>
/
</contextPath>
<contextPath>
/
</contextPath>
...
...
war/src/main/webapp/article-pwd.ftl
View file @
abc99a0e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<title>
${articleViewPwdLabel}
</title>
<title>
${articleViewPwdLabel}
</title>
<meta
name=
"keywords"
content=
"
GAE
博客,GAE blog,b3log"
/>
<meta
name=
"keywords"
content=
"
Java
博客,GAE blog,b3log"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
...
...
war/src/main/webapp/js/admin/latkeAdmin.js
View file @
abc99a0e
...
@@ -3542,7 +3542,7 @@ admin.userList = {
...
@@ -3542,7 +3542,7 @@ admin.userList = {
}
else
if
(
!
/^
((([
a-z
]
|
\d
|
[
!#
\$
%&'
\*\+\-\/
=
\?\^
_`{
\|
}~
]
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])
+
(\.([
a-z
]
|
\d
|
[
!#
\$
%&'
\*\+\-\/
=
\?\^
_`{
\|
}~
]
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])
+
)
*
)
|
((\x
22
)((((\x
20|
\x
09
)
*
(\x
0d
\x
0a
))?(\x
20|
\x
09
)
+
)?(([\x
01-
\x
08
\x
0b
\x
0c
\x
0e-
\x
1f
\x
7f
]
|
\x
21|
[\x
23-
\x
5b
]
|
[\x
5d-
\x
7e
]
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])
|
(\\([\x
01-
\x
09
\x
0b
\x
0c
\x
0d-
\x
7f
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
08
\x
0b
\x
0c
\x
0e-
\x
1f
\x
7f
]
|
\x
21|
[\x
23-
\x
5b
]
|
[\x
5d-
\x
7e
]
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])
|
(\\([\x
01-
\x
09
\x
0b
\x
0c
\x
0d-
\x
7f
]
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
]))))
*
(((\x
20|
\x
09
)
*
(\x
0d
\x
0a
))?(\x
20|
\x
09
)
+
)?(\x
22
)))
@
((([
a-z
]
|
\d
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])
|
(([
a-z
]
|
\d
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])([
a-z
]
|
\d
|-|
\.
|_|~|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])
*
([
a-z
]
|
\d
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])))\.)
+
(([
a-z
]
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])
|
(([
a-z
]
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])([
a-z
]
|
\d
|-|
\.
|_|~|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])
*
([
a-z
]
|
[\u
00A0-
\u
D7FF
\u
F900-
\u
FDCF
\u
FDF0-
\u
FFEF
])))\.?
$/i
.
test
(
$
(
"
#userEmail
"
+
status
).
val
()))
{
$
(
"
#tipMsg
"
).
text
(
Label
.
mailInvalidLabel
);
$
(
"
#tipMsg
"
).
text
(
Label
.
mailInvalidLabel
);
$
(
"
#userEmail
"
+
status
).
focus
();
$
(
"
#userEmail
"
+
status
).
focus
();
}
else
if
(
$
(
"
#userPassword
"
+
status
).
val
()
.
replace
(
/
\s
/g
,
""
)
===
""
)
{
}
else
if
(
$
(
"
#userPassword
"
+
status
).
val
()
===
""
)
{
$
(
"
#tipMsg
"
).
text
(
Label
.
passwordEmptyLabel
);
$
(
"
#tipMsg
"
).
text
(
Label
.
passwordEmptyLabel
);
$
(
"
#userPassword
"
+
status
).
focus
();
$
(
"
#userPassword
"
+
status
).
focus
();
}
else
{
}
else
{
...
...
war/src/main/webapp/js/admin/latkeAdmin.min.js
View file @
abc99a0e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
war/src/main/webapp/kill-browser.ftl
View file @
abc99a0e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<title>
${blogTitle}
</title>
<title>
${blogTitle}
</title>
<meta
name=
"keywords"
content=
"
GAE
博客,blog,b3log,kill IE6"
/>
<meta
name=
"keywords"
content=
"
Java
博客,blog,b3log,kill IE6"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客,Let's kill IE6"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客,Let's kill IE6"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
...
...
war/src/main/webapp/login.ftl
View file @
abc99a0e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<title>
${welcomeToSoloLabel} B3log Solo!
</title>
<title>
${welcomeToSoloLabel} B3log Solo!
</title>
<meta
name=
"keywords"
content=
"
GAE
博客,GAE blog,b3log"
/>
<meta
name=
"keywords"
content=
"
Java
博客,GAE blog,b3log"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
...
...
war/src/main/webapp/register.ftl
View file @
abc99a0e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<title>
${blogTitle}
</title>
<title>
${blogTitle}
</title>
<meta
name=
"keywords"
content=
"
GAE
博客,blog,b3log,kill IE6"
/>
<meta
name=
"keywords"
content=
"
Java
博客,blog,b3log,kill IE6"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客,用户注册"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客,用户注册"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
...
...
war/src/main/webapp/reset-pwd.ftl
View file @
abc99a0e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<title>
${forgotLabel} B3log Solo!
</title>
<title>
${forgotLabel} B3log Solo!
</title>
<meta
name=
"keywords"
content=
"
GAE
博客,GAE blog,b3log"
/>
<meta
name=
"keywords"
content=
"
Java
博客,GAE blog,b3log"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客"
/>
<meta
name=
"description"
content=
"An open source blog based on GAE Java,GAE Java 开源博客"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"owner"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
<meta
name=
"author"
content=
"B3log Team"
/>
...
...
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