Commit Graph

14294 Commits

Author SHA1 Message Date
Gerhard Schlager 19dce439f2 increase required Postgres version to 9.2 2015-04-27 16:49:12 +02:00
Jeff Atwood 44e5179743 increase required Postgres version to 9.2 2015-04-26 23:06:41 -07:00
Arthur Neves 8f0fb511c3
Fix warnings for rspec 3 2015-04-25 21:02:06 -04:00
Régis Hanol 10270593a4 FIX: remove links in poll email notification 2015-04-26 00:37:27 +02:00
Arthur Neves f84541b1ba
Update rspec to rspec 3.2.0 2015-04-25 18:29:43 -04:00
Régis Hanol 8dc8aaaeb0 fix build 2015-04-26 00:22:29 +02:00
Régis Hanol 151dea4088 FIX: editing a poll/post with a poll wasn't working properly 2015-04-26 00:12:19 +02:00
Arthur Neves e0ea68b9ca
Fix tests on site_setting for new rspec 2015-04-25 11:33:26 -04:00
Arthur Neves b8cbe51026
Convert specs to RSpec 2.99.2 syntax with Transpec
This conversion is done by Transpec 3.1.0 with the following command:
    transpec

* 424 conversions
    from: obj.should
      to: expect(obj).to

* 325 conversions
    from: == expected
      to: eq(expected)

* 38 conversions
    from: obj.should_not
      to: expect(obj).not_to

* 15 conversions
    from: =~ /pattern/
      to: match(/pattern/)

* 9 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

* 5 conversions
    from: lambda { }.should_not
      to: expect { }.not_to

* 4 conversions
    from: lambda { }.should
      to: expect { }.to

* 2 conversions
    from: -> { }.should
      to: expect { }.to

* 2 conversions
    from: -> { }.should_not
      to: expect { }.not_to

* 1 conversion
    from: === expected
      to: be === expected

* 1 conversion
    from: =~ [1, 2]
      to: match_array([1, 2])

For more details: https://github.com/yujinakayama/transpec#supported-conversions
2015-04-25 11:18:35 -04:00
Régis Hanol 84c65aeb60 Merge pull request #3401 from duduribeiro/fix_typo_on_vagrant_doc
Fix a typo on Discourse Vagrant documentation
2015-04-25 15:48:25 +02:00
Jeff Atwood 04b064cbde add mention of HTML to reply placeholder 2015-04-25 02:48:08 -07:00
Jeff Atwood 6233770e3a period at bottom of topic msg was dangling 2015-04-25 01:40:55 -07:00
Jeff Atwood 7c98b16bfd increase required Postgres version to 9.2 2015-04-25 01:16:18 -07:00
Jeff Atwood 7d5b5533c4 smaller popular post top margins in digest 2015-04-25 00:54:22 -07:00
Carlos Ribeiro 9d20cea668 Fix a typo on Discourse Vagrant documentation 2015-04-24 19:11:51 -03:00
Arthur Neves a9b2483277
Bump rails-observers to master version.
876c522184
Has the patched applied on SamSaffron/rails-observers.
2015-04-24 16:38:48 -04:00
Arthur Neves 94678f977a
Update travis config file
A few things in here:
- Test on ruby 2.2
- Allow failures in all variants of RAILS_MASTER test
- Use db:create task
2015-04-24 16:28:27 -04:00
Godfrey Chan 5386b29b26
AMS 0.8.3 was released with the patch we want 2015-04-24 16:07:23 -04:00
Robin Ward 151b559e4c FIX: If you delete a user, delete their queued posts as well. 2015-04-24 16:04:44 -04:00
Robin Ward 15dbce5886 Show pending posts count in modal when your posts are enqueued 2015-04-24 15:44:59 -04:00
Arthur Neves e6655e7d7e
Bump rails to latest patch 4.1 release. (4.1.10)
We should be using the latest patch release of the current supported
version.
Also this adds a more explicit version of rails on the Gemfile. This is
will help to test on rails 4.2 and master.
2015-04-24 15:36:46 -04:00
Robin Ward 3660fe4f60 FIX: When approving/rejecting a post it should delete the user action 2015-04-24 15:25:47 -04:00
Robin Ward 3a6efa25f0 Allow ReadOnly to propogate up to the Ember app via Response Header 2015-04-24 14:37:16 -04:00
Robin Ward 5b3f99aa50 Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
Régis Hanol 8129cce104 FIX: clicking "show results" wasn't working after casting a vote 2015-04-24 17:24:13 +02:00
Robin Ward eff921d1ec FIX: Turn that frown upside down! 2015-04-24 11:14:06 -04:00
Robin Ward 2562b61448 `normalize_name` is a better name for this. 2015-04-24 10:35:18 -04:00
Régis Hanol a5804d7040 FIX: reduce 'download_remote_images_threshold' default value to 10 2015-04-24 12:07:01 +02:00
Régis Hanol be5a76fbc8 Merge pull request #3394 from scossar/fix-height-on-onebox-image
Fix: size on onebox-avatar
2015-04-24 11:18:26 +02:00
Régis Hanol 80b2935e11 FIX: prevent DOS when fixing avatar in quotes 2015-04-24 11:14:10 +02:00
Jeff Atwood a6ea9bd05c Merge pull request #3395 from riking/patch-1
FIX: Whoops, DiscourseLocalOnebox became DiscourseGlobalOnebox
2015-04-24 01:11:13 -07:00
riking 1412687112 FIX: Whoops, DiscourseLocalOnebox became DiscourseGlobalOnebox 2015-04-24 01:09:38 -07:00
Simon Cossar def9740d5d Fix size on onebox-avatar 2015-04-23 20:42:27 -07:00
riking 21b915f209 Suggested changes 2015-04-23 18:39:48 -07:00
Sam Saffron 923c164d54 workaround: pg app installs a poorly encoded db, so skip CI will catch 2015-04-24 07:23:02 +10:00
Neil Lalonde ae028a5bb1 FIX: support for redirects to external url in permalinks table was broken 2015-04-23 16:45:28 -04:00
Robin Ward e17ea2e787 UX: Show a dash if a version string is missing 2015-04-23 14:50:37 -04:00
Régis Hanol 8bda53a8cd FIX: compatibility issue with akismet plugin 2015-04-23 20:02:16 +02:00
Régis Hanol 7085c7db12 make jshint happy 2015-04-23 19:52:37 +02:00
Régis Hanol a737090442 - FEATURE: revamped poll plugin
- add User.staff scope
- inject MessageBus into Ember views (so it can be used by the poll plugin)
- REFACTOR: use more accurate is_first_post? method instead of post_number == 1
- FEATURE: add support for JSON-typed custom fields
- FEATURE: allow plugins to add validation
- FEATURE: add post_custom_fields to PostSerializer
- FEATURE: allow plugins to whitelist post_custom_fields
- FIX: don't bump when post did not save successfully
- FEATURE: polls are supported in any post
- FEATURE: allow for multiple polls in the same post
- FEATURE: multiple choice polls
- FEATURE: rating polls
- FEATURE: new dialect allowing users to preview polls in the composer
2015-04-23 19:33:29 +02:00
Robin Ward 17dc8b8e4f New Vagrant VM and updated instructions. 2015-04-23 12:54:13 -04:00
Robin Ward 9bce812c8f Merge pull request #3388 from Mooash/Adding_ViewActions
Adding ViewAction into email notifications
2015-04-23 10:18:57 -04:00
Robin Ward 802ed642f7 Merge pull request #3393 from techAPJ/patch-2
FIX: validate integer site setting
2015-04-23 10:17:35 -04:00
Arpit Jalan 2ee033caa5 FIX: validate integer site setting 2015-04-23 18:15:14 +05:30
Régis Hanol fcbfbf2fb3 Merge pull request #3392 from Elberet/patch-1
phpBB importer: fix greedy smiley regex
2015-04-23 12:59:31 +02:00
Jens Maier 6dc7cafe00 phpBB importer: fix greedy smiley regex 2015-04-23 12:03:21 +02:00
Régis Hanol 4ca5fe69cc Merge pull request #3391 from wjordan/topic_embed_fix
Fix `NoMethodError` in TopicEmbed#find_remote
2015-04-23 10:53:52 +02:00
Will Jordan bbfa5c7df1 Fix `NoMethodError` in TopicEmbed#find_remote
Stop TopicEmbed#find_remote from generating `NoMethodError: undefined method `empty?' for nil:NilClass` exceptions
2015-04-22 16:52:02 -07:00
Mooash b65313d3b9 Adding ViewAction into email notifications
See: https://meta.discourse.org/t/integrate-viewactions-one-click-actions-schemas-into-discourse-emails/27056
2015-04-23 08:40:22 +10:00
Robin Ward 388f51eed7 FIX: Bring email username logic in line with front end 2015-04-22 16:26:57 -04:00