355 Commits
Author SHA1 Message Date
MrYummy 8bf5164301 just making this so I don't lose work when I switch branches 2017-06-17 17:22:58 +02:00
MrYummy 6a0eedc585 Fixed compatability issues in methods for thread-like messages 2017-06-16 22:27:03 +02:00
MrYummy 4e8d94a7b6 see previous commit 2017-06-16 21:19:13 +02:00
MrYummy f60edea1be Fixed 'No private messages' bug 2017-06-16 21:16:35 +02:00
MrYummy 2bb75bb0b6 tweaked message 'read' system 2017-06-16 21:14:09 +02:00
MrYummy dd193e740a Added 'read' check; message name is only bold if unread 2017-06-15 15:04:15 +02:00
MrYummy 9b50ec652c Made messages more thread-like (replies, editing, etc.) 2017-06-15 14:29:25 +02:00
MrYummy 80026caebc Added subject support to messages 2017-06-13 03:48:30 +02:00
MrYummy b075a5fd75 Apparently that 'unnecessary permission check' was necessary. ¯\_(ツ)_/¯ 2017-06-13 02:19:29 +02:00
MrYummy 4d42fdfeb4 Moved messages index link to users/show.html.erb, added 'message this user' button 2017-06-13 02:08:13 +02:00
MrYummy dd63941657 Added message length validity (1..8000) and rewrote 'target' method 2017-06-12 21:59:39 +02:00
MrYummy fbae985d86 Prettified link style in message mail 2017-06-12 21:47:21 +02:00
MrYummy 32231e4eea Updated user_target autocomplete regex, removed unnecessary permission check 2017-06-12 21:40:33 +02:00
MrYummy 895e56ff06 Link to 'all messages' in message email fixed, added "delete_all" action 2017-06-12 21:17:18 +02:00
MrYummy 68ee779c11 Now sends mail to user_target on message creation 2017-06-04 20:02:57 +02:00
MrYummy 7c233c8fef fixed routes and made 'Delete message' appear on cursor hover 2017-06-03 21:29:14 +02:00
MrYummy e378dfab02 Added messaging feature 2017-05-27 00:34:47 +02:00
jomo 992406a20b allow markdown emphasis inside of words 2017-01-08 08:55:31 +01:00
jomo abeb405bab rescue and fail gracefully when updated user can't be saved
saving the user can fail when the new ign or name are already assigned to a different user.
it's not worth implementing automatic correction because there can be multiple or even circular
'dependencies' of unique names that need to be changed
2016-12-14 23:57:08 +01:00
jomo 381e6e8b5b ensure donor tag color is always white 2016-11-19 21:15:03 +01:00
jomo 5ba4783393 adjust max size of thread reply to that of threads, see #11 2016-10-14 13:26:24 +02:00
jomo ddc57fa7df Merge commit '00fc8b3fcd10860abb70a57fb6aaab3c476259f2' 2016-10-14 10:58:39 +02:00
Jonas Folvik 00fc8b3fcd Changed the content length of forumthreads to 20k because Nemes 2016-10-03 23:01:46 +02:00
jomo b057cb5913 remove annoying permission check for comments, forums, threads, replies 2016-07-24 22:30:00 +02:00
jomo c9e7015f4c update slack URL 2016-07-20 14:21:41 +02:00
jomo 76076bbdf2 fix edit link permission checks for comments, threads, replies 2016-07-19 15:06:40 +02:00
jomo f2353eebcc check mod+ rank when dealing with forum threads 2016-07-19 14:56:00 +02:00
jomo f6929da548 check mod+ rank when dealing with thread replies 2016-07-19 14:53:41 +02:00
jomo 072f38a373 check mod+ rank when updating comment 2016-07-19 14:50:03 +02:00
jomo d9ae4e7d3a restrict edit page access to users allowed to update 2016-07-11 21:06:12 +02:00
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