Commit Graph

  • 478eb3a4cc Linting: Check for null return value, and throw an exception if null. jgen 2014-04-25 15:39:00 -04:00
  • 7ef68b15f9 Fix indentation. jgen 2014-04-25 15:38:15 -04:00
  • 6724f2b75a Make these functions public to prevent scrutinizer from complaining. jgen 2014-04-25 14:17:44 -04:00
  • dcadfc395a Move this code back down. jgen 2014-04-25 14:14:22 -04:00
  • a7faefc5e0 Spelling. jgen 2014-04-24 22:35:01 -04:00
  • b241390fa4 Removing the closing PHP "?>" tag as per style guidelines. jgen 2014-04-24 22:34:45 -04:00
  • 50686ac61e More linting, fix PHPDoc style. jgen 2014-04-24 22:29:29 -04:00
  • daee99c1bc Removing the closing PHP "?>" tag as per style guidelines. jgen 2014-04-24 22:28:53 -04:00
  • 860af25550 Need to pull in the global $user variable. jgen 2014-04-24 22:22:45 -04:00
  • 4ec5a7ce52 Removing the closing PHP "?>" tag as per style guidelines. jgen 2014-04-24 22:22:16 -04:00
  • 780d5f8709 More linting. Explicitly declare these class variables, as well as comment out dead code. jgen 2014-04-24 22:13:00 -04:00
  • 6e4ae229ef Explicitly declare this class variable jgen 2014-04-24 19:13:41 -04:00
  • b3077d5bcd Removing the closing PHP "?>" tag as per style guidelines. jgen 2014-04-24 19:13:20 -04:00
  • 2706f72ce4 Update and fix the PHPDoc comments. jgen 2014-04-24 19:08:23 -04:00
  • 4cc31df737 Update the comments to PHPDoc style guidelines. jgen 2014-04-24 19:02:43 -04:00
  • ab3f9850e4 Removing the closing PHP "?>" tag as per style guidelines. jgen 2014-04-24 19:01:47 -04:00
  • 286e75bef0 Scrutinizer complains that these functions aren't defined, yet they really are. jgen 2014-04-24 18:45:54 -04:00
  • 709366b70c Explicitly declare these class variables. jgen 2014-04-24 18:44:46 -04:00
  • 7b90331f02 Add missing semi-colon. jgen 2014-04-24 16:56:04 -04:00
  • 993aacaea5 Update comment to reflect that a bug has been filed with PHP-analyzer. jgen 2014-04-24 16:55:34 -04:00
  • c4dcba1e91 Explicitly check for the existence of these properties before attempting to use them. jgen 2014-04-24 05:37:26 -04:00
  • 7e41194b7f Shish you are too clever for scrutinizer-ci. jgen 2014-04-24 05:29:02 -04:00
  • ce524e8729 This variable does exist, it is actually pulled from the database. Making it explicit for the linter. jgen 2014-04-24 05:25:12 -04:00
  • e2f5c7a6ec Check for null, just in case. jgen 2014-04-24 05:09:38 -04:00
  • 0501e05cff Comment out dead code/vars. jgen 2014-04-24 05:09:16 -04:00
  • 332c8538b7 Change the function syntax to quiet JSHint. jgen 2014-04-24 04:46:23 -04:00
  • 868f8c9225 Commenting out dead variables and dead code. jgen 2014-04-24 04:44:28 -04:00
  • f9c8a1720e Comment out dead variables. jgen 2014-04-24 04:41:13 -04:00
  • f67220f64b From stack-overflow: The 'var' keyword is for declaring class variables in PHP4. It works in PHP5 but can raise an E_STRICT warning in from version 5.0.0 up to version 5.1.2, as it has been deprecated. Changing to public as that is really what these variables are anyways. jgen 2014-04-24 04:36:05 -04:00
  • 67c087c30f From stack-overflow: The 'var' keyword is for declaring class variables in PHP4. It works in PHP5 but can raise an E_STRICT warning in from version 5.0.0 up to version 5.1.2, as it has been deprecated. Changing to public as that is really what these variables are anyways. jgen 2014-04-24 04:30:58 -04:00
  • dbe30ad37d Rename variable to make it more clear. jgen 2014-04-24 01:36:30 -04:00
  • afc01fda5f Prevent scrutinizer-ci from complaining about these fall-thoughs. jgen 2014-04-24 01:36:04 -04:00
  • 506e699f8a Not sure if we really need the triple equals. jgen 2014-04-24 01:15:30 -04:00
  • 866d39a68e The 'tags' box actually has a different ID. jgen 2014-04-24 01:15:03 -04:00
  • 51c145d5c9 Some more linting on the bookmarklet.js file. jgen 2014-04-24 01:08:47 -04:00
  • 4b90faf89d Even more linting of JS files. jgen 2014-04-24 00:55:14 -04:00
  • a105090039 Some more JS linting. jgen 2014-04-23 23:39:09 -04:00
  • 887f963e17 Add the jshint comment to alter how scrutinzer-ci deals with the js. jgen 2014-04-23 23:38:53 -04:00
  • 31501e48fe More JS linting. jgen 2014-04-23 23:31:20 -04:00
  • 2dc6e054c8 These sorts are necessary on the header arrays, otherwise the relative priority of certain headers is not respected. jgen 2014-04-23 23:28:05 -04:00
  • b775c007cd Give these HTML headers some slight priority over the default value of 50. jgen 2014-04-23 23:07:10 -04:00
  • a0ab3864c0 Push the headers for the chatbox even further down to make sure that jQuery is already loaded. jgen 2014-04-23 23:01:51 -04:00
  • 8cdf919827 More linting. This time of the JavaScript for the chat-box extension. jgen 2014-04-23 22:43:42 -04:00
  • 0bd031a269 Merge branch 'develop' of github.com:jgen/shimmie2 into linting jgen 2014-04-23 22:42:30 -04:00
  • 5eaa637bbb Merge branch 'develop' of git://github.com/shish/shimmie2 into develop jgen 2014-04-23 22:23:53 -04:00
  • 44d0e56c97 Merge pull request #406 from jgen/video_thumb Shish 2014-04-20 11:25:24 +01:00
  • ef3daaf388 Merge pull request #411 from jgen/develop Shish 2014-04-20 11:21:43 +01:00
  • 21e1359b86 Avoid short open tag for PHP. jgen 2014-04-20 05:07:26 -04:00
  • 60980c8839 One more jQuery reference. jgen 2014-04-20 05:04:45 -04:00
  • a7ba0f887b Again, the chatbox needs help from the jQuery migrate plugin. jgen 2014-04-20 05:00:59 -04:00
  • 2df54b911a Don't use short open tags for PHP as they are not turned on by default in production environments. jgen 2014-04-20 05:00:34 -04:00
  • e2516fa5cf Chatbox should be fixed now. The chatbox extension actually needs some functionality that was removed from jQuery versions 1.9 and up. When Shimmie's version of jQuery was bumped up to 1.11 this actually broke the chatbox. jgen 2014-04-20 04:51:19 -04:00
  • 880840623a Need to ensure that this html header is added last. jgen 2014-04-20 04:36:25 -04:00
  • 717401ccab Removing this as jQuery is already included in Shimmie now. jgen 2014-04-20 04:35:33 -04:00
  • 8b698e1b6f Revert this commit. jgen 2014-04-20 04:29:11 -04:00
  • 54362a49c6 Fix the broken chatbox issue. jgen 2014-04-20 04:25:08 -04:00
  • 57a390eaab Massive linting! jgen 2014-04-19 23:38:42 -04:00
  • ff722906b7 Holy shit, this is really really nasty old JS code. I would love to dump this if possible. jgen 2014-04-19 23:06:48 -04:00
  • dc6653d3be Merge pull request #407 from jgen/hotfix/downtime_theme_edits Shish 2014-04-20 00:30:57 +01:00
  • 75c3d8e453 Merge pull request #409 from jgen/linting Shish 2014-04-20 00:29:53 +01:00
  • e838fc2a03 Comment this in case someone else wonders why its there. jgen 2014-04-19 04:17:58 -04:00
  • c527ae91d6 More linting and cleanup. jgen 2014-04-19 04:17:28 -04:00
  • be385deaab Clean up this js file as well. jgen 2014-04-19 02:58:36 -04:00
  • 28d83fda0d Even more linting and cleaning. jgen 2014-04-19 02:33:34 -04:00
  • 2da8c19a07 More linting! jgen 2014-04-19 01:36:18 -04:00
  • bdf49b33cb Some more linting thanks to scrutinizer-ci jgen 2014-04-19 01:18:49 -04:00
  • 505a3e5233 Merge branch 'develop' of git://github.com/shish/shimmie2 into hotfix/downtime_theme_edits jgen 2014-04-18 20:25:36 -04:00
  • 71d7474476 Add <section> tags to the downtime page so that theme render correctly. jgen 2014-04-18 20:21:50 -04:00
  • 7fd655fc4e Added conditional message for IE users to download plugin from Google for webm. jgen 2014-04-18 18:47:14 -04:00
  • b5d005710c Fix indentation (spaces -> tabs) jgen 2014-04-18 02:10:10 -04:00
  • 2f380f5d59 Video thumbs are working for webm files now. jgen 2014-04-18 02:06:12 -04:00
  • 273d386d22 Working on thumbnail support for video files. jgen 2014-04-18 01:37:27 -04:00
  • b360914db7 Merge pull request #402 from justinbrewer/cloud-patch Shish 2014-04-12 11:08:00 +01:00
  • 98b6d0a6ff Merge pull request #403 from jgen/gitignore Shish 2014-04-12 10:50:27 +01:00
  • 4deb7e1775 Update the gitignore file to exclude operating system detritus and such. jgen 2014-04-12 03:25:18 -04:00
  • f243092634 count("") == 1 Justin Brewer 2014-03-16 21:51:50 -05:00
  • 6c9a4a3b86 A start on video thumbnailing; see #400 Shish 2014-04-10 08:14:17 +01:00
  • 3a0da5df5a Merge pull request #399 from Diftraku/ouroboros_api Jeff Genovy 2014-04-09 22:33:05 -04:00
  • 7ac61f4234 Special chars in tags barf filter_var Diftraku 2014-04-10 04:11:43 +03:00
  • d247713311 Merge pull request #397 from jgen/develop Shish 2014-04-10 00:15:02 +01:00
  • 3c6b8b6fe6 Merge branch 'linting' of git://github.com/shish/shimmie2 into develop jgen 2014-04-09 15:04:18 -04:00
  • f72bfbb050 fix indentation Shish 2014-04-06 20:47:01 +01:00
  • f88ba20319 Merge pull request #393 from shish/resize_tweak Daku 2014-04-04 17:38:08 +01:00
  • 2d25d43ecf Merge pull request #389 from HungryFeline/patch-1 Daku 2014-04-04 17:30:19 +01:00
  • a0d1948a4f pass already fetched image object into resize(), rather than passing the ID to be re-fetched Shish 2014-04-02 08:46:12 +01:00
  • 745f91e939 Merge pull request #392 from jgen/develop Shish 2014-04-02 08:39:11 +01:00
  • 1e49cc9122 More comments and fix undefined variables. jgen 2014-04-01 22:02:36 -04:00
  • 9b1c3db400 Slight re-word of the exception error message. jgen 2014-04-01 21:43:12 -04:00
  • 18b8e7912f Fix warning generated when an image doesn't have bits or channel info (and use sane defaults). jgen 2014-04-01 21:42:40 -04:00
  • 225d197790 Remove duplicate code. jgen 2014-04-01 21:41:57 -04:00
  • 749f846b79 Fix typo. jgen 2014-04-01 20:33:36 -04:00
  • a442fbe409 Resizing images actually was broken, how nobody noticed I don't know. jgen 2014-04-01 19:29:31 -04:00
  • 737f96b8bb Merge remote-tracking branch 'shish/master' jgen 2014-04-01 17:27:08 -04:00
  • c8aa3327a1 A bunch of small changes from scrutinizer-ci; some tidying, some actual bug fixes Shish 2014-03-30 13:26:48 +01:00
  • db5aa56300 remove a bunch of dead code Shish 2014-03-29 11:44:34 +00:00
  • c215d6991a Redirect to default page if referer isn't set HungryFeline 2014-03-27 09:57:43 +01:00
  • 7a95325a5f Merge pull request #388 from DakuTree/patch Shish 2014-03-26 10:41:31 +00:00
  • 7837362711 make sure source is still used if provided Daku 2014-03-26 08:26:21 +00:00
  • 994652c3f7 make sure mass_tag_edit reads high > low id if default order is different Daku 2014-03-26 08:05:05 +00:00
  • 37b21e7fcb Merge pull request #387 from shish/linting Daku 2014-03-26 04:04:47 +00:00