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
Jeff
18d6ad3992
make rss fast again :^)
2017-05-09 11:07:42 -04:00
sfan5
c78eaacf0c
Fix registration without email
2017-05-09 17:06:21 +02:00
sfan5
fb07da18ec
Display uploader name with link to profile page
2017-05-09 16:21:56 +02:00
bakape
ec8bd90c4e
Merge branch 'master' of https://github.com/ewhal/nyaa into refactor-search
2017-05-09 14:32:10 +03:00
bakape
a0ae1f7e6a
Refactor search
...
Optimise, error handling and avoid some exploits
2017-05-09 14:31:58 +03:00
Andrew Zhao
1c44a24ab0
make user torrent list display
2017-05-08 22:21:14 -07:00
PantsuDev
7ab4d45505
Merge branch 'master' into less-realloc
2017-05-09 13:14:20 +10:00
akuma06
be6e573465
Moved translations in appropriate directory
2017-05-09 04:12:48 +02:00
akuma06
84cf511fe3
Fixed User
...
Profile Page, badge menu, every thing before previous commit (except
email)
Added Logout
2017-05-09 03:37:12 +02:00
Austin
a1e63a330c
Make reg confirmation less cringy
2017-05-08 20:19:39 -05:00
bakape
d0d44a4849
Death to reallocations!
2017-05-09 02:56:57 +03:00
sfan5
975ce5e6d4
Don't look for old comments on new torrents
2017-05-08 23:53:37 +02:00
ElegantMonkey
108558dfdf
Fix conflicts
2017-05-08 18:16:21 -03:00
sfan5
5cbf5fc537
Try to fix travis
2017-05-08 23:00:43 +02:00
ElegantMonkey
14f24e3be9
Add translation code to handlers, fix wrong key in .json translations
2017-05-08 17:51:59 -03:00
sfan5
5bdd160d61
Fix absence of pagination on home page
2017-05-08 22:50:56 +02:00
sfan5
2c151bc26e
Make login work
2017-05-08 22:50:56 +02:00
sfan5
fe105f6648
Allow registration w/o email and make it half-work
2017-05-08 22:50:56 +02:00
sfan5
3a44a1b6ae
Cleanup
2017-05-08 22:50:56 +02:00
sfan5
173dc9e34c
Remove unused code
2017-05-08 22:50:56 +02:00
sfan5
aa2b2c2544
Fix search
2017-05-08 22:50:56 +02:00
sfan5
5d36bba34d
Make comments work
2017-05-08 22:50:56 +02:00
sfan5
a3d13f768a
Switch to new schema: make it compile
2017-05-08 22:50:56 +02:00
sfan5
e3a271cca7
Revert "Added Profile page"
...
This reverts commit 5860cf1d79
.
2017-05-08 22:50:25 +02:00
ElegantMonkey
67897a68ea
Extract strings from remaining templates
2017-05-08 17:42:56 -03:00
ElegantMonkey
b98498da35
Extract strings from upload template
2017-05-08 16:46:19 -03:00
ElegantMonkey
0cfa2bff21
Extract strings from 404 page and FAQ
2017-05-08 16:12:58 -03:00
ElegantMonkey
b896d8d326
Fix indentation
2017-05-08 15:02:13 -03:00
ElegantMonkey
c960c928bd
Extract strings from home and index
2017-05-08 14:56:17 -03:00
akuma06
cdf8cccc8d
Added Profile page
2017-05-08 18:56:40 +02:00
Jeff Becker
ddc30e3d96
fix empty search query bug
2017-05-08 10:54:05 -04:00
Eliot Whalan
eca5079080
Optimize sql queries
2017-05-08 23:50:18 +10:00
akuma06
525eeb752e
Fixed typo
2017-05-08 15:08:36 +02:00
Andrew Zhao
2e3c45cbc7
implemented comments and display
2017-05-07 19:06:11 -07:00
akuma06
d34823c422
Added Login
2017-05-08 00:21:31 +02:00
akuma06
d3de3fb2ee
Merge branch 'master' of https://github.com/ewhal/nyaa
2017-05-07 22:00:57 +02:00
akuma06
04a17db739
Added verify email view and route
...
Now you should be able to register and activate your account
2017-05-07 22:00:45 +02:00
keo
6e50f44799
Merge pull request #159 from sfan5/changes
...
Changes
2017-05-07 22:22:42 +03:00
akuma06
830c824fbc
Corrected possible double entry account (username, email)
2017-05-07 21:14:32 +02:00
sfan5
ac33a734fd
Fix NULL problems when sorting by size, fixes #151
2017-05-07 21:04:21 +02:00
akuma06
65e24c25e9
Fixed typo
2017-05-07 20:21:46 +02:00
akuma06
38f8fae726
Fixed email validation
2017-05-07 20:10:23 +02:00
akuma06
ab59d8d04a
Merge branch 'master' of https://github.com/ewhal/nyaa
...
Conflicts:
router/userHandler.go
2017-05-07 20:03:17 +02:00
akuma06
4df2268094
Added Form Validation
...
Display of error messages
2017-05-07 19:59:38 +02:00
ayame-git
37bd6e70d6
post handle now checks for t and c
2017-05-07 17:08:45 +03:00
bakape
0d6688ad3f
Merge branch 'master' of https://github.com/ewhal/nyaa into ip-neutral-captchas
2017-05-07 15:55:53 +03:00
bakape
a55016b53c
Remove captcha IP-specificity
...
It's a notable deployment complication for little gain. Since captchas on Nyaa aren't on many pages, overflowing the stored captcha limit is also hard.
2017-05-07 15:55:46 +03:00
akuma06
1eaa0c1b44
Fixed User Captcha
...
Templates are now in reload of template.go
Captchas are generated correctly on register page
Corrected typo
2017-05-07 14:53:01 +02:00
akuma06
43f554fc19
Fixed naming typo
2017-05-07 14:26:34 +02:00
Jeff Becker
47bf337fbc
unbreak build
2017-05-07 06:39:28 -04:00
bakape
5a55008a16
Merge branch 'master' of https://github.com/ewhal/nyaa into captchas
2017-05-07 12:08:44 +03:00
bakape
8786db1540
Internal IP-specific captchas
2017-05-07 11:25:09 +03:00
akuma06
6b05776125
Added post method for registration
...
Don't know if create user work
2017-05-07 05:04:55 +02:00
akuma06
e01eb9ba13
Fixed links
2017-05-07 04:06:52 +02:00
akuma06
81e8a9bc40
Added login page + multilanguage support
2017-05-07 04:02:57 +02:00
Eliot Whalan
cd3dae3d5e
Merge pull request #129 from azhao12345/upload-changes
...
Implement some stuff needed for upload
2017-05-07 11:59:31 +10:00
akuma06
00b08b71cd
Multi language support User Registration page finished
2017-05-07 03:34:16 +02:00
Andrew Zhao
b922938c27
use util to generate magnets
2017-05-06 18:10:35 -07:00
akuma06
7ffde7a8e1
Merge branch 'master' into master
2017-05-07 02:44:49 +02:00
akuma06
f88b4656a1
Fixed Typo + Added multi language support
...
Multi language for User package
2017-05-07 02:32:32 +02:00
tomleb
17c930459b
Remove nested config variables
2017-05-06 19:02:02 -04:00
akuma06
fa0e4ec4bd
Fixed
2017-05-07 00:19:26 +02:00
akuma06
bf613062cd
Merge branch 'master' of https://github.com/ewhal/nyaa
2017-05-07 00:15:45 +02:00
akuma06
a9f97d6366
Forgot files
2017-05-07 00:15:27 +02:00
akuma06
b4da1000b3
Added User Registration View
...
Moved public files in public folder
2017-05-07 00:10:40 +02:00
sfan5
b7a62c2f20
Stop using categories & status DB tables
...
Also fixes the incorrect JSON keys in API responses
2017-05-07 00:04:12 +02:00
keo
c36544d268
Merge pull request #104 from akuma06/master
...
Added tool for sending emails + User Service (WIP)
2017-05-07 00:04:26 +03:00
akuma06
ffdb50f5e1
fix #6
2017-05-06 23:00:35 +02:00
akuma06
db95a78b6a
Merge branch 'master' of https://github.com/akuma06/nyaa.git
2017-05-06 22:48:07 +02:00
akuma06
ca74ef3129
Fix #5
2017-05-06 22:47:21 +02:00
akuma06
d0092e590c
Update permission.go
2017-05-06 22:42:51 +02:00
akuma06
c9b1cf97db
Fix #3
2017-05-06 22:36:53 +02:00
sfan5
2a1cd94a87
Show category image on torrent view page
2017-05-06 22:32:50 +02:00
akuma06
3e11300ea6
Fix #2
2017-05-06 22:32:02 +02:00
akuma06
4182e22262
Fix #1
2017-05-06 22:27:21 +02:00
akuma06
45eb38ee87
Merge branch 'master' of https://github.com/akuma06/nyaa.git
...
Conflicts:
util/email/email.go
2017-05-06 22:16:05 +02:00