forked from mirror/pixelfed
Merge pull request #1404 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
1fec262a8c
|
@ -246,7 +246,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'user_invites' => [
|
'user_invites' => [
|
||||||
'enabled' => env('PF_USER_INVITES', false),
|
'enabled' => false, //env('PF_USER_INVITES', false),
|
||||||
'limit' => [
|
'limit' => [
|
||||||
'total' => (int) env('PF_USER_INVITES_TOTAL_LIMIT', 0),
|
'total' => (int) env('PF_USER_INVITES_TOTAL_LIMIT', 0),
|
||||||
'daily' => (int) env('PF_USER_INVITES_DAILY_LIMIT', 0),
|
'daily' => (int) env('PF_USER_INVITES_DAILY_LIMIT', 0),
|
||||||
|
|
|
@ -225,6 +225,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
'2fa/recovery-codes',
|
'2fa/recovery-codes',
|
||||||
'SettingsController@securityTwoFactorRecoveryCodesRegenerate'
|
'SettingsController@securityTwoFactorRecoveryCodesRegenerate'
|
||||||
);
|
);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('applications', 'SettingsController@applications')->name('settings.applications')->middleware('dangerzone');
|
Route::get('applications', 'SettingsController@applications')->name('settings.applications')->middleware('dangerzone');
|
||||||
|
@ -238,10 +239,16 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::get('labs', 'SettingsController@labs')->name('settings.labs');
|
Route::get('labs', 'SettingsController@labs')->name('settings.labs');
|
||||||
Route::post('labs', 'SettingsController@labsStore');
|
Route::post('labs', 'SettingsController@labsStore');
|
||||||
|
|
||||||
|
Route::get('accessibility', 'SettingsController@accessibility')->name('settings.accessibility');
|
||||||
|
Route::post('accessibility', 'SettingsController@accessibilityStore');
|
||||||
|
|
||||||
Route::group(['prefix' => 'relationships'], function() {
|
Route::group(['prefix' => 'relationships'], function() {
|
||||||
Route::redirect('/', '/settings/relationships/home');
|
Route::redirect('/', '/settings/relationships/home');
|
||||||
Route::get('home', 'SettingsController@relationshipsHome')->name('settings.relationships');
|
Route::get('home', 'SettingsController@relationshipsHome')->name('settings.relationships');
|
||||||
});
|
});
|
||||||
|
Route::get('invites/create', 'UserInviteController@create')->name('settings.invites.create');
|
||||||
|
Route::post('invites/create', 'UserInviteController@store');
|
||||||
|
Route::get('invites', 'UserInviteController@show')->name('settings.invites');
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::group(['prefix' => 'site'], function () {
|
Route::group(['prefix' => 'site'], function () {
|
||||||
|
|
Loading…
Reference in New Issue