riking
63cdde3d96
Add more tests, undo some changes to fixture files
...
Was causing Email::Reciever tests to fail
2014-08-01 12:40:28 -07:00
riking
0faea8ee0b
Attempt at checking throws....
2014-08-01 11:38:44 -07:00
riking
c0b2b9b341
Refactor out handle_failure method in PollMailbox
2014-08-01 11:12:06 -07:00
riking
d7df4e5979
Start making better-written tests for the email job
2014-08-01 11:03:16 -07:00
riking
d87edce6c3
Pass rejection message along in rejection mail if present
2014-08-01 09:56:15 -07:00
riking
f9ef715357
Improve email-in category settings UI
2014-07-30 09:58:41 -07:00
riking
f80502ea0e
Disable logster error reporting during tests
2014-07-28 13:41:45 -07:00
riking
8af4ab2a63
Use settingName in settings_list like the others
2014-07-25 13:19:43 -07:00
riking
5841e10b59
Extra test for spanning italics
2014-07-25 13:15:14 -07:00
riking
400bbb57fe
Suppress trackback CSRF errors from Logster
2014-07-25 12:43:57 -07:00
riking
349003ee5e
Don't show Try Again for access errors on topics
2014-07-17 17:50:37 -07:00
riking
d90404e830
Change 'code' to 'message'
2014-07-17 15:19:58 -07:00
riking
a69efada85
Realign method comment
2014-07-17 15:07:25 -07:00
riking
12cb682548
Start passing more context to Discourse.handle_exception
2014-07-17 14:11:56 -07:00
riking
2b5a955c18
Pass more context from Sidekiq jobs to Logster
2014-07-17 11:19:59 -07:00
riking
de3633235b
Add JS tests for deleted post hiding (fix the build)
2014-07-17 11:13:42 -07:00
riking
19b757b058
FEATURE: Hide deleted posts by default for staff
2014-07-17 10:40:15 -07:00
riking
c8d322d1be
Include the email subject line in rejection messages
...
This change has a tradeoff.
It increases our backscatter vulnerability - the subject could have spammy content - but it's extremely valuable to the user to know exactly which message was rejected.
If you sent two at the same time, and only one was rejected, you would have no way of knowing which worked and which to resend without going to the website (which is what email-in is trying to avoid, kinda).
2014-07-17 10:25:53 -07:00
riking
1682f5d584
Fix message, and add test, for EmailUnparseableError
2014-07-17 10:25:53 -07:00
riking
73ceeda1f9
Stop unnecessarily suppressing settings for uncategorized
...
Fix migration for emailing into uncategorized
2014-07-17 10:25:52 -07:00
riking
17db265b41
Remove use of email_in_address and email_in_category
2014-07-17 10:25:13 -07:00
riking
3df3a908ac
Remove email_in_address and email_in_category site settings
...
The functionality is entirely covered by per-category email in addresses, and the category being a number was confusing people.
2014-07-17 10:22:33 -07:00
riking
915f60b0fc
Don't redirect to login when activating account...
2014-07-15 10:50:28 -07:00
riking
2ad2dee0e9
Pretend to allow full path to backup files
2014-07-15 10:23:24 -07:00
riking
783454ebe1
Fix /p/post/user route not saving referrals
...
Make user id optional for /p/id/uid
Add /posts/id/raw route for debugging failed post processing
2014-07-11 14:44:07 -07:00
riking
07d8d5ed75
Change default email_in minimum trust to 2
...
Also, rename MinTrustToCreateTopicSetting to TrustLevelSetting, and apply it to more settings
2014-07-11 12:35:59 -07:00
riking
4750f4b5b8
Expect the right error in reciever_spec
...
Makes the tests less likely to silently break
2014-07-11 12:26:52 -07:00
riking
680f057d8b
Add notes about invites to SSO and local login settings
2014-07-05 12:55:48 -07:00
riking
043a1db4e1
Pretty sure anons can't open the composer
2014-07-03 23:26:52 -07:00
riking
9ad9e95d11
Alias /guidelines to /faq
2014-07-03 13:06:04 -07:00
riking
0d4163e0a2
FEATURE: Nice error handling page
2014-07-03 07:52:14 -07:00
riking
0612018569
Include the 'textStatus' field in DC.ajax rejection
2014-07-03 07:52:12 -07:00
riking
a7b8f25c50
Even better fix
2014-06-30 15:17:05 -07:00
riking
07cedb7946
Fix specs, handle_exception calls
2014-06-30 15:16:16 -07:00
riking
eb14983dfa
Change pop3 auth errors from admin message to dashboard notice
2014-06-30 14:44:18 -07:00
riking
da9048f3ea
Fix email code & tests
2014-06-27 12:04:31 -07:00
Kane York
6f5b58969b
Only give necessary context
2014-06-25 17:01:23 -07:00
riking
7ab5d3c018
Fix specs
2014-06-23 18:12:20 -07:00
riking
420d3d651b
Make sure from is present
2014-06-23 17:51:22 -07:00
riking
222db71dd7
Cleanup
2014-06-23 17:48:51 -07:00
riking
8b5d2b835a
Add case for bad reply key
2014-06-23 17:46:22 -07:00
riking
d2823fc5ee
More detailed email rejection responses
2014-06-23 17:17:53 -07:00
riking
edc17dddb3
Let's see if this works
2014-06-23 17:17:53 -07:00
riking
78e3e7d1d5
Add regex validations for OAuth, UA, and S3 fields
2014-06-20 10:02:27 -07:00
riking
a7a28454a1
DEBUG: Send all email processing errors to admins
2014-06-20 09:31:19 -07:00
riking
2d5f667160
Make ?preview-style make sense
...
New behavior:
?preview-style=(sha) -- see that stylesheet
?preview-style= -- see the currently selected stylesheet
?preview-style=default -- see the default stylesheet ("rescue mode")
2014-06-20 09:06:36 -07:00
riking
6d182e7c43
Forgot translation for description
2014-06-18 13:13:33 -07:00
riking
cd186aee56
Allow a sepearate mobile logo URL
2014-06-18 12:44:00 -07:00
riking
6e698315d6
Allow all /my URLs
...
Previously, URLs like /my/activity/posts were denied. This change allows those URLs.
2014-06-14 10:58:20 -07:00
riking
3bbb035891
Change logo link to /
2014-06-10 10:10:56 -07:00
riking
1ba84f79c0
Add notification reason for muted category
2014-06-02 09:41:13 -07:00
riking
6431a6b849
Add tooltips to flag dialog
...
re https://meta.discourse.org/t/what-does-take-action-do/16156/4?u=riking
2014-06-01 23:36:18 -07:00
riking
2ffea38bb0
Fix up the bind-attr structure
2014-05-25 19:12:28 -07:00
riking
66453c4692
Make timestamp a permalink
2014-05-25 19:10:09 -07:00
Kane York
8c0841dd8f
Copy: Change {x} new topics -> {x} new posts
2014-05-21 13:40:13 -07:00
riking
7f0b66246b
Tweak the no-js layout
2014-05-20 16:34:18 -07:00
riking
96f97d9d4c
Consider URLs starting with # as internal
2014-05-20 00:54:22 -07:00
riking
41332ab7ad
Allow anonymous to see raw posts
2014-05-19 23:33:27 -07:00
riking
2c6ab4c699
Remove the special styling on the Categories link
2014-05-19 22:21:35 -07:00
Kane York
c03866a5bc
Include pry-rails in production
2014-05-17 12:51:02 -07:00
riking
63ce01893b
Add class to page based on topic category
2014-04-30 22:24:02 -07:00
riking
0836d1a9ac
Quote entire Ubuntu install guide
2014-04-25 19:05:35 -07:00
Kane York
eb00458dcc
Change MIGRATION.md to Docker instructions
2014-04-24 19:12:08 -07:00
riking
7da5d3fe78
Backoff-retry for hotlinked image pull + some style fixes
2014-04-23 22:25:43 -07:00
riking
b309deef11
Add site setting for domains to never download images from
2014-04-23 22:24:35 -07:00
Kane York
6e8392bf8e
Show results by default for closed polls
2014-04-10 01:00:52 -07:00
riking
6779bec58c
Add UI for list site settings
2014-04-08 14:17:55 -07:00
riking
9c4dd1cb35
Change comma-delim site settings to pipe-delim
2014-04-08 14:17:55 -07:00
riking
eb90315dfd
Strip whitespace from site settings
2014-04-08 01:59:48 -07:00
riking
1540a3d5e5
Allow changing ownwership of posts by admins
2014-04-08 01:47:42 -07:00
riking
7a843d2ac2
FIX: Only unhide flagged post if editor is the author
...
Also, rename @user to @editor in PostRevisor
2014-04-08 01:47:36 -07:00
riking
4814659b7b
FIX: Edit ratelimits should be on the actor, not post owner
2014-04-08 01:47:36 -07:00
riking
8934d2b49d
Fix 'post omitted' bar lengths
2014-04-07 16:02:33 -07:00
riking
df5229a399
Add spec for posted list
...
The test fails on 956b14a and passes on this branch
2014-03-30 14:21:35 -07:00
riking
86fe11b277
Fix the 'posted' view
...
Now is actually topics that you have posted in - previously, it was all topics you had tracked, starred, posted, read, ....
No clue how that came about.
2014-03-30 14:21:35 -07:00
riking
0828cf52ee
Add no-text class to buttons with no text
2014-03-29 23:28:04 -07:00
riking
57051e896d
Change 5k passwords -> 10k passwords in locale files
2014-03-29 14:06:09 -07:00
Kane York
810ee7e4df
Improve plugins.md text
2014-03-26 20:34:08 -07:00
riking
f51cffdb94
Rename style to onebox-avatar
2014-03-25 19:01:51 -07:00
riking
87d47ece59
CSS rule for GitHub commit avatars
2014-03-24 21:52:40 -07:00
Kane York
473201c9a4
Change specified height to 450
2014-03-24 20:02:04 -07:00
riking
c978eade56
Make Facebook login popup taller
2014-03-23 22:00:15 -07:00
riking
7237eb5e00
Shuffle around the order of site settings
...
The goal of this is twofold:
- Make the more commonly changed settings higher
- Find groups for more uncategorized settings
Additionally, the SEO category was deleted, its contents folded into Security and Spam.
2014-03-21 19:03:29 -07:00
riking
f75a7f8832
Clean up site_settings.yml
...
- Hide several variables that the client does not use
- Use concise default syntax when possible
2014-03-21 18:01:39 -07:00
riking
dc230cb7e4
Only warn about necromancy when replying
2014-03-19 17:04:42 -07:00
riking
4699136d83
Fix this/self usage warning
...
To clarify the intent of using 'this' inside the closure, it is first assigned to a variable.
2014-03-18 19:09:49 -07:00
riking
8136468ec7
Fix inefficent jQuery usage
...
Some jQueries can be cached and reused. This commit does that.
2014-03-18 19:09:49 -07:00
riking
a871158c80
Fix some bad HTML
2014-03-18 19:09:49 -07:00
riking
2ade638d79
Remove unused variables
2014-03-18 19:09:44 -07:00
riking
834a721bbe
Remove two noop backslashes in regexes
2014-03-18 18:24:36 -07:00
riking
86774fa5c1
Simplify return statements
2014-03-18 18:23:15 -07:00
riking
3f35d1062e
Remove trailing commas, add trailing semicolons
2014-03-18 18:21:10 -07:00
riking
593f5df503
Corrections to JSDoc
2014-03-18 18:19:20 -07:00
riking
ffd4f367e3
Add s3_backup_config_warning
...
Note that only one of the two warnings can be shown, because they are checked in the same method.
2014-03-17 12:56:59 -07:00
riking
996e5cf021
Make Discourse.ShareLink easy for plugins
...
For example, this javascript code, if added by a plugin, would enable a Tumblr share link:
Discourse.ShareLink.addTarget('tumblr', {
iconClass: 'fa-tumblr',
generateUrl: function(link, title) {
return ("http://www.tumblr.com/share/link?url= " + encodeURIComponent(link) + "&description=" + encodeURIComponent(title));
},
shouldOpenInPopup: true
});
2014-03-13 23:38:57 -07:00
riking
c29c15a7a3
Switch from MMM D to D MMM to separate from year
...
Additionally, in German, the format is 'D. MMM'.
2014-03-11 03:28:13 -07:00
riking
3f7f272550
Standardize on second person on preferences page
2014-03-07 15:26:33 -08:00
riking
d0dbc26281
Change BACKUP_ROUTE_FORMAT to support pretty-name backups
2014-03-06 20:59:10 -08:00
riking
bb634bd4f5
Add request_refresh to script/discourse
2014-03-06 20:26:34 -08:00
riking
ccd3e635d2
Refresh the site after updating certain site settings
2014-03-06 20:24:23 -08:00