forked from Silverfish/proton-bridge
GODT-1527: Change bug report description.
This commit is contained in:
@ -172,6 +172,7 @@ build-darwin-qa:
|
|||||||
extends: .build-darwin-base
|
extends: .build-darwin-base
|
||||||
only:
|
only:
|
||||||
- web
|
- web
|
||||||
|
- branches
|
||||||
script:
|
script:
|
||||||
- BUILD_TAGS="build_qa" make build
|
- BUILD_TAGS="build_qa" make build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -85,7 +85,7 @@ hasher:
|
|||||||
|
|
||||||
${TGZ_TARGET}: ${DEPLOY_DIR}/${TARGET_OS}
|
${TGZ_TARGET}: ${DEPLOY_DIR}/${TARGET_OS}
|
||||||
rm -f $@
|
rm -f $@
|
||||||
cd ${DEPLOY_DIR}/${TARGET_OS} && tar czf ../../../../$@ .
|
cd ${DEPLOY_DIR}/${TARGET_OS} && tar -czf ../../../../$@ .
|
||||||
|
|
||||||
${DEPLOY_DIR}/linux: ${EXE_TARGET}
|
${DEPLOY_DIR}/linux: ${EXE_TARGET}
|
||||||
cp -pf ./internal/frontend/share/${SRC_SVG} ${DEPLOY_DIR}/linux/logo.svg
|
cp -pf ./internal/frontend/share/${SRC_SVG} ${DEPLOY_DIR}/linux/logo.svg
|
||||||
|
|||||||
@ -127,19 +127,10 @@ SettingsView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TextEdit {
|
TextEdit {
|
||||||
text: {
|
text: qsTr("Reports are not end-to-end encrypted, please do not send any sensitive information.")
|
||||||
var address = "bridge@protonmail.com"
|
|
||||||
var mailTo = `<a href="mailto://${address}">${address}</a>`
|
|
||||||
return "<style>a:link { color: " + root.colorScheme.interaction_norm + "; }</style>" +qsTr(
|
|
||||||
"These reports are not end-to-end encrypted. In case of sensitive information, contact us at %1."
|
|
||||||
).arg(mailTo)
|
|
||||||
}
|
|
||||||
onLinkActivated: Qt.openUrlExternally(link)
|
|
||||||
textFormat: Text.RichText
|
|
||||||
|
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
color: root.colorScheme.text_weak
|
color: root.colorScheme.text_weak
|
||||||
font.family: ProtonStyle.font_family
|
font.family: ProtonStyle.font_family
|
||||||
|
|||||||
@ -127,6 +127,6 @@ func TestCooldownNotSooner(t *testing.T) {
|
|||||||
assert.True(t, testCooldown.isTooSoon())
|
assert.True(t, testCooldown.isTooSoon())
|
||||||
|
|
||||||
// After given wait time it shouldn't be soon anymore.
|
// After given wait time it shouldn't be soon anymore.
|
||||||
time.Sleep(waitTime / 2)
|
time.Sleep(waitTime/2 + time.Millisecond)
|
||||||
assert.False(t, testCooldown.isTooSoon())
|
assert.False(t, testCooldown.isTooSoon())
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,7 +34,7 @@ var (
|
|||||||
wantOutput = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
|
wantOutput = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
|
||||||
testProcessSleep = 100 // ms
|
testProcessSleep = 100 // ms
|
||||||
runParallelTimeOverhead = 150 // ms
|
runParallelTimeOverhead = 150 // ms
|
||||||
windowsCIExtra = 250 // ms - estimated experimentally
|
windowsCIExtra = 500 // ms - estimated experimentally
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestParallel(t *testing.T) {
|
func TestParallel(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user