Commit Graph

79 Commits

Author SHA1 Message Date
Rafał Całka
3e8d5bd400 Replace jQuery code with vanilla JS for better performance (#35)
* Bundle `pusher-js`

* Update `pusher/pusher-php-server`

* StyleCi fix

* Revert "Bundle `pusher-js`"

This reverts commit 55bb1ff0988973e436317c00ca2b83ad4c39d6da.

* Remove no longer used code

* Replace `$.getScript` for better performance

* Revert "Update `pusher/pusher-php-server`"

This reverts commit 7d1e2336

* Use `import()`

* Add `once`

* Update js/tsconfig.json

Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>

* Async function

Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>
2021-12-23 13:59:25 +01:00
flarum-bot
9d986c331d Bundled output for commit 0ef2b3e249
Includes transpiled JS/TS.

[skip ci]
2021-12-12 19:43:30 +00:00
Rafał Całka
0ef2b3e249 Convert to Typescript (#34) 2021-12-12 14:42:37 -05:00
flarum-bot
06fe9ee2ef Bundled output for commit df86c11355
Includes transpiled JS/TS.

[skip ci]
2021-12-12 07:42:32 +00:00
Rafał Całka
df86c11355 Fixed broken discussion list pagination when clicking on the update button (#33) 2021-12-12 02:41:25 -05:00
flarum-bot
6ced7809b1 Bundled output for commit 11e10406bd
Includes transpiled JS/TS.

[skip ci]
2021-10-13 11:03:16 +00:00
David Wheatley
11e10406bd chore: fix JS 2021-10-13 12:02:15 +01:00
flarum-bot
c8a1ec722d Bundled output for commit 5910bd98bc
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:12 +00:00
Alexander Skvortsov
5910bd98bc Release v1.1.0 2021-10-11 21:14:35 -04:00
flarum-bot
46fa1a1bd8 Bundled output for commit fa2cb91182
Includes transpiled JS/TS.

[skip ci]
2021-08-07 10:24:47 +00:00
Rafał Całka
fa2cb91182 Fixing posts not appearing automatically (#32) 2021-08-07 11:24:00 +01:00
Daniel Klabbers
03744e89a3 changes for stable 2021-05-25 16:32:16 +02:00
flarum-bot
48526c4892 Bundled output for commit 0be39b144c
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:52 +00:00
Alexander Skvortsov
0be39b144c Update for ICU MessageFormat 2021-05-12 19:37:44 -04:00
flarum-bot
14c10d400e Bundled output for commit 4f63399d4a [skip ci] 2021-03-18 15:59:27 +00:00
Daniël Klabbers
4f63399d4a Adds the ability to push new posts onto discussions that aren't public. (#17)
It's very frustrating having pusher installed, but not seeing new posts pop up on non public
discussions. This PR simply re-uses the existing channels per user by reading
all similar private user channels (which require authentication) and then pushing
the websocket message over the line. This only happens in case the discussion is
not public and it only sends to connected users.
2021-03-18 11:58:29 -04:00
Daniel Klabbers
8eb91ecfc7 Release v0.1.0-beta.16 2021-03-15 12:17:21 +01:00
Daniël Klabbers
afcd0dc511 npm audit fix 2020-12-15 09:20:31 +01:00
flarum-bot
641688f280 Bundled output for commit 20fc262c81 [skip ci] 2020-11-25 06:28:43 +00:00
Alexander Skvortsov
f5c8dade55 Update admin js for admin us redesign 2020-11-25 01:26:36 -05:00
flarum-bot
5b9acbb8c3 Bundled output for commit 8dc99db73e [skip ci] 2020-11-01 21:46:10 +00:00
Sami Mazouz
8dc99db73e Fix refresh button (#27) 2020-11-01 16:45:09 -05:00
flarum-bot
19edd65173 Bundled output for commit 49d9354025 [skip ci] 2020-10-26 18:36:30 +00:00
Alexander Skvortsov
49d9354025 Don't provide children as attr 2020-10-26 14:35:33 -04:00
Daniël Klabbers
1a19fd63da npm audit security vulnerabilities patched 2020-10-14 09:59:39 +02:00
flarum-bot
2df478224c Bundled output for commit 9307cf17b3 [skip ci] 2020-09-24 02:55:35 +00:00
Alexander Skvortsov
9307cf17b3 Mithril 2 Update (#23)
Update for Mithril 2
2020-09-23 22:54:48 -04:00
dependabot[bot]
2e1c8d79d4 Bump elliptic from 6.5.2 to 6.5.3 in /js (#22)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:52 +02:00
dependabot[bot]
df3e1843cc Bump lodash from 4.17.15 to 4.17.19 in /js (#21)
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:48:10 +02:00
flarum-bot
c99072e6ac Bundled output for commit eae4967c2d [skip ci] 2020-07-02 00:16:19 +00:00
Alexander Skvortsov
eae4967c2d Fix extension to work with latest state changes 2020-07-01 20:15:12 -04:00
flarum-bot
24bf30d752 Bundled output for commit 9b0366c14d [skip ci] 2020-06-26 14:06:31 +00:00
Franz Liedke
9b0366c14d Fix extension to work with latest state changes
Refs flarum/core#2150, flarum/core#2156.
2020-06-26 16:05:03 +02:00
Franz Liedke
a719641ba8 Update Webpack 2020-05-01 11:51:15 +02:00
flarum-bot
e9a7f0630a Bundled output for commit 74a1ebe813 [skip ci] 2020-05-01 09:36:32 +00:00
Golden
74a1ebe813 Use different CDN for loading Pusher JS library (#20)
Use jsDelivr to increase the loading speed (when compared to MaxCDN) in China.
2020-05-01 11:35:46 +02:00
Franz Liedke
912254864c npm audit fix 2020-04-24 14:30:29 +02:00
dependabot[bot]
865ac3e766 Bump acorn from 6.4.0 to 6.4.1 in /js (#18)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 20:26:05 +01:00
flarum-bot
d2692e9d6a Bundled output for commit 48973949b9 [skip ci] 2020-02-11 20:47:40 +00:00
Franz Liedke
48973949b9 Update Webpack 2020-02-11 21:46:49 +01:00
Franz Liedke
4f07bc2ba3 Update vulnerable JS dependencies 2019-09-17 23:11:37 +02:00
flarum-bot
bd46f533a3 Bundled output for commit afd6e5a291 [skip ci] 2018-12-03 23:52:29 +00:00
Toby Zerner
b8661a166f Update old attribute names. fixes flarum/core#1666 2018-12-04 09:18:01 +10:30
flarum-bot
6153f5acca Bundled output for commit af8e6daf02 [skip ci] 2018-11-21 08:23:20 +00:00
Toby Zerner
af8e6daf02 Make npm package private, update deps, change watch to dev 2018-11-21 18:45:44 +10:30
Toby Zerner
bea231d40b Update dependencies 2018-11-17 18:53:38 +10:30
flarum-bot
0dbbb8523d Bundled output for commit 92a119f2d4 [skip ci] 2018-10-21 04:51:40 +00:00
Toby Zerner
92a119f2d4 Rename package 2018-10-21 15:16:21 +10:30
flarum-bot
3968c2fa4c Bundled output for commit a58e603728 [skip ci] 2018-09-21 01:03:43 +00:00
Toby Zerner
a58e603728 Update dependencies 2018-09-21 10:25:47 +09:30