'/{group:\d+}/add/{contact:\d+}' => [Module\Group::class, [R::GET, R::POST]],
'/{group:\d+}/remove/{contact:\d+}' => [Module\Group::class, [R::GET, R::POST]],
],
- '/hashtag' => [Module\Hashtag::class, [R::GET]],
- '/home' => [Module\Home::class, [R::GET]],
- '/help[/{doc:.+}]' => [Module\Help::class, [R::GET]],
- '/inbox[/{nickname}]' => [Module\Inbox::class, [R::GET, R::POST]],
- '/invite' => [Module\Invite::class, [R::GET, R::POST]],
+ '/hashtag' => [Module\Hashtag::class, [R::GET]],
+ '/help[/{doc:.+}]' => [Module\Help::class, [R::GET]],
+ '/home' => [Module\Home::class, [R::GET]],
+ '/hcard/{profile}[/{action}]' => [Module\HoverCard::class, [R::GET]],
+ '/inbox[/{nickname}]' => [Module\Inbox::class, [R::GET, R::POST]],
+ '/invite' => [Module\Invite::class, [R::GET, R::POST]],
'/install' => [
'[/]' => [Module\Install::class, [R::GET, R::POST]],
'/nodeinfo/{version}' => [Module\NodeInfo::class, [R::GET]],
'/nogroup' => [Module\Group::class, [R::GET]],
- '/notify' => [
- '[/]' => [Module\Notifications\Notify::class, [R::GET]],
- '/view/{id:\d+}' => [Module\Notifications\Notify::class, [R::GET]],
- '/mark/all' => [Module\Notifications\Notify::class, [R::GET]],
+ '/notifications' => [
+ '/network[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
+ '/system[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
+ '/personal[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
+ '/home[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
+ '/intros[/json]' => [Module\Notifications\Introductions::class, [R::GET, R::POST]],
+ '/intros/all[/json]' => [Module\Notifications\Introductions::class, [R::GET, R::POST]],
+ '/intros/{contact:\d+}[/json]' => [Module\Notifications\Introductions::class, [R::GET, R::POST]],
+ ],
+
+ '/notification' => [
+ '[/]' => [Module\Notifications\Notification::class, [R::GET]],
+ '/view/{id:\d+}' => [Module\Notifications\Notification::class, [R::GET]],
+ '/mark/all' => [Module\Notifications\Notification::class, [R::GET]],
],
'/objects/{guid}' => [Module\Objects::class, [R::GET]],
'/verify' => [Module\Settings\TwoFactor\Verify::class, [R::GET, R::POST]],
],
'/delegation[/{action}/{user_id}]' => [Module\Settings\Delegation::class, [R::GET, R::POST]],
+ '/profile' => [
+ '/photo[/new]' => [Module\Settings\Profile\Photo\Index::class, [R::GET, R::POST]],
+ '/photo/crop/{guid}' => [Module\Settings\Profile\Photo\Crop::class, [R::GET, R::POST]],
+ ],
'/userexport[/{action}]' => [Module\Settings\UserExport::class, [R::GET, R::POST]],
],