Commit Graph
81 Commits
Author SHA1 Message Date
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
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
MrYummy b73ba5d739 removed user 'donor?' method and changed default badge_id from 0 to 1 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 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 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 1b4a270038 Added badge system 2017-06-18 13:11:36 -04:00
jomo 5ba4783393 adjust max size of thread reply to that of threads, see #11 2016-10-14 13:26:24 +02:00
Jonas Folvik 00fc8b3fcd Changed the content length of forumthreads to 20k because Nemes 2016-10-03 23:01:46 +02:00
jomo 6138b8d435 fix IPv6 style email validation
example: jsmith@[IPv6:2001:db8::1]
2016-01-25 17:11:51 +01:00
Jonas Folvik ec8d0095f3 Removed methods that are unused and not needed
Removed the haspaid?, correct_case?, ign_is_not_skull and
ign_is_not_mojang methods because they aren't used anymore, since we now
have a connection between the server and the website to check if they
have paid and that the skull is a skull. I also removed the
account_exists? method because it makes problems when you setup the
database since some users can be seen to not exist.
2016-01-18 20:28:03 +01:00
jomo 80d9a1761a *actually* fix parens checking if forum exists
this led to 500 when the forum was deleted but the thread still existed
2016-01-17 18:33:17 +01:00
jomo 676875914f fix parens checking if forum exists
this led to 500 when the forum was deleted but the thread still existed
2016-01-17 18:23:26 +01:00
Futsy e1fe02eacc Fixed the double mail bug
This should fix the double mail bug
2015-12-22 14:27:05 +01:00
jomo 544e226dfa rename crafatar helm to overlay
the option has been renamed
2015-12-20 03:50:34 +01:00
jomo 756d0d1047 bcrypt has a 72 character limit :'(
56 bytes limit of eksblowfish, to be exact
2015-12-17 00:58:27 +01:00
jomo 9edbdb7d55 add strip_attributes
converts empty string to nil on the user model
so unique indexes with null: true will not break
2015-08-26 02:54:51 +02:00
jomo b601d49fe6 add color to roles, improvement in label color detection 2015-03-10 00:51:39 +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 c5af51afe6 fix stacklevel2deep 2015-01-17 20:41:51 +01:00
jomo 10e0bf2f6e make sticky threads visible in write-only forums 2015-01-17 20:38:51 +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
jomo a6c062bde7 make labels editable in threads 2015-01-17 18:28:38 +01:00
jomo 5f00fc87a3 proper color support for labels 2015-01-17 16:04:07 +01:00
jomo 39fceedf56 add basic support for labels 2014-11-21 00:39:38 +01:00
jomo 82f5e7edd9 use crafatar to serve avatars 2014-11-17 01:33:23 +01:00
jomo 5fcde67040 improve blog comment replies 2014-10-12 21:54:32 +02:00
jomo c61dbb0798 fix t/235: mentioned users see thread parts in email 2014-09-25 23:30:10 +02:00
jomo 0f0a5c42b9 friendly urls 2014-09-22 06:46:08 +02:00
jomo d385136114 mentioning fixes 2014-07-06 05:07:30 +02:00
jomo b1d797ce06 mentioning 2014-07-06 04:57:51 +02:00
jomo 0714c54e5b s/adress/ad*d*ress/ 2014-06-30 23:48:11 +02:00
jomo 7b2e62a966 oops 2014-06-29 06:50:47 +02:00
jomo b276d93822 better online user list 2014-06-29 06:45:00 +02:00
jomo ed2feab298 fix userlist sorting; fix idiot-check 2014-06-29 06:36:55 +02:00
jomo fdfb491af9 Fix: Accessing threads in deleted forum, will deny access 2014-06-26 22:38:16 +02:00
jomo 0ea9bd2e33 fix: Unconfirmed-email users can create threads 2014-06-26 22:19:48 +02:00
jomo 6e8becc45e clarify 'online' users 2014-06-22 23:26:52 +02:00
jomo 8a7d719920 add notification settings, fix comment edit permissions 2014-06-17 21:19:15 +02:00
jomo 19eb868a50 Add markdown preview; fix bug with deleted editor 2014-05-11 06:43:56 +02:00
jomo 35c85c2993 add last activity to forums 2014-05-10 01:48:43 +02:00
jomo 4ee8ce36f1 fix IPv6 email regex, get ready for token registration 2014-05-04 23:03:11 +02:00
jomo 7c2cf24eb3 allow IPv4 and IPv6 as email domain 2014-05-03 05:33:06 +02:00
jomo 34c4176521 change 'online' time from 5 to 2 mins 2014-05-03 05:16:11 +02:00