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

26 commits

Auteur SHA1 Message Date
akuma06
c570557477 Added Theme field in user settings 2017-05-29 15:15:04 +02:00
akuma06
fb6ad2d860 Should work now for emails
It should valid every RFC valid emails.
A regex from a comment somewhere on a website, don't remember where but
I kept it (no licence on it, shared freely)
2017-05-29 00:22:42 +02:00
akuma06
6481e90a0c Golint friendly next (#756)
* Gofmt friendly

Keeping Go source code in line with what they preconize

* Golint Friendly Next

So I have made some variables unexported
Added comments in every function that I know what it does
Removed some deprecated stuff that I was sure of
Added a comment on possible deprecated methods "Is it deprecated?"
Changed some variable/method name according to golint recommendations

* Update filelist.go
2017-05-26 12:12:52 +02:00
Eliot Whalan
b4b1b1c26a
go fmt all the code 2017-05-24 17:11:13 +10:00
akuma06
32c51a57cb User Settings Notification (WIP) 2017-05-21 18:13:28 +02:00
tomleb
babf0a37f0 Cleanups and fixes (#623)
* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb
2017-05-19 12:55:59 +10:00
PantsuDev
70f87e7aac finish repo transfer 2017-05-17 15:58:40 +10:00
Mitki
1745e7e17e Update formValidator.go 2017-05-13 13:20:21 -03:00
akuma06
dee08850cf Fixing 2017-05-10 22:42:11 +02:00
akuma06
45e6fc109f Edit profile unborked, please don't bork it anymore :'( 2017-05-10 20:24:37 +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
akuma06
8aa8a0593c Added delete account and edit profile 2017-05-09 17:47:12 +02:00
sfan5
fe105f6648 Allow registration w/o email and make it half-work 2017-05-08 22:50:56 +02:00
akuma06
d34823c422 Added Login 2017-05-08 00:21:31 +02:00
akuma06
65e24c25e9 Fixed typo 2017-05-07 20:21:46 +02:00
akuma06
38f8fae726 Fixed email validation 2017-05-07 20:10:23 +02:00
akuma06
ab59d8d04a Merge branch 'master' of https://github.com/ewhal/nyaa
Conflicts:
	router/userHandler.go
2017-05-07 20:03:17 +02:00
akuma06
4df2268094 Added Form Validation
Display of error messages
2017-05-07 19:59:38 +02:00
ayame-git
37bd6e70d6 post handle now checks for t and c 2017-05-07 17:08:45 +03:00
akuma06
1eaa0c1b44 Fixed User Captcha
Templates are now in reload of template.go
Captchas are generated correctly on register page
Corrected typo
2017-05-07 14:53:01 +02:00
Jeff Becker
47bf337fbc unbreak build 2017-05-07 06:39:28 -04:00
bakape
5a55008a16 Merge branch 'master' of https://github.com/ewhal/nyaa into captchas 2017-05-07 12:08:44 +03:00
bakape
8786db1540 Internal IP-specific captchas 2017-05-07 11:25:09 +03:00
akuma06
6b05776125 Added post method for registration
Don't know if create user work
2017-05-07 05:04:55 +02:00
akuma06
b4da1000b3 Added User Registration View
Moved public files in public folder
2017-05-07 00:10:40 +02:00