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

178 commits

Auteur SHA1 Message Date
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
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
Andrew Zhao
f9bb45b263 actually upload the upload 2017-05-06 18:32:26 -07:00
Andrew Zhao
b922938c27 use util to generate magnets 2017-05-06 18:10:35 -07:00
akuma06
5bafc6c0b5 Fixed register page 2017-05-07 03:00:05 +02:00
Andrew Zhao
04bd6ff4c5 get the proper magnet and infohash for upload 2017-05-06 17:48:24 -07:00
akuma06
7ffde7a8e1 Merge branch 'master' into master 2017-05-07 02:44:49 +02:00
akuma06
fd1310b28c Update templateFunctions.go 2017-05-07 02:44:15 +02:00
akuma06
03222047a2 Merge branch 'master' into master 2017-05-07 02:39:13 +02:00
akuma06
f88b4656a1 Fixed Typo + Added multi language support
Multi language for User package
2017-05-07 02:32:32 +02:00
tomleb
a6b3ffc0f1 Merge branch 'master' of https://github.com/ewhal/nyaa into deployment 2017-05-06 19:35:59 -04:00
bakape
8e15b211df Revert quicktemplate search template 2017-05-07 02:20:13 +03:00
tomleb
dcccb7ee1b Remove categories and subcategories queries
This commit removes usage of Categories queries in order to support
postgres. The Categories in postgres is an enum instead of a table and
we don't need to use the table in sqlite because the value are hardcoded
in the html and are unlikely to ever change.

This commit breaks the thumbnails in the index. Other functionality
needs to be tested before merging.
2017-05-06 19:02:02 -04:00
akuma06
c738f62cb4 Fixed Typo 2017-05-07 00:27:26 +02:00
akuma06
422d0f5ced Fixed typo 2017-05-07 00:26:02 +02:00
akuma06
bf613062cd Merge branch 'master' of https://github.com/ewhal/nyaa 2017-05-07 00:15:45 +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
bakape
7a49c3da54 Merge remote-tracking branch 'origin/master' into compile-time-templates 2017-05-07 00:26:46 +03:00
bakape
a16caa0556 Port _search.html to quicktemplate 2017-05-07 00:21:16 +03:00
akuma06
99fa491826 Fix #4 2017-05-06 22:40:01 +02:00
akuma06
5ef953ff55 User Package (WIP)
Added services and utils needed
2017-05-06 21:21:39 +02:00
bakape
2cb605a027 Don't reparse templates on every fucking request 2017-05-06 20:03:21 +03:00
Jeff Becker
11a6fce027 add torrent file parsing for upload form
* vendor bencode library github.com/zeebo/bencode

* add metainfo parsing library from XD

* fix up upload handler so to be less cluttered
2017-05-06 07:43:24 -04:00
ayame-git
d6ef924fa3 basic upload 2017-05-06 11:36:37 +03:00
Eliot Whalan
cca8f78630 Correct feed url 2017-05-06 08:37:59 +10:00
akuma06
6b1196f12c Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	main.go
Resolved conflicts with new merge
2017-05-05 22:30:56 +02:00
akuma06
6140ebeeba Added RSS link & context display 2017-05-05 17:14:10 +02:00
akuma06
9739610311 Separated Routes and handler from Main
Everything is in the router folder in different file
2017-05-05 16:39:15 +02:00