| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add setting for additional cards to print
* Render additional cards to print
* Do not render additional cards if amount is less than 1
* Render additional cards when printing
* Improve layout for portrait printing
* Render eap and identity textfields conditionally so that they dont use space
* Use all width in print-area
* Change additionalCards setting to Input and react to changes
* Allow hiding tip (legend) on card
* Print only full cards
* Move print-area - not-displayed - to the bottom of the page
* Set default ssid back to empty, additional cards to 0
* Lower marginBottom of password field to 5 instead of 24 (default)
* Use conditional rendering instead of class to hide password
* Set marginBottom to QR code only on portrait mode
* Set row-gap to 0 to allow up to 6 cards to fit in portrait mode in A4
* Move hideTip setting right after hiddenSSID
|
| |
|
| |
Fixes #265
|
| |
|
| |
For issue #250, added margin between checkboxes, radio boxes, and text which was getting messed up when RTL-based language was selected
|
| |
|
| |
I also added a German translation of the new strings.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* :bug: hotfix logo padding for rtl languages
* manually run prettier
* :bug: fix icons padding
* :bug: fix header padding
* Always add paddingRight for rtl
Co-authored-by: Tokyo <ahmed.tokyo1@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaces the hardcoded 'en-US' defaultValue of the language select with
the value supplied by the i18n language detection. In my testing I found
when setting my browser to "German" or "Dutch", the navigator.language
returned is simply "de" and "nl" but the translation ids in the translations
are "de-DE" and "nl-NL", respectively. This results in the select box
defaulting to the first language (Arabic) because "de" and "nl" are not
values in any of the options.
This patch takes the i18n detected language and first checks if the id
is a known translation. If not, 'en-US' is returned. If it is, the
detected language is returned.
Unfortunately I am not able to test this as both my Firefox and Chrome
browsers are only setting the generic locale language ids. I can
verify the fallback to english works. Additionally, editing the
localStorage 'i18nextLng' key to 'de-DE' produces the expected
translation.
Related to #180
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ability to set that WiFi network is hidden
* fix: hide password checbox hidden chebox with hidden SSID option
* improvement, delete constant
* merge master
* add a setting - the WiFi network can have a hidden SSID
* update translation for English and Polish language
* change one line translation in Eng, add semicolon in format to connect to WiFi
|
| |
|
|
|
| |
This removes the dependency on Google Fonts. Additionally I've
reintroduced the textarea border on the printed card to help ephasize
the important information.
|
| |
|
|
| |
This was causing a runtime error and isn't necessary.
Fixes #172
|
| |
|
|
|
|
|
| |
* Hunagrian lang added 🇭🇺
* Fix 'None' field translation at encryptions
* Fix SelectField error
|
| |
|
|
|
| |
- Centralize user-defined translations into a single file
- Automatically sort the language dropdown
- Update the translation contribution guide
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move all settings below card
* refactor components; lifting state up
* background color
* Evergreen components for everything
* password error
* Tighten card size
* Simply hide password to basic toggle, never disable
* Hide password label, too
* Maximize mobile portrait width
* Make wifi tip smaller
* Small style tweaks
* Copy: update password length error text to include helpful instructions
This will need a backfill for other translations
* Remove unused css
* Use empty string for EncryptionMode=None value
* Remove light.min.css
* Include logo on wificard
* Cleanup after rebase
* Clean-up comments on state
* Padding for mobile
|
| | |
|
| |
|
| |
Fixes #106
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* code refactoring proposal
* convert function to an ES6 function
* Update src/components/Card.js
Suggested change
Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com>
Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com>
|
| |
|
|
|
|
|
| |
* remember the password even if it is cleared by the None option
* refactor remembering password after code review
* fixes: label and checking encryption mode for saving password
|
| |
|
|
|
|
|
| |
* Add checkbox state to fix issue: 'None' Encryption disable Checkbox of 'Hide password field before printing'
* Checkbox implimentation with newtork.hidePassword
* Remove hidePassword from line :191 and :202
|
| |
|
|
|
| |
* :bug: fix rtl direction bugs
* fix conflicts
|
| |
|
|
|
|
|
|
|
|
|
| |
* resolved issue #82
* added max and min widht at style.css
* render as svg
* added credits to the pt-br language and runned fmt.write
Co-authored-by: ismaelpereira <ismaelfgpereira@gmail.com>
|
| |
|
|
|
|
|
| |
* fix for loop to for-of - SonarLint warning
* just remove empty line
* improvement the loop that builds values for qr code
|
| |
|
|
|
|
|
|
|
| |
* hide password option is possible when password has correct length for WEP and WPA
* refactor, logic is factored out into a function instead of in-lined in the markup
* refactor of function because Sonar warning
* improvement after code review - move function
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* feat: add RTL direction and persian lang
* feat: init RTL direction
* fix: style issues
Co-authored-by: Ramin <r.rezaei@digikala.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* Unset password when encryption mode is 'None'
Fixes #46
* Run code format
|
| |
|
|
|
| |
* feat: add i18n
* fix: code clean
|
| |
|
|
|
|
|
|
|
| |
* Changes behavior of password textarea when None encryption is selected
* prettier
* password text area hides on checking hide password tikbox
* className re-structuring, changed Hide Password
|
| | |
|
| |
|
|
|
|
|
| |
* Added website icon and small design change in WiFi details box
* Fixed few errors of previous pull
* Fixed errors of previous pull
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Added encryption options [Feature Request #39]
* Added encryption options [Feature Request #39]
* Removed encrypt options from print page
* made requested changes
* fixed css issue
* checked WPA/WPA2 as default encryption type
|
| |
|
|
|
|
|
|
|
|
| |
* feat: add possiblity to hide password fiel before priting
* HidePassword as a property of network and additional print styles
- Moves hidePassword into the network object
- Adds missing CSS for hiding password
Co-authored-by: orenaksakal <orenaksakal@gmail.com>
|
| |
|
| |
atleast → at least
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* Portrait orientation
Adds a rotate button that toggle landscape and portrait orientation.
Fixes #30
* Fix QRCode padding in portait orientation
* Default to portrait on small screens
|
| |
|
|
|
|
| |
Issue #28 discovered long ssid and password values would be visibly cropped.
This change replaces the input fields with 2-row textareas that properly
handle the maximum length of both ssids and passwords, 32 and 63 characters
respectively.
|
| |
|
|
| |
Fixes #29
|
| |
|
|
|
| |
* Add prettier
* Format code
|
| |
|
|
| |
Fixes #27
|
| |
|
|
|
|
|
| |
* :arrow_up: yarn upgrade
* Run yarn for first time install
* :lipstick: s/maxlength/maxLength on input fields
|
| |
|
|
| |
Escapes special characters `";,:\`
Fixes #3
|
| |
|
| |
Fixes #4
|
| | |
|
| | |
|
| |
|