summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Prepare for 1.0.0 release.exonerator-1.0.0Karsten Loesing2017-09-15
|
* Use Java 8.iwakeh2017-09-15
|
* Streamline logging.iwakeh2017-09-15
| | | | | slf4j and logback were already used in ExoneraTor. This commit makes all classes use slf4j and replaced j.u.l and System.{err,out} logging.
* Add tests and adapt build.xml to run these.iwakeh2017-09-15
| | | | Also added test sources to checkstyle target.
* Make ExoneraTor's code testable.iwakeh2017-09-15
| | | | | This includes making utils methods static and also moving all Gson/JSON related code into QueryResponse for better encapsulation.
* Adapt .gitignore to actual project structure.iwakeh2017-09-15
|
* Take out ORDER BY statements.Karsten Loesing2017-09-15
| | | | | | We don't expect results to be in order, and taking out ORDER BY statements means we don't need to worry about replacing numbers with names for better readability.
* Use a constant for milliseconds in a day.Karsten Loesing2017-09-15
|
* Start using a JSP to prepare moving to metrics-web.Karsten Loesing2017-09-15
|
* Reduce database query to single request.Karsten Loesing2017-09-15
| | | | Implements #16596.
* Provide and use query results via query.json.Karsten Loesing2017-09-15
| | | | | | | | This prepares splitting up ExoneraTor into front-end and back-end. Note that some code duplication between ExoneraTorServlet and QueryServlet was deemed acceptable, because ExoneraTorServlet will be moved to metrics-web in the medium term anyway.
* Start using a query response object.Karsten Loesing2017-08-16
| | | | | | This is another prerequisite for changing queries towards making a single query per request (#16596) and towards splitting up ExoneraTor into front-end and back-end.
* Separate servlet into three steps.Karsten Loesing2017-08-16
| | | | | | | | | 1: Parse the request. 2: Query the database. 3: Write the response. This doesn't just clean up code, it's also a prerequisite for changing queries towards making a single query per request (#16596).
* Update to Debian stretch libraries.Karsten Loesing2017-07-04
| | | | Implements #22811.
* Update to metrics-lib 2.0.0.Karsten Loesing2017-06-29
|
* Update to metrics-lib 1.9.0.Karsten Loesing2017-06-21
| | | | Implements #22682.
* Update to metrics-lib 1.8.2.Karsten Loesing2017-06-17
|
* Update to metrics-lib 1.8.0.Karsten Loesing2017-06-07
|
* Update to metrics-lib 1.7.0.Karsten Loesing2017-05-17
|
* Added some commas and removed a superfluous 'unter'.iwakeh2017-04-26
|
* Re-formulation of footer.aboutexonerator.body.iwakeh2017-04-26
|
* Add lang parameter to explicitly select a language.Karsten Loesing2017-04-26
| | | | | Language names and translations of "This page is also available in the following languages:" taken from https://www.debian.org/.
* Add Romanian translation by Transifex and s7r.Karsten Loesing2017-04-10
|
* Add Swedish translation by Transifex and ln5.Karsten Loesing2017-04-03
|
* Add French translation by Transifex and Lunar.Karsten Loesing2017-04-03
|
* Avoid zero-width space in fingerprints.Karsten Loesing2017-03-06
| | | | | | | | Apparently, the zero-width space character causes trouble when copying and pasting fingerprints. Fortunately, we can let the fingerprint break anywhere using CSS. Fixes #17231.
* Update to metrics-lib 1.6.0.Karsten Loesing2017-02-24
|
* Use Java 7's diamond operator wherever possible.Karsten Loesing2017-02-23
| | | | Implements #21535.
* Update copyright.Karsten Loesing2017-01-13
|
* Update licensehiromipaw2017-01-03
|
* More adaptions toward the general metrics project structure.iwakeh2016-11-02
| | | | Removed obsolete git-submodule.
* Update to Java 7 and metrics-lib 1.5.0.Karsten Loesing2016-11-01
|
* Use metrics-lib for parsing descriptors.Karsten Loesing2016-11-01
| | | | | | We're using metrics-lib for downloading descriptors from CollecTor, but we're still using our own parsing code. Let's avoid duplicating code by using what metrics-lib provides.
* Make two build improvements.Karsten Loesing2016-10-08
| | | | | | | | Upgrade to metrics-lib 1.4.0 and include newly required logging .jar files. Include PostgreSQL .jar file in the .war file rather than relying on Tomcat to provide it.
* Display German text correctly.Karsten Loesing2016-09-28
| | | | | | | | | | | | Turns out that resource bundles must be ISO 8859-1 encoded, so we'll have to convert the German file using: native2ascii -encoding UTF-8 old new Also make some minor changes to make UTF-8 encoding of the resulting web page more explicit, and correct the included language code. Fixes #19954.
* Tweak English text.Karsten Loesing2016-09-23
| | | | | | Fix typo "ant" to "and" and add   to the end of all sentences. Both tweaks suggested by John Lorenz.
* Remove unused fields from the database.Karsten Loesing2016-08-17
| | | | | | | | Required changes from previous schema: - CREATE OR REPLACE FUNCTION insert_statusentry [...]; - CREATE OR REPLACE FUNCTION insert_exitlistentry [...]; - ALTER TABLE statusentry DROP COLUMN descriptor; - ALTER TABLE exitlistentry DROP COLUMN rawexitlistentry;
* Make checkstyle task fail, when new warnings appear.iwakeh2016-08-02
|
* Upgrade metrics-lib to 1.3.1.Karsten Loesing2016-08-02
|
* Checkstyle doesn't complain anymore.iwakeh2016-07-12
|
* Fix most of the style issues found by checkstyle.Karsten Loesing2016-07-06
|
* Add checkstyle task.Karsten Loesing2016-07-06
| | | | Copied over from CollecTor.
* Move Java sources to src/main/java/.Karsten Loesing2016-07-06
|
* Update libraries and instructions to Debian jessie.Karsten Loesing2016-06-13
| | | | Implements #19404.
* Set content type, or the page doesn't render in Chrome.Karsten Loesing2016-02-08
| | | | Fixes #18281.
* Switch to dynamic SQL queries for performance reasons.Karsten Loesing2015-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | We're using PostgreSQL 9.1 which, apparently, optimizes functions only once rather than for each call. From the 9.2 release notes: """ Allow the planner to generate custom plans for specific parameter values even when using prepared statements (Tom Lane) In the past, a prepared statement always had a single "generic" plan that was used for all parameter values, which was frequently much inferior to the plans used for non-prepared statements containing explicit constant values. Now, the planner attempts to generate custom plans for specific parameter values. A generic plan will only be used after custom plans have repeatedly proven to provide no benefit. This change should eliminate the performance penalties formerly seen from use of prepared statements (including non-dynamic statements in PL/pgSQL). """ This is rather ugly, so maybe we can take this out when upgrading to 9.2 or higher. Still related to #17488.
* Fix query that took almost forever.Karsten Loesing2015-11-19
| | | | | | | | | | | Queries that match one or more exit list entries took almost forever, because avoided all the fine indexes we created for it. The workaround is to search by /24 of the requested IP address (or /48 in case of IPv6) which we already have in the database. We should want to do this anyway to avoid making subsequent queries if there's no hit for the exact IP address that was requested. Fixes #17488. Thanks, starlight, for all the feedback!
* Fix phrasing.Karsten Loesing2015-09-28
| | | | Suggested by "I" on tor-talk@.
* Put the start page link back.Karsten Loesing2015-09-26
|
* Include Leiah's awesome logo and wordmark.Karsten Loesing2015-09-26
| | | | Implements #16592.