David Sevilla Martin
be6a41ad0e
common: fix listItems not working as intended with mithril v2
2020-04-18 09:05:33 -04:00
David Sevilla Martin
557bb086f9
forum: add components/LogInButtons
2020-04-18 09:05:33 -04:00
David Sevilla Martin
1f1986c527
Remove immediate debug in app.request
2020-04-18 09:05:33 -04:00
David Sevilla Martin
6978c0aa77
Implement latest 'master' branch changes - not including files that haven't been ported yet
2020-04-18 09:05:33 -04:00
David Sevilla Martin
660cd1c81e
Fix ModalManager not allowing vnodes, make modals set themselves to app.modal.component when created
2020-04-18 09:05:32 -04:00
David Sevilla Martin
87792f5911
Fix Button component not working because of attrs.children being frozen
2020-04-18 09:05:32 -04:00
David Sevilla Martin
0de0c83353
Fix listItems isSeparator function, add m() children to attrs, work on posts, subtree retainer
2020-04-18 09:05:32 -04:00
David Sevilla Martin
49d2539aef
Added some more type hinting, changed arguments for computed util
2020-04-18 09:05:32 -04:00
David Sevilla Martin
b47ba94a9b
Include flarum webpack config shims in core shims
2020-04-18 09:05:32 -04:00
David Sevilla Martin
39c8ef4ddb
Remove dayjs from flarum/core specific shims
2020-04-18 09:05:31 -04:00
David Sevilla Martin
654a0b5da1
Fix issues with error alert and them being in modals
2020-04-18 09:05:31 -04:00
David Sevilla Martin
2fd3aa8c71
Update app.request calls to use 'body' instead of 'data' for form data
2020-04-18 09:05:31 -04:00
David Sevilla Martin
48dccda707
Add ModalManager & LogInModal, add bidi attribute, fix Translator issues with text and vnodes
2020-04-18 09:05:31 -04:00
David Sevilla Martin
b885346029
Fix m.withAttr for input value, show search results, fix some old m.route code
...
TODO: Fix "SyntaxError: '> li:not(.Dropdown-header)' is not a valid selector" when hovering search results in navbar
2020-04-18 09:05:31 -04:00
David Sevilla Martin
c037598537
Remove constructor calls in app.routes, they aren't needed
2020-04-18 09:05:31 -04:00
David Sevilla Martin
6401e45b56
Start work on user page, fix routes not working
2020-04-18 09:05:31 -04:00
David Sevilla Martin
c6bcb79541
Add notifications, and frontend framework rewrite changes changelog file
2020-04-18 09:05:30 -04:00
David Sevilla Martin
46eab64f41
Add Translator#transChoice method that extracts text
...
Fixes #1200
2020-04-18 09:05:30 -04:00
David Sevilla Martin
9a5063c083
done a bunch of work, header secondary has some components, app.request works, idk...
2020-04-18 09:05:30 -04:00
David Sevilla Martin
3c84f41070
did a thing, struff works now :o
2020-04-18 09:02:49 -04:00
flarum-bot
798a3486bf
Bundled output for commit 89ef14faf1
[skip ci]
2020-04-17 09:59:47 +00:00
Franz Liedke
89ef14faf1
Run prettier for all JS files
2020-04-17 11:57:55 +02:00
Franz Liedke
899cdfda4e
CI: Run prettier to check for JS code formatting
2020-04-17 11:14:37 +02:00
Franz Liedke
72ed4faa83
Setup husky for automatic formatting before commit
2020-04-17 10:45:36 +02:00
Franz Liedke
64ad21e5da
Add NPM shortcut for running prettier
2020-04-17 10:45:05 +02:00
Franz Liedke
14e8e9a7cb
Configure prettier via JSON file
2020-04-17 10:44:36 +02:00
Franz Liedke
ee996e2cae
Install prettier
2020-04-17 10:44:31 +02:00
flarum-bot
2aead54aea
Bundled output for commit dbfae0b55e
[skip ci]
2020-04-13 09:22:40 +00:00
Alexander Skvortsov
dbfae0b55e
Add year, localization support for displaying things older than 1 year ( #2034 )
2020-04-13 11:21:27 +02:00
flarum-bot
453c44632d
Bundled output for commit 117c2f65ac
[skip ci]
2020-04-10 19:18:00 +00:00
w-4
117c2f65ac
Fix PostStreamScrubber click ( #1945 )
2020-04-10 21:16:57 +02:00
flarum-bot
cb9801a324
Bundled output for commit fd4c0d30d8
[skip ci]
2020-04-10 10:32:46 +00:00
Taraflex
fd4c0d30d8
Protect dismissible modals from closing by ESC key
2020-04-10 12:30:56 +02:00
flarum-bot
ecdd7a2b49
Bundled output for commit 30942bdf38
[skip ci]
2020-04-03 19:27:57 +00:00
Sami Mazouz
30942bdf38
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
flarum-bot
857fd95b5e
Bundled output for commit dd43e49d0a
[skip ci]
2020-04-03 10:03:45 +00:00
Franz Liedke
dd43e49d0a
Update JS dependencies to secure versions
2020-04-03 12:02:18 +02:00
flarum-bot
e16d57d4e2
Bundled output for commit 2e2aa8747e
[skip ci]
2020-04-01 12:42:05 +00:00
Daniël Klabbers
2e2aa8747e
fixed an issue with Post--by-start-user for discussions that contain posts of deleted users
2020-04-01 14:40:40 +02:00
flarum-bot
44ac2ec8ee
Bundled output for commit 6bbd603a41
[skip ci]
2020-03-30 19:19:56 +00:00
Hasan Özbey
6bbd603a41
Update ModalManager.js
2020-03-30 21:18:48 +02:00
dependabot[bot]
a854fa8bcb
Bump acorn from 6.4.0 to 6.4.1 in /js ( #2065 )
...
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 22:29:36 +01:00
flarum-bot
a2d1245e90
Bundled output for commit 090b05736a
[skip ci]
2020-03-09 12:41:19 +00:00
Daniël Klabbers
090b05736a
showing start user in class list now
2020-03-09 13:39:26 +01:00
flarum-bot
9f1eca555f
Bundled output for commit 72fd32dbf6
[skip ci]
2020-02-14 14:57:19 +00:00
Clark Winkelmann
72fd32dbf6
Add disabled prop to the Select component ( #1978 )
2020-02-14 15:56:04 +01:00
flarum-bot
f87c8c6dcd
Bundled output for commit f9556d9d6a
[skip ci]
2020-02-10 22:55:40 +00:00
D Mata
f9556d9d6a
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
fc59f0fdd8
Bundled output for commit b91e903284
[skip ci]
2020-02-07 14:35:37 +00:00
Franz Liedke
b91e903284
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
711e775de7
Add permission to bypass throttling
2020-02-07 15:30:09 +01:00
flarum-bot
736e90d423
Bundled output for commit 2f3d9995d1
[skip ci]
2020-02-07 11:18:30 +00:00
Franz Liedke
2f3d9995d1
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
ac14f84a9a
Bundled output for commit 1d7641cbb0
[skip ci]
2020-02-07 11:06:58 +00:00
Franz Liedke
1d7641cbb0
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
7e1087cba5
Bundled output for commit 8877bf97c4
[skip ci]
2020-01-31 12:34:20 +00:00
Franz Liedke
8877bf97c4
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
7e74f5a03c
Bundled output for commit 02ceed4fed
[skip ci]
2020-01-26 22:38:29 +00:00
Clark Winkelmann
02ceed4fed
Fix the "reply posted" alert empty body
2020-01-26 23:37:19 +01:00
Franz Liedke
f275bcdd2c
Clarify the use-case of the JS slug helper
2020-01-24 17:42:14 +01:00
Franz Liedke
833ea4e06e
Connect labels with their form fields
2020-01-24 15:41:26 +01:00
Franz Liedke
97b2db84c6
Mail drivers: Separate definition from validation
2020-01-24 15:41:26 +01:00
David Sevilla Martin
4fea25959c
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
8b70cec6a1
Add required fields, incomplete configuration warning, and null transport
2020-01-24 15:41:25 +01:00
flarum-bot
a330a8fa28
Bundled output for commit 02899d4f68
[skip ci]
2020-01-22 23:02:59 +00:00
David Sevilla Martín
02899d4f68
Add Content for User page, preload user & throw 404 accordingly ( #1901 )
2020-01-23 00:01:26 +01:00
flarum-bot
fcbbedd884
Bundled output for commit 4c89e2eb77
[skip ci]
2020-01-10 17:18:42 +00:00
Vladimir Vinogradov
4c89e2eb77
Add Mailgun region setting
...
Fixes #1834 .
2020-01-10 18:17:04 +01:00
flarum-bot
9b00244454
Bundled output for commit c1878fe29b
[skip ci]
2019-12-10 14:40:37 +00:00
Franz Liedke
c1878fe29b
Update Webpack
2019-12-10 15:38:56 +01:00
flarum-bot
2a8ed53934
Bundled output for commit 17c86b82bf
[skip ci]
2019-11-24 19:01:17 +00:00
w-4
17c86b82bf
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
e69f8965c7
Bundled output for commit 6d2b50722a
[skip ci]
2019-11-15 14:10:15 +00:00
Clark Winkelmann
6d2b50722a
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
406c8ff834
Bundled output for commit 1ba4a0b87e
[skip ci]
2019-11-12 19:27:29 +00:00
Daniël Klabbers
1ba4a0b87e
Fix existing Post component classes being dropped
2019-11-12 20:26:07 +01:00
flarum-bot
36017f89fe
Bundled output for commit 1f2566c32c
[skip ci]
2019-11-11 12:00:45 +00:00
Daniël Klabbers
1f2566c32c
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
0c74927eab
Bundled output for commit 19ecd968c6
[skip ci]
2019-11-11 11:15:09 +00:00
Matthew Kilgore
d5d769ebb1
Added border around post made by active user
2019-11-11 12:13:36 +01:00
flarum-bot
f5ee37b394
Bundled output for commit 54c5c09693
[skip ci]
2019-11-09 13:51:55 +00:00
David Sevilla Martin
54c5c09693
Cleanup some code and fix alert dismiss not working
2019-11-09 08:50:24 -05:00
Moritz Stueckler
c87ebaef08
feat: re-add debug button/modal
...
Fixes #1687
2019-11-09 08:50:24 -05:00
flarum-bot
d7bdc173a4
Bundled output for commit 937354512b
[skip ci]
2019-10-28 15:37:34 +00:00
Daniël Klabbers
937354512b
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
2dedfe4b92
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
522e41aa71
Bundled output for commit bbd891965f
[skip ci]
2019-10-01 21:50:25 +00:00
Madalin Tache
bbd891965f
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
0f43445a90
Bundled output for commit 7a684660e9
[skip ci]
2019-10-01 21:39:07 +00:00
David Sevilla Martín
7a684660e9
Enable scrollbars in login button popups ( #1900 )
...
Fixes #1716
2019-10-01 23:37:42 +02:00
Franz Liedke
bd989df769
Update vulnerable JS dependencies
2019-09-13 15:26:10 +02:00
flarum-bot
588cbaee2d
Bundled output for commit a9557c399a
[skip ci]
2019-09-12 22:36:12 +00:00
David Sevilla Martín
a9557c399a
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
edc579fa6f
Bundled output for commit 119831e51c
[skip ci]
2019-09-11 22:16:20 +00:00
David Sevilla Martin
119831e51c
Fixes an issue where deleting a nonexistent model would error instead of resolving gracefully
2019-09-11 18:14:37 -04:00
flarum-bot
c2b0060852
Bundled output for commit 24964b94bf
[skip ci]
2019-09-09 21:37:54 +00:00
David Sevilla Martín
24964b94bf
Mark notification as read without visiting discussion ( #1874 )
2019-09-09 23:36:06 +02:00
flarum-bot
2b624c935d
Bundled output for commit 2e647cdda8
[skip ci]
2019-09-09 21:07:00 +00:00
David Sevilla Martín
2e647cdda8
Fix error thrown if textarea doesn't exist in TextEditor ( #1852 )
...
* Prevent textarea not existing from causing errors to be thrown
* Replace [0] with .length
2019-09-09 17:05:11 -04:00
flarum-bot
e9af36ab47
Bundled output for commit 8b3913339a
[skip ci]
2019-09-08 17:33:39 +00:00