Enhancement(機能追加・改善) #158
トピック・トピックコメントでの画像投稿に対応する
100%
関係しているリビジョン
refs #158:コミュニティ画像投稿機能開発の差分の取り込み(opCommunityTopicPlugin-100628[git diff fc81fbb569d1a5f12a43^.])
(refs #158) create a new topic comment by mobile mail
(refs #158)post a topic comment with images
(refs #158) fixed bugs: the topic's images are not displayed correctly
(refs #158) deleted unnecessary uploading forms in mobile mode
refs #158:コミュニティ画像投稿機能開発の差分の取り込み(opCommunityTopicPlugin-100628[git diff fc81fbb569d1a5f12a43.])
(refs #158)post a topic comment with images
(refs #158) fixed bugs: the topic's images are not displayed correctly
(refs #158) deleted unnecessary uploading forms in mobile mode
(refs #158)add migrate source
fixes a form of a community topic is not displayed correctly (refs #158)
added missing files (refs #158)
added the auto-generated files (refs #158)
added ability to attach photo to community event (refs #158)
added ability to attach photo to community event comment (refs #158)
changed migration file for the file_id column to allow NULL (refs #158)
replaced getCommunity*ImagesJoinFile() to getImages() (refs #158)
設定値に app_ というプレフィックスがついていなかったのを修正 (refs #158)
r13579 で削除されていた opCommunityTopicPluginTopicCommentActions の @author を戻した (refs #158)
ライセンス表記やクラスレベルの PHPDoc を追加、修正 (refs #158)
使用していないフォームクラスの記述を削除 (refs #158)
携帯版でもコミュニティトピックコメントの画像投稿フォームフィールドが表示されていたのを修正 (refs #158)
携帯版での画像の表示が適切ではなかったのを修正 (refs #158)
履歴
#2 Kousuke Ebihara がほぼ14年前に更新
- ステータス を New(新規) から Accepted(着手) に変更
- 担当者 を Kousuke Ebihara にセット
- 対象バージョン を 1.0.2 にセット
#3 Shingo Yamada が13年以上前に更新
引き受けます
#5 Shingo Yamada が13年以上前に更新
- r13560 :コミュニティ画像投稿機能開発の差分の取り込み(opCommunityTopicPlugin-100628[git diff fc81fbb569d1a5f12a43
- 元リポジトリ:http://github.com/niryuu/opCommunityTopicPlugin-100628/commits/master
#6 Shingo Yamada が13年以上前に更新
#7 tu nguyen ngoc が13年以上前に更新
携帯メールからコミュニティトピックコメントの画像投稿機能
元リポジトリ:http://github.com/tunn/opCommunityTopicPlugin-100628
追加した部分:git diff 09033be5c1ea8b88e680
#8 Minoru Takai が13年以上前に更新
git clone git://github.com/openpne/OpenPNE3.git
のmasterブランチのソースをインストールして、opCommunityTopicPlugin をアンインストールし、
note-5 にある http://github.com/niryuu/opCommunityTopicPlugin-100628/commits/master
のソースを plugins 下に入れて再インストールした環境のSNSで確認しました。
現状の挙動をPC版で確認してみましたが、トピック作成時に画像を複数追加すると意図しない挙動となったため原因を追っていました。
mysql> select * from community_topic_image; +----+---------+---------+--------+ | id | post_id | file_id | number | +----+---------+---------+--------+ | 1 | 2 | 1 | 1 | | 2 | 2 | 2 | 2 | | 3 | 3 | 3 | 1 | | 4 | 3 | 4 | 2 | | 5 | 3 | 5 | 3 |
画像投稿をすると上記のテーブルに画像の追加分だけレコードが追加され、このレコードであれば、
- topic_id=2 に 画像1,2
- topic_id=3 に 画像3,4,5
が表示されるのが正しいはずですが、動作を確認した限りでは、
- topic_id=1 に 画像1
- topic_id=2 に 画像2
- topic_id=3 に 画像3
- topic_id=4 に 画像4
- topic_id=5 に 画像5
のようになっているようです。
plugins/opCommunityTopicPlugin/apps/pc_frontend/modules/communityTopic/templates/showSuccess.php
のソースを追ってみましたがこの不具合を生じさせている箇所を特定できませんでした。
ここまでの内容を残しておきます。
#9 tu nguyen ngoc が13年以上前に更新
PC版コミュニティトピックコメントの画像投稿機能
http://github.com/tunn/opCommunityTopicPlugin-100628/commit/700df9d6b3cb0dd4094b9b41ad4cd358e2527cf3
元リポジトリ:http://github.com/tunn/opCommunityTopicPlugin-100628
追加した部分:git diff 1726cbd9ee015c21da0f
#10 tu nguyen ngoc が13年以上前に更新
Minoru Takai は書きました:
git clone git://github.com/openpne/OpenPNE3.git
のmasterブランチのソースをインストールして、opCommunityTopicPlugin をアンインストールし、
note-5 にある http://github.com/niryuu/opCommunityTopicPlugin-100628/commits/master
のソースを plugins 下に入れて再インストールした環境のSNSで確認しました。現状の挙動をPC版で確認してみましたが、トピック作成時に画像を複数追加すると意図しない挙動となったため原因を追っていました。
[...]
画像投稿をすると上記のテーブルに画像の追加分だけレコードが追加され、このレコードであれば、
- topic_id=2 に 画像1,2
- topic_id=3 に 画像3,4,5
が表示されるのが正しいはずですが、動作を確認した限りでは、
- topic_id=1 に 画像1
- topic_id=2 に 画像2
- topic_id=3 に 画像3
- topic_id=4 に 画像4
- topic_id=5 に 画像5
のようになっているようです。
plugins/opCommunityTopicPlugin/apps/pc_frontend/modules/communityTopic/templates/showSuccess.php
のソースを追ってみましたがこの不具合を生じさせている箇所を特定できませんでした。
ここまでの内容を残しておきます。
バグ修正:
http://github.com/tunn/opCommunityTopicPlugin-100628/commit/47e1590f2c090f75fb2be0d89a7355f64319d302
元リポジトリ:http://github.com/tunn/opCommunityTopicPlugin-100628
追加した部分:git diff 700df9d6b3cb0dd4094b
#11 Shingo Yamada が13年以上前に更新
以下のリビジョンでtrunkに取り込みました
r13578 / r13580 - r13582
#12 Shingo Yamada が13年以上前に更新
r13586 でmigrationを追加しました
#13 Kousuke Ebihara が13年以上前に更新
- ステータス を Accepted(着手) から Fixed(完了) に変更
- 対象バージョン を 1.0.2 から 1.0.0 に変更
- 進捗率 を 0 から 100 に変更