#foswiki 2017-10-13,Fri

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***ChanServ sets mode: +o Lynnwood__ [01:10]
..... (idle for 22mn)
GithubBot[distro] gac410 pushed 1 new commit to Item14506: https://git.io/vdiXK
distro/Item14506 f659d6a George Clark: Item14506: Enhancements to Reset Password...
[01:32]
***GithubBot has left [01:32]
FoswikiBothttps://foswiki.org/Tasks/Item14506 [ Item14506: Implement ImprovePasswordResetProcess ] [01:32]
................... (idle for 1h33mn)
GithubBot[distro] gac410 pushed 1 new commit to Item14506: https://git.io/vdiyA
distro/Item14506 81de4e2 George Clark: Item14506: More param validation, and move messages into templates.
[03:05]
***GithubBot has left [03:05]
FoswikiBothttps://foswiki.org/Tasks/Item14506 [ Item14506: Implement ImprovePasswordResetProcess ] [03:05]
......... (idle for 40mn)
GithubBot[distro] gac410 pushed 1 new commit to Item14506: https://git.io/vdi9G
distro/Item14506 28d3b40 George Clark: Item14506: Implement RESTchangeEmail...
[03:45]
***GithubBot has left [03:45]
FoswikiBothttps://foswiki.org/Tasks/Item14506 [ Item14506: Implement ImprovePasswordResetProcess ] [03:45]
.............................. (idle for 2h26mn)
***ChanServ sets mode: +o MichaelDaum [06:11]
..................... (idle for 1h42mn)
zak256Good morning MichaelDaum. Since yesterday I get the following error when updating DBCache:
Cache read failed RCS: rlog -h %FILENAME|F% of .../Myweb/MyTopic.txt,v failed: at lib/Foswiki/Store/Rcs/RcsWrapHandler.pm line 397.
I suppose my changing to RcsWrap has probably something to do with it.
But I cannot find anything suspicious with this topic. Can I somehow fix this?
Ah, now I see the output of rlog -h for that file: "found edits for non-existent revision `1.10'"
[07:53]
MichaelDaumglad I could help ;) [08:00]
zak256But why does DBCache look into rcs history? [08:00]
........................................... (idle for 3h31mn)
MichaelDaumanybody got a clue what is going on here? https://foswiki.org/Tasks/Item14516 [11:31]
....... (idle for 30mn)
***ChanServ sets mode: +o Lynnwood [12:01]
.......... (idle for 47mn)
ChanServ sets mode: +o gac410 [12:48]
......... (idle for 43mn)
GithubBot[distro] vrurg pushed 5 new commits to Item14237: https://git.io/vdPzS
distro/Item14237 2d3c449 Vadim Belman: Item14237: Renamed Foswiki::Aux namespace to Foswiki::Util...
distro/Item14237 f2f5303 Vadim Belman: Item14237: Removed accidentally sneaked in debug test.
distro/Item14237 0bbcef7 Vadim Belman: Item14237: Fixed 'undefined value' warning
[13:31]
***GithubBot has left [13:31]
FoswikiBothttps://foswiki.org/Tasks/Item14237 [ Item14237: Implement Development.OOConfigSpecsFormat proposal ]
https://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Aux https://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Util
[13:31]
..... (idle for 20mn)
gac410Hi MichaelDaum ... I think the Item14506 branch might be ready for some review. I do have some more work to go, but the core functionality is done [13:51]
FoswikiBothttps://foswiki.org/Tasks/Item14506 [ Item14506: Implement ImprovePasswordResetProcess ] [13:51]
gac410I'm wondering about making GridLayout a default extension. It seems to be more "mobile friendly" in that the columns go to in-line as the screen shrinks. This might make the new ChangePassword screen a bit easier to use.
Or I just figure how to finagle the css embedded in ChangePassword.
[13:52]
MichaelDaumyes we should think about adding GridLayoutPlugin ... and kick out yui.css lingering around in System [13:53]
gac410I've tried to eliminate tables as the layout method for the form. And macros would be a lot easier to read than the <div... stuff [13:54]
MichaelDaumattached to System.MainFeatures [13:55]
gac410Ah. [13:55]
MichaelDaumsome yahoo css from 2009
only used on that page
[13:55]
gac410Also debating ... should the password management stuff be a separate plugin like I implemented. Or leave it attached to TopicUserMapping. I figure the two implementation are orthogonal.
So if you don't support password change, you can just deinstall the PasswordManagementPlugin and eliminate the noise.
[13:56]
MichaelDaumgood question [13:57]
gac410I made it a plugin as a convenience. ... couldn't figure out how else to register the REST handlers ;) [13:58]
MichaelDaumI really have no preferences wrt which module implements it. there are good reasons to make password management a plugin of its own. on the other hand this is such a core feature why not making it a core function
btw you should really use json-rpc and not plain REST
REST is more usable for a one shot service call. however if you need good return codes or messages in a standardized way then json-rpc is better
[13:58]
gac410ugh. Y I pondered json, but my javascript skills are so weak.
I'm at the point with js that I can tweak existing stuff. But have no idea where to even start when facing a blank slate.
anyway, what I've done carves out a big chunk of the Manage.pm / Register.pm mess. But I can't eliminate it yet until I figure out what to do with bulk password reset - used as a step 2 in bulk registration. :(
I wonder... thinking outside the box. Maybe bulk registration could be an "invitation" where the "authentication token" provides all the data to complete the registration once the invitation is accepted. Similar to NewUserPlugin
[14:00]
vrurggac410: json-rpc is not about javascript only. I guess you're not using REST with javascript? [14:13]
gac410no, simple web forms. [14:14]
vrurgSo, you could make json calls from Perl.
I just don't remember if we have any API for that.
[14:14]
gac410er. I don't understand User clicks "Reset Password" It submits one field - the username, to a REST handler. Which does some backend checks which either fail - generating an error message, or succeed, sending the user an email.
One field in, simple error / ok response back. What is benefit of json?
ChangePassword is not much more. Submits 3 fields - old password, and new password / repeat new password. (The latter could be purely javascript) backend either accepts or rejects.
[14:16]
vrurgFuture possibilities for extending the functionality. But I had another thing in mind anyway.
In reality, javascript will be required. So, just ignore me for now. ;)
[14:18]
.................................. (idle for 2h48mn)
***zak256 has left [17:07]
LynnwoodGreetings all. More reports on my work with MailerContrib and expanding macros for subscriptions.
I _finally_ figured out why this method was working in some cases and not in others. Someone who understands the perl code would have recognized this much quicker than me. The issue was simply that the line that with expandCommonVariables expected the output to still be a single line. I wasn't being careful in designing the output of macros to respect this. As long as I did, it works.
I'll report on this later in development discussion.
Moving on to my next challenge related to this: I've found that for newsletter mode (where MailerContrib sends out full content of a topic), I find a curious thing: where as macros in the topic do seem to expand OK, any searches in the content return no results.
I'm just wondering if anyone if familiar with this behavior or has any ideas, hunches or whatever, why this might be the case.
I've located the code in MailerContrib.pm that appears to render the topic content. It's under sub _sendNewsletterMail (line 534),
[17:18]
...... (idle for 27mn)
Whatever other value I'm producing in this exercise, I'm learning a lot more about Foswiki code than I knew before.
The perl is making more sense to me...
[17:53]
Well... i'm going to have to stop this inquiry for the day and move on to other things. I'm sure someone who really understood the code could answer my question about why SEARCH returns no results in this context... [17:59]
***ChanServ sets mode: +o MichaelDaum [18:01]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)