Commit Graph
100 Commits
Author SHA1 Message Date
Mark VanLandingham 4adce0d844 DEV: APIs for plugin to add custom reviewable confirm modal (#12246) 2021-03-02 10:28:27 -06:00
Mark VanLandingham 50c3cc7d75 DEV: Trigger appEvent when topic progress component moves (#12030) 2021-02-10 14:07:10 -06:00
Mark VanLandingham 809274fe0d DEV: Replace 'processed' column on notifications with new table (#11864) 2021-01-27 10:29:24 -06:00
Mark VanLandingham 56294b4fba FIX: Remove scheduled DND timings when schedule is disabed (#11814) 2021-01-22 13:02:11 -06:00
Mark VanLandingham 1a7922bea2 FEATURE: Create notification schedule to automatically set do not disturb time (#11665)
This adds a new table UserNotificationSchedules which stores monday-friday start and ends times that each user would like to receive notifications (with a Boolean enabled to remove the use of the schedule). There is then a background job that runs every day and creates do_not_disturb_timings for each user with an enabled notification schedule. The job schedules timings 2 days in advance. The job is designed so that it can be run at any point in time, and it will not create duplicate records.

When a users saves their notification schedule, the schedule processing service will run and schedule do_not_disturb_timings. If the user should be in DND due to their schedule, the user will immediately be put in DND (message bus publishes this state).

The UI for a user's notification schedule is in user -> preferences -> notifications. By default every day is 8am - 5pm when first enabled.
2021-01-20 10:31:52 -06:00
Mark VanLandingham 23059297b5 UX: Ellipsis hamburger menu link text when overflowing (#11715) 2021-01-14 18:25:19 -05:00
Mark VanLandingham 82af278ae5 FIX: Render fancy title correctly in composer (#11714) 2021-01-14 13:07:06 -06:00
Mark VanLandingham 54d3b37b48 FIX: Render topic fancy title in review queue (#11713) 2021-01-14 12:33:19 -06:00
Mark VanLandingham 3eae4d3669 FIX: Publish DND ends_at updates in httpdate format (#11683) 2021-01-11 14:11:26 -06:00
Mark VanLandingham 4601f3be7e FEATURE: Send notification emails when users leave do not disturb mode (#11643) 2021-01-07 10:49:49 -06:00
Mark VanLandingham aa909f58a9 FIX: Hide notification count on document title in Do Not Disturb (#11646) 2021-01-06 16:15:04 -06:00
Mark VanLandingham 836cbfe7ae UX: Move do not disturb to profile panel (#11592) 2020-12-31 08:39:06 -06:00
Mark VanLandingham d8e2b497f7 DEV: Move rerender on 'do not disturb' change to mixin (#11529) 2020-12-18 10:35:43 -06:00
Mark VanLandingham 649ed24bb4 FEATURE: Do not disturb (#11484) 2020-12-18 09:03:51 -06:00
Mark VanLandingham 521934f163 FIX: Only cache reports with exceptions for 1 minute (#11447) 2020-12-09 10:54:41 -06:00
Mark VanLandingham 9f786306bd FIX: Actually error when topic timer time is in the past (#11434) 2020-12-08 11:13:45 -06:00
Mark VanLandingham acbc47ef36 FIX: Load .js files from plugins in qunit testing env (#11304) 2020-12-03 10:25:42 -06:00
Mark VanLandingham 504aaad838 DEV: New plugin-outlet under preferences interface nav (#11266) 2020-11-17 12:36:17 -06:00
Mark VanLandingham fa29c2e7b9 DEV: Refactor default new group permissions (#11221) 2020-11-12 10:37:33 -06:00
Mark VanLandingham be07853cc1 DEV: Add plugins client/server translation yml file priority structure (#11194)
Plugin client.en.yml and server.en.yml can now be client/server-(1-100).en.yml. 1 is the lowest priority, and 100 is the highest priority. This allows plugins to set their priority higher than other plugins, so that they can override eachothers' translations.
2020-11-11 09:44:01 -06:00
Mark VanLandingham 47a91742b0 Revert "DEV: Move popups left if application.hbs wrapper is moved by theme" (#11184)
This reverts commit 95c871be3e.
2020-11-10 10:14:04 -06:00
Mark VanLandingham 95c871be3e DEV: Move popups left if application.hbs wrapper is moved by theme
We have a div that is inside #main because of the history of Ember explained here. Once we have Ember cli, we can use optional feature flags and disable creating this div with application-template-wrapper: false, and refactor this code and any plugins that rely on that div being present (some plugin regarding remote collaboration??).
2020-11-06 09:46:26 -06:00
Mark VanLandingham c750a02f05 DEV: Move reports to concerns for autoloading (#11066) 2020-10-29 11:49:09 -05:00
Mark VanLandingham 554a617b3d DEV: Better custom field preload error (#11044) 2020-10-27 10:05:07 -05:00
Mark VanLandingham b19e8ea206 FIX: Error messages from editing user being swallowed (#10908) 2020-10-13 10:37:33 -05:00
Mark VanLandingham d8bf2810ff DEV: Plugin api function to add saveable user fields (#10774) 2020-09-29 08:44:19 -07:00
Mark VanLandingham b8015ab654 FIX: Dismiss unread respects tracked query param (#10714)
* WIP:  'dismiss...' respectes tracked query param

* Address review comments

* Dismiss new respects query params

* Remove comment

* Better variable name

* remove self
2020-09-25 12:39:37 -07:00
Mark VanLandingham 1a29801e2d UX: More upbeat message when topic list is empty (#10740) 2020-09-24 12:05:58 -07:00
Mark VanLandingham 9f73e8779d FIX: Only staff can edit topic details when first post is locked (#10729) 2020-09-23 11:13:18 -05:00
Mark VanLandingham cef51b3489 DEV: Remove hasBlock from user-info component (#10415) 2020-08-24 21:44:01 -05:00
Mark VanLandingham a3c0d4a8b5 FIX: Error message when setting enforce 2fa with social logins (#10479) 2020-08-19 13:16:31 -05:00
Mark VanLandingham f2588e1c85 FIX: Clicking on category autocomplete row (#10457) 2020-08-17 11:02:00 -05:00
Mark VanLandingham b9891e3def FIX: Update preview when autocomplete is clicked (#10430) 2020-08-13 15:42:38 -05:00
Mark VanLandingham 2008ecd68e DEV: Remove incorrect comment in tag/show controller (#10423) 2020-08-13 09:19:09 -05:00
Mark VanLandingham 00a0767c35 DEV: Remove directory-toggle component (#10413) 2020-08-12 08:11:32 -05:00
Mark VanLandingham b7a092bd28 FEATURE: Group category permissions tab (#10388) 2020-08-10 09:49:05 -05:00
Mark VanLandingham b76731d722 FEATURE: Invite emails to groups from add member modal (#10308) 2020-08-04 10:02:01 -05:00
Mark VanLandingham 20dc845418 FIX: tests for reindex_search_spec pass regardless of seed (#10297) 2020-07-23 13:51:45 -05:00
Mark VanLandingham 62d5a9690f FIX: Remove user_deleted when staff recovers post (#10245) 2020-07-16 09:15:01 -05:00
Mark VanLandingham a1507b2316 REFACTOR: Invite modal panels init, actions, and styling (#10242)
* Import @action rather than using actions: {}
* Set default values in functions outside of init, so the functions can be modified by modifyClass (plugin api).
* Move padding from .choices div to the input in group selector.
2020-07-15 09:18:31 -05:00
Mark VanLandingham 332cb5cdb1 DEV: 2 plugin outlets for group views (#10233) 2020-07-14 15:32:07 -05:00
Mark VanLandingham bfde665e76 DEV: Classes and plugin-outlet in admin user-list nav (#10204) 2020-07-09 15:10:25 -05:00
Mark VanLandingham 52f8eecbb9 FIX: Incorrect fix for invites breaking when no group is selected (#10202) 2020-07-09 11:58:29 -05:00
Mark VanLandingham 9d74cf6a63 FIX: Invites when no group is selected (#10201) 2020-07-09 11:41:17 -05:00
Mark VanLandingham 90512d723c UX: Use group-chooser in invite modal (#10186) 2020-07-08 12:02:26 -05:00
Mark VanLandingham a9292086f4 DEV: Add classes to quick-access-profile items (#10185) 2020-07-08 17:30:12 +10:00
Mark VanLandingham 81fe8a50d4 DEV: Plugin API function to add items to quick access profile (#10182) 2020-07-07 13:53:40 -05:00
Mark VanLandingham d2e320d4f7 FIX: Bookmarks shortcut goes to new bookmarks with reminders (#10181) 2020-07-07 11:12:41 -05:00
Mark VanLandingham 3792ffa556 DEV: Update method documentation in lib/computed.js (#10172) 2020-07-06 09:26:21 -05:00
Mark VanLandingham 57a8b3b964 DEV: Add group name as class to group-box (#10150) 2020-06-30 10:49:31 -05:00
Mark VanLandingham d00e83eab1 FIX: update theme fields when updating from ThemesInstallTask (#10143) 2020-06-29 13:49:02 -05:00
Mark VanLandingham cd5cfc1496 FEATURE: Site setting to always show category definitions (#10124) 2020-06-29 13:22:02 -05:00
Mark VanLandingham 0b58414de2 DEV: Add classes to admin customize nav items (#10092) 2020-06-19 10:51:53 -05:00
Mark VanLandingham ec794c7f29 DEV: Plugin outlet after user-info (#10072) 2020-06-18 10:18:34 -05:00
Mark VanLandingham b8acb36532 DEV: Plugin outlet at top of user preference interface (#10020) 2020-06-10 13:36:50 -05:00
Mark VanLandingham c200238bdc DEV: Reorder appending extra header icons (#9973) 2020-06-03 14:28:02 -05:00
Mark VanLandingham b3c8d36412 DEV: Plugin api for adding extra header icons (#9964) 2020-06-02 11:39:12 -05:00
Mark VanLandingham b6709f0dda DEV: Add option to only show icons to header widget (#9935) 2020-06-01 12:26:59 -05:00
Mark VanLandingham 94cb5ab172 DEV: Remove unused variable topic_tracking_state (#9915) 2020-05-29 09:47:25 -05:00
Mark VanLandingham 7820686f73 FIX: Wizard previews if color step is excluded (#9881) 2020-05-26 12:56:36 -05:00
Mark VanLandingham f9649c92b5 FIX: Live reloading of css in development (#9859) 2020-05-22 16:37:35 +02:00
Mark VanLandingham 1a5bcf2a64 UX: Remove live theme previewing in favor of refresh (#9798) 2020-05-21 08:32:50 -05:00
Mark VanLandingham e1bd57007b DEV: Specs for AboutController can_see_about_stats? impact (#9843) 2020-05-20 11:30:27 -05:00
Mark VanLandingham bd57ae83f1 DEV: Guardian for hiding about stats (#9841) 2020-05-20 10:26:20 -05:00
Mark VanLandingham bec6bace53 DEV: Allow plugins to hide user stats by new guardian method (#9772) 2020-05-14 11:57:35 -05:00
Mark VanLandingham a047004c9a FIX: Specific email error for replies to digest emails (#9770) 2020-05-14 09:04:58 -05:00
Mark VanLandingham 3d54f497db DEV: add classes to li's inside user navigation (#9766) 2020-05-13 12:22:14 -05:00
Mark VanLandingham 9bce91f59f DEV: Allow plugins to add extra icons to category-link (#9743) 2020-05-12 09:41:16 -05:00
Mark VanLandingham 89c6f697b8 DEV: Plugin outlet after save or cancel composer buttons (#9725) 2020-05-11 09:23:36 -05:00
Mark VanLandingham da561a430d DEV: Add data-name to popular-theme-item rows (#9714) 2020-05-08 14:38:41 -05:00
Mark VanLandingham 051e6be7b8 DEV: Trigger 'user_added_to_group' when accepting invite with groups (#9561) 2020-04-27 15:13:34 -05:00
Mark VanLandingham d8c884a856 DEV: Add has_many category_tag_stats in tag.rb (#9558) 2020-04-27 12:42:13 -05:00
Mark VanLandingham 3e543dfa18 FIX: Do not set title attribute on header-topic-info widget (#9533) 2020-04-23 12:44:20 -05:00
Mark VanLandingham 54ec9f7009 DEV: DiscourseEvents fired when users are added/removed from groups (#9522) 2020-04-23 14:53:31 +10:00
Mark VanLandingham 04fb37c7a4 DEV: Export openNewCategoryModal from discovery-categories (#9501) 2020-04-22 11:03:28 -05:00
Mark VanLandingham 036236d6d6 FIX: properly add 'two-rows' class to header-topic-info container (#9497) 2020-04-21 13:01:57 -05:00
Mark VanLandingham 06796bec8b FIX: Set category description to first posts cooked value (#9478) 2020-04-20 14:51:49 -05:00
Mark VanLandingham e5233f5ce6 DEV: Add class to header-topic-info widget (#9475) 2020-04-20 10:34:05 -05:00
Mark VanLandingham 0a3cc22cec FIX: Wizard was creating duplicate Light theme if Light was selected (#9464) 2020-04-20 08:31:43 -05:00
Mark VanLandingham 0e74dd7d7c FIX: Set user timezone on password reset login (#9461) 2020-04-17 13:39:04 -05:00
Mark VanLandingham 40531fc85e DEV: themes_install_task find existing themes consistently (#9424) 2020-04-14 14:20:21 -05:00
Mark VanLandingham f07c4a781c DEV: Add options to theme install rake task - more options (#9394) 2020-04-14 09:17:00 -05:00
Mark VanLandingham 58bec3b200 DEV: Option for adding an icon in wizard-field-checkboxes component (#9363) 2020-04-06 14:00:55 -05:00
Mark VanLandingham 65d9a9c1ce DEV: Create wizard-field-checkboxes component (#9333) 2020-04-01 13:30:38 -05:00
Mark VanLandingham 689c61b462 DEV: Allow plugins to add wizard steps after specific steps (#9315) 2020-04-01 08:36:50 -05:00
Mark VanLandingham c721bdb300 DEV: Add build_plugin_html to wizard head (#9293) 2020-03-27 10:02:48 -05:00
Mark VanLandingham c14f6d4ced FEATURE: Allow plugins to exclude wizard steps (#9275) 2020-03-25 11:36:42 -05:00
Mark VanLandingham 8d90134d0b FIX: Enter submits form for hyperlink insert modal (#9190) 2020-03-12 09:36:45 -05:00
Mark VanLandingham 40f1201b39 DEV: Support adding keybindings via plugins (#9177) 2020-03-11 11:13:31 -05:00
Mark VanLandingham 3ad5cb0cbc FIX: Error message for 403 when featuring topic on profile (#9149) 2020-03-09 11:41:07 -05:00
Mark VanLandingham 174764be25 FEATURE: Add embed_set_canonical_url setting (#9134) 2020-03-09 09:31:24 -05:00
Mark VanLandingham 763a065df9 FIX: Correctly format select options for group poll by fields (#9131) 2020-03-06 12:58:59 -06:00
Mark VanLandingham 475f545557 DEV: Test theme js compiler append_raw_template (#8950)
* DEV: Test for append_raw_template

* remove empty line
2020-03-06 11:35:52 -05:00
Mark VanLandingham c11e5eb042 DEV: Run prettier on staged files before commit using lefthook (#9064)
* DEV: Run prettier on staged files before commit using lefthook

* excluded some js files
2020-03-02 14:30:23 -05:00
Mark VanLandingham 176aa0ac7d DEV: Import pretender instead of global server var (#8996)
* DEV: Remove server global test variable

* Delete yarn-error.log

* prettier and some eslint fixes

* add global server variable back for plugins

* rename imported server to pretender

* prettier

* support plugin server. usage

* Export pretender as named

* Prettier

* change default pretender export

* fix bad import

* Use pretender() and original default export

* export new Pretender as default

* fix accidental change

* WIP testing

* add pretend handlers in correct location

* move more stuff into the correct pretender

* Consolidated more pretenders

* comment out another bad test

* fix user acceptance tests

* commented out bad test

* fixed another composer server stub

* fix more tests

* fixed tag test pretender

* Fix admin email test

* removed another draft handler

* add back test

* fix and uncomment another test

* remove test that is not useful

* remove commented out lines

* reapply handlers between every test

* no need to re-stub requests now :)

* cleanup from review

* more cleanup
2020-03-02 14:24:31 -05:00
Mark VanLandingham f358114361 FIX: Prettier on iframed-html component (#9062) 2020-02-27 11:56:13 -06:00
Mark VanLandinghamandRobin Ward 337b823ec6 Merge pull request from GHSA-vw39-6w7q-gfx5
Co-authored-by: Robin Ward <robin.ward@gmail.com>
2020-02-27 11:47:15 -06:00
Mark VanLandingham c0ccfdb45e FIX: Correctly compile theme template overrides (#8946) 2020-02-12 10:45:53 -08:00
Mark VanLandingham 0772a4338b FIX: Remove pie draw animation (#8940) 2020-02-12 07:09:40 -08:00
Mark VanLandingham 3e89774908 DEV: Use .hbr for raw template file extension (#8883) 2020-02-11 13:38:12 -06:00