Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit a3a0285

Browse files
committed
Merge pull request crowi#73 from crowi/wip-v1.4
v1.4.0
2 parents beb2332 + d6cd80e commit a3a0285

12 files changed

+41
-14
lines changed

CHANGES.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
CHANGES
22
========
33

4+
## 1.4.0
5+
6+
* Feature: Slack integration.
7+
* Feature: Page comment.
8+
* Feature: User page.
9+
* Feature: User bookmark page and created pages list.
10+
* Feature: Portal for list.
11+
* Feature: History diff (Thank you: @suzuki #65).
12+
* Feature: Image uploader for local server (Thank you: @riaf ).
13+
* Improve: List view styles.
14+
* Improve: Paste handler with `> ` line (Thank you: @suzuki #57).
15+
* Fix: Google Apps cliendId validation (Thank you: @suzutan #72).
16+
* Fix: Bug of detecting prefix of the path on list view.
17+
* And some fixes. (Thank you: @yuya-takeyama @takahashim)
18+
* Library Update: now Crowi doesn't depends on bower.
19+
420
## 1.3.1
521

622
* Fix: Logic of checking uploadable was broken.

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Crowi - The Simple & Powerful Communication Tool Based on Wiki
44
================================================================
55

66

7-
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
7+
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/crowi/crowi/tree/v1.4.0)
88

99
[![Circle CI](https://circleci.com/gh/crowi/crowi.svg?style=svg)](https://circleci.com/gh/crowi/crowi)
1010
[![Join the chat at https://gitter.im/crowi/general](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/crowi/general)
@@ -41,6 +41,7 @@ Dependencies
4141
* Amazon S3 (optional)
4242
* Facebook Application (optional)
4343
* Google Project (optional)
44+
* Slack App (optional)
4445

4546

4647
Start Up on Local

lib/views/admin/notification.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ <h4>1. Register Slack App</h4>
151151
</p>
152152
<dl class="dl-horizontal">
153153
<dt>App Name</dt> <dd><code>Crowi</code> </dd>
154-
<dt>Icon</dt> <dd>Upload this image as the icon (Free to download and use it) =&gt; <img src=""></dd>
154+
<dt>Icon</dt> <dd>Upload this image as the icon (Free to download and use it) =&gt; <a href="https://github.com/crowi/crowi/tree/master/resource/logo">Crowi Logo</a></dd>
155155
<dt>Short description</dt> <dd><code>Crowi's Slack Notification Integration</code> </dd>
156156
<dt>Long description</dt> <dd><code>Crowi's Slack Notification Integration</code> </dd>
157157
</dl>
@@ -160,7 +160,8 @@ <h4>1. Register Slack App</h4>
160160
</p>
161161

162162
<h4>2. Get <code>clientId</code> and <code>clientSecret</code></h4>
163-
<h4>3. Configure Slack on this notification setting screen</h4>
163+
<h4>3. After clientId nad clientSecret set, click "Connect to Slack" button to start OAuth process.</h4>
164+
<h4>4. Configure Slack on this notification setting screen</h4>
164165
{% endif %}
165166

166167

lib/views/admin/slackauth.html

Whitespace-only changes.

lib/views/admin/slackauthstart.html

-1
This file was deleted.

lib/views/me/api_token.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
{% block html_title %}APIの設定 · {{ path }}{% endblock %}
55

66
{% block content_head %}
7-
<header id="page-header">
7+
<div class="header-wrap">
8+
<header id="page-header">
89
<h1 class="title" id="">ユーザー設定</h1>
9-
</header>
10+
</header>
11+
</div>
1012
{% endblock %}
1113

1214
{% block content_main %}

lib/views/me/index.html

+9-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
{% block html_title %}ユーザー設定 · {{ path }}{% endblock %}
44

55
{% block content_head %}
6-
<header id="page-header">
6+
<div class="header-wrap">
7+
<header id="page-header">
78
<h1 class="title" id="">ユーザー設定</h1>
8-
</header>
9+
</header>
10+
</div>
911
{% endblock %}
1012

1113
{% block content_main %}
@@ -120,11 +122,16 @@ <h1 class="title" id="">ユーザー設定</h1>
120122
新しい画像をアップロード
121123
</label>
122124
<div class="col-sm-9">
125+
{% if isUploadable() %}
123126
<form action="/_api/me/picture/upload" id="pictureUploadForm" method="post" class="form-horizontal" role="form" enctype="multipart/form-data">
124127
<input name="userPicture" type="file" accept="image/*">
125128
<div id="pictureUploadFormProgress">
126129
</div>
127130
</form>
131+
{% else %}
132+
* 画像をアップロードをするための設定がされていません。<br>
133+
* アップロードできるようにするには、AWS またはローカルアップロードの設定をしてください。<br>
134+
{% endif %}
128135
</div>
129136
</div>
130137
</fieldset>

lib/views/me/password.html

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
{% block html_title %}パスワードの設定 · {{ path }}{% endblock %}
44

55
{% block content_head %}
6-
<header id="page-header">
7-
<h1 class="title" id="">ユーザー設定</h1>
8-
</header>
6+
<div class="header-wrap">
7+
<header id="page-header">
8+
<h1 class="title" id="">ユーザー設定</h1>
9+
</header>
10+
</div>
911
{% endblock %}
1012

1113
{% block content_main %}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "crowi",
3-
"version": "1.3.1",
3+
"version": "1.4.0",
44
"description": "The simple & powerful Wiki",
55
"tags": [
66
"wiki",

resource/css/_wiki.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ div.body {
4242
.revision-head-link {
4343
display: none;
4444
font-size: 0.6em;
45-
padding-top: 8px;
45+
padding-top: 4px;
4646
padding-left: 10px;
4747
}
4848
&:hover .revision-head-link {

resource/js/crowi.js

-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ Crowi.rendererType.markdown.prototype = {
183183
preFormatMarkdown: function(content){
184184
var x = content
185185
.replace(/^(#{1,})([^\s]+)?(.*)$/gm, '$1 $2$3') // spacer for section
186-
.replace(/^(\s*)(\*|\-)([^\s]+)?(.*)$/gm, '$1$2 $3$4') // spacer for list
187186
.replace(/>[\s]*\n>[\s]*\n/g, '> <br>\n> \n');
188187
return x;
189188
},

resource/logo/crowi-logo-840.png

41.5 KB
Loading

0 commit comments

Comments
 (0)