From b940c8b01a379519dcfc2ac88c7beca86aa79854 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Thu, 31 Jan 2013 20:35:18 +0100 Subject: Hide unfinished reports. Reports without sources are now "hidden", ie. they are not visible in the list of reports. But if you know the URL you can access them. This allows them to be tested before they are publicly released. Similarly APIs being tested can now use the API version 0, which will make them invisible in the API documentation. --- web/taginfo.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web/taginfo.rb') diff --git a/web/taginfo.rb b/web/taginfo.rb index 11157a9..ea610f3 100755 --- a/web/taginfo.rb +++ b/web/taginfo.rb @@ -203,7 +203,6 @@ class Taginfo < Sinatra::Base load 'lib/api/v4/josm.rb' load 'lib/api/v4/key.rb' load 'lib/api/v4/keys.rb' -# load 'lib/api/v4/langtag.rb' load 'lib/api/v4/relation.rb' load 'lib/api/v4/relations.rb' load 'lib/api/v4/search.rb' @@ -212,6 +211,9 @@ class Taginfo < Sinatra::Base load 'lib/api/v4/tags.rb' load 'lib/api/v4/wiki.rb' + # test API (unstable, do not use) + load 'lib/api/test/langtag.rb' + load 'lib/ui/embed.rb' load 'lib/ui/help.rb' load 'lib/ui/keys.rb' -- cgit v1.2.3