lsowen / ep_auth_author Goto Github PK
View Code? Open in Web Editor NEWHooks into etherpad-lite authentication and gives users the same authorId each time they log in
License: GNU General Public License v2.0
Hooks into etherpad-lite authentication and gives users the same authorId each time they log in
License: GNU General Public License v2.0
Version number: 1.6.0
Git sha: 602fd46
authentication is not accepted when "is_admin": false,
is set for the user;
debug output:
Nov 20 16:46:43 avdvds systemd[1]: Started Etherpad-lite, the collaborative editor..
Nov 20 16:47:11 avdvds nodejs[23911]: [2016-11-20 16:47:11.269] [DEBUG] ep_auth_author - authenticate called
Nov 20 16:47:20 avdvds nodejs[23911]: [2016-11-20 16:47:20.274] [DEBUG] ep_auth_author - authenticate called
Nov 20 16:47:20 avdvds nodejs[23911]: [2016-11-20 16:47:20.278] [DEBUG] ep_auth_author - retrieved authorId null for username author/wamserma
Nov 20 17:06:11 avdvds nodejs[23911]: [2016-11-20 17:06:11.393] [DEBUG] ep_auth_author - authenticate called
Nov 20 17:06:17 avdvds nodejs[23911]: [2016-11-20 17:06:17.666] [DEBUG] ep_auth_author - authenticate called
Nov 20 17:06:17 avdvds nodejs[23911]: [2016-11-20 17:06:17.668] [DEBUG] ep_auth_author - retrieved authorId null for username author/wamserma
Nov 20 17:06:30 avdvds nodejs[23911]: [2016-11-20 17:06:30.737] [DEBUG] ep_auth_author - authenticate called
Nov 20 17:06:31 avdvds nodejs[23911]: [2016-11-20 17:06:31.770] [DEBUG] ep_auth_author - authenticate called
Nov 20 17:07:05 avdvds nodejs[23911]: [2016-11-20 17:07:05.449] [DEBUG] ep_auth_author - authenticate called
Nov 20 17:07:10 avdvds nodejs[23911]: [2016-11-20 17:07:10.120] [DEBUG] ep_auth_author - authenticate called
Nov 20 17:07:10 avdvds nodejs[23911]: [2016-11-20 17:07:10.122] [DEBUG] ep_auth_author - retrieved authorId null for username author/wamserma
Nov 20 17:07:19 avdvds nodejs[23911]: [2016-11-20 17:07:19.116] [DEBUG] ep_auth_author - authenticate called
Nov 20 17:07:55 avdvds nodejs[23911]: [2016-11-20 17:07:55.388] [DEBUG] ep_auth_author - authenticate called
Nov 20 17:08:10 avdvds nodejs[23911]: [2016-11-20 17:08:10.250] [DEBUG] ep_auth_author - handleMessage called
Nov 20 17:08:10 avdvds nodejs[23911]: [2016-11-20 17:08:10.253] [INFO] ep_auth_author - Set author a.SmAjyViHZtQOaQsZ for user author/wamserma
Nov 20 17:08:10 avdvds nodejs[23911]: [2016-11-20 17:08:10.255] [DEBUG] ep_auth_author - Set AuthorName to default value of undefined for author a.SmAjyViHZtQOaQsZ
Nov 20 17:08:23 avdvds nodejs[23911]: [2016-11-20 17:08:23.467] [DEBUG] ep_auth_author - handleMessage called
Nov 20 17:08:23 avdvds nodejs[23911]: [2016-11-20 17:08:23.469] [INFO] ep_auth_author - Set author a.SmAjyViHZtQOaQsZ for user author/wamserma
Nov 20 17:08:23 avdvds nodejs[23911]: [2016-11-20 17:08:23.471] [DEBUG] ep_auth_author - Set AuthorName to default value of undefined for author a.SmAjyViHZtQOaQsZ
Nov 20 17:08:41 avdvds nodejs[23911]: [2016-11-20 17:08:41.054] [DEBUG] ep_auth_author - handleMessage called
Nov 20 17:08:41 avdvds nodejs[23911]: [2016-11-20 17:08:41.059] [INFO] ep_auth_author - Set author a.SmAjyViHZtQOaQsZ for user author/wamserma
Nov 20 17:08:41 avdvds nodejs[23911]: [2016-11-20 17:08:41.060] [DEBUG] ep_auth_author - Set AuthorName to default value of undefined for author a.SmAjyViHZtQOaQsZ
Nov 20 17:08:51 avdvds nodejs[23911]: [2016-11-20 17:08:51.735] [DEBUG] ep_auth_author - handleMessage called
Nov 20 17:08:51 avdvds nodejs[23911]: [2016-11-20 17:08:51.737] [INFO] ep_auth_author - Set author a.SmAjyViHZtQOaQsZ for user author/wamserma
Nov 20 17:08:51 avdvds nodejs[23911]: [2016-11-20 17:08:51.739] [DEBUG] ep_auth_author - Set AuthorName to default value of undefined for author a.SmAjyViHZtQOaQsZ
The github repo contains a documentation fix to recommend the "author_name" setting instead of "authorName", and identifies itself as 0.0.2. The released npm identifies itself as 0.0.4, but does not contain this documentation fix (which is very confusing and probably makes the plugin unusable to most people!).
Did you forget to release the latest repo? Is there another repo that 0.0.4 was released from, which does not contain the documentation fix?
Hello,
the authorName setting doesnt do anything at all,
Users still have no author name.
It also doesn't work without the authorName
Here is an example:
"ep_auth_author": {
"prefix": "author/"
},
"users": {
"author/test": {
"authorName": "TestUser",
"password": "changeme",
"is_admin": false
},
}
This leads to the user being unnamed.
which is the same if i do :
"ep_auth_author": {
"prefix": "author/"
},
"users": {
"author/test": {
// "authorName": "TestUser",
"password": "changeme",
"is_admin": false
},
}
Thank you
Hello lsowen,
First of all, thank you for this awesome plugin!!
Is it possible to use ep_auth_author with ep_ldapauth plugin? It would be incredible to access etherpad-lite with ep_ldapauth and "remember" the authorname and colors for every user with your plugin.
Thank you very much.
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.