Commit Graph
100 Commits
Author SHA1 Message Date
Sam 4141cfc716 FIX: tags show page was broken 2016-05-02 12:56:02 +10:00
Sam 672d6924ec FIX: malformed <details> should not break email 2016-05-02 12:33:56 +10:00
Sam 3f9ed76dad no need to use discourse event here 2016-05-02 12:01:15 +10:00
Sam a5b0445e02 FIX: never perform searches that bypass validation
we must perform another isValidSearchTerm check when we are about to
perform search cause the call is debounced
2016-05-02 11:53:47 +10:00
Sam d25dc126f7 FIX: Post does not save if it contains a tag link 2016-05-02 11:36:09 +10:00
Sam ad2a3ec5bc FIX: don't log user action if no user exists for topic 2016-05-02 11:14:37 +10:00
Sam 0b6d12f95d FIX: when no notification state exists on topic, mute on unsubscribe 2016-04-25 11:24:52 +10:00
Sam 7ee11b0508 more logging, add referer 2016-04-25 10:48:36 +10:00
Sam fad017d842 FEATURE: add support for bounce emails
We now optionally add a Variable Email Return Path to every email we send.
This allows us to cleanly handle email bounces, which in turn will improve
deliverability.
2016-04-18 17:14:01 +10:00
Sam 9e50f36c50 Merge pull request #4137 from cpradio/add-warning-to-flag
FEATURE: Add warning input to flag dialog when notifying a user
2016-04-15 16:23:22 +10:00
Sam 0119a2f980 FIX: only ever send users 1 email per post
in the past ninja editing a post to add a mention could trigger duplicate
emails to a user (and a few other edge cases)
2016-04-15 15:59:01 +10:00
Sam a1d65ae8f6 UX: show topic title in email logs 2016-04-15 10:38:02 +10:00
Sam 6360c410fe correct linting 2016-04-14 16:30:04 +10:00
Sam 4bc860652b FEATURE: add graph support to admin reports
thanks to graph js, this runs latest beta cause we needed support for
smarter X axis legend
2016-04-14 15:46:01 +10:00
Sam 8ba57c0ffd FIX: restrict moderators from creating/editing topics in readonly categories
In the past moderators had blanket access to all categories they were allowed
to see. This tightens down the restriction.
2016-04-13 15:59:38 +10:00
Sam 6688dce2b8 FIX: discourse local onebox not working correctly in multisite 2016-04-13 12:19:02 +10:00
Sam 8b096b4b99 bump up to 500 max posts in message 2016-04-13 08:43:22 +10:00
Sam eda6084d4b FIX: don't allow concurrently queued once off jobs to do work 2016-04-12 23:08:10 +10:00
Sam 72849e65de FIX: when granting old badges that are bronze, do not notify 2016-04-12 22:08:38 +10:00
Sam 144bf07886 PERF: improve performance of emoji grants 2016-04-12 22:07:55 +10:00
Sam 0113fce420 FEATURE: automatically close topics with 10k+ posts
FEATURE: automatically close messages with 2k+ posts

Both configurable via `auto_close_messages_post_count`
and `auto_close_topics_post_count`
2016-04-12 13:29:48 +10:00
Sam 22b2f5285c FIX: extract links in post processor
when oneboxes are not cached or are refreshed they can introduce new
links, these links must be extracted otherwise you can not follow them
2016-04-12 12:28:18 +10:00
Sam cb6d1632ba FIX: stop suppressing browser search for short closed topics
If a topic is closed (or closed and reopened)
browser search was unconditionally suppressed
2016-04-12 10:48:17 +10:00
Sam 50a44695ec Update site_settings.yml
disable verbose sso logging by default
2016-04-12 07:49:44 +10:00
Sam d6b4b990a6 Merge pull request #4158 from mcwumbly/show-website-path-in-website-name
UX: Show website path in website name for all domains
2016-04-11 14:59:51 +10:00
Sam 030fb71f60 add missing localizations 2016-04-09 10:07:11 +10:00
Sam 44bf69e3a7 FIX: badges were not localizing correctly
Overrides were not working
2016-04-08 17:52:50 +10:00
Sam eafba0c0c0 correct diagnostics method 2016-04-08 12:11:41 +10:00
Sam 19ca08857f FEATURE: verbose SSO logging
By enabling the site setting verbose_sso_logging
you can log information every time a user tries initiates SSO
and during SSO failures
2016-04-08 11:20:01 +10:00
Sam d6ed9848a9 FIX: clicking on post count not showing date range widget 2016-04-07 16:18:32 +10:00
Sam a130cb8305 FEATURE: move more urgent emails notifications to critical queue
Move signup, admin login and password change email notifications
to critical queue
2016-04-07 14:39:01 +10:00
Sam 8ec7fd84fd FEATURE: prioritize sidekiq jobs
This commit introduces 3 queues for sidekiq

"critical" for urgent jobs (weighted at 4x weight)
"default" for standard jobs(weighted at 2x weight)
"low" for less important jobs


"critical jobs"

Reset Password emails has been seperated to its own job
Heartbeat which is required to keep sidekiq running
Test email which needs to return real quick


"low priority jobs"

Notify mailing list
Pull hotlinked images
Update gravatar

"default"

All the rest

Note: for people running sidekiq from command line use

bin/sidekiq -q critical,4 -q default,2 -q low
2016-04-07 12:56:43 +10:00
Sam 4f10b5e940 avoid exception for general case 2016-04-06 13:18:11 +10:00
Sam da419326be FIX: nil and blank string should not override a site setting 2016-04-04 16:36:32 +10:00
Sam bd1ca35f8b FIX: pinned picker in IE11 2016-04-01 05:54:36 +11:00
Sam 5f6601c0de Merge pull request #4115 from sghebuz/mbox-improvements
Mbox importer improvements (attachments and better subject strip)
2016-03-31 13:33:43 +11:00
Sam 9fbfa49a1c Merge pull request #4128 from tomasibarrab/roman_plural
FIX: Romanian pluralization rules using  modules
2016-03-31 09:33:41 +11:00
Sam a344b1ed37 Merge pull request #4126 from iamntz/patch-4
Romanian Plurals
2016-03-31 08:17:00 +11:00
Sam d5b63730bc don't bother with register emoji if dialect is missing 2016-03-30 18:10:14 +11:00
Sam 4d71356e52 FIX: quoting a section inside expanded reply misattributed
1. expand "in reply to"
2. select text
3. quote reply

Was incorrectly attributed to parent post
2016-03-30 17:38:28 +11:00
Sam dbd1370ddb FIX: only hide overflow on cooked content
otherwise topic admin menu clips
and you no longer can position stuff absolutely based off .topic-body
2016-03-30 17:01:26 +11:00
Sam 594dc86c40 oops 2016-03-30 11:44:17 +11:00
Sam fbdd9c0034 FIX: unread and new count not removing deleted topics on the fly
FIX: unread PMs interfering with unread count
2016-03-30 11:18:07 +11:00
Sam aae835a42f FIX: all badges got revoked due to ensure consistency query 2016-03-29 23:54:18 +11:00
Sam f907b42f0a oops 2016-03-29 19:02:59 +11:00
Sam 95076050f4 FEATURE: warn about mailing list mode if it is checked 2016-03-29 18:50:17 +11:00
Sam ed750cac39 FIX: if badges are disabled badge pages should 404 2016-03-29 17:21:32 +11:00
Sam adbc22530c FIX: don't show badges in summary page if badges disabled 2016-03-29 17:12:15 +11:00
Sam 24630f6b54 update puma dependency 2016-03-29 17:12:15 +11:00
Sam 7ab153dac3 FIX: double XHR request when loading more badges 2016-03-29 16:56:29 +11:00
Sam 418bc4a844 FIX: when ensuring consistency also delete orphan badges 2016-03-29 16:41:03 +11:00
Sam 6bb97dcabb FIX: external hyperlinks broken in badge cards
also, we were allowing nesting of A tags which is not really allowed
2016-03-29 16:21:52 +11:00
Sam 7cd56e616b FIX: strip out links from badge titles 2016-03-29 16:21:52 +11:00
Sam c650c2a16f FIX: regression in badge grant admin page 2016-03-29 07:58:45 +11:00
Sam e364eb2aad correct coloring for user nav 2016-03-29 07:53:03 +11:00
Sam 68fd1d790b Merge pull request #4119 from techAPJ/badge-fix
FIX: badge display name should be translated from server.en.yml file
2016-03-29 05:43:15 +11:00
Sam fe51f84aa7 FEATURE: allow admins to enter badge long descriptions
FIX: fallback to description if badge long description is missing

Also moves all badge localization into server.en, this slims the client down

serializers pass down localized names/descriptions/long descriptions
2016-03-28 18:38:57 +11:00
Sam 236d8193bd annotate models 2016-03-28 15:21:45 +11:00
Sam 4da9a434fd Merge branch 'master' of github.com:discourse/discourse 2016-03-28 15:16:51 +11:00
Sam f82b5dbc82 FIX: rare concurrency error when updating timings 2016-03-24 16:02:23 +11:00
Sam 1b8010ed71 display long description for badges 2016-03-23 17:34:53 +11:00
Sam c095304d6d FEATURE: limit daily emails per user to 100 per day via site setting
- controlled via max_emails_per_day_per_user, 0 to disable
- when limit is reached user is warned
2016-03-23 15:08:48 +11:00
Sam a202ec2028 don't run mailing list if mailing list mode is disabled 2016-03-22 14:50:35 +11:00
Sam d09a20210b correct bad spec 2016-03-22 14:50:12 +11:00
Sam f9e5c49350 FIX: blue notification instead of green for replies/mentions in PMs 2016-03-22 14:28:14 +11:00
Sam 6bdd5107a6 UX: center align community title text in mobile 2016-03-22 12:44:55 +11:00
Sam 643d7f07c3 correct very odd error on connect to redis 2016-03-22 10:02:19 +11:00
Sam 77242e4680 FEATURE: in:pinned and in:unpinned search filters 2016-03-18 16:26:54 +11:00
Sam 50f7616d04 FIX: include pinned status in search results 2016-03-18 16:26:20 +11:00
Sam 88f38f34cc improve text only header 2016-03-18 15:12:55 +11:00
Sam 37ccfbdb2a Revert "FIX: vertical centering of header, using display: table"
This reverts commit 1b4e0f3300.
2016-03-18 14:29:39 +11:00
Sam ebcf8970b3 Merge pull request #4079 from ryantm/patch-1
update redis dependency in documentation
2016-03-18 12:33:58 +11:00
Sam c2fa314684 test username actually changes 2016-03-18 12:32:09 +11:00
Sam 180888c020 Merge pull request #4087 from jeremylan/bug_40489
Fixed anonymizer when 'full name required' setting is on
2016-03-18 12:29:51 +11:00
Sam a8dbba9a01 warn about setting 2016-03-17 17:03:12 +11:00
Sam 49fe5a93b1 tweak logo image 2016-03-17 16:56:47 +11:00
Sam 0ea20f2d77 mock was causing spec to fail 2016-03-17 15:46:16 +11:00
Sam ecbbbbc98c FIX: not showing content on topics for mobile crawler 2016-03-17 15:09:08 +11:00
Sam Saffron 14a77aa1e0 FIX: notify on bronze popular link and nice share 2016-03-17 10:33:34 +11:00
Sam Saffron 433fa74d87 FIX: ensure consistency of user options
Edge case during upgrade can cause accounts registered after migration
prior to restart to have missing user option records
2016-03-17 10:03:56 +11:00
Sam Saffron e947c3b9ec correct for earlier versions of ruby 2016-03-17 09:25:48 +11:00
Sam Saffron 8577b7e2cc FIX: setting owner on topic should not bump topic 2016-03-17 08:32:56 +11:00
Sam 84d234a98a Merge pull request #4076 from scossar/locale-from-header-setting
FEATURE: add site setting for setting locale from header
2016-03-17 07:53:20 +11:00
Sam Saffron e84d5549ef FEATURE: only allow sidekiq in master site when hosted on multisite 2016-03-17 00:26:07 +11:00
Sam Saffron b300d60086 FIX: when changing owner of last post user list on topic incorrect 2016-03-16 23:49:54 +11:00
Sam Saffron e00850a1ab FEATURE: implement before and after filters in search remove max_age and min_age
supports

- before:monday
- after:june
- before:2001
- before:2001-01-22
2016-03-14 23:27:02 +11:00
Sam b35186bfe2 Merge pull request #4063 from sghebuz/sghebuz-patch-1
Fix mbox.rb for updated Email::Receiver API
2016-03-14 11:30:30 +11:00
Sam 963d558bee update message bus 2016-03-11 14:17:06 +11:00
Sam Saffron dd65e78431 only trim leading spaces for italic and bold 2016-03-10 23:54:33 +11:00
Sam Saffron 7be90a885c FIX: bolding text when selection has a leading space 2016-03-10 22:43:48 +11:00
Sam Saffron f3efe657fa FEATURE: Automatically add http:// when adding links without them via composer 2016-03-10 18:25:02 +11:00
Sam aa001fcfc4 Merge pull request #4057 from joebuhlig/spec-for-topic-status-update-event
Add spec for topic_status_update event
2016-03-10 16:46:59 +11:00
Sam Saffron 0f29269de8 lang-auto not being treated correctly after update 2016-03-10 16:44:24 +11:00
Sam 7fb8fda7bf Merge pull request #4065 from phw/update-highlightjs
Updated highlight.js
2016-03-10 16:21:17 +11:00
Sam f590036525 zero width joiner for emojis so no space is added when converting 2016-03-10 08:58:19 +11:00
Sam fe684fdfb8 FIX: incorrect stat for topics_entered in user directory 2016-03-10 07:44:16 +11:00
Sam Saffron 6c1d5b8cd3 FIX: spinning favicon in Firefox
Delay starting up ajax calls in MessageBus
2016-03-08 23:28:38 +11:00
Sam ccf835e342 FEATURE: on iPhone 6 or wider show mobile toolbar by default.
FEATURE: if user enables or disables mobile toolbar, remember state in local storage.
2016-03-07 15:50:10 +11:00
Sam 995f13d442 missing gem 2016-03-07 14:30:13 +11:00
Sam c838291d47 Merge pull request #4041 from joebuhlig/custom-field-sorting
Added ability to create topic sorts with custom_fields for plugins
2016-03-07 14:15:23 +11:00