PasswordMaker Forums

Other Editions => Other Editions - Feature Requests / Enhancements => Topic started by: lordgreggreg on March 27, 2006, 07:52:02 PM

Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 27, 2006, 07:52:02 PM
Ok, I love the command line version, but it is a bit cumbersome to have to type -r google.com -g 32 etc.  So, i was thinking something more user friendly, perhaps much like the version you see in FireFox, just not as an extension.  rather one that comes up when you run the .exe  Also, I love the auto complete, however, when logging onto aim, or yahoo, there is no "cool key" feature to fill in the fields.  Perhaps a way to add a "fill field wit h password" in regular windows explorer for this?
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 27, 2006, 08:18:15 PM
Hi Greg,

I agree the command-line version is cumbersome. You can speed it up by running it with a batch file that automatically passes the command-line arguments. In other words, create one batch file per account. Yeah, that's really ugly.

I've always intended to have a standalone version of PasswordMaker. It's in the feature-request lists. The command-line version is the "backbone" of that. We just need to add a GUI to it.

You mentioned in another thread you'd be interested in this kind of work. Is that true?

-Eric
p.s. moving this thread from the Firefox/Mozilla/Netscape/Flock Browser Extension > Feature Requests / Enhancements forum to the Other Editions > Feature Requests / Enhancements forum.
Title: Exe gui, auto fil for non broswer items
Post by: Miquel 'Fire' Burns on March 27, 2006, 08:27:19 PM
Bah, we both did the moving!
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 27, 2006, 11:23:40 PM
I just placed what I've done for a java version in Subversion. You can browse it here (http://svn.sourceforge.net/viewcvs.cgi/passwordmaker/java/).
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 28, 2006, 05:57:56 PM
Quote from: Eric H. Jung
I just placed what I've done for a java version in Subversion. You can browse it here (http://svn.sourceforge.net/viewcvs.cgi/passwordmaker/java/).
Alright, I took a look at it, and it looks very nice.  I wasn't able to complile it myself because i don't have your "org.apache.commons.cli" stuff.  I apologise for not spending too much time analysing all the code, but what I got out of it, is that the gui part needs to
1. Look Good
2. Send an 11 String call to password maker object
3. Recive a String (either error text or Correct password) and display it.
[/color]
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 28, 2006, 06:23:58 PM
Alright, I was thinking that for starters, to make it look very similar to http://passwordmaker.org/passwordmaker.html (http://passwordmaker.org/passwordmaker.html)
just compact it a little bit more.
also, what string would you want me to send for the prefix, if they chose not to suply one? ""?  (I problby could have read your code to find out, sorry for being lazy)
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 28, 2006, 06:24:50 PM
Quote
I wasn't able to complile it myself because i don't have your "org.apache.commons.cli" stuff.
You can find the two libraries (jars) in the /lib directory.

Quote
Send an 11 String call to password maker object
Right, we should objectify of some of these strings. e.g.:

Code: [Select]
class Account {
  private String url, useLeet, leetLevel, hashAlgorithm,
  characters, passwordLen, username, modifier,
  prefix, suffix;
  
  // TODO: getters and setters
}

then it takes two args: the master password and an Account object.
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 28, 2006, 06:35:09 PM
Quote from: Eric H. Jung
Right, we should make objectify of some of these strings. e.g.:
Code: [Select]
class Account {
  private String url, useLeet, leetLevel, hashAlgorithm,
  characters, passwordLen, username, modifier,
  prefix, suffix;
  // TODO: getters and setters
}
then it takes two args: the master password and an Account object.
Hmm, so first send most of the stings to an acount object.. and then send the acount object to the passwordmaker along with the master password?
or, are you thinking of having them create and account file, and then after they store it somewhere (unsure how to do that) alow them to load it and the master password?

I had in mind one that looked at worked almost identical to the JS Online version...
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 28, 2006, 07:04:16 PM
Quote
Hmm, so first send most of the stings to an acount object.. and then send the acount object to the passwordmaker along with the master password?
Right. This is a more OO way of solving the problem. There will be other places where we'll need to use Account objects; e.g., reading and writing them, deleting them, creating them, editing them.

Quote
are you thinking of having them create and account file, and then after they store it somewhere (unsure how to do that) alow them to load it and the master password?
I'm not sure what you mean by this. The program should read and write the file directly.

Quote
I had in mind one that looked at worked almost identical to the JS Online version...
I did, too... at least initially. But ultimately we want this to support multiple accounts, just like the browser extension. The online version will support multiple accounts, too. With that in mind, I think we should design for that up front...hence the idea of an Account object.
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 28, 2006, 07:14:47 PM
Right, when compling, all works except for
Quote
PasswordMaker.java:120: replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String)
                hashAlgorithm = hashAlgorithm.replace("-", "");
                                             ^
1 error

Process completed.

glad we are not taking the easy way out, lol.
Alright, I understand what you have in mind, and I can make it work except for one problem that I forsee.  Once the acount settig are created... are we going to store them onto the hardrive some where (as a .act or somehting?) If so, I don't have any clue how to do that.
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 28, 2006, 07:16:00 PM
Interesting. I don't know why I made those arguments strings. Clearly they both should be chars:

Code: [Select]
hashAlgorithm = hashAlgorithm.replace('-', '');
Do you want checkin access to the Subversion repository? If so, create a SourceForge ID and tell me what it is...
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 28, 2006, 07:18:33 PM
Quote from: Eric H. Jung

Do you want checkin access to the Subversion repository? If so, create a SourceForge ID and tell me what it is...
not yet, I am a little busy with school now... So I'm not realy coding anyhting yet, just getting into my head what I want to do, and figuring out if I know how to do it. eventauly I will start writting some code, and I'll let you know my account then.
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 28, 2006, 08:01:47 PM
OK, well let me know what the next step is for you, and how I might help out. I do all my Java development in Eclipse. What about you?
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 28, 2006, 09:04:23 PM
Quote
Alright, I was thinking that for starters, to make it look very similar to http://passwordmaker.org/passwordmaker.html (http://passwordmaker.org/passwordmaker.html)
just compact it a little bit more.
Sounds good.

Quote
also, what string would you want me to send for the prefix, if they chose not to suply one? ""? (I problby could have read your code to find out, sorry for being lazy)
Please force them to enter a master password. Blank MPWs are no longer accepted.
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 28, 2006, 09:35:29 PM
I use JCreator, but normaly start in notepad.
And I will make them enter in a master password, but what would you like returned if they don't specify somehting else, like a prefix.

Quote from: Eric H. Jung
The program should read and write the file directly.
I will need help doing that.  How do you write and read?
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 28, 2006, 10:12:34 PM
Quote
what would you like returned if they don't specify somehting else, like a prefix.
The empty string.

Quote
How do you write and read?
In Java?
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 28, 2006, 11:48:36 PM
Wow, i just realised that you wrote a java book!  Wow.  Um, I don't see anyway where you would ever need my help!  I have about 2 years of experince, plus a ton of hours messing around outside of class. and thats about it.  *"I'm not worthy"*

Quote from: Eric H. Jung
In Java?
Yeah, In Java, I've never done anything like that before
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 29, 2006, 12:23:41 AM
Quote
I don't see anyway where you would ever need my help
We mostly need people's time. There's too much to do and not enough people and time to do them!  

Quote
Yeah, In Java, I've never done anything like that before
I don't think a first release needs I/O. Have a look at the PasswordMaker Yahoo! Widget (http://passwordmaker.org/konfabulator.html) (and screenshots (http://passwordmaker.org/screenshots2.html)). It doesn't read/write anything; it's simply a form like the online verison.
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on March 29, 2006, 12:35:00 AM
Quote from: Eric H. Jung
We mostly need people's time. There's too much to do and not enough people and time to do them!  
Alright then, I'll finish up this lab report, and bust out some code, I find it's much easier to edit stuff that has already gotten started.  Would you like me to make the Account object?  If so then we wold need to modify your Passwordmaker object to accept just two arguments.
I suppose that the gui object will be the one commanding the others.. so..
I could set it up to make an account object, and then weed the data out of it(in the gui program) and send it to the password maker object as a bunch of strings...but that's kinda messy if you ask me...
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on March 29, 2006, 03:18:37 AM
Just send the PasswordMaker object two args (MPW and Account object). You can stub out PasswordMaker to return a hard-coded string for now. Just get the GUI working in such a way that it constructs the Account object and gathers the MPW...
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on April 03, 2006, 06:49:11 PM
just so you know im not dead, and yes , i know it sucks so far.. but heres soemthing
Code: [Select]
some code
Code: [Select]
more code
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on April 03, 2006, 06:53:54 PM
Wow, sweet! I'll give it a closer look tonight.
-Eric
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on April 03, 2006, 06:57:00 PM
Quote from: Eric H. Jung
Wow, sweet! I'll give it a closer look tonight.
-Eric
awesome.  There are LOTS of things i want to change to it , and add to it, and make some gifs to go with it.  but i have to go to wokr in 15 minutes.  however, after that there shud be much more added.  Ill keep updatng like i just did when i add somehting usefull.  btw.. how would i upload a gif if a make one?. and sorry for taking so long to work on it.. i like started working on the acount object, worte 10 lines. got bored, and went to sleep.  today i finaly put some time in on it, and seing the gui makes me happy (even though it sucks).  so ill be able to  spend more time on it now.
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on April 03, 2006, 07:36:30 PM
Quote
how would i upload a gif if a make one?
Use ImageShack.us (http://imageshack.us) to host images.
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on April 04, 2006, 01:35:07 AM
ok, i have made some MAJOR modifications.  and im stil makng more, let me now when you want me to submit what i have when you are ready to take a peek at it
Title: Exe gui, auto fil for non broswer items
Post by: Eric H. Jung on April 04, 2006, 02:36:42 AM
Can you email them to me at [email protected]?
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on April 04, 2006, 03:42:57 AM
Quote from: Eric H. Jung
Can you email them to me at [email protected]?
Sent!:)
Title: Exe gui, auto fil for non broswer items
Post by: lordgreggreg on April 04, 2006, 05:26:05 PM
Quote from: greg
Sent!:)
and..let see, i added in a enerate button then decided i didnt want one, and so now it wokrs like it has one but it doesnt