254d5d0c5b
Fix group/permission seeding
...
Updating the Migration::addPermission helper table name means we need
to move the seed migration to after the table rename migration. We also
add a sanity check for each permission's group since the foreign key
will fail if the group doesn't exist. Of course, the only way to make
sure groups are seeded before permissions is to move them into another
migration.
2018-07-21 23:02:44 +09:30
1709d4ef2c
Remove file accidentally added in merge
2018-07-21 22:09:14 +09:30
baeaa73597
Wrap column names; use whereColumn where possible
2018-07-21 22:02:54 +09:30
677a7dd2d3
Merge branch 'master' into 1236-database-changes
...
# Conflicts:
# src/Forum/Controller/IndexController.php
# src/User/UserMetadataUpdater.php
2018-07-21 21:37:49 +09:30
c562302161
Don't save in the model
2018-07-21 21:28:44 +09:30
d42f33971a
Fix user list sorting
2018-07-21 18:39:32 +09:30
aa4c4b07bd
Revert notifications_from table
...
I didn't think this change through and it's going to be too difficult
to implement right now. It can wait until we do the notifications
revamp. For now reverting back to the old structure, with the
`sender_id` column renamed to `from_user_id`.
2018-07-21 18:35:50 +09:30
420bb2efc8
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2018-07-21 07:52:21 +00:00
ed57d6e51c
Clean up attribute assignment
2018-07-21 17:22:03 +09:30
b4f6c4be1f
Specify ambiguous column names
2018-07-21 17:21:37 +09:30
ff7f7681c7
Use Eloquent's latest
and oldest
2018-07-21 17:21:08 +09:30
7d0813bce4
Fix some incorrect attribute names
2018-07-21 17:20:43 +09:30
4f259425b0
Fix entity deletion
...
Foreign keys take care of most of this for us!
2018-07-21 17:18:40 +09:30
22fadb7f9c
Fix API key generation
2018-07-21 17:14:15 +09:30
d0115de771
No need for deleted_at in notifications table
2018-07-21 17:13:51 +09:30
9d790c18d6
Change TIMESTAMP columns to DATETIME
2018-07-21 17:12:51 +09:30
6f3eb3f335
Fix discussion and post list sorting
2018-07-21 17:10:02 +09:30
2d667d885d
Fix email confirmation links
2018-07-21 17:08:11 +09:30
0fb81958cb
Clean up Eloquent definitions
2018-07-21 17:06:42 +09:30
87bba2186e
Fix to ensure we can rename columns in tables with enums
...
See https://github.com/laravel/framework/issues/1186
2018-07-21 15:26:12 +09:30
93b9513df2
Fix column names
2018-07-21 15:24:51 +09:30
fb6b2d05b1
Fix table name
2018-07-21 15:24:33 +09:30
fe73cf3237
Clean up migrations
...
* Make filenames and order more consistent
* Split foreign keys into their own migrations, add statements to ensure
data integrity prior to adding them
* Add renameColumns helper, use other helpers where possible
2018-07-21 15:23:37 +09:30
c7efbba0da
resetting to short annotation for dropping foreign key constraint, as per docs, must use array notation for this to work
2018-07-20 09:35:16 +02:00
be266a73cd
fixed another foreign key drop with incorrect name
2018-07-20 09:24:42 +02:00
e1a282e0e1
forgot to name a few constraints properly on the dropForeign statement
2018-07-20 09:23:03 +02:00
5a04635e7a
decided to leave the posts.discussion_id foreign key constraint to discussions out for now
2018-07-20 08:41:01 +02:00
7d59b4da7e
Bundled output for commit 6a6b9ac6b1a5cfde4eaafd0359a30398fb5bdde5 [skip ci]
2018-07-20 03:13:58 +00:00
f89c111f13
Update PULL_REQUEST_TEMPLATE.md ( #1505 )
2018-07-20 12:39:50 +09:30
6a6b9ac6b1
Use flexbox for sideNav. fixes #1408
2018-07-20 12:34:43 +09:30
cbe328cdc5
Revert Chrome image rendering tweak
...
The Chrome bug appears to have been fixed:
https://bugs.chromium.org/p/chromium/issues/detail?id=562162
This CSS rule makes images look very ugly in Safari, so removing it.
ref #1259
2018-07-20 12:03:49 +09:30
7b802a76ba
Dissociate .sideNav--horizontal from @expand-side-nav
2018-07-20 11:38:42 +09:30
90792abf10
added constraints, discussions_first_post_id_foreign blocks here
2018-07-19 10:36:46 +02:00
5139ce647e
instead of changing fulltext, use medium text schema builder change on posts.content
2018-07-19 09:52:20 +02:00
8779e40ec5
remove migration (initially was intended) to change settings.value to longblob
2018-07-19 09:45:29 +02:00
1e372f3881
split up the migration to create and seed notifications_from
2018-07-19 09:22:34 +02:00
b2e873ba7b
undo carbon change as proposed in review
2018-07-19 09:15:59 +02:00
d6414cfb44
Properly set comments_count and discussions_count ( #1436 )
2018-07-17 19:02:37 +02:00
85ceda0b0b
Remove another unused parameter
2018-07-16 15:48:48 +02:00
dc7c31e1c2
Remove incorrect attribute
2018-07-16 15:48:48 +02:00
177ac74596
Apply fixes from StyleCI ( #1508 )
...
[ci skip] [skip ci]
2018-07-16 15:13:21 +02:00
c76d9e1298
Move initial permission setup to migrations
...
Refs #1466 .
2018-07-16 15:12:46 +02:00
dee54a008f
Apply fixes from StyleCI ( #1507 )
...
[ci skip] [skip ci]
2018-07-16 01:44:50 +02:00
551ca23267
Discussion HTML: Add a canonical URL
...
Refs #358 and #1140 .
2018-07-16 01:43:06 +02:00
3d845d5730
Discussion HTML: Fix generation of next/prev URLs
2018-07-16 01:42:36 +02:00
9b03f8c71a
Make post filtering work with database prefixes
2018-07-16 01:22:13 +02:00
665f241348
Add migration for new hidePosts permission
...
Refs #1387 and #1466 .
2018-07-16 00:41:55 +02:00
ce90d2bbdd
Installer: Get rid of an instance variable
...
Leftover from PR #1405 .
2018-07-16 00:33:32 +02:00
6e5b0f5289
Formatter: Tweak minifier setup
...
See discussion in PR #1457 .
2018-07-14 22:57:20 +02:00
fba31995b1
Upgrade text formatter ( #1457 )
...
* upgrade TextFormatter
* remove finalize options
* cleanup JsCompiler
* simplify Formatter
* refactor Formatter cache
* minify formatter js
* remove Closure Compiler
2018-07-14 22:22:14 +02:00