Commit Graph

138 Commits

Author SHA1 Message Date
aad2f391fb Turned all environment variable names in an Enum
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 23:37:53 +01:00
afe16f9eb1 Fixed issue where a disconnection from the OpenSubtitles.org system or a failure in login would exit the program
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 23:17:41 +01:00
4ba3d48d3c Fixed bug where an empty string would be stored in the database isntead of a NULL value
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 22:59:02 +01:00
0fc84bd2a3 Moved everything related to the properties to its own manager
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 22:50:33 +01:00
8f1ae7a5fe Added a way to update and setup languages
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 21:38:19 +01:00
ee08b6b29c Removed support for command line arguments are there are too many arguments to manage. Fixed small typo in DBManager
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 16:53:28 +01:00
66de95c0df Fixed small typo to set all table names as lowercase
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 16:23:22 +01:00
7d358c5cef Added missing dependency
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 16:22:55 +01:00
8d7ca0ad33 Added basic database manager
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 16:22:23 +01:00
45bf4b1eee Added language codes
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 14:49:42 +01:00
61fc79e39f Added basic SQL schema
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 14:49:18 +01:00
bcac5c325f Parsing returns the parsed list
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 12:00:13 +01:00
4c30f55f29 Removed unused dependency
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 11:59:44 +01:00
3e0758a634 Basic POC for cutting subtitles in their separate dialog lines
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 11:43:10 +01:00
2fa8b18a0a Basic POC for the subtitles downloading feature
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 09:52:14 +01:00
2746c81466 Fixed bug on listing empty subtitle lists
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 23:12:34 +01:00
f692df6ce0 Removed the search title feature as it is broken right now
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 22:06:25 +01:00
672567e118 Added support for searching subtitles language availability
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 21:01:06 +01:00
1587f5f1d6 Refactored Search and fixed an issue on a check in the Search command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 17:31:15 +01:00
b27fad85d1 Refactored Search and fixed an issue on a check in the Search command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 17:11:24 +01:00
197437996a Changed the command interface to an abstract method and added better error handling
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 16:22:54 +01:00
e9be061576 Added OpenSubtitles basic search capability
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 15:04:42 +01:00
83279129bf Added OpenSubtitles capability
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 11:32:57 +01:00
e22e4fec02 Added strict comparison for commands and presence
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 00:57:02 +01:00
a200e1c602 Switched to INFO level for all logs
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 00:17:53 +01:00
3d2b5f0caf Added a version command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 00:16:08 +01:00
e1617e3280 Added a graceful shutdown
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 21:47:22 +01:00
3b33554a86 Added a basic ping command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 19:02:50 +01:00
c9e25131a5 Added basic login
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 17:58:36 +01:00
70a075660b Implemented a way to check if the discord token is given
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 17:11:09 +01:00
e2f9ca8b8d Switched to a logger system instead of System.out
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 14:38:03 +01:00
7b4edc70f1 Added logs folder to gitignore
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 14:37:19 +01:00
1c40a3465b Added a simple hello world as a base
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 11:11:53 +01:00
19a5857f8b Added .idea folder to .gitignore
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 11:02:50 +01:00
26f54bced9 Added Java plugin to the Gradle project
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 10:52:17 +01:00
8293566a51 Initial commit for Gradle project
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 10:40:09 +01:00
955568d36e Add .gitlab-ci.yml 2020-10-25 09:33:56 +00:00
182c0948d5 Initial commit 2020-10-25 09:26:36 +00:00