Commit Graph

2303 Commits

Author SHA1 Message Date
riking 1833b43ae2 FEATURE: Badge query validation, preview results, and EXPLAIN
Upon saving a badge or requesting a badge result preview,
BadgeGranter.contract_checks! will examine the provided badge SQL for
some contractual obligations - namely, the returned columns and use of
trigger parameters.

Saving the badge is wrapped in a transaction to make this easier, by
raising ActiveRecord::Rollback on a detected violation.

On the client, a modal view is added for the badge query sample run
results, named admin-badge-preview.
The preview action is moved up to the route.
The save action, on failure, triggers a 'saveError' action (also in the
route).

The preview action gains a new parameter, 'explain', which will give the
output of an EXPLAIN query for the badge sql, which can be used by forum
admins to estimate the cost of their badge queries.
The preview link is replaced by two links, one which omits (false) and
includes (true) the EXPLAIN query.

The Badge.save() method is amended to propogate errors.

Badge::Trigger gets some utility methods for use in the
BadgeGranter.contract_checks! method.

Additionally, extra checks outside of BadgeGranter.contract_checks! are
added in the preview() method, to cover cases of null granted_at
columns.

An uninitialized variable path is removed in the backfill() method.

TODO - it would be nice to be able to get the actual names of all
columns the provided query returns, so we could give more errors
2014-08-31 11:25:44 -07:00
Jeff Atwood 9aac004c0a minor copy update, Omit Needless Words 2014-08-31 04:47:27 -07:00
Jeff Atwood 6221a84ce8 minor copy updates 2014-08-31 04:46:20 -07:00
Arpit Jalan 82d4c29c88 TRIVIAL: add line break before time for post navigator 2014-08-30 16:14:00 +05:30
Arpit Jalan 289d9e4fe1 FIX: use short date format for topic summary 2014-08-30 12:07:43 +05:30
Jeff Atwood 7a50ba600a Merge pull request #2726 from techAPJ/patch-4
FIX: use short date format for post navigator
2014-08-29 23:11:31 -07:00
Arpit Jalan 3c005557e6 FIX: use short date format for post navigator 2014-08-30 11:34:33 +05:30
Jeff Atwood 70dbad16dc UX: simplify copy for summarize topic mode 2014-08-29 22:59:39 -07:00
Jeff Atwood d7e4a19f3a Merge pull request #2723 from cpradio/keyboard-binding-incoming-updated-topics
UX: Keyboard binding incoming/updated topics
2014-08-29 19:33:40 -07:00
Jeff Atwood 111b35f613 UX: rename "Leader" to "Veteran" (more) 2014-08-29 17:09:54 -07:00
cpradio 2e200ffbf0 Merge remote-tracking branch 'origin/master' into keyboard-binding-incoming-updated-topics
Conflicts:
	config/locales/client.en.yml
2014-08-29 20:05:59 -04:00
cpradio 875b39fb5f Merge remote-tracking branch 'origin/master' into keyboard-binding-incoming-updated-topics 2014-08-29 19:56:39 -04:00
Jeff Atwood cb45d5fa25 Merge pull request #2724 from cpradio/key-binding-reply-new-topic
UX: Add keyboard binding for reply as new topic
2014-08-29 16:46:34 -07:00
Jeff Atwood d74f94afa1 Merge pull request #2722 from cpradio/dismiss-keyboard-bindings
UX: Add key-bindings for Dismiss New, Dismiss Posts, and Dismiss Topics
2014-08-29 16:28:25 -07:00
cpradio 68e807f791 UX: Add keyboard binding for reply as new topic 2014-08-29 19:14:42 -04:00
Jeff Atwood 0eb367f9c3 UX: rename "Leader" to "Veteran" (first steps) 2014-08-29 15:57:13 -07:00
Jeff Atwood 324c0eb7e4 UX: improve default new user guidance 2014-08-29 15:47:53 -07:00
Jeff Atwood 72293073f6 UX: better copy on mailing_list_mode pref 2014-08-29 13:07:36 -07:00
cpradio 5ca96e741d UX: Add keyboard bidning for incoming/updated topics 2014-08-29 09:44:26 -04:00
cpradio 096bc0c0ae Merge branch 'keyboard-binding-new-topics-banner' into dismiss-keyboard-bindings
Conflicts:
	app/assets/javascripts/discourse/lib/keyboard_shortcuts.js
2014-08-29 09:36:34 -04:00
cpradio 3f085c3fd3 Change the Dismiss keybindings to use 'x' instead of 'd' 2014-08-29 09:22:47 -04:00
cpradio ede9d1e057 Change the Dismiss keybindings to use 'x' instead of 'd' 2014-08-29 08:46:35 -04:00
cpradio e4ce995369 FIX: Changed Dismiss New and Dismiss Posts to use d + r because p is reserved for the profile menu and n is reserved for the notifications menu 2014-08-29 08:11:23 -04:00
cpradio ed8d828ff1 FIX: Added keyboard bindings for dismiss buttons 2014-08-29 08:04:57 -04:00
Jeff Atwood 2c7d694c34 UX: extremely confusing copy on setting 2014-08-28 23:09:37 -07:00
Sam c07d76677d Merge pull request #2701 from riking/email-pr-ssl
Rename POP3 settings, fix multisite SSL state leak
2014-08-29 10:02:05 +10:00
riking 9090df63ba Fix pop3 settings in locale file 2014-08-28 10:45:40 -07:00
Luca Daniel 2cf92dbe7b Add translation for Romanian. 2014-08-28 14:01:14 +03:00
Arpit Jalan be8249f113 Update Translations 2014-08-28 08:52:11 +05:30
Robin Ward 0ae3c327de Add a message to the staff logs indicating why a user was purged 2014-08-27 16:05:07 -04:00
Arpit Jalan 3a76f9e79f FIX: allow localization in timestamp 2014-08-27 20:57:06 +05:30
Jeff Atwood fa10aa4945 COPY: add quotes around badge for clarity 2014-08-26 23:54:13 -07:00
Jeff Atwood d50b34b825 "earned" vs "you were granted" 2014-08-26 23:46:48 -07:00
Sam 16c34c206d FEATURE: verbose localization option 2014-08-27 14:12:11 +10:00
cpradio 1678a91a60 Add shortcuts for Profile Menu and Hamburger Menu
Added shortcuts of p and = for the profile and hamburger menu
https://meta.discourse.org/t/keyboard-shortcuts-wish-list/15952
2014-08-26 20:30:20 -04:00
Arpit Jalan 02d05ca2ab Update Translations 2014-08-26 23:07:10 +05:30
Robin Ward 105959c402 Merge pull request #2696 from riking/errors
Fix "Server Error: [missing {{code}} value]" page
2014-08-26 11:14:57 -04:00
Jeff Atwood d63c6292b3 change "Visit Profile" to just "Profile" 2014-08-26 00:37:10 -07: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 5261f2e751 Fix "Server Error: [missing {{code}} value]" page
The translation was expecting a non-existent parameter.
2014-08-25 17:20:48 -07:00
Jeff Atwood 024c503870 mobile login tweaks 2014-08-25 12:38:27 -07:00
Sam 56a0a40175 Merge pull request #2677 from keskuskentta/fi_locale
Add Finnish
2014-08-25 08:44:00 +10:00
Jeff Atwood db0b6703a3 better copy on S3 upload settings 2014-08-23 17:01:05 -07: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
Sam e0a74e336a Add SSO diagnostics 2014-08-23 10:34:48 +10:00
Neil Lalonde bbb358b356 Add likes given and likes received requirement for being TL3. Configure with site settings leader_requires_likes_given and leader_requires_likes_received. 2014-08-22 17:33:39 -04:00
Jeff Atwood f171af5fe5 minor copyedit 2014-08-22 12:49:02 -07:00
Neil Lalonde 00c28f2391 Show total likes given. Put likes given/received and flags given/received together. 2014-08-22 15:23:19 -04:00
Neil Lalonde dafc63e3a0 Show how many likes users received in the last 100 days on their admin profile page 2014-08-22 14:37:07 -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 c865bf0d71 Merge pull request #2670 from Wilhansen/sso_override_avatar
Implement SSO overriding avatars.
2014-08-22 10:22:06 +10:00
Sam 136169bc73 Merge pull request #2676 from riking/logster-link
Add link to Logster in "Logs" tab of admin panel
2014-08-22 10:21:04 +10:00
Arpit Jalan 2e89ee953e Update Translations 2014-08-21 23:44:58 +05:30
probus 1a28fcf486 Add Finnish 2014-08-21 13:48:42 +03:00
riking 50d4e283dc Add link to Logster in "Logs" tab of admin panel 2014-08-20 14:40:16 -07:00
Jeff Atwood 21b18b1253 remove the "view all {number}.." from mobile cat 2014-08-20 13:51:10 -07:00
Régis Hanol 8a20d05ba5 FEATURE: backup without uploads 2014-08-20 18:53:58 +02:00
Robin Ward 2b5feda625 FIX: You need to be logged in to edit wiki posts. 2014-08-20 11:04:45 -04:00
Jeff Atwood 86fcc72546 minor top copy tweak 2014-08-20 01:09:32 -07:00
Jeff Atwood f8ae2f5378 update new user tips for less columns , emoji 2014-08-19 14:28:34 -07:00
Jeff Atwood 9c7bc57121 clarify on flag reply "more" indicator 2014-08-19 12:40:39 -07:00
Robin Ward 96afbd6656 TRIVIAL: Don't show 06 Aug, show 6 Aug 2014-08-19 14:46:35 -04: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
Jeff Atwood 107ac88f15 add back in "by default" on new/latest edu 2014-08-18 15:01:09 -07:00
Robin Ward 14c765ef11 UX: Tweak logic for showing times in topic entrance popup 2014-08-18 17:14:50 -04:00
Neil Lalonde 13891292d3 FIX: a missing quote in server.en.yml 2014-08-18 17:10:04 -04:00
Jeff Atwood 57becf156b improvement to site_settings help text 2014-08-18 14:03:40 -07:00
Jeff Atwood 004749871f copyedit for new/latest "teaching" empty pages 2014-08-18 13:50:09 -07:00
Neil Lalonde 0841cd2ba6 FEATURE: Add education text to new and unread pages when there are no results 2014-08-18 16:17:40 -04:00
Robin Ward db4abe76db CLEANUP: Remove dead resetRead code path 2014-08-18 14:35:33 -04:00
Jeff Atwood b3d99a638c fix inverted post-to-like copy 2014-08-18 11:25:56 -07: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
Arpit Jalan 8c2476100b Update Translations 2014-08-18 20:47:59 +05:30
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
Jeff Atwood d09b30775c better copy on a few default topics 2014-08-18 01:51:44 -07:00
Jeff Atwood d73a961b3a correct wiki help text 2014-08-18 00:28:39 -07:00
Jeff Atwood e2aa3e9616 better description of hidden flagged content 2014-08-17 23:27:05 -07:00
Jeff Atwood ad17a315ec clarify flag-to-hide second round requires staff 2014-08-17 23:02:15 -07:00
Sam e0a82d3088 FIX: rate limit password reset email 2014-08-18 10:55:30 +10:00
Jeff Atwood 967120f23e Merge pull request #2663 from gschlager/i18n_fix01
Add missing translation
2014-08-16 23:11:58 -07:00
Jeff Atwood 6795d378b4 remove a few strings on admin in favor of glyphs 2014-08-16 22:53:41 -07:00
Gerhard Schlager 6b286ad4f4 Add missing translation 2014-08-17 00:29:39 +02:00
Jeff Atwood dbf1a8b766 clarify on /top behavior 2014-08-16 12:57:23 -07:00
Robin Ward aa41548e8e UX: When clicking an activity date, pop up a little menu with options to
go to beginning or end of the topic.
2014-08-15 16:39:57 -04:00
Robin Ward 0ce2df36e0 Merge pull request #2662 from techAPJ/patch-3
FEATURE: add additional fields in user list export
2014-08-15 16:03:16 -04:00
Jeff Atwood 7e5678abd5 /admin/docker --> /admin/upgrade 2014-08-15 12:31:43 -07:00
Arpit Jalan 8d7f4c1944 FEATURE: add additional fields in user list export 2014-08-16 00:39:28 +05:30
Arpit Jalan e98a6cf993 Update Translation 2014-08-15 23:32:14 +05:30
Robin Ward f7b0c31418 Post history heatmap should use site settings for thresholds 2014-08-15 12:22:06 -04:00
Robin Ward 2f4f5d56e1 Use Site Settings for the cold date ranges 2014-08-15 12:09:31 -04:00
Robin Ward 26ca197be9 Adds Site settings to configure post:like ratio thresholds 2014-08-15 12:02:29 -04:00
Robin Ward eb5a3da10d UX: Include tooltip text when hovering over posts column 2014-08-15 11:49:30 -04:00
Sam 465c2a2ba8 FEATURE: logout redirect support
Allow users to also logout on an external site after logging out locally
2014-08-15 12:57:29 +10:00
Jeff Atwood ec4e268703 friendlier email rejection message 2014-08-14 15:05:15 -07:00
Arpit Jalan d0736a06b6 FEATURE: export user list 2014-08-15 01:46:57 +05:30
Jeff Atwood 48051127fc improve keyboard shortcut help layout 2014-08-14 02:54:53 -07:00
Jeff Atwood 196a59ed16 c'mon, unhide? Show, baby, SHOW 2014-08-13 17:06:28 -07:00
Robin Ward 7ed969f0c7 Site Setting to customize how frequently inactive users are purged 2014-08-13 15:11:19 -04:00
riking b4dc8e7115 Add error reply for new error 2014-08-13 11:47:21 -07:00
Robin Ward 31f7addefa FIX: Don't capitalize category name in document title 2014-08-13 10:53:34 -04:00
Jeff Atwood 6d919d75cc clarify New User Tips = Guidance 2014-08-13 02:43:12 -07:00
Robin Ward 1684ff3015 UX: Add a separate "Sign Up" button 2014-08-12 13:47:23 -04:00
Robin Ward 0e5a79cf5d FIX: Missing translations, update title on About 2014-08-12 11:04:12 -04:00
Jeff Atwood 506162b719 clarification on delete and block 2014-08-12 03:14:50 -07:00
Jeff Atwood c187196cd5 clarify too_few_topics warn only appears for staff 2014-08-12 03:04:03 -07:00
Jeff Atwood 94f407cb24 simplify account required copy 2014-08-12 02:36:41 -07:00
Arpit Jalan 38d6e74c0b Update translation to fix missing strings 2014-08-12 11:35:33 +05:30
Jeff Atwood 5dc35488d2 few more "Sign In/Out" reverts to "Log In/Out" 2014-08-11 16:29:02 -07:00
Jeff Atwood a51bf08346 change "Sign In" back to "Log In" for now 2014-08-11 16:08:55 -07:00
Robin Ward c8767dc505 UX: Tweak about page 2014-08-11 18:15:49 -04:00
Robin Ward 996d14965e Minor UX tweaks 2014-08-11 17:03:12 -04:00
Robin Ward c103398e9a First stab at About page 2014-08-11 16:59:15 -04:00
Jeff Atwood f15d106eb9 remove all version stats 2014-08-11 12:42:03 -07:00
Robin Ward 15c7e01b90 FEATURE: Can bulk delete topics now using the modal. 2014-08-11 15:14:02 -04:00
Régis Hanol ec6ba68098 FEATURE: use glyphs instead of text in flag's dispositions 2014-08-11 18:21:34 +02:00
Régis Hanol 85570ddc77 TRIVIAL: fix grammar on 'deferred' columns 2014-08-11 11:56:54 +02:00
Jeff Atwood f8528b12d3 improved version_checks copy 2014-08-10 23:13:44 -07:00
Jeff Atwood cad5c424d8 Shorten PM message titles a tad 2014-08-09 15:18:36 -07:00
Neil Lalonde 51266c0208 Merge pull request #2634 from techAPJ/update-translations
Update Translations
2014-08-08 16:49:23 -04:00
Arpit Jalan 3339b30001 Update Translations 2014-08-09 02:04:01 +05:30
Jeff Atwood c410da4f7f minor copy tweak 2014-08-08 13:18:15 -07:00
Jeff Atwood cf31463115 copyedit on dismiss buttons tooltips 2014-08-08 13:12:29 -07:00
Jeff Atwood 679e9957f0 misspelled "deferred" 2014-08-08 12:43:11 -07:00
Sam 49f738fe27 FEATURE: allow users to dismiss unread posts 2014-08-08 16:29:51 +10:00
Jeff Atwood ddbcba145d add ellipsis to flag buttons, better tooltips 2014-08-07 16:39:12 -07:00
Jeff Atwood 08a67f0da5 add lowercase "translations" for topic map 2014-08-07 02:31:59 -07:00
Sam ae2d80501a PERF: run full vacuum every 90 days (during migration)
Will reclaim space and improve perf
2014-08-07 11:07:30 +10:00
Robin Ward 60e70f82b9 UX: title text for wiki icon 2014-08-06 17:14:01 -04:00
Jeff Atwood 33eca10860 admins don't need to be told to click buttons yo 2014-08-05 23:31:49 -07:00
Sam 33cfbb5c33 By should never appear in translation file like this
connectors can not be translated without context.
2014-08-06 16:26:59 +10:00
Régis Hanol 3330f5907c FEATURE: restructure notification HTML layout 2014-08-05 23:36:37 +02:00
Robin Ward 06c681b0de Merge pull request #2617 from techAPJ/patch-2
FEATURE: dynamically load more invites
2014-08-05 12:54:06 -04:00
Arpit Jalan 4cd8abc905 FEATURE: dynamically load invites 2014-08-05 22:20:23 +05:30
Sam 4536f772c1 FIX: more reliable topic list counts
- unread was not incrementing when you read last post on topic
- new notifications were being inserted even if they existed in list
- terminology was all mixed up "1 new posts", split to 3 messages
- latest behaves as expected, updating count of new and updated topics
2014-08-05 13:27:34 +10:00
Sam ef5b18779e FEATURE: merge new and old unread counts on categories page
UI: restyle UI to match counts
2014-08-05 10:44:01 +10:00
Jeff Atwood 0d154ecf7b add warnings to min/max username length 2014-08-04 16:50:43 -07:00
Jeff Atwood 6fb683ff9a tone down new/unread on /categories 2014-08-04 15:41:46 -07:00
Régis Hanol ec30086dea FEATURE: agree all the flags 2014-08-04 22:48:04 +02:00
riking d87edce6c3 Pass rejection message along in rejection mail if present 2014-08-01 09:56:15 -07:00
Arpit Jalan 2820bd34da Update Translations 2014-08-01 20:02:56 +05:30
Jeff Atwood aec9d5962e minor topnav tooltip edits 2014-08-01 03:04:42 -07:00
Jeff Atwood 3a68201d53 Omit Needless Words, man 2014-08-01 00:46:31 -07:00
Jeff Atwood 71aa41ccac copyedits on new flagging behaviors 2014-07-31 16:17:38 -07:00
Jeff Atwood 875ee29478 fix copy on necromancy warning 2014-07-31 15:14:22 -07:00
Jeff Atwood 7856c7538f correct SPF/TXT record docs 2014-07-31 15:00:51 -07:00
Sam 138d013e56 FIX: Suspended users should not be allowed to post 2014-07-31 13:15:16 +10:00
Sam e9a1af0113 FIX: Do not suppress reply-to when other posts quoted 2014-07-31 11:40:02 +10:00
riking f9ef715357 Improve email-in category settings UI 2014-07-30 09:58:41 -07:00
Sam e7e70d14da Merge pull request #2591 from BenLubar/benlubar-edit-history-public
add profile option for edit history visibility
2014-07-30 14:09:10 +10:00
Sam 87dd681497 FEATURE: setting suppress reply when quoting 2014-07-30 10:55:49 +10:00
Régis Hanol 5bd1dbd953 Merge pull request #2600 from fantasticfears/patch-8
typo
2014-07-29 12:45:09 +02:00
Régis Hanol cd06224e82 TRIVIAL: fix flag disposition auto messages 2014-07-29 09:27:53 +02:00
Erick Guan faaecabc62 typo 2014-07-29 11:22:28 +08:00
Régis Hanol bddffa7f9a FEATURE: flag dispositions normalization
All flags should end up in one of the three dispositions
  - Agree
  - Disagree
  - Defer

In the administration area, the *active* flags section displays 4 buttons
  - Agree (hide post + send PM)
  - Disagree
  - Defer
  - Delete

Clicking "Delete" will open a modal that offer to
  - Delete Post & Defer Flags
  - Delete Post & Agree with Flags
  - Delete Spammer (if available)

When the flag has a list associated, the list will now display 1
response and 1 reply and a "show more..." link if there are more in the
conversation. Replying to the conversation will NOT give a disposition.
Moderators must click the buttons that does that.

If someone clicks one buttons, this will add a default moderator message
from that moderator saying what happened.

The *old* flags section now displays the proper dispositions and is
super duper fast (no more N+9999 queries).

FIX: the old list includes deleted topics
FIX: the lists now properly display the topic states (deleted, closed,
archived, hidden, PM)
FIX: flagging a topic that you've already flagged the first post
2014-07-28 19:28:07 +02:00
Sam 32cea9d8cc Feature: Show keyboard shortcuts link on desktop hamburger
(only shows up for desktop, hides "mobile view")

If you really need mobile view add ?mobile_view=1 to end of URL (also fixed)
2014-07-28 11:48:56 +10:00
Sam 1a6aa07611 FEATURE: editable badge groups 2014-07-27 18:22:01 +10:00
Ben Lubar 44dc4b4a17 add profile option for edit history, visible only when edit history is disabled globally. 2014-07-26 23:04:46 -05:00
Neil Lalonde 46bdd13491 FIX: too_few_topics_notice check and message should use basic_requires_read_posts site setting 2014-07-25 15:58:22 -04:00
Neil Lalonde 5a33e6f00c Move FAQ, Terms of Service, and Privacy Policy into topics in the Staff category. First post of those topics will be rendered on their respective pages. Site settings and content are not used for these documents anymore. Translations of the default text is moved into the standard YML files. 2014-07-25 14:41:20 -04:00
Arpit Jalan 2413da4157 Update translations 2014-07-25 19:05:28 +05:30
Sam ec03d135fa FEATURE: allow advanced badge options in admin screen
clean up serializer, allow simplistic preview
2014-07-24 18:28:23 +10:00
Sam 526da15b9e Improve badge UI add links to badge descriptions 2014-07-24 12:21:24 +10:00
Neil Lalonde b4ad70d767 FEATURE: Continue to Discourse links are now buttons, and those pages will redirect automatically after 5 seconds 2014-07-23 12:32:12 -04:00
Jeff Atwood fc1fa2d104 Caps Lock clearly needs more exclamation sign 2014-07-22 21:15:54 -07:00
Sam b9a7d945c3 Improve badge grouping UI
Start work on triggers
2014-07-23 11:43:17 +10:00
Jeff Atwood aad5d439d0 we were burying the lede on hide flag notify 2014-07-22 16:12:40 -07:00
Robin Ward c004ad1d51 Merge pull request #2563 from techAPJ/patch-2
FEATURE: group name is required for private topic invite
2014-07-22 14:44:26 -04:00
Arpit Jalan e7e823129e FEATURE: group name is required for private topic invite 2014-07-23 00:03:15 +05:30
Neil Lalonde 386b6213a5 FEATURE: warn when caps lock is on during password input 2014-07-22 13:53:58 -04:00
Jeff Atwood b3316b9f68 minor copy error 2014-07-22 01:46:58 -07:00
Jeff Atwood 5efca54bee yet more New User Welcome Tip edits 2014-07-21 23:45:04 -07:00
Jeff Atwood a82cad78af more New User Welcome Tip improvements 2014-07-21 22:16:10 -07:00
Jeff Atwood a4cdf33b22 don't need giant screenshot there 2014-07-21 16:52:49 -07:00
Jeff Atwood 7f55a6b78c improved New User Welcome tips with pictures 2014-07-21 16:42:07 -07:00
Jeff Atwood 880c16982b add note about possibly losing TL3 designation 2014-07-21 15:26:10 -07:00
Neil Lalonde 7c898f2e61 FIX: topic_exists_no_oldest translation 2014-07-21 10:36:41 -04:00
Robin Ward da717c55d7 FEATURE: Like button should act like a toggle and stay there once you've
clicked it.
2014-07-18 17:01:27 -04:00
Sam ed6766ccad FEATURE: push Reader up to 100 2014-07-18 15:57:03 +10:00
Sam c8284170ad FEATURE: badge grouping UI
FIX: not loading more badges on badge show page
2014-07-18 15:46:36 +10:00
Robin Ward 3265360ff7 Merge pull request #2546 from riking/hide_deleted
Hide deleted posts by default for staff
2014-07-17 13:40:58 -04: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 17db265b41 Remove use of email_in_address and email_in_category 2014-07-17 10:25:13 -07:00
Jeff Atwood f2093fb4de omit needless words 2014-07-17 03:00:29 -07:00
Sam 1713fd4b59 Add localization for moderators snooping through PMs 2014-07-17 18:01:17 +10:00
Régis Hanol abf97db7ad Merge pull request #2552 from techAPJ/patch-1
Update translations
2014-07-17 09:36:53 +02:00
Sam e8ca1a2469 FEATURE: allow overriding badge names
FEATURE: allow html in badge description
2014-07-17 16:11:09 +10:00
Arpit Jalan 37981fb258 Update translations 2014-07-17 10:33:49 +05:30
Erick Guan 9c233073f2 Saved draft tip is more likely a `bar` instead of `box`. 2014-07-17 09:59:49 +08:00
Régis Hanol f43293a7bc FEATURE: replace 'deleted by' with the trashcan glyph 2014-07-16 22:38:39 +02:00
Neil Lalonde 5c70d878a7 FEATURE: show a reason why a category can't be deleted 2014-07-16 15:43:51 -04:00
Neil Lalonde 939e8505a9 Remove hub username integration 2014-07-16 12:25:24 -04:00
Sam 5ad519e2bc Rename Read Faq, Read Guidelines 2014-07-16 17:55:08 +10:00
Robin Ward f2dd35ab08 Improve the unsubscribe to digest experience. Give a link in case it
fails, provide a different message if you are logged in as a different
user, increase expiry to 2 months from 1 week.
2014-07-15 17:20:59 -04:00
Robin Ward c6df00a5cc FIX: You shouldn't be able to add a parent to `Uncategorized` 2014-07-15 15:19:39 -04:00
Sam 4c25fedf70 FEATURE: Reader badge
Read a every post in a topic that if 50 posts or longer
2014-07-15 15:16:41 +10:00
Jeff Atwood 1d717088c3 improve test email copy help 2014-07-14 17:01:22 -07:00
Neil Lalonde 4f6d5d9215 FEATURE: add site settings rate_limit_new_user_create_topic and rate_limit_new_user_create_post to have different rate limits for topic and post creation for new users 2014-07-14 16:58:16 -04:00
Jeff Atwood 6412958d1e make Send Test Email easier to see 2014-07-14 13:58:06 -07:00
Neil Lalonde 766196af87 FEATURE: add site setting allow_new_registrations which can be used to block all new account registrations 2014-07-14 15:42:22 -04:00
Neil Lalonde 42dcb77d93 FEATURE: add site setting leader_links_no_follow to control whether users with trust level 3 or higher have nofollow on their links 2014-07-14 13:34:29 -04:00
Robin Ward cce7cf8c85 FEATURE: Require Javascript to activate an account via email link 2014-07-14 12:26:10 -04:00
Gary Windham 3f6bd0606a support for EC2 IAM roles with Amazon S3 file store/backup 2014-07-14 09:14:16 -07:00
Sam 4a2cc269ab FIX: allow selection of no title 2014-07-14 18:07:07 +10:00
Sam 88469721b9 FEATURE: Allow admins to disable specific badges 2014-07-14 17:40:36 +10:00
Jeff Atwood 49dbded250 remove title_sanitize setting 2014-07-14 00:18:02 -07:00
Jeff Atwood a9ff3ab9ff copyedit pass on all Site Settings 2014-07-14 00:03:06 -07:00
Jeff Atwood b2d17a09ff missing translation for new site settings category 2014-07-13 13:43:44 -07:00
Jeff Atwood 2a40c04480 don't need "new" here 2014-07-13 02:54:39 -07:00
Jeff Atwood 4093120ddf distinct FAQ vs guidelines copy 2014-07-11 23:49:51 -07:00
Régis Hanol edba5c631f FEATURE: reject accounts created with an email address similar to a known spammer email 2014-07-12 01:59:43 +02:00
Régis Hanol b526cdc55c Revert "FEATURE: reject accounts created with an email address similar to a known spammer email"
This reverts commit 39be48a441.

Conflicts:
	spec/models/screened_email_spec.rb
2014-07-12 01:01:37 +02:00
Régis Hanol 39be48a441 FEATURE: reject accounts created with an email address similar to a known spammer email 2014-07-11 15:09:46 +02:00
Sam 833c50c460 FEATURE: Read Faq badge 2014-07-11 17:32:29 +10:00
Sam 89fc989adb FEATURE: First Quote badge 2014-07-11 14:17:43 +10:00
Jeff Atwood ed3bebfebe switch /faq to /guidelines in a bunch of places 2014-07-10 15:30:58 -07:00
Jeff Atwood 93c4067ab3 initial "Welcome to the Lounge" copyedit 2014-07-10 14:08:09 -07:00
Arpit Jalan 842f317d62 Update translations 2014-07-11 01:37:19 +05:30
Neil Lalonde fd55a3fd66 FEATURE: add a welcome topic to the Lounge category. Copy needs to be improved. 2014-07-10 15:13:18 -04:00
Neil Lalonde e565ae2528 FEATURE: /guidelines route will always show our FAQ, ignoring the faq_url site setting 2014-07-10 12:58:41 -04:00
Neil Lalonde 21d3785622 Merge pull request #2517 from ninjasphere/fix_avatar_refresh_task_name
FIX: avatars:regenerate rake task is now avatars:refresh
2014-07-10 11:31:52 -04:00
Neil Lalonde c6a313d458 Seed categories with capitalized names 2014-07-10 11:28:49 -04:00
Jeff Atwood a56db77172 copyedit 2014-07-10 00:43:41 -07:00
Jeff Atwood e4a7f652cc grammar tweak. It's shorter too! 2014-07-09 23:08:01 -07:00
Jeff Atwood 4654bb3688 Merge pull request #2524 from techAPJ/patch-3
Improve invite email copy
2014-07-09 22:47:23 -07:00
Jeff Atwood 3deba15c18 minor copyedits 2014-07-09 22:35:50 -07:00
Arpit Jalan 2f6c984c8c Improve invite email copy 2014-07-10 10:57:40 +05:30
Jeff Atwood 95282a4c6d add badge glyph to edit button 2014-07-09 22:01:03 -07:00
Arpit Jalan 8395da5bd0 FIX: include topic title and domain name in topic invite mail 2014-07-10 10:05:28 +05:30
Sam 2f8d139ec0 BUGFIX: incorrect ordering in category permissions
FEATURE: UI for categories that we allow badges on
2014-07-10 12:02:16 +10:00
Sam 928848c0a8 FEATURE: First Link badge 2014-07-10 12:02:16 +10:00
Neil Lalonde 362adb0498 FIX: add site setting email_site_title, which overrides title in reply by email address in case the title has invalid characters 2014-07-09 16:44:18 -04:00
Jeff Atwood 0a643353cf slight improvements to invite email copy 2014-07-09 12:57:04 -07:00
Jeff Atwood 71b18ce5e2 minor copyedit on invites 2014-07-09 12:45:01 -07:00
Arpit Jalan 223bbc3da3 FEATURE: include topic context in topic invite 2014-07-09 21:23:20 +05:30
Sam 9c14385a86 FEATURE: explain which badges can be titles 2014-07-09 16:03:53 +10:00
Sam e32e96dabb FEATURE: new badges
- Pay it forward renamed to first like
- First flag
- First share
2014-07-09 12:17:39 +10:00
Jeff Atwood 0317e503b3 minor copyedit 2014-07-08 17:00:50 -07:00
Jeff Atwood 1c3dff2013 we don't use %{site_password} any more 2014-07-08 16:58:39 -07:00
Neil Lalonde df8b25d2f5 FEATURE: don't demote trust level 3 users who were promoted less than SiteSetting.leader_promotion_min_duration days ago 2014-07-08 17:39:49 -04:00
Jeff Atwood fd36142895 minor copyedit on email-in 2014-07-08 12:16:08 -07:00
Jeff Atwood aca592b99c a few copyedits on bulk user invites 2014-07-08 11:09:43 -07:00
Jeff Atwood 432f055315 none of this em@ail.com nonsense 2014-07-08 10:23:18 -07:00
Jeff Atwood b175eee89f semi-colon-ing it up 2014-07-08 00:04:01 -07:00
Jeff Atwood e407c3df71 better copy for summarize topic 2014-07-07 22:26:32 -07:00
Elliot Shepherd 2762bc7be5 FIX: avatars:regenerate rake task is now avatars:refresh 2014-07-08 15:17:48 +10:00
Sam 81682b74b7 Feature: Paying it forward badge 2014-07-08 14:26:53 +10:00
Régis Hanol 59b5ba7c0f BUGFIX: IP lookup wasn't working when using HTTPS
REFACTOR: the ip locator into a ip-lookup component
2014-07-07 22:18:18 +02:00
Sam 0f25bbeaf7 FEATURE: Editor badge 2014-07-07 17:55:40 +10:00
riking 680f057d8b Add notes about invites to SSO and local login settings 2014-07-05 12:55:48 -07:00
Jeff Atwood 8de5f014fc FEATURE: fit a bit more on the progress bar 2014-07-04 02:44:49 -07:00
Sam 5b310c21b4 FIX: less crazy error when post exceeds max length. 2014-07-04 16:39:15 +10:00
Jeff Atwood 35bd25c626 very minor copyedit 2014-07-03 16:50:03 -07:00
Jeff Atwood c74e60ec51 add Discourse site link to version emails 2014-07-03 12:53:00 -07:00
Jeff Atwood fba2a00265 very minor copy update 2014-07-03 12:50:50 -07:00
riking 0d4163e0a2 FEATURE: Nice error handling page 2014-07-03 07:52:14 -07:00
Sam 0de564f598 Correct reqs 2014-07-03 22:34:45 +10:00
Sam 6bbb083d47 FEATURE: support "unlisted" badges. 2014-07-03 17:44:36 +10:00
Sam db34b534e6 Merge pull request #2494 from techAPJ/bulk-invite-4
FEATURE: support txt file to be uploaded for bulk invite
2014-07-03 17:33:16 +10:00
Sam 9a9ad9bda8 FEATURE: Badge progress
- Refactor model so it stores backfill query
- Implement autobiographer
- Remove sample badge
- Correct featured badges to only include a badge once
2014-07-03 17:29:44 +10:00
Jeff Atwood 162b5abae6 don't need thanks here 2014-07-02 15:13:34 -07:00
Neil Lalonde 337630a216 Update translations 2014-07-02 16:42:59 -04:00
Arpit Jalan 85ba55dc26 FEATURE: support txt file to be uploaded for bulk invite 2014-07-02 19:21:15 +05:30
Jeff Atwood df59f0a6e1 add one more SPF syntax link to email test 2014-07-02 01:03:30 -07:00
Jeff Atwood 89adbae3ca better email deliverability guidance 2014-07-02 01:01:04 -07:00
Sam 60d93a62f6 FIX: tighten up email token durations 2014-07-02 09:08:25 +10:00
Jeff Atwood c40d999407 better generic "posting error" in email replies 2014-07-01 15:40:12 -07:00
Robin Ward 1f829c4e70 WIP: New site setting to show subcategory list on category list 2014-07-01 17:12:03 -04:00
Jeff Atwood 7f817526c6 better copy for site update notice modal 2014-07-01 13:10:40 -07:00
Neil Lalonde 292e9bb611 TL3: Add requirements for min all-time topics viewed, and min all-time posts read 2014-07-01 13:34:57 -04:00
Robin Ward d9e583af1a FEATURE: Add new site setting to restrict how many times you can click on an
invite to "passthrough" as logged in, with a default of 0 hours. Also changes
default invite expiry from 7 days to 1.
2014-07-01 12:52:52 -04:00
Jeff Atwood a60a1c0181 we were burying the lede on Tracking, update copy 2014-07-01 02:27:57 -07:00
Jeff Atwood 0847767a7f marked? wtf, we mean "flagged" 2014-06-30 22:51:30 -07:00
Régis Hanol 15120bb583 FEATURE: add staff counters on user profile 2014-06-30 22:46:47 +02:00
Robin Ward e22688a204 FEATURE: Can upload images to categories 2014-06-30 14:14:00 -04:00
Robin Ward 4088fba4f2 REFACTOR: Convert profile background uploader to be an ember component 2014-06-30 14:13:59 -04:00
Régis Hanol dcd0b8fecf BUGFIX: no translation for email_error_notifications to admin users 2014-06-30 15:21:26 +02:00
Arpit Jalan 923fa4646b Update Translations 2014-06-30 16:21:43 +05:30
Neil Lalonde 807bfbd9bb FEATURE: Trust level 3 promotion and demotion. Job is disabled for now. 2014-06-27 18:42:03 -04:00
Robin Ward 386a45aab7 Merge pull request #2479 from vikhyat/badge-system
Badge system updates
2014-06-27 15:09:04 -04:00
riking da9048f3ea Fix email code & tests 2014-06-27 12:04:31 -07:00
Jeff Atwood 0051cd8919 better copy for email errors 2014-06-26 16:05:14 -07:00
Neil Lalonde b69bc5a5f5 Trust level 3 measurements redone 2014-06-26 17:33:22 -04:00
Arpit Jalan dad2d34d02 Refactor methods post feedback 2014-06-26 22:50:09 +05:30
Sam 67804cb56b Merge pull request #2465 from riking/email_rejections
Give specific message for each kind of email rejection
2014-06-26 09:55:24 +10:00
Jeff Atwood 18a2e7901e add note about dupe spf and txt records 2014-06-25 13:38:41 -07:00
Neil Lalonde 27fb65b562 Add uncategorized_description site setting 2014-06-24 17:45:34 -04:00
Jeff Atwood 2d2e12fd08 minor copyedits on 404 page 2014-06-24 13:16:22 -07:00
Jeff Atwood d7fe4d4997 minor copyedit 2014-06-24 02:29:26 -07:00
Sam c23a4fcbee FEATURE: flag resolution in admin screen 2014-06-24 13:20:57 +10: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
Jeff Atwood 30cf666f88 clarify feed polling is for embedding 2014-06-23 16:22:32 -07:00
Neil Lalonde 4321ccd761 Add a note to pop3s_polling_period_mins saying that it requires restart 2014-06-23 10:54:53 -04:00
Neil Lalonde 6aa44fd412 Merge pull request #2461 from peternlewis/pop3s_polling_period_mins
Add a SiteSetting to control the pop3 polling period.
2014-06-23 10:48:40 -04:00
Jeff Atwood 071d47ded9 minor copyedits on new account page 2014-06-23 00:36:55 -07:00