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
854dc4d834
fix old migration file names
2016-02-07 14:27:57 +01:00
jomo
ce304ece43
fix utf8mb4 / MySQL5.5 crap
2016-02-07 14:25:53 +01:00
jomo
e077fd2a0a
Revert "remove mysql 5.6 fix"
...
This reverts commit ceaec53d39 .
Revert "try fixing mysql utf8mb4 issues"
This reverts commit 1a04b3c882 .
2016-01-30 00:02:47 +01:00
jomo
ceaec53d39
remove mysql 5.6 fix
2016-01-29 23:57:44 +01:00
jomo
1a04b3c882
try fixing mysql utf8mb4 issues
2016-01-29 23:53:13 +01:00
jomo
7987e37f11
use ruby 2.0.0-p648
2016-01-29 22:01:33 +01:00
jomo
138a98f086
Revert "ruby 2.3.0 \o/"
...
This reverts commit f47b2b5129 .
2016-01-29 21:36:17 +01:00
jomo
e9ca7e790d
update donation page
2016-01-29 00:29:07 +01:00
jomo
f47b2b5129
ruby 2.3.0 \o/
2016-01-28 21:50:05 +01:00
jomo
0aa32d3632
update rails for security
...
See 2c8f567e53 for info
2016-01-25 20:51:53 +01:00
jomo
6138b8d435
fix IPv6 style email validation
...
example: jsmith@[IPv6:2001:db8::1]
2016-01-25 17:11:51 +01:00
jomo
09592a8198
Merge pull request #6 from Futseh/master
...
Removed methods that are unused and not needed
2016-01-18 22:32:16 +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
1ed36f2129
changes for rails 5
2016-01-18 00:23:39 +01:00
jomo
69c0037cf6
add README
2016-01-17 23:16:37 +01:00
jomo
e53228eaf1
update to rails 4.2.5, clean up
2016-01-17 22:27:38 +01:00
jomo
ce19d61e1d
use utf8mb4
...
because utf8 is not UTF-8 compatible...
2016-01-17 18:58:05 +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
jomo
7744703eb8
Merge pull request #4 from Futseh/master
...
Fixed path bug
2016-01-17 00:46:03 +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
bf91ef766c
don't use port 80 for https URLs
2015-12-04 15:02:26 +01:00
jomo
498fa1875d
use secure cookies in production
2015-12-04 00:30:08 +01:00
jomo
315122c1de
use https in email links
2015-12-03 23:47:51 +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