On Tue, Aug 23, 2016 at 11:20 AM, Craig Russell <[email protected]> wrote: > Hi Sam, > > When I file via icla, pending.yml has fields for all of the file types. Is > this expected? This is master branch.
Short answer: yes. Longer answer: worklist.js will set all of them: https://github.com/apache/whimsy/blob/master/www/secretary/workbench/worklist.js#L113 There is a single form that has all of these fields, where much if not all of that form is hidden from view depending on what document type you select. When you submit the form, all of the fields are sent to the server. All of the fields are available to all of the code, but the assumption is that the code that processes (for example) ICLAs only looks at the values that would have been shown on the client. Processing an ICLA is done in a number of steps, pending.yml keeps track of the information provided with the original request. The secmail rewrite cleans this up... to start with there isn't a single form that needs to handle all of the possible requests, instead there is a separate form for each document type. Similarly, there isn't a single "file.cgi" that handles all forms, but rather a separate scripts per type of request. We can discuss the schedule for trying to migrate to the new tool; or even if it is worth doing. Ultimately as the primary customer for this specific tool that's entirely up to you. Meanwhile, my attention over the next few days is going to return to documenting how to get more whimsy tools up and running on the Mac. At the moment, you not only have a single tool up and running, you have it running under Apache httpd in the context of a site that has most of the necessary stuff already configured. Mostly what is left is installing more gems and pointing to svn checkouts that you probably already have. I would expect that, for example, getting the new acreq tool up and running locally would be of interest to you as http://whimsy.local/secretary/workbench is rather incomplete without it. - Sam Ruby > cat pending.yml > --- > - doctype: icla > source: Craig-Russell-papajdo-gmail.com--Incomplete.pdf > realname: Craig l Russell > pubname: Craig l Russell > email: [email protected] > filename: craig-l-russell.pdf > nname: Craig Russell > nemail: [email protected] > memail: [email protected] > gname: Craig Russell > gemail: [email protected] > contact: Craig Russell > cemail: [email protected] > pmc: whimsy > podling: none > email:addr: [email protected] > email:cc: Sam Ruby <[email protected]> > email:id: "<[email protected]>" > email:name: Craig Russell > email:subject: 'Re: A better test file' > svn:mime-type: application/pdf > >> On Aug 23, 2016, at 7:14 AM, Craig Russell <[email protected]> wrote: >> >> _ERROR #<Net::SMTPAuthenticationError: 534-5.7.14 >> <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbsw: >> /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, referer: >> http://whimsy.local/secretary/workbench/file.cgi >> >> --- >> :svn: >> - /Users/clr/apache/foundation >> - /Users/clr/apache/documents >> - /Users/clr/apache/committers >> >> :sendmail: >> delivery_method: smtp >> address: smtp.gmail.com >> port: 587 >> domain: apache.org >> user_name: '[email protected]' >> password: ’noyb' >> authentication: plain >> enable_starttls_auto: true >> >> >>> On Aug 23, 2016, at 4:36 AM, Sam Ruby <[email protected]> wrote: >>> >>> On Mon, Aug 22, 2016 at 11:20 PM, Craig Russell >>> <[email protected]> wrote: >>>> I don’t understand why it’s trying localhost 25 when I specifically asked >>>> for smtp.gmail.com 587. >>> >>> Sorry about that. I know what is going on. >>> >>> Create a ~/.whimsy file and put in it: >>> >>> :sendmail: >>> delivery_method: smtp >>> address: smtp.gmail.com >>> port: 587 >>> domain: apache.org >>> user_name: username >>> password: password >>> authentication: plain >>> enable_starttls_auto: true >>> >>> Background: secretary/workbench is the oldest whimsy tool and has its >>> own configuration (~/.secassist, ~/.secmail). Over time, I saw a lot >>> of commonality in configuration and made that common (~/.whimsy) but >>> didn't update secretary/workbench. Then when mail wasn't working on >>> whimsy-vm3, I made a fix to the common code and instead of making a >>> separate fix to the workbench, I updated it to use the common mail >>> configuration. >>> >>> So: same information, different place, slightly different format; but >>> on the brighter side this same information will be used by all of the >>> whimsy tools that send email. >>> >>> - Sam Ruby >> >> Craig L Russell >> Architect >> [email protected] >> P.S. A good JDO? O, Gasp! >> >> >> >> >> > > Craig L Russell > Architect > [email protected] > P.S. A good JDO? O, Gasp! > > > > >
