1
0
mirror of https://github.com/flarum/core.git synced 2025-07-16 14:26:25 +02:00
Commit Graph

1303 Commits

Author SHA1 Message Date
db876fef81 Bump dependencies, add missing typing libraries (#2753)
* Bump dependencies and add missing typing libraries

* Fix expose-loader breaking changes

* Expose jQuery using its own typings instead of ours

* Extend jQuery typings with our own custom $.fn helpers

* Use jQuery typings for Component's `this.$` attribute

* Format webpack config file

* Use Spin.js 3.1.0
2021-04-08 12:35:10 +01:00
fa249d9bc0 Bundled output for commit afa89aa05d [skip ci] 2021-04-07 22:26:04 +00:00
afa89aa05d Preloaded API document Improvements (#2754)
* Invalidate preloadedApiDocument if URL has changed
* Revert to using `getRouteData()[0]`
2021-04-07 23:25:01 +01:00
8e660587d6 Bundled output for commit d8dbe5ab60 [skip ci] 2021-04-07 18:31:38 +00:00
316c9dac34 Fix missing vendor prefix on post scrubber; move styles to Less 2021-04-05 23:19:52 +01:00
54155dbe1e Bundled output for commit ce453096ec [skip ci] 2021-04-05 15:28:37 +00:00
ce453096ec Replace classList with clsx library (#2760) 2021-04-05 16:27:16 +01:00
4f32d2d919 Bundled output for commit 9d872cc95e [skip ci] 2021-04-03 02:16:32 +00:00
9d872cc95e Merge "Small Admin Patches" (#2739) from flarum/ck/adminux-patch2 into master
- Fixes #2736
- Fixes #2728
2021-04-03 03:14:41 +01:00
232867b44a Bundled output for commit 79751d50e9 [skip ci] 2021-03-30 00:20:26 +00:00
79751d50e9 Move forum & admin app declarations to separate files 2021-03-29 20:19:15 -04:00
de6adc0bce Help on redraw 2021-03-24 17:30:13 -10:00
abbd46dced Null name/desc breaks search fix 2021-03-24 17:29:54 -10:00
b9a7730168 Bundled output for commit 897e778800 [skip ci] 2021-03-19 18:14:58 +00:00
897e778800 Remove deprecated code from beta 16 (#2705) 2021-03-19 19:13:50 +01:00
2114af59a3 Bundled output for commit c0ed43c08e [skip ci] 2021-03-18 22:04:58 +00:00
c0ed43c08e [A11Y] Add aria-label and landmark role to search input (#2669)
* Adds role="search" to Search container
* Add aria-label to search input

See this page for more info:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Search_role
2021-03-18 23:03:01 +01:00
3bcd710ee1 Bundled output for commit 5278024a5d [skip ci] 2021-03-18 21:39:56 +00:00
5278024a5d [A11Y] Fix nav drawer being focusable when off-screen on small viewports (#2666)
* Fix nav drawer being focusable when off-screen on small viewports

Fixes #2565

* Implement review suggestions

* Format
2021-03-18 22:38:32 +01:00
dc990a6e37 Add bundlewatch to track bundle size changes in PRs (#2695)
(Below steps already performed, but kept for future reference.)

Head here to get auth ID: https://service.bundlewatch.io/setup-github
Create repo secret called `BUNDLEWATCH_GITHUB_TOKEN` with the token inside
2021-03-17 14:54:42 +00:00
c62e630ef9 Bundled output for commit 78020dfba8 [skip ci] 2021-03-16 14:52:59 +00:00
78020dfba8 [A11Y] Add aria-label to dropdown toggles (#2668)
Implement custom accessible dropdown toggle labels for forum components

Making the a11y label more specific to the specific action it performs is critical for good UX with assistive technologies.
2021-03-16 10:50:36 -04:00
fe97f0385d Bundled output for commit 66179f2fbd [skip ci] 2021-03-16 01:43:29 +00:00
66179f2fbd Fix Stream function code being shown when renaming discussion (#2693) 2021-03-15 21:42:22 -04:00
f4a734e9ef npm audit fix 2021-03-15 13:25:12 +01:00
62feab756e Bundled output for commit 6a10c4e8ed [skip ci] 2021-03-12 05:35:57 +00:00
6a10c4e8ed Fix shaky composer on safari mobile
When the composer is opened while scrolled to the absolute bottom of the page (via hitting the "reply" button, `window.scrollTop` has a value of ~600px greater than it should. This doesn't seem to be the composer element's height (which appears to be 0 at the time). This incorrect scrollTop positions the composer off screen, which causes Safari to freak out and shake the element violently as it tries to scroll to the cursor (which is now off screen).

We can get around this by calculating scrollTop ourselves.

Fixes https://github.com/flarum/core/issues/2683
2021-03-12 00:23:37 -05:00
6c4867d547 Bundled output for commit 2183a7f879 [skip ci] 2021-03-09 03:46:55 +00:00
2183a7f879 Search: dont adjust height if not rendered 2021-03-08 22:45:39 -05:00
2924d44d15 Bundled output for commit 74e9276579 [skip ci] 2021-03-08 21:31:49 +00:00
74e9276579 Send username as author filter value instead of id.
For consistency with the Discussion AuthorFilterGambit, this should be sent usernames, not numerical ids.
2021-03-08 16:29:48 -05:00
3e8c9dc185 Bundled output for commit 6f09af5ad9 [skip ci] 2021-03-08 21:25:06 +00:00
6f09af5ad9 Use new author key for filtering posts
Fixes https://github.com/flarum/core/issues/2671
2021-03-08 16:21:36 -05:00
94f08f55fa Bundled output for commit e0ba8e8a70 [skip ci] 2021-03-07 22:37:00 +00:00
e0ba8e8a70 Split JSDoc directives to separate lines. 2021-03-07 17:35:58 -05:00
c24d0f2e40 Bundled output for commit 9cd94c5d78 [skip ci] 2021-03-07 21:33:50 +00:00
970db778cd Use absolute positioning for the Composer on Safari (#2660) 2021-03-07 16:31:46 -05:00
eec39ec426 Fix search box out of screen (#2650)
Programatically set search results max height
2021-03-07 16:31:23 -05:00
c0f3a0ba4b Bundled output for commit c20c011759 [skip ci] 2021-03-04 21:52:50 +00:00
c20c011759 Move TextEditor to common (#2649) 2021-03-04 16:51:34 -05:00
55df33dc99 Bundled output for commit 719b3ad28e [skip ci] 2021-03-03 23:52:04 +00:00
719b3ad28e Convert common helpers to Typescript (#2541) 2021-03-03 18:50:54 -05:00
a4ba1f890c Bundled output for commit 405b31f780 [skip ci] 2021-03-01 22:27:09 +00:00
405b31f780 Simplify Extension Categories (#2604) 2021-03-01 17:25:55 -05:00
0981d95831 Bundled output for commit b5adb6e843 [skip ci] 2021-03-01 20:53:52 +00:00
b5adb6e843 User edit permission tightening (#2620)
- Split user edit permision into edit attributes, edit credentials, and edit groups
- Only Admins can edit Admin Credentials
- Only Admins can Promote/Demote to/from Admin
2021-03-01 15:52:29 -05:00
fa428c9c0b Bundled output for commit edc81bb380 [skip ci] 2021-02-26 21:18:01 +00:00
edc81bb380 Editor Driver Abstraction (#2594)
This will allow drop-in replacements of the editor with a more advanced WYSIWYG solution such as ProseMirror
2021-02-26 16:17:05 -05:00
75359162c6 Bundled output for commit 35e7876f09 [skip ci] 2021-02-23 19:23:05 +00:00
35e7876f09 NotificationList: Fix load on mobile
Followup to https://github.com/flarum/core/pull/2524.

In that PR, we fixed infinite scroll for the panel, but accidentially used document.body. Since scrollTop on body is (almost always) 0, this means that new pages of notifications were loaded on every scroll, which quickly becomes overwhelming. Instead, we can use `document.documentElement` for getting scrollTop, which results in the expected behavior.
2021-02-23 14:21:18 -05:00