openpne-ospt / opopensocialplugin Goto Github PK
View Code? Open in Web Editor NEWOpenPNE3上でOpenSocialAPIや、ガジェットアプリを提供するためのプラグインです。
Home Page: http://redmine.openpne.jp/projects/plg-open-social
License: Apache License 2.0
OpenPNE3上でOpenSocialAPIや、ガジェットアプリを提供するためのプラグインです。
Home Page: http://redmine.openpne.jp/projects/plg-open-social
License: Apache License 2.0
http://sns.openpne.jp/?m=pc&a=page_fh_diary&target_c_diary_id=22537 にて報告がありました
# cp config/ProjectConfiguration.class.php.sample config/ProjectCo
nfiguration.class.php
# ./symfony openpne:install
|
|
Is it OK to start this task? (y/n)
y
> > plugin installing plugin "opAuthMailAddressPlugin"
> > sfPearFrontendPlugin Attempting to discover channel "plugins.openpne.jp"...
> > |
> > |
> > |
> > |
> > doctrine created tables successfully
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes. Failing Query: CREATE TABLE member_application_setting (id BIGINT AUTO_INCREMENT, member_application_id BIGINT NOT NULL, type VARCHAR(255) DEFAULT 'application' NOT NULL, name VARCHAR(255) NOT NULL, value TEXT, UNIQUE INDEX name_UNIQUE_idx (member_application_id, type, name), INDEX member_application_id_idx (member_application_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 ENGINE = INNODB
OpenPNE3.1.xからORMがDoctrineに変更されたため対応する
ZnedFrameworkをプラグインのlib/vendorに入れて動くようにする。
(OpenPNE3のコアを書き換えずに済むようにする。)
既に対象メンバーがアプリを登録しているじょうたいで、Application::addToMember()により、アプリ追加の処理を行うと、第2引数の設定項目が正しく保存されない。
現在の動作に直接作用するものではない。
OSAPIに対応
OpenPNE3.1.2から利用されているプリセットプロフィール項目を
APIに連動するようにする。
OAuthガジェットが動作できるようにする
RESTful APIで、PersistenceAPI等を操作出来るようにするために、
アプリごとにOAuth認可を用意するようにする
現在は、メンバー側からのアプリ追加を許可すると、特に管理者の確認なしにアプリが追加出来てしまう。
SNS管理者の認可が必要なモードも用意する
複数のDBを設定しているときに、opOpenSocial:generate-key でのキーフレーズがDBに保存されない
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.