Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
1327801
New translations messages.pot (Italian)
ashkanx Oct 22, 2019
9691652
New translations messages.pot (Italian)
ashkanx Oct 22, 2019
fe9f943
New translations messages.pot (Italian)
ashkanx Oct 22, 2019
149a466
New translations messages.pot (Italian)
ashkanx Oct 22, 2019
886f3c7
New translations messages.pot (Italian)
ashkanx Oct 30, 2019
b059507
New translations messages.pot (Italian)
ashkanx Nov 5, 2019
2f83a25
New translations messages.pot (Italian)
ashkanx Nov 5, 2019
6c7aa45
New translations messages.pot (Italian)
ashkanx Nov 5, 2019
ecc19e4
New translations messages.pot (Italian)
ashkanx Nov 6, 2019
1eae3c5
New translations messages.pot (Italian)
ashkanx Nov 6, 2019
00aca8f
New translations messages.pot (Italian)
ashkanx Nov 11, 2019
64329d9
New translations messages.pot (Italian)
ashkanx Nov 11, 2019
e44c3b0
add meta referrer tag
oskar-binary Nov 15, 2019
6113da7
Merge pull request #1504 from oskar-binary/oskar/add_meta_referrer
oskar-binary Nov 15, 2019
712bbae
deploy to beta (#1508)
4p00rv Nov 21, 2019
2cc8c0d
sanitize directly and add ;
mustofa-binary Nov 27, 2019
3abc48c
single line
mustofa-binary Nov 28, 2019
3b09534
add home html to register free account
mustofa-binary Nov 28, 2019
9c7cf37
Merge pull request #1509 from mustofa-binary/amam/self_xss
ashkanx Dec 1, 2019
2b64ea8
hide indonesian
oskar-binary Dec 12, 2019
3bfd6d1
Merge pull request #1510 from oskar-binary/oskar/hide_indonesia
ashkanx Dec 12, 2019
0221c9f
Merge pull request #1499 from binary-com/CrowdIn
ashkanx Jan 10, 2020
e5f84ed
gitignore circle ci and dockerfile
oskar-binary Jan 15, 2020
ff8cf21
Merge pull request #1512 from oskar-binary/oskar/gitignore_circleci_d…
oskar-binary Jan 15, 2020
26040ac
remove doorbell styles
mustofa-binary Jan 22, 2020
5c086f3
Merge pull request #1514 from mustofa-binary/amam/remove_doorbell
oskar-binary Jan 22, 2020
72293a5
add circleci and config to theirs
mustofa-binary Jan 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ reports
selenium-debug.log
test-config.js
.vscode/launch.json

.circleci
Dockerfile
2 changes: 1 addition & 1 deletion src/common/rivetsExtra.es6
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rv.formatters['i18n'] = (value) => {
if (typeof value === 'string') return value.i18n();
return value;
};
rv.formatters['sanitize'] = (value) => value.replace(/("|'|\&|\(|\)|\<|\>)/g, '');
rv.formatters['sanitize'] = (value) => value.replace(/("|'|\&|\(|\)|\<|\>|\;)/g, '');
/* rivets formatter to get the property value of an object */
rv.formatters['prop'] = (value, prop) => {
return value && value[prop];
Expand Down
2 changes: 1 addition & 1 deletion src/common/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function getSupportedLanguages() {
{ value: 'de', name: 'Deutsch'},
{ value: 'es', name: 'Español'},
{ value: 'fr', name: 'Français'},
{ value: 'id', name: 'Indonesia'},
// { value: 'id', name: 'Indonesia'},
{ value: 'it', name: 'Italiano'},
{ value: 'pl', name: 'Polish'},
{ value: 'pt', name: 'Português'},
Expand Down
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<meta http-equiv="Expires" content="0" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Webtrader is an advanced trading platform that's fully-customisable according to your personal preferences with intuitive trading interface">
<meta name="referrer" content="origin" />

<title>Binary.com : Webtrader</title>

Expand Down
22 changes: 0 additions & 22 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -495,28 +495,6 @@ table.dataTable thead th, table.dataTable thead td, table.dataTable.no-footer {
/* make dropdowns consistent with binary-style */
select + .ui-selectmenu-button { border-radius: 3px;}

#doorbell-button {
right: -67px;
transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
font-size: inherit;
background-color: #2E8836;
bottom: 100px;
z-index: +1000;
}
#doorbell-button:hover {
right: -40px;
transition: right 100ms linear;
}

#doorbell-error { color: red; }
#doorbell-form textarea { outline: 0; }
#doorbell-container #doorbell-form legend { font-size: 1em; }
#doorbell-container #doorbell-close.close { opacity: 1; }

/*hide input buttons*/
.ui-spinner-button {
display: none;
Expand Down
1 change: 1 addition & 0 deletions src/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Webtrader is an advanced trading platform that's fully-customisable according to your personal preferences with intuitive trading interface">
<meta name="referrer" content="origin" />
<title>Binary.com : Webtrader</title>

<link rel="apple-touch-icon" sizes="57x57" href="lib/@binary-com/binary-style/src/images/favicons/apple-touch-icon-57x57.png">
Expand Down
2 changes: 1 addition & 1 deletion src/navigation/navigation.es6
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const initLang = (root) => {
{ value: 'de', name: 'Deutsch'},
{ value: 'es', name: 'Español'},
{ value: 'fr', name: 'Français'},
{ value: 'id', name: 'Indonesia'},
// { value: 'id', name: 'Indonesia'},
{ value: 'it', name: 'Italiano'},
{ value: 'pl', name: 'Polish'},
{ value: 'pt', name: 'Português'},
Expand Down
2 changes: 1 addition & 1 deletion src/oauth/login.es6
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const init_state = (root, win) => {
login();
},
onRegister: () => {
const register_link = getBinaryUrl('home');
const register_link = getBinaryUrl('home.html');
window.open(register_link, '_blank');
},
};
Expand Down
4 changes: 2 additions & 2 deletions src/workspace/workspace.es6
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const INITIAL_WORKSPACE_NAME = 'my-workspace-1';

const clone = obj => JSON.parse(JSON.stringify(obj));

const sanitize = value => value.replace(/("|'|\&|\(|\)|\<|\>)/g, '');
const sanitize = value => value.replace(/("|'|\&|\(|\)|\<|\>|\;)/g, '');

const state = {
route: 'active', // one of ['active', 'saved', 'rename', 'saveas']
Expand Down Expand Up @@ -213,7 +213,7 @@ const state = {
const {name} = w;
const inx = _.findIndex(state.workspaces, {name: name});
const workspace = inx !== -1 ? state.workspaces[inx] : local_storage.get('states');
workspace.name = name;
workspace.name = sanitize(name);
workspace.template_type = 'workspace-template';
workspace.random = state.file.hash_code(workspace)
var json = JSON.stringify(workspace);
Expand Down
Loading