Commit Graph

2772 Commits

Author SHA1 Message Date
Franz Liedke
ac4e4e15ff Merge pull request #1344 from flarum/1236-database-changes
Database changes
2018-09-16 20:44:29 +02:00
Toby Zerner
a7f4297214 Fix query error 2018-09-15 12:44:59 +09:30
Toby Zerner
cd4d22e42b Inline permissions migration 2018-09-15 12:40:32 +09:30
Franz Liedke
30bc979fcb Use instance variable directly instead of passing it around 2018-09-07 01:40:31 +02:00
Franz Liedke
df6f10da20 Frontend extender: Remove route registration
This can be achieved using the Route extender, which is more
flexible, as it does not necessary connect the URL with the current
frontend's router.

(Example use-case: The ext-embed frontend will be a new frontend,
however any routes using this frontend will be part of the forum
route group.)

Refs #851.
2018-09-07 01:40:31 +02:00
Franz Liedke
c53ec59d56 Frontend extender: Route to correct frontend
So far, we always added routes configured via this extender to the
forum frontend. Not correct.
2018-09-07 01:02:13 +02:00
Franz Liedke
f5d3ab0da2 RouteHandlerFactory: Refactor frontend parameter
By passing in just the frontend identifier, we can hide some of the
implementation details, in this case the identifier of the Frontend
instance in the IoC container.
2018-09-07 01:00:56 +02:00
Franz Liedke
7989f84299 flarum info: Try to fix STDERR redirection for Windows
See the following articles for more information:
- https://www.24k.com.sg/blog-27.html
- https://support.microsoft.com/en-us/help/110930/redirecting-error-messages-from-command-prompt-stderr-stdout

Refs #1562.
2018-09-07 00:25:26 +02:00
Franz Liedke
5633106a7c flarum info: Extract extension table to function 2018-09-04 00:38:08 +02:00
Franz Liedke
58afd2608d flarum info: Tweak output styling 2018-09-04 00:32:54 +02:00
David Sevilla Martín
12dfe12edb InfoCommand improvements (#1562)
* Ignore error output of 'git rev-parse HEAD'
* Organize extension information in a table
2018-09-04 00:24:07 +02:00
Franz Liedke
ea207241f3 Use correct method from contract 2018-09-03 23:55:16 +02:00
David Sevilla Martín
8e331d5817 Add 'oldUsername' to User\Event\Renamed (#1563) 2018-09-03 22:42:30 +02:00
Franz Liedke
e03cc3d9c9 Apply fixes from StyleCI (#1561)
[ci skip] [skip ci]
2018-09-01 23:35:37 +02:00
Franz Liedke
3aa0ce9893 flarum info: Display warning when in debug mode
Refs #1421.
2018-09-01 16:57:44 +02:00
Franz Liedke
c655f11d43 Load per-site extenders, if available
Closes #1559.
2018-09-01 16:27:52 +02:00
Franz Liedke
e8c779fcf4 Frontend extender: Work without extension, too 2018-09-01 16:15:02 +02:00
flarum-bot
a49f2204ab Bundled output for commit a848949c84 [skip ci] 2018-08-25 10:56:59 +00:00
Toby Zerner
a848949c84 Update JS tooling 2018-08-25 20:18:59 +09:30
Toby Zerner
5778edb5ef Rename user methods 2018-08-24 22:13:06 +09:30
Toby Zerner
d51a779241 Missed a spot 2018-08-24 22:13:06 +09:30
Toby Zerner
ad33638a99 Fix up Notification model 2018-08-24 22:13:06 +09:30
Toby Zerner
f0d296bfb0 Rename notification.sender 2018-08-24 22:13:06 +09:30
Toby Zerner
3a21b44a71 Rename notification.time 2018-08-24 22:13:05 +09:30
Toby Zerner
4b931470ed Rename user.newNotificationsCount 2018-08-24 22:13:05 +09:30
Toby Zerner
eb5b3a0484 Rename user.unreadNotificationsCount 2018-08-24 22:13:05 +09:30
Toby Zerner
f9bab0822e Rename user.readTime 2018-08-24 22:13:05 +09:30
Toby Zerner
0d526cfc37 Rename user.isActivated 2018-08-24 22:13:05 +09:30
Toby Zerner
666dfe2eb8 Rename user.lastSeenTime 2018-08-24 22:13:05 +09:30
Toby Zerner
14508d9fcc Rename user.commentCount 2018-08-24 22:13:05 +09:30
Toby Zerner
e253b79fe6 Rename user.discussionsCount 2018-08-24 22:13:05 +09:30
Toby Zerner
1c4070a034 Rename post.hideUser 2018-08-24 22:13:05 +09:30
Toby Zerner
5bb93e569b Rename post.editUser 2018-08-24 22:13:05 +09:30
Toby Zerner
767becec00 Rename post.hideTime 2018-08-24 22:13:05 +09:30
Toby Zerner
8eb4a75da7 Rename post.editTime 2018-08-24 22:13:05 +09:30
Toby Zerner
c2f6e2d7a3 Rename post.time 2018-08-24 22:13:05 +09:30
Toby Zerner
e1400b0ef9 Rename discussion.repliesCount 2018-08-24 22:13:05 +09:30
Toby Zerner
1f076acbe2 Rename discussion.hideUser 2018-08-24 22:13:05 +09:30
Toby Zerner
0049e0d608 Rename discussion.readNumber 2018-08-24 22:13:05 +09:30
Toby Zerner
d031fc76bd Rename discussion.readTime 2018-08-24 22:13:05 +09:30
Toby Zerner
dc4e650091 Rename discussion.hideTime 2018-08-24 22:13:05 +09:30
Toby Zerner
2ba550afa7 Rename discussion.lastTime 2018-08-24 22:13:05 +09:30
Toby Zerner
e9cd9575f5 Rename discussion.startTime 2018-08-24 22:13:05 +09:30
Toby Zerner
350d162d81 Rename discussion.lastPostedUser 2018-08-24 22:13:05 +09:30
Toby Zerner
6670605b7c Rename discussion.startUser 2018-08-24 22:13:05 +09:30
Toby Zerner
14885fc0e1 Rename discussion.startPost 2018-08-24 22:13:05 +09:30
Toby Zerner
98d85d51d3 Rename discussion.participantsCount 2018-08-24 22:13:05 +09:30
Toby Zerner
5a6b0fc474 Rename discussion.commentsCount 2018-08-24 22:13:05 +09:30
Toby Zerner
c3906eabcd Fix installer 2018-08-24 22:12:45 +09:30
Toby Zerner
fbdfeeec85 Fix reset password 2018-08-24 21:54:46 +09:30