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

49 commits

Auteur SHA1 Message Date
Your Name
a8e3f705fb display reports properly 2017-05-10 07:57:55 +00:00
Your Name
07d488ed96 Merge remote-tracking branch 'tom/mod' 2017-05-10 07:32:01 +00:00
Your Name
77178f0687 delete shit 2017-05-10 07:10:23 +00:00
Your Name
cdca26d255 idgaf about consistency dont fucking fuck all the relations 2017-05-10 05:17:11 +00:00
tomleb
18ebd381b0 Start mod system 2017-05-10 00:34:00 -04:00
Chris MacLeod
14378fbf39 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
akuma06
2974f8607c Added Follow&Unfollow 2017-05-10 03:16:36 +02:00
sfan5
282ce135dd Don't generate gravatar hash if no email 2017-05-09 17:20:19 +02:00
sfan5
de1978619e Fix creating of useless table 2017-05-09 17:14:13 +02:00
sfan5
a951cf6f45 Maybe fix gravatar 2017-05-09 16:50:29 +02:00
sfan5
4d7b56df8c Prepare for storage of uploaded .torrent files 2017-05-09 16:42:12 +02:00
sfan5
203c3734c8 Display uploader name with link to profile page 2017-05-09 16:21:56 +02:00
sfan5
df3187d954 Cleanup of user model 2017-05-09 12:16:41 +02:00
Eliot Whalan
f620319777
Move markdown stuff to it's own function 2017-05-09 17:28:29 +10:00
Eliot Whalan
b03dfa13ac
Add markdown support for descriptions and comments 2017-05-09 16:58:39 +10:00
Andrew Zhao
a0ab88c77d make user torrent list display 2017-05-08 22:21:14 -07:00
Eliot Whalan
125485d9ea
Add website links 2017-05-09 14:49:59 +10:00
ewhal
32fb9c10ea Merge branch 'master' into less-realloc 2017-05-09 13:14:20 +10:00
ayame-git
5002863679 autism 2 electric boogaloo 2017-05-09 05:45:25 +03:00
ayame-git
59b1e2bb5f autism 2017-05-09 05:44:08 +03:00
akuma06
f6bdf1a071 Fixed User
Profile Page, badge menu, every thing before previous commit (except
email)
Added Logout
2017-05-09 03:37:12 +02:00
bakape
ce1c4c89ac Death to reallocations! 2017-05-09 02:56:57 +03:00
sfan5
48eb6397e4 Cleanup 2017-05-08 22:50:56 +02:00
sfan5
7cd7a625fc Remove unused code 2017-05-08 22:50:56 +02:00
sfan5
64fc5b3940 Make comments work 2017-05-08 22:50:56 +02:00
sfan5
3d8f184a5a Switch to new schema: make it compile 2017-05-08 22:50:56 +02:00
sfan5
1961db72a1 Revert "Added Profile page"
This reverts commit 5860cf1d79.
2017-05-08 22:50:25 +02:00
akuma06
5860cf1d79 Added Profile page 2017-05-08 18:56:40 +02:00
akuma06
8a61b409fc Cleaned up User Model 2017-05-08 14:28:02 +02:00
Andrew Zhao
15b1552f4e initial implementation of making comments 2017-05-07 20:34:12 -07:00
Andrew Zhao
263b1f5075 implemented comments and display 2017-05-07 19:06:11 -07:00
akuma06
0db01fb824 Added logged badge + new User variable in each template variables 2017-05-08 01:46:30 +02:00
sfan5
9921424441 Show unknown filesizes correctly 2017-05-07 13:55:35 +02:00
Andrew Zhao
f5a28e47fe throw in the description with some sanitizatoin 2017-05-06 22:18:41 -07:00
Andrew Zhao
e04b5fc01b start implementing upload 2017-05-06 21:26:09 -07:00
Eliot Whalan
0825415331 Merge pull request #129 from azhao12345/upload-changes
Implement some stuff needed for upload
2017-05-07 11:59:31 +10:00
Andrew Zhao
12f16fb0c7 use util to generate magnets 2017-05-06 18:10:35 -07:00
tomleb
6fa3113c73 Fix search functionality, unzlib won't be needed in the future 2017-05-06 19:02:02 -04: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
akuma06
220dcaa361 Merge branch 'master' into master 2017-05-06 22:17:13 +02:00
akuma06
b4dea05ae4 Forgot files 2017-05-06 22:14:02 +02:00
ayame-git
99f25790ea Status model and field for Users 2017-05-07 01:52:27 +03:00
akuma06
7651459b7f Added torrents on model user 2017-05-06 18:09:29 +02:00
akuma06
d32c3d0fa8 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
95fac1df64 filesize as int 2017-05-06 17:36:28 +02:00
Eliot Whalan
bf0de81e66
Get comments working 2017-05-06 12:18:24 +10:00
sfan5
422ff834c2 Force width of category image container 2017-05-05 22:53:17 +02:00
akuma06
823901b8ab 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