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

50 commits

Auteur SHA1 Message Date
sfan5
3b67bf1f2e 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
2a5e8f0029 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
7439f667dd Merge branch 'master' into faster-rss 2017-05-08 07:16:37 +10:00
ElegantMonkey
a994f8c125 Remove unneeded import 2017-05-07 18:08:38 -03:00
ElegantMonkey
019be8332b Read the user language preferences from the HTTP request 2017-05-07 18:05:41 -03:00
sfan5
1ce90c07da Search case-sensitivity hotfix 2017-05-07 23:01:06 +02:00
keo
2cd3470b9b Merge pull request #159 from sfan5/changes
Changes
2017-05-07 22:22:42 +03:00
akuma06
3adcfb9a4c Corrected possible double entry account (username, email) 2017-05-07 21:14:32 +02:00
sfan5
ffef310653 Fix filesize formatting edge cases
1024 bytes should be "1.0 KiB" not "1024.0 B"
2017-05-07 21:06:20 +02:00
akuma06
50a0ebfc1f Fixed typo 2017-05-07 20:21:46 +02:00
akuma06
0d07763af6 Added Form Validation
Display of error messages
2017-05-07 19:59:38 +02:00
Jeff Becker
2610f66135 make rss feeds faster 2017-05-07 13:50:55 -04:00
akuma06
48ddbdbbee Merge branch 'master' of https://github.com/ewhal/nyaa 2017-05-07 14:53:19 +02:00
akuma06
cd7527faa8 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
aca2f2dc58 Merge pull request #136 from sfan5/upl
Fixes & Features for torrent uploads
2017-05-07 22:39:27 +10:00
Jeff Becker
68e66964a5 wire up signal handlers for sighup 2017-05-07 08:07:20 -04:00
sfan5
9921424441 Show unknown filesizes correctly 2017-05-07 13:55:35 +02:00
sfan5
1dd95f0388 Better / fixed validation of uploaded torrent files 2017-05-07 13:53:51 +02:00
Eliot Whalan
0825415331 Merge pull request #129 from azhao12345/upload-changes
Implement some stuff needed for upload
2017-05-07 11:59:31 +10:00
akuma06
2b59ca3c97 Multi language support User Registration page finished 2017-05-07 03:34:16 +02:00
Andrew Zhao
12f16fb0c7 use util to generate magnets 2017-05-06 18:10:35 -07:00
Andrew Zhao
eeab38b90d get the proper magnet and infohash for upload 2017-05-06 17:48:24 -07:00
akuma06
e3be801f4d Fixed Typo + Added multi language support
Multi language for User package
2017-05-07 02:32:32 +02:00
akuma06
220dcaa361 Merge branch 'master' into master 2017-05-06 22:17:13 +02:00
akuma06
696d6961be Merge branch 'master' of https://github.com/akuma06/nyaa.git
Conflicts:
	util/email/email.go
2017-05-06 22:16:05 +02:00
akuma06
b4dea05ae4 Forgot files 2017-05-06 22:14:02 +02:00
akuma06
01eb1fdf6b Update email.go 2017-05-06 21:56:52 +02:00
akuma06
35e33301dd Update email.go 2017-05-06 21:54:08 +02:00
akuma06
f77af9ae92 Update crypto.go 2017-05-06 21:53:42 +02:00
sfan5
1288db26bb Sorting by torrent size 2017-05-06 21:50:38 +02:00
akuma06
688ce4a620 Update email.go 2017-05-06 21:47:42 +02:00
akuma06
3476142b6e Removed unused packages 2017-05-06 21:25:16 +02:00
akuma06
51ae429d72 User Package (WIP)
Added services and utils needed
2017-05-06 21:21:39 +02:00
akuma06
d6a35a583e Merge branch 'master' of https://github.com/ewhal/nyaa 2017-05-06 20:08:38 +02:00
akuma06
9a8783a071 Added tool for sending emails 2017-05-06 20:07:03 +02:00
akuma06
479f5a6bdd Update modelHelper.go 2017-05-06 18:58:48 +02:00
akuma06
52721f951c Update modelHelper.go 2017-05-06 18:55:33 +02:00
akuma06
acaa68eb66 Added multiple type of variables
Should work now
2017-05-06 18:52:27 +02:00
akuma06
7d0311343f Hopes that work 2017-05-06 18:15:02 +02:00
akuma06
2bf2d02c8a Modified package 2017-05-06 18:02:54 +02:00
akuma06
d32c3d0fa8 Models for User, Role and Comment
modelHelper for getting value from request and apply it to a Form
Getting value from a Form and apply to a Model
2017-05-06 17:55:02 +02:00
sfan5
95fac1df64 filesize as int 2017-05-06 17:36:28 +02:00
Eliot Whalan
9c88d92b06 Merge pull request #85 from majestrate/master
add torrent file parsing for upload form
2017-05-06 21:53:09 +10:00
Jeff Becker
d81ec1b2fc remove unit test 2017-05-06 07:50:24 -04:00
Jeff Becker
c088cb2642 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
Eliot Whalan
023baccf5b
Add max search limit 2017-05-06 20:41:48 +10:00
akuma06
7209666fb8 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
d75cb9f863 Separated Routes and handler from Main
Everything is in the router folder in different file
2017-05-05 16:39:15 +02:00
akuma06
245d163912 Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	main.go
	models.go
2017-05-05 14:51:19 +02:00
akuma06
823901b8ab Rearranged Files
Configurations are separated in files in the folder config
Connection to database by a package to import when needed
Models will be in a model package for better maintenance
Services access to the models
Utils are tools or functions that can be used anywhere
main.go cleaned a bit and other files modifications are there for the above modifications
2017-05-05 14:20:51 +02:00