bakape
801339cdcf
Refactor search
...
Optimise, error handling and avoid some exploits
2017-05-09 14:31:58 +03:00
bakape
ce1c4c89ac
Death to reallocations!
2017-05-09 02:56:57 +03:00
ElegantMonkey
6fce62f7d3
Add translation code to handlers, fix wrong key in .json translations
2017-05-08 17:51:59 -03:00
akuma06
0db01fb824
Added logged badge + new User variable in each template variables
2017-05-08 01:46:30 +02:00
Jeff Becker
b6111fb9d9
fix up templates, get reading for Reload template on SIGHUP
2017-05-07 07:51:33 -04:00
tomleb
393450ff96
Merge branch 'master' of https://github.com/ewhal/nyaa into deployment
2017-05-06 19:35:59 -04:00
bakape
e82e97b961
Revert quicktemplate search template
2017-05-07 02:20:13 +03:00
tomleb
cb2702630c
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
a1ad96d6ed
Stop using categories & status DB tables
...
Also fixes the incorrect JSON keys in API responses
2017-05-07 00:04:12 +02:00
bakape
f5bdb369c8
Port _search.html to quicktemplate
2017-05-07 00:21:16 +03:00
bakape
005785f4f8
Don't reparse templates on every fucking request
2017-05-06 20:03:21 +03: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