Sam
cc23bb84d9
FEATURE: ninja op_likes sort for topic lists
2014-10-03 13:16:53 +10:00
Sam
090dc80f8a
FIX: work around random encoding errors
...
(symptom is that site is blank see: https://meta.discourse.org/t/actionview-template-error-incompatible-character-encodings-utf-8-and-ascii-8bit/19970 )
2014-10-03 10:41:52 +10:00
Jens Maier
3198c3333a
Fix pretty_text translation helper again, this time for real
2014-10-02 22:08:40 +02:00
Régis Hanol
b58435de90
improve output of the release_note:generates rake task
2014-10-02 19:18:07 +02:00
Régis Hanol
2f8e28c918
FEATURE: new release_note:generate rake task
2014-10-02 19:01:10 +02:00
Jens Maier
b6bbfb907c
FIX: quoting non-existing messages would break SMF2 importer
2014-10-02 00:44:03 +02:00
Régis Hanol
98b6b9821a
FEATURE: log topic/post deletions from staff members
2014-10-01 17:40:13 +02:00
Sam
0fc6c751cb
FEATURE: implement lock/unlock trust level mechanics
2014-09-30 13:16:34 +10:00
Régis Hanol
7e309a21cf
FEATURE: hide emails behind a button for staff members
2014-09-29 22:31:05 +02:00
Robin Ward
ff795a267d
Merge pull request #2826 from techAPJ/patch-1
...
FEATURE: add site preference for standard subjects, including support for Re
2014-09-29 15:29:22 -04:00
Régis Hanol
652cc3efba
FEATURE: new rake task to clean up uploads & thumbnails
2014-09-29 18:31:53 +02:00
Arpit Jalan
330b7ba54a
FEATURE: add site preference for standard subjects, including support for Re
2014-09-29 21:54:29 +05:30
Robin Ward
d0fb8bbcfc
Instead of `.js.handlebars` use `.hbs` for handlebars templates
2014-09-26 15:23:15 -04:00
Robin Ward
0fc0533134
FEATURE: Admin interface for adding custom fields for users
2014-09-25 16:17:51 -04:00
Régis Hanol
69400a802f
FEATURE: auto-delete any hidden posts that stay hidden for more than 30 days
2014-09-25 19:51:00 +02:00
Régis Hanol
de76b512c1
fix most deprecations in the specs (still some left)
2014-09-25 17:44:48 +02:00
Arpit Jalan
648d3f3458
FIX: properly align username for suppressed avatar images
2014-09-25 11:17:23 +05:30
Régis Hanol
bfdbb70b3b
FIX: automatic backup uploads to S3 when using a region
2014-09-24 22:52:09 +02:00
Robin Ward
bc53d48bd7
Renaming site contents to site text
2014-09-24 16:08:14 -04:00
Robin Ward
84cf402482
Merge pull request #2805 from techAPJ/patch-1
...
Suppress images for short emails
2014-09-24 15:27:34 -04:00
Arpit Jalan
0a64657fab
Suppress images for short emails
2014-09-24 23:52:27 +05:30
Neil Lalonde
3a468d3923
Version bump to v1.1.0.beta3
2014-09-23 13:28:28 -04:00
Régis Hanol
5681338b08
FIX: log a staff action + send a private message when disabling the 'download_remote_images_to_local' site setting
2014-09-23 19:11:43 +02:00
Sam
2be03371ae
FEATURE: allow a central redis cache for assets
2014-09-23 16:50:17 +10:00
Robin Ward
223f3eebfc
Merge pull request #2814 from cpradio/add-bulk-archive-option
...
FEATURE: Add Archive Topics to Bulk actions
2014-09-22 15:01:40 -04:00
cpradio
afdbb2bb96
FEATURE: Add Archive Topics to Bulk actions
...
Add the ability to archive topics in bulk
https://meta.discourse.org/t/archive-topics-via-bulk/20302
2014-09-22 14:56:48 -04:00
Régis Hanol
0b13f6572f
FEATURE: staff option to unhide a post
2014-09-22 18:55:13 +02:00
Sam Saffron
05eff38f34
FEATURE: add name and username to search within topic
2014-09-20 12:57:16 +10:00
Sam
68e56db61c
Merge pull request #2803 from techAPJ/patch-3
...
show parent and child category in oneboxes
2014-09-19 13:44:53 +10:00
Sam Saffron
c5e65cc6c8
FEATURE: advanced category:NAME search operator
2014-09-19 12:44:47 +10:00
Robin Ward
19b4364d79
SECURITY: Stripping links could unescape html fragments
2014-09-17 12:08:00 -04:00
Arpit Jalan
e6c853e642
show parent and child category in oneboxes
2014-09-17 01:01:41 +05:30
Robin Ward
309b67add4
FIX: If a post has been hidden due to flagging, don't use the absolute
...
edit window for edit prevention.
2014-09-16 11:21:14 -04:00
Sam
f275d93d6c
Merge pull request #2787 from cpradio/add-visible-status
...
Add visible/invisible status for Advanced Users
2014-09-12 10:02:08 +10:00
cpradio
1485538434
FEATURE: Add querystring value for Invisible
...
Allow advanced functionality to only show invisible topics on the latest, unread, new pages.
2014-09-11 19:21:25 -04:00
cpradio
dfda41567c
FEATURE: Add querystring value for Visible
...
Allow advanced functionality to only show visible topics on the latest, unread, new pages.
2014-09-11 19:17:16 -04:00
Robin Ward
eb512f07a7
FIX: Spec failures for feeds related to enabling categories as default
...
page for anons when latest is deleted.
2014-09-11 15:30:41 -04:00
Robin Ward
fe7877b558
FIX: Server side restore should work in development mode even if the
...
setting is disabled.
2014-09-11 15:12:56 -04:00
Robin Ward
0eaf023025
FIX: If `latest` is removed (why?) don't 404 on root
2014-09-11 14:42:45 -04:00
Neil Lalonde
0a9e284277
FIX: rake admin:invite sends an email that makes it clear that an account was created for the recipient
2014-09-11 12:49:01 -04:00
Régis Hanol
e56fcf0c43
FEATURE: add 'rebake post' in post wrench menu
2014-09-11 16:04:40 +02:00
Sam
0f585bcdbe
FIX: PM should never be allowed to have a category
...
FIX: TL3 should not be allowed to muck with PM titles
2014-09-11 17:39:34 +10:00
Sam
faefa3cc22
Merge pull request #2781 from oblakeerickson/api_seed_data
...
add rake task and seed data for discourse_api
2014-09-11 16:17:28 +10:00
riking
056249cc93
PERF: Tame eager-loading of category definition topic URL
...
With this change, the EXPLAIN on the topic query is reduced in cost, and
script/bench.rb results are improved.
Explain topic query, cost at root level:
cost=641.84..641.92 --> cost=570.03..570.11
script/bench.rb result, 50th percentile:
BEFORE
---
categories_admin: 95
home_admin: 80
topic_admin: 33
categories: 71
home: 51
topic: 15
AFTER
---
categories_admin: 78
home_admin: 58
topic_admin: 49
categories: 40
home: 34
topic: 30
2014-09-10 19:55:10 -07:00
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
Neil Lalonde
1445ad61da
FIX: case-insensitive category lookup when creating topics
2014-08-18 11:07:49 -04:00
Régis Hanol
e1191a5fcf
Merge pull request #2511 from windhamg/s3_iam_role
...
support for EC2 IAM roles with Amazon S3 file store/backup
2014-08-18 16:14:14 +02:00
Akshay
b4e38e5646
updated checks of environment with Rails.env by Rails.env methods
2014-08-18 15:36:47 +05:30
Sam
8737ffb272
Merge pull request #2658 from akshaymohite/optimization-fixes
...
Not initializing variable for looping if unused in loop
2014-08-18 14:42:52 +10:00
Sam
e0a82d3088
FIX: rate limit password reset email
2014-08-18 10:55:30 +10:00
Neil Lalonde
bf5563e2fc
Version bump to v0.9.9.17
2014-08-15 17:27:45 -04:00