I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  1. Mar 10, 2012
  2. Jan 18, 2012
  3. Jan 08, 2012
    • zzz's avatar
      * Router shutdown: · f6ca6a5e
      zzz authored
          - Fix failsafe shutdown hook broken in 0.8.8;
            HUP, INT, and TERM signals should now shut down cleanly.
          - Shutdown hook no longer prevents other hooks from running
          - Trap HUP, if router.gracefulHUP=true, and do graceful shutdown.
            Only under wrapper, non-Windows.
          - i2prouter stop now uses SIGTERM
          - Implement i2prouter graceful using SIGHUP (ticket #580)
          - Configure wrapper to ignore SIGUSR1 and SIGUSR2 as they will shut down
            or crash the JVM
      f6ca6a5e
  4. Dec 31, 2011
  5. Dec 30, 2011
  6. Dec 29, 2011
  7. Dec 24, 2011
    • zzz's avatar
      - Fix Console concurrent ThreadPool · ec7ec564
      zzz authored
      - Uncomment eepsite concurrent ThreadPool and fix arguments
      - Reduce eepsite acceptors to 1
      - Add jetty-ssl.xml example
      - jetty.xml cleanup
      ec7ec564
    • zzz's avatar
      - Fix help.jsp mapping to language · 0fb90960
      zzz authored
      - Fix nowebapp.jsp for non-started webapps
      - Fix nowebapp.jsp for url /foo for non-started webapp foo
      0fb90960
  8. Dec 23, 2011
    • zzz's avatar
      First cut at migrating to Jetty 6 and prep for using an external · 92b9d0a9
      zzz authored
      Jetty 6 package.
      
      - Add several jars from the Jetty 6 distribution
      - Update jetty.xml
      - Add context XML files
      - Update WorkingDir to migrate the content XML files
      - Update RouterConsoleRunner and LocaleWebAppHandler
      - Remove all old Jetty 5.1.15 local mods;
        this will break Seedless using a custom Server() constructor
      - Update I2PRequestLog to be a mod of NCSARequestLog from 6.1.26
      - Put I2PRequestLog in its own jar
      - Copy MultiPartRequest and other required classes from Jetty 5.1.15
        and add it to susimail, as the replacement MultiPartFilter in
        Jetty 6 is difficult to migrate to, and does not support content-type
      - Update i2psnark for Jetty 6
      - Disable i2psnark RunStandalone, unused and instantiated Jetty 5
      - Fix up all webapp build.xml to reference new jars
      
      Not yet working: Plugin/webapp run detection and stopping, eepsite CGI
      Not well tested: Plugins, classpaths, webapps
      92b9d0a9
  9. Dec 15, 2011
  10. Dec 05, 2011
    • zzz's avatar
      * Router: · 0f384c86
      zzz authored
          - More refactoring tasks to their own files
          - Adjust some thread priorities
      0f384c86
  11. Nov 09, 2011
  12. Jun 16, 2011
    • zzz's avatar
      * Shutdown: · cb72bb04
      zzz authored
          - Implement and call shutdown for BandwidthRefiller
          - Implement and register shutdown hook for Timestamper
          - Implement and register shutdown hook for Jetty console server
          - Fix UPnP-SSDPNotifySocket thread not stopping
          - Fix all but one UDP PacketHandler threads not stopping
      cb72bb04
  13. Feb 27, 2011
    • zzz's avatar
      * Console: · 21f14ac2
      zzz authored
            - Fix numerous readme HTML errors
            - Fix flag locations in readmes
            - desktopgui.enable now defaults to false; run systray if false
            - Start icon app before console
            - Restore systray form in configservice.jsp
            - Only save lang when clicking on flags if desktopgui is running
            - Only allow two-letter lang code from cgi parameter
      21f14ac2
  14. Feb 17, 2011
  15. Feb 14, 2011
  16. Feb 11, 2011
  17. Jan 20, 2011
  18. Jan 19, 2011
  19. Dec 31, 2010
  20. Dec 27, 2010
  21. Dec 14, 2010
    • zzz's avatar
      minor · c44c2225
      zzz authored
      c44c2225
  22. Dec 05, 2010
    • zzz's avatar
      * Console: · 4a9f7b74
      zzz authored
            - Add SSL support - To enable, change clients.config. Examples:
                  ## Change to SSL only - just add a '-s'
                  clientApp.0.args=-s 7657 ::1,127.0.0.1 ./webapps/
                  ## Use both non-SSL and SSL - add '-s port interface'
                  clientApp.0.args=7657 ::1,127.0.0.1 -s 7667 ::1,127.0.0.1 ./webapps/
                  ## ...and change URLLauncher args further down for the browser to open https:// at startup if you like.
      4a9f7b74
  23. Jul 06, 2010
  24. Jun 29, 2010
  25. May 05, 2010
  26. Mar 29, 2010
    • zzz's avatar
      * configclients.jsp: · c43b16cf
      zzz authored
            - Always show start button for webapps and plugins
          * configclients.jsp, configupdate.jsp:
            - Fix submission when entering CR in a text box
          * Plugins:
            - Stop all plugins at shutdown
            - Log tweaks
          * WebApps:
            - Remove the WAC after stopping it
            - Stop a WAC before starting it to prevent dups
      c43b16cf
  27. Feb 27, 2010
  28. Feb 10, 2010
    • zzz's avatar
      * Plugins: · 949aea95
      zzz authored
            - Hook up update/delete/check/save buttons
            - Implement delete
            - Hide unless router.enablePlugins=true
      949aea95
  29. Feb 07, 2010
  30. Feb 06, 2010
  31. Nov 27, 2009
  32. Oct 18, 2009
    • zzz's avatar
      * Router Console translation infrastructure: · 44974637
      zzz authored
            - Persistent lang setting with routerconsole.lang=xx
            - Loading any page with ?lang=xx changes the persistent setting
            - Add a custom Jetty handler to load foo_xx.jsp if it
              exists for language xx. This is for jsp files with lots
              of text in them. Otherwise use inline translate methods.
              Not for included jsps.
            - Add a script to create and update messages_xx.po translation
              files, and create ResourceBundles from them
            - Add class to translate strings from cached ResourceBundles
            - Add translate wrappers to HelperBase, FormHandler, and *Renderer,
              so calls can be made from both jsp and java files
            - Add two example translations on configupdate.jsp - one in
              the jsp itself and one in the helper.
            - This is for strings in routerconsole only. Will be expanded
              to other webapps and the router later.
      44974637
  33. Aug 26, 2009
  34. Aug 14, 2009
    • zzz's avatar
      * Console cleanups · bcd22cfb
      zzz authored
          * Router: Don't do some things when we are shutting down
          * VMCommSystem fixups
      bcd22cfb
  35. Jun 15, 2009
    • zzz's avatar
      * Reseeding / NetDb: · 7aa99493
      zzz authored
            - Move reseeding from the routerconsole app to
              the router, so that we can bootstrap an embedded router lacking a routerconsole
              (iMule or android for example), without additional modifications.
              This allows better integration between the reseeding function
              and the netDb.
            - Call reseed from PersistentDataStore, not from the
              routerconsole init, and start seeding as soon as the netdb has read
              the netDb/ directory, not when the console starts.
            - Wake up the netdb reader as soon as reseeding is done,
              rather than waiting up to 60s.
            - Don't display the reseed button on the console until the
              netdb initialization is done.
          * NetDb:
            - Fix an NPE on early shutdown
          * RouterConsoleRunner:
            - Catch a class not found error better
      7aa99493
  36. Jun 13, 2009
    • zzz's avatar
      * ConsoleRunner: · e5ec72b0
      zzz authored
            - Fix webapps file path
          * SusiDNS:
            - Fix addressbook file path
          * Systray:
            - Fix NPE if no config file
            - Fix config file path
          * WorkingDir:
            - Modify clients.config so jetty can find the jetty.xml file
            - Rip out all the existing-installation migration code
            - Rip out migration code now done by izpack parsable
            - Fix copy of empty directories
      e5ec72b0
  37. Jun 04, 2009
    • zzz's avatar
      Big directory rework. · 524a25eb
      zzz authored
      Eliminate all uses of the current working directory, and
      set up multiple directories specified by absolute paths for various uses.
      
      Add a WorkingDir class to create a user config directory and
      migrate files to it for new installs.
      The directory will be $HOME/.i2p on linux and %APPDIR%\I2P on Windows,
      or as specified in the system property -Di2p.dir.config=/path/to/i2pdir
      All files except for the base install and temp files will be
      in the config directory by default.
      Temp files will be in a i2p-xxxxx subdirectory of the system temp directory
      specified by the system property java.io.tmpdir.
      
      Convert all file opens in the code to be relative to a specific directory,
      as specified in the context. Code and applications should never open
      files relative to the current working directory (e.g. new File("foo")).
      All files should be accessed in the appropriate context directory,
      e.g. new File(_context.getAppDir(), "foo").
      
      The router.config file location may be specified as a system property on the
      java command line with -Drouter.configLocation=/path/to/router.config
      All directories may be specified as properties in the router.config file.
      
      The migration will copy all files from an existing installation,
      except i2psnark/, with the system property -Di2p.dir.migrate=true.
      Otherwise it will just set up a new directory with a minimal configuration.
      
      The migration will also create a modified wrapper.config and (on linux only)
      a modified i2prouter script, and place them in the config directory.
      
      There are no changes to the installer or the default i2prouter, i2prouter.bat,
      i2prouter, wrapper.config, runplain.sh, windows service installer/uninstaller,
      etc. in this checkin.
      
      
          *  Directories. These are all set at instantiation and will not be changed by
          *  subsequent property changes.
          *  All properties, if set, should be absolute paths.
          *
          *  Name	Property 	Method		Files
          *  -----	-------- 	-----		-----
          *  Base	i2p.dir.base	getBaseDir()	lib/, webapps/, docs/, geoip/, licenses/, ...
          *  Temp	i2p.dir.temp	getTempDir()	Temporary files
          *  Config	i2p.dir.config	getConfigDir()	*.config, hosts.txt, addressbook/, ...
          *
          *  (the following all default to the same as Config)
          *
          *  Router	i2p.dir.router	getRouterDir()	netDb/, peerProfiles/, router.*, keyBackup/, ...
          *  Log	i2p.dir.log	getLogDir()	wrapper.log*, logs/
          *  PID	i2p.dir.pid	getPIDDir()	wrapper *.pid files, router.ping
          *  App	i2p.dir.app	getAppDir()	eepsite/, ...
          *
          *  Note that we can't control where the wrapper actually puts its files.
      
      All these will be set appropriately in a Router Context.
      In an I2P App Context, all except Temp will be the current working directory.
      
      Lightly tested so far, needs much more testing.
      524a25eb
Loading