Commit Graph

142 Commits

Author SHA1 Message Date
MrYummy
91169ab103 removed '#forumthreads_controller.rb#' 2017-06-18 13:11:36 -04:00
MrYummy
9837f12b59 allowed role and badge filtering, made User.search take Role and Badge as params 2017-06-18 13:11:36 -04:00
MrYummy
d2de01100a moved all search styling to CSS, removed friendly (but slow) URLs, moved WHERE strings into an array 2017-06-18 13:11:36 -04:00
MrYummy
1b8744abdb Changed 'Who's Playing' code to handle revised JSON format 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
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
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
b057cb5913 remove annoying permission check for comments, forums, threads, replies 2016-07-24 22:30:00 +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
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
44839b08ae fix syntax error when deleting invalid role from POST params 2016-06-12 00:44:39 +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
78ddfadb34 don't ignore :label_id on thread creation 2016-03-08 23:58:07 +01:00
jomo
e53228eaf1 update to rails 4.2.5, clean up 2016-01-17 22:27:38 +01:00
jomo
3c0173f7c4 fix page number in redirection after updating a comment 2015-07-11 04:14:04 +02:00
jomo
41cf37103f allow user filter for donor 2015-05-25 17:58:37 +02:00
jomo
40bdcaf16b Revert "blog comment improvements"
This reverts commit 320cfa56f9.
2015-04-02 10:30:15 +02:00
jomo
11efebc316 Revert "more improvements"
This reverts commit a404feb6c5.
2015-04-02 10:30:02 +02:00
jomo
a404feb6c5 more improvements 2015-04-01 17:02:53 +02:00
jomo
320cfa56f9 blog comment improvements 2015-04-01 16:59:01 +02:00
jomo
f572f13479 remove unused route 2015-03-22 23:20:45 +01:00
jomo
557393565c fix user list ranking 2015-03-10 01:05:21 +01:00
jomo
61f51666fb remove thread mention mail, use reply mail instead 2015-02-08 01:47:20 +01:00
jomo
05760b845c remove comment mention mail, use reply mail instead 2015-02-08 01:18:09 +01:00
jomo
f82af96759 redirect to proper page for thread replies 2015-02-08 00:47:17 +01:00
jomo
e887e3d1da update minecraft name changes automatically 2015-02-08 00:32:52 +01:00
jomo
c45a888e1e redirect to correct blogpost page 2015-02-08 00:32:00 +01:00
jomo
dc60251ab4 actually correct order of prev/next info 2015-01-27 22:54:47 +01:00
jomo
7ae24024dd correct order of prev/next info 2015-01-27 21:53:22 +01:00
jomo
580db14754 fix locked? being called on nil 2015-01-27 21:46:48 +01:00
jomo
374f602163 remove mini markdown renderer everywhere
was still used for comment emails etc
2015-01-26 00:42:58 +01:00
jomo
75a7f4499a big @mentions update
1. switched from autocomplete.js to jquery-textcomplete
2. style update
3. Allow mentioning by ign OR display name
4. display names can be two words and separated by a space
5. display names can be all characters, except a few special ones (punctuation etc)
6. Wildcard characters are escaped in SQL
7. Suggestions are html escaped
8. Suggestions have a timeout of 300ms, so the query is made after you stopped typing
2015-01-25 23:47:38 +01:00
jomo
31dcf02083 prevent editing label after thread was locked 2015-01-25 17:10:15 +01:00
jomo
eb7892ebe4 fix users not being able to create in write-only forums 2015-01-17 21:12:10 +01:00
jomo
55f92fe45a enable write-only forums
when the role-write is lower than the role-read, a forum is considered write-only
for anyone who can write, but not read, they can create posts, but they can only see and reply to their own posts.

users who can read are able to see and reply to all posts in the forum.
2015-01-17 19:40:57 +01:00