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

61 commits

Auteur SHA1 Message Date
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
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
akuma06 68a7b5922a Merge branch 'master' into master 2017-05-06 22:17:13 +02:00
akuma06 30a53a79ec Forgot files 2017-05-06 22:14:02 +02:00
ayame-git a55bb483da Status model and field for Users 2017-05-07 01:52:27 +03:00
akuma06 9b5cd38b99 Added torrents on model user 2017-05-06 18:09:29 +02:00
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 36a7d16e34 Get comments working 2017-05-06 12:18:24 +10:00
sfan5 4ddf55bcc4 Force width of category image container 2017-05-05 22:53:17 +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