591 Commits

Author SHA1 Message Date
jomo
b84db2bc87 fix typo 2017-07-03 02:03:55 +02:00
jomo
43cee7d2e0 only link to badge if badge exists 2017-07-03 02:03:16 +02:00
MrYummy
1ec464a4fc utilized @user variable 2017-06-21 01:19:02 +02:00
MrYummy
8dc051ea46 Added ban reason and expiration date to user pages 2017-06-20 16:22:56 +02:00
MrYummy
bcc1f192f5 Added warning for replies on closed threads 2017-06-18 22:44:03 +02:00
MrYummy
5e4e6583bb Added action_caching gem to Gemfile.lock 2017-06-18 13:11:36 -04:00
MrYummy
6d70fd3309 made some small aesthetic changes 2017-06-18 13:11:36 -04:00
MrYummy
b73ba5d739 removed user 'donor?' method and changed default badge_id from 0 to 1 2017-06-18 13:11:36 -04:00
MrYummy
91169ab103 removed '#forumthreads_controller.rb#' 2017-06-18 13:11:36 -04:00
MrYummy
65f7c3c97f Made the default badge of 'create_admin_user' none 2017-06-18 13:11:36 -04:00
MrYummy
1e267a64fb Addded default badge 'none' and enforced badges 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
4619306744 Added Donator+ perk (/lol id) to the 'Donate' page and fixed spelling error on signup page ('singing' => 'signing') 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
617890c209 badge migration now contains default badges and creation of badge table 2017-06-18 13:11:36 -04:00
MrYummy
79ad8b201e Changed 'no badge' check to be more reliable, added rake task for creating superadmin users 2017-06-18 13:11:36 -04:00
MrYummy
b99e62b7e7 Removed all trace of search_redirect, included blanks for forum and label filters 2017-06-18 13:11:36 -04:00
MrYummy
0c939f044c removed passing of useless params, updated placeholder for user textcomplete 2017-06-18 13:11:36 -04:00
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