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

Skip to content
Snippets Groups Projects
  1. Oct 17, 2015
  2. Sep 19, 2015
  3. May 15, 2015
  4. May 09, 2015
  5. Apr 24, 2015
  6. Dec 05, 2014
  7. Nov 13, 2014
    • zzz's avatar
      I2PTunnel: · 2f2aa7f5
      zzz authored
      - Fix bug that left server acceptor thread running after close
      - Add destroy() methods to release all resources when closing a tunnel for good,
        particularly the streaming timer threads
      - Use COWAL to prevent concurrency problems
      - Javadocs
      Streaming:
      - Don't return null from accept() any more; actually throw
        ConnectException as the javadocs have always specified
      - Throw ConnectException from accept() if interrupted; previously caught and ignored
      - Throw exceptions from ConnectionHandler.accept(), not higher up
      - Close ServerSocket when ConnectionManager is shut down
      - Synchronize setActive(), clear queue when starting to accept,
        better handling of calls that don't change state
      - Javadocs
      ConfigClientsHelper: Call isPluginRunning() less often
      PluginStarter: Simplify detection of active threads
      
      Above changes mostly in support of zzzot plugin implementing ClientApp
      and being able to shut down completely so there are no threads
      in its thread group, so /configclients will all show status as stopped.
      Previously, the I2PTunnelServer acceptor thread and
      one or more streaming timer threads would remain.
      2f2aa7f5
  8. Nov 12, 2014
  9. Jul 19, 2014
  10. Apr 30, 2014
  11. Mar 23, 2014
  12. Feb 07, 2014
    • zzz's avatar
      * UpdateManager: · ef3a12f0
      zzz authored
         - Convert to RouterApp and remove update hooks from context
           (ticket #1185)
      ef3a12f0
  13. Nov 24, 2013
  14. Nov 21, 2013
  15. Nov 16, 2013
    • zzz's avatar
      Findbugs all over · 1d419073
      zzz authored
       - volatile -> atomic
       - unused code and fields
       - closing streams
       - hashCode / equals
       - known non-null
       - Number.valueOf
       - new String
       Still avoiding SAM, BOB, SusiMail
      1d419073
  16. Jun 30, 2013
  17. May 26, 2013
    • zzz's avatar
      * DatabaseLookupmessage: · e394d3d4
      zzz authored
        - Add support for requesting an encrypted reply
      * NetDB:
        - Add support for encrypted DatabaseSearchReplyMessage and DatabaseStoreMessage
          in response to a DatabaseLookupMessage
      * PRNG: Cleanups using Collections.singletonMap()
      * Router utils: New RemovableSingletonSet
      * TransientSessionKeyManager:
        - Support variable expiration for inbound tag sets
        - Several efficiency improvements
      * VersionComparator: Add static method, use most places
      e394d3d4
  18. Apr 26, 2013
  19. Apr 19, 2013
    • zzz's avatar
      * Updates: · 1e5ffe63
      zzz authored
         - Notify manager about all available update methods at once, so the priority
           system works and it doesn't only update via HTTP
         - Start router update download at startup if available
         - Only check plugins when core version increases, not decreases, so we
           don't update plugins when downgrading
         - Limit length of URL shown on summary bar
      1e5ffe63
  20. Nov 21, 2012
    • zzz's avatar
      RouterConsole compile fixes for Jetty 7. · f1dd7798
      zzz authored
      Convert LocaleWebAppHandler from extending WebAppContext to
      extending HandlerWrapper, since handle() is now final in WebAppContext.
      Untested.
      f1dd7798
  21. Oct 23, 2012
  22. Oct 13, 2012
  23. Sep 28, 2012
  24. Jun 18, 2012
    • zzz's avatar
      Big refactor of the router console update subsystem, in preparation for · e62b76d2
      zzz authored
      implementing out-of-console updaters like i2psnark.
      
      - Add new update interfaces in net.i2p.update
      - All update implementations moved to routerconsole update/
      - Implement an UpdateManager that registers with the RouterContext
      - UpdateManager handles multiple types of things to update
        (router, plugins, news, ...) and methods of updating (HTTP, ...)
      - UpdateManager maintains list of installed, downloaded, and available versions of everything
      - Define Updaters that can check for a new version and/or download an item
      - Individual Updaters register with the UpdateManager obtained from
        I2PAppContext, identifying the type of update item and
        update method they can handle.
      - Updaters need only core libs, no router.jar or routerconsole access required.
      - All checks and updates are initiated via the UpdateManager.
      - All status on checks and updates in-progress or completed are
        obtained from the UpdateManager. No more use of System properties
        to broadcast update state.
      - All update and checker tasks are intantiated on demand and threaded;
        no more static references left over.
      - Split out the Runners and Checkers from the Handlers and make the inheritance more sane.
      - No more permanent NewsFetcher thread; run on the SimpleScheduler queue
        and thread a checker task only to fetch the news.
      - No more static NewsFetcher instance in routerconsole.
        All helper methods that are still required are moved to NewsHelper.
      
      The UpdateManager implements the policy for when to check and download.
      All requests go through the UpdateManager.
      
      For each update type, there's several parts:
          - The xxxUpdateHandler implements the Updater
          - The xxxUpdateChecker implements the UpdateTask for checking
          - The xxxUpdateRunner implements the UpdateTask for downloading
      
      New and moved classes:
      
      web/				update/
      ----				-------
      new				ConsoleUpdateManager.java
      
      new				PluginUpdateChecker.java from PluginUpdateChecker
      PluginUpdateChecker 		-> PluginUpdateHandler.java
      PluginUpdateHandler.java	-> PluginUpdateRunner
      
      new				UnsignedUpdateHandler.java
      UnsignedUpdateHandler		->  UnsignedUpdateRunner.java
      new				UnsignedUpdateChecker from NewsFetcher
      
      UpdateHandler.java remains
      new				UpdateHandler.java
      new				UpdateRunner.java from UpdateHandler
      
      move				NewsHandler from NewsFetcher
      new				NewsFetcher
      new				NewsTimerTask
      
      new				DummyHandler
      
      
      Initial checkin. Unfinished, untested, unpolished.
      e62b76d2
  25. Mar 19, 2012
  26. Mar 15, 2012
  27. Mar 13, 2012
  28. Jan 23, 2012
  29. Jan 18, 2012
  30. Jan 15, 2012
    • zzz's avatar
      * Plugins: · fc6f4ecc
      zzz authored
          - Auto-update plugins after a router update
          - Add update-all button
      fc6f4ecc
    • zzz's avatar
      * Plugins: · 3d2d6046
      zzz authored
          - Only stop a plugin before update if it was running
          - Don't start a plugin after update if it was disabled
          - Disable plugin if it fails version checks at startup
      3d2d6046
  31. Dec 24, 2011
    • zzz's avatar
      * Plugins: · bb7a88ff
      zzz authored
          - Enforce min and max Jetty versions at plugin installation
          - Enforce I2P, Java, and Jetty versions at plugin startup too
      bb7a88ff
  32. 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
  33. Apr 10, 2011
    • zzz's avatar
      * Console: Hide iframe on mobile browsers · 428db022
      zzz authored
          * DataHelper: Speed up eq() (Ticket #437)
          * HTTPServer: Strip inbound X-Accept-Encoding header
          * netdb.jsp: HTML fixes
          * Plugins: Log error when console server not found
          * Reseed: Log tweak
      428db022
  34. Nov 27, 2010
  35. Nov 24, 2010
  36. Jul 06, 2010
  37. May 10, 2010
  38. May 05, 2010
    • zzz's avatar
      * Plugins: · a8db6b00
      zzz authored
            - Set classpath for specific client only, not for the whole JVM
            - Use ConfigDir() not AppDir()
      a8db6b00
  39. Apr 23, 2010
Loading