2013-12-09 21:26:25 +00:00
|
|
|
/ DashboardR GET HEAD
|
2013-03-13 21:59:33 +00:00
|
|
|
|
2012-07-31 05:11:32 +00:00
|
|
|
/noscript NoScriptR GET
|
2012-08-04 00:40:34 +00:00
|
|
|
/noscript/auto NoScriptAutoR GET
|
2013-03-13 01:51:03 +00:00
|
|
|
|
2012-07-31 21:57:08 +00:00
|
|
|
/about AboutR GET
|
2012-09-27 20:47:52 +00:00
|
|
|
/about/license LicenseR GET
|
2012-12-03 02:33:30 +00:00
|
|
|
/about/repogroups RepoGroupR GET
|
2012-07-31 21:57:08 +00:00
|
|
|
|
2013-01-03 19:16:40 +00:00
|
|
|
/shutdown ShutdownR GET
|
|
|
|
/shutdown/confirm ShutdownConfirmedR GET
|
2013-11-23 20:21:09 +00:00
|
|
|
/shutdown/complete NotRunningR GET
|
2013-01-03 22:50:30 +00:00
|
|
|
/restart RestartR GET
|
2013-01-26 06:09:33 +00:00
|
|
|
/restart/thread/#ThreadName RestartThreadR GET
|
2013-01-15 17:52:35 +00:00
|
|
|
/log LogR GET
|
2013-01-03 19:16:40 +00:00
|
|
|
|
2012-12-30 03:10:18 +00:00
|
|
|
/config ConfigurationR GET
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/preferences PreferencesR GET POST
|
2013-04-30 19:19:16 +00:00
|
|
|
/config/xmpp XMPPConfigR GET POST
|
|
|
|
/config/xmpp/for/self XMPPConfigForPairSelfR GET POST
|
|
|
|
/config/xmpp/for/frield XMPPConfigForPairFriendR GET POST
|
2013-03-15 21:52:41 +00:00
|
|
|
/config/xmpp/needcloudrepo/#UUID NeedCloudRepoR GET
|
2014-04-20 16:46:33 +00:00
|
|
|
/config/xmpp/disconnect DisconnectXMPPR GET
|
2014-04-09 20:27:24 +00:00
|
|
|
/config/needconnection ConnectionNeededR GET
|
2013-10-11 04:45:46 +00:00
|
|
|
/config/fsck ConfigFsckR GET POST
|
2013-10-29 20:48:06 +00:00
|
|
|
/config/fsck/preferences ConfigFsckPreferencesR POST
|
2013-11-23 03:12:06 +00:00
|
|
|
/config/upgrade/start/#GitAnnexDistribution ConfigStartUpgradeR GET
|
2013-11-23 16:39:36 +00:00
|
|
|
/config/upgrade/finish ConfigFinishUpgradeR GET
|
|
|
|
/config/upgrade/automatically ConfigEnableAutomaticUpgradeR GET
|
2014-01-23 19:09:43 +00:00
|
|
|
/config/unused ConfigUnusedR GET POST
|
2012-09-18 21:50:07 +00:00
|
|
|
|
2013-03-15 04:34:42 +00:00
|
|
|
/config/addrepository AddRepositoryR GET
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/new NewRepositoryR GET POST
|
2013-05-03 19:21:31 +00:00
|
|
|
/config/repository/new/first FirstRepositoryR GET POST
|
|
|
|
/config/repository/new/androidcamera AndroidCameraRepositoryR GET
|
2013-01-03 20:34:57 +00:00
|
|
|
/config/repository/switcher RepositorySwitcherR GET
|
2012-09-18 21:50:07 +00:00
|
|
|
/config/repository/switchto/#FilePath SwitchToRepositoryR GET
|
2013-09-27 04:31:12 +00:00
|
|
|
/config/repository/combine/#FilePath/#UUID CombineRepositoryR GET
|
2013-11-07 22:02:00 +00:00
|
|
|
/config/repository/edit/#RepoId EditRepositoryR GET POST
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/edit/new/#UUID EditNewRepositoryR GET POST
|
|
|
|
/config/repository/edit/new/cloud/#UUID EditNewCloudRepositoryR GET POST
|
2013-11-07 22:02:00 +00:00
|
|
|
/config/repository/sync/disable/#RepoId DisableSyncR GET
|
|
|
|
/config/repository/sync/enable/#RepoId EnableSyncR GET
|
|
|
|
/config/repository/upgrade/#RepoId UpgradeRepositoryR GET
|
2012-09-13 20:47:44 +00:00
|
|
|
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/add/drive AddDriveR GET POST
|
2013-03-20 20:46:35 +00:00
|
|
|
/config/repository/add/drive/confirm/#RemovableDrive ConfirmAddDriveR GET
|
2013-09-17 19:36:15 +00:00
|
|
|
/config/repository/add/drive/genkey/#RemovableDrive GenKeyForDriveR GET
|
|
|
|
/config/repository/add/drive/finish/#RemovableDrive/#RepoKey FinishAddDriveR GET
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/add/ssh AddSshR GET POST
|
2013-10-02 19:54:32 +00:00
|
|
|
/config/repository/add/ssh/confirm/#SshData/#UUID ConfirmSshR GET
|
2013-03-16 16:58:59 +00:00
|
|
|
/config/repository/add/ssh/retry/#SshData RetrySshR GET
|
2012-09-02 21:32:24 +00:00
|
|
|
/config/repository/add/ssh/make/git/#SshData MakeSshGitR GET
|
|
|
|
/config/repository/add/ssh/make/rsync/#SshData MakeSshRsyncR GET
|
2013-09-29 18:39:10 +00:00
|
|
|
/config/repository/add/ssh/make/gcrypt/#SshData/#RepoKey MakeSshGCryptR GET
|
2013-10-02 19:54:32 +00:00
|
|
|
/config/repository/add/ssh/combine/#SshData CombineSshR GET
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/add/cloud/rsync.net AddRsyncNetR GET POST
|
2013-09-26 20:09:45 +00:00
|
|
|
/config/repository/add/cloud/rsync.net/shared/#SshData MakeRsyncNetSharedR GET
|
|
|
|
/config/repository/add/cloud/rsync.net/gcrypt/#SshData/#RepoKey MakeRsyncNetGCryptR GET
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/add/cloud/S3 AddS3R GET POST
|
2013-04-25 16:23:36 +00:00
|
|
|
/config/repository/add/cloud/IA AddIAR GET POST
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/add/cloud/glacier AddGlacierR GET POST
|
|
|
|
/config/repository/add/cloud/box.com AddBoxComR GET POST
|
2015-07-20 22:38:23 +00:00
|
|
|
/config/repository/add/cloud/gitlab.com AddGitLabR GET POST
|
2012-09-13 20:47:44 +00:00
|
|
|
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/pair/local/start StartLocalPairR GET POST
|
2012-11-03 01:13:06 +00:00
|
|
|
/config/repository/pair/local/running/#SecretReminder RunningLocalPairR GET
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/pair/local/finish/#PairMsg FinishLocalPairR GET POST
|
2013-03-15 19:05:02 +00:00
|
|
|
|
|
|
|
/config/repository/pair/xmpp/self/start StartXMPPPairSelfR GET
|
|
|
|
/config/repository/pair/xmpp/self/running RunningXMPPPairSelfR GET
|
|
|
|
|
|
|
|
/config/repository/pair/xmpp/friend/start StartXMPPPairFriendR GET
|
|
|
|
/config/repository/pair/xmpp/friend/running/#BuddyKey RunningXMPPPairFriendR GET
|
|
|
|
/config/repository/pair/xmpp/friend/accept/#PairKey ConfirmXMPPPairFriendR GET
|
|
|
|
/config/repository/pair/xmpp/friend/finish/#PairKey FinishXMPPPairFriendR GET
|
2012-09-08 04:26:47 +00:00
|
|
|
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/enable/rsync/#UUID EnableRsyncR GET POST
|
2013-10-02 19:54:32 +00:00
|
|
|
/config/repository/enable/gcrypt/#UUID EnableSshGCryptR GET POST
|
2012-09-13 20:47:44 +00:00
|
|
|
/config/repository/enable/directory/#UUID EnableDirectoryR GET
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/enable/S3/#UUID EnableS3R GET POST
|
2013-04-25 16:23:36 +00:00
|
|
|
/config/repository/enable/IA/#UUID EnableIAR GET POST
|
2013-03-16 22:48:23 +00:00
|
|
|
/config/repository/enable/glacier/#UUID EnableGlacierR GET POST
|
|
|
|
/config/repository/enable/webdav/#UUID EnableWebDAVR GET POST
|
2014-05-22 18:10:48 +00:00
|
|
|
/config/repository/enable/sshgitremote/#UUID EnableSshGitRemoteR GET POST
|
2012-07-31 05:11:32 +00:00
|
|
|
|
2013-03-15 04:34:42 +00:00
|
|
|
/config/repository/reorder RepositoriesReorderR GET
|
|
|
|
|
2014-03-06 22:11:44 +00:00
|
|
|
/config/repository/syncnow/#UUID SyncNowRepositoryR GET
|
2013-04-04 00:54:53 +00:00
|
|
|
|
|
|
|
/config/repository/delete/confirm/#UUID DeleteRepositoryR GET
|
|
|
|
/config/repository/delete/start/#UUID StartDeleteRepositoryR GET
|
|
|
|
/config/repository/delete/finish/#UUID FinishDeleteRepositoryR GET
|
|
|
|
/config/repository/delete/here DeleteCurrentRepositoryR GET POST
|
|
|
|
|
2013-10-11 06:57:36 +00:00
|
|
|
/config/activity/add/#UUID AddActivityR GET POST
|
|
|
|
/config/activity/change/#UUID/#ScheduledActivity ChangeActivityR GET POST
|
|
|
|
/config/activity/remove/#UUID/#ScheduledActivity RemoveActivityR GET
|
|
|
|
|
2012-07-31 05:11:32 +00:00
|
|
|
/transfers/#NotificationId TransfersR GET
|
|
|
|
/notifier/transfers NotifierTransfersR GET
|
2012-11-03 01:13:06 +00:00
|
|
|
|
|
|
|
/sidebar/#NotificationId SideBarR GET
|
2012-07-31 05:11:32 +00:00
|
|
|
/notifier/sidebar NotifierSideBarR GET
|
2012-11-03 01:13:06 +00:00
|
|
|
|
|
|
|
/buddylist/#NotificationId BuddyListR GET
|
|
|
|
/notifier/buddylist NotifierBuddyListR GET
|
|
|
|
|
2013-09-27 04:35:37 +00:00
|
|
|
/repolist/#NotificationId/#RepoSelector RepoListR GET
|
2012-11-13 21:50:54 +00:00
|
|
|
/notifier/repolist/#RepoSelector NotifierRepoListR GET
|
|
|
|
|
global webapp redirects, to finish upgrades
When an automatic upgrade completes, or when the user clicks on the upgrade
button in one webapp, but also has it open in another browser window/tab,
we have a problem: The current web server is going to stop running in
minutes, but there is no way to send a redirect to the web browser to the
new url.
To solve this, used long polling, so the webapp is always listening for
urls it should redirect to. This allows globally redirecting every open
webapp. Works great! Tested with 2 web browsers with 2 tabs each.
May be useful for other purposes later too, dunno.
The overhead is 2 http requests per page load in the webapp. Due to yesod's
speed, this does not seem to noticibly delay it. Only 1 of the requests
could possibly block the page load, the other is async.
2013-11-23 18:47:38 +00:00
|
|
|
/globalredir/#NotificationId GlobalRedirR GET
|
|
|
|
/notifier/globalredir NotifierGlobalRedirR GET
|
|
|
|
|
2012-09-09 05:02:44 +00:00
|
|
|
/alert/close/#AlertId CloseAlert GET
|
2013-11-23 04:54:08 +00:00
|
|
|
/alert/click/#AlertId/#Int ClickAlert GET
|
2012-08-03 13:44:43 +00:00
|
|
|
/filebrowser FileBrowserR GET POST
|
2012-07-31 05:11:32 +00:00
|
|
|
|
2012-08-08 20:06:01 +00:00
|
|
|
/transfer/pause/#Transfer PauseTransferR GET POST
|
|
|
|
/transfer/start/#Transfer StartTransferR GET POST
|
|
|
|
/transfer/cancel/#Transfer CancelTransferR GET POST
|
|
|
|
|
2013-10-22 20:02:52 +00:00
|
|
|
/repair/#UUID RepairRepositoryR GET POST
|
|
|
|
/repair/run/#UUID RepairRepositoryRunR GET POST
|
|
|
|
|
2014-01-23 19:09:43 +00:00
|
|
|
/unused/cleanup CleanupUnusedR GET
|
|
|
|
|
2012-07-31 05:11:32 +00:00
|
|
|
/static StaticR Static getStatic
|