Commit Graph

12541 Commits

Author SHA1 Message Date
Guo Xiang Tan 298b82f59e UX: Tweak position of radar ping. 2016-11-14 08:45:51 +08:00
Sam 115c454002 FIX: if prioritizing names in ux choose name over username in email 2016-11-14 11:09:24 +11:00
Arpit Jalan 3ed2d645a3 FIX: attach proper class to user notification section 2016-11-12 15:02:27 +05:30
Robin Ward b217db9337 Remove unused var 2016-11-11 17:24:17 -05:00
Robin Ward a9ed15e11a FIX: Remove more of those pesky View classes 2016-11-11 17:03:15 -05:00
Robin Ward cc93cd76ef Replace quote button with a component 2016-11-11 16:00:28 -05:00
Andreas Motl 43fd3ebd4a Add “pop3_polling_openssl_verify” setting to turn off TLS server certificate verification like “smtp_openssl_verify_mode”. Defaults to “true”, so it does not change current behavior. 2016-11-11 21:59:15 +01:00
Robin Ward 93403b0af6 Replace the share popup with a component 2016-11-11 14:13:19 -05:00
Robin Ward 2a25136ecf FIX: Tags weren't showing up in Ember 2.4 2016-11-11 13:01:53 -05:00
Sam 3d76ce1421 FEATURE: SSO support for adding and removing a user to groups
Use: add_groups with a comma delimited list to ensure a user is in groups (using group names)

Use: remove_groups with a comma delimited list to ensure a user is removed from groups (using group names)
2016-11-11 16:57:31 +11:00
Robin Ward 01a8ef590a Remove more view classes 2016-11-10 16:27:15 -05:00
Robin Ward d98aa48f0d Remove some preferences views, add extra tests 2016-11-10 15:54:21 -05:00
Robin Ward a94f06ff78 Remove the `ScrollTop` Mixin 2016-11-10 15:25:04 -05:00
Robin Ward 0904ad5537 Migrate `createViewWithBodyClass` helper to components 2016-11-10 14:28:04 -05:00
Robin Ward ecb9574a32 FIX: Touch issues in iOS 2016-11-10 10:12:47 -05:00
Guo Xiang Tan 531d649a75 FIX: Make sure we decrease post count if new post fails to save. 2016-11-10 11:02:11 +08:00
Guo Xiang Tan 55865024c7 UX: Only scroll if the element is not in viewport. 2016-11-10 09:38:35 +08:00
Guo Xiang Tan eaf7746ec9 FIX: Only scroll PMs on new message. 2016-11-10 09:25:54 +08:00
Robin Ward 985b855a5b FIX: Later versions of ember require dashes in template names 2016-11-09 14:50:34 -05:00
Jeff Atwood dd9ba3c50c Merge pull request #4543 from xfalcox/linkify-user-stats
FEATURE: Clinking on stats in user summary take you to the respective activity page
2016-11-09 20:04:55 +01:00
Robin Ward 1d784f5758 Allow Ember 2.4 to connect views to widgets 2016-11-09 13:58:24 -05:00
Arpit Jalan 9e69798285 FEATURE: watch first post default site setting 2016-11-10 00:09:52 +05:30
Rafael dos Santos Silva 150cb6659f FEATURE: Clinking on stats in user summary take you to the respective activity page 2016-11-09 16:38:07 -02:00
Régis Hanol b0c6cd8afd make jslint happy 2016-11-09 18:09:26 +01:00
Régis Hanol b117a9994b FIX: escape emojis in topic selection modal 2016-11-09 18:06:19 +01:00
Robin Ward 875703a750 A couple of small but important fixes for later Ember releases 2016-11-09 11:46:27 -05:00
Guo Xiang Tan 4a26561927 Only scroll to posts that are not your own in PMs. 2016-11-09 21:34:32 +08:00
Guo Xiang Tan 74e1889924 FEATURE: Scroll to new posts when user is near bottom of PM. 2016-11-09 13:38:33 +08:00
Guo Xiang Tan 263a43bcfd UX: Use a gradient instead of a border. 2016-11-09 09:56:36 +08:00
Neil Lalonde f10520a5f2 fix broken js lint 2016-11-08 17:59:51 -05:00
Jeff Atwood 13a40d2f99 Merge pull request #4541 from xfalcox/no-last-visit-on-top
FIX: Last Visit line shouldn't appear on /top
2016-11-08 23:08:40 +01:00
Rafael dos Santos Silva bd77f5cb72 FIX: Last Visit line shouldn't appear on /top 2016-11-08 19:56:13 -02:00
Neil Lalonde 86522a52b7 FEATURE: add censored_pattern setting to censor posts using regex 2016-11-08 16:39:26 -05:00
Robin Ward 151597bf0f Update code so Ember 2.3 can have more tests passing 2016-11-08 13:40:35 -05:00
Régis Hanol 78cd42943f FEATURE: add 'emoji-custom' class to custom emojis 2016-11-08 16:36:09 +01:00
Jeff Atwood ba4ef3424f minor tweak to ping effect 2016-11-08 03:57:32 -08:00
Arpit Jalan b7532b5247 FIX: download archive confirm message was broken for non-staff users 2016-11-08 15:04:18 +05:30
Guo Xiang Tan b18439a1e2 Fix build. 2016-11-08 17:00:44 +08:00
Guo Xiang Tan a8b7599d4a FEATURE: Add a radial ping when user's first notification has not been read. 2016-11-08 16:23:12 +08:00
Sam ac2c035856 FIX: stop raising exceptions when a post goes missing 2016-11-08 14:51:56 +11:00
Robin Ward 70fb2431a1 Migrate `this.container` to `getOwner(this)` 2016-11-07 15:21:31 -05:00
Robin Ward bc2c6b0918 FIX: Allow arrays of links for decorators 2016-11-07 12:11:52 -05:00
Robin Ward aa80c8cbdd FIX: Support optional logos when previewing the wizard 2016-11-07 11:06:32 -05:00
Kiffin Gish 3aa22715af A new guard for changing post timestamps called can_change_post_timestamps? 2016-11-06 20:14:09 +01:00
Régis Hanol 3daba9351a Merge pull request #4535 from fantasticfears/webhooks-url
FEATURE: Add instance id in the webhook payload
2016-11-04 15:29:02 +01:00
Robin Ward 5febbd58cc The initializer arguments changed in future Ember releases 2016-11-04 10:23:24 -04:00
Robin Ward e18ae34493 Don't try injecting into the Resolver. Use options instead. 2016-11-04 10:23:24 -04:00
Robin Ward c8282e4ca1 FIX: We're running code outside of the runloop 2016-11-04 10:23:24 -04:00
Erick Guan dd58c00699
FEATURE: Add instance id in the webhook payload 2016-11-04 15:21:41 +01:00
Guo Xiang Tan b26368709e FIX: Unescape emojis in composer topic title. 2016-11-04 16:53:13 +08:00
Robin Ward a9d7569dda Replace computed properties for topic query params 2016-11-03 13:09:43 -04:00
Robin Ward beac81d0ee Support both `_actions` and `actions` for delegating 2016-11-03 11:52:30 -04:00
Robin Ward 95c8d66fe0 FIX: In Ember 2.0 you can't bind Query Parametrs like this 2016-11-03 11:00:26 -04:00
Robin Ward 2d126cff8f `Ember.String.fmt` is deprecated 2016-11-03 11:00:26 -04:00
Robin Ward 464f509941 In Ember 2.0 `this.resource` is deprecated 2016-11-03 11:00:26 -04:00
Guo Xiang Tan 847eea85a0 Merge pull request #4527 from cpradio/category-selector
FIX: Advanced Search to utilize Category Selector so it can distingui…
2016-11-03 09:15:00 +08:00
Neil Lalonde 764a572070 FIX: when subcategories with the same name exist, filtering by tags might use the wrong subcategory 2016-11-02 15:29:33 -04:00
Guo Xiang Tan c13d94a376 Merge pull request #4524 from tgxworld/fix_performance_of_clean_up_uploads
PERF: `NOT IN` query is really inefficient when there are a lot of re…
2016-11-02 13:15:29 +08:00
Guo Xiang Tan f03d9cad06 PERF: `NOT IN` query is really inefficient for large tables. 2016-11-02 13:09:18 +08:00
Sam 920264349d UX: title links to first post on expanded timeline 2016-11-02 15:12:13 +11:00
Jeff Atwood dec4a3386f mobile top/bottom timeline dates bigger targets 2016-11-01 16:31:33 -07:00
Robin Ward e9309f2d96 FIX: Broken `{{if}}` statement 2016-11-01 16:56:45 -04:00
Neil Lalonde 29edbafac7 FIX: post short link on subfolder installs 2016-11-01 15:20:04 -04:00
Neil Lalonde 9ef1688a76 FEATURE: per-category default topic list sort order 2016-11-01 12:18:41 -04:00
cpradio f59c11b4ab FIX: Advanced Search to utilize Category Selector so it can distinguish uncategorized from no category selected 2016-10-31 17:27:57 -04:00
Robin Ward e07dfe16d7 FIX: Mentions were refreshing too frequently 2016-10-31 13:19:23 -04:00
Arpit Jalan 70782dcc0b Merge pull request #4525 from techAPJ/og-post-image
FEATURE: include post image in OpenGraph image tag
2016-10-31 21:55:50 +05:30
Arpit Jalan 382803cb05 FEATURE: include post image in OpenGraph image tag 2016-10-31 15:11:33 +05:30
Arpit Jalan e03c1e4cdf annotate models 2016-10-31 15:02:11 +05:30
Régis Hanol 7a08d1a11b Merge pull request #4520 from jako512/header-plugin-outlets
Added above-site-header and below-site-header plugin outlets
2016-10-31 10:29:15 +01:00
Sam 584dc63d13 UX: align timeline to the right in mobile and add jump to button 2016-10-31 12:40:40 +11:00
David McClure 9bbab6e64e FIX: Auto-link URLs that are inside parentheses 2016-10-29 18:57:25 -07:00
Neil Lalonde 4d58a00387 FIX: clear tag filter when changing category filter 2016-10-28 17:27:47 -04:00
Robin Ward 3505a13bea FIX: Broken build 2016-10-28 16:35:42 -04:00
Robin Ward a319cfe77a Final set of backwards compatible fixes for Ember 1.13 2016-10-28 15:51:39 -04:00
Neil Lalonde 8c9d390cac FIX: Tags used only on deleted topics could not be used again 2016-10-28 15:11:50 -04:00
Robin Ward 1e4a56fe14 Backwards compatible support for inline helpers 2016-10-28 12:48:56 -04:00
Robin Ward 319b043f43 FIX: Helpers with multiple parameters were broken in 1.13 2016-10-28 10:13:41 -04:00
Robin Ward 0f1ed1e41a Migration topic footer buttons to components 2016-10-28 10:13:41 -04:00
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