Commit Graph

48 Commits

Author SHA1 Message Date
calzoneman 817e7ceb84 Fix underscore escaping for similar chars check 2015-07-20 19:07:58 -07:00
calzoneman a6ddebbec3 Fix custom embeds in user_playlists; add NEWS.md
Server administrators should check NEWS.md before updating for
information about important changes or required administrator
intervention.
2015-07-06 12:49:21 -07:00
calzoneman 70be8a6713 Resolve merge conflict 2015-07-06 11:28:18 -07:00
calzoneman 92d5375950 database: update for new custom embed format 2015-06-29 17:43:57 -07:00
calzoneman c28dc0d3d2 Fix #489
Channels are occasionally plagued by trolls who confuse users by
"hijacking" names of other users in the channel.  This is accomplished
by replacing certain letters with visually similar letters (in fact,
indistinguishable in some sans-serif fonts), e.g. replacing lowercase
'l' with capital 'I'

This commit replaces capital 'I', lowercase 'l', digit '1', lowercase
'o', uppercase 'O', and digit '0' with '_' and changes the matching for
isUsernameTaken() to a LIKE query.  Since '_' is a single character
wildcard, this causes the database to treat a username with one of these
simple replacements as already registered.
2015-06-19 16:44:25 -04:00
calzoneman b579db5310 Change login sessions 2015-02-20 18:53:02 -06:00
calzoneman 139825168f Fix for private, but embeddable soundcloud tracks 2015-01-11 12:10:09 -06:00
Calvin Montgomery c39c394f36 Add auto DB conversion for utf8mb4 2014-12-14 21:53:25 -05:00
Calvin Montgomery 9deff9bdb1 Change charset for certain fields to utf8mb4
The underlying cause of #419 is the default utf8 collation in MySQL/MariaDB, which only supports the base plane of Unicode (\u0000-\uffff).  By changing the collation to utf8mb4_general_ci, stuff like ban reasons and profile text may have emoji and other non-base-plane Unicode.

The charset for playlist titles is NOT changed, and non-base-plane characters are replaced by question marks.  This is because switching to utf8mb4 would make the primary key too long.
2014-12-14 21:53:25 -05:00
Calvin Montgomery 4b8681c2a4 Don't break if the profile is corrupt 2014-12-14 21:53:25 -05:00
Calvin Montgomery b7edfc31f9 Fix for google docs changing their video player: 2014-08-06 20:12:57 -07:00
Calvin Montgomery 937ad04967 Change meta format so it persists in DB and on disk 2014-07-11 20:42:13 -07:00
Calvin Montgomery f44c9ce51b Fix updater 2014-06-24 20:28:04 -07:00
Calvin Montgomery 36c4e41131 Add console command for deleting old channel tables 2014-06-23 22:15:57 -07:00
Calvin Montgomery c768d9595c Merge ban tables, fix channel create/delete operations 2014-06-23 22:10:15 -07:00
Calvin Montgomery 4afd69b2fb Merge channel ranks tables 2014-06-23 21:40:40 -07:00
Calvin Montgomery 0abaaba690 Merge channel libraries into a single table 2014-06-23 21:09:18 -07:00
Erik 6f737349db uncomment 2014-06-11 12:45:55 -04:00
Calvin Montgomery b71d3610f2 Fix #374 2014-06-11 08:56:06 -07:00
Calvin Montgomery 6adba2f355 Don't run the database updater if the version is higher than current 2014-06-07 10:46:44 -07:00
Calvin Montgomery 1d1630fb50 Implement raw file queues 2014-06-03 21:21:00 -07:00
Calvin Montgomery ac7f0ac47a Add update function to add meta column 2014-06-02 20:47:21 -07:00
Calvin Montgomery 9ea48f58cf Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
calzoneman b82b5289f1 Fix isIPBanned 2014-03-25 17:22:48 -05:00
calzoneman db5b407635 Fix IP Bans 2014-03-02 22:00:24 -06:00
calzoneman 3da717adb9 Fixes 2014-02-28 00:09:20 -06:00
Calvin Montgomery 99e7a521ef Tweaks 2014-02-26 14:37:51 -06:00
calzoneman 54102863ac Fix random playlist death bug 2014-02-16 13:12:49 -06:00
calzoneman 55b6e99896 Limit user registrations 2014-02-09 19:52:24 -06:00
calzoneman 3bebc34e21 Redo channel logs 2014-02-08 12:45:07 -06:00
calzoneman 87b40b679a Refactor database tables init; make 2.x import script 2014-02-08 00:55:45 -06:00
calzoneman 0998e89f5d Add channels ACP interface 2014-02-05 17:44:37 -06:00
calzoneman 1864cc0b35 Change the way unregistered channels work 2014-02-02 15:50:05 -06:00
calzoneman 2c6edb38b8 Persist announcements in the database 2014-02-01 12:41:06 -06:00
calzoneman 6570c3da6c Fix a buttload of things 2014-01-26 00:01:36 -06:00
calzoneman e33c6c7860 Fix register 2014-01-25 16:59:25 -06:00
calzoneman 637ece4044 Work on banlist 2014-01-11 23:55:52 -06:00
calzoneman 8554c38c7d Finish channel ranks / moderator list 2014-01-09 17:16:09 -06:00
calzoneman 9306200a87 Work on ban list and channel ranks 2014-01-08 20:12:02 -06:00
calzoneman e27667b6d2 Fix channel registration rank from /account/channels 2013-12-26 23:53:43 -05:00
calzoneman ead38a9d35 Work on account channels interface; Start work on /account/profile 2013-12-26 23:38:35 -05:00
calzoneman 6ac64a6cf3 Fix a few things 2013-12-26 10:17:33 -05:00
calzoneman 47af1d4892 More database refactoring 2013-12-13 20:39:21 -06:00
calzoneman fe00fb8c83 Refuctor channel related db functions 2013-12-13 18:52:13 -06:00
calzoneman db5dcf86f7 Start refactoring database channels 2013-12-13 11:18:50 -06:00
calzoneman cfd1b0618d Do a bit of intermediate database work 2013-12-12 16:28:30 -06:00
calzoneman 8d2587cebd Implement get/setProfile 2013-12-12 14:27:18 -06:00
calzoneman a821498298 Begin the long process of refactoring the database 2013-12-11 22:20:21 -06:00