aoberegg / ep_user_pad_frontend Goto Github PK
View Code? Open in Web Editor NEWUser Interface for Etherpad Lite
License: Apache License 2.0
User Interface for Etherpad Lite
License: Apache License 2.0
Hi !
I was wondering how could the users reset or get an email with a new password when this one has been forgotten.
In the file email.json, there is already a line made for it (I assumed) :
"resetpwmsg": "Your new Password for your etherpad Account: <password>",
"resetfrom": "[email protected]",
"resetsubject": "Password reset for Etherpad-lite",
So, when the user can trigger it or where should I go to activate such a feature ?
Thanks !
Hello,
My setup:
-Ubuntu
-Etherpad version from git: a676640
node js v0.10.37
npm 1.4.28
Etherpad crashes with log below.
Happens every time user click on activation link from email.
[2015-03-25 17:56:50.832] [INFO] ueberDB - Flushed 3 values
[2015-03-25 17:57:04.240] [ERROR] console - ReferenceError: fileName is not defined
at Query.mySqlErrorHandler (/opt/etherpad/local/etherpad/etherpad-lite/node_modules/ep_user_pad_frontend/hooks.js:42:9)
at Query.emit (events.js:117:20)
at Query.Sequence.end (/opt/etherpad/local/etherpad/etherpad-lite/node_modules/ep_user_pad_frontend/node_modules/mysql/lib/protocol/sequences/Sequence.js:70:12)
at Query.ErrorPacket (/opt/etherpad/local/etherpad/etherpad-lite/node_modules/ep_user_pad_frontend/node_modules/mysql/lib/protocol/sequences/Query.js:93:8)
at Protocol._parsePacket (/opt/etherpad/local/etherpad/etherpad-lite/node_modules/ep_user_pad_frontend/node_modules/mysql/lib/protocol/Protocol.js:172:24)
at Parser.write (/opt/etherpad/local/etherpad/etherpad-lite/node_modules/ep_user_pad_frontend/node_modules/mysql/lib/protocol/Parser.js:62:12)
at Protocol.write (/opt/etherpad/local/etherpad/etherpad-lite/node_modules/ep_user_pad_frontend/node_modules/mysql/lib/protocol/Protocol.js:37:16)
at Socket.ondata (stream.js:51:26)
at Socket.emit (events.js:117:20)
at Socket. (_stream_readable.js:765:14)
[2015-03-25 17:57:04.240] [INFO] console - graceful shutdown...
Hi !
I was looking around the code and I wanted to make a bit of personnal change for the registration process (due to personnal requierements). I found how to change the form and then the data send to "url+register". But, where is the file managing register ? I'd like to look at it to check are done the database insertions.
Thanks !
In all the .ejs files in templates dir, we have:
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
It should be replaced by:
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
(without the http:)
That way, "http://google.." is use when accessing the pad with http and "https://googe.."when accessing with https.
If not, when accessing with https, in Firefox, we have an error:
Blocage du chargement du contenu mixte actif (mixed active content) « http://fonts.googleapis.com/css?family=Open+Sans:400,700 »
See https://developer.mozilla.org/fr/docs/Security/MixedContent
Hi everyone,
i really like this plugin and would like to use it on my server to manage public and private pads, but i think it's missing a neat feature:
I'd like to be able to subscribe to public pads, so they will be displayed on my user dashboard, everytime i log in (maybe even sending change-notification via email or show a n indicator on the user dashboard).
:)
Hi i am just wondering if i can disable the email function of User Pad and if i disable it will i still be able to add users to a group currently i add users to a group and the server crashes but i was just thinking if their was a way around this.
I looked at the other post talking about this but nothing worked for me.
Well well well...
What an excellent plugin...
I needed it badly, so I made it work.
I fixed some stuffs and improve (to my point of view) others.
And I needed it in French.
As soon as you change your code to use i12n (locales dir), I can put the french translations myself if you want, but before that, and I 'm sure you already know that, there are some work to do to make it work that way.
.at2x('../images/close-cyan-12.png');
list-style-image: url(../images/users-cyan-16.png);
#wrapper {
min-width: 90%;
}
.inside {
width: 90%;
}
So, those 2 functions should be improved (hooks.js).
line 313: var converter = function (UNIX_timestamp) {
line 325: var converterPad = function (UNIX_timestamp) {
I'm sure you already know that too, but some functions exists several times, like to adjust the height of the iframe and that always a bad idea.
I'm not sure how really work the retina library (retina.js, a high-resolution image swapper), but I receive lots of:
"NetworkError: 404 Not Found - https://xxxxxx/static/plugins/ep_user_pad_frontend/static/images/[email protected]"
I think it's for all the images.
And I don't know if it's the library that adds the '@2x' at the end of the filename or not, if it's normal or if it means something is wrong with what I did.
Removed: <img src="./static/plugins/ep_user_pad_frontend/static/images/logo_tug_grey_white-01.png" alt="Etherpad" id="logo">
Added: <div style="clear: both"></div>
(just before the </header>)
And in static/css/styles.less file:
#sekMenu {
float: right;
}
#main {
padding-bottom: 56px;
}
I'm not against you put your credentials, you deserve it, but it should be placed elsewhere, or smaller at least.
Now, everything is working smoothly... 👍
you really did a great job with that plugin.
If you want to see how it looks like with my version, or if you want my modified files, just contact me.
Hi,
I wanna to setup a authentication feature which members could login with their emails. I had installed plugins: user_pad, user_pad_frontend, frontend_community, and set my SMTP information in each one email.json file.
However, there was always error message : "TypeError: msecs must be a number" after I register a new account and then server shutdown gracefully. I checked MySQL and nothing been save in user table. Please see further error details as below.
My setup:
-Window server 2008 R2
-ehterpad: v1.5.6
-nodejs: v0.12.4
-npm: v2.0.1
BTW, I also changed emailjs from v0.3.4 to v0.3.12 in package.json of node_module, it seems not working as well.
Please somebody help me to check this issue, don't know which part I missed.
Thank you and thank you again.
--Error message
TypeError: msecs must be a number
at Object.exports.enroll (timers.js:156:11)
at TLSSocket.Socket.setTimeout (net.js:337:12)
at new SMTPResponse (C:\website\etherpad-lite\node_modules\ep_user_pad_frontend\node_modules\emailjs\smtp\response.js:66:11)
at Object.exports.monitor (C:\website\etherpad-lite\node_modules\ep_user_pad_frontend\node_modules\emailjs\smtp\response.js:71:9)
at Object.SMTP.connect (C:\website\etherpad-lite\node_modules\ep_user_pad_frontend\node_modules\emailjs\smtp\smtp.js:172:35)
at Object.Client._connect (C:\website\etherpad-lite\node_modules\ep_user_pad_frontend\node_modules\emailjs\smtp\client.js:68:17)
at Object.Client._poll (C:\website\etherpad-lite\node_modules\ep_user_pad_frontend\node_modules\emailjs\smtp\client.js:28:18)
at C:\website\etherpad-lite\node_modules\ep_user_pad_frontend\node_modules\emailjs\smtp\client.js:102:21
at Object.Message.valid (C:\website\etherpad-lite\node_modules\ep_user_pad_frontend\node_modules\emailjs\smtp\message.js:134:10)
at Object.Client.send (C:\website\etherpad-lite\node_modules\ep_user_pad_frontend\node_modules\emailjs\smtp\client.js:83:14)
in the install documentation there is some sql code to initialize de project.
Perhaps it is easier if you add it as an sql file:
create table if not exists `GroupPads` ( `groupID` int(11) not null, `PadName` varchar(255) collate utf8_bin not null, primary key (`GroupID`,`PadName`) ); create table if not exists `Groups` ( `groupID` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '', PRIMARY KEY (`groupID`, `name`) ); create table if not exists `NotRegisteredUsersGroups` ( `email` varchar(255) not null, `groupID` int(11) not null); create table if not exists `User` ( `userID` int(11) not null auto_increment, `name` varchar(255) collate utf8_bin not null default '', `pwd` varchar(255) collate utf8_bin default null, `considered` tinyint(11) default null, `sso` tinyint(4) default null, `FullName` varchar(255) collate utf8_bin default null, `considerationString` varchar(50) collate utf8_bin default null, `salt` varchar(255) collate utf8_bin default null, `active` int(1) default null, primary key (`userID`,`name`) ); create table if not exists `UserGroup` ( `userID` int(11) not null default '0', `groupID` int(11) not null default '0', `Role` int(11) default null, primary key (`userID`, `groupID`) );
This plugin automatically redirects /
to /index.html
. How to I configure the plugin to deliver a static page for this url.
The from end says "User added!", but the log says [2014-10-09 10:33:26.810] [ERROR] console - ep_user_pad: MySQLError: ER_WRONG_VALUE_COUNT_ON_ROW: Column count doesn't match value count at row 1
Wouls probably be easy enough if the sql was logged and/or I could find where this query is issued from...
Really really nice plugin.
My problem:
If I add a new user or re-invite someone in one of my group, my etherpad crashes:
[2014-04-08 02:18:46.493] [ERROR] console - Error: write EPIPE
at errnoException (net.js:769:11)
at Object.afterWrite (net.js:593:19)
When adding the user to my group, I can find it in the NotRegisteredUsersGroups table in the DB, but no mail is send.
My server send mails all the times and the plugin ep_mail_notification I use in my etherpad send the emails without problems.
In the config file email.json, I let "smtp": "false",
No attempt to send a mail is logged in my mail.log file
npm -v -> 1.1.62
node -v -> v0.8.11
Any idea where the problem can come from?
Thanks
Hi !
I was testing some stuff and plugins on EtherPad (ep_user_pad & ep_user_pad_frontend) and I noticed that EtherPad was crashing a lot of time. At first I tought it was an issue due to mysql utf8 (and not utf8mb4) but it is still crashing after changing the charset as explain in EtherPad's issue #2522 (ether/etherpad-lite#2522).
So, here is my log, and I have no idea what can cause that kind of shutdown...
[2015-07-06 16:30:57.346] [INFO] ueberDB - Flushed 1 values
[2015-07-06 16:31:01.231] [ERROR] console - Error: Connection lost: The server closed the connection.
at Protocol.end (/home/antoine/Bureau/test_ep_etherpad/etherpad-lite/node_modules/ep_user_pad/node_modules/mysql/lib/protocol/Protocol.js:73:13)
at Socket.onend (_stream_readable.js:505:10)
at Socket.g (events.js:199:16)
at Socket.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickDomainCallback (node.js:381:11)
[2015-07-06 16:31:01.231] [INFO] console - graceful shutdown...
[2015-07-06 16:31:01.233] [ERROR] console - Error: Connection lost: The server closed the connection.
at Protocol.end (/home/antoine/Bureau/test_ep_etherpad/etherpad-lite/node_modules/ep_user_pad/node_modules/mysql/lib/protocol/Protocol.js:73:13)
at Socket.onend (_stream_readable.js:505:10)
at Socket.g (events.js:199:16)
at Socket.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickDomainCallback (node.js:381:11)
[2015-07-06 16:31:01.305] [INFO] console - db sucessfully closed.
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.