efault / elggpad-lite Goto Github PK
View Code? Open in Web Editor NEWEtherpad Lite integration for elgg 1.8
License: GNU General Public License v2.0
Etherpad Lite integration for elgg 1.8
License: GNU General Public License v2.0
Hello,
This is the message i have while viewing a created pad. If it can help, here's the whole dialog logs from the time i refresh the page to the time it's fully loaded :
[2011-12-27 06:09:59.200] [INFO] API - REQUEST, createGroupIfNotExistsFor, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","groupMapper":"35"}
[2011-12-27 06:09:59.200] [INFO] API - RESPONSE, createGroupIfNotExistsFor, {"code":0,"message":"ok","data":{"groupID":"g.JLKrskwrU1VNqoTK"}}
[2011-12-27 06:09:59.201] [INFO] http - 200, GET /api/1/createGroupIfNotExistsFor?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&groupMapper=35
[2011-12-27 06:09:59.203] [INFO] API - REQUEST, createAuthorIfNotExistsFor, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","authorMapper":"jeremy"}
[2011-12-27 06:09:59.204] [INFO] API - RESPONSE, createAuthorIfNotExistsFor, {"code":0,"message":"ok","data":{"authorID":"a.SbN3AJ2JdHhQ23mG"}}
[2011-12-27 06:09:59.204] [INFO] http - 200, GET /api/1/createAuthorIfNotExistsFor?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&authorMapper=jeremy
[2011-12-27 06:09:59.206] [INFO] API - REQUEST, createSession, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","groupID":"g.JLKrskwrU1VNqoTK","authorID":"a.SbN3AJ2JdHhQ23mG","validUntil":"1324995240"}
[2011-12-27 06:09:59.207] [INFO] API - RESPONSE, createSession, {"code":0,"message":"ok","data":{"sessionID":"s.4UWKXvMYtch6s3KY"}}
[2011-12-27 06:09:59.207] [INFO] http - 200, GET /api/1/createSession?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&groupID=g.JLKrskwrU1VNqoTK&authorID=a.SbN3AJ2JdHhQ23mG&validUntil=1324995240
[2011-12-27 06:09:59.216] [INFO] API - REQUEST, createGroupIfNotExistsFor, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","groupMapper":"35"}
[2011-12-27 06:09:59.216] [INFO] API - RESPONSE, createGroupIfNotExistsFor, {"code":0,"message":"ok","data":{"groupID":"g.JLKrskwrU1VNqoTK"}}
[2011-12-27 06:09:59.216] [INFO] http - 200, GET /api/1/createGroupIfNotExistsFor?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&groupMapper=35
[2011-12-27 06:09:59.217] [INFO] API - REQUEST, createAuthorIfNotExistsFor, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","authorMapper":"jeremy"}
[2011-12-27 06:09:59.217] [INFO] API - RESPONSE, createAuthorIfNotExistsFor, {"code":0,"message":"ok","data":{"authorID":"a.SbN3AJ2JdHhQ23mG"}}
[2011-12-27 06:09:59.218] [INFO] http - 200, GET /api/1/createAuthorIfNotExistsFor?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&authorMapper=jeremy
[2011-12-27 06:09:59.219] [INFO] API - REQUEST, createSession, {"apikey":"cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8","groupID":"g.JLKrskwrU1VNqoTK","authorID":"a.SbN3AJ2JdHhQ23mG","validUntil":"1324995240"}
[2011-12-27 06:09:59.220] [INFO] API - RESPONSE, createSession, {"code":0,"message":"ok","data":{"sessionID":"s.IiYQHIZdI5NLdvfz"}}
[2011-12-27 06:09:59.220] [INFO] http - 200, GET /api/1/createSession?apikey=cdwhSiZq6yCkjtqduOaLkviA7zSFzEB8&groupID=g.JLKrskwrU1VNqoTK&authorID=a.SbN3AJ2JdHhQ23mG&validUntil=1324995240
[2011-12-27 06:09:59.783] [INFO] socket.io - handshake authorized '4878189191128227010'
[2011-12-27 06:09:59.914] [WARN] message - Authentication try failed:{"component":"pad","type":"CLIENT_READY","padId":"g.JLKrskwrU1VNqoTK$4eea248197822","sessionID":null,"password":null,"token":"t.vjcO7HRi2VpFTh9mAvY5","protocolVersion":2}
[2011-12-27 06:09:59.916] [INFO] message - to 4878189191128227010: {"accessStatus":"deny"}
And i can use etherpad-lite without any problem by accessing it thru its URL (wich i put in the config options with the API key).
Hi,
there should be a second Url-Inputfield for Users who limit their Etherpad-lite installation to local connections. (use this setting in getaddress() in classes\elggpad.php)
If you create a pad, it is only editable by you (the owner) and an Elgg admin. It is only read-only to other Elgg users. Is this an Elgg issue or something in EtherPad Lite?
I have PHP WARNING:(MSD): "Missing argument 2 for EtherpadLiteClient::createAuthorIfNotExistsFor(), called in X:\home\localhost\www\e18\elgg\mod\etherpad\classes\ElggPad.php on line 92 and defined" in file X:\home\localhost\www\e18\elgg\mod\etherpad\vendors\etherpad-lite-client.php (line 128)
And changed it in file
vendors\etherpad-lite-client.php
Replaced lines
128-138
public function createAuthorIfNotExistsFor($authorMapper, $name){
return $this->call("createAuthorIfNotExistsFor", array(
"authorMapper" => $authorMapper,
"name" => $name
));
}
with
public function createAuthorIfNotExistsFor($authorID){
return $this->call("createAuthorIfNotExistsFor", array(
"authorID" => $authorID
));
}
It works for me!
Is there any change, that this plugin gets updated for the new version ?
best regards
As of 0.6.0 when permissions were introduced when editing an existing pads permissions instead of applying it to the existing pad a new empty pad is created.
If you dont have the pages plugin enabled, the write permissions box does not appear in the create or edit page
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.