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

110 commits

Auteur SHA1 Message Date
akuma06
148f70b53f 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
1ff8ff1a12 filesize as int 2017-05-06 17:36:28 +02:00
Eliot Whalan
d37b203338 Merge pull request #85 from majestrate/master
add torrent file parsing for upload form
2017-05-06 21:53:09 +10:00
Jeff Becker
5c5cbd03fd remove unit test 2017-05-06 07:50:24 -04: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
Eliot Whalan
21db440d20 Add max search limit 2017-05-06 20:41:48 +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
9739610311 Separated Routes and handler from Main
Everything is in the router folder in different file
2017-05-05 16:39:15 +02:00
akuma06
f6709f9ace Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	main.go
	models.go
2017-05-05 14:51:19 +02:00
akuma06
9586f1e731 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