Blake Erickson
5f124df251
add rake task and seed data for discourse_api
2014-09-10 20:53:21 -06:00
Régis Hanol
18f8038015
FEATURE: add new 'convert to staff message' in post wrench menu
2014-09-10 23:08:33 +02:00
Neil Lalonde
4b46bf5438
Version bump to v1.1.0.beta2
2014-09-10 12:34:12 -04:00
Sam
8c02f47f23
Merge pull request #2760 from riking/email-on-wrote
...
Add "On DATE, Name wrote:" email trimming trigger
2014-09-10 09:48:30 +10:00
riking
69bc552054
FEATURE: Actually show more notifications
...
The "Show more notifications..." link in the notifications dropdown now
links to /my/notifications, which is a historical view of all
notifications you have recieved.
Notification history is loaded in blocks of 60 at a time.
Admins can see others' notification history. (This was requested for
'debugging purposes', though that's what impersonation is for, IMO.)
2014-09-09 16:29:08 -07:00
riking
a0dccf7bc0
FIX: Add "On day, name wrote:" quote trigger for emails
2014-09-09 16:27:06 -07:00
Sam
a5e98c9906
Merge pull request #2753 from mcwumbly/span-excerpt2
...
FEATURE: Allow manual excerpt to be specified anywhere in the post and override max excerpt length
2014-09-10 09:14:05 +10:00
Neil Lalonde
d07421d45b
Version bump to v1.1.0.beta1
2014-09-09 17:35:51 -04:00
Neil Lalonde
19cba7bb0f
Version checks include the branch
2014-09-09 17:35:51 -04:00
Régis Hanol
79030c874e
FIX: allow staff members to restore withdrawn posts that are flagged
2014-09-09 20:26:40 +02:00
Régis Hanol
c9dea9ce5c
TRIVIAL: improve display of the rebake task
2014-09-09 19:25:20 +02:00
Mesut Kayman
80468037e9
Don't set content-disposition header for images
...
If this header is set for images, clicking the image link causes them to automatically download the file, rather than viewing it inside the browser. This commit forces this behavior only for uploads that aren't images
2014-09-09 19:43:02 +03:00
Sam
4f8dfd84b9
FIX: vary accept for cache, seems most correct
2014-09-09 10:25:49 +10:00
Sam
8646c21e89
FIX: anonymous cache could cache json for html requests
2014-09-09 09:46:26 +10:00
Sam
f9ae7472b4
FEATURE: rake admin:invite task
2014-09-09 09:04:01 +10:00
Robin Ward
4f6b9815ae
FEATURE: List moderator warnings on admin dashboard
2014-09-08 13:25:02 -04:00
Régis Hanol
00bd665c96
FEATURE: add count of previous flags on the post
2014-09-08 17:53:29 +02:00
Robin Ward
334e21a03a
Revert "Revert "FEATURE: Can create warnings for users via PM""
...
This reverts commit 1c7559380c
.
2014-09-08 11:11:56 -04:00
Robin Ward
1c7559380c
Revert "FEATURE: Can create warnings for users via PM"
...
This reverts commit b0bfc1f93f
.
2014-09-08 10:38:59 -04:00
Robin Ward
b0bfc1f93f
FEATURE: Can create warnings for users via PM
2014-09-08 10:27:06 -04:00
Régis Hanol
d1608bdfe9
FIX: better error handling in vBulletin importer
2014-09-08 11:02:54 +02:00
Neil Lalonde
ca5f361d0a
FEATURE: restrict admin access based on IP address
2014-09-05 12:06:01 -04:00
Robin Ward
1040a88389
Merge pull request #2754 from techAPJ/patch-1
...
hide category name for Uncategorized topics while oneboxing
2014-09-05 11:38:13 -04:00
Sam
950e5c9965
fix task
2014-09-05 17:49:51 +10:00
Sam
59d04c0695
Internal renaming of elder,leader,regular,basic to numbers
...
Changed internals so trust levels are referred to with
TrustLevel[1], TrustLevel[2] etc.
This gives us much better flexibility naming trust levels, these names
are meant to be controlled by various communities.
2014-09-05 15:20:52 +10:00
Sam
c8d3ffb1ee
prep for renaming trust level levels
2014-09-05 15:20:52 +10:00
Jeff Atwood
fcca64c0cf
rename site settings for trust levels as numbers
2014-09-04 13:16:51 -07:00
Arpit Jalan
36f36f4428
hide category name for Uncategorized topics while oneboxing
2014-09-05 00:36:13 +05:30
Robin Ward
1c5e8efa68
FEATURE: Show an email icon beside posts that arrived via email
2014-09-04 13:04:41 -04:00
David McClure
d567093756
FEATURE: Allow manual excerpt to be specified anywhere in the post and override max excerpt length
2014-09-03 22:06:53 -07:00
Sam
0ade9bafff
FIX: highlight in yellow, not blue
...
FEATURE: highlight in title
2014-09-04 15:01:13 +10:00
Sam
c6e6d00e2b
FIX: under certain conditions, raw would change an cooked remain
...
when editing a post
2014-09-04 10:43:57 +10:00
Robin Ward
9d047c3947
Merge pull request #2746 from mcwumbly/span-excerpt2
...
FEATURE: Allow manual excerpt to be defined past the beginning of the po...
2014-09-03 16:51:25 -04:00
Sam
1792941098
Merge pull request #2740 from riking/badges_disabled
...
FIX: Do not perform grants if badges are disabled
2014-09-03 22:19:51 +10:00
Sam
c6aab831ed
Merge pull request #2741 from riking/badges_create_checks
...
FIX: Apply contract checks when first creating a badge
2014-09-03 22:19:09 +10:00
Sam
28ae3c8ad0
FEATURE: order:latest support for search
2014-09-03 22:10:18 +10:00
Sam
3a76dd3463
FEATURE: status:open and status:closed magic search strings
2014-09-03 21:54:25 +10:00
David McClure
0513d02e23
FEATURE: Allow manual excerpt to be defined past the beginning of the post
...
There is still a limitation that the span excerpt must begin before the post_excerpt_max_length.
2014-09-03 00:29:49 -07:00
Sam
9c29c1c072
FEATURE: highlight search results
2014-09-03 17:09:01 +10:00
Sam
fdc89b1735
SECURITY: GitHub authenticator returning unverified emails
2014-09-03 12:53:22 +10:00
Sam
f06ad7ed8e
remove old unused files
2014-09-03 12:15:48 +10:00
Sam
921dd75dd9
FIX: anonymous had <a> items for pin/unpin
...
FEATURE: display category in search results
FEATURE: display topic state (locked/pinned/etc) in search results
UI cleanup for search results, clearing floats and so on.
2014-09-03 12:13:26 +10:00
Sam
4f09d552ed
FEATURE: increase search expansion to 50 results
...
refactor search code to deal with proper objects
use proper serializers, test the controllers
2014-09-03 12:13:25 +10:00
riking
3cf493eb4f
FIX: Apply contract checks when first creating a badge
2014-09-02 19:09:51 -07:00
riking
ee812eb447
FIX: Do not perform grants if badges are disabled
2014-09-02 13:12:27 -07:00
Robin Ward
ab02ef4221
Merge pull request #2718 from riking/plugin-events
...
FEATURE: Add a plugin callback when editing a post
2014-09-02 10:46:08 -04:00
Régis Hanol
61db6c95d2
FIX: couldn't start a 4-spaces block on the first line of a post
2014-09-02 01:18:06 +02:00
Sam
69e418facf
FEATURE: wider search with more context
2014-09-01 17:04:57 +10:00
Neil Lalonde
6b41c6b335
add permalinks route constraint
2014-08-29 11:28:16 -04:00
riking
085b18577c
Remove unnecessary user/topic load in PostCreator
2014-08-28 22:07:40 -07:00
riking
24ba7ccfbb
FEATURE: Add a plugin callback when editing a post
...
FIX: Wrap PostRevisor database work in a transaction
2014-08-28 21:27:40 -07:00
riking
3396e6fea3
Centralize MessageBus post updates
...
After this change, only two files directly publish to MessageBus with a
topic interpolated in the channel: Post and TopicUser.
2014-08-28 20:40:36 -07:00
Sam
fe6e4d7da1
FIX: fails on initial migration if default_locale is nil
2014-08-29 12:01:28 +10:00
Sam
1bef22bbb9
Merge pull request #2703 from riking/email-pr-receiver
...
Heavy refactor for Email::Receiver
2014-08-29 09:59:59 +10:00
Sam
8ab9c57ca5
Merge pull request #2707 from eyalev/rtl-email
...
Enable RTL direction in emails.
2014-08-29 09:54:57 +10:00
riking
8ddd90daa4
Have parse_body() recover from ASCII-8BIT encoding
...
Added a test to make sure that the result can be passed into TextCleaner
(which expects UTF-8)
2014-08-28 14:38:19 -07:00
riking
0a09593f3b
FIX: Prefer HTML in incoming emails, heavily refactor email receiver
...
This commit heavily refactors Email::Receiver to both better handle
different emails and improve testability.
A primary focus of the refactor is reducing the usage of class
variables, in favor of actually passing parameters - making it possible
for multiple tests to use the same Receiver instance.
The EmailLog reported when a topic is created is reflected to put the
user's email in the to_address field, instead of the system address.
The discourse_email_parser function is renamed to
discourse_email_trimmer, and additional stopping conditions are added to
make up for EmailReplyParser's inability to deal with html at the start
of a line.
The force_encoding calls are refactored out to a 'fix_charset' method.
parse_body is renamed to select_body, and the scrub_html method is
dropped in favor of the new HtmlCleaner class.
A new parse_body method is added, which performs the job of the removed
lines of code in the 'process' method.
EmailUnparsableError is redefined again, to be encoding errors (when the
declared encoding is not what was delivered).
2014-08-28 14:36:10 -07:00
riking
cb55ef4702
Add Email::HtmlCleaner for email processing
...
This class is in charge of stripping out most of the crap from the HTML
portion of emails that email clients generate, so that it can be sanely
post-processed for signatures and quoting boundaries.
2014-08-28 14:36:10 -07:00
riking
0d0225133c
FIX: Failed incoming emails could create empty topics
...
A failure condition is eliminated where a topic would be created, but post
creation would fail, leaving the forum with a topic without any posts.
By asking PostCreator to create the topic instead, inside of its
transaction, this failure condition is eliminated.
Additionally, attachments are restored to working status. Previously,
the attachment code would build up the post raw, but then drop it and
not do anything with the result (creating orphaned uploads). By actually
placing the raw value back in the options hash, it is included in the
created post.
2014-08-28 14:35:43 -07:00
Robin Ward
9e2c72e277
Allow restoring from backups in development mode even if the setting is
...
off.
2014-08-28 17:02:48 -04:00
Robin Ward
8a6c4234fc
FIX: Re-enable searching for topic by id when using the split topic
...
interface.
2014-08-28 15:42:29 -04:00
Sam
a1244043d3
FIX: when search finds a deep link in a topic it takes you to it
2014-08-28 17:16:39 +10:00
Robin Ward
f10d6ed88a
FIX: RSS feeds should use created_at
not bumped_at
2014-08-27 12:42:54 -04:00
Eyal Levin
e0c2f3df3a
Enable RTL direction in emails.
2014-08-27 14:38:03 +03:00
Sam
bba8d1978f
don't load tasks for now, its not allowing me to disable
2014-08-27 15:28:38 +10:00
Sam
9fe28f20d0
attempt to skip on migrate
2014-08-27 15:26:53 +10:00
Neil Lalonde
5db66aeafa
Version bump to v1.0.0
2014-08-26 15:24:07 -04:00
Neil Lalonde
79e37ad1a8
FIX: thor populate:posts tool needs to use find_by_username
2014-08-26 12:32:17 -04:00
Sam
3ea76815e4
Merge pull request #2686 from meglio/ru-plurals
...
Update RU pluralization to use 3 keys: one, few, other (as by Transifex)
2014-08-26 12:42:59 +10:00
riking
41dadcc349
Fix local onebox subcategory urls
2014-08-25 16:47:54 -07:00
Régis Hanol
7aaf718cf3
update bbcode dialect and fix vBulletin importer
2014-08-25 10:48:29 +02:00
Anton Andriyevskyy
c42a5551a1
Update RU pluralization to use 3 keys: one, few, other (as by Transifex)
2014-08-23 15:28:14 +03:00
Régis Hanol
77ba2015eb
FEATURE: new disable_emails site setting
2014-08-23 11:07:37 +02:00
Robin Ward
f67f34d889
FIX: Load order of Javascript files
2014-08-22 19:27:20 -04:00
Robin Ward
e8cade40c7
Improve search results by introducing an aggregate post search data
...
filter. It seems performant despite the extra content being searched.
2014-08-22 16:56:26 -04:00
Robin Ward
b1eb44bd0b
Merge pull request #2678 from techAPJ/patch-2
...
FIX: lazyYT youtube links not getting included in email
2014-08-22 14:54:41 -04:00
Arpit Jalan
f92b69ed2f
FIX: lazyYT youtube links not getting included in email
2014-08-23 00:21:31 +05:30
Neil Lalonde
05d2083796
FIX: can delete category if topic_count < 0
2014-08-22 12:25:28 -04:00
Sam
ac4f6d9c97
Merge pull request #2647 from riking/multiple-addresses
...
Allow processing of email sent to multiple addresses
2014-08-22 10:32:42 +10:00
Sam
31cc6ea633
Merge pull request #2633 from zohararad/master
...
Add RTL support to Discourse CSS Theme
2014-08-22 10:23:21 +10:00
Sam
c865bf0d71
Merge pull request #2670 from Wilhansen/sso_override_avatar
...
Implement SSO overriding avatars.
2014-08-22 10:22:06 +10:00
Neil Lalonde
dddeb1a8aa
Version bump to v0.9.9.18
2014-08-21 17:14:16 -04:00
Robin Ward
33de48dc0c
FIX: Float site settings were marked as overridden, reset didn't work.
2014-08-20 15:24:56 -04:00
Robin Ward
55c01d3320
Upgrade moment.js to latest version, add missing locales now that we
...
support more languages.
2014-08-20 14:41:50 -04:00
Régis Hanol
3fe6fc54d9
FEATURE: add an alert in sidekiq's scheduler tab when sidekiq is paused
2014-08-20 20:01:57 +02:00
Régis Hanol
8a20d05ba5
FEATURE: backup without uploads
2014-08-20 18:53:58 +02:00
Régis Hanol
7a621d97b9
FIX: do not rollback imports unless data has been changed
2014-08-20 18:53:38 +02:00
Akshay
3fd784b513
removed useless assignments at some places
2014-08-19 18:10:23 +05:30
Sam
b160882ef2
Improve identity for scheduler
2014-08-19 20:56:46 +10:00
Sam
6d9a88c33b
FIX: hanging specs
2014-08-19 20:56:25 +10:00
Wilhansen Li
e0f970326f
Implement SSO overriding avatars.
...
Implemented by having Discourse download the image from the provided URL
and treating it as a custom upload.
Adds two more parameters to the SSO site’s response:
* `avatar_url` specifies the URL of the overriding avatar.
* `avatar_force_update` Discourse does not re-download avatars that
has already been download from the same URL. Setting this to true forces
Discourse to re-download the avatar in `avatar_url`
Note that both parameters are ignored if `sso_overrides_avatar` is set
to false.
2014-08-19 15:53:34 +08:00
Sam
070cdbe64b
FIX: race condition
2014-08-19 16:25:57 +10:00
Sam
35ea1274e2
FIX: simplify, use our redis instead
2014-08-19 15:50:17 +10:00
Sam
997ab7a770
FIX: signaling seems flaky, simply kill thread
2014-08-19 14:59:40 +10:00
Sam
cb686792df
FIX: add safety so sidekiq can no longer be paused indefinitely
...
If the process pausing sidekiq dies sidekiq will come out of pause mode
2014-08-19 14:04:58 +10:00
Robin Ward
e690242858
FIX: If a consistency job hasn't run and a bunch of posts are moved,
...
don't show as unread in the topic list.
2014-08-18 16:59:28 -04:00
Robin Ward
ecf3a2a510
REVERT: Previous fix was broken, needs more work
2014-08-18 16:46:33 -04:00
Robin Ward
f1486c7728
FIX: Inconsistency between unread counter and unread filter
2014-08-18 16:15:26 -04:00
Robin Ward
629bfb73f5
FIX: Sort order on activity column is incorrect
2014-08-18 13:26:27 -04:00
Régis Hanol
9f72971d26
FEATURE: add the pencil glyph when the post was edited after the first flag
2014-08-18 18:56:39 +02:00