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

14 commits

Auteur SHA1 Message Date
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
PantsuDev
70f87e7aac finish repo transfer 2017-05-17 15:58:40 +10:00
Atvaark
cd844aec45 Replace 'en-us' literals with the default language
This consolidates the places where a default language has to be set.

- Removed import of the 'userService' package into the 'languages' util
  package
  This was required to prevent a cyclic import between the two packages.
- Added a 'UserRetriever' interface to read the language setting of users
  inside the 'languages' package
2017-05-14 22:10:07 +02:00
akuma06
dee08850cf Fixing 2017-05-10 22:42:11 +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
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
60ecfb797a Stateless Email Verification 2017-05-10 00:04:07 +02:00
sfan5
a3d13f768a Switch to new schema: make it compile 2017-05-08 22:50:56 +02:00
akuma06
04a17db739 Added verify email view and route
Now you should be able to register and activate your account
2017-05-07 22:00:45 +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
9f18efe301 Update verification.go 2017-05-06 21:59:46 +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