Commit Graph

1249 Commits

Author SHA1 Message Date
62a2e8463d Bundled output for commit 0098c64ebf6ecddabd6516901b986b86be3e6620 [skip ci] 2020-07-24 21:53:31 +00:00
0098c64ebf Fix an irrelevant export name :P 2020-07-24 23:51:44 +02:00
264ff67304 Bundled output for commit c08a56e9d807340696a658d57b9b03989195c33d [skip ci] 2020-07-24 17:03:04 +00:00
c08a56e9d8 Notifications Dropdown: Remove init method that doesn't do anything (cleanup) 2020-07-24 13:01:45 -04:00
1ce0b926b6 Bump lodash from 4.17.15 to 4.17.19 in /js (#2235)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 10:47:28 +02:00
24b16f9d7c Bundled output for commit bd40353bcc7d35fd401789b3a75debbc2e834a7e [skip ci] 2020-07-10 13:42:33 +00:00
455327cca1 convert: common/utils/stringToColor 2020-07-10 14:13:33 +02:00
20baa93ca7 convert: common/utils/string 2020-07-10 14:13:33 +02:00
4f34e326ef convert: common/utils/RequestError 2020-07-10 14:13:33 +02:00
521cefbc2d convert: common/utils/liveHumanTimes
This file isn't used anywhere. We should be calling it at some point. It has existed for 5 years.

Renamed function because it makes more sense for name to match file name (not that it matters when building)
2020-07-10 14:13:32 +02:00
dc738d68dc convert: common/utils/abbreviateNumber 2020-07-10 14:13:32 +02:00
286af7084b convert: common/utils/extract 2020-07-10 14:13:31 +02:00
4869baea74 convert: common/utils/ItemList 2020-07-10 14:13:31 +02:00
24a48310ff convert: common/utils/humanTime 2020-07-10 14:05:09 +02:00
bdb759c558 convert: common/utils/formatNumber 2020-07-10 14:05:07 +02:00
d189272473 Initial TypeScript infrastructure (#2206)
This allows us to get started with converting all Flarum JavaScript code to TypeScript.
In addition, we will have time to experiment to find the best Webpack configuration before integrating into flarum-webpack-config.

See flarum/flarum-webpack-config#3.
2020-07-03 14:47:44 +02:00
7d48c24dda Bundled output for commit 5786f1a10b58189287fcad639fb602db0b8eb6f3 [skip ci] 2020-07-03 05:17:34 +00:00
5786f1a10b Fix discussions user page (#2225)
* Fixed up discussions user page, improve discussion list state signature
2020-07-03 01:16:08 -04:00
b4421e1cce Bundled output for commit 359b4ab5a3386b2a62f21d09c8b65dd165a7b94c [skip ci] 2020-07-02 22:33:46 +00:00
359b4ab5a3 Fix user card issue by reverting to original behavior (#2224)
* Fix user card issue by reverting to original behavior
2020-07-02 18:32:41 -04:00
50a9f7ce86 Bundled output for commit 8dd54204050afd2e661b86b4c852beae3a9c3496 [skip ci] 2020-07-01 00:34:15 +00:00
8dd5420405 Switch from 'moment' to 'dayjs' (#2219)
* Switch from 'moment' to 'dayjs'

* Use humanize code from duration plugin (without actual plugin) for time lapsed events
2020-06-30 20:33:00 -04:00
640cc0989b Bundled output for commit 44376cef61175644a55d5091dd3e4c74ad2d8a0e [skip ci] 2020-07-01 00:00:24 +00:00
44376cef61 Extract ModalManagerState from ModalManager (#2162) 2020-06-30 19:59:16 -04:00
4f181c84fc Bundled output for commit ea9d60133879cef49d807b09325b53702c0ba6c2 [skip ci] 2020-06-30 22:08:06 +00:00
ea9d601338 Extract AlertManagerState from AlertManager (#2163) 2020-06-30 18:06:59 -04:00
e2c416903e Bundled output for commit e81159249ff6a286e148d8871cc228d99b826b06 [skip ci] 2020-06-28 17:45:26 +00:00
e81159249f Add check to register state of '0' as false for checkboxes (#2210)
* Add check to register state of '0' as false for checkboxes
* Add comment explaining state === '0'
2020-06-28 13:44:14 -04:00
d93cf4a574 Bundled output for commit a33fbbf814201b79ae9620af2846f898996be649 [skip ci] 2020-06-27 18:20:09 +00:00
a33fbbf814 Add index page title, add mechanism to clear title from defaultRoute. (#2047)
* Add "All Descriptions title to index

* Added system to clear custom title if we're on the default route
2020-06-27 14:18:49 -04:00
0c645a6c15 Bundled output for commit b44b79eba9c77048e804328270b389f73906f563 [skip ci] 2020-06-26 16:25:45 +00:00
b44b79eba9 Fix typo and update outdated doc block 2020-06-26 18:23:56 +02:00
93398b738b Bundled output for commit 7816b61bfb3f838eb0a0819181daf1ff76ba462d [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 #2185.
2020-06-26 15:10:41 +02:00
cea7824b57 Bundled output for commit 088eb0c4f28d573971e2b24f4754e786fe89be36 [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 138c784a50b023231d068cd00a0487541b968790 [skip ci] 2020-06-24 00:51:55 +00:00
138c784a50 Call liveHumanTimes() to update ago times every 10s (#2208)
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 cf4f2f283e210e5771f594166b9c4d582de08bb6 [skip ci] 2020-06-20 14:19:53 +00:00
w-4
cf4f2f283e 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
ed01f389a8 Bundled output for commit 71e313e677402fca76ffed0ffe5863bb7096aaff [skip ci] 2020-06-19 21:42:28 +00:00
71e313e677 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
b82504b4b1 Bundled output for commit 898d68d9f32d355e0f6bfe202867a8568d454947 [skip ci] 2020-06-19 00:30:16 +00:00
898d68d9f3 Remove leftover property
Refs #2150.
2020-06-19 02:27:01 +02:00
69f0172b92 Bundled output for commit 62fe9db7328cb6ac3a18990a1dda23dca0c28603 [skip ci] 2020-06-19 00:11:51 +00:00
62fe9db732 Don't store PostUser instance in CommentPost (#2184)
* Don't save component state in CommentPost
2020-06-18 20:10:25 -04:00
ed566cd18f Bundled output for commit 5c1663d8f145bdb9bab1101241e67fbd28e9f4ca [skip ci] 2020-06-18 23:54:42 +00:00
5c1663d8f1 Move Discussion List State into its own class (#2150)
Extract discussion list state
2020-06-18 19:53:40 -04:00