Commit Graph
451 Commits
Author SHA1 Message Date
MrYummyandGitHub 2819989b72 Added total_count to thread result number (pt. 2) 2017-07-06 20:08:48 -04:00
jomo 8c6eb8ac17 more fixes for order of threadreplies 2017-07-07 02:05:04 +02:00
jomo 72a6dcc54a order by id instead of created_at
id is indexed while created_at is not
2017-07-07 01:57:30 +02:00
MrYummy 4e1b6b430b limited params in params_list to the 6 queries 2017-07-04 22:57:31 +02:00
MrYummyandGitHub f90257fe73 Explicitly stated order of threadreplies 2017-07-04 09:23:01 -04:00
MrYummyandGitHub 9b64c2c6d9 Thread index now counts all threads on all pages 2017-07-02 23:23:24 -04:00
MrYummyandGitHub 170fba42db Added "All staff" as title when doing user filter 2017-07-02 21:21:19 -04:00
jomo 12fb7584bc allow staff search with empty parameter value 2017-07-03 03:17:27 +02:00
MrYummyandGitHub a8ffba8f8b fixed issue with ?staff part 2 2017-07-02 21:15:55 -04:00
MrYummyandGitHub fcdcbe2514 fixed issue with ?staff 2017-07-02 21:13:43 -04:00
jomo 496e08393a fix user search 2017-07-03 03:05:10 +02:00
jomo b225dc57b2 add index forumthread_id on threadreplies 2017-07-03 02:47:51 +02:00
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 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