Commit Graph

25 Commits

Author SHA1 Message Date
zzz
cf0d59ab61 Password change form handling 2018-02-06 14:36:31 +00:00
zzz
c5d0562493 Start of a password change form 2018-02-06 14:01:45 +00:00
zzz
e40bb3a2f4 Register with PortMapper 2018-02-03 14:12:19 +00:00
zzz
cb535188b2 Don't create keystore if webapp 2018-02-03 13:16:56 +00:00
zzz
273f91b3d4 Change config file name if webapp 2018-02-03 13:05:02 +00:00
zzz
55199e666a SecurityManager:
Convert Timer to SimpleTimer2
Synch Sweeper cleanup, make more efficient
Delay first Sweeper run until min expiration
Re-enable changing password
Synch fixes
Clear tokens on shutdown
2018-02-02 13:50:14 +00:00
zzz
e58129e46a ConfigurationManager:
Use DataHelper for load/store
Synch everything
Only save if something changed
Comment out unused methods

Implement destroy() for servlet
Fix allowedhosts config
2018-02-02 11:56:30 +00:00
zzz
6aff0344a5 Update jsonrpc2 libs.
All are licensed Apache 2.0.
Overview:
http://software.dzhuvinov.com/json-rpc-2.0-server.html
Previous versions unknown, no version in checkin comments,
but were checked in 2011-06-13.
Not clear how much actually changed because
the sources here were reformatted on 2016-01-20.
This reverts a previous change to JSONRPC2Error.java that made two fields protected.

Jars from maven central:
jsonrpc2-base-1.38.1-sources.jar  22-Oct-2017
jsonrpc2-server-1.11-sources.jar  16-Mar-2015

Smart Mini files (net.minidev.json) from:
https://github.com/netplex/json-smart-v1
commit 51e1641 on Oct 23, 2015
Maven jar is 1.0.8 but we need at least 1.0.9
Based on the @since lines, this is at least version 1.3.1
Removed as unneeded: JSONNavi.java, JSONStyleIdent.java
Previous version was org.json.simple

Fix up use of deprecated methods in our code
Remove duplicate method overrides in our JSONRPC2ExtendedError.java
2018-02-01 22:53:25 +00:00
zzz
2c9042ef7d Add version to GET info 2018-02-01 17:38:22 +00:00
zzz
16a5e8b884 Pass ctx to SecurityManager
Use ctx sha256
Add / to request path so it will work with the war
2018-02-01 17:34:08 +00:00
zzz
9edc0ae53e - Build fix
- Add war target
- Add override.properties for compiler args
- Change GET message and mime type
2018-02-01 16:36:49 +00:00
zzz
37251cbcb3 - Fixes for Jetty 9
- Convert I2PControlController to RouterApp
- Remove all static references
- Don't stop all running threads on shutdown
- Set restrictive permissions on configuration file
- Disable changing host/port/password via RPC
- Use I2P lib for setting supported ciphers
- Update makeplugin.sh
- Change signer and update URLs in plugin.config
- Don't include license, readme, and clients.config in the update
- Bundle i2pcontrol.py test script
- Make constants static and final
- Comment out unused methods
- Remove tabs in build.xml
- Remove unused dependencies in build.xml
- Clean up imports
2018-02-01 15:14:03 +00:00
dev
442fb6aef4 Formatted .java files. 2016-01-20 18:04:46 +00:00
dev
df5a9a60a5 Added support for adding and deleting Advanced Config Settings. 2016-01-18 20:44:17 +00:00
dev
fcd2a54754 Add support for RouterManager.CheckUpdates and RouterManager.Update. 2015-06-09 04:06:00 +00:00
c721c9ab48 Finished fixing inconsistent whitespace 2012-10-16 04:14:12 +00:00
dev
58a91be062 Renamed handlers to be more desciptive.
Send RouterInfo netstatus via enumerators rather than status strings.
2011-07-26 14:33:04 +00:00
dev
70afd93f2f Cleaned up build scripts.
Removed cruddy files from repo.
Added support for API versioning. Version 1 is the current one.
2011-07-22 12:19:16 +00:00
dev
a70177ec64 Added support for port/password changing of I2PControl in accordance with API document. 2011-07-19 14:10:06 +00:00
dev
a6ae4c8405 Switched to I2Ps implementation of Base64.
Added support for the RouterInfo API call.
Added support for the RouterRunner API call.
2011-07-15 12:46:08 +00:00
dev
3e861bb749 Removed dependency on bouncycastle. Now uses a undocumented method JDK method for signing certificates however. The same method is as used by keytool. 2011-07-08 11:22:22 +00:00
dev
3fa499b198 Added support for starting a dummy router.
Added support for detecting whether I2PControl is run from a .jar (via RouterConsole).
Revised build.xml to include new libraries and remove old libraries.
Refactored NetworkInfo and changed name inte NetworkSetting.
2011-07-08 09:48:37 +00:00
dev
50667e8196 Fixed bad cast in StatHandler. 2011-07-05 12:30:50 +00:00
dev
27d3df3403 Added support for passing authentication tokens over ssl.
JSONRPC2 request (other than the authentication message) now require a valid token to be provided.
2011-07-05 10:48:48 +00:00
dev
acc97b01c9 Renamed JSONRPCServlet -> JSONRPC2Servlet.
Added package for JSONRPC2 handlers.
Added handler for providing authentication tokens, tokens will be needed later on to interface with the JSONRPC2Servlet.
2011-07-01 13:22:47 +00:00