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

30 commits

Auteur SHA1 Message Date
sfan5
a3fa6df938 Remove bugs (#643)
* Fix S/L/D columns wasting huge amounts of space

Partially reverts 0c9cdfa8bf.

* Move last scrape below seed-bar

Also fixes the very misleading indentation

* Show category name on view page too

* Fix fucked up login page (fixes #640)

* Fix empty page on login w/o pass (fixes #634)

* Fix incorrectly colored error text in day mode

* Better readable footer in night mode

* Prepare having old uploader names on sukebei and various fixes for sukebei

* Different HTML title for sukebei
2017-05-20 20:45:27 +10:00
tomleb
7eee47b0d3 Fix bug, remove literals (#629)
* Use ModeratorDir variable

* Rename cookieHelper to cookie_helper for consistency

* Use named constant instead of literals

* Fix ability to upload when uploads are disabled

The old code let people upload under the right conditions when uploads
were disabled. (ie: User is banned and config.AdminAreStillAllowedTo is
false)

* Increase timeout (fixes #517)

* Fix inconsistent indentation *.{js, css} (fix #583)

* Fix negative page

Temporary fix. The issue was that going to a negative page caused the
sql query to have a negative offset. This caused an error in the
database query.

We need to cleanup this code, but this will work for now.

* Fix wrong PG_DATA directory due to upgrade to 9.6

* Add server status link to FAQ

* Fix failing tests

* Clarify group_vars/all and hosts doc

* Add a wrapper to protect /mod route

* Fix login page not showing form errors
2017-05-20 09:10:16 +10:00
sfan5
dc509ff18c Stateless cookie auth 2017-05-12 12:40:31 +02:00
Eliot Whalan
bcaac0961f Revert "Stateless cookies (#372)"
This reverts commit 2f06fb8fa1.
2017-05-12 16:42:15 +10:00
sfan5
019f37dc4d Stateless cookies (#372)
* Remove eddie4.nl tracker

It resolves to the same IP address as leechers-paradise which we already have.

* Remove database usage from cookie auth

* Hide "Remember Me" as it doesn't work yet
2017-05-11 16:18:56 -05:00
ayame-git
8373bce02f unborked report list 2017-05-10 22:09:37 +03:00
Eliot Whalan
5de19ec928 add md5 gorm column back 2017-05-10 21:57:31 +10:00
sfan5
775f9c15ad Display username of old uploads alongside れんちょん 2017-05-10 13:32:45 +02:00
bakape
8b56f2e76e Merge branch 'master' of https://github.com/ewhal/nyaa into search-caching 2017-05-10 11:47:06 +03:00
bakape
7ff8e97c9d Framework for caching []model.Torrents 2017-05-10 11:27:17 +03:00
Your Name
c5da59234f idgaf about consistency dont fucking fuck all the relations 2017-05-10 05:17:11 +00: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
akuma06
9bbd544a20 Added Follow&Unfollow 2017-05-10 03:16:36 +02:00
sfan5
5bb6244564 Don't generate gravatar hash if no email 2017-05-09 17:20:19 +02:00
sfan5
30f3b0c6eb Fix creating of useless table 2017-05-09 17:14:13 +02:00
sfan5
128b070968 Maybe fix gravatar 2017-05-09 16:50:29 +02:00
sfan5
5d57233882 Cleanup of user model 2017-05-09 12:16:41 +02:00
Andrew Zhao
1c44a24ab0 make user torrent list display 2017-05-08 22:21:14 -07:00
akuma06
84cf511fe3 Fixed User
Profile Page, badge menu, every thing before previous commit (except
email)
Added Logout
2017-05-09 03:37:12 +02:00
sfan5
173dc9e34c Remove unused code 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
akuma06
9bc75c86f3 Added logged badge + new User variable in each template variables 2017-05-08 01:46:30 +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