Commit Graph

1677 Commits (57c75978b69d28154010497ba5420f190856b66c)

Author SHA1 Message Date
Zlatin Balevsky 57c75978b6 wip on feed manager deserialization 2020-03-08 20:19:37 +00:00
Zlatin Balevsky bfe198e1a6 represenation of a feed 2020-03-08 19:38:48 +00:00
Zlatin Balevsky 8e274f940e Feed item representation and serialization 2020-03-08 19:30:04 +00:00
Zlatin Balevsky 9f3942c1c7 settings to disable or not advertise file feed 2020-03-08 17:15:00 +00:00
Zlatin Balevsky d60d57ee43 wip on server side feed handling 2020-03-08 17:04:11 +00:00
Zlatin Balevsky 8e3a433afb persist shared file on publish/unpublish 2020-03-08 16:06:28 +00:00
Zlatin Balevsky 49cf56fabb UI Publish & Unpublish events 2020-03-08 16:01:50 +00:00
Zlatin Balevsky 2b6565d107 unpublish method 2020-03-08 16:01:23 +00:00
Zlatin Balevsky 366a2ef841 published flag and timestamp in shared files 2020-03-08 15:46:36 +00:00
Zlatin Balevsky bcd24e56ac TODO updates for plugin 2020-03-07 15:48:20 +00:00
Zlatin Balevsky c7d1f0c23c Connect to i2p router after creating the Core object, should help with plugin init issues #39 2020-02-23 18:29:09 +00:00
Zlatin Balevsky 853b9f67fc Release 0.6.10 2020-02-23 15:42:03 +00:00
Zlatin Balevsky a505a2449a persist SharedFile on change of comments #35 2020-02-18 02:14:32 +00:00
Zlatin Balevsky c11d81c6c3 Release 0.6.9 2020-02-16 16:33:33 +00:00
Zlatin Balevsky ee5e90c4ab ignore events from old persister service, prevents duplicate entries during migration #35 2020-02-14 18:20:39 +00:00
Zlatin Balevsky 64d2a87d26 more occurrences of SharedFile::getInfoHash #35 2020-02-14 17:53:09 +00:00
Zlatin Balevsky f0304dbe7d fix copy-hash-to-clipboard #35 2020-02-14 16:14:36 +00:00
Zlatin Balevsky bdad8d9309 make extended signatures mandatory 2020-02-14 15:34:21 +00:00
Zlatin Balevsky 8c110bbae5 more occurrences of SharedFile::getInfoHash #35 2020-02-14 15:24:39 +00:00
Zlatin Balevsky 2cc1e384bc more occurrences of SharedFile::getInfoHash #35 2020-02-14 15:20:01 +00:00
Zlatin Balevsky 9337d1b74d chase down references to missing infoHash #35 2020-02-14 01:48:02 +00:00
Zlatin Balevsky 16ed5dd346 chase down some usages of deprecated getInfoHash method #35 2020-02-14 01:32:38 +00:00
Zlatin Balevsky 7b55fc9ed8 working uploads #35 2020-02-14 01:15:10 +00:00
Zlatin Balevsky d5c8050572 wip on separate hashlist storage #35 2020-02-14 00:37:07 +00:00
Zlatin Balevsky 83546d68d2
Merge pull request #37 from LoveIsGrief/change-persister
Introduce persister that uses a directory structure
2020-01-25 14:36:41 +00:00
LoveIsGrief a891c83518
Only persist downloaded files if sharing thereof is enabled
Otherwise we might inadvertently share downloads
2020-01-25 15:25:48 +01:00
LoveIsGrief aa56cc23c0
Cache base 64 path hash
Can't do it in constructor without an ugly try/catch
 therefore this is done on demand
2020-01-25 15:20:38 +01:00
LoveIsGrief a2b37ef567
Persist downloaded files 2020-01-25 15:06:12 +01:00
LoveIsGrief 4bc04ae631
Revert "Reduce log levels in Connection"
This reverts commit dcd233b7
2020-01-25 15:01:21 +01:00
LoveIsGrief 56da9a16b0
Set FileLoadedEvent::source in the subclass
Setting it in the super class means we don't set the right value for every case
2020-01-25 15:00:48 +01:00
LoveIsGrief 2935ee1a1d
Remove unnecessary executor
It was doing nothing but starting and stopping
2020-01-25 14:49:59 +01:00
LoveIsGrief 855183397b
Remove TODO
There's already an issue open https://github.com/zlatinb/muwire/issues/35
2020-01-22 21:35:54 +01:00
LoveIsGrief e27704c1af
Make sure migration from PersisterService works
this.getClass() and this.class kept resolving to Class.
Using a string is much simpler

mkdirs() is also necessary because the directory structure doesn't exist
 when persistFile is called the first time
2020-01-22 20:59:05 +01:00
LoveIsGrief 5c18b4a141
Add more logs PersisterFolderService 2020-01-22 15:12:22 +01:00
LoveIsGrief dcd233b7ad
Reduce log levels in Connection
Too verbose
2020-01-22 15:12:01 +01:00
LoveIsGrief 7cee8a28ba
FileLoadedEvent should include class when coming from old persister
Otherwise the new PersisterFolderService won't migrate
2020-01-22 15:07:00 +01:00
LoveIsGrief 7446fc949a
Remove UIPersistFilesEvent
Hashing is done per file now and those are triggered by individual events
2020-01-22 13:00:55 +01:00
LoveIsGrief 598ab90f63
Clear up the event path when starting up the old and new persisters
The new persister won't load anything until the old one has finished
2020-01-22 12:36:34 +01:00
LoveIsGrief 043028c296
Introduce PersisterFolderService to replace PersisterService
An attempt at automatically migrate from PersisterService was made, but the events aren't triggered in the right order.
We need to make sure that we don't trigger the "AllFilesLoadedEvent" before the migration is done
2020-01-21 23:34:33 +01:00
LoveIsGrief cd1757fac3
Use Java 11
Java9 isn't available on Ubuntu anymore, which would make development harder
2020-01-19 21:46:47 +01:00
LoveIsGrief 9d4b365e63
Log the time it take to persist files and hashes 2020-01-19 21:43:03 +01:00
Zlatin Balevsky b12d57e30a fix bracket 2020-01-14 20:27:21 +00:00
Zlatin Balevsky f33d1b6db3 move the docker documentation to the wiki 2020-01-14 20:26:47 +00:00
Zlatin Balevsky 9e451460da change to my repo 2020-01-14 19:24:32 +00:00
Zlatin Balevsky ffa52c129a
Merge pull request #33 from LoveIsGrief/32-docker-image
Docker image
2020-01-14 19:21:35 +00:00
LoveIsGrief b779fb75a0
docker: Remove incompletes warning from README
#32 - Docker image
2020-01-14 20:11:34 +01:00
LoveIsGrief fbe6b53278
docker: Make sure build directories are ignored
#32 - Docker image
2020-01-14 19:20:11 +01:00
LoveIsGrief b2bd95788d
docker: Try minimizing size using add-pkg and del-pkg
As described in https://github.com/jlesage/docker-baseimage-gui#addingremoving-packages

#32 - Docker image
2020-01-14 19:19:47 +01:00
LoveIsGrief 83d4a2624b
docker: Add bisentenialwrug/muwire to README
To be replaced later by @zlatinb's repo

#32 - Docker image
2020-01-14 18:47:28 +01:00
LoveIsGrief 03e20e21aa
Remove unnecessary quotes from properties files
There doesn't seem to be a special treatment of them
 in properties files

#32 - Docker image
2020-01-14 18:42:51 +01:00