Commit Graph
94 Commits
Author SHA1 Message Date
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 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
riking 01826b9c18 Add site name to beginning of backup filename 2014-03-06 16:34:31 -08:00
riking e0063920b7 Style 'urgent' composer popups differently
The two "bad behavior" composer popups get the 'urgent' class, which colors them red.
2014-03-06 15:35:47 -08:00
Kane York 9f8f0f115c Restore 'article' to whitelist 2014-02-18 16:22:42 -08:00
riking 19922ff174 Have keyboard_shortcuts use Discourse.TopicView.jumpToPost
Instead of _scrollList, which is more appropriate on the topic list.
2014-02-17 16:45:36 -08:00
riking ebb001c24a When entering a topic, place the desired post in the middle of the page 2014-02-17 16:38:01 -08:00
Kane York 2e864f5ad7 Remove audio and video tags as well 2014-02-13 21:47:13 -08:00
Kane York 5b819f191a Removing more stuff from the sanitizer whitelist 2014-02-13 20:18:40 -08:00
Kane York d81519c0f8 Update new_user top page redirect reason
The goal of this text is to sublty hint that reading is the way to graduate out of it.
2014-02-06 16:04:16 -08:00
riking 7c12aeb848 Extract version check in dashboard to own template 2014-02-05 17:22:10 -08:00
riking 0dd317dd74 Change to case-insensitive matching in group @name matching 2014-01-14 10:32:19 -08:00
Kane York 24e30aff87 Fix group matching SQL query
The check there is intended for the :members_mods_and_admins level, which is not automatically checked for normal users. Instead, the :everyone level is the one used, which would always fulfill the "alias_level in :levels" check.

This changes the :everyone level to :members_mods_and_admins, which was originally intended.
2014-01-14 10:31:36 -08:00
Kane York 49d7e55352 Change :D to map to 😃 instead of 😁
Because 😁 looks like somebody is constipated, really
2013-11-26 13:34:44 -08:00
Kane York c4ecfad78a Add "nose" faces to the translations table
as per http://meta.discourse.org/t/use-more-standard-smiley-codes-instead-of-smile/1822/44
2013-08-30 22:50:31 -07:00