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

89 commits

Auteur SHA1 Message Date
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
0d7678ea8b Merge pull request #438 from mitki/patch-2
Password length
2017-05-14 00:30:23 +02:00
Mitki
1745e7e17e Update formValidator.go 2017-05-13 13:20:21 -03:00
sfan5
c0be570e54 Torrent Reassign feature for modpanel 2017-05-13 17:29:21 +02:00
sfan5
dc509ff18c Stateless cookie auth 2017-05-12 12:40:31 +02:00
sfan5
6b341c7b03 No captchas for trusted users or admins, closes #330 2017-05-12 12:05:36 +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
akuma06
ceb9e039f1 Renchon can't be deleted! 2017-05-10 22:55:50 +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
akuma06
45e6fc109f Edit profile unborked, please don't bork it anymore :'( 2017-05-10 20:24:37 +02:00
akuma06
b88cd33794 Merge branch 'master' of https://github.com/ewhal/nyaa into akuma06/master 2017-05-10 17:38:33 +02:00
sfan5
18b8082adf Re-fix signup without email (@Leodmanx2 broke it) 2017-05-10 15:40:23 +02:00
akuma06
46d65ba865 Fixing Mod Panel (WIP) 2017-05-10 15:08:38 +02:00
akuma06
9a435ccdc0 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	service/torrent/torrent.go
#	service/user/user.go
2017-05-10 05:33:40 +02:00
akuma06
989945f09b Shitty Moderation page
No HTML done, could'nt test with nyaa.exe :/
1 page with overview of torrents, comments, users
1 page list comments
1 page list torrents
1 page list users
1 route delete torreny
1 route delete comment
Users can be deleted and edited by their route user_profile_edit (I
think)
2017-05-10 05:24:18 +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
0cd1e6d653 Revert "Revert "Mod Page (WIP)""
This reverts commit 233c859723.
2017-05-10 04:03:25 +02:00
akuma06
bea9fdab04 Revert "Mod Page (WIP)"
This reverts commit 55590cf7b3.
2017-05-10 04:03:09 +02:00
akuma06
d4c7138081 Mod Page (WIP) 2017-05-10 04:02:23 +02:00
akuma06
9bbd544a20 Added Follow&Unfollow 2017-05-10 03:16:36 +02:00
sfan5
60ecfb797a Stateless Email Verification 2017-05-10 00:04:07 +02:00
ayame-git
4bd79520a9 i fucking hate git 2017-05-10 00:21:15 +03:00
ayame-git
ab330e77c7 merged 2017-05-10 00:02:44 +03:00
PantsuDev
381afc3952 Merge pull request #221 from bakape/db-errors
Better DB error handling
2017-05-10 06:45:26 +10:00
PantsuDev
d02672add8 Merge pull request #217 from sfan5/installgentoo
Various changes
2017-05-10 06:44:10 +10:00
bakape
c46c386981 Better DB error handling 2017-05-09 20:23:21 +03:00
ayame-git
3d10749dcd Merge branch 'master' of github.com:ewhal/nyaa into api_wip 2017-05-09 19:39:15 +03:00
akuma06
8aa8a0593c Added delete account and edit profile 2017-05-09 17:47:12 +02:00
sfan5
5bb6244564 Don't generate gravatar hash if no email 2017-05-09 17:20:19 +02:00
ayame-git
71b2b798b8 search query 2017-05-09 18:09:45 +03:00
sfan5
c78eaacf0c Fix registration without email 2017-05-09 17:06:21 +02:00
Andrew Zhao
1c44a24ab0 make user torrent list display 2017-05-08 22:21:14 -07:00
PantsuDev
7ab4d45505 Merge branch 'master' into less-realloc 2017-05-09 13:14:20 +10:00
akuma06
be6e573465 Moved translations in appropriate directory 2017-05-09 04:12:48 +02: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
Austin
a1e63a330c Make reg confirmation less cringy 2017-05-08 20:19:39 -05:00
bakape
d0d44a4849 Death to reallocations! 2017-05-09 02:56:57 +03:00
ElegantMonkey
108558dfdf Fix conflicts 2017-05-08 18:16:21 -03:00
sfan5
5cbf5fc537 Try to fix travis 2017-05-08 23:00:43 +02:00
ElegantMonkey
14f24e3be9 Add translation code to handlers, fix wrong key in .json translations 2017-05-08 17:51:59 -03:00
sfan5
2c151bc26e Make login work 2017-05-08 22:50:56 +02:00
sfan5
fe105f6648 Allow registration w/o email and make it half-work 2017-05-08 22:50:56 +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
ElegantMonkey
67897a68ea Extract strings from remaining templates 2017-05-08 17:42:56 -03:00
ElegantMonkey
b98498da35 Extract strings from upload template 2017-05-08 16:46:19 -03:00