Mark VanLandingham
585bb0df27
DEV: Add class name of action type for flag-action-type container ( #23972 )
2023-10-18 10:18:52 -05:00
Mark VanLandingham
55e4fd63be
DEV: add class to bookmark-list TD ( #23914 )
2023-10-12 11:27:00 -05:00
Mark VanLandingham
d4399b4f3d
FIX: Prevent browser refresh when clicking search menu result ( #23881 )
2023-10-10 13:05:13 -05:00
Mark VanLandingham and Sérgio Saquetim
4c584f6e03
FIX: List parent/child tags correctly for categories restricted to tag groups ( #23708 )
...
Co-authored-by: Sérgio Saquetim <saquetim@discourse.org >
2023-10-10 17:30:24 +00:00
Mark VanLandingham
f29c476521
DEV: Add hooks to allow overriding notify_user behavior ( #23850 )
...
Adds new plugin registry `:post_action_notify_user_handlers` and more!
2023-10-10 12:21:57 -05:00
Mark VanLandingham
e110256cb0
DEV: Restructure search menu so that it can be rendered outside of header ( #23852 )
2023-10-10 11:36:32 -05:00
Mark VanLandingham
20700c7c19
DEV: Wrap bookmark-list table header in plugin outlet ( #23817 )
2023-10-10 08:18:31 -05:00
Mark VanLandingham
affcb44557
DEV: Don't attempt to render to empty element in RawRenderGlimmer ( #23803 )
2023-10-05 13:23:49 -05:00
Mark VanLandingham
d64d053f4d
DEV: Add body class for user activity bookmarks ( #23759 )
2023-10-05 12:59:43 -05:00
Mark VanLandingham
576c76e4cb
FEATURE: addBeforeAuthCompleteCallback plugin API method ( #23441 )
2023-09-06 08:48:51 -07:00
Mark VanLandingham
9c65e2140a
DEV: Use Notice API for mention warnings ( #23238 )
...
This PR swaps out the custom pathway to publishing and rendering mention warnings after a message is sent.
ChatPublisher#publish_notice is used, and expanded. Now, instead of only accepting text_content as an argument, component and component_args are accepted and there is a renderer for these components.
Translations moved to server, as notices expect text to be passed in unless a component is rendered
The warnings are rendered at the top now, outside of the scope of the single message that sent it.
I entirely removed the jit_messages_spec b/c it's duplicate testing of other parts of the app. IMO we don't need a backend test for a feature, a component test for the feature AND a system test (that is slow and potentially even flakey due to timing issues with wait) to test the same thing. So jit_messages_spec is gone.
2023-09-01 09:07:23 -05:00
Mark VanLandingham
68eba53e09
FEATURE: Chat global mention warnings (pre-send & post-send) ( #22764 )
...
This is also fixes the issue of chat composer warnings persisting across channels. Currently if you try to mention more groups than is allowed for example, a mention warning pops up. When you change channels the mention warning will not disappear even if there is no text in the composer.
This adds a reset function to the chat-composer-warnings-tracker.js, which is called when the channel is changed and the message is empty. In the event that the message is not empty we call captureMentions to check the loaded drafts' mentions.
This PR would be nicer if the post-send notice used the new chat notices API to publish the mention warnings but we would have to change the existing ones and I thought that would be too much change for this PR. It'd be a good followup though.
2023-08-22 15:54:35 -05:00
Mark VanLandingham
730f652255
DEV: Add plugin modifier locations for user search locations ( #23169 )
2023-08-21 12:23:42 -05:00
Mark VanLandingham
291749e35b
DEV: Move PluginOutlet at bottom of TopicNavigation ( #23149 )
2023-08-18 11:41:09 -05:00
Mark VanLandingham
fbf7b106cc
DEV: Bump selenium-webdriver version to fix system spec running ( #23117 )
...
We can no long user Webdriver - SeleniumHQ/selenium#11066 . Bumping selenium-webdriver did the trick, as well as manually setting the user_agent for mobile system specs. Unsure what changed to make this necessary, but it is necessary to get the app to boot in mobile view.
2023-08-16 15:07:03 -05:00
Mark VanLandingham
51a976eab9
FIX: Display 'shown on X' user field flags ( #23109 )
...
In this commit 2.5 years ago, variables for showOnUserCard and showOnProfile were removed, but we still used them in the component. e29605b
This corrects the variable names and adds a test to confirm the text is now shown.
2023-08-15 15:59:04 -05:00
Mark VanLandingham
bd7a10d705
DEV: Skip flakey network disconnected spec ( #23087 )
2023-08-14 12:24:16 -05:00
Mark VanLandingham
ab3a9b4690
DEV: Add plugin outlet after TopicNavigation ( #23038 )
2023-08-09 09:49:28 -05:00
Mark VanLandingham
1b63e046af
DEV: Plugin API method to replace post-menu buttons ( #22995 )
2023-08-08 14:00:45 -05:00
Mark VanLandingham
14348fc2f5
FIX: Attempt to connect with navigator.onLine is initially false ( #22981 )
2023-08-04 09:43:45 -05:00
Mark VanLandingham
b91228d6c2
FIX: Looping attempt to reconnect in network connectivity service ( #22783 )
2023-07-25 11:57:28 -05:00
Mark VanLandingham
3171fd1a0a
DEV: Introduce Chat Notices with publishing method ( #22369 )
2023-07-06 08:26:25 -05:00
Mark VanLandingham
acaea2b5c5
DEV: Add plugin_modifier for groups in users_controller#search_users ( #22329 )
2023-06-28 14:04:22 -05:00
Mark VanLandingham
36b9572bb1
FIX: Attempt to reconnect to server when browser visibilty changes ( #22259 )
2023-06-23 11:32:34 -05:00
Mark VanLandingham
fcaa9757f3
DEV: Use online/offline window events to track network connectivity ( #22243 )
2023-06-22 09:09:28 -05:00
Mark VanLandingham
6d9568a9a2
DEV: Remove network_disconnected_spec.rb ( #22233 )
2023-06-21 14:58:31 -05:00
Mark VanLandingham
114a9a10b7
DEV: Add spec for notification data modifier ( #22223 )
2023-06-21 08:57:25 -05:00
Mark VanLandingham
762dd971d6
DEV: Add plugin modifier for notification_data manipulation ( #22208 )
2023-06-20 14:07:02 -05:00
Mark VanLandingham
987d5b9fce
DEV: Add plugin modifier to expand group mentions in post_alerter ( #22163 )
2023-06-16 14:48:07 -05:00
Mark VanLandingham
3bfc6805ce
FEATURE: Offline indicator ( #21369 )
2023-06-05 11:08:04 -05:00
Mark VanLandingham
c3a734380e
DEV: Plugin outlets / extension points in search-menu ( #21642 )
2023-06-01 08:33:14 -05:00
Mark VanLandingham
96e3c5e102
DEV: Add hidden site setting to control search page size ( #21640 )
2023-05-18 15:30:08 -05:00
Mark VanLandingham
86385bc9cf
REVERT: "FEATURE: Offline indicator controlled by message-bus connectivity ( #21324 )" ( #21327 )
...
This reverts commit b1da670898 .
2023-05-01 15:27:02 -05:00
Mark VanLandingham
b1da670898
FEATURE: Offline indicator controlled by message-bus connectivity ( #21324 )
2023-05-01 12:41:30 -05:00
Mark VanLandingham
685e1de3ea
DEV: Fire appEvents for user menu events (opening/clicking) ( #21322 )
2023-05-01 11:31:57 -05:00
Mark VanLandingham
7f0682f4f2
DEV: Wrap remote theme update in transaction ( #21302 )
2023-04-28 12:11:53 -05:00
Mark VanLandingham
36d388b57f
Revert "FEATURE: Reimplement offline indicator ( #21285 )" ( #21296 )
...
This reverts commit de1066abcd .
2023-04-28 06:59:10 -05:00
Mark VanLandingham
de1066abcd
FEATURE: Reimplement offline indicator ( #21285 )
2023-04-28 06:32:35 -05:00
Mark VanLandingham
3527fbcd8e
Revert "FEATURE: Service to track message bus connectivity + offline indicator( #21259 )" ( #21282 )
...
This reverts commit 6bba514b64 .
2023-04-27 12:55:41 -05:00
Mark VanLandingham
6bba514b64
FEATURE: Service to track message bus connectivity + offline indicator( #21259 )
2023-04-27 11:04:56 -05:00
Mark VanLandingham
012aaf0ba3
PERF: Don't serialize value for theme_fields unnecessarily ( #21201 )
...
The value field of ThemeField is only used when viewing a diff in the staff action logs and local theme editing. value is being serialized into the theme index as well, which is not used. It's a huge amount of JSON that we can cut by removing it.
This also breaks up the various theme serializers into separate classes so they autoload properly (or at least restart the server on edit)
2023-04-24 09:30:51 -05:00
Mark VanLandingham
ff56f403a2
DEV: Add class to composer-ope plugin outlet container ( #21171 )
2023-04-19 11:47:56 -05:00
Mark VanLandingham
ae5aa0c79f
DEV: Plugin API addQuickAccessProfileItem adds to revamped user menu ( #21084 )
2023-04-17 06:15:16 -05:00
Mark VanLandingham
65f35e1ef2
FEATURE: SiteSetting for creation of small action on tag change ( #20812 )
...
This adds a SiteSetting, which when enabled, creates a small_action post for tag/category changes to the topic. It uses `topic.add_moderator_post, and passes raw text in, to describe the change.
2023-04-05 13:31:31 -05:00
Mark VanLandingham
73325c6c35
FEATURE: SiteSetting to default user path to different routes ( #20962 )
2023-04-04 11:48:48 -05:00
Mark VanLandingham
9518e47204
FEATURE: ability to bulk_remove users from a group ( #20876 )
2023-03-30 08:06:36 -05:00
Mark VanLandingham
ebada4a6b0
DEV: More specific API to including extra associations in CategoryList ( #20790 )
2023-03-23 12:39:38 -05:00
Mark VanLandingham
32aa821f12
DEV: Add preload API to CategoryList ( #20778 )
2023-03-22 15:12:08 -05:00
Mark VanLandingham
1e8a666003
DEV: Accept force_respect_seen_recently argument in UserEmail job ( #16460 )
2022-04-18 13:32:11 -05:00
Mark VanLandingham
b974375239
DEV: Skip notifications without topic_id in ensure_consistency ( #16299 )
2022-03-30 09:56:35 -05:00
Mark VanLandingham
96719cbf4f
DEV: Rename param passed to updateNotificationLevel ( #16289 )
2022-03-25 11:20:24 -05:00
Mark VanLandingham
a3563336db
FIX: Bug setting notification level to muted/ignored on user page ( #16268 )
2022-03-25 10:51:45 -05:00
Mark VanLandingham
f0e87aa35f
DEV: appEvent to close user card ( #16253 )
2022-03-22 12:00:44 -05:00
Mark VanLandingham
cea0b9cefb
DEV: Reserve usernames for chat and sunset chat_group_mention ( #16200 )
2022-03-16 08:55:21 -05:00
Mark VanLandingham
a0f4c7fe88
FIX: remove racing requests for admin users ( #15936 )
2022-03-16 08:47:48 -05:00
Mark VanLandingham
c33cf3c5e6
DEV: API to add keyboard shortcuts to help modal ( #16075 )
2022-03-01 14:37:26 -06:00
Mark VanLandingham
2644813c99
FIX: Tag show - hide no topics footer until there are no topics ( #15756 )
2022-02-15 08:45:55 -06:00
Mark VanLandingham
4843414de6
WIP - set Discourse.currentUser
2019-11-13 15:34:30 -05:00
Mark VanLandingham
38cc1962e7
WIP - discourse/models/user not defined
2019-11-13 15:34:30 -05:00
Mark VanLandingham
f9894aec97
DEV: Remove Discourse.User and import instead
2019-11-13 15:34:30 -05:00
Mark VanLandingham
20266325fc
combined import definitions in discourse-loader
2019-11-11 10:37:21 -05:00
Mark VanLandingham
1bbb9b30fc
DEV: Import isNone for @ember/utils
2019-11-11 10:37:21 -05:00
Mark VanLandingham
f79796fcac
DEV: Bump loofah version due to vulnerability
2019-11-07 10:02:02 -05:00
Mark VanLandingham
fa56ba89a5
Import getProperties from @ember/object
2019-11-04 14:24:30 -05:00
Mark VanLandingham
ba4b557114
DEV: Remove Ember.Mixin to import @ember/object/mixin ( #8269 )
2019-10-30 15:03:08 -04:00
Mark VanLandingham
437edfc415
FEATURE: Welcome moderator message - add copy! ( #8246 )
2019-10-28 08:58:45 -05:00
Mark VanLandingham
e5311ab645
DEV: Import DiscourseRoute rather than Discourse.Route ( #8225 )
...
* DEV: Discourse.Route -> DiscourseRoute with import
* ran prettier on all routes
* prettiered one more file
2019-10-22 09:46:10 -04:00
Mark VanLandingham
bd969332e0
FIX: Display site text overrides for non '_MF' keys ( #8189 )
...
FIX: Transform pluralized keys to `.other`, to check valid interpolation
2019-10-17 18:34:07 +02:00
Mark VanLandingham
d710316ed1
FIX: Order UserFields by position, by default ( #8176 )
...
* FIX: site user_fields sorted by position
* FIX: Sort UserField by position for Site
2019-10-09 13:49:28 -04:00
Mark VanLandingham
057f698e37
FIX: Store user_accuracy_bonus to clarify explanations ( #8165 )
...
* FIX: Store user_accuracy_bonus to clarify explanations
* Fixed specs from rounding change
* migration cleanup
* user_accuracy_bonus column not nullable
2019-10-08 09:49:07 -04:00
Mark VanLandingham
1e2aa263a9
FIX: update user vote count on topic trash/recover ( #8144 )
2019-10-03 07:53:48 -04:00
Mark VanLandingham
d819b55038
FEATURE: support data-explorer outlet in group navigation ( #8063 )
2019-09-04 16:15:10 +10:00