diff --git a/i2p2www/legacy.py b/i2p2www/legacy.py index 2068ae73..020c75d9 100644 --- a/i2p2www/legacy.py +++ b/i2p2www/legacy.py @@ -5,13 +5,71 @@ from flask import g, redirect, url_for # Legacy paths LEGACY_FUNCTIONS_MAP={ - 'download': 'downloads_list' + 'announcements': 'blog_index', + 'download': 'downloads_list', } LEGACY_PAGES_MAP={ - 'bounties': 'volunteer/bounties', - 'getinvolved': 'volunteer', - 'faq': 'support/faq', + 'applications': 'volunteer/develop/applications', + 'bittorrent': 'docs/applications/bittorrent', + 'blockfile': 'docs/spec/blockfile', + 'bob': 'docs/api/bob', + 'bounties': 'volunteer/bounties', + 'common_structures_spec': 'docs/spec/common_structures', + 'configuration': 'docs/spec/configuration', + 'datagrams': 'docs/spec/datagrams', + 'dev-guidelines': 'volunteer/guides/devguidelines', + 'donate': 'volunteer/donate', + 'faq': 'support/faq', + 'getinvolved': 'volunteer', + 'halloffame': 'about/halloffame', + 'how': 'docs', + 'how_cryptography': 'docs/how/cryptography', + 'how_elgamalaes': 'docs/how/elgamalaes', + 'how_intro': 'docs/how/intro', + 'how_networkcomparisons': 'about/comparison', + 'how_networkdatabase': 'docs/how/networkdatabase', + 'how_peerselection': 'docs/how/peerselection', + 'how_threatmodel': 'docs/how/threatmodel', + 'how_tunnelrouting': 'docs/how/tunnelrouting', + 'how_garlicrouting': 'docs/how/garlicrouting', + 'i2cp': 'docs/protocol/i2cp', + 'i2cp_spec': 'docs/spec/i2cp', + 'i2np': 'docs/protocol/i2np', + 'i2np_spec': 'docs/spec/i2np', + 'i2pcontrol': 'docs/api/i2pcontrol', + 'i2ptunnel': 'docs/api/i2ptunnel', + 'intro': 'about/intro', + 'jbigi': 'misc/jbigi', + 'licenses': 'volunteer/develop/licenses', + 'monotone': 'volunteer/develop/monotone', + 'naming': 'docs/naming', + 'newdevelopers': 'volunteer/guides/newdevelopers', + 'newtranslators': 'volunteer/guides/newtranslators', + 'ntcp': 'docs/transport/ntcp', + 'papers': 'research/papers', + 'performance': 'support/performance/future', + 'plugins': 'docs/plugins', + 'plugin_spec': 'docs/spec/plugin', + 'ports': 'docs/ports', + 'protocols': 'docs/protocol', + 'roadmap': 'volunteer/roadmap', + 'sam': 'docs/api/sam', + 'samv2': 'docs/api/samv2', + 'samv3': 'docs/api/samv3', + 'socks': 'docs/api/socks', + 'streaming': 'docs/api/streaming', + 'team': 'about/team', + 'techintro': 'docs/how/techintro', + 'todo': 'volunteer/todo', + 'transport': 'docs/transport', + 'tunnel-alt': 'docs/tunnels/implementation', + 'tunnel-alt-creation': 'docs/spec/tunnel_creation', + 'tunnel_message_spec': 'docs/spec/tunnel_message', + 'udp': 'docs/transport/ssu', + 'udp_spec': 'docs/spec/ssu', + 'unidirectional-tunnels': 'docs/tunnels/unidirectional', + 'updates': 'docs/spec/updates', } def legacy_show(f):