Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

178 commits

Auteur SHA1 Message Date
Your Name
7bffd59e85 shenanigans 2017-05-10 06:20:17 +00:00
Your Name
70c62ff719 add some 403s man 2017-05-10 06:18:58 +00:00
Your Name
771527b518 everything 'works' now 2017-05-10 05:56:02 +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
Andrew Zhao
e014164a0a remove unnecesary check and fix anon comment (#252) 2017-05-09 23:02:03 -05:00
Anthony D'Alessandro
30d82f77bc fucking typo (#251)
* Update torrent.go

* another typo yay!!!

* typo
2017-05-09 22:54:12 -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
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
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
f9f2214acf token werks 2017-05-09 20:58:35 +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
ayame-git
c9bb89d551 default value bug 2017-05-09 19:54:12 +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
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
bakape
a0ae1f7e6a Refactor search
Optimise, error handling and avoid some exploits
2017-05-09 14:31:58 +03:00
PantsuDev
7ab4d45505 Merge branch 'master' into less-realloc 2017-05-09 13:14:20 +10:00
akuma06
0c3f72f9a2 404 when no user found 2017-05-09 04:23:45 +02:00
akuma06
c830f8ec71 Fixed 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
bakape
d0d44a4849 Death to reallocations! 2017-05-09 02:56:57 +03:00
sfan5
5482fa9290 Save current user for uploads 2017-05-08 23:54:09 +02:00
ElegantMonkey
108558dfdf Fix conflicts 2017-05-08 18:16:21 -03:00
ElegantMonkey
14f24e3be9 Add translation code to handlers, fix wrong key in .json translations 2017-05-08 17:51:59 -03:00
sfan5
fe105f6648 Allow registration w/o email and make it half-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
9e10102c2d Add translation code to handlers 2017-05-08 16:16:26 -03:00
akuma06
cdf8cccc8d Added Profile page 2017-05-08 18:56:40 +02:00
akuma06
95cb6683b2 Fixed broked User Login 2017-05-08 13:37:56 +02:00
akuma06
7f053c978d Fixed login handler 2017-05-08 13:29:17 +02:00
akuma06
97efa46a29 Typo 2017-05-08 13:18:52 +02:00
akuma06
82c5767ac4 Fixed User support in Comments 2017-05-08 13:05:25 +02:00
ayame-git
272ee9efe0 api upload 2017-05-08 12:18:49 +03:00
Andrew Zhao
73b4102552 dont need these to compile 2017-05-07 22:01:46 -07:00
Andrew Zhao
c0712b98f1 sanitize comments 2017-05-07 21:58:21 -07:00
Andrew Zhao
b232018e6b initial implementation of making comments 2017-05-07 20:34:12 -07:00
Andrew Zhao
2e3c45cbc7 implemented comments and display 2017-05-07 19:06:11 -07:00
akuma06
18a470b87f Merge pull request #156 from azhao12345/upload-fixes
Upload fixes
2017-05-08 03:37:05 +02:00
Leodmanx2
0d25db7b48 Merge branch 'master' into compression 2017-05-07 20:03:22 -04:00
Leodmanx2
d7a93d0235 Merge branch 'master' into compression 2017-05-07 19:47:37 -04:00
akuma06
9bc75c86f3 Added logged badge + new User variable in each template variables 2017-05-08 01:46:30 +02:00
Leodmanx2
603fdc0e6e Wrap handlers with compression handler 2017-05-07 18:56:45 -04:00
akuma06
10b6794e04 Fixed new multi language for login 2017-05-08 00:32:41 +02:00
akuma06
e0743e4688 Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	router/userHandler.go
2017-05-08 00:22:57 +02:00
akuma06
d34823c422 Added Login 2017-05-08 00:21:31 +02:00
Eliot Whalan
d1bb68f8f2 Disable uploading of torrents by default 2017-05-08 08:16:20 +10:00
sfan5
b780b3799b Revert "Merge pull request #153 from majestrate/faster-rss"
This reverts commit a9d19644c9, reversing
changes made to 4f14dfb04f.
2017-05-07 23:41:44 +02:00
Eliot Whalan
74d27b0086 Merge pull request #165 from ElegantMonkey/read-language-from-request
Read the user language from the HTTP request
2017-05-08 07:18:22 +10:00
Eliot Whalan
003951f902 Merge branch 'master' into faster-rss 2017-05-08 07:16:37 +10:00
ElegantMonkey
b10cdde34a Read the user language preferences from the HTTP request 2017-05-07 18:05:41 -03: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
akuma06
c7ff9552d6 Fixed errors 2017-05-07 20:47:29 +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
Jeff Becker
28ef70c960 make rss feeds faster 2017-05-07 13:50:55 -04:00
Andrew Zhao
58b3f2d402 put the trackers on the calculated magnet 2017-05-07 10:47:43 -07:00
Andrew Zhao
ffa5163a41 validate captcha before processing 2017-05-07 10:41:07 -07:00
Eliot Whalan
aad9e28938 Merge pull request #143 from sfan5/upl2
Optional torrent file storage
2017-05-08 00:22:04 +10:00
Eliot Whalan
795f24a8f5 Merge pull request #145 from Atvaark/master
Return status code 404 on 404 page
2017-05-08 00:21:37 +10:00
Atvaark
87fec6c5ab Return status code 404 on 404 page
The NotFoundHandler previously returned status code 200
because WriteHeader wasn't called.
2017-05-07 16:18:35 +02:00
ayame-git
37bd6e70d6 post handle now checks for t and c 2017-05-07 17:08:45 +03:00
sfan5
9b6b25e7df Allow storage of uploaded .torrent files (disabled by default) 2017-05-07 15:57:24 +02:00
sfan5
a201d0d058 Remove hardcoded URLs 2017-05-07 15:57:24 +02:00
bakape
7654b72310 Fix captcha.GetID() args 2017-05-07 16:48:34 +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
9a73f8ad58 Merge branch 'master' of https://github.com/ewhal/nyaa 2017-05-07 14:53:19 +02: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
Eliot Whalan
c637181ff9 Merge pull request #136 from sfan5/upl
Fixes & Features for torrent uploads
2017-05-07 22:39:27 +10:00
sfan5
a6dd34a5de Auto-fill filesize 2017-05-07 13:55:35 +02:00
sfan5
767c91bacd Make pre-filling work correctly 2017-05-07 13:54:45 +02:00
sfan5
f9b29af311 Better / fixed validation of uploaded torrent files 2017-05-07 13:53:51 +02:00
Jeff Becker
b599bb1ef2 fix up templates, get reading for Reload template on SIGHUP 2017-05-07 07:51:33 -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
Eliot Whalan
1aea935c5c Merge pull request #133 from azhao12345/not-found
add 404 page
2017-05-07 17:45:32 +10:00
Eliot Whalan
33491e8e89 Merge pull request #131 from azhao12345/upload-impl
Implement upload for new torrents
2017-05-07 17:45:21 +10:00
Andrew Zhao
651be11014 autoformat 2017-05-07 00:05:31 -07:00
Andrew Zhao
c0fc47b4d2 404 on missing torrents 2017-05-07 00:02:38 -07:00
Andrew Zhao
c2606a37ed added custom 404 page 2017-05-06 23:59:45 -07:00
Andrew Zhao
f9884c40e9 throw in the description with some sanitizatoin 2017-05-06 22:18:41 -07:00
Andrew Zhao
637711fb9d start implementing upload 2017-05-06 21:26:09 -07:00
akuma06
6b05776125 Added post method for registration
Don't know if create user work
2017-05-07 05:04:55 +02:00
akuma06
81e8a9bc40 Added login page + multilanguage support 2017-05-07 04:02:57 +02:00