Commit Graph

20619 Commits

Author SHA1 Message Date
Guo Xiang Tan d312c82474 Revert "FIX: wasn't able to update category's settings"
This reverts commit 282f9948cb.
2016-09-22 11:29:44 +08:00
Guo Xiang Tan 2470d1f65a Revert "FIX: serve category images from the CDN"
This reverts commit d0962d6e5a.
2016-09-22 11:29:04 +08:00
Guo Xiang Tan 333d6f9f10 More improvements to restore from tombstone script. 2016-09-22 10:39:39 +08:00
Sam ff35ea87fb Merge pull request #4454 from JaredReisinger/remove-external-facts
Don't look for external facts when benchmarking
2016-09-22 07:28:11 +10:00
Jared Reisinger 75e22086a9 Don't look for external facts when benchmarking
When running `scripts/bench.rb` via the discourse/discourse_bench docker
container, Facter throws an EACCES error attempting to load external
puppet facts.  Since the benchmark script ends up ignoring everything
except for seven specific keys, we can just avoid loading any external
fact logic entirely. can just
2016-09-21 13:15:58 -07:00
Régis Hanol 641b95f655 FIX: don't overwrite category's logo & background URLs 2016-09-21 22:11:31 +02:00
Jay Pfaffman 99860910fc mbox: move configuration to ENV, add default user level 2016-09-21 12:01:57 -07:00
Arpit Jalan 13aff1f2f8 FEATURE: optionally delay the rebake_match task 2016-09-21 21:48:57 +05:30
Arpit Jalan c1c3237d58 Update Translations 2016-09-21 21:16:03 +05:30
Guo Xiang Tan 1d4451db5d Improve restore from tombstone script by not having to loop through all posts. 2016-09-21 18:01:59 +08:00
Guo Xiang Tan b62b6ba12c Improve restore from tombstone rake task. 2016-09-21 17:47:27 +08:00
Guo Xiang Tan 3af5b19002 Add rake task to restore missing uploads from tombstone. 2016-09-21 16:56:32 +08:00
Guo Xiang Tan 7139538286 Fix typo. 2016-09-21 16:04:41 +08:00
Guo Xiang Tan 6b8a96f2a9 Make eslint happy. 2016-09-21 11:45:17 +08:00
Guo Xiang Tan 24dcd7df47 FIX: 'quote reply' button not showing when an emoji is included. 2016-09-21 11:14:43 +08:00
Guo Xiang Tan 62ce9938ab Add plugin outlet after user names in user profile page. 2016-09-21 10:49:48 +08:00
Guo Xiang Tan ff5f20bd39 Merge pull request #4451 from fantasticfears/webhooks-content-length
FIX: Content-Lenght should be the size in octets
2016-09-21 10:38:16 +08:00
Erick Guan 707fcb9434
FIX: Content-Lenght should be the size in octets 2016-09-21 10:31:20 +08:00
Jared Reisinger 4db3f53c87 Improve the "develop inside Docker" experience
This PR is intended to work in concert with the discourse_docker changes
in https://github.com/discourse/discourse_docker/pull/292.  I have used
those changes to build a local "discourse_dev" image, and then
_**these**_ changes to easily spin up and work on Discourse and plugin
functionality.  It's working well for me, but of course YMMV.

Add `--init` and `--patch` options to bin/docker/boot_dev to make it
easier to spin up a container running Discourse out of a development
directory.

Add `bin/docker/README.md` to explain how to go about using the docker
command-line tools.

Tweak the Docker command-line tools to use the `-u` option to specify
user rather than changing to the user "inside" the container via `chpst`
(This way, we don't have to explicitly specify the HOME environment
variable, either.)

Add `bin/docker/shell` command to make it easy to jump inside the
running container.
2016-09-20 15:35:50 -07:00
Jay Pfaffman 30f2081c1b importer/base.rb: improve progress reporting 2016-09-20 11:27:45 -07:00
Arpit Jalan afef9a0668 FEATURE: add page identifier on user badges page 2016-09-20 23:54:59 +05:30
Arpit Jalan 4f13422c47 FEATURE: add more page identifiers 2016-09-20 23:13:56 +05:30
Robin Ward a26e0df0c7 FIX: Bug when linking to anchors 2016-09-20 11:13:40 -04:00
Guo Xiang Tan a85f1dc473 Merge pull request #4448 from critcola/master
OpenSearch improvements, including Firefox bug fix
2016-09-20 12:45:25 +08:00
Daniel Marquard 5968f39d7e Allow for search engine updates 2016-09-19 22:25:54 -04:00
Daniel Marquard d77deaa185 Firefox needs "title" OpenSearch parameter 2016-09-19 22:21:42 -04:00
Daniel Marquard 222ef942ee Well formed OpenSearch/XML
1 of 2 changes for OpenSearch to better support Firefox.
2016-09-19 22:12:43 -04:00
Sam ce841027e5 mobile can be a bit bursty, allow a few more reqs per minute 2016-09-20 10:47:40 +10:00
Guo Xiang Tan 91dac006ac Merge pull request #4446 from tgxworld/unify_api_keys_web_hooks_admin_headers
Unify API keys and web hooks into a single admin nav header.
2016-09-20 05:24:44 +08:00
Guo Xiang Tan 547750e9dd Unify API keys and web hooks into a single admin nav header. 2016-09-20 05:22:03 +08:00
pmusaraj 5dbb3035d4 add "Approve new topics unless user level" setting 2016-09-19 14:07:15 -04:00
Neil Lalonde fa6b10cf3c FIX: scale fontawesome glyph avatar flair on user cards 2016-09-19 14:04:51 -04:00
Régis Hanol 53e309fe3e add missing flags emoji 2016-09-19 19:39:46 +02:00
Robin Ward 2766b2edc3 FIX: Allow redirection for slugs that start with digits 2016-09-19 13:31:19 -04:00
Arpit Jalan 332cc2bb95 FEATURE: new twitter_summary_large_image_url setting 2016-09-19 18:43:33 +05:30
Régis Hanol d46084d328 update & optimize emojis 2016-09-19 13:43:53 +02:00
Régis Hanol 86d1bc7f47 new emoji:update rake task 2016-09-19 13:43:15 +02:00
Sam 8dc4329094 FEATURE: optionally get extra profile info from facebook
This feature requires the application be approved by facebook, so it is
default off
2016-09-19 16:14:11 +10:00
Sam 5b3cd3fac9 FEATURE: Import facebook avatars when logging in via facebook
FIX: warning about popup dimensions when using facebook login

Rules are:

- On account creation we always import
- If you already have an avatar uploaded, nothing is changed
- If you have no avatar uploaded, we upload from facebook on login
- If you have no avatar uploaded, we select facebook unless gravatar already selected

This also fixes SSO issues where on account creation accounts had missing avatar uploads
2016-09-19 15:10:23 +10:00
Arpit Jalan 72f9369966 add unique body class to search and user pages 2016-09-19 10:24:58 +05:30
Erick Guan 48fb0558d8 UX: Add headers for webhook events 2016-09-19 12:07:55 +08:00
Erick Guan 00d5facf36 FEATURE: prompts new webhook events 2016-09-19 12:07:17 +08:00
Guo Xiang Tan 115461b395 Update translation text. 2016-09-19 10:17:01 +08:00
Erick Guan c463cf63d4 FEATURE: Webhook for user creation and approval 2016-09-19 10:12:55 +08:00
Sam fd9056973a FEATURE: increase interval to 24 hours for "please refresh site"
Used to be 2 hours, which is a bit tight, especially for people who leave
computer running overnight.

Keep in mind we always refresh on route change, so clicking on a topic will
trigger a refresh
2016-09-19 10:12:27 +10:00
Sam 24401e71bf FEATURE: add seen_notification_id to current user serializer 2016-09-18 14:30:32 +10:00
Régis Hanol 6162768a3b Merge pull request #4444 from cpradio/fix-backup-validation
FIX: Backup validation wasn't escaping hyphens
2016-09-17 01:08:45 +02:00
cpradio 2eddeab66b Escape the hyphen 2016-09-16 19:07:46 -04:00
Neil Lalonde 48e4f88b08 fix js test 2016-09-16 15:33:51 -04:00
cpradio 0d2d8797b6 FIX: Backup validation wasn't escaping hyphens 2016-09-16 15:20:42 -04:00