diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-31 20:35:18 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-31 20:35:18 +0100 |
commit | b940c8b01a379519dcfc2ac88c7beca86aa79854 (patch) | |
tree | b40eff44ab39a316c1b70862d4ec2317df30a1ed /web/taginfo.rb | |
parent | 59ca7dcc45cae63309795d3b30822fa06d4b7cb1 (diff) | |
download | taginfo-b940c8b01a379519dcfc2ac88c7beca86aa79854.tar taginfo-b940c8b01a379519dcfc2ac88c7beca86aa79854.tar.gz |
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.
Diffstat (limited to 'web/taginfo.rb')
-rwxr-xr-x | web/taginfo.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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' |