| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
I don't think this does anything useful.
(cherry picked from commit 3224663a3759935b47406c789b9f5cea3eb88136)
|
|
|
|
|
| |
The index needs to be incremented even for entries that were skipped for display because they (for whatever reason) have no MAC or CID set. So use the key directly from the array.
(cherry picked from commit 9aa3c5e84984958caa19ac76ecba849b94a8b360)
|
|
|
|
| |
(cherry picked from commit 2ea70e1a474fd871a007c76841f2a33f34082c58)
|
|
|
|
| |
(cherry picked from commit 9a7e1c9580c5779c86bc97d6d82c43401c7a4b12)
|
|
|
|
| |
update_config_field() from wizard.php by constructing a variable reference, then set the value using the reference rather than passing user input through eval(). Fixes #7230
|
|
|
|
|
|
| |
parameters can be submitted via POST. Also, remove the JavaScript confirmation box since it is now redundant. Fixes #7228
The confirmation page displays the submitted parameters for an extra user sanity check. Also fixed a bunch of page formatting issues that were not apparent because users rarely if ever saw output from the page.
|
|
|
|
|
|
|
|
|
| |
1) Make "The MTU is too big" message actually come out. The code around line 300 was rubbish (maybe from before bootstrap?).
2) Show friendly description rather than 'wan' 'lan' opt1' in interface link list.
3) If any specific link parameters are set, then open the advanced section on page load.
I tested on a 2.4 system, then applied these diff on a 2.3.3 system and it worked there also. So this should backport fine.
(cherry picked from commit 3cc22ff255bbc980786fca4723b01cc9524e1cf5)
|
|
|
|
|
| |
This makes it remember pkgname after the install finishes and the form is re-submitted.
(cherry picked from commit d12bc864ceb5d656fc094bde7cf5ec96e24bdde9)
|
|
|
|
| |
(cherry picked from commit 682008ff758b942d85ed007b485e0b2fa8e3a11c)
|
| |
|
| |
|
|
|
|
| |
This reverts commit e6068596baf4307fe3eb9866072800e4c23b6840.
|
|
|
|
|
|
|
|
| |
There was a fair bit of it, so I have put this in its own pull request.
1) Gets HTML out of the strings that go for translation.
2) Line 3365 - the words here about "hexadecimal" now go in the text directly in the setHelp so the translators will get access to them.
3) Line 2213 - a couple of backslash that were attempts at escaping the next char were not actually needed, and were displaying literally in the GUI.
(cherry picked from commit 4d0c9c5946aeecad851511521d0310075ab4ebdd)
|
|
|
|
| |
(cherry picked from commit 5af0922d75724e1eac89017173457f57842387f8)
|
|
|
|
| |
(cherry picked from commit c09188a21938f7b1d19fd845fa7e5b0712dd4a83)
|
|
|
|
|
|
|
| |
1) A few extra strings to be translated.
2) The scale_type code values 'up' and 'follow' need to be kept as those strings in the JS scale_type variable. The text to be translated needs to be in a different variable that can be in translated form for display. Otherwise things go wrong when in a different language.
e.g. switch to Brazilian Portuguese, then the Autoscale. The first times it switches then gets "stuck".
(cherry picked from commit 678f11313b31b28d12d806032b6359a00d6b89a1)
|
|
|
|
| |
(cherry picked from commit 49f90f17bfaf2422d56160ad06ef5e2513beb1ba)
|
|
|
|
| |
(cherry picked from commit ac5ee07ee1daef2f43e728895290ca6d11efe0f3)
|
|
|
|
| |
(cherry picked from commit cb5961d1fa64a45cbec5ef5d677b57f8d62f50b5)
|
|
|
|
| |
(cherry picked from commit 282d025d9756ba8ace2bcfa092e87d5ad6d338da)
|
|
|
|
|
|
| |
cert or csr is present in the cert
(cherry picked from commit 1048585a08ac824057eea35c57fe359b9e6a48fe)
|
|
|
|
| |
(cherry picked from commit a66177645191359e5ce854d733e9be40ada3535b)
|
| |
|
|
|
|
| |
(cherry picked from commit 821110e8ff76564c23783c554fc89cd9458683ac)
|
|
|
|
| |
(cherry picked from commit 6924a2bf34a70cd33284a28ca3575f33f9834375)
|
| |
|
|
|
|
| |
provide two examples of server-side code to return the client address. Fixes #6374
|
| |
|
|
|
|
|
| |
The backslash escaping of the double-quotes here displays the backslashes literal on the GUI. Escaping is not needed in this single-quoted string.
(cherry picked from commit 4ede308c615508a7b70074f56a3ca77cae7b68f1)
|
|
|
|
|
|
|
|
|
| |
If "description_state" is requested here, there are too many "%s" substitutions in the string for sprintf().
Also, to help translators, number all the "%s" substitutions. Then translators can rearrange the text and variable order if they need to.
I removed the commented-out get_service_control_GET_links() while I am here, because it also contained sprintf() strings that had multiple "%s" substitutions. So I had found it when searching for lines containing multiple "%s". Might as well remove it "in the next version" as the comment says.
(cherry picked from commit b3119a61c8f5841f92e2c1fe945f90d9e98a843c)
|
|
|
|
| |
(cherry picked from commit c9d93b62b0cc559d1ed4326212b6385cae2eb398)
|
|
|
|
|
| |
I should stop trying bad stuff, there seem to be so many holes to find in the validation :)
(cherry picked from commit 89ac71d38a4c49e1537e4afe2b34b2457d9817a7)
|
|\ |
|
| | |
|
|/
|
|
|
| |
Not sure what was the idea here, but these are not used anywhere, do nothing as they immediately call ```return false;``` plus the second one is also misnamed.
(cherry picked from commit edba33b5a567ab8c9d4827fa26a25bd9649e3fac)
|
| |
|
|
|
|
| |
(cherry picked from commit 1bbdab13e436f5f2b9e381886be4d9c2d1a4e44f)
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 153c3aa61fe65c51d584a57c032a4805048e3062)
|
|
|
|
|
|
|
|
| |
* rename function args to be clearer what they do ($local_only was quite ambiguous, at first sight it could mean any of: "don't update local catalog copy", "only check local catalog copy", or "only report local installed pkgs")
* merge nested if () conditions
* refactor minor code stuff
* rewrite explanatory comment
(cherry picked from commit 04daf8b1f016e17bede4ad00db46f2855d3e7c1f)
|
|
|
|
| |
(cherry picked from commit 2f633b526075b2ed5e0e160ef6f0d025b509bd70)
|
|
|
|
| |
(cherry picked from commit e5f96a2cb3c0cad0c828148bd7b8d45c130a9b17)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(resubmit)
Resubmit of PR #3157 with fix.
The issue in #3157 was that `pkg info` and `pkg search`, undocumented in man pages, seem to handle things differently if no packages match the pattern string. `pkg search` gives an error "No packages match [$pkgs]", whereas `pkg search` doesn't give an error.
I didn't come across this because it's not stated in the man pages for pkg info, and because I tested it with a bare install but at least one pkg, while @NYOB used it on a bare install.
The fix which I've tested and seems to work nicely, is to test using `pkg info -e` whether the pkg info call will hit a "no packages exist" issue or not. If `pkg info -e` returns 0 then it's safe as there's at least one matching pkg (any other errors are allowed to occur and be detected as usual). If it returns anything else, then there's no matching pkgs, so the main `pkg info` is skipped leaving $out and other variables at the correct values they need anyway, showing a null match/none found.
For details of the underlying issue being fixed, and the issue that this resubmit fixes, see the original PR.
(cherry picked from commit 587988f6df7e1d3b1a369b93a5634620129e3d9d)
|
|
|
|
| |
(cherry picked from commit 877be5e6205ada2608b364f57150010ba473e66d)
|
|
|
|
| |
(cherry picked from commit f2e58c16307795f572ff443e999c54eb6a9839e7)
|
|
|
|
| |
(cherry picked from commit 3e2028f4dca359e715058d2c35ae0df5b939657e)
|
|
|
|
| |
(cherry picked from commit fb572e810abe247c273c27ffafb129430b13be1f)
|
|
|
|
| |
(cherry picked from commit e52b5a409faa41222a4ff0c917355eb66d0ff19a)
|