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

26 commits

Auteur SHA1 Message Date
sfan5 173dc9e34c Remove unused code 2017-05-08 22:50:56 +02:00
sfan5 5d36bba34d Make comments 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
akuma06 cdf8cccc8d Added Profile page 2017-05-08 18:56:40 +02:00
akuma06 2be8fb2b7c Cleaned up User Model 2017-05-08 14:28:02 +02: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 9bc75c86f3 Added logged badge + new User variable in each template variables 2017-05-08 01:46:30 +02:00
sfan5 025cfff297 Show unknown filesizes correctly 2017-05-07 13:55:35 +02: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
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 b922938c27 use util to generate magnets 2017-05-06 18:10:35 -07:00
tomleb 19efd94979 Fix search functionality, unzlib won't be needed in the future 2017-05-06 19:02:02 -04: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
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