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

23 commits

Auteur SHA1 Message Date
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
PantsuDev
70f87e7aac finish repo transfer 2017-05-17 15:58:40 +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
sfan5
09ff949945 Make account bans work 2017-05-11 12:05:55 +02:00
sfan5
d178ab23b6 Make email verification work correctly
Previously the email was set before it had been verified, which was very wrong.
2017-05-10 22:10:31 +02:00
sfan5
18b8082adf Re-fix signup without email (@Leodmanx2 broke it) 2017-05-10 15:40:23 +02: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
PantsuDev
381afc3952 Merge pull request #221 from bakape/db-errors
Better DB error handling
2017-05-10 06:45:26 +10:00
bakape
c46c386981 Better DB error handling 2017-05-09 20:23:21 +03:00
sfan5
c78eaacf0c Fix registration without email 2017-05-09 17:06:21 +02:00
sfan5
2c151bc26e Make login 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
akuma06
525eeb752e Fixed typo 2017-05-08 15:08:36 +02:00
akuma06
4df2268094 Added Form Validation
Display of error messages
2017-05-07 19:59:38 +02:00
akuma06
fa0e4ec4bd Fixed 2017-05-07 00:19:26 +02:00
akuma06
a9f97d6366 Forgot files 2017-05-07 00:15:27 +02:00
akuma06
b4da1000b3 Added User Registration View
Moved public files in public folder
2017-05-07 00:10:40 +02:00
akuma06
4182e22262 Fix #1 2017-05-06 22:27:21 +02:00
akuma06
30a53a79ec Forgot files 2017-05-06 22:14:02 +02:00
akuma06
773ce60848 Fixed Typo 2017-05-06 21:37:10 +02:00
akuma06
5ef953ff55 User Package (WIP)
Added services and utils needed
2017-05-06 21:21:39 +02:00