Commit Graph

  • 7b68d8ebfd use new-style constructors everywhere Shish 2014-03-22 09:00:59 +00:00
  • 61764e7f9d Merge pull request #386 from shish/linting Daku 2014-03-18 01:34:52 +00:00
  • da29912646 tidy up a bunch of lint errors Shish 2014-03-17 22:05:37 +00:00
  • 6f0d898c28 Merge pull request #385 from justinbrewer/scrutinizer-config Shish 2014-03-16 09:10:42 +00:00
  • 6ad530fd49 Scrutinizer config file Justin Brewer 2014-03-14 13:10:12 -05:00
  • 76526f371c Add option to use transloaded URL as source fixes #234 Daku 2014-03-14 16:54:14 +00:00
  • 5f3ff8db86 don't add "tagme" when trying to mass-edit to null fixes #233 Daku 2014-03-13 23:29:47 +00:00
  • 208e8de7f0 Merge pull request #382 from DakuTree/patch Shish 2014-03-08 15:33:58 +00:00
  • 4351dc53c5 make sure all existing exts are converted to lowercase Daku 2014-03-08 15:27:39 +00:00
  • 258fda188e use different selector rather than hardcoding url Daku 2014-03-08 15:20:50 +00:00
  • cf7f79194e Merge branch 'master' into develop Shish 2014-03-07 08:28:03 +00:00
  • fa5ad5b77d bump the minimum PHP version, the README was updated but not the version check in the code. Fixes #383 Shish 2014-03-07 08:27:34 +00:00
  • faec25226a 'x ?: y' is a new PHP thing? Shish 2014-03-06 09:14:03 +00:00
  • ddb6d32e29 fix fourm errors under postgresql Daku 2014-03-02 21:59:19 +00:00
  • 87065d08f6 use elseif Daku 2014-03-02 21:58:45 +00:00
  • 524ead8344 PostgreSQL doesn't return trimmed results for CHAR columns, so use VARCHAR instead Daku 2014-03-02 21:07:25 +00:00
  • a863072bfb DATETIME > SCORE_DATETIME fixes #354 Daku 2014-03-02 18:50:46 +00:00
  • 53a7e23b64 various autocomplete tweaks * made limit for /api/internal/tag_list/complete optional (as this breaks the autocomplete on dbs with lots of tags) * removed delay + minChars = 1 again (due to above change) * first autocomplete tag is selected by default * tab now works as a select button * autocompleted tags will now be followed by a space (so the next tag can be instantly autocompleted) Daku 2014-02-28 02:03:41 +00:00
  • e78ddc69f3 fix strict standard errors Daku 2014-02-25 21:51:52 +00:00
  • 34e90c1cfc updated date/links in footer Daku 2014-02-25 17:40:07 +00:00
  • 63a71c239c Merge pull request #381 from jgen/master Shish 2014-02-25 00:17:02 +00:00
  • df29537e74 use default minchars again the tag list only returns a max of 10 results, and is only called once per autocomplete, making it harder to autocomplete longer tags Daku 2014-02-24 20:07:05 +00:00
  • d675827173 order[=|:]random_#### metatag possible replacement for random_list ext? Daku 2014-02-24 19:54:15 +00:00
  • 320a92289b have query use EXISTS rather than IN preferably we would have a table with image tag counts, but this works for now Daku 2014-02-24 01:50:31 +00:00
  • 790cb0d7a9 [.+]tags metatag for tag_categories This is nowhere as near as fast as I'd like. Need to find a better query. Daku 2014-01-16 08:31:34 +00:00
  • 58c5746e9b speed: use isset rather than identical Daku 2014-02-23 22:32:15 +00:00
  • bdb3255116 speed: lowercase ext on image insert avoids having to lowercase every build_thumb_html call most extensions tend to match against their lowercase versions anyway Daku 2014-02-23 22:27:52 +00:00
  • cebc197fba Merge branch 'develop' of git://github.com/shish/shimmie2 jgen 2014-02-23 03:11:09 -05:00
  • 55603a0acb Yay, the Travis tests are working now! Let's increase the number of PHP versions to test with. jgen 2014-02-23 03:07:19 -05:00
  • 6f59de4d45 Prevent an internal server error occurring when mincount is less than 1. jgen 2014-02-23 02:51:33 -05:00
  • 2b4ffb1e60 Argh. jgen 2014-02-23 02:18:45 -05:00
  • 38b494125c Postgres requires you to include the GROUP BY column in the SELECT columns. Should be okay since we don't care about other columns though. jgen 2014-02-23 02:15:19 -05:00
  • e2fa6d316e Realpath isn't used anymore. jgen 2014-02-22 23:36:08 -05:00
  • cf35bf82a8 Postgres doesn't support the DATETIME field. jgen 2014-02-22 23:30:58 -05:00
  • e30520a5ef Fixing typo. jgen 2014-02-22 23:23:23 -05:00
  • 9892d1f7fd PostgreSQL does not support INDEX() inside the CREATE TABLE method. You must create the index as a separate query. Fortunately MySQL also support this way of doing things as well. jgen 2014-02-22 23:02:11 -05:00
  • 5effee4812 Remove these indexes as we are creating them manually. jgen 2014-02-22 22:13:26 -05:00
  • 72ea1acf1d Forgot to remove the comma jgen 2014-02-22 22:06:33 -05:00
  • 1c6b306ac6 Fixing the installer to work with Postgres. jgen 2014-02-22 22:04:14 -05:00
  • 668de39626 Remove the debugging. jgen 2014-02-22 19:45:53 -05:00
  • 6da5f27447 Make sure we install the php5 postgres drivers. jgen 2014-02-22 19:44:50 -05:00
  • 8bbaf85114 Need to figure out why the Post data differs from what is specified on the command line. jgen 2014-02-22 19:10:18 -05:00
  • aca6caa91a More debugging. jgen 2014-02-22 18:52:23 -05:00
  • 13e844a2f7 Output the DSN. jgen 2014-02-22 18:32:42 -05:00
  • c5b265b177 No need to drop the database as the VM is reset every time. jgen 2014-02-22 16:42:12 -05:00
  • 532557bdc8 Output the DATABASE_DSN when a PDO exception occurs during install. jgen 2014-02-22 16:37:55 -05:00
  • ce21fcd17c Enable logging of all PostgreSQL queries. jgen 2014-02-22 16:32:14 -05:00
  • 8ade958dd1 Working on getting PostgreSQL to work on Travis. jgen 2014-02-22 16:04:04 -05:00
  • affb44c153 Enable TravisCI for Postgres. jgen 2014-02-22 15:51:17 -05:00
  • 7eb2bd9112 Trimming trailing blank space. jgen 2014-02-22 15:42:09 -05:00
  • 3d1217a1be Trim trailing blank space. jgen 2014-02-22 15:36:52 -05:00
  • 96358f0bc0 Nevermind, it doesn't work. jgen 2014-02-22 15:33:55 -05:00
  • 2d0edde2b2 We can check that admin users see the "Add" button though. jgen 2014-02-22 15:25:25 -05:00
  • d6f0213a9f Commenting out the alias tests due to consistent failing on TravisCI. jgen 2014-02-22 15:19:06 -05:00
  • 6efe56eddf Well, lets try this. jgen 2014-02-22 03:10:59 -05:00
  • b229e114c2 Dump all the post data on failure. jgen 2014-02-22 03:06:09 -05:00
  • f1aed15f32 die doesn't support commas jgen 2014-02-22 02:59:17 -05:00
  • cbfc0580f6 Temporary for debugging. jgen 2014-02-22 02:35:56 -05:00
  • e6057c656f Re-order the events to ensure InitExtEvent() is fired off both with and without users. jgen 2014-02-22 01:22:14 -05:00
  • ba0aef4f30 The Database class should really throw an error here. This will likely break the existing tests. jgen 2014-02-22 00:40:14 -05:00
  • 74639cd6b2 Missing bracket. jgen 2014-02-21 20:49:17 -05:00
  • 43f59cc4c0 Fix un-necessary PHP Notices being generated in the error log files. jgen 2014-02-21 20:36:19 -05:00
  • e0bf45788e Dump all the mysql related log files. jgen 2014-02-21 20:04:12 -05:00
  • bdc89814a3 Changed due to the default log location for MySQL on Ubuntu. jgen 2014-02-21 16:35:49 -05:00
  • 3fd0142d00 This command line option doesn't work. jgen 2014-02-21 15:37:33 -05:00
  • 4b36ae2936 Enable logging of all MySQL queries for debugging. jgen 2014-02-21 14:26:44 -05:00
  • bbfba90ad4 Merge pull request #380 from DakuTree/patch-3 jgen 2014-02-21 13:40:52 -05:00
  • f4f94e6273 Merge pull request #379 from DakuTree/patch-2 jgen 2014-02-21 13:40:15 -05:00
  • e8cba99111 Merge pull request #378 from DakuTree/patch jgen 2014-02-21 13:32:33 -05:00
  • 9255c861f7 Cleaning up. jgen 2014-02-19 20:50:00 -05:00
  • 0dd9c19bca Need to escape the dollar signs to prevent BASH from thinking they are vars. jgen 2014-02-19 18:49:56 -05:00
  • bbaa9fc6f1 Change the nginx config. jgen 2014-02-19 18:45:28 -05:00
  • f3c379b8db Rename the file. jgen 2014-02-19 18:36:38 -05:00
  • dd18377f93 First remove the quotes, then the whitespace, then the trailing slash. jgen 2014-02-19 18:26:01 -05:00
  • 4e0d7d14ae Forgot the brackets. jgen 2014-02-19 18:19:56 -05:00
  • eea4d34978 We can actually push the trim functions to when we create the define, less overhead. jgen 2014-02-19 18:17:26 -05:00
  • 141be8768f Better detection of running on the command line. jgen 2014-02-19 18:10:40 -05:00
  • 5a49bb59e4 Check that regular users can't add aliases. jgen 2014-02-19 17:03:35 -05:00
  • 1a7cbc9b2a Check the actual http response code. jgen 2014-02-19 16:40:28 -05:00
  • f1a516ef18 Extra debugging when Alias fails. jgen 2014-02-19 16:24:47 -05:00
  • 7d90c20297 Cleaning up. jgen 2014-02-19 16:16:01 -05:00
  • bdbb280064 Fixing the alias test cases. jgen 2014-02-19 04:27:29 -05:00
  • 61bf9b9b3e Put the database into auto commit mode. jgen 2014-02-19 04:19:17 -05:00
  • 55f07d0cfd Fix the tag_edit tests. jgen 2014-02-19 04:15:00 -05:00
  • a717f5a0bd Remove the auto-run. jgen 2014-02-19 03:42:18 -05:00
  • 8b0ac0e9c1 The location of the webserver should be configurable in the travis file. jgen 2014-02-19 03:29:12 -05:00
  • cb135d4763 Fix the Notice being generated. jgen 2014-02-19 03:11:46 -05:00
  • a90f5bed8e This would be a good idea. jgen 2014-02-19 02:50:10 -05:00
  • 5b9107339a Let's just do it directly. jgen 2014-02-19 02:39:13 -05:00
  • b570ef1573 Forgot a bracket. jgen 2014-02-19 02:17:23 -05:00
  • 2ca74a3b33 Expose methods to allow users of the database class to control when transactions occur. jgen 2014-02-19 02:12:56 -05:00
  • 6bc9315955 Need to commit the new users to the database. jgen 2014-02-19 01:32:51 -05:00
  • 0013ef923e We don't want to auto run these tests as we need to load and setup things first. jgen 2014-02-19 01:24:53 -05:00
  • fe6b83412f use jQuery instead of JS + change spacing to tabs this should fix IE/browser problems (see: #349) Daku 2014-02-19 06:23:08 +00:00
  • 5df6c09da6 reset_image_ids should properly change id for all possible tables Daku 2014-02-19 05:48:20 +00:00
  • a5907c5a79 Cleaning up a bit. jgen 2014-02-19 00:40:16 -05:00
  • b4819e4b33 We need to create these users before running the tests. jgen 2014-02-19 00:00:18 -05:00
  • 57b9d418c9 No idea how that got there. jgen 2014-02-18 23:26:42 -05:00
  • 156b178b35 Let try multiple script lines. jgen 2014-02-18 23:18:59 -05:00
  • e7918cc372 Re-work travis config file. jgen 2014-02-18 23:02:10 -05:00