Commit Graph

522 Commits

Author SHA1 Message Date
MrYummy
deba1b76e3 Updated find_by methods 2017-06-18 13:11:36 -04:00
MrYummy
e2a16f3ae6 ordered searching to match SQL clauses, moved role&badge filtering to User.search 2017-06-18 13:11:36 -04:00
MrYummy
a250c411eb Added CSS for index search fields and revised regex for author search 2017-06-18 13:11:36 -04:00
MrYummy
4105f1c61f fixed action caching 2017-06-18 13:11:36 -04:00
MrYummy
1316d7ca03 Added Searching Features
* Added Thread Search Feature

* Added User Search Feature

* Re-organized searching, added @mention support to author search
2017-06-18 13:11:36 -04:00
MrYummy
e7463524af Added Who's Playing? screen 2017-06-18 13:11:36 -04:00
MrYummy
a24d26dd7c Added Website Settings 2017-06-18 13:11:36 -04:00
MrYummy
db3aea185b Added Reply Reversal And Toggle 2017-06-18 13:11:36 -04:00
MrYummy
2c02a797b8 Added Necropost Warning 2017-06-18 13:11:36 -04:00
MrYummy
1b4a270038 Added badge system 2017-06-18 13:11:36 -04:00
jomo
992406a20b allow markdown emphasis inside of words 2017-01-08 08:55:31 +01:00
jomo
61edf27888 add CookieJar patch to flag cookies as secure based on the connection protocol
rails only allows to globally flag session cookies as either secure or not
this patch sets the secure flag for cookies based on the protocol (http/https)
this is used to send cookies via http but flag them secure for https
which allows use with HTTP over Tor for an onion domain
this is acceptable because nginx redirects clearnet http to https
2017-01-08 08:06:37 +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
cce749deef remove index 'email' from register_tokens
only records with the same UUID are deleted before INSERTing new ones
meaning a player could prevent another one from using a certain address
when emails are unique.

There's no good reason to force uniqueness on emails in this table
2016-09-27 00:15:01 +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
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