Commit graph

1072 commits

Author SHA1 Message Date
Neil Lalonde
eaa1afeaf5 remove Google OpenID auth, since Google doesn't support it anymore 2015-05-25 15:13:44 -04:00
Régis Hanol
bb0c2813ac FEATURE: generate (avatar) thumbnails in a background task
FIX: keep the "uploading..." indicator until the server replies via the MessageBus
FIX: text was disapearing when uploading an avatar

PERF: always use a region for S3 (defaults to 'us-east-1')
FEATURE: ApplyCDN middleware when using S3
FIX: use the same pattern to store files on S3 and locally
PERF: keep a local cache of uploads when generating thumbnails
FEATURE: migrate_to_s3 rake task
2015-05-25 17:59:00 +02:00
Régis Hanol
d40d308e45 Merge pull request #3445 from lukegb/bug/anonymous-emails
Don't send emails to anonymous users
2015-05-15 14:28:37 +02:00
Arpit Jalan
4324a157e0 FIX: rate limit topic invitations 2015-05-13 14:44:37 +05:30
Sam
5ef641126f remove s3 deprecation warning, we will continue to support it 2015-05-12 08:27:25 +10:00
Luke Granger-Brown
9f9825bb6b FIX: don't send emails to anonymous users
Also changes behaviour of real to not return anonymous users.

This means user counts will no longer include them, and the
mailing list system will ignore them even if they somehow end up
with the feature turned on.
2015-05-11 00:56:34 +01:00
Sam
77cc087b13 FIX: proper error message when account created is hit with no session 2015-05-07 11:00:22 +10:00
Erick Guan
b772ff6e13 FEATURE: add slug geneartion options 2015-05-05 18:08:30 +08:00
Jeff Atwood
b84c4ef0c6 add warning around must_approve_users 2015-05-04 11:33:03 -07:00
Jeff Atwood
8f706f11cb remove trust level reference from flag unhide PM 2015-05-04 01:19:04 -07:00
Jeff Atwood
80003e0821 improve copy for password change token expired 2015-05-01 01:39:53 -07:00
Jeff Atwood
bafcfa5b6a Improve password reset expired link copy 2015-05-01 01:30:13 -07:00
Jeff Atwood
7c42cb7c22 "reset password" doesn't exist, forgot does. 2015-05-01 00:52:50 -07:00
Jeff Atwood
6139090e9e improvement to accept invite password instructions 2015-05-01 00:51:17 -07:00
Sam
729aaa826b Merge pull request #3404 from techAPJ/patch-1
FEATURE: magic login route for admin when SSO is enabled
2015-04-28 07:47:50 +10:00
Robin Ward
ecafbb0a63 Can delete users via the moderation queue 2015-04-27 15:06:20 -04:00
Arpit Jalan
2932284293 FEATURE: magic login route for admin when SSO is enabled 2015-04-27 22:54:48 +05:30
Jeff Atwood
444fe5757d improve new topic copy 2015-04-21 17:10:49 -07:00
Jeff Atwood
dac4c646d5 add warning on default trust level 2015-04-17 15:29:40 -07:00
Robin Ward
a61c202ac4 Rewrite /private-messages to /messages 2015-04-17 12:01:50 -04:00
Arpit Jalan
866d1cd8e3 FIX: handle error for duplicate email_in address 2015-04-16 16:23:22 +05:30
Sam
a5b25ad2af FEATURE: scale up likes per day as users increase trust level
tl2 = 1.5 times the likes
tl3 = 2 times the likes
tl4 = 3 times the likes

configurable via tl[234]_additional_likes_per_day_multiplier site setting
2015-04-16 09:44:30 +10:00
Jeff Atwood
17696e8c6f Merge pull request #3379 from betson/pipe-delimited-indicator
indicate that lists can be pasted if pipe-delimited
2015-04-15 14:06:48 -07:00
Neil Lalonde
dcb9d6e16a remove queue_size_check 2015-04-15 15:52:39 -04:00
Robin Ward
af1571a58f Site Settings for post approval 2015-04-15 14:54:37 -04:00
betson
b28a004413 indicate that lists can be pasted if pipe-delimited
In the configuration for a list-setting component, the Select2 component is initialized with a pipe ("|") as the separator. (app/assets/javascripts/admin/components/list-setting.js.es6)

This should be communicated to the user in the event they want to paste a list of domains for the blacklist/whitelist.
2015-04-15 11:42:39 -04:00
Arpit Jalan
499bed69e2 FIX: show error message if user already exist in group 2015-04-15 14:15:58 +05:30
Arpit Jalan
e6df97f01d FIX: add email reply error message for topic not getting created in restricted category 2015-04-10 17:11:52 +05:30
Sam
4bfca12b11 FEATURE: anonymous_account_duration_minutes , cycle anon accounts after N minutes from last post
fixes it so anon users can not like stuff
2015-04-08 12:30:02 +10:00
Sam
f5d89169e2 FEATURE: initial implemenation of anonymous posting mode 2015-04-07 18:05:31 +10:00
Arpit Jalan
d5db44da87 FIX: include topic excerpt in topic/message invite mail for existing user 2015-04-07 12:02:04 +05:30
Régis Hanol
33879e1311 Merge pull request #3199 from fantasticfears/seo
FEATURE: add microdata prop and more links for crawler
2015-04-06 11:18:34 +02:00
Régis Hanol
0e1c4a0a44 Merge pull request #3313 from techAPJ/patch-1
FEATURE: invite existing user to a topic
2015-04-03 11:41:10 +02:00
Arpit Jalan
8c2d7dcaac FEATURE: invite existing user to a topic 2015-04-03 15:00:04 +05:30
Neil Lalonde
30b063c08b FEATURE: make full names a required field of user profiles with the full_name_required setting 2015-04-02 17:08:04 -04:00
Régis Hanol
a799f6f8d9 Merge pull request #3321 from techAPJ/patch-2
FIX: include site name in email reply error subject
2015-04-02 13:55:49 +02:00
Arpit Jalan
a80c742855 FIX: include site name in email reply error subject 2015-04-02 15:46:22 +05:30
Jeff Atwood
a51cb6c8d5 add placeholders for all long badge descs 2015-04-02 02:24:36 -07:00
Sam
1f59375c82 rename max_word_length to title_max_word_length 2015-04-02 16:46:53 +11:00
Jeff Atwood
801d04997a FIX: staff message color was wrong on mobile 2015-04-01 01:07:22 -07:00
Jeff Atwood
39f284ac26 remove date from digest email subject field 2015-04-01 00:29:26 -07:00
Jeff Atwood
d5eed540ea fix minor site setting copy mistake 2015-03-26 16:58:37 -07:00
Jeff Atwood
6875a09f79 Change "Private Message" to "Message" (server side) 2015-03-26 16:56:08 -07:00
Jeff Atwood
adc9e68e66 remove SSO full name override warning not needed 2015-03-26 16:19:00 -07:00
Robin Ward
2cc5858163 Add site setting to disable User Directory, include restricted info 2015-03-26 11:26:19 -04:00
Régis Hanol
90de61ee3d S3 deprecation warning 2015-03-25 18:34:07 +01:00
Régis Hanol
5084e2bdf1 Merge pull request #3284 from techAPJ/patch-1
FEATURE: new site setting min_first_post_length
2015-03-19 19:55:27 +01:00
Arpit Jalan
b706307ac7 FEATURE: new site setting min_first_post_length 2015-03-20 00:20:38 +05:30
Jeff Atwood
b2845a3dec make link to mailjet https 2015-03-18 15:05:21 -07:00
Jeff Atwood
4bc101d40c increase urgency of Google warning 2015-03-18 10:11:30 -07:00
Erick Guan
c955907f60 FEATURE: add microdata prop and more links for crawler
- add microdata based on schema.org
- add breadcrumb on the top of topic
- add navigations link on the bottom of every pages
- add category description on the category list
2015-03-16 22:52:10 +08:00
Arpit Jalan
484ae8b6b7 FIX: return proper error message when replying to a closed or deleted topic 2015-03-16 16:43:22 +05:30
Sam
a82530012a FEATURE: Allow selection of highlight js languages
PERF: stop loading highlight js on load

To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Jeff Atwood
f3b5a4c888 better validation / desc for embeddable_host 2015-03-11 15:31:27 -07:00
Régis Hanol
afd2417945 FEATURE: new 'auto_respond_to_flag_actions' site setting 2015-03-11 19:29:09 +01:00
Sam
09e470c98a FEATURE: start counting repeat topic views (default is one per 8 hours)
configurable with topic_view_duration_hours site setting
2015-03-05 15:25:05 +11:00
Dan Dascalescu
32d6080d15 Typo fix: publically -> publicly 2015-03-04 01:33:32 -08:00
Robin Ward
84b84a9d7c Support for url_list site setting. 2015-03-03 16:19:29 -05:00
Sam
9698447e89 FEATURE: support staff only custom user fields 2015-03-03 17:51:01 +11:00
Neil Lalonde
7c14db44cc UX: improve message when admin login is blocked because of admin ip address whitelisting 2015-03-02 12:13:22 -05:00
Sam
79249a8d5f Merge pull request #3244 from gschlager/german_umlauts
FEATURE: Adds transliteration of German umlauts in slugs
2015-03-02 10:19:30 +11:00
Gerhard Schlager
8a236c06e2 FEATURE: Adds transliteration of German umlauts in slugs
- Moves the already existing transliteration rules into `transliterations.en.yml` (there's no need to translate this for every language). The same goes for the stringex configuration.
- Doesn't calculate the default slug for *zh_CN* and *ja* anymore. It hasn't been used anyway since stringex is used instead.
- Removes a wrong comment from the Russion transliteration file (I hate wrong comments)
2015-02-27 23:53:58 +01:00
Neil Lalonde
c04b214910 FEATURE: don't allow username and email to be the same 2015-02-27 13:47:43 -05:00
Sam
f555bbb416 FEATURE: long descriptions for badges to help teach people 2015-02-27 17:19:18 +11:00
Sam
0742f340f9 FEATURE: allow for a localized error when a regex fails in site settings
FEATURE: apply string validation to list site settings (so we get regex)
2015-02-27 11:45:56 +11:00
Neil Lalonde
cf81b3f86d FEATURE: don't allow username and password to be the same 2015-02-25 12:00:13 -05:00
Arpit Jalan
a25e3cca8e FEATURE: new site setting contact_url 2015-02-23 23:09:13 +05:30
Robin Ward
0f4693b7eb Merge pull request #3225 from techAPJ/patch-3
UX: unified About / Privacy / ToS / FAQ topnav
2015-02-23 11:51:55 -05:00
Arpit Jalan
ddb8378ab0 UX: unified About / Privacy / ToS / FAQ topnav 2015-02-23 18:26:19 +05:30
Jeff Atwood
7bb80928ac minor copy tweak 2015-02-23 02:09:48 -08:00
Sam
5266ad4539 Merge pull request #3183 from riking/json-errors-2
Consolidate custom exception handling
2015-02-23 16:58:05 +11:00
Régis Hanol
92e6446f0f FEATURE: new site setting 2015-02-21 18:37:37 +01:00
Arpit Jalan
c2ce45668c UX: change user visits stat position 2015-02-19 01:11:09 +05:30
Arpit Jalan
f3daae6dec Improve auto generated email reply error message 2015-02-18 18:58:51 +05:30
Jeff Atwood
fe31d45131 edited the wrong language file
DOH
2015-02-17 15:22:56 -08:00
Jeff Atwood
73a59322d5 "Page Views" is confusing; say "API Requests" 2015-02-16 23:35:41 -08:00
Jeff Atwood
c1d93b2713 move private reply welcome notice to bottom 2015-02-09 17:26:58 -08:00
Jeff Atwood
e14f38f19e make relative links absolute in welcome PM/email 2015-02-09 16:42:05 -08:00
Arpit Jalan
cf1815ca40 Remove group names warning 2015-02-10 00:17:05 +05:30
riking
8cf21f2363 FEATURE: Refactor error returns in application_controller 2015-02-08 13:40:38 -08:00
Arpit Jalan
8bbd36f40e Add rails error translation strings 2015-02-06 20:30:00 +05:30
Régis Hanol
f7d2fc0524 FEATURE: 'reply by email address' validator
Prevent infinite email loophole when the 'reply_by_email_address' site setting is the same as the 'notification_email'.
2015-02-06 12:08:37 +01:00
Sam
820ce8765e refactor traffic report
split traffic report in 2, page view vs raw traffic
hide raw traffic report by default
improve flushing logic for application reqs
2015-02-06 14:39:16 +11:00
Régis Hanol
2fcd199f48 FIX: send a PM to moderators when a post has been flagged as sockpuppet 2015-02-05 19:58:49 +01:00
Sam
970b160eef typo 2015-02-05 16:39:56 +11:00
Sam
08b790b3c2 improve metrics gathered using in our traffic section
this also pulls out the middleware into its own home and inserts in front
2015-02-05 16:08:52 +11:00
Sam
16465edd88 FEATURE: search your bookmarks using in:bookmarks 2015-02-05 11:50:20 +11:00
Sam
c9adfa65a0 FEATURE: dashboard stats for application traffic 2015-02-05 11:18:21 +11:00
Jeff Atwood
4a2786dbf2 better copy on enable names setting 2015-01-29 13:42:15 -08:00
Sam
844467015d FEATURE: allow simple selection for category badge styles
clean up category badge styling
2015-01-29 17:49:14 +11:00
Régis Hanol
cd2c9edb46 FIX: 🐛 upload on IE9 wasn't working :'(
- FIX: make sure we set a default name to a pasted image only on Chrome (the only browser that supports it)
- FIX: use ".json" extension to uploads endpoints since IE9 doesn't pass the correct header
- FIX: pass the CSRF token in a query parameter since IE9 doesn't pass it in the headers
- FIX: display error messages comming from the server when there is one over the default error message
- FIX: HACK around IE9 security issue when clicking a file input via JavaScript (use a label and set `visibility:hidden` on the input)
- FIX: hide the "cancel" upload on IE9 since it's not supported
- FIX: return "text/plain" content-type when uploading a file for IE9 in order to prevent it from displaying the save dialog
- FIX: check the maximum file size on the server 💥
- update jQuery File Upload Plugin to v. 5.42.2
- update JQuery IFram Transport Plugin to v. 1.8.5
- update jQuery UI Widget to v. 1.11.1
2015-01-28 19:43:20 +01:00
Sam
3483c8318f FEATURE: logging out logs you out everywhere
can be disabled by changing the setting "log_out_strict" to false
2015-01-28 12:56:41 +11:00
Arpit Jalan
12c82bed59 Disable digest emails site setting 2015-01-27 22:41:36 +05:30
Jeff Atwood
20411649e1 remove needless email test footer 2015-01-26 17:24:43 -08:00
Jeff Atwood
246c376f48 Merge pull request #3131 from pda/hmac-not-encryption
sso_secret: cryptographically authenticate, not encrypt.
2015-01-26 14:28:55 -08:00
Paul Annesley
bf2bbfb06e sso_secret: cryptographically authenticate, not encrypt.
The sso_secret is an input to HMAC, which is a hash-based message
authentication code, not encryption.
2015-01-26 13:52:02 -08:00
Arpit Jalan
5c2ee8ec2a FEATURE: suppress digest emails for users not seen on the site for more than (n) days. 2015-01-26 22:04:02 +05:30
Sam
ba186b25a7 FEATURE: optional top level bookmarks tab 2015-01-25 15:53:11 +11:00
Robin Ward
f3c9310e12 Merge pull request #3117 from techAPJ/patch-1
FEATURE: rate limit invites for non-staff users
2015-01-20 10:45:00 -05:00
Arpit Jalan
5e751ce90a FEATURE: 🎁 rate limit invites for non-staff users 2015-01-20 01:12:24 +05:30
Alex Williams
23fe0cfb4e Fix spelling in contact_email_missing message. 2015-01-19 10:52:02 -05:00
Arpit Jalan
7687c95e7b UX: add file size in CSV export notification 2015-01-19 19:21:53 +05:30
Jeff Atwood
d0a32b28b9 remove max_stars_per_day site setting 2015-01-19 00:07:26 -08:00
Jeff Atwood
8fe2dd9186 copy improvement on invites 2015-01-19 00:03:22 -08:00
Erick Guan
eedb977c58 Fix guidelines_topic anchor point 2015-01-17 21:45:36 +08:00
Arpit Jalan
7771d2fb31 remove enable_email_names setting 2015-01-13 13:35:40 +05:30
Jeff Atwood
3cea85e09a correct "is is" copy 2015-01-12 17:30:14 -08:00
Jeff Atwood
dc0ecc8f2c add better enable_sso description 2015-01-12 00:54:24 -08:00
Erick Guan
22d580fe76 allow to translate image's exceprt 2015-01-23 17:58:14 +08:00
Jeff Atwood
e948dc88d1 Merge pull request #3120 from techAPJ/patch-3
FIX: months were not getting translated
2015-01-22 04:22:33 -08:00
Arpit Jalan
91d36b2532 FIX: months were not getting translated 2015-01-22 15:46:52 +05:30
Jeff Atwood
356ad4459b add unhandled flags to the contact email help 2015-01-22 00:30:30 -08:00
Jeff Atwood
af2dde9996 clarify that image logos not *required* 2015-01-09 14:25:00 -08:00
Jeff Atwood
14daf622d0 tweaks to flagging explanation copy 2015-01-07 04:34:15 -08:00
Jeff Atwood
3a9199995a simplify new site default warning copy a bit 2015-01-07 02:02:30 -08:00
Jeff Atwood
d1b0939e02 add contact info to /about 2015-01-05 22:42:13 -08:00
Sam
e6dba8adc2 SECURITY: don't echo the "strategy" param returned by auto provider 2015-01-06 16:28:45 +11:00
Jeff Atwood
e37f7d50ec I like "powered" better than "operated" 2015-01-05 16:44:22 -08:00
Jeff Atwood
a3dab3a635 add deep link to /faq 2015-01-05 16:38:46 -08:00
Jeff Atwood
77f5c74ddd FEATURE: add std /staff page link from /faq 2015-01-05 16:33:21 -08:00
Neil Lalonde
4975fc2890 Remove old access_password_removal cruft from 1.5 years ago 2015-01-05 12:04:27 -05:00
Neil Lalonde
024b88e9c2 FIX: dashboard should be warning about invalid notification_email site setting 2015-01-05 12:04:27 -05:00
Jeff Atwood
d2d8f13932 improve new site nag copy 2015-01-04 00:29:51 -08:00
Jeff Atwood
46dcc9f257 improve essential site settings descriptions 2015-01-04 00:28:25 -08:00
Jeff Atwood
1c709ea5a9 clarify site nag on contact email 2015-01-04 00:19:56 -08:00
Jeff Atwood
0affda4818 improve new site nag copy 2015-01-04 00:16:10 -08:00
Jeff Atwood
f2db1af0d3 add /about link to welcome PM reply note 2014-12-30 20:44:47 -08:00
Jeff Atwood
09ecd905e4 add reply note to welcome PM 2014-12-30 20:40:03 -08:00
Sam
d0fe1725c8 FIX: users should be allowed to add @ to the to field of a PM 2014-12-30 13:26:39 +11:00
Arpit Jalan
96608e0ef0 FEATURE: add more details in user posts archive 2014-12-30 00:00:26 +05:30
Jeff Atwood
3b945920d4 copy improvements on data export 2014-12-24 15:41:21 -08:00
Régis Hanol
45dbdb6896 FEATURE: custom emojis 2014-12-23 01:12:26 +01:00
Sam
4cd9243888 FEATURE: topics per page should not be configurable
Can lead to severe performance issues
2014-12-15 11:24:16 +11:00
Sam
ae16186100 FEATURE: post chunk size should not be configurable
If people need to configure post chunk size use a plugin
Core only supports out of the box settings, if changed can lead to
severe performance issues.
2014-12-15 10:57:34 +11:00
Robin Ward
768027f0e3 Merge pull request #3046 from gdpelican/feature/insensitive-group-names
Remove group name validation case sensitivity
2014-12-17 10:52:45 -05:00
James Kiesel
84bed4f9ce Remove group name validation case sensitivity 2014-12-17 18:44:30 +13:00
Robin Ward
b1bc4741b1 FEATURE: Load fewer topics in the topic list on slow platforms (Android) 2014-12-15 11:54:26 -05:00
Robin Ward
2d6b15a34d Load fewer posts when the android platform is detected 2014-12-12 11:47:39 -05:00
Régis Hanol
cd170ca548 FEATURE: auto-close topics based on community flags 2014-12-05 19:37:43 +01:00
Jeff Atwood
3aaa7d5b03 update search help with in:private 2014-12-04 13:37:47 -08:00
Neil Lalonde
5f2c746853 remove unused site settings company_domain, company_full_name, company_name 2014-12-03 15:39:53 -05:00
Jeff Atwood
a05408ac9d minor copyedit 2014-12-02 21:39:54 -08:00
Jeff Atwood
ea269ccfb2 rename purge_inactive to purge_unactivated 2014-12-02 21:36:25 -08:00
Sam
c10e3df012 FEATURE: implement SSO provider on Discourse so Auth can be farmed to it
FEATURE: pass return_sso_url to SSO endpoints, for easier return
2014-11-26 17:26:27 +11:00
Régis Hanol
e23a25994d FEATURE: clean up unmatched email/ip entries after a year 2014-11-25 17:12:49 +01:00
Régis Hanol
1023191315 FEATURE: roll up function for 123.456.789.* ranges 2014-11-24 17:25:48 +01:00
Sam
9e1e3df6c9 FEATURE: Localize SSO error messages 2014-11-24 12:16:23 +11:00
Régis Hanol
ced35cb3bb FEATURE: don't limit registration from an IP address if a staff member has that IP address 2014-11-21 00:25:44 +01:00
Jeff Atwood
27801287ac add TL2 note to max new accounts per reg ip 2014-11-18 03:59:27 -08:00
David García-Navas López de Cuéllar
fd0ba997d0 little typo 2014-11-17 19:01:08 +01:00