Commit graph

1383 commits

Author SHA1 Message Date
Akshay S Dinesh
77f49e1136 Fix typos in descriptions of server source file
I used hunspell backend with linter-spell plugin of atom to find
these typos. There are several capitalizations issues that I've
left untouched (pop3, POP3, etc)
2016-07-25 20:45:43 +05:30
Sam
df535c6346 FEATURE: refresh session cookie at most once an hour
This feature ensures session cookie lifespan is extended
when user is online.

Also decreases session timeout from 90 to 60 days.
Ensures all users (including logged on ones) get expiring sessions.
2016-07-25 12:07:31 +10:00
Arpit Jalan
a9207dafa7 FEATURE: configure session time via site setting for all the users (#4343) 2016-07-23 02:57:30 +05:30
Guo Xiang Tan
1adfa0a4b5 FEATURE: Add SiteSetting to disable readonly mode during backup. 2016-07-19 17:44:04 +08:00
Guo Xiang Tan
1ea1cefb35 Extract Nginx log analyzer into a plugin that ships with Discourse. 2016-07-19 15:44:00 +08:00
Jeff Atwood
d4161c6bce mark old ga.js settings obselete in help text 2016-07-18 01:58:22 -07:00
Sam Saffron
46b34e3c62 FEATURE: remove user option for edit history public
Users can no longer opt-in for "public" edit history
if site owner disables it.

This feature adds cost and complexity to post rendering since
user options need to be premeptively loaded for every user in the
stream. It is also confusing to explain to communities with private edit
history.
2016-07-16 21:30:00 +10:00
Jeff Atwood
2ded524b5a remove direct sendgrid link as it is a spam signal 2016-07-14 19:00:10 -07:00
Neil Lalonde
ba637e40b6 FEATURE: Google Tag Manager Universal Analytics support 2016-07-14 16:35:20 -04:00
Guo Xiang Tan
5fed886c8f FIX: Update post replies when we move posts. (#4324) 2016-07-13 17:34:21 +02:00
Sam Saffron
dbc25a9d64 FEATURE: flags for suppressing pinned expansion
To suppress pinned excerpt expansion
on mobile set "show_pinned_excerpt_mobile" to false

To suppress pinned excerpt expansion
on desktop set "show_pinned_excerpt_desktop" to false
2016-07-12 13:53:59 +10:00
Robin Ward
5f91919663 Email support for watching first post 2016-07-07 12:23:19 -04:00
Robin Ward
2005565c9c Server side code for Watching First Post Only 2016-07-07 11:21:50 -04:00
Arpit Jalan
2facb6190f FEATURE: new site setting download_remote_images_max_days_old 2016-07-06 19:33:51 +05:30
Sam
468244e418 remove uneeded copy 2016-07-04 09:53:19 +10:00
Arpit Jalan
2f3ee3b658 FEATURE: new site setting suggested_topics_max_days_old 2016-07-03 15:07:56 +05:30
Guo Xiang Tan
8db3ab5f2a Merge pull request #4292 from tgxworld/rename_use_https_to_force_https
Rename `SiteSetting#use_https` to `force_https`.
2016-06-29 15:17:57 +08:00
Guo Xiang Tan
20359788dc
Rename SiteSetting#use_https to force_https. 2016-06-29 15:02:43 +08:00
Sam
f88cf4e2f0 Merge pull request #4226 from xfalcox/non-persistent-session
FEATURE: add setting permanent_session_cookie to configure session st…
2016-06-29 16:47:31 +10:00
Sam
4b7b80a5c2 Merge pull request #4259 from tgxworld/update_dependencies
Update dependencies
2016-06-29 12:20:18 +10:00
Régis Hanol
214f5bff5c don't send more than 1 reply per day to auto-generated emails 2016-06-28 16:42:05 +02:00
Jeff Atwood
db1b0e2235 minor copyedit 2016-06-26 23:34:40 -07:00
Arpit Jalan
83309752ae FEATURE: new site setting 'code formatting style' 2016-06-27 01:00:11 +05:30
Jeff Atwood
bb1fdd8134 very minor copyedit 2016-06-20 17:16:34 -07:00
Jeff Atwood
6cc63592f7 better copy on max topics/replies in first day 2016-06-20 16:24:08 -07:00
Jeff Atwood
8d60e09fc4 minor copyedit 2016-06-17 14:53:07 -07:00
Jeff Atwood
d374913547 very minor unsubscribe copyedits 2016-06-17 12:23:36 -07:00
Sam
852860de66 FEATURE: simpler and friendlier unsubscribe workflow
- All unsubscribes go to the exact same page
- You may unsubscribe from watching a category on that page
- You no longer need to be logged in to unsubscribe from a topic
- Simplified footer on emails
2016-06-17 11:28:49 +10:00
Jeff Atwood
1ca52615a6 very minor copyedit 2016-06-16 01:53:44 -07:00
Guo Xiang Tan
23e32839b0 Merge pull request #4258 from gschlager/i18n
Add notes to date and number formats to help translators
2016-06-16 10:29:01 +08:00
Neil Lalonde
d62f2b4d67 UX: rename setting num_flags_to_block_new_user to num_spam_flags_to_block_new_user 2016-06-15 13:19:06 -04:00
Régis Hanol
e97e0bb311 FEATURE: new FirstReplyByEmail bronze badge 2016-06-13 15:37:14 +02:00
Jeff Atwood
3de2d7a003 better invite copy 2016-06-12 03:02:07 -07:00
Jeff Atwood
73859e8315 revise new user welcome for 1.6 2016-06-10 23:54:52 -07:00
Régis Hanol
dffe50a2e6 new alternative reply by email addresses 2016-06-10 16:14:42 +02:00
Guo Xiang Tan
09b92dd345
Bump minimum Ruby version to 2.3. 2016-06-10 11:40:42 +08:00
Jeff Atwood
a4e705648b "digest" is now "summary" 2016-06-09 17:38:49 -07:00
Gerhard Schlager
c97bc851cf
Add notes to date and number formats to help translators 2016-06-09 20:58:12 +02:00
Arpit Jalan
40e9e1be66 FEATURE: user-friendly custom message 2016-06-08 18:23:22 +05:30
Jeff Atwood
dd3ddce448 add copy and settings for TL3 blocks 2016-06-07 23:42:30 -07:00
Sam
4bf3fa5356 FEATURE: allow admins to prioritize full name vs username in the UI
Use the site setting prioritize_username_in_ux to switch between prioritizing
the full name vs username
2016-06-08 14:29:24 +10:00
Régis Hanol
75c20640fe tell the user it should be the secret key 2016-06-07 01:33:15 +02:00
Jeff Atwood
9a5a55d9ef slightly better review email notify copy 2016-06-05 12:38:37 -07:00
Régis Hanol
99ad251731 different email footer when mailing_list_mode is enabled 2016-06-03 15:48:54 +02:00
Guo Xiang Tan
8817b00a4c Merge pull request #4173 from fantasticfears/locale
Add translation for topic title and remove dangling validation
2016-06-02 17:18:48 +08:00
Jeff Atwood
2bebc383b1 better copy on disable PM setting 2016-05-31 17:36:11 -07:00
Jeff Atwood
b86eaa08a4 better copy on unsub via email setting 2016-05-31 12:28:23 -07:00
Régis Hanol
116efffdaa FEATURE: webhooks support for mailgun 2016-05-30 17:11:17 +02:00
Neil Lalonde
05c8bca222 show tags usage in search options 2016-05-27 15:02:43 -04:00
Jeff Atwood
17ebcdd413 very minor typo 2016-05-26 15:05:44 -07:00
David McClure
a92fd9d701 Add Site Setting to use HTML from incoming email when available. (#4236) 2016-05-26 10:13:01 +02:00
Neil Lalonde
a4cd068481 FEATURE: add caps to trust level 3 requirements for posts read and topics viewed, configurable in settings 2016-05-25 14:55:49 -04:00
Régis Hanol
32d253d484 remove 'crop_tall_images' site setting but keep the behavior 2016-05-23 16:42:19 +02:00
Régis Hanol
667dd54a23 FEATURE: new 'crop_tall_images' site setting 2016-05-23 16:18:30 +02:00
James Kiesel
feffe23cc5 FEATURE: More granular mailing list mode (#4068)
* Rearrange frontend to account for mailing list mode

* Allow update of user preference for mailing list frequency

* Add mailing list frequency estimate

* Simplify frequency estimate; disable activity summary for mailing list mode

* Remove combined updates

* Add specs for enqueue mailing list mode job

* Write mailing list method for mailer

* Fix linting error

* Account for stale topics

* Add translations for default mailing list setting

* One query for mailing list topics

* Fix failing spec

* WIP

* Flesh out html template

* First pass at text-based mailing list summary

* Add user avatar

* Properly format posts for mailing list

* Move make_all_links_absolute into Email::Styles

* Apply first_seen_at to user

* Send mailing list email summary hourly based on first_seen_at

* Branch and test cleanup

* Use existing mailing list mode estimate

* Fix failing specs
2016-05-21 15:17:54 +02:00
Jeff Atwood
ba447bdca5 missed a spot 2016-05-18 17:25:31 -07:00
Jeff Atwood
75e2ea0137 UX: change "API Requests" to "Pageviews"
we are confident about these numbers now, so we can use the common name
2016-05-18 17:23:14 -07:00
Régis Hanol
c75d58ab21 FEATURE: new 'ignore_by_title' site setting 2016-05-18 23:07:01 +02:00
Jeff Atwood
69dc706ba1 add better advice copy for use_https setting 2016-05-18 13:49:59 -07:00
Guo Xiang Tan
b68860ee28 FIX: Do not send email when user of the post has been deleted. (#4228) 2016-05-17 17:42:15 +02:00
Erick Guan
9ace919f7c
Add translation for topic title and remove dangling validation translation 2016-05-17 15:19:08 +02:00
Rafael dos Santos Silva
09ef5f613e FEATURE: add setting permanent_session_cookie to configure session stickiness
Now admins can turn make the login cookie die after the browser is closed, so the user needs to log in everytime.
2016-05-17 01:12:09 -03:00
Jeff Atwood
3f0abb7c17 bad checkin, somehow :( 2016-05-16 15:25:41 -07:00
Jeff Atwood
90a147682c FIX: long desc for reciprocation badges inaccurate 2016-05-16 15:25:41 -07:00
Régis Hanol
5f76287b18 FEATURE: cap number of staged users (defaults to 10) created per incoming email 2016-05-16 21:45:34 +02:00
Jeff Atwood
fe5b0cf36f further soften new user block copy 2016-05-13 15:11:35 -07:00
Régis Hanol
4fe96974c8 better 'bounce_score_threshold' site setting description 2016-05-13 10:58:44 +02:00
Arpit Jalan
5b030017d9 FEATURE: new search filter in:wiki 2016-05-13 13:56:53 +05:30
Arpit Jalan
00893ef1de FEATURE: new search filter - @username 2016-05-12 14:26:26 +05:30
Arpit Jalan
4d48a1dd79 add search help text for #category-slug filter 2016-05-11 15:57:31 +05:30
Régis Hanol
1e57bbf5c8 Lots bounce emails related fixes
- Show bounce score on user admin page
- Added reset bounce score button on user admin page
- Only whitelisted email types are sent to emails with high bounce score
- FIX: properly detect bounces even when there is no TO: header in the email
- Don't desactivate a user when reaching the bounce threshold
2016-05-06 19:34:33 +02:00
Jeff Atwood
24a49daa71 emphasize the upgrade link and how easy 2016-05-04 23:36:50 -07:00
Neil Lalonde
c1aded8b64 FIX: crawler view of tags index page 2016-05-03 16:10:12 -04:00
Régis Hanol
8e611ec7a1 FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
Neil Lalonde
83c092af64 fix duplicate i18n key 2016-04-27 12:23:29 -04:00
Neil Lalonde
e5918c7d00 FEATURE: Merge tagging plugin into core 2016-04-27 11:58:53 -04:00
Arpit Jalan
74b3807f60 FEATURE: new bootstrap mode settings for brand new Discourse community (#4193)
* FEATURE: new bootstrap mode settings for brand new Discourse community

* new SiteSetting.set_and_log method
2016-04-26 13:08:19 -04:00
Régis Hanol
2194ccec6e slightly better automatic flag reason messages 2016-04-25 23:03:17 +02:00
Régis Hanol
84d4ebd910 use 'reply_by_email_address' setting for handling bounce emails using VERP 2016-04-25 20:06:45 +02:00
John Britton
53b2b02527 Update Google Ajax-Crawling API documentation url 2016-04-22 11:15:56 +01:00
Dean Taylor
f7d0e8461d Minor spelling mistake and language consistency
"Return" instead of "Return".
"unactivated" changed to "deactivated".
Mostly "cannot" is currently used, changed existing "can not" occurrences.
"there was no attachments" to "there were no attachments".
2016-04-21 02:23:58 +01:00
Tobias Eigen
775efee53b Update server.en.yml
changed "free generous free plan" to "generous free plan" in the email deliverability test. slightly redundant. ;-)
2016-04-20 14:23:04 -07:00
Régis Hanol
4960b62110 FEATURE: new 'block_auto_generated_emails' site setting 2016-04-20 21:29:27 +02:00
Jeff Atwood
c4cf057d07 kinder, gentler copy for account block autonotifies 2016-04-19 00:44:46 -07:00
Régis Hanol
7d9f2265b9 FIX: improve support for handling emails coming from screened email addresses 2016-04-18 23:01:54 +02:00
Jeff Atwood
d086151a78 fix broken DKIM checker link 2016-04-18 13:49:49 -07:00
David García-Navas López de Cuéllar
7e0ee2a931 [CI SKIP] Little typo. 2016-04-18 16:43:16 +02:00
Sam
fad017d842 FEATURE: add support for bounce emails
We now optionally add a Variable Email Return Path to every email we send.
This allows us to cleanly handle email bounces, which in turn will improve
deliverability.
2016-04-18 17:14:01 +10:00
Régis Hanol
4d9c81fde7 Merge pull request #4148 from tgxworld/dont_reply_to_emails_that_are_autogenerated
FIX: Don't send rejection mailer to bounced emails.
2016-04-13 15:36:14 +02:00
Jeff Atwood
36683da8b6 somehow git missed this file 2016-04-12 13:29:47 -07:00
Jeff Atwood
2258dbd232 badge copyedits 2016-04-12 12:56:48 -07:00
Robin Ward
0396b14b70
FEATURE: New "First Onebox" badge 2016-04-12 15:31:14 -04:00
Jeff Atwood
04c1d37e63 some copyedits on autoclose and new badges 2016-04-12 12:26:06 -07:00
Sam
0113fce420 FEATURE: automatically close topics with 10k+ posts
FEATURE: automatically close messages with 2k+ posts

Both configurable via `auto_close_messages_post_count`
and `auto_close_topics_post_count`
2016-04-12 13:29:48 +10:00
Régis Hanol
56089c4856 FEATURE: new 'auto_generated_whitelist' site setting 2016-04-11 22:47:34 +02:00
Neil Lalonde
a299231f9a FEATURE: add setting to omit category name from topic page title tag 2016-04-11 16:44:16 -04:00
Régis Hanol
a359a973e2 remove useless content when sending email to a staged used 2016-04-11 19:06:10 +02:00
Régis Hanol
e4980392da improve receiver specs to account for posts approval 2016-04-11 18:20:26 +02:00
Sam
030fb71f60 add missing localizations 2016-04-09 10:07:11 +10:00
Neil Lalonde
7f0b1691c4 FEATURE: add pop3 timeouts and auth errors to admin dashboard. Admins will get notified along with other problems. 2016-04-08 17:33:47 -04:00