]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
rename CSS attributes notify => notification
[friendica.git] / static / routes.config.php
index 9dced33107d1d5684ecb1ba6f286d41222d12641..f453856581c16558850d9d650a585d6816aa2b0a 100644 (file)
@@ -139,11 +139,12 @@ return [
                '/{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]],
@@ -166,10 +167,20 @@ return [
        '/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]],
 
@@ -227,6 +238,10 @@ return [
                        '/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]],
        ],