1
0
mirror of https://github.com/flarum/core.git synced 2025-06-11 00:51:04 +02:00
Commit Graph

1017 Commits

Author SHA1 Message Date
93398b738b Bundled output for commit 7816b61bfb [skip ci] 2020-06-26 14:08:35 +00:00
7816b61bfb Remove documentation for obsolete component prop 2020-06-26 16:06:56 +02:00
7dc3a194c3 Expose a method for clearing notification list
Needed for pusher extension.

Refs .
2020-06-26 15:10:41 +02:00
cea7824b57 Bundled output for commit 088eb0c4f2 [skip ci] 2020-06-26 12:32:40 +00:00
088eb0c4f2 Move DiscussionListState to correct folder 2020-06-26 12:52:33 +02:00
2ba67b021f Expose state classes via compat
This way, they can be extended by extensions.
2020-06-26 12:50:43 +02:00
92791a253d Bundled output for commit 138c784a50 [skip ci] 2020-06-24 00:51:55 +00:00
138c784a50 Call liveHumanTimes() to update ago times every 10s ()
This file has existed for 5 years, yet it was never used.
2020-06-23 20:50:57 -04:00
bb567e5278 Bundled output for commit cf4f2f283e [skip ci] 2020-06-20 14:19:53 +00:00
w-4
cf4f2f283e Fix discussion unreadCount could be higher than commentCount ()
* Fix discussion unreadCount being higher than commentCount if posts have been deleted
2020-06-20 10:18:26 -04:00
ed01f389a8 Bundled output for commit 71e313e677 [skip ci] 2020-06-19 21:42:28 +00:00
71e313e677 Clean up app.current, app.previous in JS ()
- Encapsulate app.current, app.previous in PageState objects
- Reorganize Page classes to use one central base class in common

Co-authored-by: Franz Liedke <franz@develophp.org>
2020-06-19 17:41:26 -04:00
b82504b4b1 Bundled output for commit 898d68d9f3 [skip ci] 2020-06-19 00:30:16 +00:00
898d68d9f3 Remove leftover property
Refs .
2020-06-19 02:27:01 +02:00
69f0172b92 Bundled output for commit 62fe9db732 [skip ci] 2020-06-19 00:11:51 +00:00
62fe9db732 Don't store PostUser instance in CommentPost ()
* Don't save component state in CommentPost
2020-06-18 20:10:25 -04:00
ed566cd18f Bundled output for commit 5c1663d8f1 [skip ci] 2020-06-18 23:54:42 +00:00
5c1663d8f1 Move Discussion List State into its own class ()
Extract discussion list state
2020-06-18 19:53:40 -04:00
c5d3b058ba Bundled output for commit 4a804dbbbc [skip ci] 2020-06-18 22:48:18 +00:00
4a804dbbbc Remove app.search instance, cache app.cache.searched ()
* Moved search state logic into search state
2020-06-18 18:47:01 -04:00
f4afb006ed Bundled output for commit 646b35374d [skip ci] 2020-06-18 21:29:07 +00:00
646b35374d Don't store checkbox instances in NotificationGrid ()
* Don't store checkbox states in NotificaitonGrid, use props for loading in Checkbox and Switch, replace preferenceSaver with internal management of loading state
2020-06-18 17:28:05 -04:00
4fc06336df Bundled output for commit 65f2d5fb75 [skip ci] 2020-06-18 21:09:49 +00:00
65f2d5fb75 Extract NotificationList state ()
* Extract NotificationList state
2020-06-18 17:08:06 -04:00
3b1f5ca07b Bundled output for commit d1750fecc0 [skip ci] 2020-05-31 02:50:39 +00:00
d1750fecc0 Send Test Mail Feature ()
- Add UI, backend for sending test emails
- Change mail settings endpoint to /api/mail/settings
2020-05-30 22:49:36 -04:00
63242edeb3 Bundled output for commit 0aed3764c4 [skip ci] 2020-05-31 02:29:29 +00:00
0aed3764c4 Scroll to edited post or inform the user ()
* scroll to edit or inform the user
2020-05-30 22:28:08 -04:00
bbd815a9ab Bundled output for commit acf4e9c80d [skip ci] 2020-05-20 00:53:05 +00:00
acf4e9c80d Removed excess Widget class in favor of DashboardWidget () 2020-05-19 20:52:07 -04:00
1bb5f99a27 Bundled output for commit b0822df759 [skip ci] 2020-05-19 22:46:59 +00:00
b0822df759 Use drivers for display names, add display name extender ()
* Deprecate GetDisplayName event

* Add interface for display name driver

* Add username driver as default

* Add code to register supported drivers / used driver as singletons

* Configured User class to use new driver-based system for display names

* Add extender for adding display name driver

* Add integration test for user display name driver

* Add frontend UI for selecting display name driver
2020-05-19 18:45:56 -04:00
998e32c208 Bundled output for commit f89f114fad [skip ci] 2020-05-16 00:11:53 +00:00
f89f114fad Don't use body as tooltip container, allow notification area overflow ()
* Don't use body as tooltip container, allow notification area overflow

Badge tooltips are using container: 'body', so they can overflow the
notification area. When the user navigates back while a badge tooltip is
showing, the tooltip remains visible.
This commit removes the body container attribute and instead allows the
notificationDropDown to overflow, so badge tooltips aren't cut off.
Instead, this adds overflow: hidden to NotificationList.
Fixes .

* Remove newline
2020-05-15 20:10:40 -04:00
9b936d4baa Bundled output for commit 7e661df15d [skip ci] 2020-05-12 16:24:38 +00:00
7e661df15d Some improvements to request error handling and modal error formatting ()
* Use decodeURI instead of unescape & don't close modals

* Add comment

* Don't use a try/catch, clean up the group log code

* Remove double negative

* Format; fix issues from rebasing
2020-05-12 12:23:13 -04:00
85e2623622 Bundled output for commit 7d99727168 [skip ci] 2020-05-07 07:20:06 +00:00
b38bd60362 Added simply confirmation popup for hiding / deleting posts () 2020-05-07 09:18:04 +02:00
d31a747631 Bundled output for commit 526081bd06 [skip ci] 2020-05-01 09:53:55 +00:00
526081bd06 Update Webpack 2020-05-01 11:52:26 +02:00
c896cd8696 npm audit fix 2020-04-24 14:30:16 +02:00
54ac83d0b6 Bundled output for commit 1592cd1013 [skip ci] 2020-04-22 21:38:57 +00:00
6e8884f190 Implement hidden permission groups ()
Only users that have the new `viewHiddenGroups` permissions will be able to see these groups.

You might want this when you want to give certain users special permissions, but don't want to make your authorization scheme public to regular users.

Co-authored-by: luceos <daniel+github@klabbers.email>
2020-04-21 17:49:53 +02:00
798a3486bf Bundled output for commit 89ef14faf1 [skip ci] 2020-04-17 09:59:47 +00:00
89ef14faf1 Run prettier for all JS files 2020-04-17 11:57:55 +02:00
899cdfda4e CI: Run prettier to check for JS code formatting 2020-04-17 11:14:37 +02:00
72ed4faa83 Setup husky for automatic formatting before commit 2020-04-17 10:45:36 +02:00
64ad21e5da Add NPM shortcut for running prettier 2020-04-17 10:45:05 +02:00
14e8e9a7cb Configure prettier via JSON file 2020-04-17 10:44:36 +02:00
ee996e2cae Install prettier 2020-04-17 10:44:31 +02:00