Skip to content

Commit

Permalink
Remove admin/test_code.html page
Browse files Browse the repository at this point in the history
* Relocated to eg/ for future reference
* Deemed a slight security risk
* Best to not include by default in the Admin UI
  • Loading branch information
Josh Lavin committed Dec 5, 2015
1 parent 1a1c67f commit f9ab4cc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion MANIFEST
Expand Up @@ -562,7 +562,6 @@ dist/lib/UI/pages/admin/survey/question.html
dist/lib/UI/pages/admin/tablereport.html
dist/lib/UI/pages/admin/tax.html
dist/lib/UI/pages/admin/tax_simple.html
dist/lib/UI/pages/admin/test_code.html
dist/lib/UI/pages/admin/trafficstats.html
dist/lib/UI/pages/admin/transfer_catalog.html
dist/lib/UI/pages/admin/upload_config.html
Expand Down Expand Up @@ -1056,6 +1055,7 @@ eg/survey_wizard/pages/admin/overall.html
eg/survey_wizard/pages/survey/standard.html
eg/survey_wizard/survey_wizard.coretag
eg/te
eg/test_code.html
eg/usertag/benchmark.tag
eg/usertag/isindex.tag
eg/usertag/sleep.tag
Expand Down
2 changes: 2 additions & 0 deletions WHATSNEW-5.8
Expand Up @@ -14,6 +14,8 @@ Admin UI

* Admin passwords encrypted with Bcrypt by default.

* test_code page removed (deemed slight security risk). Copy in eg/ if needed.


Strap Demo
----------
Expand Down
3 changes: 1 addition & 2 deletions dist/lib/UI/pages/include/menus/Admin.txt
Expand Up @@ -9,5 +9,4 @@ code mgroup msort next_line indicator exclude_on depends_on page form name super
008 Admin x008 `$CGI->{mv_data_table} eq 'variable' or $CGI->{mv_data_table} && return -1` admin/flex_select mv_data_table=variable&page_title=Knar%20editor&ui_meta_specific=1&doing_knar=1&help_name=knar.main&ui_description_fields=code&ui_return_to=admin/flex_select&ui_return_to=mv_data_table=variable&ui_return_to=page_title=Knar%20Editor Knar 1 1 1
009 Admin x009 admin/gentable Tables 1
010 Admin x010 admin/survey/index Surveys 1 Create polls, surveys, and mail forms survey
011 Admin x011 admin/test_code Test code 0
012 Admin x012 admin/reconfig Apply Changes 0
011 Admin x011 admin/reconfig Apply Changes 0
11 changes: 5 additions & 6 deletions dist/lib/UI/pages/include/menus/MiscFunction.txt
Expand Up @@ -12,9 +12,8 @@ code mgroup msort next_line indicator exclude_on depends_on page form name super
011 x011 ITL Helpers 0
012 x012 admin/search_wizard Search Wizard 0 Generate a search for a page
013 x013 admin/button_builder Button Builder 0 Generate an order button or link
014 x014 admin/test_code Test code 1 0 Test snippets of ITL
015 x015 Encryption 1 0
016 x016 admin/gpg_key Add GPG Key 1 0 Check and add GPG keys to keyring
017 x017 admin/pref_select ui_text_qualification=pref_group=Encryption Encryption Preferences 1 0
018 x018 Upgrade Helpers 0
019 x019 admin/merge_meta Merge metadata 0 Merge new metadata values from upgraded Interchange version
014 x014 Encryption 1 0
015 x015 admin/gpg_key Add GPG Key 1 0 Check and add GPG keys to keyring
016 x016 admin/pref_select ui_text_qualification=pref_group=Encryption Encryption Preferences 1 0
017 x017 Upgrade Helpers 0
018 x018 admin/merge_meta Merge metadata 0 Merge new metadata values from upgraded Interchange version
5 changes: 5 additions & 0 deletions dist/lib/UI/pages/admin/test_code.html → eg/test_code.html
Expand Up @@ -9,6 +9,11 @@
@_UI_STD_HEAD_@
<!-- ----- BEGIN REAL STUFF ----- -->

[comment]
Originally located in pages/admin/
Considered a slight security risk, so not included by default
[/comment]


<FORM ACTION="[area @@MV_PAGE@@]">
[form-session-id]
Expand Down

0 comments on commit f9ab4cc

Please sign in to comment.