Commit Graph

324 Commits

Author SHA1 Message Date
Sam
381c42724f comments 2013-05-07 14:50:02 +10:00
Sam
066c2bed42 better comments 2013-05-07 14:46:46 +10:00
Sam
e9fc272db7 remove acts_as_paranoid, use .trash! , .recover! and .with_deleted as needed
makes upgrading to rails 4 possible
2013-05-07 14:39:01 +10:00
Sam
b0945599b7 enter will either run all specs or tell you which failed 2013-05-06 15:16:53 +10:00
Sam
be1ab8b275 automatic group infrustructure 2013-05-06 14:49:56 +10:00
Sam
d4a0d4f5dd Merge pull request #814 from ZogStriP/keep-reloaders-happy
prevent warning message about already defined constants
2013-05-05 17:52:22 -07:00
Sam
caa3cae535 remove pointless to_sym 2013-05-06 09:51:09 +10:00
Michael Witrant
6018c2f98b use symbols in redis proxy methods 2013-05-05 15:58:37 +02:00
Michael Witrant
2031b69e6e use method name instead of __method__ (which is wrong in this situation on Debian Squeeze Ruby 1.9) 2013-05-05 13:34:54 +02:00
Régis Hanol
bda04664b0 prevent warning message about already defined constants 2013-05-04 01:06:05 +02:00
Neil Lalonde
74a238b7e9 Version bump to v0.8.9 2013-05-03 16:42:29 -04:00
Sam
3eab0be4a8 deleting posts as an admin was bust 2013-05-03 17:56:23 +10:00
Sam
5ec52bd2e9 :s/moderator?/staff/g ... our naming was kind of crazy, renamed moderator? to staff 2013-05-02 17:22:27 +10:00
Sam
65cd00cf25 moderators now have teeth, more at http://meta.discourse.org/t/moderator-permission-set/6307/5
allow pms to be targetted at groups
2013-05-02 15:15:53 +10:00
David Celis
6be26f5316 Update to Imgur API v3
Version 2 of Imgur's API is deprecated. Their documentation for v2 is no
longer online, and applications can only be registered under version 3.
Version 3 of their API has a slightly different endpoint but, more
importantly, uses a Client ID/Secret pair instead of an API Key.

This PR updates Discourse to use the new version of Imgur's API.

Signed-off-by: David Celis <me@davidcel.is>
2013-05-01 21:39:10 -07:00
Neil Lalonde
5f4dbd6ddc Use tos_url site setting in flag modal if it's set 2013-05-01 11:49:18 -04:00
Sam
e4a76812a6 this is a slightly round about way of making our self oneboxes sane
shrunk avatar to 60px, added global whitelisting
2013-05-01 16:38:13 +10:00
Sam
fc07fcbd9d oops 2013-05-01 10:34:22 +10:00
Sam
8b419794f9 added option to force polling instead of messing with the detection 2013-05-01 10:29:39 +10:00
Sam
2c4bd484af vagrant detection attempt 2013-05-01 10:04:47 +10:00
Neil Lalonde
ea5d86a533 Remove imdb onebox for legal reasons 2013-04-30 11:59:22 -04:00
Sam
acc4f73ba0 very subtle, autospec was not using inotify if guard was already running 2013-04-30 22:54:52 +10:00
Sam
b25a5a20bb option to strip links from excerpts 2013-04-30 13:25:55 +10:00
Sam Saffron
94a578e4b2 ignore assets
fix runner so it works on mac
get rid of some test warnings
2013-04-30 12:43:59 +10:00
Neil Lalonde
6e48f5afbe Version bump to v0.8.8 2013-04-29 17:55:27 -04:00
Neil Lalonde
ba93220e2a Merge pull request #788 from PabloC/master
Fix to add Slideshare's URL to oneboxer's whitelist
2013-04-29 11:24:03 -07:00
Pablo Corral
d27164f045 fix to add slideshare to the whitelist 2013-04-29 19:42:52 +02:00
Neil Lalonde
eb151d440b Don't call discourse hub during user destroy if hub integration is disabled 2013-04-29 11:39:05 -04:00
Pablo Corral
2ff244a7ca new oneboxer for Slideshare 2013-04-29 15:31:29 +02:00
Sam
5cfcdc7ef0 backend for secure categories mostly done (todo pm groups) 2013-04-29 16:33:43 +10:00
Ryan Boland
9bc8faeaf2 added rottentomatoes.com onebox 2013-04-28 16:24:03 -04:00
Sam
a6d2c9db03 Merge pull request #776 from jroes/use-oj
Use oj for json encoding
2013-04-28 00:42:10 -07:00
Jon Roes
abfcb93904 use oj for json encoding 2013-04-26 21:45:53 -04:00
Sam
b82e408351 add list unsubscribe 2013-04-26 16:56:28 +10:00
Sam
7d9fd350d3 dup is critical cause people are mucking with stuff that comes out of the cache 2013-04-26 16:18:55 +10:00
Sam
5ccc3edcbe bug fixes with test runner 2013-04-26 16:18:54 +10:00
Sam
eb085beea8 attempt to fix the UTF-8 warn in the log, turns out this runs really deep, when you hit deliver in test it clones the mail not setting charset properly, leaving as is for today but fixing prod at least 2013-04-26 16:18:54 +10:00
Sam
9cf03b352c fix rspec runner for neil 2013-04-26 16:18:54 +10:00
Neil Lalonde
e864e4141d Fix topic_count in version check request 2013-04-25 17:19:06 -04:00
Sam
7abdd61354 truncate gist titles at 120 2013-04-25 18:00:02 +10:00
Sam
ef875bba12 a spec that works like the fsm intended 2013-04-25 17:24:54 +10:00
Neil Lalonde
2310851ad2 Send topic_count with version check requests 2013-04-24 14:13:20 -04:00
Neil Lalonde
e6ad51adce Send contact_email along with version check 2013-04-24 12:55:01 -04:00
Sam
27edebfaef This patch probably belongs in AR discussing with rails team 2013-04-24 14:40:55 +10:00
Sam
737bb96737 translation accelerator 2013-04-24 14:40:09 +10:00
Sam
c9ed7100b1 bug fix 2013-04-24 12:26:39 +10:00
Sam
0b76166ad1 inflector backport 2013-04-24 12:02:36 +10:00
Neil Lalonde
631ed3df58 Checking size of some gifs throws a Zlib::BufError. Tolerate it until we can figure out why. 2013-04-23 14:08:05 -04:00
Neil Lalonde
2e8e4b7c6e Don't send an email for a topic that has been deleted 2013-04-23 13:10:11 -04:00
Neil Lalonde
439877bdb9 Show a warning if there are email jobs in the retry queue 2013-04-22 13:37:16 -04:00