ElegantMonkey
cae0026a67
Add fail cooldown
...
After a set cooldown, torrents that failed to be fetch will be able
to be fetched again. Set FailCooldown to -1 to disable.
2017-05-14 18:10:39 -03:00
Atvaark
cd844aec45
Replace 'en-us' literals with the default language
...
This consolidates the places where a default language has to be set.
- Removed import of the 'userService' package into the 'languages' util
package
This was required to prevent a cyclic import between the two packages.
- Added a 'UserRetriever' interface to read the language setting of users
inside the 'languages' package
2017-05-14 22:10:07 +02:00
ElegantMonkey
83de593a65
Exclude failed operations from query
...
Instead of loading more rows to compensate for failed operations,
exclude them at the query.
2017-05-14 16:47:48 -03:00
sfan5
b930997c68
Make sorting by date date work nicely
2017-05-14 17:35:10 +02:00
ElegantMonkey
58869114d7
Don't update Length if it hasn't changed
2017-05-14 12:21:49 -03:00
ElegantMonkey
7d8cbe1393
Add Upload and Download limiters, rely on unique_index for avoiding duplicates
...
The FileList that is read with GetTorrents is empty, as it's only loaded with
GetTorrentById. So, always insert the new FileList on the database, and rely on
the unique_index to avoid duplications.
2017-05-14 11:35:03 -03:00
ElegantMonkey
839e6068df
Add FileList view to view.html template
...
Also added the code for FileList loading on torrentService.
2017-05-14 10:19:19 -03:00
ElegantMonkey
e1f1c9d0c3
Update MetainfoFetcher query logic
...
It used to update only torrents with NULL or 0 filesizes, setting
both their filesizes and the file lists. Now, it looks for both
NULL or 0 filesizes and empty file lists.
2017-05-14 09:05:20 -03:00
ElegantMonkey
2da2ad4214
FilesizeFetcher -> MetainfoFetcher
2017-05-14 08:20:34 -03:00
ElegantMonkey
80034bb52b
Also read file lists from metadata, fix Length == 0
2017-05-13 23:12:18 -03:00
ElegantMonkey
a1dc2d3587
Add error message to log
2017-05-13 21:30:06 -03:00
akuma06
ed26ee81eb
Merge branch 'dev' into dev
2017-05-14 00:55:17 +02:00
ElegantMonkey
4d69ee4eaa
Use buffered channels, add test for invalid hash
2017-05-13 19:35:35 -03:00
akuma06
0d7678ea8b
Merge pull request #438 from mitki/patch-2
...
Password length
2017-05-14 00:30:23 +02:00
ElegantMonkey
fb677d4d9d
Use sync.WaitGroup for FetchOperations
2017-05-13 16:07:39 -03:00
ElegantMonkey
a068984af3
Add filesize fetcher mode
2017-05-13 14:58:48 -03:00
Mitki
1745e7e17e
Update formValidator.go
2017-05-13 13:20:21 -03:00
sfan5
72ab7a490c
Minor optimization about fetching old comments
2017-05-13 17:30:29 +02:00
sfan5
c0be570e54
Torrent Reassign feature for modpanel
2017-05-13 17:29:21 +02:00
sfan5
90c52bf7d3
Update list of dead trackers
2017-05-13 15:18:40 +02:00
PantsuDev
44b327e1a3
Merge pull request #395 from sfan5/searchperf
...
(Search) performance
2017-05-13 12:24:03 +10:00
sfan5
b2581f549b
Display human-readable report reason in modpanel
...
Also fixes the "list all torrent reports" subpage
2017-05-12 20:43:38 +02:00
sfan5
c5fe70800d
Disable CTEs and TSQuery for now
2017-05-12 19:38:08 +02:00
sfan5
5cb672b06a
Stop RSS from being so slow
2017-05-12 17:54:08 +02:00
sfan5
dc509ff18c
Stateless cookie auth
2017-05-12 12:40:31 +02:00
PantsuDev
ac92ddfeba
Merge pull request #391 from sfan5/memes
...
Fixes & Features
2017-05-12 20:25:05 +10:00
sfan5
6b341c7b03
No captchas for trusted users or admins, closes #330
2017-05-12 12:05:36 +02:00
Eliot Whalan
bcaac0961f
Revert "Stateless cookies ( #372 )"
...
This reverts commit 2f06fb8fa1
.
2017-05-12 16:42:15 +10:00
ayame-git
d5370705c0
converts hash to uppercase
2017-05-12 04:28:00 +03:00
ayame-git
af2c47c2f2
Merge branch 'master' of github.com:ewhal/nyaa into api
2017-05-12 00:59:35 +03:00
ayame-git
d94f8102d1
convert base32 hash to base16
2017-05-12 00:59:00 +03:00
sfan5
019f37dc4d
Stateless cookies ( #372 )
...
* Remove eddie4.nl tracker
It resolves to the same IP address as leechers-paradise which we already have.
* Remove database usage from cookie auth
* Hide "Remember Me" as it doesn't work yet
2017-05-11 16:18:56 -05:00
Jeff
100ecffda7
fix scraper, optimize updates so it doesn't suck massive ass ( #367 )
...
* fix scraper, optimize updates so it doesn't suck massive ass
* fucking ass
2017-05-11 14:06:47 -05:00
Jeff Becker
217038eea0
only scrape torrents uploaded within 90 days
2017-05-11 09:40:33 -04:00
Jeff Becker
57895251a3
fix torrent swarm ordering and add timeouts for udp scrape
2017-05-11 07:40:50 -04:00
ayame-git
51c5f198b4
Merge branch 'master' of github.com:ewhal/nyaa into api
2017-05-11 14:38:46 +03:00
sfan5
09ff949945
Make account bans work
2017-05-11 12:05:55 +02:00
ayame-git
da8b2dc9c4
base16 and base32
2017-05-11 07:23:02 +03:00
ayame-git
ac6f4f82fb
welll fuck me
2017-05-11 07:12:54 +03:00
ayame-git
42c79c2794
applied akuma dup fix
2017-05-11 06:25:41 +03:00
ayame-git
d879f76e16
?
2017-05-11 06:05:52 +03:00
ayame-git
cc5baed9c1
stuff
2017-05-11 06:04:11 +03:00
ayame-git
c32fd6e7b7
torrent upload
2017-05-11 05:56:59 +03:00
Jeff Becker
d3d2f62ea6
fix buffer size
2017-05-10 18:10:20 -04:00
Jeff Becker
c6427ba600
Merge remote-tracking branch 'origin/master' into scraper
2017-05-10 18:08:10 -04:00
Jeff Becker
604cf57677
make it work
2017-05-10 18:06:21 -04:00
akuma06
ceb9e039f1
Renchon can't be deleted!
2017-05-10 22:55:50 +02:00
akuma06
dee08850cf
Fixing
2017-05-10 22:42:11 +02:00
sfan5
d178ab23b6
Make email verification work correctly
...
Previously the email was set before it had been verified, which was very wrong.
2017-05-10 22:10:31 +02:00
ayame-git
755a426931
reports are deleted with torrents
2017-05-10 22:29:59 +03:00
ayame-git
4ada27a3cc
no need for potato fix anymore
2017-05-10 21:50:27 +03:00
ayame-git
1bf4012eb2
yea..
2017-05-10 21:42:20 +03:00
akuma06
9b2c003394
Merge branch 'master' of https://github.com/ewhal/nyaa into akuma06/master
2017-05-10 20:25:58 +02:00
akuma06
45e6fc109f
Edit profile unborked, please don't bork it anymore :'(
2017-05-10 20:24:37 +02:00
Jeff Becker
3d8727d1e3
Revert "fix infinite loop shit"
...
This reverts commit 1d8ba05d09
.
2017-05-10 13:54:59 -04:00
Jeff Becker
5da794cb5d
fix infinite loop shit
2017-05-10 13:53:59 -04:00
Jeff Becker
25098a41a4
update scraper
...
this code will kill kittens
2017-05-10 13:50:34 -04:00
Jeff Becker
0f582c1197
Merge remote-tracking branch 'origin/master' into scraper
2017-05-10 13:29:56 -04:00
Jeff Becker
1089883ed5
initial
2017-05-10 13:29:35 -04:00
akuma06
de7474baef
Merge pull request #243 from ElegantMonkey/fix-large-numbers
...
Workaround large torrent IDs on viewTorrentHandler giving blank pages
2017-05-10 19:01:15 +02:00
akuma06
b88cd33794
Merge branch 'master' of https://github.com/ewhal/nyaa into akuma06/master
2017-05-10 17:38:33 +02:00
akuma06
0bf8088457
Mostly finished
...
Someone need to do torrent edit page
Can't do it :/
2017-05-10 17:37:49 +02:00
sfan5
18b8082adf
Re-fix signup without email (@Leodmanx2 broke it)
2017-05-10 15:40:23 +02:00
akuma06
54991542cb
Merge branch 'master' of https://github.com/ewhal/nyaa into akuma06/master
...
Conflicts:
router/templateVariables.go
2017-05-10 15:20:14 +02:00
akuma06
46d65ba865
Fixing Mod Panel (WIP)
2017-05-10 15:08:38 +02:00
Ramon Dantas
5cc945ca9a
Merge branch 'master' into fix-large-numbers
2017-05-10 08:57:42 -03:00
sfan5
775f9c15ad
Display username of old uploads alongside れんちょん
2017-05-10 13:32:45 +02:00
sfan5
ee6aea139f
Add FIXMEs
2017-05-10 13:09:23 +02:00
Your Name
e8c133fc69
display reports properly
2017-05-10 07:57:55 +00:00
Your Name
b5adfb8eb4
Merge remote-tracking branch 'tom/mod'
2017-05-10 07:32:01 +00:00
Your Name
8d9605def3
delete shit
2017-05-10 07:10:23 +00:00
Your Name
3764919308
now the torrent list works
2017-05-10 05:47:01 +00:00
tomleb
1ddd4c12f8
Start mod system
2017-05-10 00:34:00 -04:00
Anthony D'Alessandro
30d82f77bc
fucking typo ( #251 )
...
* Update torrent.go
* another typo yay!!!
* typo
2017-05-09 22:54:12 -05:00
Austin
48a9f7ebc2
package dup
2017-05-09 22:40:47 -05:00
akuma06
9a435ccdc0
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# service/torrent/torrent.go
# service/user/user.go
2017-05-10 05:33:40 +02:00
akuma06
989945f09b
Shitty Moderation page
...
No HTML done, could'nt test with nyaa.exe :/
1 page with overview of torrents, comments, users
1 page list comments
1 page list torrents
1 page list users
1 route delete torreny
1 route delete comment
Users can be deleted and edited by their route user_profile_edit (I
think)
2017-05-10 05:24:18 +02:00
Chris MacLeod
c9b72206a5
Consistency, formatting, error checking, cleanup, and a couple bug fixes ( #245 )
...
* Checkpoint: it builds
The config, db, model, network, os, and public packages have had some
fixes to glaringly obvious flaws, dead code removed, and stylistic
changes.
* Style changes and old code removal in router
Router needs a lot of work done to its (lack of) error handling.
* Dead code removal and style changes
Now up to util/email/email.go. After I'm finished with the initial sweep
I'll go back and fix error handling and security issues. Then I'll fix
the broken API. Then I'll go through to add documentation and fix code
visibility.
* Finish dead code removal and style changes
Vendored libraries not touched. Everything still needs security fixes
and documentation. There's also one case of broken functionality.
* Fix accidental find-and-replace
* Style, error checking, saftey, bug fix changes
* Redo error checking erased during merge
* Re-add merge-erased fix. Make Safe safe.
2017-05-09 21:34:40 -05:00
akuma06
0cd1e6d653
Revert "Revert "Mod Page (WIP)""
...
This reverts commit 233c859723
.
2017-05-10 04:03:25 +02:00
akuma06
bea9fdab04
Revert "Mod Page (WIP)"
...
This reverts commit 55590cf7b3
.
2017-05-10 04:03:09 +02:00
akuma06
d4c7138081
Mod Page (WIP)
2017-05-10 04:02:23 +02:00
akuma06
9bbd544a20
Added Follow&Unfollow
2017-05-10 03:16:36 +02:00
ElegantMonkey
192d91ed2c
Fix conflicts
2017-05-09 21:30:41 -03:00
ElegantMonkey
0b0abb1979
Fix large torrent IDs giving a blank page
2017-05-09 21:23:36 -03:00
sfan5
60ecfb797a
Stateless Email Verification
2017-05-10 00:04:07 +02:00
ayame-git
4bd79520a9
i fucking hate git
2017-05-10 00:21:15 +03:00
ayame-git
ab330e77c7
merged
2017-05-10 00:02:44 +03:00
PantsuDev
381afc3952
Merge pull request #221 from bakape/db-errors
...
Better DB error handling
2017-05-10 06:45:26 +10:00
PantsuDev
d02672add8
Merge pull request #217 from sfan5/installgentoo
...
Various changes
2017-05-10 06:44:10 +10:00
ayame-git
b758a966d3
validator rewrite
2017-05-09 23:24:32 +03:00
ayame-git
59ed2ec4c6
update
2017-05-09 21:54:50 +03:00
ayame-git
dffe6b1e33
Merge branch 'master' of github.com:ewhal/nyaa into api_wip
2017-05-09 20:38:19 +03:00
ayame-git
c59e15e610
upload changes
2017-05-09 20:37:39 +03:00
bakape
c46c386981
Better DB error handling
2017-05-09 20:23:21 +03:00
akuma06
bbffb24ae8
Merge pull request #214 from majestrate/make-rss-fast-again
...
make rss fast again
2017-05-09 18:53:57 +02:00
ayame-git
3d10749dcd
Merge branch 'master' of github.com:ewhal/nyaa into api_wip
2017-05-09 19:39:15 +03:00
ayame-git
42fe689628
using reflect
2017-05-09 19:37:40 +03:00
akuma06
8aa8a0593c
Added delete account and edit profile
2017-05-09 17:47:12 +02:00
sfan5
5bb6244564
Don't generate gravatar hash if no email
2017-05-09 17:20:19 +02:00
ayame-git
71b2b798b8
search query
2017-05-09 18:09:45 +03:00