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

85 commits

Auteur SHA1 Message Date
sfan5
ee6aea139f Add FIXMEs 2017-05-10 13:09:23 +02:00
bakape
58ca34132c cache: Add total torrent count and fixes 2017-05-10 12:32:49 +03:00
bakape
5d40d02820 Merge branch 'master' of https://github.com/ewhal/nyaa into search-caching 2017-05-10 12:08:02 +03:00
bakape
8b56f2e76e Merge branch 'master' of https://github.com/ewhal/nyaa into search-caching 2017-05-10 11:47:06 +03:00
Your Name
e03ab87665 add delet link 2017-05-10 08:37:52 +00:00
bakape
7ff8e97c9d Framework for caching []model.Torrents 2017-05-10 11:27:17 +03:00
Your Name
e8c133fc69 display reports properly 2017-05-10 07:57:55 +00:00
Your Name
b5adfb8eb4 Merge remote-tracking branch 'tom/mod' 2017-05-10 07:32:01 +00:00
Your Name
8d9605def3 delete shit 2017-05-10 07:10:23 +00:00
tomleb
1ddd4c12f8 Start mod system 2017-05-10 00:34:00 -04:00
Chris MacLeod
c9b72206a5 Consistency, formatting, error checking, cleanup, and a couple bug fixes (#245)
* Checkpoint: it builds

The config, db, model, network, os, and public packages have had some
fixes to glaringly obvious flaws, dead code removed, and stylistic
changes.

* Style changes and old code removal in router

Router needs a lot of work done to its (lack of) error handling.

* Dead code removal and style changes

Now up to util/email/email.go. After I'm finished with the initial sweep
I'll go back and fix error handling and security issues. Then I'll fix
the broken API. Then I'll go through to add documentation and fix code
visibility.

* Finish dead code removal and style changes

Vendored libraries not touched. Everything still needs security fixes
and documentation. There's also one case of broken functionality.

* Fix accidental find-and-replace

* Style, error checking, saftey, bug fix changes

* Redo error checking erased during merge

* Re-add merge-erased fix. Make Safe safe.
2017-05-09 21:34:40 -05:00
sfan5
3b65df9cdd Prepare for storage of uploaded .torrent files 2017-05-09 16:42:12 +02:00
sfan5
fb07da18ec Display uploader name with link to profile page 2017-05-09 16:21:56 +02:00
Eliot Whalan
3c018c4988 Move markdown stuff to it's own function 2017-05-09 17:28:29 +10:00
Eliot Whalan
be06251bba Add markdown support for descriptions and comments 2017-05-09 16:58:39 +10:00
Eliot Whalan
f1c5ce25a9 Add website links 2017-05-09 16:15:56 +10:00
bakape
d0d44a4849 Death to reallocations! 2017-05-09 02:56:57 +03:00
sfan5
3a44a1b6ae Cleanup 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
Andrew Zhao
2e3c45cbc7 implemented comments and display 2017-05-07 19:06:11 -07: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
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