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

11 commits

Auteur SHA1 Message Date
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
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