-
Notifications
You must be signed in to change notification settings - Fork 876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Use of const in strict mode #629
Comments
Maybe you configured it to use a too old verdion of node.js. Try v6? |
@eirslett Thanks eirslett for the update. [ERROR] 12 warnings and 16 errors generated. Please let me know if I am missing anything. |
Try to delete the node_modules folder and try again? |
@eirslett I tried by deleting node_modules. But still the error exists. |
Do the commands work when you run them directly in the terminal, without this plugin? It looks like it's a problem with node/npm, not with this plugin. |
@eirslett Thanks eirslett. This is an issue with run-sequence. It is fixed in run-sequence v2.0 |
* release go-v1 * change version * add extra * fix * add authmethod * fix npm * add overflow check * fix syntax * log error, return * update locales * release 103111.2 * change version to go v3 * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * change version to go v4 * fix issue regarding ballot encoding checking that was causing some perfectly valid ballots not to be accepted (false negatives) * config version is v3 * set version to go v4 * adding some extra comments for increased readability * go v5 * set url for social share links to election/id/public/home * add global variables, and external script at the end * make election accessible and updated as global var * undo add to index.html * refactor to set global vars when election is loaded * simplify * change version to go v6 * change version to go v7 * change version to go v8 * remove not real warnings * fixing booth scroll in mobile: when multiple options were selected, a space at the bottom was very large * Accessible (#81) * moar accessibility fixes * move powered by and doc links instead of hiding them on xs * keyboard fixes * fixes * aria label close in modals * fix css * moar css fixes * fix header * review screen focus fixes * fix success social buttons css * add alt to logo img (#82) * adding missing i18n (#83) * Pode 20 (#84) * trying to disable dnd in phones * fix typo * Enma 6 (#85) * fixing wording in gl * fix merge * fix i18n * Suggest select category when selecting many options (#86) * starting working on showing a dialog to select a whole category when many options from a category are selected sequentially * fix build * fixing selectAllLastCategory * adding i18n * fix typo * show category in the modal dialog * making modal dialog bigger * showing category in dialog * improve wording * making dialog bigger * add missing file * fixing smaller devices * making threshold bigger * Fix reorder options (#87) * starting to work in reordering options support * working on fixing reordering of options * improving handle * making it more usable * trying the draggable div fix * small css detail * change wording * adding static backdrop * applying category order when selecting options * update some deps that are making build fail
* fix widget scope, add widgets to elbasic * remove old form * add for to labels * fix tooltips, add default help url * fix help tooltip * change version to go v3 * making textarea admin field a textarea * Move admin fields to the end of the list of actions when creating an election * moving admin fields also in the .sidebarlinks var * more sane defaults when creating an election * update logo * :update logo size * making logo bigger * making logo wider * updating election default logo url * reverting last commit * remove import from admin sidebar * set correctly the paths of documentation urls for widgets that include external doc * commit tests to resume development later * use help list from config * fix css * fix help menu css when not logged * fix signup link * check req when reg fields * some fixes, add admin profile modal sketch * syntax fix * add dependency * fixes, fill profile modal, update profile on ok click * syntax fix * fixes, css fixes, refactor, head profile menu click working * add dependency to admin-head-directive * some moarr fixes * CSS fixes * change profile menu icon * profile save button locales * refactor: user editable * starting to add configurable admin gui questions options * do not show empty layouts list * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * fix empty string * small fix * change version to go v4 * check when profile modal is closed * get template el from avConfig.js * fix el template * add default name to census extra fields * refactor * refactor, add service to index.html, add profile to scope on templateel * fix scope error, fix open modal error * add comments * add some abstract settings to question directive * more abstract settings * add abstract settings to auth config * remove well class on auth config * testing census reg with abs settings * changes to census config * go v5 * fix css * fix loop * fix css * refactor css * fix loop * fix * fix logo css * adding glyphicon * changes to abstract settings * fixes * fix css * add short value * refactor abstract settings, add fields * fixes * refactor scope on abstract settings * use ng-show * observe attrs on abstract settings * fix css, disabled * remove click glitch * fix columns for extra small screens * more css changes * remove isDisabled * bower * fix intl-tel deps * add number input directive * fixes * remove disabled ef, refactor must ef service, call must ef service on elections change on create el * fix syntax * fix extra-fields and census on auth method change * small fix * add attrs to abstract settings widget * moar less * fix css * fix hover * fixes mouseover * fix syntax * hover fixes * fix css * fix collapse css * Onboarding (#128) * starting to add ngOnboarding * initial onboarding test * trying hopscotch instead * changing vendor files * remove unnecesary files * make jshint ignore hopscotch * remove i18next dependency in avAdminElections directive * adding vendor css * trying to add vendor css * solving css problems * fixing a typo * trying to fix css * add missing option to grunt * using abs paths * trying to not use minimized vendor hopscotch files * fix hopscotch css * adding jquery integration for state changes * making easier to find through paths dashboard actions * making easier to find through paths dashboard actions 2 * adding onboarding tour * hopscotch ignore * moving start election to the end * improving onboarding tour service * make it compile * missing semicolon * removing jslint ignore * fix nextTour * fix help tour * adding OnboardingTourService to head scope so that it can be shown in helpList * testing onboarding translations * fix typo * adding onboarding tour i18n * launch wizard on first time too * fix typo * change version to go v6 * add ngOnboarding dep to bower * Fix onboarding (#131) * change version to go v6 * remove unneeded dep * add hopscotch dep, remove ngOnboarding * remove hopscotch * Update bower.json * Update bower.json * Fix abstract settings help background color (#136) * fix some colors in abstract settings help * fix again css * making abstract-settings help links distinguishable * adding margin to images in abstract settings help * remove reference to missing video and adding onboarding i18n for ca and gl in es lang (#138) * improve abstract settings doc css (#140) * improve abstract settings doc css * fix css background-color * Fix onboarding 2 (#141) * fixing onboarding * fixing onboarding * trying to add intro video * adding width to the oyutubevideo bubble * improving video looks * Fix onboarding 2 (#142) * improve abstract settings doc css (#140) * improve abstract settings doc css * fix css background-color * fixing onboarding * fixing onboarding * trying to add intro video * adding width to the oyutubevideo bubble * improving video looks * only end tour if it has started * show admin field names on error * refactor * fixes * refactor * fixes * fix el checks before el creation * syntax fix: remove extra commas * fix locale * required * moar * fixes * set admin field border to red on error * set label size to col-sm4 * test 5/7 * refactor code into csv load service * fixes * test * solve dependency issue and other minor things * refactor * fixes * fixes * test * fixes * .error -> .catch * fixes * minor fixes * fixes * add comments * fix adding new question * change version to go v7 * test using * Revert "fix dashboard results presentation (order of winners etc)" * add 2 default options to new questions * Census premium (#157) add census csv error plugin call * Census err (#159) * fix csv error on creation * show add person to census error * Save draft (#158) * test * add draft election directive * fixes * add fix * fix * fix * moar * refactor * fixes * fix * add use draft modal * fixes * fixes * fix * fix css * add erase modal * fix locale * change version to go v8 * remove test/real difference * moar * refactor onboarding call * add dep to admin-head-directive * fix onboarding * refactor * fix * fix urls thingie * refactor * fix * add to admin controller deps * refactor * fix * fixes * css fix * hide features in login and signup * fix css * remove phantomjs (#172) * fix draft election failed creation (#175) * census: Add action buttons for each voter (#174) This patch adds actions buttons for each row in the census table. Buttons added are Activate, Deactivate, Remove and Send auth codes. These buttons select the row and then call the same action as actions dropdown, all other rows are deselected so this should work similar to select only one row and click in the actions dropdown. Buttons are hidden by default and showed on hover the row. I've add translations for these actions but not for gl and ca. * Activity log (#173) * initial work on activity log * fix some compilation errors * fixing name of the directive * fixing activity log html * fix concats of admin controller * adding missing state activityLog * adding missing allowed state * fixing loading * fixing loading of the activity list * adding i18n to activity log * adding missing i18n and removing append already done in previous line * trying to add some filtering * trying to fix build * fix call to activity * fix call to activity 2 * adding more columns filtering * fix some visualization * fix typo * registering more actions * fixing comma in json * show added-to-census activity log item * make reload activity work * allow query parameters to automatically set the initial filter * fixing location search getter * parsing value in get location var * set var was missing * census: Comment for activate/deactivate actions (#176) * census: Comment for activate/deactivate actions This patch allows comments for activate and deactivate actions. A textarea is available in the activate action and the content of that will go as comment. To show the comment in the activity log I've to change a little the code because the angular template always resolve the {{obj.metadata.comment}} as undefined, I don't know why, so I've added other attr to obj called metadatacomment. * Fix deactivate comment problem * census: Autofill field param (#177) * date extra field type (#179) * Tally sheets (#181) * initial work in tally sheets * adding ballot box sidebar link * adding ballot box directive to index * adding en i18n for ballotboxes * adding missing argument to av-admin-ballot-box * allowing filtering by last update in ballot box * fixing column header * Add actions to ballot box listing * Removing select ballot box * remove unneeded comma * updating received objects from ballot boxes list * improve ballot box list styles * improve ballot box list styles 2 * adding ballot box less * improving bb less * improving ballot box list looks * improving ballot box list looks * improving ballot box list looks * starting to work in ballot box modals * make it compile * make it compile 2 * make it compile 3 * try fixing modal * trying to fix create ballot boxes modal * trying to fix create bbs modal * fix build * fix modal * fix modal * fix modal * improve modal * fix typos * fix typos * standarize mouse over on census and activity log as in ballot box tables * adding initial delete ballot box dialog * rename modal * improve deleteBallotBox * fix deleteBallotBox * initial work on writting tally sheet form * use i18next * improving layout * improving layout * improving layout * making dialog bigger * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * fixing modelline * adding number checking * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * remove timeout * remove timeout * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * allowing to delete a tally sheet * remove not existant file * num tally sheets filtering * num tally sheets filtering * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * fixing operator precedence * add has_ballot_boxes when creating election * Tally sheets2 (#183) * adding permissions checking, only showing what you can do with ballot boxes * fixing compilation * fixing compilation * adding has_ballot_boxes * fix index of * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * fix activity log ballotbox create * trying to allow non-json to calculate results, and loading by default election configresults if any * trying to allow non-json to calculate results, and loading by default election configresults if any * fix totals (#184) * allow uploading with results_ok (#185) * Add 'user-and-password' as authentication method (#180) * Add 'user-and-password' as authentication method * user-and-password authentication requires username and password fields * allow census query (#186) * fixing sms-otp (#187)
* release go-v1 * change version * testing * add avPluginsConfig.js * fix gruntfiel * add avPluginsConfig to app.js * add election tabs * refactor tabs * npm fix * remove duplicated old copy of auth-method-service * release 103111.2 * change version to go v3 * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * change version to go v4 * fix description * add check_plugins_config task to build * go v5 * fix social links * modify grunt * fixes * test * fix comma * change version to go v6 * change version to go v7 * change version to go v8 * remove not real warning * Login link on home if configured (#71) * Login link on home if configured * Login link as Button similar to open census button * Census query (#72) * adding initial census query support * fix build * updating some dependencies * adding electionId to census query * correct census query param * selecting census query tab * Accessible (#73) * fix navbar * add alt text to social networks imgs * add aria-current election links * WIP * ballot locator css fixes * alt logo (#74) * fix deployment
* test extra field for documentation directive * test * test * grunt build * add sce * fix npm * fix locales * grunt build * change cookies to enable multiple logins at once * syntax fix * grunt build * fixes * grunt build * release 103111.2 * grunt build * add append to lambda on checker service * fixes * grunt build * change to v3 * grunt build * adding some minor style changes * rebuild * randomice pass field id, set default value to none * grunt build * changes have to be on code-field not on password-field * refactor code/password fields * grunt build * make signup link configurable * rebuild common * filter required_when_registered extra field on signup * grunt build * add extra functions to authmethod * grunt build * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * change version to go v4 * change version to go v4 * simplify footer * test * fix css * add hook to plugin * grunt build * add element to plugin data * remove element * refactor * refactor * go v5 * grunt build * add left margin to footer * grunt build * change legal * grunt build * add target _blank to footer links * grunt build * fix doc directive ul css * grunt build * add less file, grunt build * install international phone-number * grunt build * test bower * trying to add components * img changes * refactor * grunt build * test * test.. * test * fixes * test * test css * refactor * readd intl to bower * test * test * change utils * test * dist * flags * fixes * tel country set to auto * get ip country * grunt build * refactor, add tel validation * grunt build * change error color, change id to class * a fix, grunt build * change id, use it * grunt build * revert changes * grunt build * test change id * grunt build * change id name again * grunt build * changes * grunt build * revert * grunt build * test * grunt build * test * grunt build * test * test * test * fixes * fix css, errors * grunt build * test * test * test * test * refactor error, color red * grunt build * fix translation * fix input * grunt build * bower angular 1.2 * fix dependencies * intl dep version * grunt build * use full international number * grunt build * fix dependencies * update to v5, grunt build * grunt build * fix tel validation check * grunt build * change version to go v6 * grunt build * add tel number value * grunt build * show resend when required * grunt build * refactor * grunt build * refactor * grunt build * add email to valid resend auth code * grunt build * allow email resend * fix syntax, grunt build * fix disabled when clicked resend auth * grunt build * fix email getter issue * grunt build * trying to fix error * fix syntax * grunt build * refactor * grunt build * refactor * grunt build * change version to go v7 * grunt build * add get/save draft el * grunt build * change version to go v8 * grunt build * adding initial support for activity log * rebuild * adding support for advanced filtering in activity log * fixing typo * build * fixing typo * build * fix get activity page * rebuild * Action comments (#85) * Added comment optional for activate/deactivate user ids * rebuild * set lang in html tag * grunt build * increase contrast * grunt build * add aria label to foot links * grunt build * fix lang buttons keyboard accessibility * grunt build * refactor to ng-space-click directive * css fixes * grunt build * fix ng-space-click * grunt build * Added avrDateField directive to show a datepicker (#86) * Added avrDateField directive to show a datepicker * field name in avrDateField as label * fix color contrast on text warning * grunt build * Tally sheets (#88) * adding ballot boxes support * rebuilding * adding support for creating ballot boxes * rebuild * fix params in create ballot box * rebuild * adding modal-text-success * rebuild * adding support for deleting ballot boxes * rebuild * fixing modelline * adding support for adding tally sheets * adding support for getting tally sheets * adding support for delete tally sheets * increase contrast * grunt build * moar contrast * grunt build * fixes * email-and-password and user-and-password as login methods (#87) * fix lang css * grunt build * fixes * Census query (#89) * initial work on census query * rebuild * set cookie path to base * grunt build * fixes * Fix date field (#92) * adding it to the list * rebuild * adding some styles * rebuild * adding more vertical spacing to the date field * adding model binding * rebuild * improving looks of the census query * rebuild * rebuild and success in green * Census accessible (#94) * fix date * grunt build * fixes * fix aria labels for fields * grunt build * fixes * grunt build * fixes * grunt build * fixes * rebuild * update gl i18n * rebuild * Enre 1 (#95) * fixing dni * fixing dni * rebuild * fix login redirect after signup * adding a default country code and making it easier to find * Fix reorder options (#96) * fixing some gl i18n * updating dnd library * using latest dnd list lib version
* for borda type, question percentage over points * fix over total valid votes percent * grunt build * Go next (#97) * test extra field for documentation directive * test * test * grunt build * add sce * fix npm * fix locales * grunt build * change cookies to enable multiple logins at once * syntax fix * grunt build * fixes * grunt build * release 103111.2 * grunt build * add append to lambda on checker service * fixes * grunt build * change to v3 * grunt build * adding some minor style changes * rebuild * randomice pass field id, set default value to none * grunt build * changes have to be on code-field not on password-field * refactor code/password fields * grunt build * make signup link configurable * rebuild common * filter required_when_registered extra field on signup * grunt build * add extra functions to authmethod * grunt build * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * change version to go v4 * change version to go v4 * simplify footer * test * fix css * add hook to plugin * grunt build * add element to plugin data * remove element * refactor * refactor * go v5 * grunt build * add left margin to footer * grunt build * change legal * grunt build * add target _blank to footer links * grunt build * fix doc directive ul css * grunt build * add less file, grunt build * install international phone-number * grunt build * test bower * trying to add components * img changes * refactor * grunt build * test * test.. * test * fixes * test * test css * refactor * readd intl to bower * test * test * change utils * test * dist * flags * fixes * tel country set to auto * get ip country * grunt build * refactor, add tel validation * grunt build * change error color, change id to class * a fix, grunt build * change id, use it * grunt build * revert changes * grunt build * test change id * grunt build * change id name again * grunt build * changes * grunt build * revert * grunt build * test * grunt build * test * grunt build * test * test * test * fixes * fix css, errors * grunt build * test * test * test * test * refactor error, color red * grunt build * fix translation * fix input * grunt build * bower angular 1.2 * fix dependencies * intl dep version * grunt build * use full international number * grunt build * fix dependencies * update to v5, grunt build * grunt build * fix tel validation check * grunt build * change version to go v6 * grunt build * add tel number value * grunt build * show resend when required * grunt build * refactor * grunt build * refactor * grunt build * add email to valid resend auth code * grunt build * allow email resend * fix syntax, grunt build * fix disabled when clicked resend auth * grunt build * fix email getter issue * grunt build * trying to fix error * fix syntax * grunt build * refactor * grunt build * refactor * grunt build * change version to go v7 * grunt build * add get/save draft el * grunt build * change version to go v8 * grunt build * adding initial support for activity log * rebuild * adding support for advanced filtering in activity log * fixing typo * build * fixing typo * build * fix get activity page * rebuild * Action comments (#85) * Added comment optional for activate/deactivate user ids * rebuild * set lang in html tag * grunt build * increase contrast * grunt build * add aria label to foot links * grunt build * fix lang buttons keyboard accessibility * grunt build * refactor to ng-space-click directive * css fixes * grunt build * fix ng-space-click * grunt build * Added avrDateField directive to show a datepicker (#86) * Added avrDateField directive to show a datepicker * field name in avrDateField as label * fix color contrast on text warning * grunt build * Tally sheets (#88) * adding ballot boxes support * rebuilding * adding support for creating ballot boxes * rebuild * fix params in create ballot box * rebuild * adding modal-text-success * rebuild * adding support for deleting ballot boxes * rebuild * fixing modelline * adding support for adding tally sheets * adding support for getting tally sheets * adding support for delete tally sheets * increase contrast * grunt build * moar contrast * grunt build * fixes * email-and-password and user-and-password as login methods (#87) * fix lang css * grunt build * fixes * Census query (#89) * initial work on census query * rebuild * set cookie path to base * grunt build * fixes * Fix date field (#92) * adding it to the list * rebuild * adding some styles * rebuild * adding more vertical spacing to the date field * adding model binding * rebuild * improving looks of the census query * rebuild * rebuild and success in green * Census accessible (#94) * fix date * grunt build * fixes * fix aria labels for fields * grunt build * fixes * grunt build * fixes * grunt build * fixes * rebuild * update gl i18n * rebuild * Enre 1 (#95) * fixing dni * fixing dni * rebuild * fix login redirect after signup * adding a default country code and making it easier to find * Fix reorder options (#96) * fixing some gl i18n * updating dnd library * using latest dnd list lib version * update config version * updating some depencencies and old versions (#98) * updating some depencencies and old versions * update version * merge * updating version config * updating helsinki theme to improve visibility of booth search box * adding email-otp * building * fix template * using underscore contains instead of in keyword * update otp help * change email placeholder * fix typo error * starting to use yarn * bumping version * ifinally making nanoscroller import correctly in grunt build * moving all dependencies to devDependencies really * update readme to use yarn instead of npm or bower * removing dependencies from bower * changing package version * making it compile * compiled * adding missing files * using specific version of i18next * add missing files from dist and correct link to autofocus lib * adding autofocus to the build * adding the other autofocus * updating angular cookies * updating angular-animate to match angular version * updating angular-sanitize and angular-resource versions to match angular version in use * updating ui router to try prevent this issue angular-ui/ui-router#3246 * migrating code to use then instead of success and error functions, because new angular version deprecated that * migrating code to use then instead of success and error functions, because new angular version deprecated that * testing old version of angular to see if it works * remove duplicated angular-bootstrap/ui-bootstrap declarations Co-authored-by: Félix Robles <[email protected]>
* add desborda 2 * Update Gruntfile.js * remove grey background * add desborda3 * release go-v1 * change version * add extra * fix * add authmethod * fix npm * add overflow check * fix syntax * log error, return * update locales * release 103111.2 * change version to go v3 * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * change version to go v4 * fix issue regarding ballot encoding checking that was causing some perfectly valid ballots not to be accepted (false negatives) * config version is v3 * set version to go v4 * adding some extra comments for increased readability * go v5 * set url for social share links to election/id/public/home * add global variables, and external script at the end * make election accessible and updated as global var * undo add to index.html * refactor to set global vars when election is loaded * simplify * change version to go v6 * change version to go v7 * change version to go v8 * remove not real warnings * fixing booth scroll in mobile: when multiple options were selected, a space at the bottom was very large * Accessible (#81) * moar accessibility fixes * move powered by and doc links instead of hiding them on xs * keyboard fixes * fixes * aria label close in modals * fix css * moar css fixes * fix header * review screen focus fixes * fix success social buttons css * add alt to logo img (#82) * adding missing i18n (#83) * Pode 20 (#84) * trying to disable dnd in phones * fix typo * add initial i18n for fi * fix json * adding some presentation options * add missing dep * fix build * fix log out, adding skip start screen presentation feature * fix var ref * fix var refs * fixing redirect button presentation * adding sv i18n * changing login button color * update fi i18n * try to add support for logout url * make it compile * make it compile * adding support for id_token in logout uri * changing the delete cookies * fix again logout uri * openid-connect fix redirect if no cookie * fix event id reference * Go next merge into next (#88) * release go-v1 * change version * add extra * fix * add authmethod * fix npm * add overflow check * fix syntax * log error, return * update locales * release 103111.2 * change version to go v3 * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * change version to go v4 * fix issue regarding ballot encoding checking that was causing some perfectly valid ballots not to be accepted (false negatives) * config version is v3 * set version to go v4 * adding some extra comments for increased readability * go v5 * set url for social share links to election/id/public/home * add global variables, and external script at the end * make election accessible and updated as global var * undo add to index.html * refactor to set global vars when election is loaded * simplify * change version to go v6 * change version to go v7 * change version to go v8 * remove not real warnings * fixing booth scroll in mobile: when multiple options were selected, a space at the bottom was very large * Accessible (#81) * moar accessibility fixes * move powered by and doc links instead of hiding them on xs * keyboard fixes * fixes * aria label close in modals * fix css * moar css fixes * fix header * review screen focus fixes * fix success social buttons css * add alt to logo img (#82) * adding missing i18n (#83) * Pode 20 (#84) * trying to disable dnd in phones * fix typo * Enma 6 (#85) * fixing wording in gl * fix merge * fix i18n * Suggest select category when selecting many options (#86) * starting working on showing a dialog to select a whole category when many options from a category are selected sequentially * fix build * fixing selectAllLastCategory * adding i18n * fix typo * show category in the modal dialog * making modal dialog bigger * showing category in dialog * improve wording * making dialog bigger * add missing file * fixing smaller devices * making threshold bigger * Fix reorder options (#87) * starting to work in reordering options support * working on fixing reordering of options * improving handle * making it more usable * trying the draggable div fix * small css detail * change wording * adding static backdrop * applying category order when selecting options * update some deps that are making build fail * update config version * hot fix for showing booth continue button in Internet Edge * adding new registry * support masmadrid tally type * select two show dialog to select all * adding support for auto-selection of category as required by client * make it compile * use option.category instead of option.category.name * allow select all when category is not in shuffle category list, even if that extra option is not defined * select all the category even if there's one already selected * do not allow empty but not null category * do not overwrite first selection * do not overwrite first selection 2 * fix first selected option * fixing null reference * fixing success screen conditional * disabling select whole category when empty selection and category is unshuffled * remove congratulations, too informal * fix ng-if typo * remove more congratulations * using yarn now * update README * updating agora-gui-common deps * updating agora-gui-common * migrating code to use then instead of success and error functions, because new angular version deprecated that * using master agora-gui-common Co-authored-by: Félix Robles <[email protected]>
* add desborda2 * Update Gruntfile.js * desborda3 * add desborda3 english locale * release go-v1 * change version * testing * add avPluginsConfig.js * fix gruntfiel * add avPluginsConfig to app.js * add election tabs * refactor tabs * npm fix * remove duplicated old copy of auth-method-service * release 103111.2 * change version to go v3 * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * change version to go v4 * fix description * add check_plugins_config task to build * go v5 * fix social links * modify grunt * fixes * test * fix comma * change version to go v6 * change version to go v7 * change version to go v8 * remove not real warning * Login link on home if configured (#71) * Login link on home if configured * Login link as Button similar to open census button * Census query (#72) * adding initial census query support * fix build * updating some dependencies * adding electionId to census query * correct census query param * selecting census query tab * Accessible (#73) * fix navbar * add alt text to social networks imgs * add aria-current election links * WIP * ballot locator css fixes * alt logo (#74) * fix deployment * adding view for openidconnect * fix vote links in openid-connect * fixing conditional * fixing links to openid * add openid connect redirect view * fix var names * changing behaviour of redirect * add openid connect redirect view * adding sv i18n * remove bad chars * changing login button color * adding fi i18n * Go next merge (#75) * release go-v1 * change version * testing * add avPluginsConfig.js * fix gruntfiel * add avPluginsConfig to app.js * add election tabs * refactor tabs * npm fix * remove duplicated old copy of auth-method-service * release 103111.2 * change version to go v3 * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * change version to go v4 * fix description * add check_plugins_config task to build * go v5 * fix social links * modify grunt * fixes * test * fix comma * change version to go v6 * change version to go v7 * change version to go v8 * remove not real warning * Login link on home if configured (#71) * Login link on home if configured * Login link as Button similar to open census button * Census query (#72) * adding initial census query support * fix build * updating some dependencies * adding electionId to census query * correct census query param * selecting census query tab * Accessible (#73) * fix navbar * add alt text to social networks imgs * add aria-current election links * WIP * ballot locator css fixes * alt logo (#74) * fix deployment * update config version * adding new registry * adding support for borda-mas-madrid * updating deps * update version * migrating some missing bower components * removing other bower references * updating agora-gui-common * migrating code to use then instead of success and error functions, because new angular version deprecated that * fixing themes and some deps * using master agora-gui-common Co-authored-by: Félix Robles <[email protected]> Co-authored-by: danigm <[email protected]>
* remove import from admin sidebar * set correctly the paths of documentation urls for widgets that include external doc * commit tests to resume development later * use help list from config * fix css * fix help menu css when not logged * fix signup link * check req when reg fields * some fixes, add admin profile modal sketch * syntax fix * add dependency * fixes, fill profile modal, update profile on ok click * syntax fix * fixes, css fixes, refactor, head profile menu click working * add dependency to admin-head-directive * some moarr fixes * CSS fixes * change profile menu icon * profile save button locales * refactor: user editable * starting to add configurable admin gui questions options * do not show empty layouts list * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * fix empty string * small fix * change version to go v4 * check when profile modal is closed * get template el from avConfig.js * fix el template * add default name to census extra fields * refactor * refactor, add service to index.html, add profile to scope on templateel * fix scope error, fix open modal error * add comments * add some abstract settings to question directive * more abstract settings * add abstract settings to auth config * remove well class on auth config * testing census reg with abs settings * changes to census config * go v5 * fix css * fix loop * fix css * refactor css * fix loop * fix * fix logo css * adding glyphicon * changes to abstract settings * fixes * fix css * add short value * refactor abstract settings, add fields * fixes * refactor scope on abstract settings * use ng-show * observe attrs on abstract settings * fix css, disabled * remove click glitch * fix columns for extra small screens * more css changes * remove isDisabled * bower * fix intl-tel deps * add number input directive * fixes * remove disabled ef, refactor must ef service, call must ef service on elections change on create el * fix syntax * fix extra-fields and census on auth method change * small fix * add attrs to abstract settings widget * moar less * fix css * fix hover * fixes mouseover * fix syntax * hover fixes * fix css * fix collapse css * Onboarding (#128) * starting to add ngOnboarding * initial onboarding test * trying hopscotch instead * changing vendor files * remove unnecesary files * make jshint ignore hopscotch * remove i18next dependency in avAdminElections directive * adding vendor css * trying to add vendor css * solving css problems * fixing a typo * trying to fix css * add missing option to grunt * using abs paths * trying to not use minimized vendor hopscotch files * fix hopscotch css * adding jquery integration for state changes * making easier to find through paths dashboard actions * making easier to find through paths dashboard actions 2 * adding onboarding tour * hopscotch ignore * moving start election to the end * improving onboarding tour service * make it compile * missing semicolon * removing jslint ignore * fix nextTour * fix help tour * adding OnboardingTourService to head scope so that it can be shown in helpList * testing onboarding translations * fix typo * adding onboarding tour i18n * launch wizard on first time too * fix typo * change version to go v6 * add ngOnboarding dep to bower * Fix onboarding (#131) * change version to go v6 * remove unneeded dep * add hopscotch dep, remove ngOnboarding * remove hopscotch * Update bower.json * Update bower.json * Fix abstract settings help background color (#136) * fix some colors in abstract settings help * fix again css * making abstract-settings help links distinguishable * adding margin to images in abstract settings help * remove reference to missing video and adding onboarding i18n for ca and gl in es lang (#138) * improve abstract settings doc css (#140) * improve abstract settings doc css * fix css background-color * Fix onboarding 2 (#141) * fixing onboarding * fixing onboarding * trying to add intro video * adding width to the oyutubevideo bubble * improving video looks * Fix onboarding 2 (#142) * improve abstract settings doc css (#140) * improve abstract settings doc css * fix css background-color * fixing onboarding * fixing onboarding * trying to add intro video * adding width to the oyutubevideo bubble * improving video looks * only end tour if it has started * show admin field names on error * refactor * fixes * refactor * fixes * fix el checks before el creation * syntax fix: remove extra commas * fix locale * required * moar * fixes * set admin field border to red on error * set label size to col-sm4 * test 5/7 * refactor code into csv load service * fixes * test * solve dependency issue and other minor things * refactor * fixes * fixes * test * fixes * .error -> .catch * fixes * minor fixes * fixes * add comments * fix adding new question * change version to go v7 * test using * Revert "fix dashboard results presentation (order of winners etc)" * add 2 default options to new questions * Census premium (#157) add census csv error plugin call * Census err (#159) * fix csv error on creation * show add person to census error * Save draft (#158) * test * add draft election directive * fixes * add fix * fix * fix * moar * refactor * fixes * fix * add use draft modal * fixes * fixes * fix * fix css * add erase modal * fix locale * change version to go v8 * remove test/real difference * moar * refactor onboarding call * add dep to admin-head-directive * fix onboarding * refactor * fix * fix urls thingie * refactor * fix * add to admin controller deps * refactor * fix * fixes * css fix * hide features in login and signup * fix css * remove phantomjs (#172) * fix draft election failed creation (#175) * census: Add action buttons for each voter (#174) This patch adds actions buttons for each row in the census table. Buttons added are Activate, Deactivate, Remove and Send auth codes. These buttons select the row and then call the same action as actions dropdown, all other rows are deselected so this should work similar to select only one row and click in the actions dropdown. Buttons are hidden by default and showed on hover the row. I've add translations for these actions but not for gl and ca. * Activity log (#173) * initial work on activity log * fix some compilation errors * fixing name of the directive * fixing activity log html * fix concats of admin controller * adding missing state activityLog * adding missing allowed state * fixing loading * fixing loading of the activity list * adding i18n to activity log * adding missing i18n and removing append already done in previous line * trying to add some filtering * trying to fix build * fix call to activity * fix call to activity 2 * adding more columns filtering * fix some visualization * fix typo * registering more actions * fixing comma in json * show added-to-census activity log item * make reload activity work * allow query parameters to automatically set the initial filter * fixing location search getter * parsing value in get location var * set var was missing * census: Comment for activate/deactivate actions (#176) * census: Comment for activate/deactivate actions This patch allows comments for activate and deactivate actions. A textarea is available in the activate action and the content of that will go as comment. To show the comment in the activity log I've to change a little the code because the angular template always resolve the {{obj.metadata.comment}} as undefined, I don't know why, so I've added other attr to obj called metadatacomment. * Fix deactivate comment problem * census: Autofill field param (#177) * date extra field type (#179) * Tally sheets (#181) * initial work in tally sheets * adding ballot box sidebar link * adding ballot box directive to index * adding en i18n for ballotboxes * adding missing argument to av-admin-ballot-box * allowing filtering by last update in ballot box * fixing column header * Add actions to ballot box listing * Removing select ballot box * remove unneeded comma * updating received objects from ballot boxes list * improve ballot box list styles * improve ballot box list styles 2 * adding ballot box less * improving bb less * improving ballot box list looks * improving ballot box list looks * improving ballot box list looks * starting to work in ballot box modals * make it compile * make it compile 2 * make it compile 3 * try fixing modal * trying to fix create ballot boxes modal * trying to fix create bbs modal * fix build * fix modal * fix modal * fix modal * improve modal * fix typos * fix typos * standarize mouse over on census and activity log as in ballot box tables * adding initial delete ballot box dialog * rename modal * improve deleteBallotBox * fix deleteBallotBox * initial work on writting tally sheet form * use i18next * improving layout * improving layout * improving layout * making dialog bigger * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * fixing modelline * adding number checking * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * remove timeout * remove timeout * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * allowing to delete a tally sheet * remove not existant file * num tally sheets filtering * num tally sheets filtering * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * fixing operator precedence * add has_ballot_boxes when creating election * Tally sheets2 (#183) * adding permissions checking, only showing what you can do with ballot boxes * fixing compilation * fixing compilation * adding has_ballot_boxes * fix index of * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * fix activity log ballotbox create * trying to allow non-json to calculate results, and loading by default election configresults if any * trying to allow non-json to calculate results, and loading by default election configresults if any * fix totals (#184) * allow uploading with results_ok (#185) * Add 'user-and-password' as authentication method (#180) * Add 'user-and-password' as authentication method * user-and-password authentication requires username and password fields * allow census query (#186) * fixing sms-otp (#187) * adding i18n and support for more actions in activity log * adding openid-connect must fields * remove wrong callback * fixing i18n for voted action * Go next merge into next (#188) * fix widget scope, add widgets to elbasic * remove old form * add for to labels * fix tooltips, add default help url * fix help tooltip * change version to go v3 * making textarea admin field a textarea * Move admin fields to the end of the list of actions when creating an election * moving admin fields also in the .sidebarlinks var * more sane defaults when creating an election * update logo * :update logo size * making logo bigger * making logo wider * updating election default logo url * reverting last commit * remove import from admin sidebar * set correctly the paths of documentation urls for widgets that include external doc * commit tests to resume development later * use help list from config * fix css * fix help menu css when not logged * fix signup link * check req when reg fields * some fixes, add admin profile modal sketch * syntax fix * add dependency * fixes, fill profile modal, update profile on ok click * syntax fix * fixes, css fixes, refactor, head profile menu click working * add dependency to admin-head-directive * some moarr fixes * CSS fixes * change profile menu icon * profile save button locales * refactor: user editable * starting to add configurable admin gui questions options * do not show empty layouts list * set grunt-merge-json to 0.9.5 because last version gives problems with chalk (eirslett/frontend-maven-plugin#629) * fix empty string * small fix * change version to go v4 * check when profile modal is closed * get template el from avConfig.js * fix el template * add default name to census extra fields * refactor * refactor, add service to index.html, add profile to scope on templateel * fix scope error, fix open modal error * add comments * add some abstract settings to question directive * more abstract settings * add abstract settings to auth config * remove well class on auth config * testing census reg with abs settings * changes to census config * go v5 * fix css * fix loop * fix css * refactor css * fix loop * fix * fix logo css * adding glyphicon * changes to abstract settings * fixes * fix css * add short value * refactor abstract settings, add fields * fixes * refactor scope on abstract settings * use ng-show * observe attrs on abstract settings * fix css, disabled * remove click glitch * fix columns for extra small screens * more css changes * remove isDisabled * bower * fix intl-tel deps * add number input directive * fixes * remove disabled ef, refactor must ef service, call must ef service on elections change on create el * fix syntax * fix extra-fields and census on auth method change * small fix * add attrs to abstract settings widget * moar less * fix css * fix hover * fixes mouseover * fix syntax * hover fixes * fix css * fix collapse css * Onboarding (#128) * starting to add ngOnboarding * initial onboarding test * trying hopscotch instead * changing vendor files * remove unnecesary files * make jshint ignore hopscotch * remove i18next dependency in avAdminElections directive * adding vendor css * trying to add vendor css * solving css problems * fixing a typo * trying to fix css * add missing option to grunt * using abs paths * trying to not use minimized vendor hopscotch files * fix hopscotch css * adding jquery integration for state changes * making easier to find through paths dashboard actions * making easier to find through paths dashboard actions 2 * adding onboarding tour * hopscotch ignore * moving start election to the end * improving onboarding tour service * make it compile * missing semicolon * removing jslint ignore * fix nextTour * fix help tour * adding OnboardingTourService to head scope so that it can be shown in helpList * testing onboarding translations * fix typo * adding onboarding tour i18n * launch wizard on first time too * fix typo * change version to go v6 * add ngOnboarding dep to bower * Fix onboarding (#131) * change version to go v6 * remove unneeded dep * add hopscotch dep, remove ngOnboarding * remove hopscotch * Update bower.json * Update bower.json * Fix abstract settings help background color (#136) * fix some colors in abstract settings help * fix again css * making abstract-settings help links distinguishable * adding margin to images in abstract settings help * remove reference to missing video and adding onboarding i18n for ca and gl in es lang (#138) * improve abstract settings doc css (#140) * improve abstract settings doc css * fix css background-color * Fix onboarding 2 (#141) * fixing onboarding * fixing onboarding * trying to add intro video * adding width to the oyutubevideo bubble * improving video looks * Fix onboarding 2 (#142) * improve abstract settings doc css (#140) * improve abstract settings doc css * fix css background-color * fixing onboarding * fixing onboarding * trying to add intro video * adding width to the oyutubevideo bubble * improving video looks * only end tour if it has started * show admin field names on error * refactor * fixes * refactor * fixes * fix el checks before el creation * syntax fix: remove extra commas * fix locale * required * moar * fixes * set admin field border to red on error * set label size to col-sm4 * test 5/7 * refactor code into csv load service * fixes * test * solve dependency issue and other minor things * refactor * fixes * fixes * test * fixes * .error -> .catch * fixes * minor fixes * fixes * add comments * fix adding new question * change version to go v7 * test using * Revert "fix dashboard results presentation (order of winners etc)" * add 2 default options to new questions * Census premium (#157) add census csv error plugin call * Census err (#159) * fix csv error on creation * show add person to census error * Save draft (#158) * test * add draft election directive * fixes * add fix * fix * fix * moar * refactor * fixes * fix * add use draft modal * fixes * fixes * fix * fix css * add erase modal * fix locale * change version to go v8 * remove test/real difference * moar * refactor onboarding call * add dep to admin-head-directive * fix onboarding * refactor * fix * fix urls thingie * refactor * fix * add to admin controller deps * refactor * fix * fixes * css fix * hide features in login and signup * fix css * remove phantomjs (#172) * fix draft election failed creation (#175) * census: Add action buttons for each voter (#174) This patch adds actions buttons for each row in the census table. Buttons added are Activate, Deactivate, Remove and Send auth codes. These buttons select the row and then call the same action as actions dropdown, all other rows are deselected so this should work similar to select only one row and click in the actions dropdown. Buttons are hidden by default and showed on hover the row. I've add translations for these actions but not for gl and ca. * Activity log (#173) * initial work on activity log * fix some compilation errors * fixing name of the directive * fixing activity log html * fix concats of admin controller * adding missing state activityLog * adding missing allowed state * fixing loading * fixing loading of the activity list * adding i18n to activity log * adding missing i18n and removing append already done in previous line * trying to add some filtering * trying to fix build * fix call to activity * fix call to activity 2 * adding more columns filtering * fix some visualization * fix typo * registering more actions * fixing comma in json * show added-to-census activity log item * make reload activity work * allow query parameters to automatically set the initial filter * fixing location search getter * parsing value in get location var * set var was missing * census: Comment for activate/deactivate actions (#176) * census: Comment for activate/deactivate actions This patch allows comments for activate and deactivate actions. A textarea is available in the activate action and the content of that will go as comment. To show the comment in the activity log I've to change a little the code because the angular template always resolve the {{obj.metadata.comment}} as undefined, I don't know why, so I've added other attr to obj called metadatacomment. * Fix deactivate comment problem * census: Autofill field param (#177) * date extra field type (#179) * Tally sheets (#181) * initial work in tally sheets * adding ballot box sidebar link * adding ballot box directive to index * adding en i18n for ballotboxes * adding missing argument to av-admin-ballot-box * allowing filtering by last update in ballot box * fixing column header * Add actions to ballot box listing * Removing select ballot box * remove unneeded comma * updating received objects from ballot boxes list * improve ballot box list styles * improve ballot box list styles 2 * adding ballot box less * improving bb less * improving ballot box list looks * improving ballot box list looks * improving ballot box list looks * starting to work in ballot box modals * make it compile * make it compile 2 * make it compile 3 * try fixing modal * trying to fix create ballot boxes modal * trying to fix create bbs modal * fix build * fix modal * fix modal * fix modal * improve modal * fix typos * fix typos * standarize mouse over on census and activity log as in ballot box tables * adding initial delete ballot box dialog * rename modal * improve deleteBallotBox * fix deleteBallotBox * initial work on writting tally sheet form * use i18next * improving layout * improving layout * improving layout * making dialog bigger * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * fixing modelline * adding number checking * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * remove timeout * remove timeout * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * working on WriteBallotBoxModal * allowing to delete a tally sheet * remove not existant file * num tally sheets filtering * num tally sheets filtering * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * improving activity log * fixing operator precedence * add has_ballot_boxes when creating election * Tally sheets2 (#183) * adding permissions checking, only showing what you can do with ballot boxes * fixing compilation * fixing compilation * adding has_ballot_boxes * fix index of * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * try deferred load for ballot box sidebar link * fix activity log ballotbox create * trying to allow non-json to calculate results, and loading by default election configresults if any * trying to allow non-json to calculate results, and loading by default election configresults if any * fix totals (#184) * allow uploading with results_ok (#185) * Add 'user-and-password' as authentication method (#180) * Add 'user-and-password' as authentication method * user-and-password authentication requires username and password fields * allow census query (#186) * fixing sms-otp (#187) * update version * adding support for sms-otp * adding support for census delete action and improving logging * stringify metadata * fix stringify * adding new registry * adding back support to easier telephone numbers selector * fix selectable for renamed extra fields * fix typo * showing correctly tlf extra fields * initial work on email-otp * fix templates * fix email-otp creation, sending subject too * using underscore contains instead of in keyword * removing bower and migrating to yarn * updating agora-gui-common deps * updating agora-gui-common * migrating code to use then instead of success and error functions, because new angular version deprecated that * migrating code to use then instead of success and error functions, because new angular version deprecated that Co-authored-by: Félix Robles <[email protected]> Co-authored-by: danigm <[email protected]>
While doing the build using the frontend-maven-plugin version 1.4 along with gulp build, getting the error " SyntaxError: Use of const in strict mode."
run-sequence version used --> "run-sequence": "~1.1"
Below is the error stack:
[INFO] --- frontend-maven-plugin:1.4:gulp (gulp build) @ proj ---
[INFO] Running 'gulp ' in /Users/ps/Documents/gitlab/proj/
[ERROR]
[ERROR] /Users/ps/Documents/gitlab/proj/node_modules/run-sequence/node_modules/chalk/index.js:2
[ERROR] const escapeStringRegexp = require('escape-string-regexp');
[ERROR] ^^^^^
[ERROR] SyntaxError: Use of const in strict mode.
[ERROR] at Module._compile (module.js:439:25)
[ERROR] at Object.Module._extensions..js (module.js:474:10)
[ERROR] at Module.load (module.js:356:32)
[ERROR] at Function.Module._load (module.js:312:12)
[ERROR] at Module.require (module.js:364:17)
[ERROR] at require (module.js:380:17)
[ERROR] at Object. (/Users/ps/Documents/gitlab/proj/node_modules/run-sequence/index.js:5:14)
[ERROR] at Module._compile (module.js:456:26)
[ERROR] at Object.Module._extensions..js (module.js:474:10)
[ERROR] at Module.load (module.js:356:32)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Please help to resolve this issue.
The text was updated successfully, but these errors were encountered: