Commit Graph

425 Commits

Author SHA1 Message Date
Jonas Folvik
bb1d2c0c3e resend mail bug fix
We can now send the mail when you are mod and you also don't need to be
unconfirmed yourself.

a better fix

this is just a better fix to my last commit
2016-06-24 14:45:49 +02:00
jomo
81d9fabe7b allow mods to resend confirmation emails for other users 2016-06-21 23:41:04 +02:00
jomo
e0ac5fac13 don't allow other users or confirmed users to resend confirmation email 2016-06-21 23:35:41 +02:00
jomo
3f91e1a099 fix confirmation redirect 2016-06-21 23:28:42 +02:00
jomo
eabf773ba3 fix resend button style 2016-06-21 23:26:56 +02:00
jomo
e2c413a8b1 Merge branch 'master' of https://github.com/Futseh/redstoner.com 2016-06-21 23:05:59 +02:00
Jonas Folvik
db1c10eb9b An Option to resend the confirmation mail
You should now be able to resend the confirmation mail with the click of
a link that is next to the warning that the mail isn't confirmed.

Resend the confirmation mail cleaning

Just a way to re use the files and stuff we already have instead of the
file I created even though I could use the register_mail we have.

Change of route and link to button

I changed the route from GET to POST because of security reasons, and
changed the link_to to a button_to

changed the notice

I changed the notice so it said check for the mail instead of check for
the link

Changed notice and button

Changed the notice to say "Check your inbox" instead of "Check your
mail" also changed the way the class looks
2016-06-17 10:21:49 +02:00
jomo
c8e964c23f clarify write-only notice 2016-06-12 00:54:28 +02:00
jomo
44839b08ae fix syntax error when deleting invalid role from POST params 2016-06-12 00:44:39 +02:00
jomo
8beb2d39db remove a few unnecessary html_safe 2016-05-19 20:23:34 +02:00
jomo
f633b49eca fix potential XSS 2016-05-19 20:15:07 +02:00
jomo
bd061d3441 fix thread & reply navigator links 2016-05-08 19:30:52 +02:00
jomo
37cccdff18 require uuid for password reset, destroy token after each try 2016-05-08 19:04:16 +02:00
jomo
1f51e9d823 allow relative return_path only, check validity 2016-05-07 03:52:14 +02:00
jomo
f110d2e0ad add rendering support for youtube usernames 2016-03-09 00:56:03 +01:00
jomo
ff84cee552 switch from youtube username to channel ID
updates legacy code that really needs to be gone
2016-03-09 00:45:10 +01:00
jomo
78ddfadb34 don't ignore :label_id on thread creation 2016-03-08 23:58:07 +01:00
jomo
82d4b1d27b link to correct user in profile edit view 2016-03-08 23:46:07 +01:00
jomo
e9ca7e790d update donation page 2016-01-29 00:29:07 +01:00
jomo
6138b8d435 fix IPv6 style email validation
example: jsmith@[IPv6:2001:db8::1]
2016-01-25 17:11:51 +01:00
Jonas Folvik
ec8d0095f3 Removed methods that are unused and not needed
Removed the haspaid?, correct_case?, ign_is_not_skull and
ign_is_not_mojang methods because they aren't used anymore, since we now
have a connection between the server and the website to check if they
have paid and that the skull is a skull. I also removed the
account_exists? method because it makes problems when you setup the
database since some users can be seen to not exist.
2016-01-18 20:28:03 +01:00
jomo
e53228eaf1 update to rails 4.2.5, clean up 2016-01-17 22:27:38 +01:00
jomo
80d9a1761a *actually* fix parens checking if forum exists
this led to 500 when the forum was deleted but the thread still existed
2016-01-17 18:33:17 +01:00
jomo
676875914f fix parens checking if forum exists
this led to 500 when the forum was deleted but the thread still existed
2016-01-17 18:23:26 +01:00
Jonas Folvik
553a15519a Fixed path bug
This is a fix for the bug that you couldn't go back to the original
thread by clicking the links at the top.
2016-01-17 00:44:31 +01:00
Futsy
e1fe02eacc Fixed the double mail bug
This should fix the double mail bug
2015-12-22 14:27:05 +01:00
jomo
544e226dfa rename crafatar helm to overlay
the option has been renamed
2015-12-20 03:50:34 +01:00
jomo
b618db7938 link to specific version of ago.js 2015-12-20 00:55:28 +01:00
jomo
756d0d1047 bcrypt has a 72 character limit :'(
56 bytes limit of eksblowfish, to be exact
2015-12-17 00:58:27 +01:00
jomo
560f83ce88 use Subresource Integrity for externally hosted javascript
browsers will calculate the sha256 hash of the script and compare it to the value of the integrity attribute
if the values do not match, the browser will refuse to execute it.

note: the shasum is written in base64 encoding, not the (more common) hex format!
2015-12-03 23:12:04 +01:00
jomo
e50f1fffee change slack badge back to https 2015-12-03 21:59:21 +01:00
jomo
acd1426618 update slack domain 2015-12-01 14:47:14 +01:00
jomo
3a93273cee fix inconsistency between Chrome & FF
In Firefox a <textarea> with a padding-top preserves the padding when scrolling down,
whereas in Chrome the padding will scroll up altogether with the content
2015-08-30 19:54:32 +02:00
jomo
9edbdb7d55 add strip_attributes
converts empty string to nil on the user model
so unique indexes with null: true will not break
2015-08-26 02:54:51 +02:00
jomo
3c0173f7c4 fix page number in redirection after updating a comment 2015-07-11 04:14:04 +02:00
jomo
4e97a9d63d fix error message for broken mails 2015-07-10 23:22:43 +02:00
jomo
17e27fa17f update favicon in assets folder 2015-07-01 18:56:27 +02:00
jomo
5fb6e8a9e2 use monospace fonts for code blocks 2015-06-17 21:21:20 +02:00
jomo
df5bf67dd7 this looks better 2015-05-25 18:19:50 +02:00
jomo
5272044a35 add drop-shadow to 3D crafatar renders
(idea shamelessly cloned from namemc.com)
2015-05-25 18:15:24 +02:00
jomo
f5e6969762 add link to donor list on donation page 2015-05-25 18:00:46 +02:00
jomo
41cf37103f allow user filter for donor 2015-05-25 17:58:37 +02:00
jomo
542b235f23 show info page update time 2015-04-24 00:28:01 +02:00
jomo
eb00bc2f95 show role on user hover 2015-04-24 00:05:52 +02:00
jomo
db098ac2e1 optimize images
TODO: logo.svg
2015-04-16 23:50:34 +02:00
jomo
9c9d55bfe4 add donation option for @Dico200 2015-04-14 22:05:00 +02:00
jomo
0ab2b99c31 add padding to <li> 2015-04-03 21:19:30 +02:00
jomo
59ed71090c restructure signup page 2015-04-03 21:17:25 +02:00
jomo
ed7dd52db9 pre-fill email field on wrong password 2015-04-03 20:00:39 +02:00
jomo
04c379c3c4 Update donation info 2015-04-03 18:54:31 +02:00