Commit Graph

12612 Commits

Author SHA1 Message Date
Guo Xiang Tan 753a65833a Merge pull request #4521 from cpradio/fix-advanced-search-speedy-entry
FIX: Correct Speedy entry in Posted before/after and Minimum Post Count
2016-10-28 12:21:55 +08:00
cpradio dbe9391036 FIX: Correct Speedy entry in Posted before/after and Minimum Post Count 2016-10-27 19:48:09 -04:00
Robin Ward 1033c25004 Adjust canvases on mobile wizard 2016-10-27 13:59:31 -04:00
Régis Hanol 71f940d478 FIX: use metadata to hold the message_id with sparkpost 2016-10-27 19:35:50 +02:00
jako512 19479907d0 Added above-site-header and below-site-header plugin outlets 2016-10-27 18:13:51 +02:00
Robin Ward 407cda1dfe FIX: Scrolling on backup logs 2016-10-27 11:57:33 -04:00
Dmitry Demenchuk fb25485bb1 Delete useless home_redirect method from ForumsController. 2016-10-27 15:45:22 +01:00
Robin Ward 004e71a3fe FIX: Some errors that only appear in Ember 1.13 2016-10-26 16:26:10 -04:00
Robin Ward 7953a53cc5 Replace `findProperty` and `filterProperty` with `findBy` and `filterBy` 2016-10-26 15:45:06 -04:00
Robin Ward 3bb4e22692 FIX: `cleanDOM` couldn't be called from `url` 2016-10-26 13:27:47 -04:00
Robin Ward eeee5f4c08 Use `{{outlets}}` instead of `{{render}}` in the application template 2016-10-26 13:02:58 -04:00
Robin Ward fa3c45bb4c FIX: Mobile raw templates weren't being resolved 2016-10-26 11:19:29 -04:00
Robin Ward b601120b39 Support for Raw Handlebars and helpers in Ember 1.13 2016-10-26 10:27:57 -04:00
Régis Hanol 41f19641d1 FIX: don't error out when we receive a bounce associated to a deleted user 2016-10-26 10:13:05 +02:00
Robin Ward 9ac35f07b9 FIX: Missing icon on history buttons 2016-10-25 15:39:09 -04:00
Robin Ward 55be81faa6 Don't use `.@each` dependant keys 2016-10-25 15:39:09 -04:00
Arpit Jalan 478418e780 FIX: notify_old_email template did not had new_email 2016-10-25 23:50:55 +05:30
Robin Ward 622dc82481 Replace deprecated `render(buffer)` with a custom buffered renderer 2016-10-25 14:00:21 -04:00
Régis Hanol 52b338db62 FIX: category logo & background URLs should not use the CDN 2016-10-25 10:43:57 +02:00
Guo Xiang Tan adfd9733c6 FIX: Advanced search should retain search term. 2016-10-25 11:47:11 +08:00
Robin Ward bd352385a5 Framework for supporting Ember 1.12/1.13 helpers simulataneously 2016-10-24 15:13:32 -04:00
Régis Hanol 750338954c FIX: download SSO avatars in a background job to prevent hangs when avatars are huge 2016-10-24 19:55:30 +02:00
Robin Ward e79465a965 FIX: Regression due to deprecation fix on site settings 2016-10-24 11:32:34 -04:00
Régis Hanol 923db2e559 FIX: download avatar from facebook/twitter in a job in order to prevent hangs when avatars are huge 2016-10-24 17:15:13 +02:00
Guo Xiang Tan b31fa878bb Revert "Properly name tag intersection route"
This reverts commit 01af2a8df0.
2016-10-24 22:27:22 +08:00
Régis Hanol 3841cd9a7f FEATURE: onebox everything by default
FEATURE: new 'max_oneboxes_per_post' site setting
FEATURE: change onebox whitelist to a blacklist
PERF: debounce the loading of oneboxes
PERF: improve perf of mention links in preview
FIX: sort loading of custom oneboxer
2016-10-24 12:46:22 +02:00
Régis Hanol 81e2a0099f FIX: ensure the group 'everyone' is never shown when using a different locale 2016-10-24 10:53:31 +02:00
Guo Xiang Tan efea296c7a FIX: Do not cook post if `Post#raw` has not been changed. 2016-10-24 12:02:38 +08:00
Guo Xiang Tan ee9946388c Merge pull request #4507 from ming-relax/feat-delete-by-email
Remove user from a group by user email
2016-10-24 11:28:27 +08:00
Sam 9a94d1b212 FIX: everyone is not a visible group 2016-10-24 13:03:22 +11:00
Sam f083994f5a FIX: exact group match always should be added 2016-10-24 12:43:38 +11:00
Régis Hanol 3c8e0a8348 Merge pull request #4508 from kstaikov/mailing_list_exclude_own_replies
FEATURE:'No Echo' option for mailing list mode.
2016-10-22 10:45:14 +02:00
Robin Ward fab36e6cf7 Fix more deprecations:
- Remove all `needs:` code
2016-10-21 17:28:37 -04:00
Neil Lalonde 761cc688b4 FEATURE: add a setting to allow url schemes other than http(s) 2016-10-21 12:21:31 -04:00
Robin Ward 19e2eec219 Allow step 0 to resend the confirmation email 2016-10-21 11:34:19 -04:00
Robin Ward bf91532260 Fixes some Ember Deprecations for 1.13:
- Remove ArrayController
- Remove {{view}} from templates
- Replace many cases of needs: [‘controller’] with inject
- Enable Ember Legacy Views
2016-10-21 11:06:07 -04:00
Sam 35d248ab0d FIX: if badge has an image do not override icon 2016-10-21 10:54:16 +11:00
Sam bfa33f2518 Merge pull request #4500 from tgxworld/performance_on_users_page
PERF: Remove ordering by username.
2016-10-21 10:40:58 +11:00
Jeff Atwood febbd27ba6 remove gmail/live SMTP warning 2016-10-20 14:49:06 -07:00
Régis Hanol 35a79a70c3 FIX: uploading custom avatar was always hidden 2016-10-20 19:53:41 +02:00
Régis Hanol 8d48779b5c FIX: don't 💥 with an invalid URI 2016-10-20 12:34:42 +02:00
Sam 9457b03da1 UX: make it easier to collapse the timeline from fullscreen 2016-10-20 10:14:53 +11:00
David Taylor 91da124769 Added resolveService function to custom resolver 2016-10-19 22:12:25 +01:00
Kiril Staikov aee943486a FEATURE:'No Echo' option for mailing list mode.
Mailing list mode now includes the 'no echo' option: to only receive emails of posts not created
by you.  If you reply to an email thread in mailing list mode, your reply will not then be echoed
back to you in a duplicate email by the system.
2016-10-19 13:14:36 -04:00
Régis Hanol 9f7b529495 FIX: properly detect when attachments are allowed 2016-10-19 18:42:24 +02:00
Robin Ward c03d25f170 FEATURE: Configure Admin Account
Adds a "Step 0" to the wizard if the site has no admin accounts where
the user is prompted to finish setting up their admin account from the
list of acceptable email addresses.

Once confirmed, the wizard begins.
2016-10-19 11:27:56 -04:00
Sam 4aedd839bc Revert "Revert "notify_user is not a flag""
This reverts commit cf5e0ec1c1.
2016-10-19 17:22:01 +11:00
Arpit Jalan 0a6ed64ca6 FIX: correct computed property 2016-10-19 11:11:54 +05:30
Sam cf5e0ec1c1 Revert "notify_user is not a flag"
This reverts commit 6fbc5af284.
2016-10-19 16:11:06 +11:00
Sam 2ffe62846b FIX: broken localization for auto close 2016-10-19 16:10:31 +11:00
Sam 1bf0b2a5f4 FEATURE: show timeline component when expanding post progress
- Show fullscreen timeline with title of topic in mobile
- Go to post # kb shortcut now unconditionally uses a modal
- Always show wrench on topics (was missing if progress bar was showing)
- Be smarter about rendering timeline even if composer is open (provided there is room)
2016-10-19 14:29:58 +11:00
Ming HU dffd8baa91 Remove user from a group by user email 2016-10-18 17:10:47 +08:00
Guo Xiang Tan 7db33cc512 FIX: Videos and audio files were not associated to the post. 2016-10-18 16:13:39 +08:00
Robin Ward fb94b4c56d Show the whisper preview in the whisper style 2016-10-17 16:53:24 -04:00
Arpit Jalan e5a13b0ac1 FIX: specify CSV file encoding and better error reporting 2016-10-18 00:31:35 +05:30
Guo Xiang Tan 41a2f2cfda 💣 comments that are not required. 2016-10-17 22:46:47 +08:00
Guo Xiang Tan 30902d00d7 Merge pull request #4495 from cpradio/empty-search-fields
FIX: Improve removing advanced filters
2016-10-17 22:45:29 +08:00
Régis Hanol 0862ad406d FIX: pull twitter's avatar & profile when signing up 2016-10-17 15:43:40 +02:00
Régis Hanol 3949c24f80 FIX: sparkpost webhooks support 2016-10-17 11:26:49 +02:00
cpradio ddacda0388 Update based on review comments
Found a few javascript errors when visiting the search page with ?expanded=true and no query.
2016-10-17 00:02:58 -04:00
Guo Xiang Tan d8722e7a87 Merge pull request #4499 from tgxworld/add_options_to_surround_text
Add option to apply surround across multilines.
2016-10-17 10:18:25 +08:00
cpradio 1e7c69044c FIX: Improve removing advanced filters
Prior:
Entering `test after:5` and then removing the 5 via the search text field would result in the UI not updating

After:
UI updates after half a second

Removing it from the UI, removes it from the search field immediately.

Change the regex to detect filter words. This now matches what happens in search.rb, which gives a lot more flexibility (such as iterating over multiple `in:` terms)

Return [] when searchTerm is empty

Move .trim() to this.set('searchTerm', searchTerm) so it doesn't run twice (which was very obvious when watching the search term field)

More refactoring to make this a bit less complex

Update code based on review comments

FEATURE: Add common `in:` options
2016-10-14 19:04:10 -04:00
Guo Xiang Tan 18d032ad91 PERF: Remove ordering by username.
* Ordering by username results in a very expensive query
for very little upside UX wise.
2016-10-15 01:13:58 +08:00
Sam aaf947356b correct regression where notifications scope is not pushing to push server 2016-10-14 22:52:39 +11:00
Guo Xiang Tan 6b40f2c42c Add option to apply surround across multilines. 2016-10-14 14:03:00 +08:00
Sam f4f5524190 FEATURE: user API now contains scopes so permission is granular
previously we supported blanket read and write for user API, this
change amends it so we can define more limited scopes. A scope only
covers a few routes. You can not grant access to part of the site and
leave a large amount of the information hidden to API consumer.
2016-10-14 16:05:42 +11:00
Guo Xiang Tan ce8b850b11 Merge pull request #4496 from cpradio/search-ui-changes
FIX: Shrink tag input and use date type for Post Time
2016-10-14 10:33:10 +08:00
Guo Xiang Tan dff5d6d9b0 Merge pull request #4497 from gdpelican/allow-avatar-title-option
FEATURE: Allow title override for user avatars
2016-10-14 10:27:20 +08:00
Guo Xiang Tan 10dfcc2ae9 Merge pull request #4498 from gdpelican/tags-show-route-fix
FIX: Properly name tag intersection route
2016-10-14 10:18:17 +08:00
James Kiesel 01af2a8df0 Properly name tag intersection route 2016-10-13 13:43:56 -04:00
James Kiesel d76d78f855 Allow title override for user avatars 2016-10-13 13:43:22 -04:00
cpradio 9fd4cf3278 FIX: Shrink tag input and use date type for Post Time 2016-10-13 12:48:36 -04:00
Guo Xiang Tan 94002f5903 FIX: Post search time was updating incorrectly.
* A search term of `after` will result in `after: after:after`.
2016-10-13 21:26:01 +08:00
Guo Xiang Tan 2eb48ee1ce FIX: Search terms are appearing in filters. 2016-10-13 20:42:37 +08:00
Régis Hanol 2826d4eb88 Merge pull request #4487 from cpradio/use-top-default-for-new-users
FEATURE: Use the top period default for users who have been inactive or are new
2016-10-13 10:47:18 +02:00
Guo Xiang Tan 4c2c21ee2b Opps this should be null. 2016-10-13 15:58:31 +08:00
Guo Xiang Tan b16b2a6fbb FIX: Reset advanced search options when search term is cleared. 2016-10-13 15:54:32 +08:00
Guo Xiang Tan 06cbabb4da FIX: Don't search for tags if tagging is disabled. 2016-10-13 15:09:44 +08:00
Guo Xiang Tan ae0db10e2d Fix full page search tests. 2016-10-13 15:03:58 +08:00
Guo Xiang Tan b4a899b144 Make eslint happy. 2016-10-13 14:47:18 +08:00
Guo Xiang Tan ef1918662c PERF: Don't render advanced search options when not expanded.
* Debounce options update as well.
2016-10-13 14:46:13 +08:00
Guo Xiang Tan 1606ed01f9 FIX: Don't mix camelCase into query params. 2016-10-13 14:43:47 +08:00
Guo Xiang Tan af90a04bd9 FIX: All clicks should close autocomplete. 2016-10-13 13:28:24 +08:00
Guo Xiang Tan 2095b034ad FIX: Make links work with subfolder installs. 2016-10-13 13:21:07 +08:00
Guo Xiang Tan 4f87f1886b Make eslint happy. 2016-10-13 12:10:01 +08:00
Guo Xiang Tan 91a296839f Remove unnecessary computed property. 2016-10-13 12:08:00 +08:00
Guo Xiang Tan 994a03b3e3 FIX: Advanced search link doesn't work with subfolder installs. 2016-10-13 12:00:02 +08:00
Guo Xiang Tan 5dfaceb7a5 Remove unused line. 2016-10-13 11:58:36 +08:00
Arpit Jalan a0e0ab610e FIX: back button behaviour should be consistent when visiting watched/muted topics from user preferences page 2016-10-13 02:16:21 +05:30
Neil Lalonde 0328141e05 FIX: prevent creation of tags with invalid characters 2016-10-12 15:44:36 -04:00
Rafael dos Santos Silva 41d2620d06 Add some styling to print redux version 2016-10-12 14:00:05 -03:00
Sam 3ad8616f44 Merge pull request #4476 from xfalcox/localize-badge-notifications
FIX: Properly localize badge notification on batch grant
2016-10-12 15:16:35 +11:00
cpradio 5091124eed FIX: fix eslint error due to removing the search_help
Related commit that made eslint unhappy
c51992cf5e
2016-10-11 20:35:25 -04:00
cpradio 1d27610ffc FEATURE: search menu options opens full page search 2016-10-11 19:59:37 -04:00
cpradio 6bf0bc3408 FEATURE: search menu options opens full page search 2016-10-11 18:52:31 -04:00
Rafael dos Santos Silva c5b94878ac We need this variable later 2016-10-11 19:14:32 -03:00
cpradio ca4130f30d FIX: Use @username instead of user:username 2016-10-11 17:41:04 -04:00
Jeff Atwood 70f46d81a9 disable the group and badge searches for now 2016-10-11 14:25:48 -07:00
Jeff Atwood c51992cf5e remove old search help in favor of advanced search 2016-10-11 14:01:16 -07:00
cpradio 1e1959a89d FIX: Improve Mobile UI for Advanced Search 2016-10-11 16:28:31 -04:00
cpradio 9cbf7d036a FEATURE: Use the top period default for users who have been inactive or are new 2016-10-11 13:22:43 -04:00
Régis Hanol ddcc084d22 Revert "FEATURE: Use the top period default for users who have been inactive or are new" 2016-10-11 17:56:46 +02:00
cpradio 2de50a616d FEATURE: Use the top period default for users who have been inactive or are new 2016-10-11 09:55:15 -04:00
Sam 89daa43754 FEATURE: remap emojis back for push notifications and desktop alerts 2016-10-11 13:03:48 +11:00
Sam 6031e692f0 Merge pull request #4366 from xfalcox/print
Print Support
2016-10-11 11:47:20 +11:00
Sam 80fc54a16c Merge pull request #4398 from xfalcox/fix-tags-for-crawlers
FIX: Tags on topic crawler view
2016-10-11 11:43:40 +11:00
Sam b6d0d4d94d tweaks to full page search 2016-10-11 10:36:27 +11:00
Sam ea1f0683c8 Merge pull request #4477 from cpradio/watching-state-on-reply
FEATURE: Add notification level user preference when replying to a topic
2016-10-11 10:05:37 +11:00
Sam f6ac914376 Merge pull request #4467 from cpradio/advanced-search-ui
FEATURE: Advanced Search UI
2016-10-11 10:02:35 +11:00
Arpit Jalan d06c82e555 FEATURE: add unique class to topic navigation pages 2016-10-10 22:38:41 +05:30
Régis Hanol 586ce69b1b UX: properly hide 'Activity Summary' preference when Summaries are disabled 2016-10-10 16:36:36 +02:00
Sam 3e513f5c05 Merge pull request #4459 from vibol/master
FEATURE: sparkpost webhook
2016-10-10 17:17:17 +11:00
cpradio dc87b6943a Fix the ID for postTime 2016-10-08 09:29:05 -04:00
cpradio a7507dad63 Add Acceptance Tests (which found an error)
Tests for populating category and tags

Added acceptance tests for populating the Username and Category through the Advanced Search UI (will work on the other fields later)

Give the combo-box elements ids
Add acceptance tests for the rest of the advanced search UI (except for Tags, tags are evil)
2016-10-08 09:09:37 -04:00
Leo McArdle c1da9e780e FEATURE: Added user profile and card outlets
Added user-location-and-website outlet
Added user-card-location-and-website outlet
2016-10-07 21:40:41 +01:00
Arpit Jalan 3d02dc28be FIX: genrating invite link should not send email 2016-10-07 12:54:11 +05:30
Neil Lalonde f3eb58092d FIX: twitter card meta tags use wrong urls on subfolder installs 2016-10-05 15:14:51 -04:00
Neil Lalonde c70f52c4dd remove some problem reports from the admin dashboard since they're covered by the setup wizard now 2016-10-05 12:14:56 -04:00
Neil Lalonde a061c025f1 FIX: in create/edit category modal, don't prompt to choose a parent category when allow_uncategorized_topics is false 2016-10-05 12:06:37 -04:00
Sam 843c7a21c9 FIX: properly handle blank localizations 2016-10-05 18:08:54 +11:00
Sam 601a96333a FIX: last visited line not rendering correctly
- stop changing cached models
2016-10-05 15:37:47 +11:00
Jeff Atwood f936bd6607 UX: first run wizard now (mostly) works on mobile 2016-10-04 13:29:23 -07:00
Neil Lalonde 374617c8c9 FIX: mobile users page search field loses focus on each keypress 2016-10-04 14:09:28 -04:00
Neil Lalonde 600b23c0a4 FIX: permalink redirects should work on tag paths 2016-10-04 12:01:42 -04:00
cpradio 4b71fd253b Advanced Search UI
Properly support Categories so it updates the search box correctly

Use category id, as it is more consistent with search results than using the slugs, especially for parent/subcategory

Added Status

Improve AutoComplete so it can receive updates
Added the ability for AutoComplete to receive updates to badge-selector and group-selector

Respect null, which is set via web-hooks

Support both # and category: for category detection.

Only update the searchedTerms if they differ from its current value (this helps the Category Selector receive updates)

Opt in receive updates (#3)

* Make the selectors opt-in for receiving updates

* Opt-in to receive updates

* Fix category detection for search-advanced-options

Fix eslint error

Update user-selector so it can receive updates live too
Make the canReceiveUpdates check validate against 'true'

Converted to use template literals

Refactor the regex involved with this feature
Split apart the init to make it a bit more manageable/testable

Switch the category selector to category-chooser, so it is a dropdown of categories instead of auto-complete

Reduce RegEx to make this happier with unicode languages and reduce some of the complexity
2016-10-04 11:18:01 -04:00
Régis Hanol 08c4de388e make eslint happy 2016-10-04 12:14:24 +02:00
Sam baecaddef0 Merge pull request #4475 from xfalcox/last-visit-adjusts
FIX: Last visit must keep working when changing categories
2016-10-04 19:31:22 +11:00
cpradio 6f1c31d777 Add notification level user preference when replying to a topic 2016-09-30 14:58:07 -04:00
Robin Ward f62d01ff1b FIX: Clear the session after a reset token was used 2016-09-30 12:20:23 -04:00
Guo Xiang Tan 1c3992e575 FIX: Ensure that translations bundle exists before merging plugin bundle. 2016-09-30 14:29:30 +08:00
Rafael dos Santos Silva 9a502c73c9 FIX: Properly localize badge notification on batch grant 2016-09-29 18:55:41 -03:00
Rafael dos Santos Silva 5476dee52d FIX: Last visit must keep working when changing categories 2016-09-29 17:40:28 -03:00
Vibol Hou c3d60d5d1d Merge remote-tracking branch 'upstream/master' 2016-09-29 02:12:05 -07:00
Guo Xiang Tan 72ccb4e11d FIX: Plugin "admin_js" translations bundle was not fetched. 2016-09-29 04:42:26 +08:00
Robin Ward f0937dc5d3 FIX: Route to `.rss` or `.json` as a server side URL 2016-09-28 10:36:56 -04:00
Robin Ward a69b897545 FIX: Bump the compiler version - the path to `raw-handlebars` changed. 2016-09-28 07:26:31 -04:00
Régis Hanol 064a83c44c Merge pull request #4464 from xfalcox/patch-2
Make deprecated.js ES5 compatible
2016-09-28 11:17:33 +02:00
Robin Ward 8871c9852c FIX: Allow us to link to server side responses 2016-09-28 05:04:23 -04:00
Rafael dos Santos Silva 2ce8845c89 Enable last visit line on mobile 2016-09-27 16:24:23 -03:00
Rafael dos Santos Silva a0f50ddaa7 Tone down text 2016-09-27 15:43:23 -03:00
Guo Xiang Tan 119225e496 Make eslint happy. 2016-09-27 15:12:47 +08:00
Rafael dos Santos Silva 16aad189fb UX: Add text to new messages line 2016-09-27 14:52:03 +08:00
Jeff Atwood a300e01af3 Merge pull request #4466 from xfalcox/word-wrap-latest-topics
FIX: Add word-wrap for blink browsers on categories latest session
2016-09-27 07:20:27 +02:00
Vibol Hou 34af73c7cb FEATURE: sparkpost webhook 2016-09-26 22:13:34 -07:00
Rafael dos Santos Silva 03ec480c65 Removes UI for print, adds CTRL+P shortcut 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva 0229df4c73 Second review fixes 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva 2a5a0bebb3 Adjusts from review 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva acc70cc3de SiteSetting, admin passtrough, CSS, hide on mobile 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva 6faedfa716 Rate limit printing 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva 70c68f0a7c Open print dialog automatically 2016-09-26 20:44:50 -03:00
Rafael dos Santos Silva c12e533273 Feature: Adds a button to print a topic 2016-09-26 20:44:50 -03:00
Rafael dos Santos Silva ece10386a1 FIX: Long words on title shouldn't break layout 2016-09-26 19:12:46 -03:00
Rafael dos Santos Silva c759b5f955 Make ES5 compatible 2016-09-26 18:43:33 -03:00
Jeff Atwood d69cf820d8 Merge pull request #4462 from xfalcox/hide-names-about
FIX: Hide full names on /about for crawlers when names are disabled
2016-09-26 23:21:08 +02:00
Jeff Atwood a4dd862ad0 Merge pull request #4463 from xfalcox/emoji-grouping
FIX: New Emoji had missing group info
2016-09-26 23:20:35 +02:00
Rafael dos Santos Silva 7149e2ba20 FIX: New Emoji had missing group info 2016-09-26 18:12:40 -03:00
Rafael dos Santos Silva 108e3fdf97 FIX: Hide full names on /about for crawlers when names are disabled 2016-09-26 16:31:39 -03:00
Rafael dos Santos Silva 048dea01f4 Fix tags separation on new category page 2016-09-26 16:14:41 -03:00
Guo Xiang Tan 999f52954f FIX: Incorrect import path for `iconHTML` helper. 2016-09-25 12:39:17 +08:00
Guo Xiang Tan 4e663998af PERF: N+1 query on user summary page. 2016-09-23 12:44:08 +08:00
Guo Xiang Tan bddbfa56f6 UX: Format numbers on user summary page. 2016-09-23 12:36:42 +08:00
Robin Ward f90e1ce847 FIX: Don't double escape the category title 2016-09-22 21:13:08 -04:00
Neil Lalonde e0be2f482e FEATURE: tag filter dropdown menu is scoped to user and category 2016-09-22 15:23:37 -04:00
Robin Ward 3d621767cc FIX: Wizard didn't work with subfolders 2016-09-22 14:39:36 -04:00
Robin Ward 92529cd409 FIX: Tab ordering and outlines for wizard 2016-09-22 13:38:58 -04:00
Robin Ward 7f66cf618c FIX: You should be an admin to do the wizard 2016-09-22 11:12:51 -04:00
Régis Hanol 8f7a2cb470 UX: user messages list was too thin 2016-09-22 16:26:38 +02:00
Robin Ward a09a09f686 FIX: Test was broken 2016-09-22 10:01:25 -04:00
Jeff Atwood 3ac348e898 Revert "add bit of random to the confetti"
This reverts commit 913e18579f8c4c6bad3269896c549779b554ece1.
2016-09-22 09:52:19 -04:00
Jeff Atwood 3f09ef70eb add bit of random to the confetti 2016-09-22 09:52:19 -04:00
Robin Ward 9bba0f3288 FIX: Show "Categories" when you are viewing the categories pills 2016-09-22 09:52:19 -04:00
Robin Ward a95bb6006d Show staff count on invites page, don't warn if you have 3 2016-09-22 09:52:19 -04:00
Robin Ward 62e1f88adc Try to be smarter about scaling images on canvases 2016-09-22 09:52:19 -04:00
Robin Ward 14bee641aa Can choose categories or latest as homepage style 2016-09-22 09:52:19 -04:00
Jeff Atwood 776d540c7f Emoji copy update 2016-09-22 09:52:19 -04:00
Robin Ward 2a0443445b New step to choose emoji set 2016-09-22 09:52:19 -04:00
Robin Ward 8f36f95180 Bump up the size of the theme preview 2016-09-22 09:52:19 -04:00
Robin Ward 2545c2ffa6 Add new welcome message step 2016-09-22 09:52:19 -04:00
Jeff Atwood ff17950993 tweaks 2016-09-22 09:52:19 -04:00
Robin Ward 3fac43249c Javascript file was missing 2016-09-22 09:52:19 -04:00
Robin Ward f4f1569e0c Move step text into progress bar 2016-09-22 09:52:19 -04:00
Robin Ward 9938f9bd67 Added images to the first and last step of the wizard 2016-09-22 09:52:19 -04:00
Robin Ward b0ee7930e8 Server side support for inviting as a moderator via the wizard 2016-09-22 09:52:19 -04:00
Robin Ward 42f6e52dc6 Warn the user if they haven't invited anyone 2016-09-22 09:52:19 -04:00
Robin Ward cf84538fbf Bump up smallest size again 2016-09-22 09:52:19 -04:00
Robin Ward 1bf1bf4f93 Use our badge colors for the speech bubbles 2016-09-22 09:52:19 -04:00
Robin Ward c718826134 Randomly flip some of the bubbles 2016-09-22 09:52:19 -04:00
Robin Ward 844c86481e Add more particles, remove black color 2016-09-22 09:52:19 -04:00
Robin Ward 899779b3c4 FIX: Confetti should go all the way to the right 2016-09-22 09:52:19 -04:00
Robin Ward afe1a8e895 UX: Remove checkmark icon from Done 2016-09-22 09:52:19 -04:00
Robin Ward 454bcdca0b Add confetti effect for when you finish the wizard 2016-09-22 09:52:19 -04:00
Robin Ward 598db7a81c Add Apple Icon preview 2016-09-22 09:52:19 -04:00
Robin Ward e7c1962aa0 Preview the favicon in the wizard 2016-09-22 09:52:19 -04:00
Robin Ward 0a41217604 Small Logo Preview looks better 2016-09-22 09:52:19 -04:00
Robin Ward a318b18236 Custom Preview for Header Logo 2016-09-22 09:52:19 -04:00
Robin Ward 69325fbe02 Wizard: Support for custom image previews for uploads 2016-09-22 09:52:19 -04:00
Robin Ward 05d1c8167f UX: Use a minimum height for the wizard so it doesn't move as much 2016-09-22 09:52:19 -04:00
Robin Ward 74ed2e82ac UX: Wiggle invalid form elements. Don't allow a site title of Discourse 2016-09-22 09:52:19 -04:00
Robin Ward 2ff6295f71 UX: De-emphasize back/quit buttons in the wizard 2016-09-22 09:52:19 -04:00
Robin Ward 29cf47cfb2 Track steps the user has completed, nag them to finish it. 2016-09-22 09:52:19 -04:00
Robin Ward ef84981e38 Invite Users step 2016-09-22 09:52:19 -04:00
Robin Ward 35b767f6af Company Name Step which updates the TOS 2016-09-22 09:52:19 -04:00
Robin Ward 28b6c300a0 Clean up wizard updater API for better plugin use 2016-09-22 09:52:19 -04:00
Robin Ward e3640ee5f6 Privacy Step 2016-09-22 09:52:19 -04:00
Robin Ward af83c8dc14 Upload Logos Step 2016-09-22 09:52:19 -04:00
Robin Ward c94e6f1b96 Add locale step 2016-09-22 09:52:19 -04:00
Robin Ward 3f6e3b9aff Wizard - Color Scheme Step 2016-09-22 09:52:19 -04:00
Robin Ward 9f12b571ef Wizard: Server Side Validation + Finished Step 2016-09-22 09:52:19 -04:00
Robin Ward be1d74d207 Split out common functions into `discourse-common` module 2016-09-22 09:52:19 -04:00
Robin Ward 3a4615c205 Wizard: Step 1 2016-09-22 09:48:58 -04:00
Robin Ward 0471ad393c Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
Robin Ward 6070939daa Support for other i18n bundles 2016-09-22 09:48:58 -04:00
Guo Xiang Tan 7acbd63d92 FIX: Remove CSS hack. 2016-09-22 17:39:20 +08:00
Régis Hanol 9aecf4e6d1 Merge pull request #4455 from tgxworld/fix_category_logo_url
FIX: Form CDN URL client side instead.
2016-09-22 11:01:16 +02:00
Guo Xiang Tan 5d2aa957b4 UX: Take into account of header when rendering autocomplete. 2016-09-22 13:42:49 +08:00
Guo Xiang Tan 7dea31adce FIX: Form CDN URL client side instead. 2016-09-22 11:57:18 +08:00
Guo Xiang Tan 9374e5d42d Revert "FIX: don't overwrite category's logo & background URLs"
This reverts commit 641b95f655.
2016-09-22 11:30:19 +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
Régis Hanol 641b95f655 FIX: don't overwrite category's logo & background URLs 2016-09-21 22:11:31 +02: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
Erick Guan 707fcb9434
FIX: Content-Lenght should be the size in octets 2016-09-21 10:31:20 +08: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
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
Guo Xiang Tan 547750e9dd Unify API keys and web hooks into a single admin nav header. 2016-09-20 05:22:03 +08:00
Neil Lalonde fa6b10cf3c FIX: scale fontawesome glyph avatar flair on user cards 2016-09-19 14:04:51 -04: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
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
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
cpradio 2eddeab66b Escape the hyphen 2016-09-16 19:07:46 -04:00
cpradio 0d2d8797b6 FIX: Backup validation wasn't escaping hyphens 2016-09-16 15:20:42 -04:00
Neil Lalonde 28f857c530 FIX: primary group name class missing from poster name 2016-09-16 15:09:35 -04:00
Guo Xiang Tan 451050c6c4 Merge pull request #4437 from fantasticfears/webhooks-event-name
FIX: show event name in webhook headers
2016-09-16 14:27:12 +08:00
Sam 75f3f7fcbd FEATURE: clean API method for reading a single notification 2016-09-16 16:14:15 +10:00
Guo Xiang Tan 512922d776 SECURITY: Add filename validation for backup uploads. 2016-09-16 11:58:14 +08:00
Sam e6fcaadd45 FIX: redirects back to origin for SSO and omniauth login 2016-09-16 13:48:50 +10:00
Sam 25a82e7d22 PERF: only publish notification state if we changed it
also publish seen_notification_id so we can tell what is new and what is old
cleanup controller so it correctly checks user
fix bug around clearing notification when people click mark read
2016-09-16 12:02:19 +10:00
Sam 33578a2c17 FIX: always import avatars during SSO if they are missing 2016-09-16 09:45:00 +10:00
Neil Lalonde b9801d2e26 UX: add text near group flair settings explaining that flair only shows for a user's primary group 2016-09-15 17:39:47 -04:00
Neil Lalonde a74781fbbc fix jslint error 2016-09-15 16:50:23 -04:00
Neil Lalonde d0ebde9d84 don't try to render flair if there's no primary group 2016-09-15 16:26:58 -04:00
Neil Lalonde e3e15182df FEATURE: avatar flair on user cards 2016-09-15 16:15:18 -04:00
Robin Ward cd571b26ba FIX: Allow Safe Redirections in Topic Embedding 2016-09-15 13:56:59 -04:00
Arpit Jalan 5dbd6a304b add search-container class to search page 2016-09-15 13:46:22 +05:30
Guo Xiang Tan baacb30ba1 FIX: Incorrect folder. 2016-09-15 15:20:07 +08:00
Guo Xiang Tan b0752b1f91 FIX: Don't bypass validations. 2016-09-15 10:15:17 +08:00
Sam fe7883eeea UX: don't allow user scaling in mobile view
on iOS 10 behavior of zoom restriction has changed.

This does not disable zooming on iOS 10 but it DOES stop it from randomly
zooming when you are composing
2016-09-15 07:36:16 +10:00
Robin Ward aa7c735d34 FIX: Improve selecting text over line breaks 2016-09-13 11:36:17 -04:00
Neil Lalonde 06eb256d0a FIX: blocking users should never hide all posts if they are trust level 1 or higher 2016-09-12 11:58:10 -04:00
Erick Guan 7423140825
FIX: show event name in webhook headers 2016-09-12 17:48:54 +08:00
Sam 2d859ba0ed FIX: user api should always be available to staff 2016-09-12 15:42:06 +10:00
Neil Lalonde b381d84dd9 FIX: tag search should not be case sensitive 2016-09-09 16:55:26 -04:00
Robin Ward 1f5325e3f0 FIX: Only validate uploaded URLs if they change 2016-09-08 12:06:18 -04:00
Arpit Jalan 19ddf95efa FIX: add custom invite email templates 2016-09-08 00:54:48 +05:30
Robin Ward 9609a47016 Ability to skip email validation via a plugin 2016-09-07 14:05:46 -04:00
Robin Ward acaac02673 Merge pull request #4423 from SafaAlfulaij/arabic_client_plural_rules
Add Arabic Pluralization Rules for Client
2016-09-06 11:22:21 -04:00
Matt Palmer 51854e56ac Don't hide e-mail in settings behind email-in plugins 2016-09-06 14:23:43 +10:00
Guo Xiang Tan 0fbb949af5 Merge pull request #4432 from tgxworld/migrate_upload_scheme_to_scheduled_job
FIX: Make `Jobs::MigrateUploadScheme` a scheduled job.
2016-09-06 08:39:27 +08:00
Erick Guan 9ce61b4586 FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
Guo Xiang Tan aabb7a8592 FIX: DiscourseEvent should not be triggered from within the controller. 2016-09-05 15:58:04 +08:00
Guo Xiang Tan e4b75f604c FIX: Make clean up upload script a safer task to run. 2016-09-05 10:06:02 +08:00
Sam 39e6cbc442 FIX: disable double submission which invalidates nonce 2016-09-04 16:05:25 +10:00
Sam 340874d345 FIX: post notifications in JSON so we properly support arrays and so on 2016-09-04 15:51:16 +10:00
Angus McLeod 422941a606 fix order of plugin template resolution 2016-09-02 12:55:11 -04:00
Sam 1d281e02c7 id is optional if already specified in header 2016-09-02 17:08:46 +10:00
Sam be0fd5b4cc FEATURE: allow user api key revocation for read only keys 2016-09-02 17:04:00 +10:00
Guo Xiang Tan 1a4a0d7e89 FIX: Don't fail silently. 2016-09-02 11:59:03 +08:00
Guo Xiang Tan 692ecff3eb Revert "FIX: Don't fail silently."
This reverts commit baa6af93a2.
2016-09-02 11:58:56 +08:00
Guo Xiang Tan baa6af93a2 FIX: Don't fail silently. 2016-09-02 11:53:53 +08:00
Guo Xiang Tan a869d861f4 FIX: Make `Jobs::MigrateUploadScheme` a scheduled job.
This reverts https://github.com/discourse/discourse/commit/9d8db11c

If the job fails during execution or if `SiteSetting.migrate_to_new_scheme`
has been set to `false`, the job will be considered as executed even
though the migration has not been completed. As a result, the job
will have to be executed manually which is not desirable.
2016-09-02 11:48:45 +08:00
Guo Xiang Tan efd7cbd887 Remove limit default.
Having the limit makes it harder to migrate all `Upload`/`OptimizedImage`
since the count has to be figured out and passed to the method.
2016-09-02 10:55:11 +08:00
Sam 0a39ba43ed FIX: always respect avatar_force_update 2016-09-02 12:04:22 +10:00
Sam 211c374df6 Merge pull request #4213 from fantasticfears/sso
FIX: Importing user avatar when new user login by SSO
2016-09-01 18:05:18 -07:00
Sam 034dc52beb UX: adjust to show all and stat period 2016-09-02 11:03:52 +10:00
Neil Lalonde 1078d929cd Revert "see if gtm automatically pushes pageview events without our own page-tracking code" 2016-09-01 13:28:04 -04:00
Neil Lalonde 572713b801 see if gtm automatically pushes pageview events without our own page-tracking code 2016-09-01 12:16:54 -04:00
Arpit Jalan 929730c008 FIX: properly insert images in markdown inline format (take 2) 2016-09-01 17:56:39 +05:30
Arpit Jalan 54a1180140 FIX: properly insert images in markdown inline format 2016-09-01 11:55:40 +05:30
Sam 1d7df97c30 FIX: display old category style on mobile 2016-09-01 15:57:23 +10:00
Angus McLeod 18da378f9a only perform the check on mobile view 2016-08-31 10:23:56 -04:00
Angus McLeod 0b20c0b581 check the plugin mobile/list dir for templates 2016-08-31 10:12:16 -04:00
Guo Xiang Tan 90a0327fd2 FIX: Check against reserved usernames should be case insensitive. 2016-08-31 21:53:41 +08:00
Sam 282a4e1efb FIX: remove from preload store so it is not cached forever 2016-08-31 14:07:31 +10:00
Sam 55fad7b339 FIX: missing avatars from categories page when ajax loaded
UX: display last poster on categories page instead of OP
2016-08-31 14:02:30 +10:00
Rafael dos Santos Silva 8fc556f81a FIX: Avatars on new category page 2016-08-30 23:54:15 -03:00
Sam 591dab1bb5 FIX: on load categories list not showing create button 2016-08-31 09:35:23 +10:00
Jeff Atwood 329faae3e0 Merge pull request #4427 from xfalcox/patch-1
[WIP] Add text on last-visit line
2016-08-30 15:40:42 -07:00
Rafael dos Santos Silva 91840be2b9 Makes it variable topic height proof 2016-08-30 19:07:56 -03:00