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

38 commits

Auteur SHA1 Message Date
akuma06
798ec9a3a8 Merge remote-tracking branch 'refs/remotes/origin/dev' into notifications
# Conflicts:
#	templates/_badgemenu.html
2017-05-21 01:21:56 +02:00
Ramon Dantas
1968d2ae54 Move translation func to template variables (#652)
* Add T field to template variables

* Remove languages.SetTranslationFromRequest

* Add Tfunc on handlers

* Remove T and Ts from template_functions

* Update templates

Change the templates to use the local Tfunc, instead of the global one.
Also changed the signature of the fields on template_variables.go, so that
they return a template.HTML to avoid escaping problems.

* Remove unnecessary variable
2017-05-21 08:38:28 +10:00
akuma06
0390fc5215 Mostly done 2017-05-21 00:02:57 +02: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
GooNyaa
7ed0186db7 [templates][register] remove unnecessary symbol in title 2017-05-16 22:29:58 +03:00
Atvaark
844a0734dd Fix registration view tab order
Since the captcha uses the default tab order it was getting skipped
by the registration form.

- Add autofocus to the registration and upload view
- Add id attribute to input elements that have a label
2017-05-13 15:09:11 +02:00
sfan5
de67e9c922 Hide "Remember Me" button because it doesn't work yet 2017-05-12 12:16:15 +02:00
Eliot Whalan
bcaac0961f Revert "Stateless cookies (#372)"
This reverts commit 2f06fb8fa1.
2017-05-12 16:42:15 +10:00
tomleb
b0982f07a6 Change color for bg-danger and fix night theme flickering issue (#370)
* Change color for bg-danger

* Fix annoying flickering with night theme

* use new class instead of overriding bootstrap's
2017-05-11 16:54:53 -05:00
akuma06
8d3d169316 Merge pull request #369 from bittebitte/patch-2
Autofocus username field
2017-05-11 23:20:40 +02: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
bittebitte
a377e272c8 Autofocus username field 2017-05-11 14:25:16 -05:00
sfan5
c07d771559 Fix missing translated string 2017-05-10 23:45:22 +02:00
ripdog
aae25274c1 Add a route for the user settings form: /edit,called UserDetailsHandler 2017-05-11 01:09:36 +12:00
ripdog
f0a82c52cf Minor html formatting 2017-05-11 01:08:37 +12:00
Eliot Whalan
d30a5535fc Fix typos 2017-05-10 16:57:48 +10: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
PantsuDev
d02672add8 Merge pull request #217 from sfan5/installgentoo
Various changes
2017-05-10 06:44:10 +10:00
akuma06
8aa8a0593c Added delete account and edit profile 2017-05-09 17:47:12 +02:00
sfan5
e3be788372 Correct text when signing up without email 2017-05-09 17:11:12 +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
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
Eliot Whalan
6c67c23439 Add some bottom padding to login and register pages 2017-05-08 09:59:36 +10:00
akuma06
d34823c422 Added Login 2017-05-08 00:21:31 +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
4df2268094 Added Form Validation
Display of error messages
2017-05-07 19:59:38 +02: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
e01eb9ba13 Fixed links 2017-05-07 04:06:52 +02:00
akuma06
81e8a9bc40 Added login page + multilanguage support 2017-05-07 04:02:57 +02:00
akuma06
00b08b71cd Multi language support User Registration page finished 2017-05-07 03:34:16 +02:00
akuma06
4d321f581a Support no javascript 2017-05-07 03:05:39 +02:00
akuma06
5bafc6c0b5 Fixed register page 2017-05-07 03:00:05 +02:00
akuma06
f88b4656a1 Fixed Typo + Added multi language support
Multi language for User package
2017-05-07 02:32:32 +02:00
akuma06
b4da1000b3 Added User Registration View
Moved public files in public folder
2017-05-07 00:10:40 +02:00