🔀 Merge branch 'master' into next
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 26 Jun 2019 18:27:23 +0000 (20:27 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 26 Jun 2019 18:28:06 +0000 (20:28 +0200)
41 files changed:
build.gradle
settings.gradle
src/main/java/net/pterodactylus/sone/database/memory/MemoryDatabase.kt
src/main/java/net/pterodactylus/sone/main/SonePlugin.java
src/main/kotlin/net/pterodactylus/sone/core/Preferences.kt
src/main/kotlin/net/pterodactylus/sone/core/event/NewPostFoundEvent.kt
src/main/kotlin/net/pterodactylus/sone/core/event/NewPostReplyFoundEvent.kt
src/main/kotlin/net/pterodactylus/sone/core/event/PostRemovedEvent.kt
src/main/kotlin/net/pterodactylus/sone/core/event/PostReplyRemovedEvent.kt
src/main/kotlin/net/pterodactylus/sone/data/Fingerprintable.kt
src/main/kotlin/net/pterodactylus/sone/data/Identified.kt
src/main/kotlin/net/pterodactylus/sone/database/AlbumBuilder.kt
src/main/kotlin/net/pterodactylus/sone/database/AlbumBuilderFactory.kt
src/main/kotlin/net/pterodactylus/sone/database/AlbumDatabase.kt
src/main/kotlin/net/pterodactylus/sone/database/AlbumProvider.kt
src/main/kotlin/net/pterodactylus/sone/database/AlbumStore.kt
src/main/kotlin/net/pterodactylus/sone/database/Database.kt
src/main/kotlin/net/pterodactylus/sone/database/ImageBuilder.kt
src/main/kotlin/net/pterodactylus/sone/database/ImageBuilderFactory.kt
src/main/kotlin/net/pterodactylus/sone/database/ImageDatabase.kt
src/main/kotlin/net/pterodactylus/sone/database/ImageProvider.kt
src/main/kotlin/net/pterodactylus/sone/database/ImageStore.kt
src/main/kotlin/net/pterodactylus/sone/database/PostBuilder.kt
src/main/kotlin/net/pterodactylus/sone/database/PostBuilderFactory.kt
src/main/kotlin/net/pterodactylus/sone/database/PostDatabase.kt
src/main/kotlin/net/pterodactylus/sone/database/PostProvider.kt
src/main/kotlin/net/pterodactylus/sone/database/PostReplyBuilder.kt
src/main/kotlin/net/pterodactylus/sone/database/PostReplyBuilderFactory.kt
src/main/kotlin/net/pterodactylus/sone/database/PostReplyDatabase.kt
src/main/kotlin/net/pterodactylus/sone/database/PostReplyProvider.kt
src/main/kotlin/net/pterodactylus/sone/database/PostReplyStore.kt
src/main/kotlin/net/pterodactylus/sone/database/PostStore.kt
src/main/kotlin/net/pterodactylus/sone/database/ReplyBuilder.kt
src/main/kotlin/net/pterodactylus/sone/database/SoneProvider.kt
src/main/kotlin/net/pterodactylus/sone/fcp/AbstractSoneCommand.kt
src/main/kotlin/net/pterodactylus/sone/web/page/FreenetPage.kt
src/main/kotlin/net/pterodactylus/sone/web/page/FreenetRequest.kt
src/main/kotlin/net/pterodactylus/sone/web/page/FreenetTemplatePage.kt
src/main/kotlin/net/pterodactylus/sone/web/page/PageToadletFactory.kt
src/test/kotlin/net/pterodactylus/sone/database/memory/MemoryDatabaseTest.kt
src/test/kotlin/net/pterodactylus/sone/text/SoneTextParserTest.kt

index 4c488f7..01832fb 100644 (file)
@@ -1,5 +1,5 @@
 group = 'net.pterodactylus'
-version = '0.9.8'
+version = '79'
 
 buildscript {
     ext.kotlinVersion = '1.2.71'
@@ -65,7 +65,7 @@ test {
 }
 
 task fatJar(type: Jar) {
-    archiveName = project.name + '-jar-with-dependencies.jar'
+    archiveName = project.name.toLowerCase() + '-jar-with-dependencies.jar'
     from { (configurations.runtime - configurations.provided).collect { it.isDirectory() ? it : zipTree(it) } }
     manifest {
         attributes('Plugin-Main-Class': 'net.pterodactylus.sone.main.SonePlugin')
index e60d974..97902dc 100644 (file)
@@ -1 +1 @@
-rootProject.name = 'sone'
+rootProject.name = 'Sone'
index 4e960ec..6fce7e0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - MemoryDatabase.java - Copyright Â© 2013–2019 David Roden
+ * Sone - MemoryDatabase.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 63279ab..649ebf6 100644 (file)
@@ -122,9 +122,9 @@ public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr
        }
 
        /** The current year at time of release. */
-       private static final int YEAR = 2017;
+       private static final int YEAR = 2019;
        private static final String SONE_HOMEPAGE = "USK@nwa8lHa271k2QvJ8aa0Ov7IHAV-DFOCFgmDt3X6BpCI,DuQSUZiI~agF8c-6tjsFFGuZ8eICrzWCILB60nT8KKo,AQACAAE/sone/";
-       private static final int LATEST_EDITION = 77;
+       private static final int LATEST_EDITION = 78;
 
        /** The logger. */
        private static final Logger logger = getLogger(SonePlugin.class.getName());
index c445ed1..783552e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - Preferences.java - Copyright Â© 2013–2019 David Roden
+ * Sone - Preferences.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 6ee1c78..ba7f957 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - NewPostFoundEvent.java - Copyright Â© 2013–2019 David Roden
+ * Sone - NewPostFoundEvent.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 2827a93..a70d1b9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - NewPostReplyFoundEvent.java - Copyright Â© 2013–2019 David Roden
+ * Sone - NewPostReplyFoundEvent.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index d9f5b68..117d800 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostRemovedEvent.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostRemovedEvent.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 88bdd76..6aa495b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostReplyRemovedEvent.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostReplyRemovedEvent.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 7127d42..97a54f8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - Fingerprintable.java - Copyright Â© 2011–2019 David Roden
+ * Sone - Fingerprintable.kt - Copyright Â© 2011–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 75446c8..1cbad81 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - Identified.java - Copyright Â© 2013–2019 David Roden
+ * Sone - Identified.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 6aafabc..acace46 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - AlbumBuilder.java - Copyright Â© 2013–2019 David Roden
+ * Sone - AlbumBuilder.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 8b47e4a..f153f33 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - AlbumBuilderFactory.java - Copyright Â© 2013–2019 David Roden
+ * Sone - AlbumBuilderFactory.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 1dfa4cd..e61d429 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - AlbumDatabase.java - Copyright Â© 2013–2019 David Roden
+ * Sone - AlbumDatabase.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index b8626a4..db0146d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - AlbumProvider.java - Copyright Â© 2013–2019 David Roden
+ * Sone - AlbumProvider.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index a06e595..ddc7bb2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - AlbumStore.java - Copyright Â© 2013–2019 David Roden
+ * Sone - AlbumStore.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 9a0e226..17337e2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - Database.java - Copyright Â© 2013–2019 David Roden
+ * Sone - Database.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 0e0a888..c9ddbaa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - ImageBuilder.java - Copyright Â© 2013–2019 David Roden
+ * Sone - ImageBuilder.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index f58abc2..f9f8be7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - ImageBuilderFactory.java - Copyright Â© 2013–2019 David Roden
+ * Sone - ImageBuilderFactory.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 288e472..b55c073 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - ImageDatabase.java - Copyright Â© 2013–2019 David Roden
+ * Sone - ImageDatabase.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index e68ba25..0cde52a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - ImageProvider.java - Copyright Â© 2013–2019 David Roden
+ * Sone - ImageProvider.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 1c2d2bc..4be9dd9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - ImageStore.java - Copyright Â© 2013–2019 David Roden
+ * Sone - ImageStore.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 638678f..542bf78 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostBuilder.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostBuilder.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 0d0f859..e20248f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostBuilderFactory.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostBuilderFactory.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 7e80292..02b9fd1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostDatabase.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostDatabase.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index d8eb8cd..abf7ab9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostProvider.java - Copyright Â© 2011–2019 David Roden
+ * Sone - PostProvider.kt - Copyright Â© 2011–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index f2bb9ab..d8d7f8d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostReplyBuilder.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostReplyBuilder.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 169f306..50b58e8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostReplyBuilderFactory.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostReplyBuilderFactory.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 40a20e5..316c772 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostReplyDatabase.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostReplyDatabase.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 4551650..cc797d7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostReplyProvider.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostReplyProvider.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 5616c75..f4839b1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostReplyStore.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostReplyStore.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index fda25f5..84ea39e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PostStore.java - Copyright Â© 2013–2019 David Roden
+ * Sone - PostStore.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index b1a79be..bfc74ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - ReplyBuilder.java - Copyright Â© 2013–2019 David Roden
+ * Sone - ReplyBuilder.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 41abeb0..4156d66 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - SoneProvider.java - Copyright Â© 2011–2019 David Roden
+ * Sone - SoneProvider.kt - Copyright Â© 2011–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 3f9bd82..915c536 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - AbstractSoneCommand.java - Copyright Â© 2011–2019 David Roden
+ * Sone - AbstractSoneCommand.kt - Copyright Â© 2011–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 23b398c..2af0eca 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - FreenetPage.java - Copyright Â© 2011–2019 David Roden
+ * Sone - FreenetPage.kt - Copyright Â© 2011–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 69843f7..54c8f7f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - FreenetRequest.java - Copyright Â© 2011–2019 David Roden
+ * Sone - FreenetRequest.kt - Copyright Â© 2011–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index d5d8f06..2dcef51 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - FreenetTemplatePage.java - Copyright Â© 2010–2019 David Roden
+ * Sone - FreenetTemplatePage.kt - Copyright Â© 2010–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index ace5f8a..3c84c09 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PageToadletFactory.java - Copyright Â© 2010–2019 David Roden
+ * Sone - PageToadletFactory.kt - Copyright Â© 2010–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index d02d162..1536da4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - MemoryDatabaseTest.java - Copyright Â© 2013–2019 David Roden
+ * Sone - MemoryDatabaseTest.kt - Copyright Â© 2013–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index ff0572c..b20225a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - SoneTextParserTest.java - Copyright Â© 2011–2019 David Roden
+ * Sone - SoneTextParserTest.kt - Copyright Â© 2011–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by