Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
70
gaia/apps/email/js/cards/settings_debug.html
Executable file
70
gaia/apps/email/js/cards/settings_debug.html
Executable file
|
|
@ -0,0 +1,70 @@
|
|||
<!-- Secret developer debug page; for those in the know. This page can only be
|
||||
reached by tapping 5 times on some whitespace on the main settings page.
|
||||
|
||||
NOTE NOTE NOTE NOTE NOTE
|
||||
|
||||
This page is intentionally unlocalized. There's a few reasons for this:
|
||||
- The intended users are Firefox OS developers for which English is
|
||||
currently a pre-requisite.
|
||||
- It allows us to change these settings without being particularly
|
||||
concerned about string freeze.
|
||||
- We don't have to worry about the localized strings not capturing the
|
||||
risk of enabling this logging.
|
||||
|
||||
This raises the question: Should this be shipped in non-developer builds if
|
||||
we think it's not worth localizing? Our current rationale is that it is
|
||||
useful. We (the developers) have had bug reporters enable the logging and
|
||||
worked with us to fix bugs using the functionality. Especially given our
|
||||
limited ability to provide updated versions of the app or have users
|
||||
side-load versions of our certified app.
|
||||
-->
|
||||
<!-- This section element is needed by building blocks, would be nice if
|
||||
bb used a class instead of a section element target -->
|
||||
<section class="skin-organic settings-account-common bbshim" role="region">
|
||||
<header class="tng-account-header">
|
||||
<a data-event="click:onClose"
|
||||
href="#" class="tng-back-btn back-btn header-start-btn">
|
||||
<span class="icon icon-back"></span>
|
||||
</a>
|
||||
<h1 class="header-label">Debug Magic</h1>
|
||||
</header>
|
||||
<section class="scrollregion-below-header skin-organic" role="region">
|
||||
<button data-event="click:resetApp"
|
||||
href="#" class="tng-dbg-reset">Reset App</button>
|
||||
<header><h2>Logging</h2></header>
|
||||
<ul class="tng-list">
|
||||
<li class="select-item">
|
||||
<label class="list-text">Logging Mode</label>
|
||||
<span class="button icon icon-dialog">
|
||||
<select data-prop="loggingSelect"
|
||||
data-event="change:onChangeLogging"
|
||||
class="tng-dbg-logging">
|
||||
<option value="">
|
||||
No logging.
|
||||
</option>
|
||||
<option value="safe">
|
||||
Circular: Safe data: no passwords or message contents logged.
|
||||
</option>
|
||||
<option value="dangerous">
|
||||
Circular: Dangerous data: passwords and message contents logged.
|
||||
</option>
|
||||
<option value="realtime-dangerous">
|
||||
Realtime + Circular: Dangerous data: passwords and message contents logged.
|
||||
</option>
|
||||
</select>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
<button data-event="click:dumpLog"
|
||||
href="#"
|
||||
class="tng-dbg-dump-storage"
|
||||
>Dump circular log buffer to sdcard</button>
|
||||
<header><h2>More Settings!</h2></header>
|
||||
<button data-event="click:fastSync"
|
||||
href="#"
|
||||
class="tng-dbg-fastsync">Enable faster sync options</button>
|
||||
|
||||
<button data-event="click:resetStartupCache"
|
||||
href="#">Reset startup cache</button>
|
||||
</section>
|
||||
</section>
|
||||
Loading…
Reference in a new issue