1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 06:41:21 +02:00
Commit Graph

1009 Commits

Author SHA1 Message Date
flarum-bot
d4905437bd Bundled output for commit 395ee845ae [skip ci] 2020-06-20 14:19:53 +00:00
w-4
395ee845ae Fix discussion unreadCount could be higher than commentCount (#2195)
* Fix discussion unreadCount being higher than commentCount if posts have been deleted
2020-06-20 10:18:26 -04:00
flarum-bot
f14da4b159 Bundled output for commit 1c1a3b363e [skip ci] 2020-06-19 21:42:28 +00:00
Alexander Skvortsov
1c1a3b363e Clean up app.current, app.previous in JS (#2156)
- 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
flarum-bot
be5ffad574 Bundled output for commit 85deb7ae03 [skip ci] 2020-06-19 00:30:16 +00:00
Franz Liedke
85deb7ae03 Remove leftover property
Refs #2150.
2020-06-19 02:27:01 +02:00
flarum-bot
b3aed8f6c4 Bundled output for commit 6f3ad1999e [skip ci] 2020-06-19 00:11:51 +00:00
Alexander Skvortsov
6f3ad1999e Don't store PostUser instance in CommentPost (#2184)
* Don't save component state in CommentPost
2020-06-18 20:10:25 -04:00
flarum-bot
7e9b9ec638 Bundled output for commit 4803457824 [skip ci] 2020-06-18 23:54:42 +00:00
Alexander Skvortsov
4803457824 Move Discussion List State into its own class (#2150)
Extract discussion list state
2020-06-18 19:53:40 -04:00
flarum-bot
3feaa9a3ac Bundled output for commit 4013aed078 [skip ci] 2020-06-18 22:48:18 +00:00
Alexander Skvortsov
4013aed078 Remove app.search instance, cache app.cache.searched (#2151)
* Moved search state logic into search state
2020-06-18 18:47:01 -04:00
flarum-bot
df15d9ae3f Bundled output for commit ffc7fc966e [skip ci] 2020-06-18 21:29:07 +00:00
Alexander Skvortsov
ffc7fc966e Don't store checkbox instances in NotificationGrid (#2183)
* 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
flarum-bot
37fbc3350d Bundled output for commit 289ebeb5ce [skip ci] 2020-06-18 21:09:49 +00:00
Alexander Skvortsov
289ebeb5ce Extract NotificationList state (#2185)
* Extract NotificationList state
2020-06-18 17:08:06 -04:00
flarum-bot
42a9300a9d Bundled output for commit 8d9e20f217 [skip ci] 2020-05-31 02:50:39 +00:00
Alexander Skvortsov
8d9e20f217 Send Test Mail Feature (#2023)
- Add UI, backend for sending test emails
- Change mail settings endpoint to /api/mail/settings
2020-05-30 22:49:36 -04:00
flarum-bot
17f46fd9d0 Bundled output for commit 909e741c62 [skip ci] 2020-05-31 02:29:29 +00:00
Hasan Özbey
909e741c62 Scroll to edited post or inform the user (#2108)
* scroll to edit or inform the user
2020-05-30 22:28:08 -04:00
flarum-bot
24161507d8 Bundled output for commit af26bd22f6 [skip ci] 2020-05-20 00:53:05 +00:00
Alexander Skvortsov
af26bd22f6 Removed excess Widget class in favor of DashboardWidget (#2164) 2020-05-19 20:52:07 -04:00
flarum-bot
389d86c7f0 Bundled output for commit f7985bac61 [skip ci] 2020-05-19 22:46:59 +00:00
Alexander Skvortsov
f7985bac61 Use drivers for display names, add display name extender (#2174)
* 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
flarum-bot
577aaa16d9 Bundled output for commit 26f251b497 [skip ci] 2020-05-16 00:11:53 +00:00
julakali
26f251b497 Don't use body as tooltip container, allow notification area overflow (#2166)
* 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 #2118.

* Remove newline
2020-05-15 20:10:40 -04:00
flarum-bot
11fb591a52 Bundled output for commit 87a490c83e [skip ci] 2020-05-12 16:24:38 +00:00
David Sevilla Martín
87a490c83e Some improvements to request error handling and modal error formatting (#1929)
* 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
flarum-bot
4258c02da7 Bundled output for commit 1e351900e1 [skip ci] 2020-05-07 07:20:06 +00:00
Alexander Skvortsov
fd75df79a3 Added simply confirmation popup for hiding / deleting posts (#2135) 2020-05-07 09:18:04 +02:00
flarum-bot
cbf3d14816 Bundled output for commit 782d83f862 [skip ci] 2020-05-01 09:53:55 +00:00
Franz Liedke
782d83f862 Update Webpack 2020-05-01 11:52:26 +02:00
Franz Liedke
173a698fb4 npm audit fix 2020-04-24 14:30:16 +02:00
flarum-bot
e2db63253f Bundled output for commit d30b2dee3e [skip ci] 2020-04-22 21:38:57 +00:00
Alexander Skvortsov
7dd5c92c31 Implement hidden permission groups (#2129)
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
flarum-bot
738e95f024 Bundled output for commit 440e7a7b00 [skip ci] 2020-04-17 09:59:47 +00:00
Franz Liedke
440e7a7b00 Run prettier for all JS files 2020-04-17 11:57:55 +02:00
Franz Liedke
da4f835c15 CI: Run prettier to check for JS code formatting 2020-04-17 11:14:37 +02:00
Franz Liedke
45474ccc1b Setup husky for automatic formatting before commit 2020-04-17 10:45:36 +02:00
Franz Liedke
c098423c00 Add NPM shortcut for running prettier 2020-04-17 10:45:05 +02:00
Franz Liedke
19adcf33dd Configure prettier via JSON file 2020-04-17 10:44:36 +02:00
Franz Liedke
37450dabf3 Install prettier 2020-04-17 10:44:31 +02:00
flarum-bot
88bd7fc53f Bundled output for commit e98145d627 [skip ci] 2020-04-13 09:22:40 +00:00
Alexander Skvortsov
e98145d627 Add year, localization support for displaying things older than 1 year (#2034) 2020-04-13 11:21:27 +02:00
flarum-bot
24dc0fc143 Bundled output for commit 2fe7d96288 [skip ci] 2020-04-10 19:18:00 +00:00
w-4
2fe7d96288 Fix PostStreamScrubber click (#1945) 2020-04-10 21:16:57 +02:00
flarum-bot
9329fd6d21 Bundled output for commit 236bedde45 [skip ci] 2020-04-10 10:32:46 +00:00
Taraflex
236bedde45 Protect dismissible modals from closing by ESC key 2020-04-10 12:30:56 +02:00
flarum-bot
6a7cac7704 Bundled output for commit 4ded0ffbb5 [skip ci] 2020-04-03 19:27:57 +00:00
Sami Mazouz
4ded0ffbb5 Fix new post injected above unread sticky (#1868)
Refresh the discussion list instead of prepending the new post
2020-04-03 21:26:51 +02:00