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
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
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
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
Régis Hanol
9b4c18baf1
Merge pull request #2636 from meglio/color-tags
...
Show color for values of type:list site settings with word 'colors' in t...
2014-08-13 21:52:14 +02:00
Robin Ward
7ed969f0c7
Site Setting to customize how frequently inactive users are purged
2014-08-13 15:11:19 -04:00
Anton Andriyevskyy
f58bf751bc
Show color for values of type:list site settings with word 'colors' in their name
2014-08-11 19:54:03 +03: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
Arpit Jalan
4cd8abc905
FEATURE: dynamically load invites
2014-08-05 22:20:23 +05:30
Sam
87dd681497
FEATURE: setting suppress reply when quoting
2014-07-30 10:55:49 +10:00
Neil Lalonde
e639a2613e
FIX: leader_requires_days_visited should allow 0
2014-07-28 12:33:55 -04: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
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
Sam
20ccfbf718
FIX: up invite expiry to 30 days
2014-07-17 09:40:03 +10:00
Sam
cc5152e962
FIX: missed this setting when I amended NGINX
2014-07-17 08:39:17 +10:00
Sam
acee21cb6f
FIX: disable cdn js debugging out of the box
...
Some plugins mess it up
2014-07-17 08:34:40 +10:00
Neil Lalonde
939e8505a9
Remove hub username integration
2014-07-16 12:25:24 -04: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
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
Gary Windham
3f6bd0606a
support for EC2 IAM roles with Amazon S3 file store/backup
2014-07-14 09:14:16 -07: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
7cfcad5636
add 'login' section to site_settings
2014-07-13 02:23:31 -07:00
Jeff Atwood
d19a0bc06c
add safety for max levenshtein spammer distance
2014-07-11 17:19:45 -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
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
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
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
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
8de5f014fc
FEATURE: fit a bit more on the progress bar
2014-07-04 02:44:49 -07:00
Sam
58ada6f847
FEATURE: enable badges by default.
2014-07-02 12:32:16 +10:00
Sam
60d93a62f6
FIX: tighten up email token durations
2014-07-02 09:08:25 +10:00
Robin Ward
1f829c4e70
WIP: New site setting to show subcategory list on category list
2014-07-01 17:12:03 -04: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
Neil Lalonde
807bfbd9bb
FEATURE: Trust level 3 promotion and demotion. Job is disabled for now.
2014-06-27 18:42:03 -04:00
Jeff Atwood
2e62ab6f02
add default Uncategorized desc
2014-06-25 12:21:29 -07:00
Neil Lalonde
27fb65b562
Add uncategorized_description site setting
2014-06-24 17:45:34 -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
Peter N Lewis
5da2eac1bb
Add a SiteSetting to control the pop3 polling period.
...
The default 5 minutes may add too much lag for some sites used to mailing list performance.
Unfortunately, this seems to require restarting the server for the change to be noticed - is there any way to avoid that, or otherwise should this be noted in the setting text?
2014-06-21 15:57:49 +08:00
riking
78e3e7d1d5
Add regex validations for OAuth, UA, and S3 fields
2014-06-20 10:02:27 -07:00
Jeff Atwood
b4b992299d
default email from info@unconfigured.discourse.org
2014-06-19 11:58:10 -07:00
riking
cd186aee56
Allow a sepearate mobile logo URL
2014-06-18 12:44:00 -07:00
Neil Lalonde
b16e283d0f
Add comment to site_settings.yml about type: list
2014-06-18 14:40:24 -04:00
Neil Lalonde
4c237f5bf5
In site_settings.yml, change list: true to type: list
2014-06-18 11:15:40 -04:00
Neil Lalonde
3eb65885d1
Add validation of string site settings with regex, and min and max lengths
2014-06-18 11:15:40 -04:00
Robin Ward
1147b9d2e5
Merge pull request #2408 from peternlewis/pop3_insecure
...
Support for insecure POP3 (without SSL)
2014-06-16 11:51:44 -04:00
Robin Ward
88b5e78424
Merge branch 'add_custom_embed_by_username' of github.com:justinleveck/discourse into justinleveck-add_custom_embed_by_username
...
Conflicts:
config/site_settings.yml
2014-06-16 10:52:15 -04:00
Neil Lalonde
d1f22f1b76
FIX: lower per_page limits, and don't validate the pop3s_polling_username because that's NOT a discourse user
2014-06-12 18:21:18 -04:00
Neil Lalonde
ba65aa3f6c
Add a way to validate min and max value of an integer site setting
2014-06-12 18:04:37 -04:00
Robin Ward
efc70a2bca
Always show Bookmark icon. Always show edit if the post is a wiki.
2014-06-12 11:21:12 -04:00
Neil Lalonde
9611a1ac47
Validate username site settings
2014-06-11 16:20:57 -04:00
Robin Ward
c1179014fc
Revert "Revert feature till it works."
...
This reverts commit 1e9f3fa593
.
2014-06-11 14:31:03 -04:00
Régis Hanol
ce732d2252
FEATURE: new "disable_edit_notifications" site setting
...
Should be used whenever you activate the "download_remote_images_to_local" site setting to prevent users from receiving a lot of edit notifications from the system user.
2014-06-11 17:14:00 +02:00
Sam
1e9f3fa593
Revert feature till it works.
2014-06-11 10:58:48 +10:00
Robin Ward
d06720d059
REFACTOR: Remove animation from ellpisis post menu, change ordering of
...
buttons.
2014-06-10 15:27:43 -04:00
Benjamin Kampmann
8167207e38
Wrap extended post actions in ellipsis.
...
Add a new SiteSetting to specify a maximum of items to be shown in post action menus per default. If more buttons are rendered and those after mentioned maximum will be hidden behind a collapsible ellipsis-button. Once clicked it slides in the missing buttons and hides itself.
If the setting is set to 0, the ellipsis will not be applied. It default is set to 4 though.
All buttons are created equal - but the Reply-Button is more equal than others: If it is rendered, the reply button will never be hidden behind the ellipsis. The max count is exclusiding the reply button and its position would make the reply button hide, it is removed there and pushed to the end of the list.
2014-06-10 09:55:07 +02:00
Sam
a044e3de58
Remove min_posts_for_search_in_topic
...
no longer needed, we always search in topic
2014-06-10 15:07:38 +10:00
Neil Lalonde
c61462662b
Add ability to run validation on site settings. notification_email and other email address settings are now validated.
2014-06-09 16:59:20 -04:00
Justin Leveck
a78df3d57d
Add custom embed_by_username feature
...
Feature to allow each imported post to be created using a different discourse
username. A possible use case of this is a multi-author blog where discourse
is being used to track comments. This feature allows authors to receive
updates when someone leaves a comment on one of their articles because each of
the imported posts can be created using the discourse username of the author.
2014-06-09 12:35:38 -07:00
Sam
d07d53e339
FEATURE: Min posts for search in topic is 0
...
we hijack CTRL-F so we better do a more consistent job here.
2014-06-05 10:27:23 +10:00
Robin Ward
8e7f0aa268
Add back the choices, change the separator options
2014-06-04 12:54:58 -04:00
Robin Ward
cc3119f003
Remove the choices from menu, as users can type in hidden rules and
...
categories and such.
2014-06-04 12:24:44 -04:00
Robin Ward
a1887c97c6
Merge pull request #2405 from ligthyear/select2-sitesetting
...
AdminUI: Use Select2.js for SiteSetting Lists – adds Autocomplete and DnD-Sorting
2014-06-04 11:47:46 -04:00
Neil Lalonde
72abb6e274
Disable external auths by default. Don't change settings for existing sites.
2014-06-04 11:35:18 -04:00
Sam
c7209c0a65
min trust level to edit wiki had an unreasonable default
2014-06-04 15:24:09 +10:00
Robin Ward
5bedc56387
New site setting: `limit_suggested_to_category` - ensures suggested
...
topics belong to the same category as the current topic and doesn't mix
in other categories.
2014-06-03 17:49:04 -04:00
Jeff Atwood
091452e211
Revert "disable google, twitter, facebook logins by default"
...
This reverts commit d7f62f7148
.
2014-06-03 14:42:18 -07:00
Jeff Atwood
d7f62f7148
disable google, twitter, facebook logins by default
2014-06-02 16:14:44 -07:00
Peter N Lewis
6c05de45b6
Support for insecure POP3 (without SSL)
...
Ideally it would be a menu selection to select POP3, POP3S, and potentially other future protocols like IMAP if desired, but I didn't want to deal with data migration at this point. And then I was going to have a checkbox for "Secure" (on by default, obviously), but that was very hard to word as to how it was different given everything else referred to pop3s and I couldn't change that either. So I settled on a preference:
pop3s_polling_insecure: "Poll using plain text POP3 without SSL"
Off by default.
This makes it very clear that as to what turning on that checkbox will be, and by calling it "insecure" makes sure people will think twice before turning it on.
I have not attempted to do any of the translations of the preference, I'm ot sure how you handle that.
2014-06-02 20:59:10 +08:00
Benjamin Kampmann
572ee3b94d
add site_setting choices
...
- add site_setting choices lists to list entries
- allows for handy autocompletion using the new select2.js UI
- automatically merges plugin choices into existing list, allowing for easy extension
2014-06-01 16:37:51 +02:00
Sam
7861cabfa1
FEATURE: posts per page is configurable, so should be desktop slack
2014-05-31 10:19:29 +10:00
Jeff Atwood
a963941ebb
relax trust level 1 promotion a bit
2014-05-29 15:44:27 -07:00
Sam
6c1c8be794
Work in progress, keeping avatars locally
...
This introduces a new model to store the avatars and 3 uploads per user (gravatar, system and custom)
user can then pick which they want.
2014-05-27 10:08:03 +10:00
Neil Lalonde
8c3770c0b0
Add site setting show_create_topics_notice as a way to hide the 'Create at least 5 topics to get discussion started' message.
2014-05-26 11:20:06 -04:00
Sam
40d397e278
FEATURE: Unhide max username length
2014-05-23 11:36:35 +10:00
Neil Lalonde
8f76b76cf3
FIX: new sites would get enable_google_logins true, should be false now
2014-05-21 19:40:59 -04:00
Neil Lalonde
742841ddce
Add Google Oauth2 authenticator. The current Google OpenID authentication has been deprecated by Google and will NOT work for any new websites.
2014-05-21 18:35:10 -04:00
Sam
ca95bdb023
Username length is now minimum 20
2014-05-22 08:28:16 +10:00
Sam
832a730e36
BUGFIX: re-enable CDN js debugging in a robust way
...
May be disabled if needed via site setting
2014-05-19 08:46:28 +10:00
Neil Lalonde
27cbc06563
Add fixed_category_positions site setting to handle whether categories are ordered by specified positions or by activity.
2014-05-16 11:33:52 -04:00
Robin Ward
3211c60bbe
FEATURE: A new site setting `public_user_custom_fields` which allows you
...
to whitelist custom fields that will be exposed to the Ember client
application.
2014-05-14 14:39:01 -04:00
Wojciech Zawistowski
960d64930c
Wiki Post
2014-05-13 08:53:11 -04:00
Régis Hanol
c21d3f41d0
BUGFIX: only redirect new users to top page once
...
Actually, new users will still be redirected to the top page during the first 30 seconds of their first visit.
2014-05-05 19:00:40 +02:00
Régis Hanol
4371374ba6
FEATURE: support for enabling all upload file types
...
BUGFIX: authorized extensions is now case insensitive
2014-04-29 19:12:35 +02:00
riking
b309deef11
Add site setting for domains to never download images from
2014-04-23 22:24:35 -07:00
Robin Ward
4eb5474858
Add a SiteSetting to configure how many topics are in the email digest.
2014-04-21 17:49:10 -04:00
Régis Hanol
454f11e597
FEATURE: new title_sanitize site setting
2014-04-18 21:01:21 +02:00
Sam
b7caa33841
Site setting to allow mods to create categories
2014-04-15 16:42:45 +10:00
Sam
e5f41b8a21
FEATURE: whitelist and blacklist selectors for embeds
2014-04-15 14:07:30 +10:00
Neil Lalonde
2c4ada6c7d
FIX: give an accurate reason why a user's posts can be deleted from admin
2014-04-14 15:10:41 -04:00
Sam
b0ed9082b3
FEATURE: Hidden site setting for max username length
2014-04-14 12:55:33 +10:00
Robin Ward
b0405d7cfa
Adds a Site Setting to whitelist onebox domains
2014-04-09 16:57:45 -04:00
Robin Ward
f8964bf453
Remove unused SiteSetting
2014-04-09 16:18:31 -04:00
riking
6779bec58c
Add UI for list site settings
2014-04-08 14:17:55 -07:00