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

947 Commits

Author SHA1 Message Date
D Mata
9ac54429d0 Update AvatarEditor.js onchange to oninput (#1570)
onchange does not work in IE11 and other IE browsers. This change works with all modern browsers as well.
2020-02-10 23:54:41 +01:00
flarum-bot
930f6b06af Bundled output for commit 969bd18001 [skip ci] 2020-02-07 14:35:37 +00:00
Franz Liedke
969bd18001 Merge pull request #1938 from flarum/ds/1255-throttling-bypass-permission
Add permission to bypass throttling
2020-02-07 15:34:25 +01:00
David Sevilla Martín
935ea8cbbf Add permission to bypass throttling 2020-02-07 15:30:09 +01:00
flarum-bot
080e4c082c Bundled output for commit 5179221a08 [skip ci] 2020-02-07 11:18:30 +00:00
Franz Liedke
5179221a08 Fix race condition in post preview
The post composer could have been closed in between scheduling and
executing the callback.

Fixes flarum/org#58.
Refs #1881.
2020-02-07 12:17:11 +01:00
flarum-bot
1941d86c15 Bundled output for commit e13009ed07 [skip ci] 2020-02-07 11:06:58 +00:00
Franz Liedke
e13009ed07 Merge pull request #1921 from flarum/ds/1763-handle-incomplete-email-configuration
Improve handling of incomplete mail configuration
2020-02-07 12:05:41 +01:00
flarum-bot
0d60a811d3 Bundled output for commit c26c06faf6 [skip ci] 2020-01-31 12:34:20 +00:00
Franz Liedke
c26c06faf6 Merge pull request #1975 from flarum/fl/194-better-slugs
Use Laravel's slugger for basic transliteration
2020-01-31 13:32:55 +01:00
flarum-bot
77bb187520 Bundled output for commit fb99f59fff [skip ci] 2020-01-26 22:38:29 +00:00
Clark Winkelmann
fb99f59fff Fix the "reply posted" alert empty body 2020-01-26 23:37:19 +01:00
Franz Liedke
f22ba99214 Clarify the use-case of the JS slug helper 2020-01-24 17:42:14 +01:00
Franz Liedke
1e6d7efdc0 Connect labels with their form fields 2020-01-24 15:41:26 +01:00
Franz Liedke
89b0e16ef3 Mail drivers: Separate definition from validation 2020-01-24 15:41:26 +01:00
David Sevilla Martin
42861dd986 Change implementation to add validation rules, of which 'required' is shown in the frontend 2020-01-24 15:41:25 +01:00
David Sevilla Martin
96d3ae22f2 Add required fields, incomplete configuration warning, and null transport 2020-01-24 15:41:25 +01:00
flarum-bot
6f6958dd6b Bundled output for commit cb91d705c5 [skip ci] 2020-01-22 23:02:59 +00:00
David Sevilla Martín
cb91d705c5 Add Content for User page, preload user & throw 404 accordingly (#1901) 2020-01-23 00:01:26 +01:00
flarum-bot
059a41f9f0 Bundled output for commit 7ca7150b37 [skip ci] 2020-01-10 17:18:42 +00:00
Vladimir Vinogradov
7ca7150b37 Add Mailgun region setting
Fixes #1834.
2020-01-10 18:17:04 +01:00
flarum-bot
7eb3ece6ad Bundled output for commit eeaf5227fd [skip ci] 2019-12-10 14:40:37 +00:00
Franz Liedke
eeaf5227fd Update Webpack 2019-12-10 15:38:56 +01:00
flarum-bot
4506c7cfa3 Bundled output for commit 3acee604d4 [skip ci] 2019-11-24 19:01:17 +00:00
w-4
3acee604d4 history back function fix
it shouldn't check for canGoBack again after the array pop()
2019-11-24 13:59:51 -05:00
flarum-bot
2a974bf8c6 Bundled output for commit 3e07f47b51 [skip ci] 2019-11-15 14:10:15 +00:00
Clark Winkelmann
3e07f47b51 Pass event to KeyboardNavigatable whenCallback (#1922)
This way the callback can know which key is pressed.
2019-11-15 15:08:36 +01:00
flarum-bot
e8cbdfe6f8 Bundled output for commit 5c1e0293e3 [skip ci] 2019-11-12 19:27:29 +00:00
Daniël Klabbers
5c1e0293e3 Fix existing Post component classes being dropped 2019-11-12 20:26:07 +01:00
flarum-bot
29359568e8 Bundled output for commit 830f48a212 [skip ci] 2019-11-11 12:00:45 +00:00
Daniël Klabbers
830f48a212 Improved naming of class for post by actor.
Made class list for post extensible by using a separate method.
2019-11-11 12:59:26 +01:00
flarum-bot
9f0a178f58 Bundled output for commit f9da947d07 [skip ci] 2019-11-11 11:15:09 +00:00
Matthew Kilgore
6668f1b7ee Added border around post made by active user 2019-11-11 12:13:36 +01:00
flarum-bot
6d78445569 Bundled output for commit 8fc1458467 [skip ci] 2019-11-09 13:51:55 +00:00
David Sevilla Martin
8fc1458467 Cleanup some code and fix alert dismiss not working 2019-11-09 08:50:24 -05:00
Moritz Stueckler
f7176cb076 feat: re-add debug button/modal
Fixes #1687
2019-11-09 08:50:24 -05:00
flarum-bot
0ef0b0c0c0 Bundled output for commit 4211cbb9cb [skip ci] 2019-10-28 15:37:34 +00:00
Daniël Klabbers
4211cbb9cb Update User.js
Use recommended `anonymous`, see https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin
2019-10-28 16:35:45 +01:00
J.C.Ködel
41e97db5d0 Fix Color Thief cross origin bug
When users have external avatar urls (for instance: in a SSO environment where the avatar is provided by another domain), color thief fails to get the avatar dominant color because the canvas would be tainted. 

Following the instructions here (https://lokeshdhakar.com/projects/color-thief/ on the "Does it work if the image is hosted on another domain?"), adding an `image.crossOrigin = 'Anonymous';` solves the issue.

Tested on my forum which before suffered from a JS error and works fine (without this fix, the canvas remain in the `body` while an script error is thrown by color thief)
2019-10-28 16:35:45 +01:00
flarum-bot
9ddd1b6e81 Bundled output for commit 614b4a1d4e [skip ci] 2019-10-01 21:50:25 +00:00
Madalin Tache
614b4a1d4e Update window size (#1894)
This small change attempts to fix #1727, as i just got my eye on it and figured i could simply fix it while seeing it.
2019-10-01 23:48:54 +02:00
flarum-bot
4cab24225f Bundled output for commit 7fe95ec695 [skip ci] 2019-10-01 21:39:07 +00:00
David Sevilla Martín
7fe95ec695 Enable scrollbars in login button popups (#1900)
Fixes #1716
2019-10-01 23:37:42 +02:00
Franz Liedke
cad6ab1e6e Update vulnerable JS dependencies 2019-09-13 15:26:10 +02:00
flarum-bot
9f8aeb7927 Bundled output for commit 5e53145bab [skip ci] 2019-09-12 22:36:12 +00:00
David Sevilla Martín
5e53145bab Fix errors caused by deletion alert when deleting users (#1883)
Refs #1788

TypeError: t.showDeletionAlert is not a function
  at onSuccess(./src/forum/utils/UserControls.js:104:12)

Also, don't override 'this' param with user object for editAction
2019-09-13 00:34:05 +02:00
flarum-bot
c1e03b0436 Bundled output for commit 5530422210 [skip ci] 2019-09-11 22:16:20 +00:00
David Sevilla Martin
5530422210 Fixes an issue where deleting a nonexistent model would error instead of resolving gracefully 2019-09-11 18:14:37 -04:00
flarum-bot
361d2e5ec2 Bundled output for commit 80ff7eb4ea [skip ci] 2019-09-09 21:37:54 +00:00
David Sevilla Martín
80ff7eb4ea Mark notification as read without visiting discussion (#1874) 2019-09-09 23:36:06 +02:00