This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/components
Jeff Wong 91b31860a1
Feature: Push notifications for Android (#5792)
* Feature: Push notifications for Android

Notification config for desktop and mobile are merged.

Desktop notifications stay as they are for desktop views.

If mobile mode, push notifications are enabled.

Added push notification subscriptions in their own table, rather than through
custom fields.

Notification banner prompts appear for both mobile and desktop when enabled.
2018-05-04 15:31:48 -07:00
..
activation-controls.js.es6 FEATURE: Allow users to resend/update email from confirmation page 2017-05-03 11:18:01 -04:00
add-category-class.js.es6 Replace the add category class view mixin with a component 2016-11-14 14:36:29 -05:00
avatar-flair.js.es6 FEATURE: Allow group owners to edit group name and avatar flair. 2016-12-05 14:27:46 +08:00
avatar-uploader.js.es6 UX: ensure we only allow images when uploading an avatar, user card background, etc... 2017-01-02 11:37:56 +01:00
badge-button.js.es6 grey out disabled badges in admin overview (#5416) 2017-12-27 16:57:21 +11:00
badge-card.js.es6 FIX: Badge filtering was always to the currentUser 2017-05-04 11:58:56 -04:00
badge-selector.js.es6 Reapply Ember 2.10 for good this time! 2016-12-19 11:19:10 -05:00
badge-title.js.es6 Using const instead of var while declaring 2017-12-11 14:26:21 +05:30
basic-topic-list.js.es6 FEATURE: Live updates for user's messages page. 2018-03-06 18:15:21 +08:00
bread-crumbs.js.es6 Replace deprecated render(buffer) with a custom buffered renderer 2016-10-25 14:00:21 -04:00
bulk-select-button.js.es6 UX: Give a class name to the container of the #bulk-select 2017-10-23 14:07:52 -04:00
categories-and-latest-topics.js.es6 UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
categories-and-top-topics.js.es6 FEATURE: New "Categories and Top" homepage style 2018-03-03 14:26:57 -05:00
categories-boxes-topic.js.es6 replace gets with arguments 2017-03-23 12:42:37 -04:00
categories-boxes-with-topics.js.es6 FEATURE: subcategory list style: boxes with featured topics 2017-03-16 11:54:45 -04:00
categories-boxes.js.es6 some cleanup thanks to eviltrout 2017-03-14 17:23:19 -04:00
categories-only.js.es6 Convert latest-topic-list to components and remove nested tables 2017-08-13 12:45:26 -04:00
categories-topic-list.js.es6 Add extensiblity point for discourse-tooltips 2018-03-14 12:46:32 -04:00
category-panel-base.js.es6 Can add topic templates to categories, prepopulated on compose 2015-07-03 10:01:46 -04:00
category-title-before.js.es6 Added the required hooks for discourse-favorites plugin. 2018-02-22 23:58:53 +02:00
category-title-link.js.es6 FIX: Don't double escape the category title 2016-09-22 21:13:08 -04:00
category-unread.js.es6 FIX: unread badges should be inline on the category list 2015-03-27 12:10:21 -04:00
cdn-img.js.es6 cdn-img will render nothing if src is null 2017-03-15 13:30:29 -04:00
choose-topic.js.es6 Deprecation: Removes more references to view.xyz in templates 2016-05-11 14:26:08 -04:00
color-picker-choice.js.es6 Final set of backwards compatible fixes for Ember 1.13 2016-10-28 15:51:39 -04:00
color-picker.js.es6 Final set of backwards compatible fixes for Ember 1.13 2016-10-28 15:51:39 -04:00
composer-action-title.js.es6 UX: Editing a shared draft was confusing in the composer 2018-03-27 17:11:21 -04:00
composer-body.js.es6 FEATURE: Shared Drafts 2018-03-20 17:15:26 -04:00
composer-editor.js.es6 FEATURE: add a delay on the "mention" warning in composer 2018-05-01 15:40:44 +10:00
composer-message.js.es6 Remove Ember 1.x specific code 2016-11-25 15:38:45 -05:00
composer-messages.js.es6 PERF: cache messages so re-opening composer on same topic does not issue a req 2018-01-10 14:39:39 +11:00
composer-save-button.js.es6 UX: Convert buttons to d-button 2017-08-01 17:24:06 -04:00
composer-title.js.es6 Avoid console error in tests 2018-04-11 16:11:53 +10:00
composer-toggles.js.es6 UX: better help text for composer collapse / discard 2017-11-30 12:28:00 +11:00
composer-user-selector.js.es6 UX: Focus on usernames if creating a PM from your user page 2016-07-22 13:56:17 -04:00
conditional-loading-section.js.es6 dashboard next: caching, mobile support and new charts 2018-05-03 15:41:41 +02:00
conditional-loading-spinner.js.es6 UX: Various admin class and structure improvements for styling 2017-10-30 14:50:43 -04:00
connector-container.js.es6 Add the ability to connect a component to a Discourse widget 2016-11-23 14:27:47 -05:00
cook-text.js.es6 FIX: missing short image resolution on queued posts 2017-11-13 12:08:11 +11:00
count-i18n.js.es6 Replace deprecated render(buffer) with a custom buffered renderer 2016-10-25 14:00:21 -04:00
create-account.js.es6 Migrate create account modal to components 2016-11-14 16:50:46 -05:00
create-topic-button.js.es6 UX: Require an extra click to open topic draft 2018-04-17 14:45:18 +10:00
create-topics-notice.js.es6 Track steps the user has completed, nag them to finish it. 2016-09-22 09:52:19 -04:00
csv-uploader.js.es6 FIX: only allow CSV file to be uploaded for bulk invite 2017-01-11 16:26:01 +05:30
custom-html.js.es6 Add support for app events in plugin api, plus an event for custom html 2018-01-05 16:45:57 -05:00
d-button.js.es6 No need to default aria-label to label. 2018-03-28 09:11:50 +08:00
d-checkbox.js.es6 Add support for disabled attribute to the d-checkbox component 2017-08-07 18:16:43 +02:00
d-editor-modal.js.es6 UX: Use separate input fields for link and description in d-editor 2016-04-08 16:13:42 -04:00
d-editor.js.es6 FIX: don't trigger autocomplete for tags after space is entered 2018-04-26 15:36:41 +10:00
d-modal-body.js.es6 Login with email/forget password UI refactoring 2018-02-22 08:06:15 +08:00
d-modal-cancel.js.es6 Extract out common "cancel" link functionality from modals 2017-09-25 12:25:15 -04:00
d-modal.js.es6 Better support for inline modals 2017-08-30 17:52:49 -04:00
d-navigation.js.es6 UX: Require an extra click to open topic draft 2018-04-17 14:45:18 +10:00
d-section.js.es6 Remove the ScrollTop Mixin 2016-11-10 15:25:04 -05:00
date-picker-future.js.es6 UX: Improve the way users set timers for TopicStatusUpdate. 2017-04-20 14:25:45 +08:00
date-picker-past.js.es6 FIX: fill date input with default date range 2017-05-22 21:54:28 +05:30
date-picker.js.es6 FIX: Populate the Email Digest preview with the current username 2017-06-28 15:38:57 -04:00
desktop-notification-config.js.es6 Feature: Push notifications for Android (#5792) 2018-05-04 15:31:48 -07:00
directory-item.js.es6 Deprecation: replace itemController with components 2016-05-04 16:18:22 -04:00
directory-toggle.js.es6 UX: Allow user_count on groups page to be sortable. 2018-03-19 16:15:13 +08:00
disabled-icon.js.es6 More refactoring to support extensibility of history 2015-01-28 13:37:06 -05:00
discourse-banner.js.es6 Replace deprecated render(buffer) with a custom buffered renderer 2016-10-25 14:00:21 -04:00
discourse-tag-bound.js.es6 FIX: tag link in breadcrumbs on subfolder installs 2017-02-21 10:41:08 -05:00
discourse-topic.js.es6 Support for HTML values in widget hbs templates 2017-09-29 09:56:14 -04:00
discovery-categories.js.es6 Fixes some deprecations: 2016-04-28 15:25:45 -04:00
discovery-topics-list.js.es6 Remove more views and deprecations. 2016-04-28 16:17:18 -04:00
dropdown-button.js.es6 REFACTOR: Replace some fa-* uses with helpers 2017-07-27 14:55:41 -04:00
edit-category-general.js.es6 UX: Hide category badge colors if the style is none 2017-11-02 12:50:24 -04:00
edit-category-images.js.es6 FIX: Associate category logo and background to uploads record. 2016-12-12 17:37:28 +08:00
edit-category-panel.js.es6 FEATURE: box-style rendering of sub-categories 2017-03-13 15:25:52 -04:00
edit-category-security.js.es6 FIX: makes sure the combo-box selects the first value 2017-10-30 01:28:11 -07:00
edit-category-settings.js.es6 FEATURE: category setting for default top period 2017-03-22 16:54:18 -04:00
edit-category-tab.js.es6 FIX: reset scroll position when switching tab in edit category modal 2017-12-16 20:46:22 +01:00
edit-category-tags.js.es6 FEATURE: restrict tags to be used in a category 2016-05-30 16:56:33 -04:00
edit-category-topic-template.js.es6 FIX: Weird UX with d-editor for topic templates 2015-11-06 15:10:28 -05:00
edit-topic-timer-form.js.es6 UX: Allow users to remove a remind me topic timer. 2017-10-05 11:50:08 +08:00
emoji-picker.js.es6 correct regression, changing diversity would leave blanks 2018-05-01 17:36:49 +10:00
emoji-uploader.js.es6 UX: ensure we only allow images when uploading an avatar, user card background, etc... 2017-01-02 11:37:56 +01:00
expand-post.js.es6 UX: Allow collapsing of group posts after they've been expanded 2017-11-08 16:34:57 -05:00
expanding-text-area.js.es6 FEATURE: Force user to enter reason when requesting for group membership. 2017-08-09 15:45:28 +09:00
featured-topic.js.es6 Migrate the topic entrace to use a component 2016-11-15 16:44:50 -05:00
flag-action-type.js.es6 rename 'min_private_message_{post/title}_length' to 'min_personal_message_{post/title}_length' 2018-02-01 13:25:29 +05:30
flag-selection.js.es6 Migrate flag modal to use components 2016-11-14 16:50:46 -05:00
flagged-posts.js.es6 Add front end service for staff controls 2017-09-25 12:25:14 -04:00
flat-button.js.es6 UX: Refactor composer buttons into flat buttons 2017-07-25 12:00:19 -04:00
footer-message.js.es6 FIX: Footer message was missing the class 2017-08-17 14:40:14 -04:00
future-date-input.js.es6 Introduces select-kit 2017-11-21 11:53:09 +01:00
generated-invite-link.js.es6 Migrate invite view to components, remove HTML from translations 2016-11-14 16:00:40 -05:00
global-notice.js.es6 FEATURE: if site is under extreme load show anon view 2018-04-18 16:58:57 +10:00
google-search.js.es6 FEATURE: if full search returns no results, show google search form 2017-08-15 16:46:41 -04:00
group-activity-filter.js.es6 FEATURE: Support filtering of groups page by category if in url 2017-10-31 17:50:06 -04:00
group-card-contents.js.es6 show card on preview panel. 2018-04-20 12:28:24 -07:00
group-flair-inputs.js.es6 FIX: Binding style attributes need to be escaped. 2018-04-06 14:58:38 +08:00
group-index-toggle.js.es6 Add span to make extensibility easier 2018-01-23 15:45:09 -05:00
group-manage-logs-filter.js.es6 UX: Consolidation group manangement into a single tab. 2018-03-27 13:34:46 +08:00
group-manage-logs-row.js.es6 UX: Consolidation group manangement into a single tab. 2018-03-27 13:34:46 +08:00
group-manage-save-button.js.es6 UX: Better 'saved' indication on group manage form. 2018-04-13 10:18:09 +08:00
group-member-dropdown.js.es6 UX: Use a wrench for group-member-dropdown. 2018-04-13 08:01:00 +08:00
group-member.js.es6 UX: Move editing group from into an individual tab. 2016-12-13 15:15:20 +08:00
group-members-input.js.es6 UX: Consolidation group manangement into a single tab. 2018-03-27 13:34:46 +08:00
group-membership-button.js.es6 UX: Tweaks to group pages. 2018-03-29 17:04:48 +08:00
group-navigation.js.es6 UX: Use topic list for displaying group messages on group page. 2018-03-16 11:56:40 +08:00
group-post.js.es6 FIX: Group posts had the wrong paths in subfolders 2018-02-14 20:33:31 -05:00
group-selector.js.es6 FIX: Group owners should be able to invite users to their groups. 2017-07-21 23:48:25 +09:00
groups-form-interaction-fields.js.es6 FIX: An option in aliasLevelOptions was accidentally removed. 2018-04-11 11:03:44 +08:00
groups-form-membership-fields.js.es6 UX: Split up group form into smaller sections. 2018-04-09 15:14:50 +08:00
groups-form-profile-fields.js.es6 FIX: Disable save button when new group form is empty. 2018-04-12 10:29:36 +08:00
groups-info.js.es6 UX: Don't show the group full name if it's the same as the title 2018-04-26 16:28:16 -04:00
header-extra-info.js.es6 Migrate this.container to getOwner(this) 2016-11-07 15:21:31 -05:00
hide-modal-trigger.js.es6 Tweaks for better modal distinction between fixed/inline 2017-08-30 17:38:49 -04:00
highlight-text.js.es6 FIX: only highlight exact word matches in results 2017-07-20 12:26:46 -04:00
image-uploader.js.es6 UX: ensure we only allow images when uploading an avatar, user card background, etc... 2017-01-02 11:37:56 +01:00
input-tip.js.es6 FEATURE: Plugins can overwrite and add support for new icons 2017-07-26 13:21:17 -04:00
latest-topic-list-item.js.es6 Add extensibility endpoints for clicking on topic list item rows 2017-12-22 14:01:17 -05:00
links-redirect.js.es6 Migrate history modal to components 2016-11-15 16:44:50 -05:00
load-more.js.es6 Remove more views and deprecations. 2016-04-28 16:17:18 -04:00
login-buttons.js.es6 FIX: social login buttons were not working 2018-02-22 18:06:28 +01:00
login-modal.js.es6 FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
login-reply-button.js.es6 attempt to manually revert PR https://github.com/discourse/discourse/pull/4600 2017-02-07 17:15:12 -08:00
mobile-category-topic.js.es6 UX: '.visited' wasn't applied in categories view and suggested topics 2017-09-11 16:42:51 +02:00
mobile-nav.js.es6 FIX: collapse mobile nav on outside click 2017-05-12 13:15:04 -04:00
mount-widget.js.es6 FIX: Dirty keys should become to a widget, not global 2017-06-21 14:27:08 -04:00
nav-item.js.es6 Migrate this.container to getOwner(this) 2016-11-07 15:21:31 -05:00
navigation-bar.js.es6 Allow plugins to specify custom nav items on mobile 2017-12-19 16:50:25 +11:00
navigation-item.js.es6 FIX: new/unread tabs should re-appear dynamically 2018-04-04 00:08:31 +05:30
notification-consent-banner.js.es6 Feature: Push notifications for Android (#5792) 2018-05-04 15:31:48 -07:00
number-field.js.es6 FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
password-field.js.es6 FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors. 2015-02-10 17:21:16 -05:00
plugin-connector.js.es6 FIX: if args change a connector should update 2016-12-23 12:07:18 -05:00
plugin-outlet.js.es6 FEATURE: View flags grouped by topic 2017-09-25 12:25:14 -04:00
popup-input-tip.js.es6 FEATURE: Plugins can overwrite and add support for new icons 2017-07-26 13:21:17 -04:00
preference-checkbox.js.es6 FIX: users on ie/safari were unable to disable mailing list mode 2016-04-29 15:17:53 +05:30
queued-post.js.es6 FIX: queues posts broken for multiple posts 2017-08-17 14:47:09 -04:00
quote-button.js.es6 FIX: sometimes quote button did nothing on Firefox 2017-11-20 11:14:44 +11:00
radio-button.js.es6 Nuke extra whitespace. 2017-03-28 16:50:35 +08:00
scroll-tracker.js.es6 FIX: Scroll position is tracked on search page 2017-08-13 14:24:29 +02:00
scrolling-post-stream.js.es6 FIX: scrolling was off sometimes 2018-04-05 10:08:48 +02:00
search-advanced-options.js.es6 Introduces select-kit 2017-11-21 11:53:09 +01:00
search-text-field.js.es6 UX: update placeholder for full page search 2018-04-18 13:50:34 +05:30
share-button.js.es6 UX: Convert buttons to d-button 2017-08-01 17:24:06 -04:00
share-popup.js.es6 FEATURE: Use new WebShare API on supported platforms 2017-09-25 19:15:28 -03:00
share-source.js.es6 Refactor sharing dialog for extensibility 2015-01-13 17:26:05 -05:00
shared-draft-controls.js.es6 FIX: Lint error 2018-03-27 17:19:38 -04:00
signup-cta.js.es6 Remove excessive text on signup CTA 2015-10-30 14:13:16 -04:00
site-header.js.es6 UX: occasionally getting scrollbar while loading notifications 2018-03-23 18:19:28 +11:00
suggested-topics.js.es6 FIX: align suggested messages 2018-03-15 17:51:19 +01:00
tag-drop-link.js.es6 Replace deprecated render(buffer) with a custom buffered renderer 2016-10-25 14:00:21 -04:00
tag-list.js.es6 FEATURE: replace PM tags dropdown with a dedicated tags page 2018-03-13 13:06:58 +05:30
tags-admin-dropdown.js.es6 REFACTOR: Replace some fa-* uses with helpers 2017-07-27 14:55:41 -04:00
text-field.js.es6 FIX: prevents a regression where enter wasn't working in inputs 2018-02-05 09:55:58 +01:00
text-overflow.js.es6 Replace deprecated render(buffer) with a custom buffered renderer 2016-10-25 14:00:21 -04:00
top-period-buttons.js.es6 FEATURE: User Directory, with sorting and time period filter 2015-03-18 15:20:34 -04:00
topic-admin-menu-button.js.es6 FEATURE: Show a button to Staff for "Moderation History" on posts/topics 2017-12-05 15:20:20 -05:00
topic-category.js.es6 FIX: Tags weren't showing up in Ember 2.4 2016-11-11 13:01:53 -05:00
topic-entrance.js.es6 FIX: Double header rendering issues, redux 2017-06-22 12:50:46 -04:00
topic-footer-buttons.js.es6 FEATURE: show "edit message" button on message footer for staff 2018-02-27 14:22:03 +05:30
topic-list-item.js.es6 Add unseen-topic and new-posts classnames to topic lists 2018-03-31 11:57:03 -07:00
topic-list.js.es6 FEATURE: Shared Drafts 2018-03-20 17:15:26 -04:00
topic-navigation.js.es6 FIX: Topic Timeline was impossible to close if you used the back button 2017-04-07 14:37:05 -04:00
topic-post-badges.js.es6 UX: updated 'new dot' styling 2018-03-30 01:25:39 +05:30
topic-progress.js.es6 UX: ensure topic progress indicator isn't floating in very short topics 2018-04-20 17:26:50 +02:00
topic-status.js.es6 UX: prevent anons from clearing pins in topic view 2018-01-31 20:34:53 +01:00
topic-timeline.js.es6 UX: remove fast scroll which is leading to bugs 2018-03-02 12:58:38 +11:00
topic-timer-info.js.es6 FIX: adds spacing between category name and text in topic timers 2018-03-28 13:08:47 +02:00
topic-title.js.es6 UX: Allow CTRL+ENTER to save topic title edits 2017-07-04 14:23:57 -04:00
track-selected.js.es6 Add semi colon linting to Javascript 2015-09-15 17:08:50 -04:00
user-badge.js.es6 FEATURE: you can not drill down and see why you have badges 2016-01-18 17:59:20 +11:00
user-card-contents.js.es6 REFACTOR: move support for user card badge images to a plugin discourse-user-card-badges 2018-04-26 13:25:24 -04:00
user-field.js.es6 Force users to select an option in required custom user dropdown fields 2016-03-06 21:07:00 +00:00
user-info.js.es6 Convert front end paths from /users/ to /u/ 2017-03-30 10:23:24 -04:00
user-link.js.es6 UX: username should always be case sensitive in user card 2015-11-23 15:57:10 +01:00
user-notifications-large.js.es6 FIX: Notifications do not fade after marking all as read. 2016-05-09 17:02:44 +08:00
user-selector.js.es6 UX: Don't match emails in user selector in group add members modal. 2018-04-20 10:28:52 +08:00
user-stat.js.es6 FIX: time read on users directory was not rendering correctly on mobile 2018-01-29 13:31:18 -05:00
user-stream-item.js.es6 Extracted/DRYed user-stream-item component CSS from user.css into own files 2017-08-25 08:38:27 -07:00
user-stream.js.es6 FIX: ESlint 2017-12-19 17:55:41 -05:00
user-summary-section.js.es6 Refactor user summary page to use more components 2017-10-13 16:05:40 -04:00
user-summary-topic.js.es6 Refactor user summary page to use more components 2017-10-13 16:05:40 -04:00
user-summary-topics-list.js.es6 Refactor user summary page to use more components 2017-10-13 16:05:40 -04:00
user-summary-user.js.es6 Refactor user summary page to use more components 2017-10-13 16:05:40 -04:00
watch-read.js.es6 Remove the ScrollTop Mixin 2016-11-10 15:25:04 -05:00