Commit Graph

383 Commits

Author SHA1 Message Date
13f70ad42c systray now launches router console in config.jsp upon first launch after installation 2004-08-30 11:47:28 +00:00
93afcd5c0c * removed unwanted systray window on *nix
* removed 'Shutdown I2P router' from systray menu; preferred method of shutdown is now router console
2004-08-30 01:08:13 +00:00
07ef3582f7 clarify the nextInt/nextLong boundaries (thanks oOo) 2004-08-29 22:42:21 +00:00
53c7ff14df code reuse++ (digest authentication works, nice find oOo!) 2004-08-29 22:35:55 +00:00
6b993688fc poke the systray (so that on startup, it may show the icon and/or launch the browser) 2004-08-29 21:06:15 +00:00
f68271c3d7 set mode_paranoid=true 2004-08-29 01:47:13 +00:00
faa78c67d8 router console opens automatically upon first launch (i.e. if router.config is not found) 2004-08-27 12:44:43 +00:00
mpc
bfe11110aa Trying to get around CVS stupidity 2004-08-27 01:52:30 +00:00
mpc
d8b1d2382d Junking this for now.. use Stasher instead 2004-08-27 01:41:48 +00:00
mpc
7881a13610 moved some files around 2004-08-27 01:29:18 +00:00
mpc
aaa328950e invalid style error 2004-08-26 21:42:56 +00:00
f36ce3d245 drop the links to install/uninstall the service from this page. not worth the effort atm (they can just run the shell scripts) 2004-08-26 18:39:30 +00:00
ca70fc8dc8 load the body of the index.jsp from ./readme.html (so we can put in some intro crap w/ links and the user can change it later) 2004-08-26 08:00:16 +00:00
18ff889b56 crazy paranoia to deal with errors referencing bad dll/.so files for the service wrapper / systray / etc 2004-08-26 03:12:52 +00:00
18a6a9e965 arrggggh, 1.4-ism that kaffe supports (but sun-1.3 users havent complained about). (thanks frontier) 2004-08-25 06:47:23 +00:00
eed8d9c61b fixed dangerous comparison (== != .equals) [thanks mihi!] 2004-08-25 00:00:04 +00:00
mpc
cbe12adbe6 cervantes' web browser auto-proxy script 2004-08-24 20:58:31 +00:00
84f8931ddd oOo's timestamper fixes (wtf was i thinking with those web params? !thwap) 2004-08-24 19:59:54 +00:00
e81c1df19f * helper to read the last few lines of a textfile
* use that to render the last few lines of the wrapper log on /logs.jsp (for the on demand stack trace)
* thread creation / finalization logging
* support a hard restart (stop immediately and restart the JVM) - useful for rerunning clients.config (etc)
* systray when not supported
2004-08-24 18:02:48 +00:00
205d8f7db2 initial commit of ServiceManager class; API is complete, so integration with routerconsole can proceed, but
return of error messages is not yet implemented, meaning returned exit values will all be null for now
2004-08-24 09:04:53 +00:00
d70c22d73f * systray now fully integrated into global ant build
* removed two unneeded test files i2psystray.bat, i2psystray.sh
2004-08-24 06:58:05 +00:00
920161bc07 * more code formatting
* forgot to make constructor private for singleton (d'oh!)
2004-08-24 03:32:17 +00:00
f220300212 code cleanup 2004-08-24 02:37:01 +00:00
8e53028d78 * html cleanup
* classpath during javadoc
2004-08-23 21:55:57 +00:00
54aa0fdb11 * add "dump threads"
* hook in to the service manager and let it know we're exiting gracefully (when appropriate)
* commented out but generally functional systray integration.  i cant get it to build sometimes though, something is b0rking up
2004-08-23 21:32:24 +00:00
3c62a5d2b4 * drop libsystray4j.so (for now)
* add some more targets (cleandep and distclean)
2004-08-23 21:28:25 +00:00
0fe70b660a expose as a singleton so we can .show() and .hide() 2004-08-23 21:27:23 +00:00
4f787ddb03 * moved non-source files out of the source tree
* added dependency on core to the build script (for ShellCommand)
2004-08-23 20:53:13 +00:00
be33752eb3 reformatting
(
remove
excess
newlines
)
(no logic changes)
2004-08-23 20:41:06 +00:00
bce5b44275 standardized the spoof prevention:
- set the nonce and noncePrev for the handler when rendering the form
- include the current nonce in the hidden parameter "nonce"
- include an "action" parameter (so we know we want to execute something and hence, validate the nonce, rather than just display the page)
- if the nonce submitted doesnt match what is set in the nonce or noncePrev when validating, its invalid.  refuse to process
2004-08-23 17:11:38 +00:00
9f7320fa67 * new configservice.jsp page that shuts down the router (and has hooks for a few other things)
* new safer way of shutting down the router per discussions with oOo (dealing with a graceful
shutdown where the user updates their config before the shutdown is complete, etc)
* graceful shutdown implemented in the router - shutdownGracefully(), cancelGracefulShutdown(), shutdownInProgress()
2004-08-23 07:33:14 +00:00
240190fa8f oOo's patch to get the console not looking toooo bad on IE, and clean up some ugliness on firefox/moz w/ larger fonts 2004-08-23 01:52:05 +00:00
4ca7c0d978 * moving ShellCommand class to the net.i2p.util package 2004-08-23 00:10:25 +00:00
b8d2a363fb added I2P website URL to header comments 2004-08-22 14:05:02 +00:00
2382785240 changed some filenames and updated credits in comment headers 2004-08-22 13:59:01 +00:00
287969f169 simple build script 2004-08-22 06:16:44 +00:00
ca93c52161 new CLI for creating signed NameReference files from a destination's private keystream
e.g. java -cp myi2p.jar;i2p.jar net.i2p.myi2p.address.CreateNameReferenceCLI eep.ref eepPriv.dat jrandom.i2p 1 eep
new CLI for importing / updating a signed NameReference into an address book
   e.g. java -cp myi2p.jar;i2p.jar net.i2p.myi2p.address.CreateEntryCLI addressbook.dat  C:\eep.ref jrandom.r00lz.i2p 0
logging / toString
2004-08-22 06:15:53 +00:00
b126b19e03 shut down the node on, er, shutdown 2004-08-22 06:12:10 +00:00
2c907060d4 forgot to add a SysTrayMenuListener for the new menu option 'Open router console' 2004-08-22 05:10:27 +00:00
e28c0d0b4a * removed systray support for KDE as it remains buggy; win32 is the only supported systray platform for now
* added an 'Open router console' option to the systray menu, for people who can't bring themselves to double-click the icon
2004-08-22 04:56:43 +00:00
918df735ed v0.0.0.0.0.1. it builds, and the core MyI2P framework is there, plus the skeleton for the MyI2P address book service
it doesn't do anything beyond compile and connect/disconnect, so no need to even bother looking at this.
but its a savepoint (iterative and incremental, 'eh?)
2004-08-22 03:44:00 +00:00
294936d137 added trailing '/' to router console url 2004-08-22 00:09:56 +00:00
115da03a23 * fixed another thread blocking problem
* made ConfigFile behave more appropriately with missing config files
* SysTray now behaves correctly when a file dialog has been canceled without any choices being made
2004-08-21 23:42:11 +00:00
cc085755aa oOo's patch to add support for temporary name<-->destination assignment (w00t!)
to use this, make a link going to http://some.name.i2p/some/path/blah?i2paddresshelper=base64Destination
e.g. http://whitehouse.gov.i2p/?i2paddresshelper=FpCkYW5pwVz36sSHoBuRT4ZvGif9QC9oQUWfz-wu4zEnJ1ewlAvinPuw3YnXUKmgLFZ0UY3wB7wqd0eQYiW2ZV1bwVhXvsyGV5ZehzxGaFu05IspCJjyaMIe90z5fyda4KgzyBwHKqwjGX57SMyn2cZhXbCKF6aNuipWxYOnL65uATDbw3jShEtL9v9299ohhGA3EcrYk3u86FgLmsOdi2GZruxy2RzioA-VKhaZl4RSJs6dFHPUYWgeLF3gT7Ciy-HbMZdDuiLTEX7mUlO0UZwnzT8mjUDeeYfyWtv9arwv-rAMeXxAVUYm7X2dDHN8TvmQCZ~LiQrnGmGReSIDKVT4u59xZX2Qg0GZf0fA5LRSW1zHLrlZWDJfNeESW57RlOkA9DDDOxwSVSw8LUQN-hPsoz~AgwA-vDklNWULqvp4lLifEJUlr5ZmnWrviLr6W6cHhdJBl89VzMThoknb5UibIvwTnu~tfA0rkyILXX07hdaoXF~prptuOhMtEcV2AAAA
this is better than the existing http://i2p/base64Destination/ since images at that page will now resolve
the name is resolved only if/when the hosts.txt doesn't have a matching entry (aka no spoofing duck.i2p),
but the name is *not* persisted to hosts.txt - if you restart your tunnel (or router, if they're in the same JVM), the address helper is lost
2004-08-21 22:39:27 +00:00
cb5e3efd8a don't force start the tunnels too early - only instantiate the tunnelControllerGroup when the CLI is run (aka after 2 minutes whem TunnelControllerGroup.main is called from clients.config) 2004-08-21 22:05:02 +00:00
921aef7f2c fixed a silly thread blocking problem 2004-08-21 11:01:12 +00:00
f4754d7481 * a missing systray.config file is now handled gracefully
* fixed javadoc warnings
2004-08-21 04:03:22 +00:00
7dc8d0cfec * systray now uses its own config file
* added config file handler class
* UrlHandler's browser launching behavior is now more sophisticated for Win32 using rundll
2004-08-21 01:43:35 +00:00
80b8c284b4 * fixed a bug causing the systray to hang upon exit on Linux
* various nips and tucks all around
2004-08-20 14:36:03 +00:00
ffff6d701f added browser selection dialog 2004-08-20 12:56:40 +00:00