David Sevilla Martin
fb50540be4
common: use proper request attribute for Store.prototype.find
...
The property is 'params' instead of 'body' or 'data'
2020-04-18 09:05:33 -04:00
David Sevilla Martin
b2cbbd5862
forum: use transText on user delete control confirmation
2020-04-18 09:05:33 -04:00
David Sevilla Martin
d6a4058c28
forum: change some LinkButton code to properly work with 'active' attribute
2020-04-18 09:05:33 -04:00
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
056e6c0fea
Update changes
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
84cf938379
Merge pull request #2099 from flarum/fl/prettier
...
Install prettier for consistent JS styling
2020-04-17 11:20:52 +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
Franz Liedke
7b35674e4a
Merge pull request #2117 from flarum/fl/2055-streamline-uploads
...
Simplify uploads, avoid Application contract
2020-04-15 22:52:03 +02:00
Franz Liedke
1d953b3514
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-04-13 09:59:07 +00:00
Franz Liedke
b7d8f77529
Tweak event extender (tests)
...
- Inject contract, not implementation
- Do not dispatch event in test, let the core do that
- Ensure the relevant database tables are reset prior to the test
- Use correct parameter order for assertions
Refs #2097 .
2020-04-13 11:58:47 +02:00
Franz Liedke
b343206c7b
Tweak mail extender (tests)
...
- Use private over protected
- Use "public" API for building requests in tests
- Add more assertions
- Formatting
- Use correct parameter order for assertions
Refs #2012 .
2020-04-13 11:58:46 +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
Alexander Skvortsov
2d86eb9b9f
Mail Extender ( #2012 )
...
This allows registering new drivers, or overwriting existing ones.
2020-04-13 10:46:33 +02:00
Alexander Skvortsov
3ac5e58fa1
Add event extender (used for domain events) ( #2097 )
2020-04-13 10:45:34 +02:00
Alexander Skvortsov
ffa56595c3
Improved UI of Switch with loading indicator ( #2039 )
...
* Moved loading indicator outside of checkboxes to improve ui
* Made loading indicator more visible, fade label when switch is loading
2020-04-10 22:51:58 +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
Franz Liedke
cd9edf656b
ForumSerializer: Use UrlGenerator for base URLs
...
The test from the previous commit proves this works as intended. :)
This is one more step in trying to avoid the widespread usage of the
`Application` godclass.
Refs #2055 .
2020-04-10 17:46:15 +02:00
Franz Liedke
8c19ba1aaa
Add integration test for API root endpoint
2020-04-10 17:46:15 +02:00
Hasan Özbey
3f5554816e
Fix mobile notification bubble on colored header ( #2109 )
2020-04-10 12:50:36 +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
Franz Liedke
922e294668
Permissions page: Tweak icon styling
...
- Give them a fixed width (independent of font library)
- Center the icons in their column
- De-emphasize the icons by applying a muted color
Fixes #2016 , closes #2018 .
2020-04-10 12:01:04 +02:00
Franz Liedke
1fa37a7a6a
Simplify uploads, inject filesystem instances
...
This avoids injecting the Application god class and assembling default
file locations in multiple places.
In addition, we no longer use the `MountManager` for these uploads. It
only added complexity (by moving tmp files around) and will not be
available in the next major release of Flysystem.
Note: Passing PSR upload streams to Intervention Image requires an
explicit upgrade of the library. (Very likely, users have already
updated to the newer versions, as the old constraint allowed it, but
we should be explicit for correctness' sake.)
2020-04-10 11:38:57 +02:00