journalduhacker/app
joshua stein 9ece6666bf add stupid temporary hack to strip out utf8mb4 chars that are screwing up mysql
4-byte utf8 chars like emoji are passed around in ruby fine, but
when they are put into mysql queries, strings get truncated at the
first mb4 character.  to prevent truncation, strip out mb4
characters in most user-controlled fields like comments, story
descriptions and titles, and messages.

to properly support utf8mb4, mysql server 5.5 is needed, the table
encodings need to be changed to utf8mb4, and the mysql2 gem needs to
be upgraded once it supports utf8mb4:

https://github.com/brianmario/mysql2/issues/249
2012-11-07 21:58:10 -06:00
..
assets only apply light link color to story list, not story detail page 2012-09-25 10:54:25 -05:00
controllers fix pulling vote for current story when showing a specific comment 2012-10-24 11:53:43 -05:00
helpers prevent double clicking of the post comment button from creating two comments 2012-09-14 16:17:45 -05:00
mailers Added mentions in comments using @username convention. @username is linked to user profile in comment text, and notifications are available via email and pushover (with notification preferences) when a user is mention. 2012-09-10 13:40:33 -04:00
models add stupid temporary hack to strip out utf8mb4 chars that are screwing up mysql 2012-11-07 21:58:10 -06:00
views show user count on user tree page 2012-10-26 17:08:19 -05:00